@dalmore/api-contracts 0.0.0-dev.d4b2a0e → 0.0.0-dev.d4fc9b8

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.
Files changed (66) hide show
  1. package/common/constants.d.ts +10 -0
  2. package/common/constants.js +10 -0
  3. package/common/constants.js.map +1 -1
  4. package/common/helpers/index.d.ts +19 -0
  5. package/common/helpers/index.js +28 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/account.types.js +3 -3
  8. package/common/types/account.types.js.map +1 -1
  9. package/common/types/attribution.types.d.ts +147 -0
  10. package/common/types/attribution.types.js +103 -0
  11. package/common/types/attribution.types.js.map +1 -0
  12. package/common/types/common.types.d.ts +12 -3
  13. package/common/types/common.types.js +12 -3
  14. package/common/types/common.types.js.map +1 -1
  15. package/common/types/comply-advantage-api.types.d.ts +12 -12
  16. package/common/types/csv.types.d.ts +1844 -149
  17. package/common/types/csv.types.js +107 -33
  18. package/common/types/csv.types.js.map +1 -1
  19. package/common/types/disbursements.types.d.ts +6 -6
  20. package/common/types/disbursements.types.js +1 -1
  21. package/common/types/disbursements.types.js.map +1 -1
  22. package/common/types/index.d.ts +1 -2
  23. package/common/types/index.js +1 -2
  24. package/common/types/index.js.map +1 -1
  25. package/common/types/individuals.types.d.ts +188 -0
  26. package/common/types/investor-account.types.js +2 -0
  27. package/common/types/investor-account.types.js.map +1 -1
  28. package/common/types/invite.types.d.ts +3 -0
  29. package/common/types/invite.types.js +1 -0
  30. package/common/types/invite.types.js.map +1 -1
  31. package/common/types/mail-template.types.d.ts +4 -4
  32. package/common/types/notification.types.d.ts +1 -0
  33. package/common/types/notification.types.js +3 -0
  34. package/common/types/notification.types.js.map +1 -1
  35. package/common/types/payment-methods.types.d.ts +365 -0
  36. package/common/types/payment-methods.types.js +121 -0
  37. package/common/types/payment-methods.types.js.map +1 -1
  38. package/common/types/state-machine.types.d.ts +3 -3
  39. package/common/types/state-machine.types.js +1 -1
  40. package/common/types/state-machine.types.js.map +1 -1
  41. package/common/types/task.types.d.ts +8 -0
  42. package/common/types/task.types.js +3 -0
  43. package/common/types/task.types.js.map +1 -1
  44. package/common/types/trade.types.d.ts +10 -14
  45. package/common/types/trade.types.js +2 -7
  46. package/common/types/trade.types.js.map +1 -1
  47. package/common/types/transaction.types.d.ts +24 -1
  48. package/common/types/transaction.types.js +26 -0
  49. package/common/types/transaction.types.js.map +1 -1
  50. package/common/types/user.types.d.ts +3 -0
  51. package/common/types/user.types.js +4 -0
  52. package/common/types/user.types.js.map +1 -1
  53. package/common/types/zapier.types.d.ts +126 -0
  54. package/common/types/zapier.types.js +247 -0
  55. package/common/types/zapier.types.js.map +1 -0
  56. package/contracts/clients/csv/index.d.ts +188 -7
  57. package/contracts/clients/csv/index.js +1 -2
  58. package/contracts/clients/csv/index.js.map +1 -1
  59. package/contracts/clients/index.d.ts +1723 -741
  60. package/contracts/clients/index.js +4 -2
  61. package/contracts/clients/index.js.map +1 -1
  62. package/contracts/clients/individuals/index.d.ts +376 -0
  63. package/contracts/clients/webhooks/index.d.ts +506 -0
  64. package/contracts/clients/webhooks/index.js +118 -0
  65. package/contracts/clients/webhooks/index.js.map +1 -0
  66. package/package.json +1 -1
