@nexeraid/identity-schemas 2.3.26-dev → 2.3.27-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
- export declare const WebhookEventTypes: readonly ["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"];
3
- export declare const WebhookEventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>;
2
+ export declare const WebhookEventTypes: readonly ["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"];
3
+ export declare const WebhookEventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
4
4
  export declare const WebhookEventTypesForm: readonly ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
5
5
  export declare const WebhookEventTypeForm: z.ZodEnum<["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"]>;
6
6
  export declare const AttemptsStatus: {
@@ -139,47 +139,47 @@ declare const NexeraEventTypes: z.ZodUnion<[z.ZodObject<{
139
139
  archived: boolean;
140
140
  schemas: Record<string, unknown>;
141
141
  }>, z.ZodObject<{
142
- name: z.ZodLiteral<"tms.created">;
142
+ name: z.ZodLiteral<"transaction.created">;
143
143
  description: z.ZodString;
144
144
  archived: z.ZodBoolean;
145
145
  schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
146
146
  }, "strip", z.ZodTypeAny, {
147
- name: "tms.created";
147
+ name: "transaction.created";
148
148
  description: string;
149
149
  archived: boolean;
150
150
  schemas: Record<string, unknown>;
151
151
  }, {
152
- name: "tms.created";
152
+ name: "transaction.created";
153
153
  description: string;
154
154
  archived: boolean;
155
155
  schemas: Record<string, unknown>;
156
156
  }>, z.ZodObject<{
157
- name: z.ZodLiteral<"tms.updated">;
157
+ name: z.ZodLiteral<"transaction.updated">;
158
158
  description: z.ZodString;
159
159
  archived: z.ZodBoolean;
160
160
  schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
161
161
  }, "strip", z.ZodTypeAny, {
162
- name: "tms.updated";
162
+ name: "transaction.updated";
163
163
  description: string;
164
164
  archived: boolean;
165
165
  schemas: Record<string, unknown>;
166
166
  }, {
167
- name: "tms.updated";
167
+ name: "transaction.updated";
168
168
  description: string;
169
169
  archived: boolean;
170
170
  schemas: Record<string, unknown>;
171
171
  }>, z.ZodObject<{
172
- name: z.ZodLiteral<"tms.deleted">;
172
+ name: z.ZodLiteral<"transaction.deleted">;
173
173
  description: z.ZodString;
174
174
  archived: z.ZodBoolean;
175
175
  schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
176
176
  }, "strip", z.ZodTypeAny, {
177
- name: "tms.deleted";
177
+ name: "transaction.deleted";
178
178
  description: string;
179
179
  archived: boolean;
180
180
  schemas: Record<string, unknown>;
181
181
  }, {
182
- name: "tms.deleted";
182
+ name: "transaction.deleted";
183
183
  description: string;
184
184
  archived: boolean;
185
185
  schemas: Record<string, unknown>;
@@ -9638,244 +9638,244 @@ export declare const AlertDeletedPayload: z.ZodObject<{
9638
9638
  eventType: "alert.deleted";
9639
9639
  }>;
9640
9640
  export declare const TMSCreatedPayload: z.ZodObject<{
9641
- eventType: z.ZodLiteral<"tms.created">;
9641
+ eventType: z.ZodLiteral<"transaction.created">;
9642
9642
  payload: z.ZodObject<{
9643
+ workspaceId: z.ZodString;
9643
9644
  id: z.ZodString;
9645
+ transactionId: z.ZodString;
9646
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
9647
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
9648
+ riskScore: z.ZodNullable<z.ZodString>;
9649
+ riskLevel: z.ZodNullable<z.ZodString>;
9644
9650
  customerId: z.ZodString;
9651
+ reason: z.ZodNullable<z.ZodString>;
9645
9652
  externalTransactionId: z.ZodString;
9646
- transactionDate: z.ZodNullable<z.ZodDate>;
9647
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
9648
- transactionSubType: z.ZodNullable<z.ZodString>;
9649
- transactionReview: z.ZodNullable<z.ZodString>;
9650
- transactionInfo: z.ZodString;
9651
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
9652
- originator: z.ZodString;
9653
- beneficiary: z.ZodString;
9653
+ transactionDate: z.ZodDate;
9654
9654
  createdAt: z.ZodDate;
9655
9655
  updatedAt: z.ZodNullable<z.ZodDate>;
9656
9656
  }, "strip", z.ZodTypeAny, {
9657
9657
  id: string;
9658
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9658
9659
  createdAt: Date;
9659
9660
  updatedAt: Date | null;
9660
9661
  customerId: string;
9661
- originator: string;
9662
- beneficiary: string;
9663
- externalTransactionId: string;
9664
- transactionDate: Date | null;
9662
+ workspaceId: string;
9663
+ reason: string | null;
9664
+ riskScore: string | null;
9665
+ transactionId: string;
9665
9666
  transactionType: "crypto" | "fiat";
9666
- transactionSubType: string | null;
9667
- transactionReview: string | null;
9668
- transactionInfo: string;
9669
- transactionExtractedInfo: string | null;
9667
+ riskLevel: string | null;
9668
+ externalTransactionId: string;
9669
+ transactionDate: Date;
9670
9670
  }, {
9671
9671
  id: string;
9672
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9672
9673
  createdAt: Date;
9673
9674
  updatedAt: Date | null;
9674
9675
  customerId: string;
9675
- originator: string;
9676
- beneficiary: string;
9677
- externalTransactionId: string;
9678
- transactionDate: Date | null;
9676
+ workspaceId: string;
9677
+ reason: string | null;
9678
+ riskScore: string | null;
9679
+ transactionId: string;
9679
9680
  transactionType: "crypto" | "fiat";
9680
- transactionSubType: string | null;
9681
- transactionReview: string | null;
9682
- transactionInfo: string;
9683
- transactionExtractedInfo: string | null;
9681
+ riskLevel: string | null;
9682
+ externalTransactionId: string;
9683
+ transactionDate: Date;
9684
9684
  }>;
9685
9685
  }, "strip", z.ZodTypeAny, {
9686
9686
  payload: {
9687
9687
  id: string;
9688
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9688
9689
  createdAt: Date;
9689
9690
  updatedAt: Date | null;
9690
9691
  customerId: string;
9691
- originator: string;
9692
- beneficiary: string;
9693
- externalTransactionId: string;
9694
- transactionDate: Date | null;
9692
+ workspaceId: string;
9693
+ reason: string | null;
9694
+ riskScore: string | null;
9695
+ transactionId: string;
9695
9696
  transactionType: "crypto" | "fiat";
9696
- transactionSubType: string | null;
9697
- transactionReview: string | null;
9698
- transactionInfo: string;
9699
- transactionExtractedInfo: string | null;
9697
+ riskLevel: string | null;
9698
+ externalTransactionId: string;
9699
+ transactionDate: Date;
9700
9700
  };
9701
- eventType: "tms.created";
9701
+ eventType: "transaction.created";
9702
9702
  }, {
9703
9703
  payload: {
9704
9704
  id: string;
9705
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9705
9706
  createdAt: Date;
9706
9707
  updatedAt: Date | null;
9707
9708
  customerId: string;
9708
- originator: string;
9709
- beneficiary: string;
9710
- externalTransactionId: string;
9711
- transactionDate: Date | null;
9709
+ workspaceId: string;
9710
+ reason: string | null;
9711
+ riskScore: string | null;
9712
+ transactionId: string;
9712
9713
  transactionType: "crypto" | "fiat";
9713
- transactionSubType: string | null;
9714
- transactionReview: string | null;
9715
- transactionInfo: string;
9716
- transactionExtractedInfo: string | null;
9714
+ riskLevel: string | null;
9715
+ externalTransactionId: string;
9716
+ transactionDate: Date;
9717
9717
  };
9718
- eventType: "tms.created";
9718
+ eventType: "transaction.created";
9719
9719
  }>;
9720
9720
  export declare const TMSUpdatedPayload: z.ZodObject<{
9721
- eventType: z.ZodLiteral<"tms.updated">;
9721
+ eventType: z.ZodLiteral<"transaction.updated">;
9722
9722
  payload: z.ZodObject<{
9723
+ workspaceId: z.ZodString;
9723
9724
  id: z.ZodString;
9725
+ transactionId: z.ZodString;
9726
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
9727
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
9728
+ riskScore: z.ZodNullable<z.ZodString>;
9729
+ riskLevel: z.ZodNullable<z.ZodString>;
9724
9730
  customerId: z.ZodString;
9731
+ reason: z.ZodNullable<z.ZodString>;
9725
9732
  externalTransactionId: z.ZodString;
9726
- transactionDate: z.ZodNullable<z.ZodDate>;
9727
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
9728
- transactionSubType: z.ZodNullable<z.ZodString>;
9729
- transactionReview: z.ZodNullable<z.ZodString>;
9730
- transactionInfo: z.ZodString;
9731
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
9732
- originator: z.ZodString;
9733
- beneficiary: z.ZodString;
9733
+ transactionDate: z.ZodDate;
9734
9734
  createdAt: z.ZodDate;
9735
9735
  updatedAt: z.ZodNullable<z.ZodDate>;
9736
9736
  }, "strip", z.ZodTypeAny, {
9737
9737
  id: string;
9738
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9738
9739
  createdAt: Date;
9739
9740
  updatedAt: Date | null;
9740
9741
  customerId: string;
9741
- originator: string;
9742
- beneficiary: string;
9743
- externalTransactionId: string;
9744
- transactionDate: Date | null;
9742
+ workspaceId: string;
9743
+ reason: string | null;
9744
+ riskScore: string | null;
9745
+ transactionId: string;
9745
9746
  transactionType: "crypto" | "fiat";
9746
- transactionSubType: string | null;
9747
- transactionReview: string | null;
9748
- transactionInfo: string;
9749
- transactionExtractedInfo: string | null;
9747
+ riskLevel: string | null;
9748
+ externalTransactionId: string;
9749
+ transactionDate: Date;
9750
9750
  }, {
9751
9751
  id: string;
9752
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9752
9753
  createdAt: Date;
9753
9754
  updatedAt: Date | null;
9754
9755
  customerId: string;
9755
- originator: string;
9756
- beneficiary: string;
9757
- externalTransactionId: string;
9758
- transactionDate: Date | null;
9756
+ workspaceId: string;
9757
+ reason: string | null;
9758
+ riskScore: string | null;
9759
+ transactionId: string;
9759
9760
  transactionType: "crypto" | "fiat";
9760
- transactionSubType: string | null;
9761
- transactionReview: string | null;
9762
- transactionInfo: string;
9763
- transactionExtractedInfo: string | null;
9761
+ riskLevel: string | null;
9762
+ externalTransactionId: string;
9763
+ transactionDate: Date;
9764
9764
  }>;
9765
9765
  }, "strip", z.ZodTypeAny, {
9766
9766
  payload: {
9767
9767
  id: string;
9768
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9768
9769
  createdAt: Date;
9769
9770
  updatedAt: Date | null;
9770
9771
  customerId: string;
9771
- originator: string;
9772
- beneficiary: string;
9773
- externalTransactionId: string;
9774
- transactionDate: Date | null;
9772
+ workspaceId: string;
9773
+ reason: string | null;
9774
+ riskScore: string | null;
9775
+ transactionId: string;
9775
9776
  transactionType: "crypto" | "fiat";
9776
- transactionSubType: string | null;
9777
- transactionReview: string | null;
9778
- transactionInfo: string;
9779
- transactionExtractedInfo: string | null;
9777
+ riskLevel: string | null;
9778
+ externalTransactionId: string;
9779
+ transactionDate: Date;
9780
9780
  };
9781
- eventType: "tms.updated";
9781
+ eventType: "transaction.updated";
9782
9782
  }, {
9783
9783
  payload: {
9784
9784
  id: string;
9785
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9785
9786
  createdAt: Date;
9786
9787
  updatedAt: Date | null;
9787
9788
  customerId: string;
9788
- originator: string;
9789
- beneficiary: string;
9790
- externalTransactionId: string;
9791
- transactionDate: Date | null;
9789
+ workspaceId: string;
9790
+ reason: string | null;
9791
+ riskScore: string | null;
9792
+ transactionId: string;
9792
9793
  transactionType: "crypto" | "fiat";
9793
- transactionSubType: string | null;
9794
- transactionReview: string | null;
9795
- transactionInfo: string;
9796
- transactionExtractedInfo: string | null;
9794
+ riskLevel: string | null;
9795
+ externalTransactionId: string;
9796
+ transactionDate: Date;
9797
9797
  };
9798
- eventType: "tms.updated";
9798
+ eventType: "transaction.updated";
9799
9799
  }>;
9800
9800
  export declare const TMSDeletedPayload: z.ZodObject<{
9801
- eventType: z.ZodLiteral<"tms.deleted">;
9801
+ eventType: z.ZodLiteral<"transaction.deleted">;
9802
9802
  payload: z.ZodObject<{
9803
+ workspaceId: z.ZodString;
9803
9804
  id: z.ZodString;
9805
+ transactionId: z.ZodString;
9806
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
9807
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
9808
+ riskScore: z.ZodNullable<z.ZodString>;
9809
+ riskLevel: z.ZodNullable<z.ZodString>;
9804
9810
  customerId: z.ZodString;
9811
+ reason: z.ZodNullable<z.ZodString>;
9805
9812
  externalTransactionId: z.ZodString;
9806
- transactionDate: z.ZodNullable<z.ZodDate>;
9807
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
9808
- transactionSubType: z.ZodNullable<z.ZodString>;
9809
- transactionReview: z.ZodNullable<z.ZodString>;
9810
- transactionInfo: z.ZodString;
9811
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
9812
- originator: z.ZodString;
9813
- beneficiary: z.ZodString;
9813
+ transactionDate: z.ZodDate;
9814
9814
  createdAt: z.ZodDate;
9815
9815
  updatedAt: z.ZodNullable<z.ZodDate>;
9816
9816
  }, "strip", z.ZodTypeAny, {
9817
9817
  id: string;
9818
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9818
9819
  createdAt: Date;
9819
9820
  updatedAt: Date | null;
9820
9821
  customerId: string;
9821
- originator: string;
9822
- beneficiary: string;
9823
- externalTransactionId: string;
9824
- transactionDate: Date | null;
9822
+ workspaceId: string;
9823
+ reason: string | null;
9824
+ riskScore: string | null;
9825
+ transactionId: string;
9825
9826
  transactionType: "crypto" | "fiat";
9826
- transactionSubType: string | null;
9827
- transactionReview: string | null;
9828
- transactionInfo: string;
9829
- transactionExtractedInfo: string | null;
9827
+ riskLevel: string | null;
9828
+ externalTransactionId: string;
9829
+ transactionDate: Date;
9830
9830
  }, {
9831
9831
  id: string;
9832
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9832
9833
  createdAt: Date;
9833
9834
  updatedAt: Date | null;
9834
9835
  customerId: string;
9835
- originator: string;
9836
- beneficiary: string;
9837
- externalTransactionId: string;
9838
- transactionDate: Date | null;
9836
+ workspaceId: string;
9837
+ reason: string | null;
9838
+ riskScore: string | null;
9839
+ transactionId: string;
9839
9840
  transactionType: "crypto" | "fiat";
9840
- transactionSubType: string | null;
9841
- transactionReview: string | null;
9842
- transactionInfo: string;
9843
- transactionExtractedInfo: string | null;
9841
+ riskLevel: string | null;
9842
+ externalTransactionId: string;
9843
+ transactionDate: Date;
9844
9844
  }>;
9845
9845
  }, "strip", z.ZodTypeAny, {
9846
9846
  payload: {
9847
9847
  id: string;
9848
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9848
9849
  createdAt: Date;
9849
9850
  updatedAt: Date | null;
9850
9851
  customerId: string;
9851
- originator: string;
9852
- beneficiary: string;
9853
- externalTransactionId: string;
9854
- transactionDate: Date | null;
9852
+ workspaceId: string;
9853
+ reason: string | null;
9854
+ riskScore: string | null;
9855
+ transactionId: string;
9855
9856
  transactionType: "crypto" | "fiat";
9856
- transactionSubType: string | null;
9857
- transactionReview: string | null;
9858
- transactionInfo: string;
9859
- transactionExtractedInfo: string | null;
9857
+ riskLevel: string | null;
9858
+ externalTransactionId: string;
9859
+ transactionDate: Date;
9860
9860
  };
9861
- eventType: "tms.deleted";
9861
+ eventType: "transaction.deleted";
9862
9862
  }, {
9863
9863
  payload: {
9864
9864
  id: string;
9865
+ status: "blocked" | "pending" | "approved" | "under_investigation";
9865
9866
  createdAt: Date;
9866
9867
  updatedAt: Date | null;
9867
9868
  customerId: string;
9868
- originator: string;
9869
- beneficiary: string;
9870
- externalTransactionId: string;
9871
- transactionDate: Date | null;
9869
+ workspaceId: string;
9870
+ reason: string | null;
9871
+ riskScore: string | null;
9872
+ transactionId: string;
9872
9873
  transactionType: "crypto" | "fiat";
9873
- transactionSubType: string | null;
9874
- transactionReview: string | null;
9875
- transactionInfo: string;
9876
- transactionExtractedInfo: string | null;
9874
+ riskLevel: string | null;
9875
+ externalTransactionId: string;
9876
+ transactionDate: Date;
9877
9877
  };
9878
- eventType: "tms.deleted";
9878
+ eventType: "transaction.deleted";
9879
9879
  }>;
9880
9880
  export declare const WebhookScenariosEventPayload: z.ZodObject<{
9881
9881
  eventType: z.ZodLiteral<"send.scenario">;
@@ -19326,242 +19326,242 @@ export declare const WebhookAlertEventPayload: z.ZodUnion<[z.ZodObject<{
19326
19326
  }>]>;
19327
19327
  export type WebhookAlertEventPayload = z.infer<typeof WebhookAlertEventPayload>;
19328
19328
  export declare const WebhookTMSEventPayload: z.ZodUnion<[z.ZodObject<{
19329
- eventType: z.ZodLiteral<"tms.created">;
19329
+ eventType: z.ZodLiteral<"transaction.created">;
19330
19330
  payload: z.ZodObject<{
19331
+ workspaceId: z.ZodString;
19331
19332
  id: z.ZodString;
19333
+ transactionId: z.ZodString;
19334
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
19335
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
19336
+ riskScore: z.ZodNullable<z.ZodString>;
19337
+ riskLevel: z.ZodNullable<z.ZodString>;
19332
19338
  customerId: z.ZodString;
19339
+ reason: z.ZodNullable<z.ZodString>;
19333
19340
  externalTransactionId: z.ZodString;
19334
- transactionDate: z.ZodNullable<z.ZodDate>;
19335
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
19336
- transactionSubType: z.ZodNullable<z.ZodString>;
19337
- transactionReview: z.ZodNullable<z.ZodString>;
19338
- transactionInfo: z.ZodString;
19339
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
19340
- originator: z.ZodString;
19341
- beneficiary: z.ZodString;
19341
+ transactionDate: z.ZodDate;
19342
19342
  createdAt: z.ZodDate;
19343
19343
  updatedAt: z.ZodNullable<z.ZodDate>;
19344
19344
  }, "strip", z.ZodTypeAny, {
19345
19345
  id: string;
19346
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19346
19347
  createdAt: Date;
19347
19348
  updatedAt: Date | null;
19348
19349
  customerId: string;
19349
- originator: string;
19350
- beneficiary: string;
19351
- externalTransactionId: string;
19352
- transactionDate: Date | null;
19350
+ workspaceId: string;
19351
+ reason: string | null;
19352
+ riskScore: string | null;
19353
+ transactionId: string;
19353
19354
  transactionType: "crypto" | "fiat";
19354
- transactionSubType: string | null;
19355
- transactionReview: string | null;
19356
- transactionInfo: string;
19357
- transactionExtractedInfo: string | null;
19355
+ riskLevel: string | null;
19356
+ externalTransactionId: string;
19357
+ transactionDate: Date;
19358
19358
  }, {
19359
19359
  id: string;
19360
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19360
19361
  createdAt: Date;
19361
19362
  updatedAt: Date | null;
19362
19363
  customerId: string;
19363
- originator: string;
19364
- beneficiary: string;
19365
- externalTransactionId: string;
19366
- transactionDate: Date | null;
19364
+ workspaceId: string;
19365
+ reason: string | null;
19366
+ riskScore: string | null;
19367
+ transactionId: string;
19367
19368
  transactionType: "crypto" | "fiat";
19368
- transactionSubType: string | null;
19369
- transactionReview: string | null;
19370
- transactionInfo: string;
19371
- transactionExtractedInfo: string | null;
19369
+ riskLevel: string | null;
19370
+ externalTransactionId: string;
19371
+ transactionDate: Date;
19372
19372
  }>;
19373
19373
  }, "strip", z.ZodTypeAny, {
19374
19374
  payload: {
19375
19375
  id: string;
19376
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19376
19377
  createdAt: Date;
19377
19378
  updatedAt: Date | null;
19378
19379
  customerId: string;
19379
- originator: string;
19380
- beneficiary: string;
19381
- externalTransactionId: string;
19382
- transactionDate: Date | null;
19380
+ workspaceId: string;
19381
+ reason: string | null;
19382
+ riskScore: string | null;
19383
+ transactionId: string;
19383
19384
  transactionType: "crypto" | "fiat";
19384
- transactionSubType: string | null;
19385
- transactionReview: string | null;
19386
- transactionInfo: string;
19387
- transactionExtractedInfo: string | null;
19385
+ riskLevel: string | null;
19386
+ externalTransactionId: string;
19387
+ transactionDate: Date;
19388
19388
  };
19389
- eventType: "tms.created";
19389
+ eventType: "transaction.created";
19390
19390
  }, {
19391
19391
  payload: {
19392
19392
  id: string;
19393
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19393
19394
  createdAt: Date;
19394
19395
  updatedAt: Date | null;
19395
19396
  customerId: string;
19396
- originator: string;
19397
- beneficiary: string;
19398
- externalTransactionId: string;
19399
- transactionDate: Date | null;
19397
+ workspaceId: string;
19398
+ reason: string | null;
19399
+ riskScore: string | null;
19400
+ transactionId: string;
19400
19401
  transactionType: "crypto" | "fiat";
19401
- transactionSubType: string | null;
19402
- transactionReview: string | null;
19403
- transactionInfo: string;
19404
- transactionExtractedInfo: string | null;
19402
+ riskLevel: string | null;
19403
+ externalTransactionId: string;
19404
+ transactionDate: Date;
19405
19405
  };
19406
- eventType: "tms.created";
19406
+ eventType: "transaction.created";
19407
19407
  }>, z.ZodObject<{
19408
- eventType: z.ZodLiteral<"tms.updated">;
19408
+ eventType: z.ZodLiteral<"transaction.updated">;
19409
19409
  payload: z.ZodObject<{
19410
+ workspaceId: z.ZodString;
19410
19411
  id: z.ZodString;
19412
+ transactionId: z.ZodString;
19413
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
19414
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
19415
+ riskScore: z.ZodNullable<z.ZodString>;
19416
+ riskLevel: z.ZodNullable<z.ZodString>;
19411
19417
  customerId: z.ZodString;
19418
+ reason: z.ZodNullable<z.ZodString>;
19412
19419
  externalTransactionId: z.ZodString;
19413
- transactionDate: z.ZodNullable<z.ZodDate>;
19414
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
19415
- transactionSubType: z.ZodNullable<z.ZodString>;
19416
- transactionReview: z.ZodNullable<z.ZodString>;
19417
- transactionInfo: z.ZodString;
19418
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
19419
- originator: z.ZodString;
19420
- beneficiary: z.ZodString;
19420
+ transactionDate: z.ZodDate;
19421
19421
  createdAt: z.ZodDate;
19422
19422
  updatedAt: z.ZodNullable<z.ZodDate>;
19423
19423
  }, "strip", z.ZodTypeAny, {
19424
19424
  id: string;
19425
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19425
19426
  createdAt: Date;
19426
19427
  updatedAt: Date | null;
19427
19428
  customerId: string;
19428
- originator: string;
19429
- beneficiary: string;
19430
- externalTransactionId: string;
19431
- transactionDate: Date | null;
19429
+ workspaceId: string;
19430
+ reason: string | null;
19431
+ riskScore: string | null;
19432
+ transactionId: string;
19432
19433
  transactionType: "crypto" | "fiat";
19433
- transactionSubType: string | null;
19434
- transactionReview: string | null;
19435
- transactionInfo: string;
19436
- transactionExtractedInfo: string | null;
19434
+ riskLevel: string | null;
19435
+ externalTransactionId: string;
19436
+ transactionDate: Date;
19437
19437
  }, {
19438
19438
  id: string;
19439
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19439
19440
  createdAt: Date;
19440
19441
  updatedAt: Date | null;
19441
19442
  customerId: string;
19442
- originator: string;
19443
- beneficiary: string;
19444
- externalTransactionId: string;
19445
- transactionDate: Date | null;
19443
+ workspaceId: string;
19444
+ reason: string | null;
19445
+ riskScore: string | null;
19446
+ transactionId: string;
19446
19447
  transactionType: "crypto" | "fiat";
19447
- transactionSubType: string | null;
19448
- transactionReview: string | null;
19449
- transactionInfo: string;
19450
- transactionExtractedInfo: string | null;
19448
+ riskLevel: string | null;
19449
+ externalTransactionId: string;
19450
+ transactionDate: Date;
19451
19451
  }>;
19452
19452
  }, "strip", z.ZodTypeAny, {
19453
19453
  payload: {
19454
19454
  id: string;
19455
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19455
19456
  createdAt: Date;
19456
19457
  updatedAt: Date | null;
19457
19458
  customerId: string;
19458
- originator: string;
19459
- beneficiary: string;
19460
- externalTransactionId: string;
19461
- transactionDate: Date | null;
19459
+ workspaceId: string;
19460
+ reason: string | null;
19461
+ riskScore: string | null;
19462
+ transactionId: string;
19462
19463
  transactionType: "crypto" | "fiat";
19463
- transactionSubType: string | null;
19464
- transactionReview: string | null;
19465
- transactionInfo: string;
19466
- transactionExtractedInfo: string | null;
19464
+ riskLevel: string | null;
19465
+ externalTransactionId: string;
19466
+ transactionDate: Date;
19467
19467
  };
19468
- eventType: "tms.updated";
19468
+ eventType: "transaction.updated";
19469
19469
  }, {
19470
19470
  payload: {
19471
19471
  id: string;
19472
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19472
19473
  createdAt: Date;
19473
19474
  updatedAt: Date | null;
19474
19475
  customerId: string;
19475
- originator: string;
19476
- beneficiary: string;
19477
- externalTransactionId: string;
19478
- transactionDate: Date | null;
19476
+ workspaceId: string;
19477
+ reason: string | null;
19478
+ riskScore: string | null;
19479
+ transactionId: string;
19479
19480
  transactionType: "crypto" | "fiat";
19480
- transactionSubType: string | null;
19481
- transactionReview: string | null;
19482
- transactionInfo: string;
19483
- transactionExtractedInfo: string | null;
19481
+ riskLevel: string | null;
19482
+ externalTransactionId: string;
19483
+ transactionDate: Date;
19484
19484
  };
19485
- eventType: "tms.updated";
19485
+ eventType: "transaction.updated";
19486
19486
  }>, z.ZodObject<{
19487
- eventType: z.ZodLiteral<"tms.deleted">;
19487
+ eventType: z.ZodLiteral<"transaction.deleted">;
19488
19488
  payload: z.ZodObject<{
19489
+ workspaceId: z.ZodString;
19489
19490
  id: z.ZodString;
19491
+ transactionId: z.ZodString;
19492
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
19493
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
19494
+ riskScore: z.ZodNullable<z.ZodString>;
19495
+ riskLevel: z.ZodNullable<z.ZodString>;
19490
19496
  customerId: z.ZodString;
19497
+ reason: z.ZodNullable<z.ZodString>;
19491
19498
  externalTransactionId: z.ZodString;
19492
- transactionDate: z.ZodNullable<z.ZodDate>;
19493
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
19494
- transactionSubType: z.ZodNullable<z.ZodString>;
19495
- transactionReview: z.ZodNullable<z.ZodString>;
19496
- transactionInfo: z.ZodString;
19497
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
19498
- originator: z.ZodString;
19499
- beneficiary: z.ZodString;
19499
+ transactionDate: z.ZodDate;
19500
19500
  createdAt: z.ZodDate;
19501
19501
  updatedAt: z.ZodNullable<z.ZodDate>;
19502
19502
  }, "strip", z.ZodTypeAny, {
19503
19503
  id: string;
19504
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19504
19505
  createdAt: Date;
19505
19506
  updatedAt: Date | null;
19506
19507
  customerId: string;
19507
- originator: string;
19508
- beneficiary: string;
19509
- externalTransactionId: string;
19510
- transactionDate: Date | null;
19508
+ workspaceId: string;
19509
+ reason: string | null;
19510
+ riskScore: string | null;
19511
+ transactionId: string;
19511
19512
  transactionType: "crypto" | "fiat";
19512
- transactionSubType: string | null;
19513
- transactionReview: string | null;
19514
- transactionInfo: string;
19515
- transactionExtractedInfo: string | null;
19513
+ riskLevel: string | null;
19514
+ externalTransactionId: string;
19515
+ transactionDate: Date;
19516
19516
  }, {
19517
19517
  id: string;
19518
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19518
19519
  createdAt: Date;
19519
19520
  updatedAt: Date | null;
19520
19521
  customerId: string;
19521
- originator: string;
19522
- beneficiary: string;
19523
- externalTransactionId: string;
19524
- transactionDate: Date | null;
19522
+ workspaceId: string;
19523
+ reason: string | null;
19524
+ riskScore: string | null;
19525
+ transactionId: string;
19525
19526
  transactionType: "crypto" | "fiat";
19526
- transactionSubType: string | null;
19527
- transactionReview: string | null;
19528
- transactionInfo: string;
19529
- transactionExtractedInfo: string | null;
19527
+ riskLevel: string | null;
19528
+ externalTransactionId: string;
19529
+ transactionDate: Date;
19530
19530
  }>;
19531
19531
  }, "strip", z.ZodTypeAny, {
19532
19532
  payload: {
19533
19533
  id: string;
19534
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19534
19535
  createdAt: Date;
19535
19536
  updatedAt: Date | null;
19536
19537
  customerId: string;
19537
- originator: string;
19538
- beneficiary: string;
19539
- externalTransactionId: string;
19540
- transactionDate: Date | null;
19538
+ workspaceId: string;
19539
+ reason: string | null;
19540
+ riskScore: string | null;
19541
+ transactionId: string;
19541
19542
  transactionType: "crypto" | "fiat";
19542
- transactionSubType: string | null;
19543
- transactionReview: string | null;
19544
- transactionInfo: string;
19545
- transactionExtractedInfo: string | null;
19543
+ riskLevel: string | null;
19544
+ externalTransactionId: string;
19545
+ transactionDate: Date;
19546
19546
  };
19547
- eventType: "tms.deleted";
19547
+ eventType: "transaction.deleted";
19548
19548
  }, {
19549
19549
  payload: {
19550
19550
  id: string;
19551
+ status: "blocked" | "pending" | "approved" | "under_investigation";
19551
19552
  createdAt: Date;
19552
19553
  updatedAt: Date | null;
19553
19554
  customerId: string;
19554
- originator: string;
19555
- beneficiary: string;
19556
- externalTransactionId: string;
19557
- transactionDate: Date | null;
19555
+ workspaceId: string;
19556
+ reason: string | null;
19557
+ riskScore: string | null;
19558
+ transactionId: string;
19558
19559
  transactionType: "crypto" | "fiat";
19559
- transactionSubType: string | null;
19560
- transactionReview: string | null;
19561
- transactionInfo: string;
19562
- transactionExtractedInfo: string | null;
19560
+ riskLevel: string | null;
19561
+ externalTransactionId: string;
19562
+ transactionDate: Date;
19563
19563
  };
19564
- eventType: "tms.deleted";
19564
+ eventType: "transaction.deleted";
19565
19565
  }>]>;
19566
19566
  export type WebhookTMSEventPayload = z.infer<typeof WebhookTMSEventPayload>;
19567
19567
  export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
@@ -29005,242 +29005,242 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
29005
29005
  };
29006
29006
  eventType: "alert.deleted";
29007
29007
  }>]>, z.ZodUnion<[z.ZodObject<{
29008
- eventType: z.ZodLiteral<"tms.created">;
29008
+ eventType: z.ZodLiteral<"transaction.created">;
29009
29009
  payload: z.ZodObject<{
29010
+ workspaceId: z.ZodString;
29010
29011
  id: z.ZodString;
29012
+ transactionId: z.ZodString;
29013
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
29014
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
29015
+ riskScore: z.ZodNullable<z.ZodString>;
29016
+ riskLevel: z.ZodNullable<z.ZodString>;
29011
29017
  customerId: z.ZodString;
29018
+ reason: z.ZodNullable<z.ZodString>;
29012
29019
  externalTransactionId: z.ZodString;
29013
- transactionDate: z.ZodNullable<z.ZodDate>;
29014
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
29015
- transactionSubType: z.ZodNullable<z.ZodString>;
29016
- transactionReview: z.ZodNullable<z.ZodString>;
29017
- transactionInfo: z.ZodString;
29018
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
29019
- originator: z.ZodString;
29020
- beneficiary: z.ZodString;
29020
+ transactionDate: z.ZodDate;
29021
29021
  createdAt: z.ZodDate;
29022
29022
  updatedAt: z.ZodNullable<z.ZodDate>;
29023
29023
  }, "strip", z.ZodTypeAny, {
29024
29024
  id: string;
29025
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29025
29026
  createdAt: Date;
29026
29027
  updatedAt: Date | null;
29027
29028
  customerId: string;
29028
- originator: string;
29029
- beneficiary: string;
29030
- externalTransactionId: string;
29031
- transactionDate: Date | null;
29029
+ workspaceId: string;
29030
+ reason: string | null;
29031
+ riskScore: string | null;
29032
+ transactionId: string;
29032
29033
  transactionType: "crypto" | "fiat";
29033
- transactionSubType: string | null;
29034
- transactionReview: string | null;
29035
- transactionInfo: string;
29036
- transactionExtractedInfo: string | null;
29034
+ riskLevel: string | null;
29035
+ externalTransactionId: string;
29036
+ transactionDate: Date;
29037
29037
  }, {
29038
29038
  id: string;
29039
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29039
29040
  createdAt: Date;
29040
29041
  updatedAt: Date | null;
29041
29042
  customerId: string;
29042
- originator: string;
29043
- beneficiary: string;
29044
- externalTransactionId: string;
29045
- transactionDate: Date | null;
29043
+ workspaceId: string;
29044
+ reason: string | null;
29045
+ riskScore: string | null;
29046
+ transactionId: string;
29046
29047
  transactionType: "crypto" | "fiat";
29047
- transactionSubType: string | null;
29048
- transactionReview: string | null;
29049
- transactionInfo: string;
29050
- transactionExtractedInfo: string | null;
29048
+ riskLevel: string | null;
29049
+ externalTransactionId: string;
29050
+ transactionDate: Date;
29051
29051
  }>;
29052
29052
  }, "strip", z.ZodTypeAny, {
29053
29053
  payload: {
29054
29054
  id: string;
29055
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29055
29056
  createdAt: Date;
29056
29057
  updatedAt: Date | null;
29057
29058
  customerId: string;
29058
- originator: string;
29059
- beneficiary: string;
29060
- externalTransactionId: string;
29061
- transactionDate: Date | null;
29059
+ workspaceId: string;
29060
+ reason: string | null;
29061
+ riskScore: string | null;
29062
+ transactionId: string;
29062
29063
  transactionType: "crypto" | "fiat";
29063
- transactionSubType: string | null;
29064
- transactionReview: string | null;
29065
- transactionInfo: string;
29066
- transactionExtractedInfo: string | null;
29064
+ riskLevel: string | null;
29065
+ externalTransactionId: string;
29066
+ transactionDate: Date;
29067
29067
  };
29068
- eventType: "tms.created";
29068
+ eventType: "transaction.created";
29069
29069
  }, {
29070
29070
  payload: {
29071
29071
  id: string;
29072
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29072
29073
  createdAt: Date;
29073
29074
  updatedAt: Date | null;
29074
29075
  customerId: string;
29075
- originator: string;
29076
- beneficiary: string;
29077
- externalTransactionId: string;
29078
- transactionDate: Date | null;
29076
+ workspaceId: string;
29077
+ reason: string | null;
29078
+ riskScore: string | null;
29079
+ transactionId: string;
29079
29080
  transactionType: "crypto" | "fiat";
29080
- transactionSubType: string | null;
29081
- transactionReview: string | null;
29082
- transactionInfo: string;
29083
- transactionExtractedInfo: string | null;
29081
+ riskLevel: string | null;
29082
+ externalTransactionId: string;
29083
+ transactionDate: Date;
29084
29084
  };
29085
- eventType: "tms.created";
29085
+ eventType: "transaction.created";
29086
29086
  }>, z.ZodObject<{
29087
- eventType: z.ZodLiteral<"tms.updated">;
29087
+ eventType: z.ZodLiteral<"transaction.updated">;
29088
29088
  payload: z.ZodObject<{
29089
+ workspaceId: z.ZodString;
29089
29090
  id: z.ZodString;
29091
+ transactionId: z.ZodString;
29092
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
29093
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
29094
+ riskScore: z.ZodNullable<z.ZodString>;
29095
+ riskLevel: z.ZodNullable<z.ZodString>;
29090
29096
  customerId: z.ZodString;
29097
+ reason: z.ZodNullable<z.ZodString>;
29091
29098
  externalTransactionId: z.ZodString;
29092
- transactionDate: z.ZodNullable<z.ZodDate>;
29093
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
29094
- transactionSubType: z.ZodNullable<z.ZodString>;
29095
- transactionReview: z.ZodNullable<z.ZodString>;
29096
- transactionInfo: z.ZodString;
29097
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
29098
- originator: z.ZodString;
29099
- beneficiary: z.ZodString;
29099
+ transactionDate: z.ZodDate;
29100
29100
  createdAt: z.ZodDate;
29101
29101
  updatedAt: z.ZodNullable<z.ZodDate>;
29102
29102
  }, "strip", z.ZodTypeAny, {
29103
29103
  id: string;
29104
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29104
29105
  createdAt: Date;
29105
29106
  updatedAt: Date | null;
29106
29107
  customerId: string;
29107
- originator: string;
29108
- beneficiary: string;
29109
- externalTransactionId: string;
29110
- transactionDate: Date | null;
29108
+ workspaceId: string;
29109
+ reason: string | null;
29110
+ riskScore: string | null;
29111
+ transactionId: string;
29111
29112
  transactionType: "crypto" | "fiat";
29112
- transactionSubType: string | null;
29113
- transactionReview: string | null;
29114
- transactionInfo: string;
29115
- transactionExtractedInfo: string | null;
29113
+ riskLevel: string | null;
29114
+ externalTransactionId: string;
29115
+ transactionDate: Date;
29116
29116
  }, {
29117
29117
  id: string;
29118
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29118
29119
  createdAt: Date;
29119
29120
  updatedAt: Date | null;
29120
29121
  customerId: string;
29121
- originator: string;
29122
- beneficiary: string;
29123
- externalTransactionId: string;
29124
- transactionDate: Date | null;
29122
+ workspaceId: string;
29123
+ reason: string | null;
29124
+ riskScore: string | null;
29125
+ transactionId: string;
29125
29126
  transactionType: "crypto" | "fiat";
29126
- transactionSubType: string | null;
29127
- transactionReview: string | null;
29128
- transactionInfo: string;
29129
- transactionExtractedInfo: string | null;
29127
+ riskLevel: string | null;
29128
+ externalTransactionId: string;
29129
+ transactionDate: Date;
29130
29130
  }>;
29131
29131
  }, "strip", z.ZodTypeAny, {
29132
29132
  payload: {
29133
29133
  id: string;
29134
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29134
29135
  createdAt: Date;
29135
29136
  updatedAt: Date | null;
29136
29137
  customerId: string;
29137
- originator: string;
29138
- beneficiary: string;
29139
- externalTransactionId: string;
29140
- transactionDate: Date | null;
29138
+ workspaceId: string;
29139
+ reason: string | null;
29140
+ riskScore: string | null;
29141
+ transactionId: string;
29141
29142
  transactionType: "crypto" | "fiat";
29142
- transactionSubType: string | null;
29143
- transactionReview: string | null;
29144
- transactionInfo: string;
29145
- transactionExtractedInfo: string | null;
29143
+ riskLevel: string | null;
29144
+ externalTransactionId: string;
29145
+ transactionDate: Date;
29146
29146
  };
29147
- eventType: "tms.updated";
29147
+ eventType: "transaction.updated";
29148
29148
  }, {
29149
29149
  payload: {
29150
29150
  id: string;
29151
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29151
29152
  createdAt: Date;
29152
29153
  updatedAt: Date | null;
29153
29154
  customerId: string;
29154
- originator: string;
29155
- beneficiary: string;
29156
- externalTransactionId: string;
29157
- transactionDate: Date | null;
29155
+ workspaceId: string;
29156
+ reason: string | null;
29157
+ riskScore: string | null;
29158
+ transactionId: string;
29158
29159
  transactionType: "crypto" | "fiat";
29159
- transactionSubType: string | null;
29160
- transactionReview: string | null;
29161
- transactionInfo: string;
29162
- transactionExtractedInfo: string | null;
29160
+ riskLevel: string | null;
29161
+ externalTransactionId: string;
29162
+ transactionDate: Date;
29163
29163
  };
29164
- eventType: "tms.updated";
29164
+ eventType: "transaction.updated";
29165
29165
  }>, z.ZodObject<{
29166
- eventType: z.ZodLiteral<"tms.deleted">;
29166
+ eventType: z.ZodLiteral<"transaction.deleted">;
29167
29167
  payload: z.ZodObject<{
29168
+ workspaceId: z.ZodString;
29168
29169
  id: z.ZodString;
29170
+ transactionId: z.ZodString;
29171
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
29172
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
29173
+ riskScore: z.ZodNullable<z.ZodString>;
29174
+ riskLevel: z.ZodNullable<z.ZodString>;
29169
29175
  customerId: z.ZodString;
29176
+ reason: z.ZodNullable<z.ZodString>;
29170
29177
  externalTransactionId: z.ZodString;
29171
- transactionDate: z.ZodNullable<z.ZodDate>;
29172
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
29173
- transactionSubType: z.ZodNullable<z.ZodString>;
29174
- transactionReview: z.ZodNullable<z.ZodString>;
29175
- transactionInfo: z.ZodString;
29176
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
29177
- originator: z.ZodString;
29178
- beneficiary: z.ZodString;
29178
+ transactionDate: z.ZodDate;
29179
29179
  createdAt: z.ZodDate;
29180
29180
  updatedAt: z.ZodNullable<z.ZodDate>;
29181
29181
  }, "strip", z.ZodTypeAny, {
29182
29182
  id: string;
29183
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29183
29184
  createdAt: Date;
29184
29185
  updatedAt: Date | null;
29185
29186
  customerId: string;
29186
- originator: string;
29187
- beneficiary: string;
29188
- externalTransactionId: string;
29189
- transactionDate: Date | null;
29187
+ workspaceId: string;
29188
+ reason: string | null;
29189
+ riskScore: string | null;
29190
+ transactionId: string;
29190
29191
  transactionType: "crypto" | "fiat";
29191
- transactionSubType: string | null;
29192
- transactionReview: string | null;
29193
- transactionInfo: string;
29194
- transactionExtractedInfo: string | null;
29192
+ riskLevel: string | null;
29193
+ externalTransactionId: string;
29194
+ transactionDate: Date;
29195
29195
  }, {
29196
29196
  id: string;
29197
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29197
29198
  createdAt: Date;
29198
29199
  updatedAt: Date | null;
29199
29200
  customerId: string;
29200
- originator: string;
29201
- beneficiary: string;
29202
- externalTransactionId: string;
29203
- transactionDate: Date | null;
29201
+ workspaceId: string;
29202
+ reason: string | null;
29203
+ riskScore: string | null;
29204
+ transactionId: string;
29204
29205
  transactionType: "crypto" | "fiat";
29205
- transactionSubType: string | null;
29206
- transactionReview: string | null;
29207
- transactionInfo: string;
29208
- transactionExtractedInfo: string | null;
29206
+ riskLevel: string | null;
29207
+ externalTransactionId: string;
29208
+ transactionDate: Date;
29209
29209
  }>;
29210
29210
  }, "strip", z.ZodTypeAny, {
29211
29211
  payload: {
29212
29212
  id: string;
29213
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29213
29214
  createdAt: Date;
29214
29215
  updatedAt: Date | null;
29215
29216
  customerId: string;
29216
- originator: string;
29217
- beneficiary: string;
29218
- externalTransactionId: string;
29219
- transactionDate: Date | null;
29217
+ workspaceId: string;
29218
+ reason: string | null;
29219
+ riskScore: string | null;
29220
+ transactionId: string;
29220
29221
  transactionType: "crypto" | "fiat";
29221
- transactionSubType: string | null;
29222
- transactionReview: string | null;
29223
- transactionInfo: string;
29224
- transactionExtractedInfo: string | null;
29222
+ riskLevel: string | null;
29223
+ externalTransactionId: string;
29224
+ transactionDate: Date;
29225
29225
  };
29226
- eventType: "tms.deleted";
29226
+ eventType: "transaction.deleted";
29227
29227
  }, {
29228
29228
  payload: {
29229
29229
  id: string;
29230
+ status: "blocked" | "pending" | "approved" | "under_investigation";
29230
29231
  createdAt: Date;
29231
29232
  updatedAt: Date | null;
29232
29233
  customerId: string;
29233
- originator: string;
29234
- beneficiary: string;
29235
- externalTransactionId: string;
29236
- transactionDate: Date | null;
29234
+ workspaceId: string;
29235
+ reason: string | null;
29236
+ riskScore: string | null;
29237
+ transactionId: string;
29237
29238
  transactionType: "crypto" | "fiat";
29238
- transactionSubType: string | null;
29239
- transactionReview: string | null;
29240
- transactionInfo: string;
29241
- transactionExtractedInfo: string | null;
29239
+ riskLevel: string | null;
29240
+ externalTransactionId: string;
29241
+ transactionDate: Date;
29242
29242
  };
29243
- eventType: "tms.deleted";
29243
+ eventType: "transaction.deleted";
29244
29244
  }>]>]>;
