diff --git a/src/entity/trx_transactions.ts b/src/entity/trx_transactions.ts index f3f15fe..8711aa9 100644 --- a/src/entity/trx_transactions.ts +++ b/src/entity/trx_transactions.ts @@ -45,6 +45,42 @@ export class TrxTransaction { }) signatures: String; + @Column({ type: "boolean", nullable: true }) + is_maker_approved: boolean; + + @Column({ type: "varchar", length: 100, nullable: true }) + maker_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + maker_note: string; + + @Column({ nullable: true }) + maker_approved_at: Date; + + @Column({ type: "boolean", nullable: true }) + is_checker_approved: boolean; + + @Column({ type: "varchar", length: 100, nullable: true }) + checker_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + checker_note: string; + + @Column({ nullable: true }) + checker_approved_at: Date; + + @Column({ type: "boolean", nullable: true }) + is_signer_approved: boolean; + + @Column({ type: "varchar", length: 100, nullable: true }) + signer_approved_by: string; + + @Column({ type: "varchar", length: 4096, nullable: true }) + signer_note: string; + + @Column({ nullable: true }) + signer_approved_at: Date; + @Column({ type: "boolean", nullable: true }) is_tl_approved: boolean; diff --git a/src/types/trx.ts b/src/types/trx.ts index 2b50252..f30925e 100644 --- a/src/types/trx.ts +++ b/src/types/trx.ts @@ -5,6 +5,7 @@ export enum TrxTransactionStatus { "close" = "close", "reject" = "reject", "approved" = "approved", + "draft" = "draft", } export enum TrxTransactionTypeStatus {