@@ -23,15 +23,16 @@ import { tradeLineItemsContract } from './trade-line-items/index.js';
23
23
  import { clientsTransactionsContract } from './transactions/index.js';
24
24
  import { csvContract } from './csv/index.js';
25
25
  import { reviewContract } from './review/index.js';
26
+ import { webhooksContract } from './webhooks/index.js';
26
27
  const c = initContract();
27
28
  // API KEY AUTH
28
29
  export const clientsContract = c.router({
29
30
  accounts: accountsContract,
30
31
  aic: aicContract,
31
- auth: authContract,
32
- apiKeys: apiKeysContract,
33
32
  apiKeyLogs: clientApiKeyLogsContract,
33
+ apiKeys: apiKeysContract,
34
34
  assets: assetsContract,
35
+ auth: authContract,
35
36
  cart: cartContract,
36
37
  csv: csvContract,
37
38
  files: filesContract,
@@ -50,6 +51,7 @@ export const clientsContract = c.router({
50
51
  tradeLineItems: tradeLineItemsContract,
51
52
  trades: tradesContract,
52
53
  transactions: clientsTransactionsContract,
54
+ webhooks: webhooksContract,
53
55
  }, {
54
56
  pathPrefix: '/clients/api/v1/',
55
57
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAA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B,eAAe;AACf,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CACrC;IACE,QAAQ,EAAE,gBAAgB;IAC1B,GAAG,EAAE,WAAW;IAChB,UAAU,EAAE,wBAAwB;IACpC,OAAO,EAAE,eAAe;IACxB,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,GAAG,EAAE,WAAW;IAChB,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,mBAAmB;IAChC,WAAW,EAAE,mBAAmB;IAChC,gBAAgB,EAAE,wBAAwB;IAC1C,oBAAoB,EAAE,4BAA4B;IAClD,OAAO,EAAE,eAAe;IACxB,GAAG,EAAE,WAAW;IAChB,aAAa,EAAE,mBAAmB;IAClC,SAAS,EAAE,iBAAiB;IAC5B,cAAc,EAAE,sBAAsB;IACtC,MAAM,EAAE,cAAc;IACtB,cAAc,EAAE,qBAAqB;IACrC,KAAK,EAAE,aAAa;IACpB,cAAc,EAAE,sBAAsB;IACtC,MAAM,EAAE,cAAc;IACtB,YAAY,EAAE,2BAA2B;IACzC,QAAQ,EAAE,gBAAgB;CAC3B,EACD;IACE,UAAU,EAAE,kBAAkB;CAC/B,CACF,CAAC"}
@@ -735,6 +735,94 @@ export declare const individualsContract: {
735
735
  financial?: boolean | undefined;
736
736
  } | undefined;
737
737
  }>>>;
738
+ trustedContacts: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
739
+ id: z.ZodString;
740
+ __entity: z.ZodOptional<z.ZodString>;
741
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
742
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
743
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
744
+ } & {
745
+ firstName: z.ZodNullable<z.ZodString>;
746
+ lastName: z.ZodNullable<z.ZodString>;
747
+ email: z.ZodNullable<z.ZodString>;
748
+ phone: z.ZodNullable<z.ZodObject<{
749
+ countryCallingCode: z.ZodString;
750
+ country: z.ZodString;
751
+ nationalNumber: z.ZodString;
752
+ number: z.ZodString;
753
+ formatNational: z.ZodString;
754
+ formatInternational: z.ZodString;
755
+ }, "strip", z.ZodTypeAny, {
756
+ number: string;
757
+ countryCallingCode: string;
758
+ country: string;
759
+ nationalNumber: string;
760
+ formatNational: string;
761
+ formatInternational: string;
762
+ }, {
763
+ number: string;
764
+ countryCallingCode: string;
765
+ country: string;
766
+ nationalNumber: string;
767
+ formatNational: string;
768
+ formatInternational: string;
769
+ }>>;
770
+ address: z.ZodNullable<z.ZodString>;
771
+ address2: z.ZodNullable<z.ZodString>;
772
+ city: z.ZodNullable<z.ZodString>;
773
+ state: z.ZodNullable<z.ZodString>;
774
+ zip: z.ZodNullable<z.ZodString>;
775
+ country: z.ZodNullable<z.ZodString>;
776
+ relationship: z.ZodNativeEnum<typeof import("../../..").TrustedContactRelationship>;
777
+ }, "strip", z.ZodTypeAny, {
778
+ id: string;
779
+ createdAt: string | Date;
780
+ updatedAt: string | Date;
781
+ deletedAt: string | Date | null;
782
+ country: string | null;
783
+ firstName: string | null;
784
+ lastName: string | null;
785
+ email: string | null;
786
+ phone: {
787
+ number: string;
788
+ countryCallingCode: string;
789
+ country: string;
790
+ nationalNumber: string;
791
+ formatNational: string;
792
+ formatInternational: string;
793
+ } | null;
794
+ state: string | null;
795
+ address: string | null;
796
+ city: string | null;
797
+ zip: string | null;
798
+ address2: string | null;
799
+ relationship: import("../../..").TrustedContactRelationship;
800
+ __entity?: string | undefined;
801
+ }, {
802
+ id: string;
803
+ createdAt: string | Date;
804
+ updatedAt: string | Date;
805
+ deletedAt: string | Date | null;
806
+ country: string | null;
807
+ firstName: string | null;
808
+ lastName: string | null;
809
+ email: string | null;
810
+ phone: {
811
+ number: string;
812
+ countryCallingCode: string;
813
+ country: string;
814
+ nationalNumber: string;
815
+ formatNational: string;
816
+ formatInternational: string;
817
+ } | null;
818
+ state: string | null;
819
+ address: string | null;
820
+ city: string | null;
821
+ zip: string | null;
822
+ address2: string | null;
823
+ relationship: import("../../..").TrustedContactRelationship;
824
+ __entity?: string | undefined;
825
+ }>>, "many">>;
738
826
  }, "strip", z.ZodTypeAny, {
739
827
  id: string;
740
828
  createdAt: string | Date;
@@ -870,6 +958,31 @@ export declare const individualsContract: {
870
958
  financial: boolean;
871
959
  } | undefined;
872
960
  } | undefined;
961
+ trustedContacts?: {
962
+ id: string;
963
+ createdAt: string | Date;
964
+ updatedAt: string | Date;
965
+ deletedAt: string | Date | null;
966
+ country: string | null;
967
+ firstName: string | null;
968
+ lastName: string | null;
969
+ email: string | null;
970
+ phone: {
971
+ number: string;
972
+ countryCallingCode: string;
973
+ country: string;
974
+ nationalNumber: string;
975
+ formatNational: string;
976
+ formatInternational: string;
977
+ } | null;
978
+ state: string | null;
979
+ address: string | null;
980
+ city: string | null;
981
+ zip: string | null;
982
+ address2: string | null;
983
+ relationship: import("../../..").TrustedContactRelationship;
984
+ __entity?: string | undefined;
985
+ }[] | undefined;
873
986
  }, {
874
987
  id: string;
875
988
  createdAt: string | Date;
@@ -1005,6 +1118,31 @@ export declare const individualsContract: {
1005
1118
  financial?: boolean | undefined;
1006
1119
  } | undefined;
1007
1120
  } | undefined;