29245
29245
  export type WebhookEventPayload = z.infer<typeof WebhookEventPayload>;
29246
29246
  export declare const AllNexeraEventTypes: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -29364,47 +29364,47 @@ export declare const AllNexeraEventTypes: z.ZodArray<z.ZodUnion<[z.ZodObject<{
29364
29364
  archived: boolean;
29365
29365
  schemas: Record<string, unknown>;
29366
29366
  }>, z.ZodObject<{
29367
- name: z.ZodLiteral<"tms.created">;
29367
+ name: z.ZodLiteral<"transaction.created">;
29368
29368
  description: z.ZodString;
29369
29369
  archived: z.ZodBoolean;
29370
29370
  schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29371
29371
  }, "strip", z.ZodTypeAny, {
29372
- name: "tms.created";
29372
+ name: "transaction.created";
29373
29373
  description: string;
29374
29374
  archived: boolean;
29375
29375
  schemas: Record<string, unknown>;
29376
29376
  }, {
29377
- name: "tms.created";
29377
+ name: "transaction.created";
29378
29378
  description: string;
29379
29379
  archived: boolean;
29380
29380
  schemas: Record<string, unknown>;
29381
29381
  }>, z.ZodObject<{
29382
- name: z.ZodLiteral<"tms.updated">;
29382
+ name: z.ZodLiteral<"transaction.updated">;
29383
29383
  description: z.ZodString;
29384
29384
  archived: z.ZodBoolean;
29385
29385
  schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29386
29386
  }, "strip", z.ZodTypeAny, {
29387
- name: "tms.updated";
29387
+ name: "transaction.updated";
29388
29388
  description: string;
29389
29389
  archived: boolean;
29390
29390
  schemas: Record<string, unknown>;
29391
29391
  }, {
29392
- name: "tms.updated";
29392
+ name: "transaction.updated";
29393
29393
  description: string;
29394
29394
  archived: boolean;
29395
29395
  schemas: Record<string, unknown>;
29396
29396
  }>, z.ZodObject<{
29397
- name: z.ZodLiteral<"tms.deleted">;
29397
+ name: z.ZodLiteral<"transaction.deleted">;
29398
29398
  description: z.ZodString;
29399
29399
  archived: z.ZodBoolean;
29400
29400
  schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29401
29401
  }, "strip", z.ZodTypeAny, {
29402
- name: "tms.deleted";
29402
+ name: "transaction.deleted";
29403
29403
  description: string;
29404
29404
  archived: boolean;
29405
29405
  schemas: Record<string, unknown>;
29406
29406
  }, {
29407
- name: "tms.deleted";
29407
+ name: "transaction.deleted";
29408
29408
  description: string;
29409
29409
  archived: boolean;
29410
29410
  schemas: Record<string, unknown>;
@@ -29583,7 +29583,7 @@ export declare const EndpointOut: z.ZodObject<{
29583
29583
  }>;
29584
29584
  export declare const MessageDataOut: z.ZodObject<{
29585
29585
  id: z.ZodString;
29586
- eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>;
29586
+ eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
29587
29587
  timestamp: z.ZodDate;
29588
29588
  payload: z.ZodUnion<[z.ZodObject<{
29589
29589
  eventType: z.ZodLiteral<"send.scenario">;
@@ -39026,242 +39026,242 @@ export declare const MessageDataOut: z.ZodObject<{
39026
39026
  };
39027
39027
  eventType: "alert.deleted";
39028
39028
  }>]>, z.ZodUnion<[z.ZodObject<{
39029
- eventType: z.ZodLiteral<"tms.created">;
39029
+ eventType: z.ZodLiteral<"transaction.created">;
39030
39030
  payload: z.ZodObject<{
39031
+ workspaceId: z.ZodString;
39031
39032
  id: z.ZodString;
39033
+ transactionId: z.ZodString;
39034
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
39035
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
39036
+ riskScore: z.ZodNullable<z.ZodString>;
39037
+ riskLevel: z.ZodNullable<z.ZodString>;
39032
39038
  customerId: z.ZodString;
39039
+ reason: z.ZodNullable<z.ZodString>;
39033
39040
  externalTransactionId: z.ZodString;
39034
- transactionDate: z.ZodNullable<z.ZodDate>;
39035
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
39036
- transactionSubType: z.ZodNullable<z.ZodString>;
39037
- transactionReview: z.ZodNullable<z.ZodString>;
39038
- transactionInfo: z.ZodString;
39039
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
39040
- originator: z.ZodString;
39041
- beneficiary: z.ZodString;
39041
+ transactionDate: z.ZodDate;
39042
39042
  createdAt: z.ZodDate;
39043
39043
  updatedAt: z.ZodNullable<z.ZodDate>;
39044
39044
  }, "strip", z.ZodTypeAny, {
39045
39045
  id: string;
39046
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39046
39047
  createdAt: Date;
39047
39048
  updatedAt: Date | null;
39048
39049
  customerId: string;
39049
- originator: string;
39050
- beneficiary: string;
39051
- externalTransactionId: string;
39052
- transactionDate: Date | null;
39050
+ workspaceId: string;
39051
+ reason: string | null;
39052
+ riskScore: string | null;
39053
+ transactionId: string;
39053
39054
  transactionType: "crypto" | "fiat";
39054
- transactionSubType: string | null;
39055
- transactionReview: string | null;
39056
- transactionInfo: string;
39057
- transactionExtractedInfo: string | null;
39055
+ riskLevel: string | null;
39056
+ externalTransactionId: string;
39057
+ transactionDate: Date;
39058
39058
  }, {
39059
39059
  id: string;
39060
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39060
39061
  createdAt: Date;
39061
39062
  updatedAt: Date | null;
39062
39063
  customerId: string;
39063
- originator: string;
39064
- beneficiary: string;
39065
- externalTransactionId: string;
39066
- transactionDate: Date | null;
39064
+ workspaceId: string;
39065
+ reason: string | null;
39066
+ riskScore: string | null;
39067
+ transactionId: string;
39067
39068
  transactionType: "crypto" | "fiat";
39068
- transactionSubType: string | null;
39069
- transactionReview: string | null;
39070
- transactionInfo: string;
39071
- transactionExtractedInfo: string | null;
39069
+ riskLevel: string | null;
39070
+ externalTransactionId: string;
39071
+ transactionDate: Date;
39072
39072
  }>;
39073
39073
  }, "strip", z.ZodTypeAny, {
39074
39074
  payload: {
39075
39075
  id: string;
39076
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39076
39077
  createdAt: Date;
39077
39078
  updatedAt: Date | null;
39078
39079
  customerId: string;
39079
- originator: string;
39080
- beneficiary: string;
39081
- externalTransactionId: string;
39082
- transactionDate: Date | null;
39080
+ workspaceId: string;
39081
+ reason: string | null;
39082
+ riskScore: string | null;
39083
+ transactionId: string;
39083
39084
  transactionType: "crypto" | "fiat";
39084
- transactionSubType: string | null;
39085
- transactionReview: string | null;
39086
- transactionInfo: string;
39087
- transactionExtractedInfo: string | null;
39085
+ riskLevel: string | null;
39086
+ externalTransactionId: string;
39087
+ transactionDate: Date;
39088
39088
  };
39089
- eventType: "tms.created";
39089
+ eventType: "transaction.created";
39090
39090
  }, {
39091
39091
  payload: {
39092
39092
  id: string;
39093
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39093
39094
  createdAt: Date;
39094
39095
  updatedAt: Date | null;
39095
39096
  customerId: string;
39096
- originator: string;
39097
- beneficiary: string;
39098
- externalTransactionId: string;
39099
- transactionDate: Date | null;
39097
+ workspaceId: string;
39098
+ reason: string | null;
39099
+ riskScore: string | null;
39100
+ transactionId: string;
39100
39101
  transactionType: "crypto" | "fiat";
39101
- transactionSubType: string | null;
39102
- transactionReview: string | null;
39103
- transactionInfo: string;
39104
- transactionExtractedInfo: string | null;
39102
+ riskLevel: string | null;
39103
+ externalTransactionId: string;
39104
+ transactionDate: Date;
39105
39105
  };
39106
- eventType: "tms.created";
39106
+ eventType: "transaction.created";
39107
39107
  }>, z.ZodObject<{
39108
- eventType: z.ZodLiteral<"tms.updated">;
39108
+ eventType: z.ZodLiteral<"transaction.updated">;
39109
39109
  payload: z.ZodObject<{
39110
+ workspaceId: z.ZodString;
39110
39111
  id: z.ZodString;
39112
+ transactionId: z.ZodString;
39113
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
39114
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
39115
+ riskScore: z.ZodNullable<z.ZodString>;
39116
+ riskLevel: z.ZodNullable<z.ZodString>;
39111
39117
  customerId: z.ZodString;
39118
+ reason: z.ZodNullable<z.ZodString>;
39112
39119
  externalTransactionId: z.ZodString;
39113
- transactionDate: z.ZodNullable<z.ZodDate>;
39114
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
39115
- transactionSubType: z.ZodNullable<z.ZodString>;
39116
- transactionReview: z.ZodNullable<z.ZodString>;
39117
- transactionInfo: z.ZodString;
39118
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
39119
- originator: z.ZodString;
39120
- beneficiary: z.ZodString;
39120
+ transactionDate: z.ZodDate;
39121
39121
  createdAt: z.ZodDate;
39122
39122
  updatedAt: z.ZodNullable<z.ZodDate>;
39123
39123
  }, "strip", z.ZodTypeAny, {
39124
39124
  id: string;
39125
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39125
39126
  createdAt: Date;
39126
39127
  updatedAt: Date | null;
39127
39128
  customerId: string;
39128
- originator: string;
39129
- beneficiary: string;
39130
- externalTransactionId: string;
39131
- transactionDate: Date | null;
39129
+ workspaceId: string;
39130
+ reason: string | null;
39131
+ riskScore: string | null;
39132
+ transactionId: string;
39132
39133
  transactionType: "crypto" | "fiat";
39133
- transactionSubType: string | null;
39134
- transactionReview: string | null;
39135
- transactionInfo: string;
39136
- transactionExtractedInfo: string | null;
39134
+ riskLevel: string | null;
39135
+ externalTransactionId: string;
39136
+ transactionDate: Date;
39137
39137
  }, {
39138
39138
  id: string;
39139
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39139
39140
  createdAt: Date;
39140
39141
  updatedAt: Date | null;
39141
39142
  customerId: string;
39142
- originator: string;
39143
- beneficiary: string;
39144
- externalTransactionId: string;
39145
- transactionDate: Date | null;
39143
+ workspaceId: string;
39144
+ reason: string | null;
39145
+ riskScore: string | null;
39146
+ transactionId: string;
39146
39147
  transactionType: "crypto" | "fiat";
39147
- transactionSubType: string | null;
39148
- transactionReview: string | null;
39149
- transactionInfo: string;
39150
- transactionExtractedInfo: string | null;
39148
+ riskLevel: string | null;
39149
+ externalTransactionId: string;
39150
+ transactionDate: Date;
39151
39151
  }>;
39152
39152
  }, "strip", z.ZodTypeAny, {
39153
39153
  payload: {
39154
39154
  id: string;
39155
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39155
39156
  createdAt: Date;
39156
39157
  updatedAt: Date | null;
39157
39158
  customerId: string;
39158
- originator: string;
39159
- beneficiary: string;
39160
- externalTransactionId: string;
39161
- transactionDate: Date | null;
39159
+ workspaceId: string;
39160
+ reason: string | null;
39161
+ riskScore: string | null;
39162
+ transactionId: string;
39162
39163
  transactionType: "crypto" | "fiat";
39163
- transactionSubType: string | null;
39164
- transactionReview: string | null;
39165
- transactionInfo: string;
39166
- transactionExtractedInfo: string | null;
39164
+ riskLevel: string | null;
39165
+ externalTransactionId: string;
39166
+ transactionDate: Date;
39167
39167
  };
39168
- eventType: "tms.updated";
39168
+ eventType: "transaction.updated";
39169
39169
  }, {
39170
39170
  payload: {
39171
39171
  id: string;
39172
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39172
39173
  createdAt: Date;
39173
39174
  updatedAt: Date | null;
39174
39175
  customerId: string;
39175
- originator: string;
39176
- beneficiary: string;
39177
- externalTransactionId: string;
39178
- transactionDate: Date | null;
39176
+ workspaceId: string;
39177
+ reason: string | null;
39178
+ riskScore: string | null;
39179
+ transactionId: string;
39179
39180
  transactionType: "crypto" | "fiat";
39180
- transactionSubType: string | null;
39181
- transactionReview: string | null;
39182
- transactionInfo: string;
39183
- transactionExtractedInfo: string | null;
39181
+ riskLevel: string | null;
39182
+ externalTransactionId: string;
39183
+ transactionDate: Date;
39184
39184
  };
39185
- eventType: "tms.updated";
39185
+ eventType: "transaction.updated";
39186
39186
  }>, z.ZodObject<{
39187
- eventType: z.ZodLiteral<"tms.deleted">;
39187
+ eventType: z.ZodLiteral<"transaction.deleted">;
39188
39188
  payload: z.ZodObject<{
39189
+ workspaceId: z.ZodString;
39189
39190
  id: z.ZodString;
39191
+ transactionId: z.ZodString;
39192
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
39193
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
39194
+ riskScore: z.ZodNullable<z.ZodString>;
39195
+ riskLevel: z.ZodNullable<z.ZodString>;
39190
39196
  customerId: z.ZodString;
39197
+ reason: z.ZodNullable<z.ZodString>;
39191
39198
  externalTransactionId: z.ZodString;
39192
- transactionDate: z.ZodNullable<z.ZodDate>;
39193
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
39194
- transactionSubType: z.ZodNullable<z.ZodString>;
39195
- transactionReview: z.ZodNullable<z.ZodString>;
39196
- transactionInfo: z.ZodString;
39197
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
39198
- originator: z.ZodString;
39199
- beneficiary: z.ZodString;
39199
+ transactionDate: z.ZodDate;
39200
39200
  createdAt: z.ZodDate;
39201
39201
  updatedAt: z.ZodNullable<z.ZodDate>;
39202
39202
  }, "strip", z.ZodTypeAny, {
39203
39203
  id: string;
39204
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39204
39205
  createdAt: Date;
39205
39206
  updatedAt: Date | null;
39206
39207
  customerId: string;
39207
- originator: string;
39208
- beneficiary: string;
39209
- externalTransactionId: string;
39210
- transactionDate: Date | null;
39208
+ workspaceId: string;
39209
+ reason: string | null;
39210
+ riskScore: string | null;
39211
+ transactionId: string;
39211
39212
  transactionType: "crypto" | "fiat";
39212
- transactionSubType: string | null;
39213
- transactionReview: string | null;
39214
- transactionInfo: string;
39215
- transactionExtractedInfo: string | null;
39213
+ riskLevel: string | null;
39214
+ externalTransactionId: string;
39215
+ transactionDate: Date;
39216
39216
  }, {
39217
39217
  id: string;
39218
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39218
39219
  createdAt: Date;
39219
39220
  updatedAt: Date | null;
39220
39221
  customerId: string;
39221
- originator: string;
39222
- beneficiary: string;
39223
- externalTransactionId: string;
39224
- transactionDate: Date | null;
39222
+ workspaceId: string;
39223
+ reason: string | null;
39224
+ riskScore: string | null;
39225
+ transactionId: string;
39225
39226
  transactionType: "crypto" | "fiat";
39226
- transactionSubType: string | null;
39227
- transactionReview: string | null;
39228
- transactionInfo: string;
39229
- transactionExtractedInfo: string | null;
39227
+ riskLevel: string | null;
39228
+ externalTransactionId: string;
39229
+ transactionDate: Date;
39230
39230
  }>;
39231
39231
  }, "strip", z.ZodTypeAny, {
39232
39232
  payload: {
39233
39233
  id: string;
39234
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39234
39235
  createdAt: Date;
39235
39236
  updatedAt: Date | null;
39236
39237
  customerId: string;
39237
- originator: string;
39238
- beneficiary: string;
39239
- externalTransactionId: string;
39240
- transactionDate: Date | null;
39238
+ workspaceId: string;
39239
+ reason: string | null;
39240
+ riskScore: string | null;
39241
+ transactionId: string;
39241
39242
  transactionType: "crypto" | "fiat";
39242
- transactionSubType: string | null;
39243
- transactionReview: string | null;
39244
- transactionInfo: string;
39245
- transactionExtractedInfo: string | null;
39243
+ riskLevel: string | null;
39244
+ externalTransactionId: string;
39245
+ transactionDate: Date;
39246
39246
  };
39247
- eventType: "tms.deleted";
39247
+ eventType: "transaction.deleted";
39248
39248
  }, {
39249
39249
  payload: {
39250
39250
  id: string;
39251
+ status: "blocked" | "pending" | "approved" | "under_investigation";
39251
39252
  createdAt: Date;
39252
39253
  updatedAt: Date | null;
39253
39254
  customerId: string;
39254
- originator: string;
39255
- beneficiary: string;
39256
- externalTransactionId: string;
39257
- transactionDate: Date | null;
39255
+ workspaceId: string;
39256
+ reason: string | null;
39257
+ riskScore: string | null;
39258
+ transactionId: string;
39258
39259
  transactionType: "crypto" | "fiat";
39259
- transactionSubType: string | null;
39260
- transactionReview: string | null;
39261
- transactionInfo: string;
39262
- transactionExtractedInfo: string | null;
39260
+ riskLevel: string | null;
39261
+ externalTransactionId: string;
39262
+ transactionDate: Date;
39263
39263
  };
39264
- eventType: "tms.deleted";
39264
+ eventType: "transaction.deleted";
39265
39265
  }>]>]>;
39266
39266
  }, "strip", z.ZodTypeAny, {
39267
39267
  id: string;
@@ -40079,56 +40079,56 @@ export declare const MessageDataOut: z.ZodObject<{
40079
40079
  } | {
40080
40080
  payload: {
40081
40081
  id: string;
40082
+ status: "blocked" | "pending" | "approved" | "under_investigation";
40082
40083
  createdAt: Date;
40083
40084
  updatedAt: Date | null;
40084
40085
  customerId: string;
40085
- originator: string;
40086
- beneficiary: string;
40087
- externalTransactionId: string;
40088
- transactionDate: Date | null;
40086
+ workspaceId: string;
40087
+ reason: string | null;
40088
+ riskScore: string | null;
40089
+ transactionId: string;
40089
40090
  transactionType: "crypto" | "fiat";
40090
- transactionSubType: string | null;
40091
- transactionReview: string | null;
40092
- transactionInfo: string;
40093
- transactionExtractedInfo: string | null;
40091
+ riskLevel: string | null;
40092
+ externalTransactionId: string;
40093
+ transactionDate: Date;
40094
40094
  };
40095
- eventType: "tms.created";
40095
+ eventType: "transaction.created";
40096
40096
  } | {
40097
40097
  payload: {
40098
40098
  id: string;
40099
+ status: "blocked" | "pending" | "approved" | "under_investigation";
40099
40100
  createdAt: Date;
40100
40101
  updatedAt: Date | null;
40101
40102
  customerId: string;
40102
- originator: string;
40103
- beneficiary: string;
40104
- externalTransactionId: string;
40105
- transactionDate: Date | null;
40103
+ workspaceId: string;
40104
+ reason: string | null;
40105
+ riskScore: string | null;
40106
+ transactionId: string;
40106
40107
  transactionType: "crypto" | "fiat";
40107
- transactionSubType: string | null;
40108
- transactionReview: string | null;
40109
- transactionInfo: string;
40110
- transactionExtractedInfo: string | null;
40108
+ riskLevel: string | null;
40109
+ externalTransactionId: string;
40110
+ transactionDate: Date;
40111
40111
  };
40112
- eventType: "tms.updated";
40112
+ eventType: "transaction.updated";
40113
40113
  } | {
40114
40114
  payload: {
40115
40115
  id: string;
40116
+ status: "blocked" | "pending" | "approved" | "under_investigation";
40116
40117
  createdAt: Date;
40117
40118
  updatedAt: Date | null;
40118
40119
  customerId: string;
40119
- originator: string;
40120
- beneficiary: string;
40121
- externalTransactionId: string;
40122
- transactionDate: Date | null;
40120
+ workspaceId: string;
40121
+ reason: string | null;
40122
+ riskScore: string | null;
40123
+ transactionId: string;
40123
40124
  transactionType: "crypto" | "fiat";
40124
- transactionSubType: string | null;
40125
- transactionReview: string | null;
40126
- transactionInfo: string;
40127
- transactionExtractedInfo: string | null;
40125
+ riskLevel: string | null;
40126
+ externalTransactionId: string;
40127
+ transactionDate: Date;
40128
40128
  };
40129
- eventType: "tms.deleted";
40129
+ eventType: "transaction.deleted";
40130
40130
  };
40131
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
40131
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
40132
40132
  }, {
40133
40133
  id: string;
40134
40134
  timestamp: Date;
@@ -40945,56 +40945,56 @@ export declare const MessageDataOut: z.ZodObject<{
40945
40945
  } | {
40946
40946
  payload: {
40947
40947
  id: string;
40948
+ status: "blocked" | "pending" | "approved" | "under_investigation";
40948
40949
  createdAt: Date;
40949
40950
  updatedAt: Date | null;
40950
40951
  customerId: string;
40951
- originator: string;
40952
- beneficiary: string;
40953
- externalTransactionId: string;
40954
- transactionDate: Date | null;
40952
+ workspaceId: string;
40953
+ reason: string | null;
40954
+ riskScore: string | null;
40955
+ transactionId: string;
40955
40956
  transactionType: "crypto" | "fiat";
40956
- transactionSubType: string | null;
40957
- transactionReview: string | null;
40958
- transactionInfo: string;
40959
- transactionExtractedInfo: string | null;
40957
+ riskLevel: string | null;
40958
+ externalTransactionId: string;
40959
+ transactionDate: Date;
40960
40960
  };
40961
- eventType: "tms.created";
40961
+ eventType: "transaction.created";
40962
40962
  } | {
40963
40963
  payload: {
40964
40964
  id: string;
40965
+ status: "blocked" | "pending" | "approved" | "under_investigation";
40965
40966
  createdAt: Date;
40966
40967
  updatedAt: Date | null;
40967
40968
  customerId: string;
40968
- originator: string;
40969
- beneficiary: string;
40970
- externalTransactionId: string;
40971
- transactionDate: Date | null;
40969
+ workspaceId: string;
40970
+ reason: string | null;
40971
+ riskScore: string | null;
40972
+ transactionId: string;
40972
40973
  transactionType: "crypto" | "fiat";
40973
- transactionSubType: string | null;
40974
- transactionReview: string | null;
40975
- transactionInfo: string;
40976
- transactionExtractedInfo: string | null;
40974
+ riskLevel: string | null;
40975
+ externalTransactionId: string;
40976
+ transactionDate: Date;
40977
40977
  };
40978
- eventType: "tms.updated";
40978
+ eventType: "transaction.updated";
40979
40979
  } | {
40980
40980
  payload: {
40981
40981
  id: string;
40982
+ status: "blocked" | "pending" | "approved" | "under_investigation";
40982
40983
  createdAt: Date;
40983
40984
  updatedAt: Date | null;
40984
40985
  customerId: string;
40985
- originator: string;
40986
- beneficiary: string;
40987
- externalTransactionId: string;
40988
- transactionDate: Date | null;
40986
+ workspaceId: string;
40987
+ reason: string | null;
40988
+ riskScore: string | null;
40989
+ transactionId: string;
40989
40990
  transactionType: "crypto" | "fiat";
40990
- transactionSubType: string | null;
40991
- transactionReview: string | null;
40992
- transactionInfo: string;
40993
- transactionExtractedInfo: string | null;
40991
+ riskLevel: string | null;
40992
+ externalTransactionId: string;
40993
+ transactionDate: Date;
40994
40994
  };
40995
- eventType: "tms.deleted";
40995
+ eventType: "transaction.deleted";
40996
40996
  };
40997
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
40997
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
40998
40998
  }>;
40999
40999
  export declare const AttemptDataOut: z.ZodObject<{
41000
41000
  id: z.ZodString;
@@ -41026,7 +41026,7 @@ export declare const AttemptDataOut: z.ZodObject<{
41026
41026
  }>;
41027
41027
  export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShape<{
41028
41028
  id: z.ZodString;
41029
- eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>;
41029
+ eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
41030
41030
  timestamp: z.ZodDate;
41031
41031
  payload: z.ZodUnion<[z.ZodObject<{
41032
41032
  eventType: z.ZodLiteral<"send.scenario">;
@@ -50469,242 +50469,242 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
50469
50469
  };
50470
50470
  eventType: "alert.deleted";
50471
50471
  }>]>, z.ZodUnion<[z.ZodObject<{
50472
- eventType: z.ZodLiteral<"tms.created">;
50472
+ eventType: z.ZodLiteral<"transaction.created">;
50473
50473
  payload: z.ZodObject<{
50474
+ workspaceId: z.ZodString;
50474
50475
  id: z.ZodString;
50476
+ transactionId: z.ZodString;
50477
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
50478
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
50479
+ riskScore: z.ZodNullable<z.ZodString>;
50480
+ riskLevel: z.ZodNullable<z.ZodString>;
50475
50481
  customerId: z.ZodString;
50482
+ reason: z.ZodNullable<z.ZodString>;
50476
50483
  externalTransactionId: z.ZodString;
50477
- transactionDate: z.ZodNullable<z.ZodDate>;
50478
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
50479
- transactionSubType: z.ZodNullable<z.ZodString>;
50480
- transactionReview: z.ZodNullable<z.ZodString>;
50481
- transactionInfo: z.ZodString;
50482
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
50483
- originator: z.ZodString;
50484
- beneficiary: z.ZodString;
50484
+ transactionDate: z.ZodDate;
50485
50485
  createdAt: z.ZodDate;
50486
50486
  updatedAt: z.ZodNullable<z.ZodDate>;
50487
50487
  }, "strip", z.ZodTypeAny, {
50488
50488
  id: string;
50489
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50489
50490
  createdAt: Date;
50490
50491
  updatedAt: Date | null;
50491
50492
  customerId: string;
50492
- originator: string;
50493
- beneficiary: string;
50494
- externalTransactionId: string;
50495
- transactionDate: Date | null;
50493
+ workspaceId: string;
50494
+ reason: string | null;
50495
+ riskScore: string | null;
50496
+ transactionId: string;
50496
50497
  transactionType: "crypto" | "fiat";
50497
- transactionSubType: string | null;
50498
- transactionReview: string | null;
50499
- transactionInfo: string;
50500
- transactionExtractedInfo: string | null;
50498
+ riskLevel: string | null;
50499
+ externalTransactionId: string;
50500
+ transactionDate: Date;
50501
50501
  }, {
50502
50502
  id: string;
50503
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50503
50504
  createdAt: Date;
50504
50505
  updatedAt: Date | null;
50505
50506
  customerId: string;
50506
- originator: string;
50507
- beneficiary: string;
50508
- externalTransactionId: string;
50509
- transactionDate: Date | null;
50507
+ workspaceId: string;
50508
+ reason: string | null;
50509
+ riskScore: string | null;
50510
+ transactionId: string;
50510
50511
  transactionType: "crypto" | "fiat";
50511
- transactionSubType: string | null;
50512
- transactionReview: string | null;
50513
- transactionInfo: string;
50514
- transactionExtractedInfo: string | null;
50512
+ riskLevel: string | null;
50513
+ externalTransactionId: string;
50514
+ transactionDate: Date;
50515
50515
  }>;
50516
50516
  }, "strip", z.ZodTypeAny, {
50517
50517
  payload: {
50518
50518
  id: string;
50519
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50519
50520
  createdAt: Date;
50520
50521
  updatedAt: Date | null;
50521
50522
  customerId: string;
50522
- originator: string;
50523
- beneficiary: string;
50524
- externalTransactionId: string;
50525
- transactionDate: Date | null;
50523
+ workspaceId: string;
50524
+ reason: string | null;
50525
+ riskScore: string | null;
50526
+ transactionId: string;
50526
50527
  transactionType: "crypto" | "fiat";
50527
- transactionSubType: string | null;
50528
- transactionReview: string | null;
50529
- transactionInfo: string;
50530
- transactionExtractedInfo: string | null;
50528
+ riskLevel: string | null;
50529
+ externalTransactionId: string;
50530
+ transactionDate: Date;
50531
50531
  };
50532
- eventType: "tms.created";
50532
+ eventType: "transaction.created";
50533
50533
  }, {
50534
50534
  payload: {
50535
50535
  id: string;
50536
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50536
50537
  createdAt: Date;
50537
50538
  updatedAt: Date | null;
50538
50539
  customerId: string;
50539
- originator: string;
50540
- beneficiary: string;
50541
- externalTransactionId: string;
50542
- transactionDate: Date | null;
50540
+ workspaceId: string;
50541
+ reason: string | null;
50542
+ riskScore: string | null;
50543
+ transactionId: string;
50543
50544
  transactionType: "crypto" | "fiat";
50544
- transactionSubType: string | null;
50545
- transactionReview: string | null;
50546
- transactionInfo: string;
50547
- transactionExtractedInfo: string | null;
50545
+ riskLevel: string | null;
50546
+ externalTransactionId: string;
50547
+ transactionDate: Date;
50548
50548
  };
50549
- eventType: "tms.created";
50549
+ eventType: "transaction.created";
50550
50550
  }>, z.ZodObject<{
50551
- eventType: z.ZodLiteral<"tms.updated">;
50551
+ eventType: z.ZodLiteral<"transaction.updated">;
50552
50552
  payload: z.ZodObject<{
50553
+ workspaceId: z.ZodString;
50553
50554
  id: z.ZodString;
50555
+ transactionId: z.ZodString;
50556
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
50557
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
50558
+ riskScore: z.ZodNullable<z.ZodString>;
50559
+ riskLevel: z.ZodNullable<z.ZodString>;
50554
50560
  customerId: z.ZodString;
50561
+ reason: z.ZodNullable<z.ZodString>;
50555
50562
  externalTransactionId: z.ZodString;
50556
- transactionDate: z.ZodNullable<z.ZodDate>;
50557
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
50558
- transactionSubType: z.ZodNullable<z.ZodString>;
50559
- transactionReview: z.ZodNullable<z.ZodString>;
50560
- transactionInfo: z.ZodString;
50561
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
50562
- originator: z.ZodString;
50563
- beneficiary: z.ZodString;
50563
+ transactionDate: z.ZodDate;
50564
50564
  createdAt: z.ZodDate;
50565
50565
  updatedAt: z.ZodNullable<z.ZodDate>;
50566
50566
  }, "strip", z.ZodTypeAny, {
50567
50567
  id: string;
50568
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50568
50569
  createdAt: Date;
50569
50570
  updatedAt: Date | null;
50570
50571
  customerId: string;
50571
- originator: string;
50572
- beneficiary: string;
50573
- externalTransactionId: string;
50574
- transactionDate: Date | null;
50572
+ workspaceId: string;
50573
+ reason: string | null;
50574
+ riskScore: string | null;
50575
+ transactionId: string;
50575
50576
  transactionType: "crypto" | "fiat";
50576
- transactionSubType: string | null;
50577
- transactionReview: string | null;
50578
- transactionInfo: string;
50579
- transactionExtractedInfo: string | null;
50577
+ riskLevel: string | null;
50578
+ externalTransactionId: string;
50579
+ transactionDate: Date;
50580
50580
  }, {
50581
50581
  id: string;
50582
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50582
50583
  createdAt: Date;
50583
50584
  updatedAt: Date | null;
50584
50585
  customerId: string;
50585
- originator: string;
50586
- beneficiary: string;
50587
- externalTransactionId: string;
50588
- transactionDate: Date | null;
50586
+ workspaceId: string;
50587
+ reason: string | null;
50588
+ riskScore: string | null;
50589
+ transactionId: string;
50589
50590
  transactionType: "crypto" | "fiat";
50590
- transactionSubType: string | null;
50591
- transactionReview: string | null;
50592
- transactionInfo: string;
50593
- transactionExtractedInfo: string | null;
50591
+ riskLevel: string | null;
50592
+ externalTransactionId: string;
50593
+ transactionDate: Date;
50594
50594
  }>;
50595
50595
  }, "strip", z.ZodTypeAny, {
50596
50596
  payload: {
50597
50597
  id: string;
50598
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50598
50599
  createdAt: Date;
50599
50600
  updatedAt: Date | null;
50600
50601
  customerId: string;
50601
- originator: string;
50602
- beneficiary: string;
50603
- externalTransactionId: string;
50604
- transactionDate: Date | null;
50602
+ workspaceId: string;
50603
+ reason: string | null;
50604
+ riskScore: string | null;
50605
+ transactionId: string;
50605
50606
  transactionType: "crypto" | "fiat";
50606
- transactionSubType: string | null;
50607
- transactionReview: string | null;
50608
- transactionInfo: string;
50609
- transactionExtractedInfo: string | null;
50607
+ riskLevel: string | null;
50608
+ externalTransactionId: string;
50609
+ transactionDate: Date;
50610
50610
  };
50611
- eventType: "tms.updated";
50611
+ eventType: "transaction.updated";
50612
50612
  }, {
50613
50613
  payload: {
50614
50614
  id: string;
50615
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50615
50616
  createdAt: Date;
50616
50617
  updatedAt: Date | null;
50617
50618
  customerId: string;
50618
- originator: string;
50619
- beneficiary: string;
50620
- externalTransactionId: string;
50621
- transactionDate: Date | null;
50619
+ workspaceId: string;
50620
+ reason: string | null;
50621
+ riskScore: string | null;
50622
+ transactionId: string;
50622
50623
  transactionType: "crypto" | "fiat";
50623
- transactionSubType: string | null;
50624
- transactionReview: string | null;
50625
- transactionInfo: string;
50626
- transactionExtractedInfo: string | null;
50624
+ riskLevel: string | null;
50625
+ externalTransactionId: string;
50626
+ transactionDate: Date;
50627
50627
  };
50628
- eventType: "tms.updated";
50628
+ eventType: "transaction.updated";
50629
50629
  }>, z.ZodObject<{
50630
- eventType: z.ZodLiteral<"tms.deleted">;
50630
+ eventType: z.ZodLiteral<"transaction.deleted">;
50631
50631
  payload: z.ZodObject<{
50632
+ workspaceId: z.ZodString;
50632
50633
  id: z.ZodString;
50634
+ transactionId: z.ZodString;
50635
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
50636
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
50637
+ riskScore: z.ZodNullable<z.ZodString>;
50638
+ riskLevel: z.ZodNullable<z.ZodString>;
50633
50639
  customerId: z.ZodString;
50640
+ reason: z.ZodNullable<z.ZodString>;
50634
50641
  externalTransactionId: z.ZodString;
50635
- transactionDate: z.ZodNullable<z.ZodDate>;
50636
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
50637
- transactionSubType: z.ZodNullable<z.ZodString>;
50638
- transactionReview: z.ZodNullable<z.ZodString>;
50639
- transactionInfo: z.ZodString;
50640
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
50641
- originator: z.ZodString;
50642
- beneficiary: z.ZodString;
50642
+ transactionDate: z.ZodDate;
50643
50643
  createdAt: z.ZodDate;
50644
50644
  updatedAt: z.ZodNullable<z.ZodDate>;
50645
50645
  }, "strip", z.ZodTypeAny, {
50646
50646
  id: string;
50647
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50647
50648
  createdAt: Date;
50648
50649
  updatedAt: Date | null;
50649
50650
  customerId: string;
50650
- originator: string;
50651
- beneficiary: string;
50652
- externalTransactionId: string;
50653
- transactionDate: Date | null;
50651
+ workspaceId: string;
50652
+ reason: string | null;
50653
+ riskScore: string | null;
50654
+ transactionId: string;
50654
50655
  transactionType: "crypto" | "fiat";
50655
- transactionSubType: string | null;
50656
- transactionReview: string | null;
50657
- transactionInfo: string;
50658
- transactionExtractedInfo: string | null;
50656
+ riskLevel: string | null;
50657
+ externalTransactionId: string;
50658
+ transactionDate: Date;
50659
50659
  }, {
50660
50660
  id: string;
50661
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50661
50662
  createdAt: Date;
50662
50663
  updatedAt: Date | null;
50663
50664
  customerId: string;
50664
- originator: string;
50665
- beneficiary: string;
50666
- externalTransactionId: string;
50667
- transactionDate: Date | null;
50665
+ workspaceId: string;
50666
+ reason: string | null;
50667
+ riskScore: string | null;
50668
+ transactionId: string;
50668
50669
  transactionType: "crypto" | "fiat";
50669
- transactionSubType: string | null;
50670
- transactionReview: string | null;
50671
- transactionInfo: string;
50672
- transactionExtractedInfo: string | null;
50670
+ riskLevel: string | null;
50671
+ externalTransactionId: string;
50672
+ transactionDate: Date;
50673
50673
  }>;
50674
50674
  }, "strip", z.ZodTypeAny, {
50675
50675
  payload: {
50676
50676
  id: string;
50677
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50677
50678
  createdAt: Date;
50678
50679
  updatedAt: Date | null;
50679
50680
  customerId: string;
50680
- originator: string;
50681
- beneficiary: string;
50682
- externalTransactionId: string;
50683
- transactionDate: Date | null;
50681
+ workspaceId: string;
50682
+ reason: string | null;
50683
+ riskScore: string | null;
50684
+ transactionId: string;
50684
50685
  transactionType: "crypto" | "fiat";
50685
- transactionSubType: string | null;
50686
- transactionReview: string | null;
50687
- transactionInfo: string;
50688
- transactionExtractedInfo: string | null;
50686
+ riskLevel: string | null;
50687
+ externalTransactionId: string;
50688
+ transactionDate: Date;
50689
50689
  };
50690
- eventType: "tms.deleted";
50690
+ eventType: "transaction.deleted";
50691
50691
  }, {
50692
50692
  payload: {
50693
50693
  id: string;
50694
+ status: "blocked" | "pending" | "approved" | "under_investigation";
50694
50695
  createdAt: Date;
50695
50696
  updatedAt: Date | null;
50696
50697
  customerId: string;
50697
- originator: string;
50698
- beneficiary: string;
50699
- externalTransactionId: string;
50700
- transactionDate: Date | null;
50698
+ workspaceId: string;
50699
+ reason: string | null;
50700
+ riskScore: string | null;
50701
+ transactionId: string;
50701
50702
  transactionType: "crypto" | "fiat";
50702
- transactionSubType: string | null;
50703
- transactionReview: string | null;
50704
- transactionInfo: string;
50705
- transactionExtractedInfo: string | null;
50703
+ riskLevel: string | null;
50704
+ externalTransactionId: string;
50705
+ transactionDate: Date;
50706
50706
  };
50707
- eventType: "tms.deleted";
50707
+ eventType: "transaction.deleted";
50708
50708
  }>]>]>;
50709
50709
  }, {
50710
50710
  status: z.ZodNumber;
@@ -51555,56 +51555,56 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
51555
51555
  } | {
51556
51556
  payload: {
51557
51557
  id: string;
51558
+ status: "blocked" | "pending" | "approved" | "under_investigation";
51558
51559
  createdAt: Date;
51559
51560
  updatedAt: Date | null;
51560
51561
  customerId: string;
51561
- originator: string;
51562
- beneficiary: string;
51563
- externalTransactionId: string;
51564
- transactionDate: Date | null;
51562
+ workspaceId: string;
51563
+ reason: string | null;
51564
+ riskScore: string | null;
51565
+ transactionId: string;
51565
51566
  transactionType: "crypto" | "fiat";
51566
- transactionSubType: string | null;
51567
- transactionReview: string | null;
51568
- transactionInfo: string;
51569
- transactionExtractedInfo: string | null;
51567
+ riskLevel: string | null;
51568
+ externalTransactionId: string;
51569
+ transactionDate: Date;
51570
51570
  };
51571
- eventType: "tms.created";
51571
+ eventType: "transaction.created";
51572
51572
  } | {
51573
51573
  payload: {
51574
51574
  id: string;
51575
+ status: "blocked" | "pending" | "approved" | "under_investigation";
51575
51576
  createdAt: Date;
51576
51577
  updatedAt: Date | null;
51577
51578
  customerId: string;
51578
- originator: string;
51579
- beneficiary: string;
51580
- externalTransactionId: string;
51581
- transactionDate: Date | null;
51579
+ workspaceId: string;
51580
+ reason: string | null;
51581
+ riskScore: string | null;
51582
+ transactionId: string;
51582
51583
  transactionType: "crypto" | "fiat";
51583
- transactionSubType: string | null;
51584
- transactionReview: string | null;
51585
- transactionInfo: string;
51586
- transactionExtractedInfo: string | null;
51584
+ riskLevel: string | null;
51585
+ externalTransactionId: string;
51586
+ transactionDate: Date;
51587
51587
  };
51588
- eventType: "tms.updated";
51588
+ eventType: "transaction.updated";
51589
51589
  } | {
51590
51590
  payload: {
51591
51591
  id: string;
51592
+ status: "blocked" | "pending" | "approved" | "under_investigation";
51592
51593
  createdAt: Date;
51593
51594
  updatedAt: Date | null;
51594
51595
  customerId: string;
51595
- originator: string;
51596
- beneficiary: string;
51597
- externalTransactionId: string;
51598
- transactionDate: Date | null;
51596
+ workspaceId: string;
51597
+ reason: string | null;
51598
+ riskScore: string | null;
51599
+ transactionId: string;
51599
51600
  transactionType: "crypto" | "fiat";
51600
- transactionSubType: string | null;
51601
- transactionReview: string | null;
51602
- transactionInfo: string;
51603
- transactionExtractedInfo: string | null;
51601
+ riskLevel: string | null;
51602
+ externalTransactionId: string;
51603
+ transactionDate: Date;
51604
51604
  };
51605
- eventType: "tms.deleted";
51605
+ eventType: "transaction.deleted";
51606
51606
  };
