diff --git a/dist/Notary/OfficeFolderAnchor.d.ts b/dist/Notary/OfficeFolderAnchor.d.ts index f8111f7..b56d0be 100644 --- a/dist/Notary/OfficeFolderAnchor.d.ts +++ b/dist/Notary/OfficeFolderAnchor.d.ts @@ -9,9 +9,9 @@ export default class OfficeFolderAnchor extends Resource { blockchain?: EBlockchainName | string; status?: EAnchoringStatus | string; anchor_nb_try?: number; - tx_id?: string; - tx_link?: string; - tx_hash?: string; + tx_id: string | null; + tx_link: string | null; + tx_hash: string | null; folder?: OfficeFolder | null; anchored_at?: Date | null; created_at?: Date | null; diff --git a/dist/Notary/OfficeFolderAnchor.js b/dist/Notary/OfficeFolderAnchor.js index 4b2cad0..862f412 100644 --- a/dist/Notary/OfficeFolderAnchor.js +++ b/dist/Notary/OfficeFolderAnchor.js @@ -24,6 +24,9 @@ class OfficeFolderAnchor extends Resource_1.default { this.blockchain = EBlockchainName_1.default.TEZOS; this.status = EAnchoringStatus_1.default.QUEUED; this.anchor_nb_try = 0; + this.tx_id = null; + this.tx_link = null; + this.tx_hash = null; this.folder = null; this.anchored_at = null; this.created_at = null; @@ -56,15 +59,15 @@ __decorate([ ], OfficeFolderAnchor.prototype, "anchor_nb_try", void 0); __decorate([ (0, class_transformer_1.Expose)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], OfficeFolderAnchor.prototype, "tx_id", void 0); __decorate([ (0, class_transformer_1.Expose)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], OfficeFolderAnchor.prototype, "tx_link", void 0); __decorate([ (0, class_transformer_1.Expose)(), - __metadata("design:type", String) + __metadata("design:type", Object) ], OfficeFolderAnchor.prototype, "tx_hash", void 0); __decorate([ (0, class_transformer_1.Expose)(), diff --git a/src/Notary/OfficeFolderAnchor.ts b/src/Notary/OfficeFolderAnchor.ts index e502203..4422b8c 100644 --- a/src/Notary/OfficeFolderAnchor.ts +++ b/src/Notary/OfficeFolderAnchor.ts @@ -25,13 +25,13 @@ export default class OfficeFolderAnchor extends Resource { public anchor_nb_try?: number = 0; @Expose() - public tx_id?: string; + public tx_id: string | null = null; @Expose() - public tx_link?: string; + public tx_link: string | null = null; @Expose() - public tx_hash?: string; + public tx_hash: string | null = null; @Expose() @Type(() => OfficeFolder)