1121
+ trustedContacts?: {
1122
+ id: string;
1123
+ createdAt: string | Date;
1124
+ updatedAt: string | Date;
1125
+ deletedAt: string | Date | null;
1126
+ country: string | null;
1127
+ firstName: string | null;
1128
+ lastName: string | null;
1129
+ email: string | null;
1130
+ phone: {
1131
+ number: string;
1132
+ countryCallingCode: string;
1133
+ country: string;
1134
+ nationalNumber: string;
1135
+ formatNational: string;
1136
+ formatInternational: string;
1137
+ } | null;
1138
+ state: string | null;
1139
+ address: string | null;
1140
+ city: string | null;
1141
+ zip: string | null;
1142
+ address2: string | null;
1143
+ relationship: import("../../..").TrustedContactRelationship;
1144
+ __entity?: string | undefined;
1145
+ }[] | undefined;
1008
1146
  }>>>;
1009
1147
  role: z.ZodNativeEnum<typeof import("../../..").IndividualRole>;
1010
1148
  firstName: z.ZodString;
@@ -1272,6 +1410,31 @@ export declare const individualsContract: {
1272
1410
  financial: boolean;
1273
1411
  } | undefined;
1274
1412
  } | undefined;
1413
+ trustedContacts?: {
1414
+ id: string;
1415
+ createdAt: string | Date;
1416
+ updatedAt: string | Date;
1417
+ deletedAt: string | Date | null;
1418
+ country: string | null;
1419
+ firstName: string | null;
1420
+ lastName: string | null;
1421
+ email: string | null;
1422
+ phone: {
1423
+ number: string;
1424
+ countryCallingCode: string;
1425
+ country: string;
1426
+ nationalNumber: string;
1427
+ formatNational: string;
1428
+ formatInternational: string;
1429
+ } | null;
1430
+ state: string | null;
1431
+ address: string | null;
1432
+ city: string | null;
1433
+ zip: string | null;
1434
+ address2: string | null;
1435
+ relationship: import("../../..").TrustedContactRelationship;
1436
+ __entity?: string | undefined;
1437
+ }[] | undefined;
1275
1438
  } | undefined;