51607
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
51607
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
51608
51608
  attempts: {
51609
51609
  id: string;
51610
51610
  status: number;
@@ -52433,56 +52433,56 @@ export declare const MessageDataOutExtended: z.ZodObject<z.objectUtil.extendShap
52433
52433
  } | {
52434
52434
  payload: {
52435
52435
  id: string;
52436
+ status: "blocked" | "pending" | "approved" | "under_investigation";
52436
52437
  createdAt: Date;
52437
52438
  updatedAt: Date | null;
52438
52439
  customerId: string;
52439
- originator: string;
52440
- beneficiary: string;
52441
- externalTransactionId: string;
52442
- transactionDate: Date | null;
52440
+ workspaceId: string;
52441
+ reason: string | null;
52442
+ riskScore: string | null;
52443
+ transactionId: string;
52443
52444
  transactionType: "crypto" | "fiat";
52444
- transactionSubType: string | null;
52445
- transactionReview: string | null;
52446
- transactionInfo: string;
52447
- transactionExtractedInfo: string | null;
52445
+ riskLevel: string | null;
52446
+ externalTransactionId: string;
52447
+ transactionDate: Date;
52448
52448
  };
52449
- eventType: "tms.created";
52449
+ eventType: "transaction.created";
52450
52450
  } | {
52451
52451
  payload: {
52452
52452
  id: string;
52453
+ status: "blocked" | "pending" | "approved" | "under_investigation";
52453
52454
  createdAt: Date;
52454
52455
  updatedAt: Date | null;
52455
52456
  customerId: string;
52456
- originator: string;
52457
- beneficiary: string;
52458
- externalTransactionId: string;
52459
- transactionDate: Date | null;
52457
+ workspaceId: string;
52458
+ reason: string | null;
52459
+ riskScore: string | null;
52460
+ transactionId: string;
52460
52461
  transactionType: "crypto" | "fiat";
52461
- transactionSubType: string | null;
52462
- transactionReview: string | null;
52463
- transactionInfo: string;
52464
- transactionExtractedInfo: string | null;
52462
+ riskLevel: string | null;
52463
+ externalTransactionId: string;
52464
+ transactionDate: Date;
52465
52465
  };
52466
- eventType: "tms.updated";
52466
+ eventType: "transaction.updated";
52467
52467
  } | {
52468
52468
  payload: {
52469
52469
  id: string;
52470
+ status: "blocked" | "pending" | "approved" | "under_investigation";
52470
52471
  createdAt: Date;
52471
52472
  updatedAt: Date | null;
52472
52473
  customerId: string;
52473
- originator: string;
52474
- beneficiary: string;
52475
- externalTransactionId: string;
52476
- transactionDate: Date | null;
52474
+ workspaceId: string;
52475
+ reason: string | null;
52476
+ riskScore: string | null;
52477
+ transactionId: string;
52477
52478
  transactionType: "crypto" | "fiat";
52478
- transactionSubType: string | null;
52479
- transactionReview: string | null;
52480
- transactionInfo: string;
52481
- transactionExtractedInfo: string | null;
52479
+ riskLevel: string | null;
52480
+ externalTransactionId: string;
52481
+ transactionDate: Date;
52482
52482
  };
52483
- eventType: "tms.deleted";
52483
+ eventType: "transaction.deleted";
52484
52484
  };
