@dalmore/api-contracts 0.0.0-dev.c751882 → 0.0.0-dev.c81baa3

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 (105) hide show
  1. package/common/constants.d.ts +43 -0
  2. package/common/constants.js +77 -0
  3. package/common/constants.js.map +1 -0
  4. package/common/helpers/index.d.ts +27 -0
  5. package/common/helpers/index.js +43 -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 +582 -0
  10. package/common/types/attribution.types.js +126 -0
  11. package/common/types/attribution.types.js.map +1 -0
  12. package/common/types/auth.types.d.ts +36 -0
  13. package/common/types/auth.types.js +3 -2
  14. package/common/types/auth.types.js.map +1 -1
  15. package/common/types/cap-table.types.d.ts +172 -0
  16. package/common/types/cap-table.types.js +35 -0
  17. package/common/types/cap-table.types.js.map +1 -1
  18. package/common/types/cart.types.d.ts +3 -0
  19. package/common/types/cart.types.js +1 -0
  20. package/common/types/cart.types.js.map +1 -1
  21. package/common/types/common.types.d.ts +14 -4
  22. package/common/types/common.types.js +13 -3
  23. package/common/types/common.types.js.map +1 -1
  24. package/common/types/comply-advantage-api.types.d.ts +12 -12
  25. package/common/types/csv.types.d.ts +3612 -0
  26. package/common/types/csv.types.js +290 -0
  27. package/common/types/csv.types.js.map +1 -0
  28. package/common/types/disbursements.types.d.ts +211 -19
  29. package/common/types/disbursements.types.js +42 -3
  30. package/common/types/disbursements.types.js.map +1 -1
  31. package/common/types/file.types.d.ts +3 -0
  32. package/common/types/file.types.js +3 -0
  33. package/common/types/file.types.js.map +1 -1
  34. package/common/types/index.d.ts +2 -2
  35. package/common/types/index.js +2 -2
  36. package/common/types/index.js.map +1 -1
  37. package/common/types/individuals.types.d.ts +395 -5
  38. package/common/types/individuals.types.js +9 -12
  39. package/common/types/individuals.types.js.map +1 -1
  40. package/common/types/investor-account.types.js +2 -0
  41. package/common/types/investor-account.types.js.map +1 -1
  42. package/common/types/investors-offering.types.d.ts +8 -0
  43. package/common/types/investors-offering.types.js +1 -0
  44. package/common/types/investors-offering.types.js.map +1 -1
  45. package/common/types/invite.types.d.ts +3 -0
  46. package/common/types/invite.types.js +1 -0
  47. package/common/types/invite.types.js.map +1 -1
  48. package/common/types/issuer-offering.types.d.ts +173 -2
  49. package/common/types/issuer-offering.types.js +11 -22
  50. package/common/types/issuer-offering.types.js.map +1 -1
  51. package/common/types/legal-entity.types.d.ts +39 -1
  52. package/common/types/legal-entity.types.js +8 -5
  53. package/common/types/legal-entity.types.js.map +1 -1
  54. package/common/types/mail-template.types.d.ts +4 -4
  55. package/common/types/notification.types.d.ts +1 -0
  56. package/common/types/notification.types.js +3 -0
  57. package/common/types/notification.types.js.map +1 -1
  58. package/common/types/offering-submission.types.js +1 -1
  59. package/common/types/offering.types.d.ts +20 -10
  60. package/common/types/offering.types.js +32 -3
  61. package/common/types/offering.types.js.map +1 -1
  62. package/common/types/payment-methods.types.d.ts +365 -0
  63. package/common/types/payment-methods.types.js +121 -0
  64. package/common/types/payment-methods.types.js.map +1 -1
  65. package/common/types/reports.types.d.ts +12 -12
  66. package/common/types/review.types.js +1 -1
  67. package/common/types/review.types.js.map +1 -1
  68. package/common/types/state-machine.types.d.ts +3 -3
  69. package/common/types/state-machine.types.js +1 -1
  70. package/common/types/state-machine.types.js.map +1 -1
  71. package/common/types/task.types.d.ts +8 -0
  72. package/common/types/task.types.js +3 -0
  73. package/common/types/task.types.js.map +1 -1
  74. package/common/types/trade-line-item.types.d.ts +24 -0
  75. package/common/types/trade-line-item.types.js +3 -0
  76. package/common/types/trade-line-item.types.js.map +1 -1
  77. package/common/types/trade.types.d.ts +11 -14
  78. package/common/types/trade.types.js +16 -7
  79. package/common/types/trade.types.js.map +1 -1
  80. package/common/types/transaction.types.d.ts +24 -1
  81. package/common/types/transaction.types.js +26 -0
  82. package/common/types/transaction.types.js.map +1 -1
  83. package/common/types/user.types.d.ts +6 -112
  84. package/common/types/user.types.js +5 -26
  85. package/common/types/user.types.js.map +1 -1
  86. package/common/types/zapier.types.d.ts +126 -0
  87. package/common/types/zapier.types.js +247 -0
  88. package/common/types/zapier.types.js.map +1 -0
  89. package/contracts/clients/cart/index.d.ts +3 -0
  90. package/contracts/clients/csv/index.d.ts +1988 -0
  91. package/contracts/clients/csv/index.js +96 -0
  92. package/contracts/clients/csv/index.js.map +1 -0
  93. package/contracts/clients/index.d.ts +3934 -1058
  94. package/contracts/clients/index.js +8 -2
  95. package/contracts/clients/index.js.map +1 -1
  96. package/contracts/clients/individuals/index.d.ts +381 -5
  97. package/contracts/clients/legal-entities/index.d.ts +1 -1
  98. package/contracts/clients/offerings/index.d.ts +2 -2
  99. package/contracts/clients/review/index.d.ts +85 -0
  100. package/contracts/clients/review/index.js +27 -0
  101. package/contracts/clients/review/index.js.map +1 -0
  102. package/contracts/clients/webhooks/index.d.ts +506 -0
  103. package/contracts/clients/webhooks/index.js +118 -0
  104. package/contracts/clients/webhooks/index.js.map +1 -0
  105. package/package.json +1 -1