1276
1439
  }, {
1277
1440
  id: string;
@@ -1485,6 +1648,31 @@ export declare const individualsContract: {
1485
1648
  financial?: boolean | undefined;
1486
1649
  } | undefined;
1487
1650
  } | undefined;
1651
+ trustedContacts?: {
1652
+ id: string;
1653
+ createdAt: string | Date;
1654
+ updatedAt: string | Date;
1655
+ deletedAt: string | Date | null;
1656
+ country: string | null;
1657
+ firstName: string | null;
1658
+ lastName: string | null;
1659
+ email: string | null;
1660
+ phone: {
1661
+ number: string;
1662
+ countryCallingCode: string;
1663
+ country: string;
1664
+ nationalNumber: string;
1665
+ formatNational: string;
1666
+ formatInternational: string;
1667
+ } | null;
1668
+ state: string | null;
1669
+ address: string | null;
1670
+ city: string | null;
1671
+ zip: string | null;
1672
+ address2: string | null;
1673
+ relationship: import("../../..").TrustedContactRelationship;
1674
+ __entity?: string | undefined;
1675
+ }[] | undefined;
1488
1676
  } | undefined;
1489
1677
  }>;
1490
1678
  401: z.ZodObject<{
@@ -2230,6 +2418,94 @@ export declare const individualsContract: {
2230
2418
  financial?: boolean | undefined;
2231
2419
  } | undefined;
2232
2420
  }>>>;
