@nexeraid/identity-schemas 2.143.0-dev → 2.145.0-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,8 +1,8 @@
1
1
  import { z } from "zod";
2
- export declare const WebhookEventTypes: readonly ["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"];
3
- export declare const WebhookEventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
4
- export declare const WebhookEventTypesForm: readonly ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
5
- export declare const WebhookEventTypeForm: z.ZodEnum<["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"]>;
2
+ export declare const WebhookEventTypes: readonly ["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"];
3
+ export declare const WebhookEventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>;
4
+ export declare const WebhookEventTypesForm: readonly ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted", "webhooks.tmsImported"];
5
+ export declare const WebhookEventTypeForm: z.ZodEnum<["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted", "webhooks.tmsImported"]>;
6
6
  export declare const AttemptsStatus: {
7
7
  readonly Success: 0;
8
8
  readonly Pending: 1;
@@ -258,6 +258,21 @@ declare const NexeraEventTypes: z.ZodUnion<[z.ZodObject<{
258
258
  description: string;
259
259
  archived: boolean;
260
260
  schemas: Record<string, unknown>;
261
+ }>, z.ZodObject<{
262
+ name: z.ZodLiteral<"transactions.imported">;
263
+ description: z.ZodString;
264
+ archived: z.ZodBoolean;
265
+ schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ name: "transactions.imported";
268
+ description: string;
269
+ archived: boolean;
270
+ schemas: Record<string, unknown>;
271
+ }, {
272
+ name: "transactions.imported";
273
+ description: string;
274
+ archived: boolean;
275
+ schemas: Record<string, unknown>;
261
276
  }>]>;
262
277
  /**
263
278
  *
@@ -1746,6 +1761,73 @@ export declare const TMSCreatedPayload: z.ZodObject<{
1746
1761
  };
1747
1762
  eventType: "transaction.created";
1748
1763
  }>;
1764
+ export declare const TMSImportedPayload: z.ZodObject<{
1765
+ eventType: z.ZodLiteral<"transactions.imported">;
1766
+ payload: z.ZodObject<{
1767
+ transactions: z.ZodArray<z.ZodObject<{
1768
+ transactionId: z.ZodString;
1769
+ externalTransactionId: z.ZodString;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ transactionId: string;
1772
+ externalTransactionId: string;
1773
+ }, {
1774
+ transactionId: string;
1775
+ externalTransactionId: string;
1776
+ }>, "many">;
1777
+ errors: z.ZodArray<z.ZodObject<{
1778
+ transactionId: z.ZodString;
1779
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ transactionId: string;
1782
+ error: Error;
1783
+ }, {
1784
+ transactionId: string;
1785
+ error: Error;
1786
+ }>, "many">;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ transactions: {
1789
+ transactionId: string;
1790
+ externalTransactionId: string;
1791
+ }[];
1792
+ errors: {
1793
+ transactionId: string;
1794
+ error: Error;
1795
+ }[];
1796
+ }, {
1797
+ transactions: {
1798
+ transactionId: string;
1799
+ externalTransactionId: string;
1800
+ }[];
1801
+ errors: {
1802
+ transactionId: string;
1803
+ error: Error;
1804
+ }[];
1805
+ }>;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ payload: {
1808
+ transactions: {
1809
+ transactionId: string;
1810
+ externalTransactionId: string;
1811
+ }[];
1812
+ errors: {
1813
+ transactionId: string;
1814
+ error: Error;
1815
+ }[];
1816
+ };
1817
+ eventType: "transactions.imported";
1818
+ }, {
1819
+ payload: {
1820
+ transactions: {
1821
+ transactionId: string;
1822
+ externalTransactionId: string;
1823
+ }[];
1824
+ errors: {
1825
+ transactionId: string;
1826
+ error: Error;
1827
+ }[];
1828
+ };
1829
+ eventType: "transactions.imported";
1830
+ }>;
1749
1831
  export declare const TMSUpdatedPayload: z.ZodObject<{
1750
1832
  eventType: z.ZodLiteral<"transaction.updated">;
1751
1833
  payload: z.ZodObject<{
@@ -3384,6 +3466,72 @@ export declare const WebhookTMSEventPayload: z.ZodUnion<[z.ZodObject<{
3384
3466
  externalTransactionId: string;
3385
3467
  };
3386
3468
  eventType: "transaction.created";
3469
+ }>, z.ZodObject<{
3470
+ eventType: z.ZodLiteral<"transactions.imported">;
3471
+ payload: z.ZodObject<{
3472
+ transactions: z.ZodArray<z.ZodObject<{
3473
+ transactionId: z.ZodString;
3474
+ externalTransactionId: z.ZodString;
3475
+ }, "strip", z.ZodTypeAny, {
3476
+ transactionId: string;
3477
+ externalTransactionId: string;
3478
+ }, {
3479
+ transactionId: string;
3480
+ externalTransactionId: string;
3481
+ }>, "many">;
3482
+ errors: z.ZodArray<z.ZodObject<{
3483
+ transactionId: z.ZodString;
3484
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
3485
+ }, "strip", z.ZodTypeAny, {
3486
+ transactionId: string;
3487
+ error: Error;
3488
+ }, {
3489
+ transactionId: string;
3490
+ error: Error;
3491
+ }>, "many">;
3492
+ }, "strip", z.ZodTypeAny, {
3493
+ transactions: {
3494
+ transactionId: string;
3495
+ externalTransactionId: string;
3496
+ }[];
3497
+ errors: {
3498
+ transactionId: string;
3499
+ error: Error;
3500
+ }[];
3501
+ }, {
3502
+ transactions: {
3503
+ transactionId: string;
3504
+ externalTransactionId: string;
3505
+ }[];
3506
+ errors: {
3507
+ transactionId: string;
3508
+ error: Error;
3509
+ }[];
3510
+ }>;
3511
+ }, "strip", z.ZodTypeAny, {
3512
+ payload: {
3513
+ transactions: {
3514
+ transactionId: string;
3515
+ externalTransactionId: string;
3516
+ }[];
3517
+ errors: {
3518
+ transactionId: string;
3519
+ error: Error;
3520
+ }[];
3521
+ };
3522
+ eventType: "transactions.imported";
3523
+ }, {
3524
+ payload: {
3525
+ transactions: {
3526
+ transactionId: string;
3527
+ externalTransactionId: string;
3528
+ }[];
3529
+ errors: {
3530
+ transactionId: string;
3531
+ error: Error;
3532
+ }[];
3533
+ };
3534
+ eventType: "transactions.imported";
3387
3535
  }>, z.ZodObject<{
3388
3536
  eventType: z.ZodLiteral<"transaction.updated">;
3389
3537
  payload: z.ZodObject<{
@@ -5012,6 +5160,72 @@ export declare const WebhookEventPayload: z.ZodUnion<[z.ZodObject<{
5012
5160
  externalTransactionId: string;
5013
5161
  };
5014
5162
  eventType: "transaction.created";
5163
+ }>, z.ZodObject<{
5164
+ eventType: z.ZodLiteral<"transactions.imported">;
5165
+ payload: z.ZodObject<{
5166
+ transactions: z.ZodArray<z.ZodObject<{
5167
+ transactionId: z.ZodString;
5168
+ externalTransactionId: z.ZodString;
5169
+ }, "strip", z.ZodTypeAny, {
5170
+ transactionId: string;
5171
+ externalTransactionId: string;
5172
+ }, {
5173
+ transactionId: string;
5174
+ externalTransactionId: string;
5175
+ }>, "many">;
5176
+ errors: z.ZodArray<z.ZodObject<{
5177
+ transactionId: z.ZodString;
5178
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
5179
+ }, "strip", z.ZodTypeAny, {
5180
+ transactionId: string;
5181
+ error: Error;
5182
+ }, {
5183
+ transactionId: string;
5184
+ error: Error;
5185
+ }>, "many">;
5186
+ }, "strip", z.ZodTypeAny, {
5187
+ transactions: {
5188
+ transactionId: string;
5189
+ externalTransactionId: string;
5190
+ }[];
5191
+ errors: {
5192
+ transactionId: string;
5193
+ error: Error;
5194
+ }[];
5195
+ }, {
5196
+ transactions: {
5197
+ transactionId: string;
5198
+ externalTransactionId: string;
5199
+ }[];
5200
+ errors: {
5201
+ transactionId: string;
5202
+ error: Error;
5203
+ }[];
5204
+ }>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ payload: {
5207
+ transactions: {
5208
+ transactionId: string;
5209
+ externalTransactionId: string;
5210
+ }[];
5211
+ errors: {
5212
+ transactionId: string;
5213
+ error: Error;
5214
+ }[];
5215
+ };
5216
+ eventType: "transactions.imported";
5217
+ }, {
5218
+ payload: {
5219
+ transactions: {
5220
+ transactionId: string;
5221
+ externalTransactionId: string;
5222
+ }[];
5223
+ errors: {
5224
+ transactionId: string;
5225
+ error: Error;
5226
+ }[];
5227
+ };
5228
+ eventType: "transactions.imported";
5015
5229
  }>, z.ZodObject<{
5016
5230
  eventType: z.ZodLiteral<"transaction.updated">;
5017
5231
  payload: z.ZodObject<{
@@ -5412,6 +5626,21 @@ export declare const AllNexeraEventTypes: z.ZodArray<z.ZodUnion<[z.ZodObject<{
5412
5626
  description: string;
5413
5627
  archived: boolean;
5414
5628
  schemas: Record<string, unknown>;
5629
+ }>, z.ZodObject<{
5630
+ name: z.ZodLiteral<"transactions.imported">;
5631
+ description: z.ZodString;
5632
+ archived: z.ZodBoolean;
5633
+ schemas: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5634
+ }, "strip", z.ZodTypeAny, {
5635
+ name: "transactions.imported";
5636
+ description: string;
5637
+ archived: boolean;
5638
+ schemas: Record<string, unknown>;
5639
+ }, {
5640
+ name: "transactions.imported";
5641
+ description: string;
5642
+ archived: boolean;
5643
+ schemas: Record<string, unknown>;
5415
5644
  }>]>, "many">;
5416
5645
  export declare const NexeraSvixEnvironmentConfig: z.ZodObject<{
5417
5646
  env: z.ZodEnum<["cicd", "local", "test-dev-1", "test-dev-2", "test-dev-3", "test-dev-4", "dev", "stage", "prod"]>;
@@ -5441,6 +5670,7 @@ export declare const EndpointHandlingForm: z.ZodObject<{
5441
5670
  tmsCreated: z.ZodOptional<z.ZodBoolean>;
5442
5671
  tmsUpdated: z.ZodOptional<z.ZodBoolean>;
5443
5672
  tmsDeleted: z.ZodOptional<z.ZodBoolean>;
5673
+ tmsImported: z.ZodOptional<z.ZodBoolean>;
5444
5674
  }, "strip", z.ZodTypeAny, {
5445
5675
  sendScenario?: boolean | undefined;
5446
5676
  sendVerificationFlow?: boolean | undefined;
@@ -5459,6 +5689,7 @@ export declare const EndpointHandlingForm: z.ZodObject<{
5459
5689
  tmsCreated?: boolean | undefined;
5460
5690
  tmsUpdated?: boolean | undefined;
5461
5691
  tmsDeleted?: boolean | undefined;
5692
+ tmsImported?: boolean | undefined;
5462
5693
  }, {
5463
5694
  sendScenario?: boolean | undefined;
5464
5695
  sendVerificationFlow?: boolean | undefined;
@@ -5477,6 +5708,7 @@ export declare const EndpointHandlingForm: z.ZodObject<{
5477
5708
  tmsCreated?: boolean | undefined;
5478
5709
  tmsUpdated?: boolean | undefined;
5479
5710
  tmsDeleted?: boolean | undefined;
5711
+ tmsImported?: boolean | undefined;
5480
5712
  }>>;
5481
5713
  }, "strip", z.ZodTypeAny, {
5482
5714
  name: string;
@@ -5499,6 +5731,7 @@ export declare const EndpointHandlingForm: z.ZodObject<{
5499
5731
  tmsCreated?: boolean | undefined;
5500
5732
  tmsUpdated?: boolean | undefined;
5501
5733
  tmsDeleted?: boolean | undefined;
5734
+ tmsImported?: boolean | undefined;
5502
5735
  } | undefined;
5503
5736
  }, {
5504
5737
  name: string;
@@ -5521,18 +5754,19 @@ export declare const EndpointHandlingForm: z.ZodObject<{
5521
5754
  tmsCreated?: boolean | undefined;
5522
5755
  tmsUpdated?: boolean | undefined;
5523
5756
  tmsDeleted?: boolean | undefined;
5757
+ tmsImported?: boolean | undefined;
5524
5758
  } | undefined;
5525
5759
  }>;
5526
5760
  export declare const WebhookCheckboxInformation: z.ZodObject<{
5527
- name: z.ZodEnum<["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"]>;
5761
+ name: z.ZodEnum<["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted", "webhooks.tmsImported"]>;
5528
5762
  label: z.ZodString;
5529
5763
  description: z.ZodString;
5530
5764
  }, "strip", z.ZodTypeAny, {
5531
- name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted";
5765
+ name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted" | "webhooks.tmsImported";
5532
5766
  description: string;
5533
5767
  label: string;
5534
5768
  }, {
5535
- name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted";
5769
+ name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted" | "webhooks.tmsImported";
5536
5770
  description: string;
5537
5771
  label: string;
5538
5772
  }>;
@@ -5541,15 +5775,15 @@ export declare const EndpointCheckboxsCollapsiblesSchema: z.ZodObject<{
5541
5775
  icon: z.ZodAny;
5542
5776
  description: z.ZodString;
5543
5777
  webhooks: z.ZodArray<z.ZodObject<{
5544
- name: z.ZodEnum<["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"]>;
5778
+ name: z.ZodEnum<["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.individualCreated", "webhooks.individualUpdated", "webhooks.individualDeleted", "webhooks.companyCreated", "webhooks.companyUpdated", "webhooks.companyDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted", "webhooks.tmsImported"]>;
5545
5779
  label: z.ZodString;
5546
5780
  description: z.ZodString;
5547
5781
  }, "strip", z.ZodTypeAny, {
5548
- name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted";
5782
+ name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted" | "webhooks.tmsImported";
5549
5783
  description: string;
5550
5784
  label: string;
5551
5785
  }, {
5552
- name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted";
5786
+ name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted" | "webhooks.tmsImported";
5553
5787
  description: string;
5554
5788
  label: string;
5555
5789
  }>, "many">;
@@ -5558,7 +5792,7 @@ export declare const EndpointCheckboxsCollapsiblesSchema: z.ZodObject<{
5558
5792
  title: string;
5559
5793
  description: string;
5560
5794
  webhooks: {
5561
- name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted";
5795
+ name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted" | "webhooks.tmsImported";
5562
5796
  description: string;
5563
5797
  label: string;
5564
5798
  }[];
@@ -5568,7 +5802,7 @@ export declare const EndpointCheckboxsCollapsiblesSchema: z.ZodObject<{
5568
5802
  title: string;
5569
5803
  description: string;
5570
5804
  webhooks: {
5571
- name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted";
5805
+ name: "webhooks.sendScenario" | "webhooks.sendVerificationFlow" | "webhooks.customerCreated" | "webhooks.customerUpdated" | "webhooks.customerDeleted" | "webhooks.individualCreated" | "webhooks.individualUpdated" | "webhooks.individualDeleted" | "webhooks.companyCreated" | "webhooks.companyUpdated" | "webhooks.companyDeleted" | "webhooks.alertCreated" | "webhooks.alertUpdated" | "webhooks.alertDeleted" | "webhooks.tmsCreated" | "webhooks.tmsUpdated" | "webhooks.tmsDeleted" | "webhooks.tmsImported";
5572
5806
  description: string;
5573
5807
  label: string;
5574
5808
  }[];
@@ -5617,7 +5851,7 @@ export declare const EndpointOut: z.ZodObject<{
5617
5851
  }>;
5618
5852
  export declare const MessageDataOut: z.ZodObject<{
5619
5853
  id: z.ZodString;
5620
- eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
5854
+ eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>;
5621
5855
  timestamp: z.ZodDate;
5622
5856
  payload: z.ZodUnion<[z.ZodObject<{
5623
5857
  eventType: z.ZodLiteral<"send.scenario">;
@@ -7087,6 +7321,72 @@ export declare const MessageDataOut: z.ZodObject<{
7087
7321
  externalTransactionId: string;
7088
7322
  };
7089
7323
  eventType: "transaction.created";
7324
+ }>, z.ZodObject<{
7325
+ eventType: z.ZodLiteral<"transactions.imported">;
7326
+ payload: z.ZodObject<{
7327
+ transactions: z.ZodArray<z.ZodObject<{
7328
+ transactionId: z.ZodString;
7329
+ externalTransactionId: z.ZodString;
7330
+ }, "strip", z.ZodTypeAny, {
7331
+ transactionId: string;
7332
+ externalTransactionId: string;
7333
+ }, {
7334
+ transactionId: string;
7335
+ externalTransactionId: string;
7336
+ }>, "many">;
7337
+ errors: z.ZodArray<z.ZodObject<{
7338
+ transactionId: z.ZodString;
7339
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
7340
+ }, "strip", z.ZodTypeAny, {
7341
+ transactionId: string;
7342
+ error: Error;
7343
+ }, {
7344
+ transactionId: string;
7345
+ error: Error;
7346
+ }>, "many">;
7347
+ }, "strip", z.ZodTypeAny, {
7348
+ transactions: {
7349
+ transactionId: string;
7350
+ externalTransactionId: string;
7351
+ }[];
7352
+ errors: {
7353
+ transactionId: string;
7354
+ error: Error;
7355
+ }[];
7356
+ }, {
7357
+ transactions: {
7358
+ transactionId: string;
7359
+ externalTransactionId: string;
7360
+ }[];
7361
+ errors: {
7362
+ transactionId: string;
7363
+ error: Error;
7364
+ }[];
7365
+ }>;
7366
+ }, "strip", z.ZodTypeAny, {
7367
+ payload: {
7368
+ transactions: {
7369
+ transactionId: string;
7370
+ externalTransactionId: string;
7371
+ }[];
7372
+ errors: {
7373
+ transactionId: string;
7374
+ error: Error;
7375
+ }[];
7376
+ };
7377
+ eventType: "transactions.imported";
7378
+ }, {
7379
+ payload: {
7380
+ transactions: {
7381
+ transactionId: string;
7382
+ externalTransactionId: string;
7383
+ }[];
7384
+ errors: {
7385
+ transactionId: string;
7386
+ error: Error;
7387
+ }[];
7388
+ };
7389
+ eventType: "transactions.imported";
7090
7390
  }>, z.ZodObject<{
7091
7391
  eventType: z.ZodLiteral<"transaction.updated">;
7092
7392
  payload: z.ZodObject<{
@@ -7535,6 +7835,18 @@ export declare const MessageDataOut: z.ZodObject<{
7535
7835
  externalTransactionId: string;
7536
7836
  };
7537
7837
  eventType: "transaction.created";
7838
+ } | {
7839
+ payload: {
7840
+ transactions: {
7841
+ transactionId: string;
7842
+ externalTransactionId: string;
7843
+ }[];
7844
+ errors: {
7845
+ transactionId: string;
7846
+ error: Error;
7847
+ }[];
7848
+ };
7849
+ eventType: "transactions.imported";
7538
7850
  } | {
7539
7851
  payload: {
7540
7852
  id: string;
@@ -7570,7 +7882,7 @@ export declare const MessageDataOut: z.ZodObject<{
7570
7882
  };
7571
7883
  eventType: "transaction.deleted";
7572
7884
  };
7573
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
7885
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
7574
7886
  }, {
7575
7887
  id: string;
7576
7888
  timestamp: Date;
@@ -7860,6 +8172,18 @@ export declare const MessageDataOut: z.ZodObject<{
7860
8172
  externalTransactionId: string;
7861
8173
  };
7862
8174
  eventType: "transaction.created";
8175
+ } | {
8176
+ payload: {
8177
+ transactions: {
8178
+ transactionId: string;
8179
+ externalTransactionId: string;
8180
+ }[];
8181
+ errors: {
8182
+ transactionId: string;
8183
+ error: Error;
8184
+ }[];
8185
+ };
8186
+ eventType: "transactions.imported";
7863
8187
  } | {
7864
8188
  payload: {
7865
8189
  id: string;
@@ -7895,7 +8219,7 @@ export declare const MessageDataOut: z.ZodObject<{
7895
8219
  };
7896
8220
  eventType: "transaction.deleted";
7897
8221
  };
7898
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
8222
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
7899
8223
  }>;
7900
8224
  export declare const AttemptDataOut: z.ZodObject<{
7901
8225
  id: z.ZodString;
@@ -7927,7 +8251,7 @@ export declare const AttemptDataOut: z.ZodObject<{
7927
8251
  }>;
7928
8252
  export declare const MessageDataOutExtended: z.ZodObject<{
7929
8253
  id: z.ZodString;
7930
- eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
8254
+ eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>;
7931
8255
  timestamp: z.ZodDate;
7932
8256
  payload: z.ZodUnion<[z.ZodObject<{
7933
8257
  eventType: z.ZodLiteral<"send.scenario">;
@@ -9397,6 +9721,72 @@ export declare const MessageDataOutExtended: z.ZodObject<{
9397
9721
  externalTransactionId: string;
9398
9722
  };
9399
9723
  eventType: "transaction.created";
9724
+ }>, z.ZodObject<{
9725
+ eventType: z.ZodLiteral<"transactions.imported">;
9726
+ payload: z.ZodObject<{
9727
+ transactions: z.ZodArray<z.ZodObject<{
9728
+ transactionId: z.ZodString;
9729
+ externalTransactionId: z.ZodString;
9730
+ }, "strip", z.ZodTypeAny, {
9731
+ transactionId: string;
9732
+ externalTransactionId: string;
9733
+ }, {
9734
+ transactionId: string;
9735
+ externalTransactionId: string;
9736
+ }>, "many">;
9737
+ errors: z.ZodArray<z.ZodObject<{
9738
+ transactionId: z.ZodString;
9739
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
9740
+ }, "strip", z.ZodTypeAny, {
9741
+ transactionId: string;
9742
+ error: Error;
9743
+ }, {
9744
+ transactionId: string;
9745
+ error: Error;
9746
+ }>, "many">;
9747
+ }, "strip", z.ZodTypeAny, {
9748
+ transactions: {
9749
+ transactionId: string;
9750
+ externalTransactionId: string;
9751
+ }[];
9752
+ errors: {
9753
+ transactionId: string;
9754
+ error: Error;
9755
+ }[];
9756
+ }, {
9757
+ transactions: {
9758
+ transactionId: string;
9759
+ externalTransactionId: string;
9760
+ }[];
9761
+ errors: {
9762
+ transactionId: string;
9763
+ error: Error;
9764
+ }[];
9765
+ }>;
9766
+ }, "strip", z.ZodTypeAny, {
9767
+ payload: {
9768
+ transactions: {
9769
+ transactionId: string;
9770
+ externalTransactionId: string;
9771
+ }[];
9772
+ errors: {
9773
+ transactionId: string;
9774
+ error: Error;
9775
+ }[];
9776
+ };
9777
+ eventType: "transactions.imported";
9778
+ }, {
9779
+ payload: {
9780
+ transactions: {
9781
+ transactionId: string;
9782
+ externalTransactionId: string;
9783
+ }[];
9784
+ errors: {
9785
+ transactionId: string;
9786
+ error: Error;
9787
+ }[];
9788
+ };
9789
+ eventType: "transactions.imported";
9400
9790
  }>, z.ZodObject<{
9401
9791
  eventType: z.ZodLiteral<"transaction.updated">;
9402
9792
  payload: z.ZodObject<{
@@ -9878,6 +10268,18 @@ export declare const MessageDataOutExtended: z.ZodObject<{
9878
10268
  externalTransactionId: string;
9879
10269
  };
9880
10270
  eventType: "transaction.created";
10271
+ } | {
10272
+ payload: {
10273
+ transactions: {
10274
+ transactionId: string;
10275
+ externalTransactionId: string;
10276
+ }[];
10277
+ errors: {
10278
+ transactionId: string;
10279
+ error: Error;
10280
+ }[];
10281
+ };
10282
+ eventType: "transactions.imported";
9881
10283
  } | {
9882
10284
  payload: {
9883
10285
  id: string;
@@ -9913,7 +10315,7 @@ export declare const MessageDataOutExtended: z.ZodObject<{
9913
10315
  };
9914
10316
  eventType: "transaction.deleted";
9915
10317
  };
9916
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
10318
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
9917
10319
  attempts: {
9918
10320
  id: string;
9919
10321
  status: number;
@@ -10215,6 +10617,18 @@ export declare const MessageDataOutExtended: z.ZodObject<{
10215
10617
  externalTransactionId: string;
10216
10618
  };
10217
10619
  eventType: "transaction.created";
10620
+ } | {
10621
+ payload: {
10622
+ transactions: {
10623
+ transactionId: string;
10624
+ externalTransactionId: string;
10625
+ }[];
10626
+ errors: {
10627
+ transactionId: string;
10628
+ error: Error;
10629
+ }[];
10630
+ };
10631
+ eventType: "transactions.imported";
10218
10632
  } | {
10219
10633
  payload: {
10220
10634
  id: string;
@@ -10250,7 +10664,7 @@ export declare const MessageDataOutExtended: z.ZodObject<{
10250
10664
  };
10251
10665
  eventType: "transaction.deleted";
10252
10666
  };
10253
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
10667
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
10254
10668
  attempts: {
10255
10669
  id: string;
10256
10670
  status: number;
@@ -10346,18 +10760,18 @@ export declare const ListEventTypeOutput: z.ZodObject<{
10346
10760
  export declare const CreateEndpointInput: z.ZodObject<{
10347
10761
  projectId: z.ZodString;
10348
10762
  name: z.ZodString;
10349
- eventTypes: z.ZodArray<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>, "many">;
10763
+ eventTypes: z.ZodArray<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>, "many">;
10350
10764
  url: z.ZodString;
10351
10765
  }, "strip", z.ZodTypeAny, {
10352
10766
  name: string;
10353
10767
  url: string;
10354
10768
  projectId: string;
10355
- eventTypes: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[];
10769
+ eventTypes: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported")[];
10356
10770
  }, {
10357
10771
  name: string;
10358
10772
  url: string;
10359
10773
  projectId: string;
10360
- eventTypes: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[];
10774
+ eventTypes: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported")[];
10361
10775
  }>;
10362
10776
  export declare const CreateEndpointOutput: z.ZodOptional<z.ZodObject<{
10363
10777
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -10483,7 +10897,7 @@ export declare const UpdateEndpointInput: z.ZodObject<{
10483
10897
  endpointId: z.ZodString;
10484
10898
  url: z.ZodString;
10485
10899
  name: z.ZodString;
10486
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>, "many">>;
10900
+ eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>, "many">>;
10487
10901
  disabled: z.ZodOptional<z.ZodBoolean>;
10488
10902
  }, "strip", z.ZodTypeAny, {
10489
10903
  name: string;
@@ -10491,14 +10905,14 @@ export declare const UpdateEndpointInput: z.ZodObject<{
10491
10905
  projectId: string;
10492
10906
  endpointId: string;
10493
10907
  disabled?: boolean | undefined;
10494
- eventTypes?: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[] | undefined;
10908
+ eventTypes?: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported")[] | undefined;
10495
10909
  }, {
10496
10910
  name: string;
10497
10911
  url: string;
10498
10912
  projectId: string;
10499
10913
  endpointId: string;
10500
10914
  disabled?: boolean | undefined;
10501
- eventTypes?: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted")[] | undefined;
10915
+ eventTypes?: ("send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported")[] | undefined;
10502
10916
  }>;
10503
10917
  export declare const UpdateEndpointOutput: z.ZodOptional<z.ZodObject<{
10504
10918
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -12999,6 +13413,106 @@ export declare const SendMessageForTMSDeletedInput: z.ZodObject<{
12999
13413
  eventType: "transaction.deleted";
13000
13414
  };
13001
13415
  }>;
13416
+ export declare const SendMessageForTMSImportedInput: z.ZodObject<{
13417
+ projectId: z.ZodString;
13418
+ payload: z.ZodObject<{
13419
+ eventType: z.ZodLiteral<"transactions.imported">;
13420
+ payload: z.ZodObject<{
13421
+ transactions: z.ZodArray<z.ZodObject<{
13422
+ transactionId: z.ZodString;
13423
+ externalTransactionId: z.ZodString;
13424
+ }, "strip", z.ZodTypeAny, {
13425
+ transactionId: string;
13426
+ externalTransactionId: string;
13427
+ }, {
13428
+ transactionId: string;
13429
+ externalTransactionId: string;
13430
+ }>, "many">;
13431
+ errors: z.ZodArray<z.ZodObject<{
13432
+ transactionId: z.ZodString;
13433
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
13434
+ }, "strip", z.ZodTypeAny, {
13435
+ transactionId: string;
13436
+ error: Error;
13437
+ }, {
13438
+ transactionId: string;
13439
+ error: Error;
13440
+ }>, "many">;
13441
+ }, "strip", z.ZodTypeAny, {
13442
+ transactions: {
13443
+ transactionId: string;
13444
+ externalTransactionId: string;
13445
+ }[];
13446
+ errors: {
13447
+ transactionId: string;
13448
+ error: Error;
13449
+ }[];
13450
+ }, {
13451
+ transactions: {
13452
+ transactionId: string;
13453
+ externalTransactionId: string;
13454
+ }[];
13455
+ errors: {
13456
+ transactionId: string;
13457
+ error: Error;
13458
+ }[];
13459
+ }>;
13460
+ }, "strip", z.ZodTypeAny, {
13461
+ payload: {
13462
+ transactions: {
13463
+ transactionId: string;
13464
+ externalTransactionId: string;
13465
+ }[];
13466
+ errors: {
13467
+ transactionId: string;
13468
+ error: Error;
13469
+ }[];
13470
+ };
13471
+ eventType: "transactions.imported";
13472
+ }, {
13473
+ payload: {
13474
+ transactions: {
13475
+ transactionId: string;
13476
+ externalTransactionId: string;
13477
+ }[];
13478
+ errors: {
13479
+ transactionId: string;
13480
+ error: Error;
13481
+ }[];
13482
+ };
13483
+ eventType: "transactions.imported";
13484
+ }>;
13485
+ }, "strip", z.ZodTypeAny, {
13486
+ projectId: string;
13487
+ payload: {
13488
+ payload: {
13489
+ transactions: {
13490
+ transactionId: string;
13491
+ externalTransactionId: string;
13492
+ }[];
13493
+ errors: {
13494
+ transactionId: string;
13495
+ error: Error;
13496
+ }[];
13497
+ };
13498
+ eventType: "transactions.imported";
13499
+ };
13500
+ }, {
13501
+ projectId: string;
13502
+ payload: {
13503
+ payload: {
13504
+ transactions: {
13505
+ transactionId: string;
13506
+ externalTransactionId: string;
13507
+ }[];
13508
+ errors: {
13509
+ transactionId: string;
13510
+ error: Error;
13511
+ }[];
13512
+ };
13513
+ eventType: "transactions.imported";
13514
+ };
13515
+ }>;
13002
13516
  /**
13003
13517
  *
13004
13518
  *
@@ -13006,13 +13520,13 @@ export declare const SendMessageForTMSDeletedInput: z.ZodObject<{
13006
13520
  */
13007
13521
  export declare const ListMessagesInput: z.ZodObject<{
13008
13522
  projectId: z.ZodString;
13009
- eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>>;
13523
+ eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>>;
13010
13524
  }, "strip", z.ZodTypeAny, {
13011
13525
  projectId: string;
13012
- eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
13526
+ eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported" | undefined;
13013
13527
  }, {
13014
13528
  projectId: string;
13015
- eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
13529
+ eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported" | undefined;
13016
13530
  }>;
13017
13531
  export declare const GetMessagesInput: z.ZodObject<{
13018
13532
  projectId: z.ZodString;
@@ -13027,7 +13541,7 @@ export declare const GetMessagesInput: z.ZodObject<{
13027
13541
  export declare const ListMessagesOutput: z.ZodObject<{
13028
13542
  messages: z.ZodArray<z.ZodObject<{
13029
13543
  id: z.ZodString;
13030
- eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
13544
+ eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>;
13031
13545
  timestamp: z.ZodDate;
13032
13546
  payload: z.ZodUnion<[z.ZodObject<{
13033
13547
  eventType: z.ZodLiteral<"send.scenario">;
@@ -14497,6 +15011,72 @@ export declare const ListMessagesOutput: z.ZodObject<{
14497
15011
  externalTransactionId: string;
14498
15012
  };
14499
15013
  eventType: "transaction.created";
15014
+ }>, z.ZodObject<{
15015
+ eventType: z.ZodLiteral<"transactions.imported">;
15016
+ payload: z.ZodObject<{
15017
+ transactions: z.ZodArray<z.ZodObject<{
15018
+ transactionId: z.ZodString;
15019
+ externalTransactionId: z.ZodString;
15020
+ }, "strip", z.ZodTypeAny, {
15021
+ transactionId: string;
15022
+ externalTransactionId: string;
15023
+ }, {
15024
+ transactionId: string;
15025
+ externalTransactionId: string;
15026
+ }>, "many">;
15027
+ errors: z.ZodArray<z.ZodObject<{
15028
+ transactionId: z.ZodString;
15029
+ error: z.ZodType<Error, z.ZodTypeDef, Error>;
15030
+ }, "strip", z.ZodTypeAny, {
15031
+ transactionId: string;
15032
+ error: Error;
15033
+ }, {
15034
+ transactionId: string;
15035
+ error: Error;
15036
+ }>, "many">;
15037
+ }, "strip", z.ZodTypeAny, {
15038
+ transactions: {
15039
+ transactionId: string;
15040
+ externalTransactionId: string;
15041
+ }[];
15042
+ errors: {
15043
+ transactionId: string;
15044
+ error: Error;
15045
+ }[];
15046
+ }, {
15047
+ transactions: {
15048
+ transactionId: string;
15049
+ externalTransactionId: string;
15050
+ }[];
15051
+ errors: {
15052
+ transactionId: string;
15053
+ error: Error;
15054
+ }[];
15055
+ }>;
15056
+ }, "strip", z.ZodTypeAny, {
15057
+ payload: {
15058
+ transactions: {
15059
+ transactionId: string;
15060
+ externalTransactionId: string;
15061
+ }[];
15062
+ errors: {
15063
+ transactionId: string;
15064
+ error: Error;
15065
+ }[];
15066
+ };
15067
+ eventType: "transactions.imported";
15068
+ }, {
15069
+ payload: {
15070
+ transactions: {
15071
+ transactionId: string;
15072
+ externalTransactionId: string;
15073
+ }[];
15074
+ errors: {
15075
+ transactionId: string;
15076
+ error: Error;
15077
+ }[];
15078
+ };
15079
+ eventType: "transactions.imported";
14500
15080
  }>, z.ZodObject<{
14501
15081
  eventType: z.ZodLiteral<"transaction.updated">;
14502
15082
  payload: z.ZodObject<{
@@ -14945,6 +15525,18 @@ export declare const ListMessagesOutput: z.ZodObject<{
14945
15525
  externalTransactionId: string;
14946
15526
  };
14947
15527
  eventType: "transaction.created";
15528
+ } | {
15529
+ payload: {
15530
+ transactions: {
15531
+ transactionId: string;
15532
+ externalTransactionId: string;
15533
+ }[];
15534
+ errors: {
15535
+ transactionId: string;
15536
+ error: Error;
15537
+ }[];
15538
+ };
15539
+ eventType: "transactions.imported";
14948
15540
  } | {
14949
15541
  payload: {
14950
15542
  id: string;
@@ -14980,7 +15572,7 @@ export declare const ListMessagesOutput: z.ZodObject<{
14980
15572
  };
14981
15573
  eventType: "transaction.deleted";
14982
15574
  };
14983
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
15575
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
14984
15576
  }, {
14985
15577
  id: string;
14986
15578
  timestamp: Date;
@@ -15270,6 +15862,18 @@ export declare const ListMessagesOutput: z.ZodObject<{
15270
15862
  externalTransactionId: string;
15271
15863
  };
15272
15864
  eventType: "transaction.created";
15865
+ } | {
15866
+ payload: {
15867
+ transactions: {
15868
+ transactionId: string;
15869
+ externalTransactionId: string;
15870
+ }[];
15871
+ errors: {
15872
+ transactionId: string;
15873
+ error: Error;
15874
+ }[];
15875
+ };
15876
+ eventType: "transactions.imported";
15273
15877
  } | {
15274
15878
  payload: {
15275
15879
  id: string;
@@ -15305,7 +15909,7 @@ export declare const ListMessagesOutput: z.ZodObject<{
15305
15909
  };
15306
15910
  eventType: "transaction.deleted";
15307
15911
  };
15308
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
15912
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
15309
15913
  }>, "many">;
15310
15914
  }, "strip", z.ZodTypeAny, {
15311
15915
  messages: {
@@ -15597,6 +16201,18 @@ export declare const ListMessagesOutput: z.ZodObject<{
15597
16201
  externalTransactionId: string;
15598
16202
  };
15599
16203
  eventType: "transaction.created";
16204
+ } | {
16205
+ payload: {
16206
+ transactions: {
16207
+ transactionId: string;
16208
+ externalTransactionId: string;
16209
+ }[];
16210
+ errors: {
16211
+ transactionId: string;
16212
+ error: Error;
16213
+ }[];
16214
+ };
16215
+ eventType: "transactions.imported";
15600
16216
  } | {
15601
16217
  payload: {
15602
16218
  id: string;
@@ -15632,7 +16248,7 @@ export declare const ListMessagesOutput: z.ZodObject<{
15632
16248
  };
15633
16249
  eventType: "transaction.deleted";
15634
16250
  };
15635
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
16251
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
15636
16252
  }[];
15637
16253
  }, {
15638
16254
  messages: {
@@ -15924,6 +16540,18 @@ export declare const ListMessagesOutput: z.ZodObject<{
15924
16540
  externalTransactionId: string;
15925
16541
  };
15926
16542
  eventType: "transaction.created";
16543
+ } | {
16544
+ payload: {
16545
+ transactions: {
16546
+ transactionId: string;
16547
+ externalTransactionId: string;
16548
+ }[];
16549
+ errors: {
16550
+ transactionId: string;
16551
+ error: Error;
16552
+ }[];
16553
+ };
16554
+ eventType: "transactions.imported";
15927
16555
  } | {
15928
16556
  payload: {
15929
16557
  id: string;
@@ -15959,7 +16587,7 @@ export declare const ListMessagesOutput: z.ZodObject<{
15959
16587
  };
15960
16588
  eventType: "transaction.deleted";
15961
16589
  };
15962
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
16590
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
15963
16591
  }[];
15964
16592
  }>;
15965
16593
  export declare const ListAttemptsByMessageInput: z.ZodObject<{
@@ -15975,20 +16603,20 @@ export declare const ListAttemptsByMessageInput: z.ZodObject<{
15975
16603
  export declare const ListAttemptsByEndpointInput: z.ZodObject<{
15976
16604
  projectId: z.ZodString;
15977
16605
  endpointId: z.ZodString;
15978
- eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>>;
16606
+ eventType: z.ZodOptional<z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>>;
15979
16607
  status: z.ZodOptional<z.ZodEnum<["Pending" | "Success" | "Fail" | "Sending", ...("Pending" | "Success" | "Fail" | "Sending")[]]>>;
15980
16608
  statusCode: z.ZodOptional<z.ZodEnum<["0", "100", "200", "300", "400", "500"]>>;
15981
16609
  }, "strip", z.ZodTypeAny, {
15982
16610
  projectId: string;
15983
16611
  endpointId: string;
15984
16612
  status?: "Pending" | "Success" | "Fail" | "Sending" | undefined;
15985
- eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
16613
+ eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported" | undefined;
15986
16614
  statusCode?: "0" | "100" | "200" | "300" | "400" | "500" | undefined;
15987
16615
  }, {
15988
16616
  projectId: string;
15989
16617
  endpointId: string;
15990
16618
  status?: "Pending" | "Success" | "Fail" | "Sending" | undefined;
15991
- eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | undefined;
16619
+ eventType?: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported" | undefined;
15992
16620
  statusCode?: "0" | "100" | "200" | "300" | "400" | "500" | undefined;
15993
16621
  }>;
15994
16622
  export declare const ListAttemptsByMessageOutput: z.ZodObject<{
@@ -16054,14 +16682,14 @@ export declare const ConnectionHandlingWorkspaceOutput: z.ZodBoolean;
16054
16682
  export declare const SendExampleMessageInput: z.ZodObject<{
16055
16683
  projectId: z.ZodString;
16056
16684
  endpointId: z.ZodString;
16057
- eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"]>;
16685
+ eventType: z.ZodEnum<["send.scenario", "customer.created", "customer.updated", "customer.deleted", "individual.created", "individual.updated", "individual.deleted", "company.created", "company.updated", "company.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted", "transactions.imported"]>;
16058
16686
  }, "strip", z.ZodTypeAny, {
16059
16687
  projectId: string;
16060
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
16688
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
16061
16689
  endpointId: string;
16062
16690
  }, {
16063
16691
  projectId: string;
16064
- eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted";
16692
+ eventType: "send.scenario" | "customer.created" | "customer.updated" | "customer.deleted" | "individual.created" | "individual.updated" | "individual.deleted" | "company.created" | "company.updated" | "company.deleted" | "alert.created" | "alert.updated" | "alert.deleted" | "transaction.created" | "transaction.updated" | "transaction.deleted" | "transactions.imported";
16065
16693
  endpointId: string;
16066
16694
  }>;
16067
16695
  export declare const ResendWebhookInput: z.ZodObject<{
@@ -16126,6 +16754,7 @@ export type SendMessageForAlertDeletedInput = z.infer<typeof SendMessageForAlert
16126
16754
  export type SendMessageForTMSCreatedInput = z.infer<typeof SendMessageForTMSCreatedInput>;
16127
16755
  export type SendMessageForTMSUpdatedInput = z.infer<typeof SendMessageForTMSUpdatedInput>;
16128
16756
  export type SendMessageForTMSDeletedInput = z.infer<typeof SendMessageForTMSDeletedInput>;
16757
+ export type SendMessageForTMSImportedInput = z.infer<typeof SendMessageForTMSImportedInput>;
16129
16758
  /**
16130
16759
  *
16131
16760
  *
@@ -16164,6 +16793,7 @@ export type AlertDeletedPayload = z.infer<typeof AlertDeletedPayload>;
16164
16793
  export type TMSCreatedPayload = z.infer<typeof TMSCreatedPayload>;
16165
16794
  export type TMSUpdatedPayload = z.infer<typeof TMSUpdatedPayload>;
16166
16795
  export type TMSDeletedPayload = z.infer<typeof TMSDeletedPayload>;
16796
+ export type TMSImportedPayload = z.infer<typeof TMSImportedPayload>;
16167
16797
  /**
16168
16798
  *
16169
16799
  * Constants definitions