@@ -21,16 +21,20 @@ import { paymentMethodsContract } from './payment-methods/index.js';
21
21
  import { issuerPaymentMethodsContract } from './issuer-payment-methods/index.js';
22
22
  import { tradeLineItemsContract } from './trade-line-items/index.js';
23
23
  import { clientsTransactionsContract } from './transactions/index.js';
24
+ import { csvContract } from './csv/index.js';
25
+ import { reviewContract } from './review/index.js';
26
+ import { webhooksContract } from './webhooks/index.js';
24
27
  const c = initContract();
25
28
  // API KEY AUTH
26
29
  export const clientsContract = c.router({
27
30
  accounts: accountsContract,
28
31
  aic: aicContract,
29
- auth: authContract,
30
- apiKeys: apiKeysContract,
31
32
  apiKeyLogs: clientApiKeyLogsContract,
33
+ apiKeys: apiKeysContract,
32
34
  assets: assetsContract,
35
+ auth: authContract,
33
36
  cart: cartContract,
37
+ csv: csvContract,
34
38
  files: filesContract,
35
39
  filesPublic: filesPublicContract,
36
40
  individuals: individualsContract,
@@ -41,11 +45,13 @@ export const clientsContract = c.router({
41
45
  legalEntities: legalEntityContract,
42
46
  offerings: offeringsContract,
43
47
  paymentMethods: paymentMethodsContract,
48
+ review: reviewContract,
44
49
  secureRequests: secureRequestContract,
45
50
  sites: sitesContract,
46
51
  tradeLineItems: tradeLineItemsContract,
47
52
  trades: tradesContract,
48
53
  transactions: clientsTransactionsContract,
54
+ webhooks: webhooksContract,
49
55
  }, {
50
56
  pathPrefix: '/clients/api/v1/',
51
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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AAE,CAAC;AAEzB,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"}
@@ -10,7 +10,7 @@ export declare const individualsContract: {
10
10
  investorAccountId: z.ZodString;
11
11
  firstName: z.ZodOptional<z.ZodString>;
12
12
  dob: z.ZodOptional<z.ZodDate>;
13
- isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodBoolean>;
13
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
14
14
  citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
15
15
  ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
16
16
  currencyCode: z.ZodOptional<z.ZodString>;
@@ -76,7 +76,7 @@ export declare const individualsContract: {
76
76
  currencyCode?: string | undefined;
77
77
  liquidNetWorth?: number | undefined;
78
78
  dob?: Date | undefined;
79
- isUsCitizenOrGreenCardHolder?: boolean | undefined;
79
+ isUsCitizenOrGreenCardHolder?: unknown;
80
80
  citizenship?: string | undefined;
81
81
  ssn?: string | null | undefined;
82
82
  investedInCrowdfunding?: number | undefined;
@@ -178,7 +178,7 @@ export declare const individualsContract: {
178
178
  currencyCode?: string | undefined;
179
179
  liquidNetWorth?: number | undefined;
180
180
  dob?: Date | undefined;
181
- isUsCitizenOrGreenCardHolder?: boolean | undefined;
181
+ isUsCitizenOrGreenCardHolder?: unknown;
182
182
  citizenship?: string | undefined;
183
183
  ssn?: string | null | undefined;
184
184
  investedInCrowdfunding?: number | undefined;
@@ -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<{
@@ -1553,7 +1741,7 @@ export declare const individualsContract: {
1553
1741
  } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
1554
1742
  email: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1555
1743
  ownership: z.ZodOptional<z.ZodNumber>;
1556
- isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodBoolean>;
1744
+ isUsCitizenOrGreenCardHolder: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1557
1745
  citizenship: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
1558
1746
  ssn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1559
1747
  kycDocumentType: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").KYCDocumentType>>;
@@ -1631,7 +1819,7 @@ export declare const individualsContract: {
1631
1819
  aicAccreditationType?: import("../../..").AicAccreditationType | undefined;
1632
1820
  aicQuestionnaire?: string | undefined;
1633
1821
  dob?: Date | undefined;
1634
- isUsCitizenOrGreenCardHolder?: boolean | undefined;
1822
+ isUsCitizenOrGreenCardHolder?: unknown;
1635
1823
  citizenship?: string | undefined;
1636
1824
  ssn?: string | null | undefined;
1637
1825
  investedInCrowdfunding?: number | undefined;
@@ -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<{
@@ -23,7 +23,7 @@ export declare const legalEntityContract: {
23
23
  error?: any;
24
24
  } | import("neverthrow").Ok<null, never>, string | null>, any, string | null>>;
25
25
  dateOfIncorporation: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
26
- stateOfIncorporation: z.ZodOptional<z.ZodString>;
26
+ stateOfIncorporation: z.ZodOptional<z.ZodNativeEnum<Readonly<Record<string, string>>>>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  name: string;
29
29
  investorAccountId: string;
@@ -423,7 +423,7 @@ export declare const offeringsContract: {
423
423
  startAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
424
424
  endAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
425
425
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
426
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
426
+ description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
427
427
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
428
428
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
429
429
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
@@ -770,7 +770,7 @@ export declare const offeringsContract: {
770
770
  endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
771
771
  active: z.ZodOptional<z.ZodBoolean>;
772
772
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
773
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
773
+ description: z.ZodLazy<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>>;
774
774
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
775
775
  assetName: z.ZodString;
776
776
  assetType: z.ZodNativeEnum<typeof import("../../..").AssetType>;
@@ -0,0 +1,85 @@
1
+ import { z } from 'zod';
2
+ export declare const reviewContract: {
3
+ postReviewKyc: {
4
+ method: "POST";
5
+ metadata: {
6
+ auth: boolean;
7
+ };
8
+ body: z.ZodObject<{
9
+ individualIds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
10
+ status: z.ZodNativeEnum<typeof import("../../..").BaseStatus>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ status: import("../../..").BaseStatus;
13
+ individualIds: string[];
14
+ }, {
15
+ status: import("../../..").BaseStatus;
16
+ individualIds: string[];
17
+ }>;
18
+ query: z.ZodObject<{
19
+ userId: z.ZodEffects<z.ZodString, string, string>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ userId: string;
22
+ }, {
23
+ userId: string;
24
+ }>;
25
+ summary: "Post KYC review for individuals";
26
+ path: "review/kyc";
27
+ responses: {
28
+ 201: z.ZodObject<{
29
+ individualsUpdated: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
30
+ status: z.ZodNativeEnum<typeof import("../../..").BaseStatus>;
31
+ reviewedBy: z.ZodString;
32
+ targetObject: z.ZodAny;
33
+ }, "strip", z.ZodTypeAny, {
34
+ status: import("../../..").BaseStatus;
35
+ reviewedBy: string;
36
+ individualsUpdated: string[];
37
+ targetObject?: any;
38
+ }, {
39
+ status: import("../../..").BaseStatus;
40
+ reviewedBy: string;
41
+ individualsUpdated: string[];
42
+ targetObject?: any;
43
+ }>;
44
+ 401: z.ZodObject<{
45
+ status: z.ZodNumber;
46
+ message: z.ZodString;
47
+ errors: z.ZodArray<z.ZodString, "many">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ message: string;
50
+ status: number;
51
+ errors: string[];
52
+ }, {
53
+ message: string;
54
+ status: number;
55
+ errors: string[];
56
+ }>;
57
+ 403: z.ZodObject<{
58
+ status: z.ZodNumber;
59
+ message: z.ZodString;
60
+ errors: z.ZodArray<z.ZodString, "many">;
61
+ }, "strip", z.ZodTypeAny, {
62
+ message: string;
63
+ status: number;
64
+ errors: string[];
65
+ }, {
66
+ message: string;
67
+ status: number;
68
+ errors: string[];
69
+ }>;
70
+ 500: z.ZodObject<{
71
+ status: z.ZodNumber;
72
+ message: z.ZodString;
73
+ errors: z.ZodArray<z.ZodString, "many">;
74
+ }, "strip", z.ZodTypeAny, {
75
+ message: string;
76
+ status: number;
77
+ errors: string[];
78
+ }, {
79
+ message: string;
80
+ status: number;
81
+ errors: string[];
82
+ }>;
83
+ };
84
+ };
85
+ };