2421
+ trustedContacts: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
2422
+ id: z.ZodString;
2423
+ __entity: z.ZodOptional<z.ZodString>;
2424
+ createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2425
+ updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2426
+ deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
2427
+ } & {
2428
+ firstName: z.ZodNullable<z.ZodString>;
2429
+ lastName: z.ZodNullable<z.ZodString>;
2430
+ email: z.ZodNullable<z.ZodString>;
2431
+ phone: z.ZodNullable<z.ZodObject<{
2432
+ countryCallingCode: z.ZodString;
2433
+ country: z.ZodString;
2434
+ nationalNumber: z.ZodString;
2435
+ number: z.ZodString;
2436
+ formatNational: z.ZodString;
2437
+ formatInternational: z.ZodString;
2438
+ }, "strip", z.ZodTypeAny, {
2439
+ number: string;
2440
+ countryCallingCode: string;
2441
+ country: string;
2442
+ nationalNumber: string;
2443
+ formatNational: string;
2444
+ formatInternational: string;
2445
+ }, {
2446
+ number: string;
2447
+ countryCallingCode: string;
2448
+ country: string;
2449
+ nationalNumber: string;
2450
+ formatNational: string;
2451
+ formatInternational: string;
2452
+ }>>;
2453
+ address: z.ZodNullable<z.ZodString>;
2454
+ address2: z.ZodNullable<z.ZodString>;
2455
+ city: z.ZodNullable<z.ZodString>;
2456
+ state: z.ZodNullable<z.ZodString>;
2457
+ zip: z.ZodNullable<z.ZodString>;
2458
+ country: z.ZodNullable<z.ZodString>;
2459
+ relationship: z.ZodNativeEnum<typeof import("../../..").TrustedContactRelationship>;
2460
+ }, "strip", z.ZodTypeAny, {
2461
+ id: string;
2462
+ createdAt: string | Date;
2463
+ updatedAt: string | Date;
2464
+ deletedAt: string | Date | null;
2465
+ country: string | null;
2466
+ firstName: string | null;
2467
+ lastName: string | null;
2468
+ email: string | null;
2469
+ phone: {
2470
+ number: string;
2471
+ countryCallingCode: string;
2472
+ country: string;
2473
+ nationalNumber: string;
2474
+ formatNational: string;
2475
+ formatInternational: string;
2476
+ } | null;
2477
+ state: string | null;
2478
+ address: string | null;
2479
+ city: string | null;
2480
+ zip: string | null;
2481
+ address2: string | null;
2482
+ relationship: import("../../..").TrustedContactRelationship;
2483
+ __entity?: string | undefined;
2484
+ }, {
2485
+ id: string;
2486
+ createdAt: string | Date;
2487
+ updatedAt: string | Date;
2488
+ deletedAt: string | Date | null;
2489
+ country: string | null;
2490
+ firstName: string | null;
2491
+ lastName: string | null;
2492
+ email: string | null;
2493
+ phone: {
2494
+ number: string;
2495
+ countryCallingCode: string;
2496
+ country: string;
2497
+ nationalNumber: string;
2498
+ formatNational: string;
2499
+ formatInternational: string;
2500
+ } | null;
2501
+ state: string | null;
2502
+ address: string | null;
2503
+ city: string | null;
2504
+ zip: string | null;
2505
+ address2: string | null;
2506
+ relationship: import("../../..").TrustedContactRelationship;
2507
+ __entity?: string | undefined;
2508
+ }>>, "many">>;
2233
2509
  }, "strip", z.ZodTypeAny, {
2234
2510
  id: string;
2235
2511
  createdAt: string | Date;
@@ -2365,6 +2641,31 @@ export declare const individualsContract: {
2365
2641
  financial: boolean;
2366
2642
  } | undefined;
2367
2643
  } | undefined;
2644
+ trustedContacts?: {
2645
+ id: string;
2646
+ createdAt: string | Date;
2647
+ updatedAt: string | Date;
2648
+ deletedAt: string | Date | null;
2649
+ country: string | null;
2650
+ firstName: string | null;
2651
+ lastName: string | null;
2652
+ email: string | null;
2653
+ phone: {
2654
+ number: string;
2655
+ countryCallingCode: string;
2656
+ country: string;
2657
+ nationalNumber: string;
2658
+ formatNational: string;
2659
+ formatInternational: string;
2660
+ } | null;
2661
+ state: string | null;
2662
+ address: string | null;
2663
+ city: string | null;
2664
+ zip: string | null;
2665
+ address2: string | null;
2666
+ relationship: import("../../..").TrustedContactRelationship;
2667
+ __entity?: string | undefined;
2668
+ }[] | undefined;
2368
2669
  }, {
2369
2670
  id: string;
2370
2671
  createdAt: string | Date;
@@ -2500,6 +2801,31 @@ export declare const individualsContract: {
2500
2801
  financial?: boolean | undefined;
2501
2802
  } | undefined;
2502
2803
  } | undefined;