52485
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
52485
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
52486
52486
  attempts: {
52487
52487
  id: string;
52488
52488
  status: number;
@@ -52578,18 +52578,18 @@ export declare const ListEventTypeOutput: z.ZodObject<{
52578
52578
  export declare const CreateEndpointInput: z.ZodObject<{
52579
52579
  projectId: z.ZodString;
52580
52580
  name: z.ZodString;
52581
- eventTypes: z.ZodArray<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>, "many">;
52581
+ eventTypes: z.ZodArray<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>, "many">;
52582
52582
  url: z.ZodString;
52583
52583
  }, "strip", z.ZodTypeAny, {
52584
52584
  name: string;
52585
52585
  url: string;
52586
52586
  projectId: string;
52587
- eventTypes: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted")[];
52587
+ eventTypes: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[];
52588
52588
  }, {
52589
52589
  name: string;
52590
52590
  url: string;
52591
52591
  projectId: string;
52592
- eventTypes: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted")[];
52592
+ eventTypes: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[];
52593
52593
  }>;
52594
52594
  export declare const CreateEndpointOutput: z.ZodOptional<z.ZodObject<{
52595
52595
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -52715,7 +52715,7 @@ export declare const UpdateEndpointInput: z.ZodObject<{
52715
52715
  endpointId: z.ZodString;
52716
52716
  url: z.ZodString;
52717
52717
  name: z.ZodString;
52718
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>, "many">>;
52718
+ eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>, "many">>;
52719
52719
  disabled: z.ZodOptional<z.ZodBoolean>;
52720
52720
  }, "strip", z.ZodTypeAny, {
52721
52721
  name: string;
@@ -52723,14 +52723,14 @@ export declare const UpdateEndpointInput: z.ZodObject<{
52723
52723
  projectId: string;
52724
52724
  endpointId: string;
52725
52725
  disabled?: boolean | undefined;
52726
- eventTypes?: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted")[] | undefined;
52726
+ eventTypes?: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[] | undefined;
52727
52727
  }, {
52728
52728
  name: string;
52729
52729
  url: string;
52730
52730
  projectId: string;
52731
52731
  endpointId: string;
52732
52732
  disabled?: boolean | undefined;
52733
- eventTypes?: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted")[] | undefined;
52733
+ eventTypes?: ("send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[] | undefined;
52734
52734
  }>;
52735
52735
  export declare const UpdateEndpointOutput: z.ZodOptional<z.ZodObject<{
52736
52736
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -63948,370 +63948,370 @@ export declare const SendMessageForAlertDeletedInput: z.ZodObject<{
63948
63948
  export declare const SendMessageForTMSCreatedInput: z.ZodObject<{
63949
63949
  projectId: z.ZodString;
63950
63950
  payload: z.ZodObject<{
63951
- eventType: z.ZodLiteral<"tms.created">;
63951
+ eventType: z.ZodLiteral<"transaction.created">;
63952
63952
  payload: z.ZodObject<{
63953
+ workspaceId: z.ZodString;
63953
63954
  id: z.ZodString;
63955
+ transactionId: z.ZodString;
63956
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
63957
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
63958
+ riskScore: z.ZodNullable<z.ZodString>;
63959
+ riskLevel: z.ZodNullable<z.ZodString>;
63954
63960
  customerId: z.ZodString;
63961
+ reason: z.ZodNullable<z.ZodString>;
63955
63962
  externalTransactionId: z.ZodString;
63956
- transactionDate: z.ZodNullable<z.ZodDate>;
63957
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
63958
- transactionSubType: z.ZodNullable<z.ZodString>;
63959
- transactionReview: z.ZodNullable<z.ZodString>;
63960
- transactionInfo: z.ZodString;
63961
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
63962
- originator: z.ZodString;
63963
- beneficiary: z.ZodString;
63963
+ transactionDate: z.ZodDate;
63964
63964
  createdAt: z.ZodDate;
63965
63965
  updatedAt: z.ZodNullable<z.ZodDate>;
63966
63966
  }, "strip", z.ZodTypeAny, {
63967
63967
  id: string;
63968
+ status: "blocked" | "pending" | "approved" | "under_investigation";
63968
63969
  createdAt: Date;
63969
63970
  updatedAt: Date | null;
63970
63971
  customerId: string;
63971
- originator: string;
63972
- beneficiary: string;
63973
- externalTransactionId: string;
63974
- transactionDate: Date | null;
63972
+ workspaceId: string;
63973
+ reason: string | null;
63974
+ riskScore: string | null;
63975
+ transactionId: string;
63975
63976
  transactionType: "crypto" | "fiat";
63976
- transactionSubType: string | null;
63977
- transactionReview: string | null;
63978
- transactionInfo: string;
63979
- transactionExtractedInfo: string | null;
63977
+ riskLevel: string | null;
63978
+ externalTransactionId: string;
63979
+ transactionDate: Date;
63980
63980
  }, {
63981
63981
  id: string;
63982
+ status: "blocked" | "pending" | "approved" | "under_investigation";
63982
63983
  createdAt: Date;
63983
63984
  updatedAt: Date | null;
63984
63985
  customerId: string;
63985
- originator: string;
63986
- beneficiary: string;
63987
- externalTransactionId: string;
63988
- transactionDate: Date | null;
63986
+ workspaceId: string;
63987
+ reason: string | null;
63988
+ riskScore: string | null;
63989
+ transactionId: string;
63989
63990
  transactionType: "crypto" | "fiat";
63990
- transactionSubType: string | null;
63991
- transactionReview: string | null;
63992
- transactionInfo: string;
63993
- transactionExtractedInfo: string | null;
63991
+ riskLevel: string | null;
63992
+ externalTransactionId: string;
63993
+ transactionDate: Date;
63994
63994
  }>;
63995
63995
  }, "strip", z.ZodTypeAny, {
63996
63996
  payload: {
63997
63997
  id: string;
63998
+ status: "blocked" | "pending" | "approved" | "under_investigation";
63998
63999
  createdAt: Date;
63999
64000
  updatedAt: Date | null;
64000
64001
  customerId: string;
64001
- originator: string;
64002
- beneficiary: string;
64003
- externalTransactionId: string;
64004
- transactionDate: Date | null;
64002
+ workspaceId: string;
64003
+ reason: string | null;
64004
+ riskScore: string | null;
64005
+ transactionId: string;
64005
64006
  transactionType: "crypto" | "fiat";
64006
- transactionSubType: string | null;
64007
- transactionReview: string | null;
64008
- transactionInfo: string;
64009
- transactionExtractedInfo: string | null;
64007
+ riskLevel: string | null;
64008
+ externalTransactionId: string;
64009
+ transactionDate: Date;
64010
64010
  };
64011
- eventType: "tms.created";
64011
+ eventType: "transaction.created";
64012
64012
  }, {
64013
64013
  payload: {
64014
64014
  id: string;
64015
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64015
64016
  createdAt: Date;
64016
64017
  updatedAt: Date | null;
64017
64018
  customerId: string;
64018
- originator: string;
64019
- beneficiary: string;
64020
- externalTransactionId: string;
64021
- transactionDate: Date | null;
64019
+ workspaceId: string;
64020
+ reason: string | null;
64021
+ riskScore: string | null;
64022
+ transactionId: string;
64022
64023
  transactionType: "crypto" | "fiat";
64023
- transactionSubType: string | null;
64024
- transactionReview: string | null;
64025
- transactionInfo: string;
64026
- transactionExtractedInfo: string | null;
64024
+ riskLevel: string | null;
64025
+ externalTransactionId: string;
64026
+ transactionDate: Date;
64027
64027
  };
64028
- eventType: "tms.created";
64028
+ eventType: "transaction.created";
64029
64029
  }>;
64030
64030
  }, "strip", z.ZodTypeAny, {
64031
64031
  projectId: string;
64032
64032
  payload: {
64033
64033
  payload: {
64034
64034
  id: string;
64035
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64035
64036
  createdAt: Date;
64036
64037
  updatedAt: Date | null;
64037
64038
  customerId: string;
64038
- originator: string;
64039
- beneficiary: string;
64040
- externalTransactionId: string;
64041
- transactionDate: Date | null;
64039
+ workspaceId: string;
64040
+ reason: string | null;
64041
+ riskScore: string | null;
64042
+ transactionId: string;
64042
64043
  transactionType: "crypto" | "fiat";
64043
- transactionSubType: string | null;
64044
- transactionReview: string | null;
64045
- transactionInfo: string;
64046
- transactionExtractedInfo: string | null;
64044
+ riskLevel: string | null;
64045
+ externalTransactionId: string;
64046
+ transactionDate: Date;
64047
64047
  };
64048
- eventType: "tms.created";
64048
+ eventType: "transaction.created";
64049
64049
  };
64050
64050
  }, {
64051
64051
  projectId: string;
64052
64052
  payload: {
64053
64053
  payload: {
64054
64054
  id: string;
64055
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64055
64056
  createdAt: Date;
64056
64057
  updatedAt: Date | null;
64057
64058
  customerId: string;
64058
- originator: string;
64059
- beneficiary: string;
64060
- externalTransactionId: string;
64061
- transactionDate: Date | null;
64059
+ workspaceId: string;
64060
+ reason: string | null;
64061
+ riskScore: string | null;
64062
+ transactionId: string;
64062
64063
  transactionType: "crypto" | "fiat";
64063
- transactionSubType: string | null;
64064
- transactionReview: string | null;
64065
- transactionInfo: string;
64066
- transactionExtractedInfo: string | null;
64064
+ riskLevel: string | null;
64065
+ externalTransactionId: string;
64066
+ transactionDate: Date;
64067
64067
  };
64068
- eventType: "tms.created";
64068
+ eventType: "transaction.created";
64069
64069
  };
64070
64070
  }>;
64071
64071
  export declare const SendMessageForTMSUpdatedInput: z.ZodObject<{
64072
64072
  projectId: z.ZodString;
64073
64073
  payload: z.ZodObject<{
64074
- eventType: z.ZodLiteral<"tms.updated">;
64074
+ eventType: z.ZodLiteral<"transaction.updated">;
64075
64075
  payload: z.ZodObject<{
64076
+ workspaceId: z.ZodString;
64076
64077
  id: z.ZodString;
64078
+ transactionId: z.ZodString;
64079
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
64080
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
64081
+ riskScore: z.ZodNullable<z.ZodString>;
64082
+ riskLevel: z.ZodNullable<z.ZodString>;
64077
64083
  customerId: z.ZodString;
64084
+ reason: z.ZodNullable<z.ZodString>;
64078
64085
  externalTransactionId: z.ZodString;
64079
- transactionDate: z.ZodNullable<z.ZodDate>;
64080
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
64081
- transactionSubType: z.ZodNullable<z.ZodString>;
64082
- transactionReview: z.ZodNullable<z.ZodString>;
64083
- transactionInfo: z.ZodString;
64084
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
64085
- originator: z.ZodString;
64086
- beneficiary: z.ZodString;
64086
+ transactionDate: z.ZodDate;
64087
64087
  createdAt: z.ZodDate;
64088
64088
  updatedAt: z.ZodNullable<z.ZodDate>;
64089
64089
  }, "strip", z.ZodTypeAny, {
64090
64090
  id: string;
64091
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64091
64092
  createdAt: Date;
64092
64093
  updatedAt: Date | null;
64093
64094
  customerId: string;
64094
- originator: string;
64095
- beneficiary: string;
64096
- externalTransactionId: string;
64097
- transactionDate: Date | null;
64095
+ workspaceId: string;
64096
+ reason: string | null;
64097
+ riskScore: string | null;
64098
+ transactionId: string;
64098
64099
  transactionType: "crypto" | "fiat";
64099
- transactionSubType: string | null;
64100
- transactionReview: string | null;
64101
- transactionInfo: string;
64102
- transactionExtractedInfo: string | null;
64100
+ riskLevel: string | null;
64101
+ externalTransactionId: string;
64102
+ transactionDate: Date;
64103
64103
  }, {
64104
64104
  id: string;
64105
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64105
64106
  createdAt: Date;
64106
64107
  updatedAt: Date | null;
64107
64108
  customerId: string;
64108
- originator: string;
64109
- beneficiary: string;
64110
- externalTransactionId: string;
64111
- transactionDate: Date | null;
64109
+ workspaceId: string;
64110
+ reason: string | null;
64111
+ riskScore: string | null;
64112
+ transactionId: string;
64112
64113
  transactionType: "crypto" | "fiat";
64113
- transactionSubType: string | null;
64114
- transactionReview: string | null;
64115
- transactionInfo: string;
64116
- transactionExtractedInfo: string | null;
64114
+ riskLevel: string | null;
64115
+ externalTransactionId: string;
64116
+ transactionDate: Date;
64117
64117
  }>;
64118
64118
  }, "strip", z.ZodTypeAny, {
64119
64119
  payload: {
64120
64120
  id: string;
64121
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64121
64122
  createdAt: Date;
64122
64123
  updatedAt: Date | null;
64123
64124
  customerId: string;
64124
- originator: string;
64125
- beneficiary: string;
64126
- externalTransactionId: string;
64127
- transactionDate: Date | null;
64125
+ workspaceId: string;
64126
+ reason: string | null;
64127
+ riskScore: string | null;
64128
+ transactionId: string;
64128
64129
  transactionType: "crypto" | "fiat";
64129
- transactionSubType: string | null;
64130
- transactionReview: string | null;
64131
- transactionInfo: string;
64132
- transactionExtractedInfo: string | null;
64130
+ riskLevel: string | null;
64131
+ externalTransactionId: string;
64132
+ transactionDate: Date;
64133
64133
  };
64134
- eventType: "tms.updated";
64134
+ eventType: "transaction.updated";
64135
64135
  }, {
64136
64136
  payload: {
64137
64137
  id: string;
64138
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64138
64139
  createdAt: Date;
64139
64140
  updatedAt: Date | null;
64140
64141
  customerId: string;
64141
- originator: string;
64142
- beneficiary: string;
64143
- externalTransactionId: string;
64144
- transactionDate: Date | null;
64142
+ workspaceId: string;
64143
+ reason: string | null;
64144
+ riskScore: string | null;
64145
+ transactionId: string;
64145
64146
  transactionType: "crypto" | "fiat";
64146
- transactionSubType: string | null;
64147
- transactionReview: string | null;
64148
- transactionInfo: string;
64149
- transactionExtractedInfo: string | null;
64147
+ riskLevel: string | null;
64148
+ externalTransactionId: string;
64149
+ transactionDate: Date;
64150
64150
  };
64151
- eventType: "tms.updated";
64151
+ eventType: "transaction.updated";
64152
64152
  }>;
64153
64153
  }, "strip", z.ZodTypeAny, {
64154
64154
  projectId: string;
64155
64155
  payload: {
64156
64156
  payload: {
64157
64157
  id: string;
64158
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64158
64159
  createdAt: Date;
64159
64160
  updatedAt: Date | null;
64160
64161
  customerId: string;
64161
- originator: string;
64162
- beneficiary: string;
64163
- externalTransactionId: string;
64164
- transactionDate: Date | null;
64162
+ workspaceId: string;
64163
+ reason: string | null;
64164
+ riskScore: string | null;
64165
+ transactionId: string;
64165
64166
  transactionType: "crypto" | "fiat";
64166
- transactionSubType: string | null;
64167
- transactionReview: string | null;
64168
- transactionInfo: string;
64169
- transactionExtractedInfo: string | null;
64167
+ riskLevel: string | null;
64168
+ externalTransactionId: string;
64169
+ transactionDate: Date;
64170
64170
  };
64171
- eventType: "tms.updated";
64171
+ eventType: "transaction.updated";
64172
64172
  };
64173
64173
  }, {
64174
64174
  projectId: string;
64175
64175
  payload: {
64176
64176
  payload: {
64177
64177
  id: string;
64178
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64178
64179
  createdAt: Date;
64179
64180
  updatedAt: Date | null;
64180
64181
  customerId: string;
64181
- originator: string;
64182
- beneficiary: string;
64183
- externalTransactionId: string;
64184
- transactionDate: Date | null;
64182
+ workspaceId: string;
64183
+ reason: string | null;
64184
+ riskScore: string | null;
64185
+ transactionId: string;
64185
64186
  transactionType: "crypto" | "fiat";
64186
- transactionSubType: string | null;
64187
- transactionReview: string | null;
64188
- transactionInfo: string;
64189
- transactionExtractedInfo: string | null;
64187
+ riskLevel: string | null;
64188
+ externalTransactionId: string;
64189
+ transactionDate: Date;
64190
64190
  };
64191
- eventType: "tms.updated";
64191
+ eventType: "transaction.updated";
64192
64192
  };
64193
64193
  }>;
64194
64194
  export declare const SendMessageForTMSDeletedInput: z.ZodObject<{
64195
64195
  projectId: z.ZodString;
64196
64196
  payload: z.ZodObject<{
64197
- eventType: z.ZodLiteral<"tms.deleted">;
64197
+ eventType: z.ZodLiteral<"transaction.deleted">;
64198
64198
  payload: z.ZodObject<{
64199
+ workspaceId: z.ZodString;
64199
64200
  id: z.ZodString;
64201
+ transactionId: z.ZodString;
64202
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
64203
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
64204
+ riskScore: z.ZodNullable<z.ZodString>;
64205
+ riskLevel: z.ZodNullable<z.ZodString>;
64200
64206
  customerId: z.ZodString;
64207
+ reason: z.ZodNullable<z.ZodString>;
64201
64208
  externalTransactionId: z.ZodString;
64202
- transactionDate: z.ZodNullable<z.ZodDate>;
64203
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
64204
- transactionSubType: z.ZodNullable<z.ZodString>;
64205
- transactionReview: z.ZodNullable<z.ZodString>;
64206
- transactionInfo: z.ZodString;
64207
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
64208
- originator: z.ZodString;
64209
- beneficiary: z.ZodString;
64209
+ transactionDate: z.ZodDate;
64210
64210
  createdAt: z.ZodDate;
64211
64211
  updatedAt: z.ZodNullable<z.ZodDate>;
64212
64212
  }, "strip", z.ZodTypeAny, {
64213
64213
  id: string;
64214
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64214
64215
  createdAt: Date;
64215
64216
  updatedAt: Date | null;
64216
64217
  customerId: string;
64217
- originator: string;
64218
- beneficiary: string;
64219
- externalTransactionId: string;
64220
- transactionDate: Date | null;
64218
+ workspaceId: string;
64219
+ reason: string | null;
64220
+ riskScore: string | null;
64221
+ transactionId: string;
64221
64222
  transactionType: "crypto" | "fiat";
64222
- transactionSubType: string | null;
64223
- transactionReview: string | null;
64224
- transactionInfo: string;
64225
- transactionExtractedInfo: string | null;
64223
+ riskLevel: string | null;
64224
+ externalTransactionId: string;
64225
+ transactionDate: Date;
64226
64226
  }, {
64227
64227
  id: string;
64228
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64228
64229
  createdAt: Date;
64229
64230
  updatedAt: Date | null;
64230
64231
  customerId: string;
64231
- originator: string;
64232
- beneficiary: string;
64233
- externalTransactionId: string;
64234
- transactionDate: Date | null;
64232
+ workspaceId: string;
64233
+ reason: string | null;
64234
+ riskScore: string | null;
64235
+ transactionId: string;
64235
64236
  transactionType: "crypto" | "fiat";
64236
- transactionSubType: string | null;
64237
- transactionReview: string | null;
64238
- transactionInfo: string;
64239
- transactionExtractedInfo: string | null;
64237
+ riskLevel: string | null;
64238
+ externalTransactionId: string;
64239
+ transactionDate: Date;
64240
64240
  }>;
64241
64241
  }, "strip", z.ZodTypeAny, {
64242
64242
  payload: {
64243
64243
  id: string;
64244
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64244
64245
  createdAt: Date;
64245
64246
  updatedAt: Date | null;
64246
64247
  customerId: string;
64247
- originator: string;
64248
- beneficiary: string;
64249
- externalTransactionId: string;
64250
- transactionDate: Date | null;
64248
+ workspaceId: string;
64249
+ reason: string | null;
64250
+ riskScore: string | null;
64251
+ transactionId: string;
64251
64252
  transactionType: "crypto" | "fiat";
64252
- transactionSubType: string | null;
64253
- transactionReview: string | null;
64254
- transactionInfo: string;
64255
- transactionExtractedInfo: string | null;
64253
+ riskLevel: string | null;
64254
+ externalTransactionId: string;
64255
+ transactionDate: Date;
64256
64256
  };
64257
- eventType: "tms.deleted";
64257
+ eventType: "transaction.deleted";
64258
64258
  }, {
64259
64259
  payload: {
64260
64260
  id: string;
64261
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64261
64262
  createdAt: Date;
64262
64263
  updatedAt: Date | null;
64263
64264
  customerId: string;
64264
- originator: string;
64265
- beneficiary: string;
64266
- externalTransactionId: string;
64267
- transactionDate: Date | null;
64265
+ workspaceId: string;
64266
+ reason: string | null;
64267
+ riskScore: string | null;
64268
+ transactionId: string;
64268
64269
  transactionType: "crypto" | "fiat";
64269
- transactionSubType: string | null;
64270
- transactionReview: string | null;
64271
- transactionInfo: string;
64272
- transactionExtractedInfo: string | null;
64270
+ riskLevel: string | null;
64271
+ externalTransactionId: string;
64272
+ transactionDate: Date;
64273
64273
  };
64274
- eventType: "tms.deleted";
64274
+ eventType: "transaction.deleted";
64275
64275
  }>;
64276
64276
  }, "strip", z.ZodTypeAny, {
64277
64277
  projectId: string;
64278
64278
  payload: {
64279
64279
  payload: {
64280
64280
  id: string;
64281
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64281
64282
  createdAt: Date;
64282
64283
  updatedAt: Date | null;
64283
64284
  customerId: string;
64284
- originator: string;
64285
- beneficiary: string;
64286
- externalTransactionId: string;
64287
- transactionDate: Date | null;
64285
+ workspaceId: string;
64286
+ reason: string | null;
64287
+ riskScore: string | null;
64288
+ transactionId: string;
64288
64289
  transactionType: "crypto" | "fiat";
64289
- transactionSubType: string | null;
64290
- transactionReview: string | null;
64291
- transactionInfo: string;
64292
- transactionExtractedInfo: string | null;
64290
+ riskLevel: string | null;
64291
+ externalTransactionId: string;
64292
+ transactionDate: Date;
64293
64293
  };
64294
- eventType: "tms.deleted";
64294
+ eventType: "transaction.deleted";
64295
64295
  };
64296
64296
  }, {
64297
64297
  projectId: string;
64298
64298
  payload: {
64299
64299
  payload: {
64300
64300
  id: string;
64301
+ status: "blocked" | "pending" | "approved" | "under_investigation";
64301
64302
  createdAt: Date;
64302
64303
  updatedAt: Date | null;
64303
64304
  customerId: string;
64304
- originator: string;
64305
- beneficiary: string;
64306
- externalTransactionId: string;
64307
- transactionDate: Date | null;
64305
+ workspaceId: string;
64306
+ reason: string | null;
64307
+ riskScore: string | null;
64308
+ transactionId: string;
64308
64309
  transactionType: "crypto" | "fiat";
64309
- transactionSubType: string | null;
64310
- transactionReview: string | null;
64311
- transactionInfo: string;
64312
- transactionExtractedInfo: string | null;
64310
+ riskLevel: string | null;
64311
+ externalTransactionId: string;
64312
+ transactionDate: Date;
64313
64313
  };
64314
- eventType: "tms.deleted";
64314
+ eventType: "transaction.deleted";
64315
64315
  };
64316
64316
  }>;
64317
64317
  /**
@@ -64321,13 +64321,13 @@ export declare const SendMessageForTMSDeletedInput: z.ZodObject<{
64321
64321
  */
64322
64322
  export declare const ListMessagesInput: z.ZodObject<{
64323
64323
  projectId: z.ZodString;
64324
- eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>>;
64324
+ eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>>;
64325
64325
  }, "strip", z.ZodTypeAny, {
64326
64326
  projectId: string;
64327
- eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted" | undefined;
64327
+ eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
64328
64328
  }, {
64329
64329
  projectId: string;
64330
- eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted" | undefined;
64330
+ eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
64331
64331
  }>;
64332
64332
  export declare const GetMessagesInput: z.ZodObject<{
64333
64333
  projectId: z.ZodString;
@@ -64342,7 +64342,7 @@ export declare const GetMessagesInput: z.ZodObject<{
64342
64342
  export declare const ListMessagesOutput: z.ZodObject<{
64343
64343
  messages: z.ZodArray<z.ZodObject<{
64344
64344
  id: z.ZodString;
64345
- eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>;
64345
+ eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
64346
64346
  timestamp: z.ZodDate;
64347
64347
  payload: z.ZodUnion<[z.ZodObject<{
64348
64348
  eventType: z.ZodLiteral<"send.scenario">;
@@ -73785,242 +73785,242 @@ export declare const ListMessagesOutput: z.ZodObject<{
73785
73785
  };
73786
73786
  eventType: "alert.deleted";
73787
73787
  }>]>, z.ZodUnion<[z.ZodObject<{
73788
- eventType: z.ZodLiteral<"tms.created">;
73788
+ eventType: z.ZodLiteral<"transaction.created">;
73789
73789
  payload: z.ZodObject<{
73790
+ workspaceId: z.ZodString;
73790
73791
  id: z.ZodString;
73792
+ transactionId: z.ZodString;
73793
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
73794
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
73795
+ riskScore: z.ZodNullable<z.ZodString>;
73796
+ riskLevel: z.ZodNullable<z.ZodString>;
73791
73797
  customerId: z.ZodString;
73798
+ reason: z.ZodNullable<z.ZodString>;
73792
73799
  externalTransactionId: z.ZodString;
73793
- transactionDate: z.ZodNullable<z.ZodDate>;
73794
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
73795
- transactionSubType: z.ZodNullable<z.ZodString>;
73796
- transactionReview: z.ZodNullable<z.ZodString>;
73797
- transactionInfo: z.ZodString;
73798
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
73799
- originator: z.ZodString;
73800
- beneficiary: z.ZodString;
73800
+ transactionDate: z.ZodDate;
73801
73801
  createdAt: z.ZodDate;
73802
73802
  updatedAt: z.ZodNullable<z.ZodDate>;
73803
73803
  }, "strip", z.ZodTypeAny, {
73804
73804
  id: string;
73805
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73805
73806
  createdAt: Date;
73806
73807
  updatedAt: Date | null;
73807
73808
  customerId: string;
73808
- originator: string;
73809
- beneficiary: string;
73810
- externalTransactionId: string;
73811
- transactionDate: Date | null;
73809
+ workspaceId: string;
73810
+ reason: string | null;
73811
+ riskScore: string | null;
73812
+ transactionId: string;
73812
73813
  transactionType: "crypto" | "fiat";
73813
- transactionSubType: string | null;
73814
- transactionReview: string | null;
73815
- transactionInfo: string;
73816
- transactionExtractedInfo: string | null;
73814
+ riskLevel: string | null;
73815
+ externalTransactionId: string;
73816
+ transactionDate: Date;
73817
73817
  }, {
73818
73818
  id: string;
73819
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73819
73820
  createdAt: Date;
73820
73821
  updatedAt: Date | null;
73821
73822
  customerId: string;
73822
- originator: string;
73823
- beneficiary: string;
73824
- externalTransactionId: string;
73825
- transactionDate: Date | null;
73823
+ workspaceId: string;
73824
+ reason: string | null;
73825
+ riskScore: string | null;
73826
+ transactionId: string;
73826
73827
  transactionType: "crypto" | "fiat";
73827
- transactionSubType: string | null;
73828
- transactionReview: string | null;
73829
- transactionInfo: string;
73830
- transactionExtractedInfo: string | null;
73828
+ riskLevel: string | null;
73829
+ externalTransactionId: string;
73830
+ transactionDate: Date;
73831
73831
  }>;
73832
73832
  }, "strip", z.ZodTypeAny, {
73833
73833
  payload: {
73834
73834
  id: string;
73835
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73835
73836
  createdAt: Date;
73836
73837
  updatedAt: Date | null;
73837
73838
  customerId: string;
73838
- originator: string;
73839
- beneficiary: string;
73840
- externalTransactionId: string;
73841
- transactionDate: Date | null;
73839
+ workspaceId: string;
73840
+ reason: string | null;
73841
+ riskScore: string | null;
73842
+ transactionId: string;
73842
73843
  transactionType: "crypto" | "fiat";
73843
- transactionSubType: string | null;
73844
- transactionReview: string | null;
73845
- transactionInfo: string;
73846
- transactionExtractedInfo: string | null;
73844
+ riskLevel: string | null;
73845
+ externalTransactionId: string;
73846
+ transactionDate: Date;
73847
73847
  };
73848
- eventType: "tms.created";
73848
+ eventType: "transaction.created";
73849
73849
  }, {
73850
73850
  payload: {
73851
73851
  id: string;
73852
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73852
73853
  createdAt: Date;
73853
73854
  updatedAt: Date | null;
73854
73855
  customerId: string;
73855
- originator: string;
73856
- beneficiary: string;
73857
- externalTransactionId: string;
73858
- transactionDate: Date | null;
73856
+ workspaceId: string;
73857
+ reason: string | null;
73858
+ riskScore: string | null;
73859
+ transactionId: string;
73859
73860
  transactionType: "crypto" | "fiat";
73860
- transactionSubType: string | null;
73861
- transactionReview: string | null;
73862
- transactionInfo: string;
73863
- transactionExtractedInfo: string | null;
73861
+ riskLevel: string | null;
73862
+ externalTransactionId: string;
73863
+ transactionDate: Date;
73864
73864
  };
73865
- eventType: "tms.created";
73865
+ eventType: "transaction.created";
73866
73866
  }>, z.ZodObject<{
73867
- eventType: z.ZodLiteral<"tms.updated">;
73867
+ eventType: z.ZodLiteral<"transaction.updated">;
73868
73868
  payload: z.ZodObject<{
73869
+ workspaceId: z.ZodString;
73869
73870
  id: z.ZodString;
73871
+ transactionId: z.ZodString;
73872
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
73873
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
73874
+ riskScore: z.ZodNullable<z.ZodString>;
73875
+ riskLevel: z.ZodNullable<z.ZodString>;
73870
73876
  customerId: z.ZodString;
73877
+ reason: z.ZodNullable<z.ZodString>;
73871
73878
  externalTransactionId: z.ZodString;
73872
- transactionDate: z.ZodNullable<z.ZodDate>;
73873
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
73874
- transactionSubType: z.ZodNullable<z.ZodString>;
73875
- transactionReview: z.ZodNullable<z.ZodString>;
73876
- transactionInfo: z.ZodString;
73877
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
73878
- originator: z.ZodString;
73879
- beneficiary: z.ZodString;
73879
+ transactionDate: z.ZodDate;
73880
73880
  createdAt: z.ZodDate;
73881
73881
  updatedAt: z.ZodNullable<z.ZodDate>;
73882
73882
  }, "strip", z.ZodTypeAny, {
73883
73883
  id: string;
73884
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73884
73885
  createdAt: Date;
73885
73886
  updatedAt: Date | null;
73886
73887
  customerId: string;
73887
- originator: string;
73888
- beneficiary: string;
73889
- externalTransactionId: string;
73890
- transactionDate: Date | null;
73888
+ workspaceId: string;
73889
+ reason: string | null;
73890
+ riskScore: string | null;
73891
+ transactionId: string;
73891
73892
  transactionType: "crypto" | "fiat";
73892
- transactionSubType: string | null;
73893
- transactionReview: string | null;
73894
- transactionInfo: string;
73895
- transactionExtractedInfo: string | null;
73893
+ riskLevel: string | null;
73894
+ externalTransactionId: string;
73895
+ transactionDate: Date;
73896
73896
  }, {
73897
73897
  id: string;
73898
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73898
73899
  createdAt: Date;
73899
73900
  updatedAt: Date | null;
73900
73901
  customerId: string;
73901
- originator: string;
73902
- beneficiary: string;
73903
- externalTransactionId: string;
73904
- transactionDate: Date | null;
73902
+ workspaceId: string;
73903
+ reason: string | null;
73904
+ riskScore: string | null;
73905
+ transactionId: string;
73905
73906
  transactionType: "crypto" | "fiat";
73906
- transactionSubType: string | null;
73907
- transactionReview: string | null;
73908
- transactionInfo: string;
73909
- transactionExtractedInfo: string | null;
73907
+ riskLevel: string | null;
73908
+ externalTransactionId: string;
73909
+ transactionDate: Date;
73910
73910
  }>;
73911
73911
  }, "strip", z.ZodTypeAny, {
73912
73912
  payload: {
73913
73913
  id: string;
73914
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73914
73915
  createdAt: Date;
73915
73916
  updatedAt: Date | null;
73916
73917
  customerId: string;
73917
- originator: string;
73918
- beneficiary: string;
73919
- externalTransactionId: string;
73920
- transactionDate: Date | null;
73918
+ workspaceId: string;
73919
+ reason: string | null;
73920
+ riskScore: string | null;
73921
+ transactionId: string;
73921
73922
  transactionType: "crypto" | "fiat";
73922
- transactionSubType: string | null;
73923
- transactionReview: string | null;
73924
- transactionInfo: string;
73925
- transactionExtractedInfo: string | null;
73923
+ riskLevel: string | null;
73924
+ externalTransactionId: string;
73925
+ transactionDate: Date;
73926
73926
  };
73927
- eventType: "tms.updated";
73927
+ eventType: "transaction.updated";
73928
73928
  }, {
73929
73929
  payload: {
73930
73930
  id: string;
73931
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73931
73932
  createdAt: Date;
73932
73933
  updatedAt: Date | null;
73933
73934
  customerId: string;
73934
- originator: string;
73935
- beneficiary: string;
73936
- externalTransactionId: string;
73937
- transactionDate: Date | null;
73935
+ workspaceId: string;
73936
+ reason: string | null;
73937
+ riskScore: string | null;
73938
+ transactionId: string;
73938
73939
  transactionType: "crypto" | "fiat";
73939
- transactionSubType: string | null;
73940
- transactionReview: string | null;
73941
- transactionInfo: string;
73942
- transactionExtractedInfo: string | null;
73940
+ riskLevel: string | null;
73941
+ externalTransactionId: string;
73942
+ transactionDate: Date;
73943
73943
  };
73944
- eventType: "tms.updated";
73944
+ eventType: "transaction.updated";
73945
73945
  }>, z.ZodObject<{
73946
- eventType: z.ZodLiteral<"tms.deleted">;
73946
+ eventType: z.ZodLiteral<"transaction.deleted">;
73947
73947
  payload: z.ZodObject<{
73948
+ workspaceId: z.ZodString;
73948
73949
  id: z.ZodString;
73950
+ transactionId: z.ZodString;
73951
+ transactionType: z.ZodEnum<["crypto", "fiat"]>;
73952
+ status: z.ZodEnum<["pending", "approved", "under_investigation", "blocked"]>;
73953
+ riskScore: z.ZodNullable<z.ZodString>;
73954
+ riskLevel: z.ZodNullable<z.ZodString>;
73949
73955
  customerId: z.ZodString;
73956
+ reason: z.ZodNullable<z.ZodString>;
73950
73957
  externalTransactionId: z.ZodString;
73951
- transactionDate: z.ZodNullable<z.ZodDate>;
73952
- transactionType: z.ZodEnum<["crypto", "fiat"]>;
73953
- transactionSubType: z.ZodNullable<z.ZodString>;
73954
- transactionReview: z.ZodNullable<z.ZodString>;
73955
- transactionInfo: z.ZodString;
73956
- transactionExtractedInfo: z.ZodNullable<z.ZodString>;
73957
- originator: z.ZodString;
73958
- beneficiary: z.ZodString;
73958
+ transactionDate: z.ZodDate;
73959
73959
  createdAt: z.ZodDate;
73960
73960
  updatedAt: z.ZodNullable<z.ZodDate>;
73961
73961
  }, "strip", z.ZodTypeAny, {
73962
73962
  id: string;
73963
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73963
73964
  createdAt: Date;
73964
73965
  updatedAt: Date | null;
73965
73966
  customerId: string;
73966
- originator: string;
73967
- beneficiary: string;
73968
- externalTransactionId: string;
73969
- transactionDate: Date | null;
73967
+ workspaceId: string;
73968
+ reason: string | null;
73969
+ riskScore: string | null;
73970
+ transactionId: string;
73970
73971
  transactionType: "crypto" | "fiat";
73971
- transactionSubType: string | null;
73972
- transactionReview: string | null;
73973
- transactionInfo: string;
73974
- transactionExtractedInfo: string | null;
73972
+ riskLevel: string | null;
73973
+ externalTransactionId: string;
73974
+ transactionDate: Date;
73975
73975
  }, {
73976
73976
  id: string;
73977
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73977
73978
  createdAt: Date;
73978
73979
  updatedAt: Date | null;
73979
73980
  customerId: string;
73980
- originator: string;
73981
- beneficiary: string;
73982
- externalTransactionId: string;
73983
- transactionDate: Date | null;
73981
+ workspaceId: string;
73982
+ reason: string | null;
73983
+ riskScore: string | null;
73984
+ transactionId: string;
73984
73985
  transactionType: "crypto" | "fiat";
73985
- transactionSubType: string | null;
73986
- transactionReview: string | null;
73987
- transactionInfo: string;
73988
- transactionExtractedInfo: string | null;
73986
+ riskLevel: string | null;
73987
+ externalTransactionId: string;
73988
+ transactionDate: Date;
73989
73989
  }>;
73990
73990
  }, "strip", z.ZodTypeAny, {
73991
73991
  payload: {
73992
73992
  id: string;
73993
+ status: "blocked" | "pending" | "approved" | "under_investigation";
73993
73994
  createdAt: Date;
73994
73995
  updatedAt: Date | null;
73995
73996
  customerId: string;
73996
- originator: string;
73997
- beneficiary: string;
73998
- externalTransactionId: string;
73999
- transactionDate: Date | null;
73997
+ workspaceId: string;
73998
+ reason: string | null;
73999
+ riskScore: string | null;
74000
+ transactionId: string;
74000
74001
  transactionType: "crypto" | "fiat";
74001
- transactionSubType: string | null;
74002
- transactionReview: string | null;
74003
- transactionInfo: string;
74004
- transactionExtractedInfo: string | null;
74002
+ riskLevel: string | null;
74003
+ externalTransactionId: string;
74004
+ transactionDate: Date;
74005
74005
  };
74006
- eventType: "tms.deleted";
74006
+ eventType: "transaction.deleted";
74007
74007
  }, {
74008
74008
  payload: {
74009
74009
  id: string;
74010
+ status: "blocked" | "pending" | "approved" | "under_investigation";
74010
74011
  createdAt: Date;
74011
74012
  updatedAt: Date | null;
74012
74013
  customerId: string;
74013
- originator: string;
74014
- beneficiary: string;
74015
- externalTransactionId: string;
74016
- transactionDate: Date | null;
74014
+ workspaceId: string;
74015
+ reason: string | null;
74016
+ riskScore: string | null;
74017
+ transactionId: string;
74017
74018
  transactionType: "crypto" | "fiat";
74018
- transactionSubType: string | null;
74019
- transactionReview: string | null;
74020
- transactionInfo: string;
74021
- transactionExtractedInfo: string | null;
74019
+ riskLevel: string | null;
74020
+ externalTransactionId: string;
74021
+ transactionDate: Date;
74022
74022
  };
74023
- eventType: "tms.deleted";
74023
+ eventType: "transaction.deleted";
74024
74024
  }>]>]>;
74025
74025
  }, "strip", z.ZodTypeAny, {
74026
74026
  id: string;
@@ -74838,56 +74838,56 @@ export declare const ListMessagesOutput: z.ZodObject<{
74838
74838
  } | {
74839
74839
  payload: {
74840
74840
  id: string;
74841
+ status: "blocked" | "pending" | "approved" | "under_investigation";
74841
74842
  createdAt: Date;
74842
74843
  updatedAt: Date | null;
74843
74844
  customerId: string;
74844
- originator: string;
74845
- beneficiary: string;
74846
- externalTransactionId: string;
74847
- transactionDate: Date | null;
74845
+ workspaceId: string;
74846
+ reason: string | null;
74847
+ riskScore: string | null;
74848
+ transactionId: string;
74848
74849
  transactionType: "crypto" | "fiat";
74849
- transactionSubType: string | null;
74850
- transactionReview: string | null;
74851
- transactionInfo: string;
74852
- transactionExtractedInfo: string | null;
74850
+ riskLevel: string | null;
74851
+ externalTransactionId: string;
74852
+ transactionDate: Date;
74853
74853
  };
74854
- eventType: "tms.created";
74854
+ eventType: "transaction.created";
74855
74855
  } | {
74856
74856
  payload: {
74857
74857
  id: string;
74858
+ status: "blocked" | "pending" | "approved" | "under_investigation";
74858
74859
  createdAt: Date;
74859
74860
  updatedAt: Date | null;
74860
74861
  customerId: string;
74861
- originator: string;
74862
- beneficiary: string;
74863
- externalTransactionId: string;
74864
- transactionDate: Date | null;
74862
+ workspaceId: string;
74863
+ reason: string | null;
74864
+ riskScore: string | null;
74865
+ transactionId: string;
74865
74866
  transactionType: "crypto" | "fiat";
74866
- transactionSubType: string | null;
74867
- transactionReview: string | null;
74868
- transactionInfo: string;
74869
- transactionExtractedInfo: string | null;
74867
+ riskLevel: string | null;
74868
+ externalTransactionId: string;
74869
+ transactionDate: Date;
74870
74870
  };
74871
- eventType: "tms.updated";
74871
+ eventType: "transaction.updated";
74872
74872
  } | {
74873
74873
  payload: {
74874
74874
  id: string;
74875
+ status: "blocked" | "pending" | "approved" | "under_investigation";
74875
74876
  createdAt: Date;
74876
74877
  updatedAt: Date | null;
74877
74878
  customerId: string;
74878
- originator: string;
74879
- beneficiary: string;
74880
- externalTransactionId: string;
74881
- transactionDate: Date | null;
74879
+ workspaceId: string;
74880
+ reason: string | null;
74881
+ riskScore: string | null;
74882
+ transactionId: string;
74882
74883
  transactionType: "crypto" | "fiat";
74883
- transactionSubType: string | null;
74884
- transactionReview: string | null;
74885
- transactionInfo: string;
74886
- transactionExtractedInfo: string | null;
74884
+ riskLevel: string | null;
74885
+ externalTransactionId: string;
74886
+ transactionDate: Date;
74887
74887
  };
74888
- eventType: "tms.deleted";
74888
+ eventType: "transaction.deleted";
74889
74889
  };
74890
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
74890
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
74891
74891
  }, {
74892
74892
  id: string;
74893
74893
  timestamp: Date;
@@ -75704,56 +75704,56 @@ export declare const ListMessagesOutput: z.ZodObject<{
75704
75704
  } | {
75705
75705
  payload: {
75706
75706
  id: string;
75707
+ status: "blocked" | "pending" | "approved" | "under_investigation";
75707
75708
  createdAt: Date;
75708
75709
  updatedAt: Date | null;
75709
75710
  customerId: string;
75710
- originator: string;
75711
- beneficiary: string;
75712
- externalTransactionId: string;
75713
- transactionDate: Date | null;
75711
+ workspaceId: string;
75712
+ reason: string | null;
75713
+ riskScore: string | null;
75714
+ transactionId: string;
75714
75715
  transactionType: "crypto" | "fiat";
75715
- transactionSubType: string | null;
75716
- transactionReview: string | null;
75717
- transactionInfo: string;
75718
- transactionExtractedInfo: string | null;
75716
+ riskLevel: string | null;
75717
+ externalTransactionId: string;
75718
+ transactionDate: Date;
75719
75719
  };
75720
- eventType: "tms.created";
75720
+ eventType: "transaction.created";
75721
75721
  } | {
75722
75722
  payload: {
75723
75723
  id: string;
75724
+ status: "blocked" | "pending" | "approved" | "under_investigation";
75724
75725
  createdAt: Date;
75725
75726
  updatedAt: Date | null;
75726
75727
  customerId: string;
75727
- originator: string;
75728
- beneficiary: string;
75729
- externalTransactionId: string;
75730
- transactionDate: Date | null;
75728
+ workspaceId: string;
75729
+ reason: string | null;
75730
+ riskScore: string | null;
75731
+ transactionId: string;
75731
75732
  transactionType: "crypto" | "fiat";
75732
- transactionSubType: string | null;
75733
- transactionReview: string | null;
75734
- transactionInfo: string;
75735
- transactionExtractedInfo: string | null;
75733
+ riskLevel: string | null;
75734
+ externalTransactionId: string;
75735
+ transactionDate: Date;
75736
75736
  };
75737
- eventType: "tms.updated";
75737
+ eventType: "transaction.updated";
75738
75738
  } | {
75739
75739
  payload: {
75740
75740
  id: string;
75741
+ status: "blocked" | "pending" | "approved" | "under_investigation";
75741
75742
  createdAt: Date;
75742
75743
  updatedAt: Date | null;
75743
75744
  customerId: string;
75744
- originator: string;
75745
- beneficiary: string;
75746
- externalTransactionId: string;
75747
- transactionDate: Date | null;
75745
+ workspaceId: string;
75746
+ reason: string | null;
75747
+ riskScore: string | null;
75748
+ transactionId: string;
75748
75749
  transactionType: "crypto" | "fiat";
75749
- transactionSubType: string | null;
75750
- transactionReview: string | null;
75751
- transactionInfo: string;
75752
- transactionExtractedInfo: string | null;
75750
+ riskLevel: string | null;
75751
+ externalTransactionId: string;
75752
+ transactionDate: Date;
75753
75753
  };
75754
- eventType: "tms.deleted";
75754
+ eventType: "transaction.deleted";
75755
75755
  };
75756
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
75756
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
75757
75757
  }>, "many">;
75758
75758
  }, "strip", z.ZodTypeAny, {
75759
75759
  messages: {
@@ -76572,56 +76572,56 @@ export declare const ListMessagesOutput: z.ZodObject<{
76572
76572
  } | {
76573
76573
  payload: {
76574
76574
  id: string;
76575
+ status: "blocked" | "pending" | "approved" | "under_investigation";
76575
76576
  createdAt: Date;
76576
76577
  updatedAt: Date | null;
76577
76578
  customerId: string;
76578
- originator: string;
76579
- beneficiary: string;
76580
- externalTransactionId: string;
76581
- transactionDate: Date | null;
76579
+ workspaceId: string;
76580
+ reason: string | null;
76581
+ riskScore: string | null;
76582
+ transactionId: string;
76582
76583
  transactionType: "crypto" | "fiat";
76583
- transactionSubType: string | null;
76584
- transactionReview: string | null;
76585
- transactionInfo: string;
76586
- transactionExtractedInfo: string | null;
76584
+ riskLevel: string | null;
76585
+ externalTransactionId: string;
76586
+ transactionDate: Date;
76587
76587
  };
76588
- eventType: "tms.created";
76588
+ eventType: "transaction.created";
76589
76589
  } | {
76590
76590
  payload: {
76591
76591
  id: string;
76592
+ status: "blocked" | "pending" | "approved" | "under_investigation";
76592
76593
  createdAt: Date;
76593
76594
  updatedAt: Date | null;
76594
76595
  customerId: string;
76595
- originator: string;
76596
- beneficiary: string;
76597
- externalTransactionId: string;
76598
- transactionDate: Date | null;
76596
+ workspaceId: string;
76597
+ reason: string | null;
76598
+ riskScore: string | null;
76599
+ transactionId: string;
76599
76600
  transactionType: "crypto" | "fiat";
76600
- transactionSubType: string | null;
76601
- transactionReview: string | null;
76602
- transactionInfo: string;
76603
- transactionExtractedInfo: string | null;
76601
+ riskLevel: string | null;
76602
+ externalTransactionId: string;
76603
+ transactionDate: Date;
76604
76604
  };
76605
- eventType: "tms.updated";
76605
+ eventType: "transaction.updated";
76606
76606
  } | {
76607
76607
  payload: {
76608
76608
  id: string;
76609
+ status: "blocked" | "pending" | "approved" | "under_investigation";
76609
76610
  createdAt: Date;
76610
76611
  updatedAt: Date | null;
76611
76612
  customerId: string;
76612
- originator: string;
76613
- beneficiary: string;
76614
- externalTransactionId: string;
76615
- transactionDate: Date | null;
76613
+ workspaceId: string;
76614
+ reason: string | null;
76615
+ riskScore: string | null;
76616
+ transactionId: string;
76616
76617
  transactionType: "crypto" | "fiat";
76617
- transactionSubType: string | null;
76618
- transactionReview: string | null;
76619
- transactionInfo: string;
76620
- transactionExtractedInfo: string | null;
76618
+ riskLevel: string | null;
76619
+ externalTransactionId: string;
76620
+ transactionDate: Date;
76621
76621
  };
76622
- eventType: "tms.deleted";
76622
+ eventType: "transaction.deleted";
76623
76623
  };
76624
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
76624
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
76625
76625
  }[];
76626
76626
  }, {
76627
76627
  messages: {
@@ -77440,56 +77440,56 @@ export declare const ListMessagesOutput: z.ZodObject<{
77440
77440
  } | {
77441
77441
  payload: {
77442
77442
  id: string;
77443
+ status: "blocked" | "pending" | "approved" | "under_investigation";
77443
77444
  createdAt: Date;
77444
77445
  updatedAt: Date | null;
77445
77446
  customerId: string;
77446
- originator: string;
77447
- beneficiary: string;
77448
- externalTransactionId: string;
77449
- transactionDate: Date | null;
77447
+ workspaceId: string;
77448
+ reason: string | null;
77449
+ riskScore: string | null;
77450
+ transactionId: string;
77450
77451
  transactionType: "crypto" | "fiat";
77451
- transactionSubType: string | null;
77452
- transactionReview: string | null;
77453
- transactionInfo: string;
77454
- transactionExtractedInfo: string | null;
77452
+ riskLevel: string | null;
77453
+ externalTransactionId: string;
77454
+ transactionDate: Date;
77455
77455
  };
77456
- eventType: "tms.created";
77456
+ eventType: "transaction.created";
77457
77457
  } | {
77458
77458
  payload: {
77459
77459
  id: string;
77460
+ status: "blocked" | "pending" | "approved" | "under_investigation";
77460
77461
  createdAt: Date;
77461
77462
  updatedAt: Date | null;
77462
77463
  customerId: string;
77463
- originator: string;
77464
- beneficiary: string;
77465
- externalTransactionId: string;
77466
- transactionDate: Date | null;
77464
+ workspaceId: string;
77465
+ reason: string | null;
77466
+ riskScore: string | null;
77467
+ transactionId: string;
77467
77468
  transactionType: "crypto" | "fiat";
77468
- transactionSubType: string | null;
77469
- transactionReview: string | null;
77470
- transactionInfo: string;
77471
- transactionExtractedInfo: string | null;
77469
+ riskLevel: string | null;
77470
+ externalTransactionId: string;
77471
+ transactionDate: Date;
77472
77472
  };
77473
- eventType: "tms.updated";
77473
+ eventType: "transaction.updated";
77474
77474
  } | {
77475
77475
  payload: {
77476
77476
  id: string;
77477
+ status: "blocked" | "pending" | "approved" | "under_investigation";
77477
77478
  createdAt: Date;
77478
77479
  updatedAt: Date | null;
77479
77480
  customerId: string;
77480
- originator: string;
77481
- beneficiary: string;
77482
- externalTransactionId: string;
77483
- transactionDate: Date | null;
77481
+ workspaceId: string;
77482
+ reason: string | null;
77483
+ riskScore: string | null;
77484
+ transactionId: string;
77484
77485
  transactionType: "crypto" | "fiat";
77485
- transactionSubType: string | null;
77486
- transactionReview: string | null;
77487
- transactionInfo: string;
77488
- transactionExtractedInfo: string | null;
77486
+ riskLevel: string | null;
77487
+ externalTransactionId: string;
77488
+ transactionDate: Date;
77489
77489
  };
77490
- eventType: "tms.deleted";
77490
+ eventType: "transaction.deleted";
77491
77491
  };
77492
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
77492
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
77493
77493
  }[];
77494
77494
  }>;
77495
77495
  export declare const ListAttemptsByMessageInput: z.ZodObject<{
@@ -77505,7 +77505,7 @@ export declare const ListAttemptsByMessageInput: z.ZodObject<{
77505
77505
  export declare const ListAttemptsByEndpointInput: z.ZodObject<{
77506
77506
  projectId: z.ZodString;
77507
77507
  endpointId: z.ZodString;
77508
- eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>>;
77508
+ eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>>;
77509
77509
  status: z.ZodOptional<z.ZodEnum<["Pending" | "Success" | "Fail" | "Sending", ...("Pending" | "Success" | "Fail" | "Sending")[]]>>;
77510
77510
  statusCode: z.ZodOptional<z.ZodEnum<["0", "100", "200", "300", "400", "500"]>>;
77511
77511
  }, "strip", z.ZodTypeAny, {
@@ -77513,13 +77513,13 @@ export declare const ListAttemptsByEndpointInput: z.ZodObject<{
77513
77513
  endpointId: string;
77514
77514
  status?: "Pending" | "Success" | "Fail" | "Sending" | undefined;
77515
77515
  statusCode?: "0" | "100" | "200" | "300" | "400" | "500" | undefined;
77516
- eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted" | undefined;
77516
+ eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
77517
77517
  }, {
77518
77518
  projectId: string;
77519
77519
  endpointId: string;
77520
77520
  status?: "Pending" | "Success" | "Fail" | "Sending" | undefined;
77521
77521
  statusCode?: "0" | "100" | "200" | "300" | "400" | "500" | undefined;
77522
- eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted" | undefined;
77522
+ eventType?: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
77523
77523
  }>;
77524
77524
  export declare const ListAttemptsByMessageOutput: z.ZodObject<{
77525
77525
  attempts: z.ZodArray<z.ZodObject<{
@@ -77584,14 +77584,14 @@ export declare const ConnectionHandlingWorkspaceOutput: z.ZodBoolean;
77584
77584
  export declare const SendExampleMessageInput: z.ZodObject<{
77585
77585
  projectId: z.ZodString;
77586
77586
  endpointId: z.ZodString;
77587
- eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"]>;
77587
+ eventType: z.ZodEnum<["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
77588
77588
  }, "strip", z.ZodTypeAny, {
77589
77589
  projectId: string;
77590
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
77590
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
77591
77591
  endpointId: string;
77592
77592
  }, {
77593
77593
  projectId: string;
77594
- eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "tms.created" | "tms.updated" | "tms.deleted";
77594
+ eventType: "send.scenario" | "send.verification.flow" | "customer.created" | "customer.updated" | "customer.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
77595
77595
  endpointId: string;
77596
77596
  }>;
77597
77597
  export declare const ResendWebhookInput: z.ZodObject<{