2804
+ trustedContacts?: {
2805
+ id: string;
2806
+ createdAt: string | Date;
2807
+ updatedAt: string | Date;
2808
+ deletedAt: string | Date | null;
2809
+ country: string | null;
2810
+ firstName: string | null;
2811
+ lastName: string | null;
2812
+ email: string | null;
2813
+ phone: {
2814
+ number: string;
2815
+ countryCallingCode: string;
2816
+ country: string;
2817
+ nationalNumber: string;
2818
+ formatNational: string;
2819
+ formatInternational: string;
2820
+ } | null;
2821
+ state: string | null;
2822
+ address: string | null;
2823
+ city: string | null;
2824
+ zip: string | null;
2825
+ address2: string | null;
2826
+ relationship: import("../../..").TrustedContactRelationship;
2827
+ __entity?: string | undefined;
2828
+ }[] | undefined;
2503
2829
  }>>>;
2504
2830
  role: z.ZodNativeEnum<typeof import("../../..").IndividualRole>;
2505
2831
  firstName: z.ZodString;
@@ -2767,6 +3093,31 @@ export declare const individualsContract: {
2767
3093
  financial: boolean;
2768
3094
  } | undefined;
2769
3095
  } | undefined;
3096
+ trustedContacts?: {
3097
+ id: string;
3098
+ createdAt: string | Date;
3099
+ updatedAt: string | Date;
3100
+ deletedAt: string | Date | null;
3101
+ country: string | null;
3102
+ firstName: string | null;
3103
+ lastName: string | null;
3104
+ email: string | null;
3105
+ phone: {
3106
+ number: string;
3107
+ countryCallingCode: string;
3108
+ country: string;
3109
+ nationalNumber: string;
3110
+ formatNational: string;
3111
+ formatInternational: string;
3112
+ } | null;
3113
+ state: string | null;
3114
+ address: string | null;
3115
+ city: string | null;
3116
+ zip: string | null;
3117
+ address2: string | null;
3118
+ relationship: import("../../..").TrustedContactRelationship;
3119
+ __entity?: string | undefined;
3120
+ }[] | undefined;
2770
3121
  } | undefined;
2771
3122
  }, {
2772
3123
  id: string;
@@ -2980,6 +3331,31 @@ export declare const individualsContract: {
2980
3331
  financial?: boolean | undefined;
2981
3332
  } | undefined;
2982
3333
  } | undefined;
3334
+ trustedContacts?: {
3335
+ id: string;
3336
+ createdAt: string | Date;
3337
+ updatedAt: string | Date;
3338
+ deletedAt: string | Date | null;
3339
+ country: string | null;
3340
+ firstName: string | null;
3341
+ lastName: string | null;
3342
+ email: string | null;
3343
+ phone: {
3344
+ number: string;
3345
+ countryCallingCode: string;
3346
+ country: string;
3347
+ nationalNumber: string;
3348
+ formatNational: string;
3349
+ formatInternational: string;
3350
+ } | null;
3351
+ state: string | null;
3352
+ address: string | null;
3353
+ city: string | null;
3354
+ zip: string | null;
3355
+ address2: string | null;
3356
+ relationship: import("../../..").TrustedContactRelationship;
3357
+ __entity?: string | undefined;
3358
+ }[] | undefined;
2983
3359
  } | undefined;
2984
3360
  }>;
2985
3361
  401: z.ZodObject<{