@dalmore/api-contracts 0.0.0-dev.73ad209 → 0.0.0-dev.7560276

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 (129) 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 +8 -0
  5. package/common/helpers/index.js +15 -0
  6. package/common/helpers/index.js.map +1 -1
  7. package/common/types/account-setting.types.d.ts +22 -66
  8. package/common/types/account-setting.types.js +2 -31
  9. package/common/types/account-setting.types.js.map +1 -1
  10. package/common/types/account.types.d.ts +32 -23
  11. package/common/types/account.types.js +4 -3
  12. package/common/types/account.types.js.map +1 -1
  13. package/common/types/activity.types.d.ts +34 -25
  14. package/common/types/activity.types.js +11 -0
  15. package/common/types/activity.types.js.map +1 -1
  16. package/common/types/asset.types.d.ts +25 -111
  17. package/common/types/asset.types.js +24 -100
  18. package/common/types/asset.types.js.map +1 -1
  19. package/common/types/auth.types.d.ts +36 -0
  20. package/common/types/auth.types.js +3 -2
  21. package/common/types/auth.types.js.map +1 -1
  22. package/common/types/bonus-tier.types.d.ts +0 -30
  23. package/common/types/bonus-tier.types.js +1 -2
  24. package/common/types/bonus-tier.types.js.map +1 -1
  25. package/common/types/cap-table.types.d.ts +177 -53
  26. package/common/types/cap-table.types.js +31 -0
  27. package/common/types/cap-table.types.js.map +1 -1
  28. package/common/types/common.types.d.ts +357 -8
  29. package/common/types/common.types.js +73 -4
  30. package/common/types/common.types.js.map +1 -1
  31. package/common/types/csv.types.d.ts +3612 -0
  32. package/common/types/csv.types.js +290 -0
  33. package/common/types/csv.types.js.map +1 -0
  34. package/common/types/dashboard.types.d.ts +7 -7
  35. package/common/types/disbursement-transaction.types.d.ts +1 -1
  36. package/common/types/disbursement-transaction.types.js +1 -1
  37. package/common/types/disbursement-transaction.types.js.map +1 -1
  38. package/common/types/disbursements.types.d.ts +956 -7
  39. package/common/types/disbursements.types.js +92 -2
  40. package/common/types/disbursements.types.js.map +1 -1
  41. package/common/types/escrow-account.types.d.ts +17 -0
  42. package/common/types/escrow-account.types.js +3 -0
  43. package/common/types/escrow-account.types.js.map +1 -1
  44. package/common/types/exchange-provider.types.d.ts +12 -12
  45. package/common/types/file.types.d.ts +38 -11
  46. package/common/types/file.types.js +14 -0
  47. package/common/types/file.types.js.map +1 -1
  48. package/common/types/index.d.ts +4 -2
  49. package/common/types/index.js +4 -2
  50. package/common/types/index.js.map +1 -1
  51. package/common/types/individuals.types.d.ts +207 -5
  52. package/common/types/individuals.types.js +16 -16
  53. package/common/types/individuals.types.js.map +1 -1
  54. package/common/types/investor-account.types.d.ts +1 -1
  55. package/common/types/investor-account.types.js +1 -2
  56. package/common/types/investor-account.types.js.map +1 -1
  57. package/common/types/investors-offering.types.d.ts +8 -0
  58. package/common/types/investors-offering.types.js +1 -0
  59. package/common/types/investors-offering.types.js.map +1 -1
  60. package/common/types/invite.types.d.ts +5 -2
  61. package/common/types/invite.types.js +2 -1
  62. package/common/types/invite.types.js.map +1 -1
  63. package/common/types/issuer-offering.types.d.ts +361 -91
  64. package/common/types/issuer-offering.types.js +205 -75
  65. package/common/types/issuer-offering.types.js.map +1 -1
  66. package/common/types/job-item.types.d.ts +14 -14
  67. package/common/types/legal-entity.types.d.ts +39 -1
  68. package/common/types/legal-entity.types.js +8 -5
  69. package/common/types/legal-entity.types.js.map +1 -1
  70. package/common/types/mail-template.types.d.ts +4 -4
  71. package/common/types/note.types.d.ts +15 -15
  72. package/common/types/notification.types.d.ts +1 -0
  73. package/common/types/notification.types.js +3 -0
  74. package/common/types/notification.types.js.map +1 -1
  75. package/common/types/offering-submission.types.d.ts +198 -0
  76. package/common/types/offering-submission.types.js +17 -4
  77. package/common/types/offering-submission.types.js.map +1 -1
  78. package/common/types/offering.types.d.ts +354 -70
  79. package/common/types/offering.types.js +277 -47
  80. package/common/types/offering.types.js.map +1 -1
  81. package/common/types/payment-methods.types.d.ts +365 -0
  82. package/common/types/payment-methods.types.js +121 -0
  83. package/common/types/payment-methods.types.js.map +1 -1
  84. package/common/types/portfolio.types.d.ts +6 -6
  85. package/common/types/reports.types.d.ts +345 -0
  86. package/common/types/reports.types.js +69 -0
  87. package/common/types/reports.types.js.map +1 -0
  88. package/common/types/review.types.js +1 -1
  89. package/common/types/review.types.js.map +1 -1
  90. package/common/types/secondary-order.types.d.ts +10 -10
  91. package/common/types/secondary-trade.types.d.ts +10 -10
  92. package/common/types/site.types.d.ts +12 -27
  93. package/common/types/task.types.d.ts +30 -22
  94. package/common/types/task.types.js +3 -0
  95. package/common/types/task.types.js.map +1 -1
  96. package/common/types/trade-line-item.types.d.ts +24 -0
  97. package/common/types/trade-line-item.types.js +3 -0
  98. package/common/types/trade-line-item.types.js.map +1 -1
  99. package/common/types/trade.types.d.ts +22 -14
  100. package/common/types/trade.types.js +20 -7
  101. package/common/types/trade.types.js.map +1 -1
  102. package/common/types/transaction.types.d.ts +24 -2
  103. package/common/types/transaction.types.js +26 -1
  104. package/common/types/transaction.types.js.map +1 -1
  105. package/common/types/user.types.d.ts +108 -82
  106. package/common/types/user.types.js +10 -23
  107. package/common/types/user.types.js.map +1 -1
  108. package/common/types/zapier.types.d.ts +126 -0
  109. package/common/types/zapier.types.js +247 -0
  110. package/common/types/zapier.types.js.map +1 -0
  111. package/contracts/clients/assets/index.d.ts +0 -66
  112. package/contracts/clients/csv/index.d.ts +1800 -0
  113. package/contracts/clients/csv/index.js +96 -0
  114. package/contracts/clients/csv/index.js.map +1 -0
  115. package/contracts/clients/files/index.d.ts +3 -3
  116. package/contracts/clients/files-public/index.d.ts +3 -3
  117. package/contracts/clients/index.d.ts +3466 -1178
  118. package/contracts/clients/index.js +8 -2
  119. package/contracts/clients/index.js.map +1 -1
  120. package/contracts/clients/individuals/index.d.ts +5 -5
  121. package/contracts/clients/legal-entities/index.d.ts +1 -1
  122. package/contracts/clients/offerings/index.d.ts +91 -46
  123. package/contracts/clients/review/index.d.ts +85 -0
  124. package/contracts/clients/review/index.js +27 -0
  125. package/contracts/clients/review/index.js.map +1 -0
  126. package/contracts/clients/webhooks/index.d.ts +506 -0
  127. package/contracts/clients/webhooks/index.js +118 -0
  128. package/contracts/clients/webhooks/index.js.map +1 -0
  129. package/package.json +1 -1
@@ -1,12 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType } from './common.types';
3
- import { AssetTemplateType, InterestType } from './asset.types';
4
- export declare enum OfferingStatus {
5
- ONBOARDING = "ONBOARDING",
6
- IN_COMPLIANCE_REVIEW = "IN_COMPLIANCE_REVIEW",
7
- ACTIVE = "ACTIVE",
8
- PAUSED = "PAUSED"
9
- }
2
+ import { OfferingType, ManagedByType, OfferingVersioningType, ComplianceReview, DurationType, AssetType, HttpMethod, WarrantSharesCalculationMethod, OfferingStatus } from './common.types';
3
+ import { AssetTemplateType } from './asset.types';
4
+ import { PostComplianceOffering } from './offering.types';
10
5
  export declare const IIssuerOffering: z.ZodObject<{
11
6
  id: z.ZodString;
12
7
  __entity: z.ZodOptional<z.ZodString>;
@@ -134,10 +129,7 @@ export declare const IIssuerOffering: z.ZodObject<{
134
129
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
135
130
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
136
131
  enableBonus: z.ZodBoolean;
137
- principalAmount: z.ZodNullable<z.ZodNumber>;
138
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
139
132
  interestRate: z.ZodNullable<z.ZodNumber>;
140
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
141
133
  }, "strip", z.ZodTypeAny, {
142
134
  type: AssetType | null;
143
135
  id: string;
@@ -156,10 +148,7 @@ export declare const IIssuerOffering: z.ZodObject<{
156
148
  durationType: DurationType | null;
157
149
  tiers: number[] | null;
158
150
  enableBonus: boolean;
159
- principalAmount: number | null;
160
- maxTotalRaise: number | null;
161
151
  interestRate: number | null;
162
- interestType: InterestType | null;
163
152
  __entity?: string | undefined;
164
153
  account?: {
165
154
  status: import("./common.types").AccountStatus;
@@ -194,10 +183,7 @@ export declare const IIssuerOffering: z.ZodObject<{
194
183
  durationType: DurationType | null;
195
184
  tiers: number[] | null;
196
185
  enableBonus: boolean;
197
- principalAmount: number | null;
198
- maxTotalRaise: number | null;
199
186
  interestRate: number | null;
200
- interestType: InterestType | null;
201
187
  __entity?: string | undefined;
202
188
  account?: {
203
189
  status: import("./common.types").AccountStatus;
@@ -236,6 +222,7 @@ export declare const IIssuerOffering: z.ZodObject<{
236
222
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
237
223
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
238
224
  } & {
225
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
239
226
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
240
227
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
241
228
  accountName: z.ZodString;
@@ -309,6 +296,7 @@ export declare const IIssuerOffering: z.ZodObject<{
309
296
  } | null | undefined;
310
297
  accountNumber?: string | null | undefined;
311
298
  routingNumber?: string | null | undefined;
299
+ company?: string | null | undefined;
312
300
  }, {
313
301
  id: string;
314
302
  createdAt: string | Date;
@@ -335,7 +323,18 @@ export declare const IIssuerOffering: z.ZodObject<{
335
323
  } | null | undefined;
336
324
  accountNumber?: string | null | undefined;
337
325
  routingNumber?: string | null | undefined;
326
+ company?: string | null | undefined;
338
327
  }>>>>;
328
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
329
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
330
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
331
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
332
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
333
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
334
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
335
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
+ soldOut: z.ZodOptional<z.ZodBoolean>;
339
338
  }, "strip", z.ZodTypeAny, {
340
339
  type: OfferingType | null;
341
340
  id: string;
@@ -380,10 +379,7 @@ export declare const IIssuerOffering: z.ZodObject<{
380
379
  durationType: DurationType | null;
381
380
  tiers: number[] | null;
382
381
  enableBonus: boolean;
383
- principalAmount: number | null;
384
- maxTotalRaise: number | null;
385
382
  interestRate: number | null;
386
- interestType: InterestType | null;
387
383
  __entity?: string | undefined;
388
384
  account?: {
389
385
  status: import("./common.types").AccountStatus;
@@ -415,6 +411,7 @@ export declare const IIssuerOffering: z.ZodObject<{
415
411
  allowPendingComplianceReview: boolean;
416
412
  __entity?: string | undefined;
417
413
  } | null | undefined;
414
+ soldOut?: boolean | undefined;
418
415
  issuer?: any;
419
416
  coverArtId?: string | null | undefined;
420
417
  coverArt?: any;
@@ -452,7 +449,17 @@ export declare const IIssuerOffering: z.ZodObject<{
452
449
  } | null | undefined;
453
450
  accountNumber?: string | null | undefined;
454
451
  routingNumber?: string | null | undefined;
452
+ company?: string | null | undefined;
455
453
  } | null | undefined;
454
+ warrantsEnabled?: boolean | undefined;
455
+ totalShares?: number | null | undefined;
456
+ warrantTermYears?: number | null | undefined;
457
+ exercisePrice?: number | null | undefined;
458
+ warrantPercentage?: number | null | undefined;
459
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
460
+ incrementThreshold?: number | null | undefined;
461
+ fullyDilutedShares?: number | null | undefined;
462
+ shareClassId?: string | null | undefined;
456
463
  }, {
457
464
  type: OfferingType | null;
458
465
  id: string;
@@ -497,10 +504,7 @@ export declare const IIssuerOffering: z.ZodObject<{
497
504
  durationType: DurationType | null;
498
505
  tiers: number[] | null;
499
506
  enableBonus: boolean;
500
- principalAmount: number | null;
501
- maxTotalRaise: number | null;
502
507
  interestRate: number | null;
503
- interestType: InterestType | null;
504
508
  __entity?: string | undefined;
505
509
  account?: {
506
510
  status: import("./common.types").AccountStatus;
@@ -532,6 +536,7 @@ export declare const IIssuerOffering: z.ZodObject<{
532
536
  allowPendingComplianceReview: boolean;
533
537
  __entity?: string | undefined;
534
538
  } | null | undefined;
539
+ soldOut?: boolean | undefined;
535
540
  issuer?: any;
536
541
  coverArtId?: string | null | undefined;
537
542
  coverArt?: any;
@@ -569,7 +574,17 @@ export declare const IIssuerOffering: z.ZodObject<{
569
574
  } | null | undefined;
570
575
  accountNumber?: string | null | undefined;
571
576
  routingNumber?: string | null | undefined;
577
+ company?: string | null | undefined;
572
578
  } | null | undefined;
579
+ warrantsEnabled?: boolean | undefined;
580
+ totalShares?: number | null | undefined;
581
+ warrantTermYears?: number | null | undefined;
582
+ exercisePrice?: number | null | undefined;
583
+ warrantPercentage?: number | null | undefined;
584
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
585
+ incrementThreshold?: number | null | undefined;
586
+ fullyDilutedShares?: number | null | undefined;
587
+ shareClassId?: string | null | undefined;
573
588
  }>;
574
589
  export type IIssuerOffering = z.infer<typeof IIssuerOffering>;
575
590
  export declare const IPaginatedIssuerOffering: z.ZodObject<{
@@ -700,10 +715,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
700
715
  template: z.ZodNativeEnum<typeof AssetTemplateType>;
701
716
  tiers: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
702
717
  enableBonus: z.ZodBoolean;
703
- principalAmount: z.ZodNullable<z.ZodNumber>;
704
- maxTotalRaise: z.ZodNullable<z.ZodNumber>;
705
718
  interestRate: z.ZodNullable<z.ZodNumber>;
706
- interestType: z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>;
707
719
  }, "strip", z.ZodTypeAny, {
708
720
  type: AssetType | null;
709
721
  id: string;
@@ -722,10 +734,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
722
734
  durationType: DurationType | null;
723
735
  tiers: number[] | null;
724
736
  enableBonus: boolean;
725
- principalAmount: number | null;
726
- maxTotalRaise: number | null;
727
737
  interestRate: number | null;
728
- interestType: InterestType | null;
729
738
  __entity?: string | undefined;
730
739
  account?: {
731
740
  status: import("./common.types").AccountStatus;
@@ -760,10 +769,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
760
769
  durationType: DurationType | null;
761
770
  tiers: number[] | null;
762
771
  enableBonus: boolean;
763
- principalAmount: number | null;
764
- maxTotalRaise: number | null;
765
772
  interestRate: number | null;
766
- interestType: InterestType | null;
767
773
  __entity?: string | undefined;
768
774
  account?: {
769
775
  status: import("./common.types").AccountStatus;
@@ -802,6 +808,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
802
808
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
803
809
  deletedAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
804
810
  } & {
811
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
805
812
  accountNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
806
813
  routingNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
807
814
  accountName: z.ZodString;
@@ -875,6 +882,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
875
882
  } | null | undefined;
876
883
  accountNumber?: string | null | undefined;
877
884
  routingNumber?: string | null | undefined;
885
+ company?: string | null | undefined;
878
886
  }, {
879
887
  id: string;
880
888
  createdAt: string | Date;
@@ -901,7 +909,18 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
901
909
  } | null | undefined;
902
910
  accountNumber?: string | null | undefined;
903
911
  routingNumber?: string | null | undefined;
912
+ company?: string | null | undefined;
904
913
  }>>>>;
914
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
915
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
916
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
917
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
918
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
919
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
920
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
921
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
922
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
923
+ soldOut: z.ZodOptional<z.ZodBoolean>;
905
924
  }, "strip", z.ZodTypeAny, {
906
925
  type: OfferingType | null;
907
926
  id: string;
@@ -946,10 +965,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
946
965
  durationType: DurationType | null;
947
966
  tiers: number[] | null;
948
967
  enableBonus: boolean;
949
- principalAmount: number | null;
950
- maxTotalRaise: number | null;
951
968
  interestRate: number | null;
952
- interestType: InterestType | null;
953
969
  __entity?: string | undefined;
954
970
  account?: {
955
971
  status: import("./common.types").AccountStatus;
@@ -981,6 +997,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
981
997
  allowPendingComplianceReview: boolean;
982
998
  __entity?: string | undefined;
983
999
  } | null | undefined;
1000
+ soldOut?: boolean | undefined;
984
1001
  issuer?: any;
985
1002
  coverArtId?: string | null | undefined;
986
1003
  coverArt?: any;
@@ -1018,7 +1035,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1018
1035
  } | null | undefined;
1019
1036
  accountNumber?: string | null | undefined;
1020
1037
  routingNumber?: string | null | undefined;
1038
+ company?: string | null | undefined;
1021
1039
  } | null | undefined;
1040
+ warrantsEnabled?: boolean | undefined;
1041
+ totalShares?: number | null | undefined;
1042
+ warrantTermYears?: number | null | undefined;
1043
+ exercisePrice?: number | null | undefined;
1044
+ warrantPercentage?: number | null | undefined;
1045
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1046
+ incrementThreshold?: number | null | undefined;
1047
+ fullyDilutedShares?: number | null | undefined;
1048
+ shareClassId?: string | null | undefined;
1022
1049
  }, {
1023
1050
  type: OfferingType | null;
1024
1051
  id: string;
@@ -1063,10 +1090,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1063
1090
  durationType: DurationType | null;
1064
1091
  tiers: number[] | null;
1065
1092
  enableBonus: boolean;
1066
- principalAmount: number | null;
1067
- maxTotalRaise: number | null;
1068
1093
  interestRate: number | null;
1069
- interestType: InterestType | null;
1070
1094
  __entity?: string | undefined;
1071
1095
  account?: {
1072
1096
  status: import("./common.types").AccountStatus;
@@ -1098,6 +1122,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1098
1122
  allowPendingComplianceReview: boolean;
1099
1123
  __entity?: string | undefined;
1100
1124
  } | null | undefined;
1125
+ soldOut?: boolean | undefined;
1101
1126
  issuer?: any;
1102
1127
  coverArtId?: string | null | undefined;
1103
1128
  coverArt?: any;
@@ -1135,7 +1160,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1135
1160
  } | null | undefined;
1136
1161
  accountNumber?: string | null | undefined;
1137
1162
  routingNumber?: string | null | undefined;
1163
+ company?: string | null | undefined;
1138
1164
  } | null | undefined;
1165
+ warrantsEnabled?: boolean | undefined;
1166
+ totalShares?: number | null | undefined;
1167
+ warrantTermYears?: number | null | undefined;
1168
+ exercisePrice?: number | null | undefined;
1169
+ warrantPercentage?: number | null | undefined;
1170
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1171
+ incrementThreshold?: number | null | undefined;
1172
+ fullyDilutedShares?: number | null | undefined;
1173
+ shareClassId?: string | null | undefined;
1139
1174
  }>, "many">;
1140
1175
  meta: z.ZodObject<{
1141
1176
  itemCount: z.ZodNumber;
@@ -1201,10 +1236,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1201
1236
  durationType: DurationType | null;
1202
1237
  tiers: number[] | null;
1203
1238
  enableBonus: boolean;
1204
- principalAmount: number | null;
1205
- maxTotalRaise: number | null;
1206
1239
  interestRate: number | null;
1207
- interestType: InterestType | null;
1208
1240
  __entity?: string | undefined;
1209
1241
  account?: {
1210
1242
  status: import("./common.types").AccountStatus;
@@ -1236,6 +1268,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1236
1268
  allowPendingComplianceReview: boolean;
1237
1269
  __entity?: string | undefined;
1238
1270
  } | null | undefined;
1271
+ soldOut?: boolean | undefined;
1239
1272
  issuer?: any;
1240
1273
  coverArtId?: string | null | undefined;
1241
1274
  coverArt?: any;
@@ -1273,7 +1306,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1273
1306
  } | null | undefined;
1274
1307
  accountNumber?: string | null | undefined;
1275
1308
  routingNumber?: string | null | undefined;
1309
+ company?: string | null | undefined;
1276
1310
  } | null | undefined;
1311
+ warrantsEnabled?: boolean | undefined;
1312
+ totalShares?: number | null | undefined;
1313
+ warrantTermYears?: number | null | undefined;
1314
+ exercisePrice?: number | null | undefined;
1315
+ warrantPercentage?: number | null | undefined;
1316
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1317
+ incrementThreshold?: number | null | undefined;
1318
+ fullyDilutedShares?: number | null | undefined;
1319
+ shareClassId?: string | null | undefined;
1277
1320
  }[];
1278
1321
  meta: {
1279
1322
  itemCount: number;
@@ -1327,10 +1370,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1327
1370
  durationType: DurationType | null;
1328
1371
  tiers: number[] | null;
1329
1372
  enableBonus: boolean;
1330
- principalAmount: number | null;
1331
- maxTotalRaise: number | null;
1332
1373
  interestRate: number | null;
1333
- interestType: InterestType | null;
1334
1374
  __entity?: string | undefined;
1335
1375
  account?: {
1336
1376
  status: import("./common.types").AccountStatus;
@@ -1362,6 +1402,7 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1362
1402
  allowPendingComplianceReview: boolean;
1363
1403
  __entity?: string | undefined;
1364
1404
  } | null | undefined;
1405
+ soldOut?: boolean | undefined;
1365
1406
  issuer?: any;
1366
1407
  coverArtId?: string | null | undefined;
1367
1408
  coverArt?: any;
@@ -1399,7 +1440,17 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1399
1440
  } | null | undefined;
1400
1441
  accountNumber?: string | null | undefined;
1401
1442
  routingNumber?: string | null | undefined;
1443
+ company?: string | null | undefined;
1402
1444
  } | null | undefined;
1445
+ warrantsEnabled?: boolean | undefined;
1446
+ totalShares?: number | null | undefined;
1447
+ warrantTermYears?: number | null | undefined;
1448
+ exercisePrice?: number | null | undefined;
1449
+ warrantPercentage?: number | null | undefined;
1450
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1451
+ incrementThreshold?: number | null | undefined;
1452
+ fullyDilutedShares?: number | null | undefined;
1453
+ shareClassId?: string | null | undefined;
1403
1454
  }[];
1404
1455
  meta: {
1405
1456
  itemCount: number;
@@ -1410,8 +1461,173 @@ export declare const IPaginatedIssuerOffering: z.ZodObject<{
1410
1461
  };
1411
1462
  }>;
1412
1463
  export type IPaginatedIssuerOffering = z.infer<typeof IPaginatedIssuerOffering>;
1464
+ export declare const postOfferingRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;
1465
+ export declare const PostIssuerOfferingBaseObject: z.ZodObject<{
1466
+ issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1467
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1468
+ name: z.ZodString;
1469
+ type: z.ZodNativeEnum<typeof OfferingType>;
1470
+ targetAmount: z.ZodNumber;
1471
+ raiseAmount: z.ZodOptional<z.ZodNumber>;
1472
+ minInvestment: z.ZodOptional<z.ZodNumber>;
1473
+ maxInvestment: z.ZodOptional<z.ZodNumber>;
1474
+ contingencyAmount: z.ZodOptional<z.ZodNumber>;
1475
+ startAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1476
+ endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1477
+ active: z.ZodOptional<z.ZodBoolean>;
1478
+ cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1479
+ 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>>;
1480
+ managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1481
+ assetName: z.ZodString;
1482
+ assetType: z.ZodNativeEnum<typeof AssetType>;
1483
+ pricePerUnit: z.ZodNullable<z.ZodNumber>;
1484
+ totalUnits: z.ZodNullable<z.ZodNumber>;
1485
+ yield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1486
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1487
+ durationType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof DurationType>>>;
1488
+ template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
1489
+ tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1490
+ enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1491
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1492
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1493
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1494
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1495
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1496
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1497
+ value: z.ZodEffects<z.ZodNumber, number, number>;
1498
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
1499
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ value: number;
1502
+ type: import("./bonus-tier.types").BonusType;
1503
+ startAmount: number;
1504
+ endAmount: number;
1505
+ }, {
1506
+ value: number;
1507
+ type: import("./bonus-tier.types").BonusType;
1508
+ startAmount: number;
1509
+ endAmount: number;
1510
+ }>, {
1511
+ value: number;
1512
+ type: import("./bonus-tier.types").BonusType;
1513
+ startAmount: number;
1514
+ endAmount: number;
1515
+ }, {
1516
+ value: number;
1517
+ type: import("./bonus-tier.types").BonusType;
1518
+ startAmount: number;
1519
+ endAmount: number;
1520
+ }>, {
1521
+ value: number;
1522
+ type: import("./bonus-tier.types").BonusType;
1523
+ startAmount: number;
1524
+ endAmount: number;
1525
+ }, {
1526
+ value: number;
1527
+ type: import("./bonus-tier.types").BonusType;
1528
+ startAmount: number;
1529
+ endAmount: number;
1530
+ }>, "many">>;
1531
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1532
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1533
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1534
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1535
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1536
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1537
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1538
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1539
+ }, "strip", z.ZodTypeAny, {
1540
+ type: OfferingType;
1541
+ name: string;
1542
+ template: AssetTemplateType;
1543
+ targetAmount: number;
1544
+ issuerId: string;
1545
+ warrantsEnabled: boolean;
1546
+ assetName: string;
1547
+ assetType: AssetType;
1548
+ pricePerUnit: number | null;
1549
+ totalUnits: number | null;
1550
+ active?: boolean | undefined;
1551
+ managedBy?: ManagedByType | undefined;
1552
+ description?: string | null | undefined;
1553
+ raiseAmount?: number | undefined;
1554
+ minInvestment?: number | undefined;
1555
+ maxInvestment?: number | undefined;
1556
+ contingencyAmount?: number | undefined;
1557
+ startAt?: Date | null | undefined;
1558
+ endAt?: Date | null | undefined;
1559
+ cancellationPeriod?: number | null | undefined;
1560
+ showTotalRaised?: boolean | undefined;
1561
+ hasEscrow?: boolean | undefined;
1562
+ bankAccountId?: string | null | undefined;
1563
+ escrowAccountId?: string | null | undefined;
1564
+ totalShares?: number | null | undefined;
1565
+ warrantTermYears?: number | null | undefined;
1566
+ exercisePrice?: number | null | undefined;
1567
+ warrantPercentage?: number | null | undefined;
1568
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1569
+ incrementThreshold?: number | null | undefined;
1570
+ shareClassId?: string | null | undefined;
1571
+ yield?: number | null | undefined;
1572
+ duration?: number | null | undefined;
1573
+ durationType?: DurationType | null | undefined;
1574
+ tiers?: number[] | null | undefined;
1575
+ enableBonus?: boolean | undefined;
1576
+ interestRate?: number | null | undefined;
1577
+ bonusTiers?: {
1578
+ value: number;
1579
+ type: import("./bonus-tier.types").BonusType;
1580
+ startAmount: number;
1581
+ endAmount: number;
1582
+ }[] | undefined;
1583
+ }, {
1584
+ type: OfferingType;
1585
+ name: string;
1586
+ targetAmount: number;
1587
+ issuerId: string;
1588
+ assetName: string;
1589
+ assetType: AssetType;
1590
+ pricePerUnit: number | null;
1591
+ totalUnits: number | null;
1592
+ active?: boolean | undefined;
1593
+ managedBy?: ManagedByType | undefined;
1594
+ description?: string | null | undefined;
1595
+ template?: AssetTemplateType | undefined;
1596
+ raiseAmount?: number | undefined;
1597
+ minInvestment?: number | undefined;
1598
+ maxInvestment?: number | undefined;
1599
+ contingencyAmount?: number | undefined;
1600
+ startAt?: string | null | undefined;
1601
+ endAt?: string | null | undefined;
1602
+ cancellationPeriod?: number | null | undefined;
1603
+ showTotalRaised?: boolean | undefined;
1604
+ hasEscrow?: boolean | undefined;
1605
+ bankAccountId?: string | null | undefined;
1606
+ escrowAccountId?: string | null | undefined;
1607
+ warrantsEnabled?: boolean | undefined;
1608
+ totalShares?: number | null | undefined;
1609
+ warrantTermYears?: number | null | undefined;
1610
+ exercisePrice?: number | null | undefined;
1611
+ warrantPercentage?: number | null | undefined;
1612
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1613
+ incrementThreshold?: number | null | undefined;
1614
+ shareClassId?: string | null | undefined;
1615
+ yield?: number | null | undefined;
1616
+ duration?: number | null | undefined;
1617
+ durationType?: DurationType | null | undefined;
1618
+ tiers?: number[] | null | undefined;
1619
+ enableBonus?: boolean | undefined;
1620
+ interestRate?: number | null | undefined;
1621
+ bonusTiers?: {
1622
+ value: number;
1623
+ type: import("./bonus-tier.types").BonusType;
1624
+ startAmount: number;
1625
+ endAmount: number;
1626
+ }[] | undefined;
1627
+ }>;
1413
1628
  export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1414
1629
  issuerId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
1630
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1415
1631
  name: z.ZodString;
1416
1632
  type: z.ZodNativeEnum<typeof OfferingType>;
1417
1633
  targetAmount: z.ZodNumber;
@@ -1423,7 +1639,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1423
1639
  endAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>;
1424
1640
  active: z.ZodOptional<z.ZodBoolean>;
1425
1641
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1426
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1642
+ 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>>;
1427
1643
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1428
1644
  assetName: z.ZodString;
1429
1645
  assetType: z.ZodNativeEnum<typeof AssetType>;
@@ -1436,13 +1652,9 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1436
1652
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1437
1653
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1438
1654
  hasEscrow: z.ZodOptional<z.ZodBoolean>;
1439
- escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1440
1655
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1441
1656
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1442
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1443
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1444
1657
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1445
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1446
1658
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1447
1659
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1448
1660
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1479,12 +1691,21 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1479
1691
  startAmount: number;
1480
1692
  endAmount: number;
1481
1693
  }>, "many">>;
1694
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1695
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1696
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1697
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1698
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1699
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1700
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1701
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1482
1702
  }, "strip", z.ZodTypeAny, {
1483
1703
  type: OfferingType;
1484
1704
  name: string;
1485
1705
  template: AssetTemplateType;
1486
1706
  targetAmount: number;
1487
1707
  issuerId: string;
1708
+ warrantsEnabled: boolean;
1488
1709
  assetName: string;
1489
1710
  assetType: AssetType;
1490
1711
  pricePerUnit: number | null;
@@ -1499,19 +1720,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1499
1720
  startAt?: Date | null | undefined;
1500
1721
  endAt?: Date | null | undefined;
1501
1722
  cancellationPeriod?: number | null | undefined;
1723
+ showTotalRaised?: boolean | undefined;
1502
1724
  hasEscrow?: boolean | undefined;
1503
- escrowAgreementFileId?: string | null | undefined;
1504
1725
  bankAccountId?: string | null | undefined;
1505
1726
  escrowAccountId?: string | null | undefined;
1727
+ totalShares?: number | null | undefined;
1728
+ warrantTermYears?: number | null | undefined;
1729
+ exercisePrice?: number | null | undefined;
1730
+ warrantPercentage?: number | null | undefined;
1731
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1732
+ incrementThreshold?: number | null | undefined;
1733
+ shareClassId?: string | null | undefined;
1506
1734
  yield?: number | null | undefined;
1507
1735
  duration?: number | null | undefined;
1508
1736
  durationType?: DurationType | null | undefined;
1509
1737
  tiers?: number[] | null | undefined;
1510
1738
  enableBonus?: boolean | undefined;
1511
- principalAmount?: number | null | undefined;
1512
- maxTotalRaise?: number | null | undefined;
1513
1739
  interestRate?: number | null | undefined;
1514
- interestType?: InterestType | null | undefined;
1515
1740
  bonusTiers?: {
1516
1741
  value: number;
1517
1742
  type: import("./bonus-tier.types").BonusType;
@@ -1538,19 +1763,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1538
1763
  startAt?: string | null | undefined;
1539
1764
  endAt?: string | null | undefined;
1540
1765
  cancellationPeriod?: number | null | undefined;
1766
+ showTotalRaised?: boolean | undefined;
1541
1767
  hasEscrow?: boolean | undefined;
1542
- escrowAgreementFileId?: string | null | undefined;
1543
1768
  bankAccountId?: string | null | undefined;
1544
1769
  escrowAccountId?: string | null | undefined;
1770
+ warrantsEnabled?: boolean | undefined;
1771
+ totalShares?: number | null | undefined;
1772
+ warrantTermYears?: number | null | undefined;
1773
+ exercisePrice?: number | null | undefined;
1774
+ warrantPercentage?: number | null | undefined;
1775
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1776
+ incrementThreshold?: number | null | undefined;
1777
+ shareClassId?: string | null | undefined;
1545
1778
  yield?: number | null | undefined;
1546
1779
  duration?: number | null | undefined;
1547
1780
  durationType?: DurationType | null | undefined;
1548
1781
  tiers?: number[] | null | undefined;
1549
1782
  enableBonus?: boolean | undefined;
1550
- principalAmount?: number | null | undefined;
1551
- maxTotalRaise?: number | null | undefined;
1552
1783
  interestRate?: number | null | undefined;
1553
- interestType?: InterestType | null | undefined;
1554
1784
  bonusTiers?: {
1555
1785
  value: number;
1556
1786
  type: import("./bonus-tier.types").BonusType;
@@ -1563,6 +1793,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1563
1793
  template: AssetTemplateType;
1564
1794
  targetAmount: number;
1565
1795
  issuerId: string;
1796
+ warrantsEnabled: boolean;
1566
1797
  assetName: string;
1567
1798
  assetType: AssetType;
1568
1799
  pricePerUnit: number | null;
@@ -1577,19 +1808,23 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1577
1808
  startAt?: Date | null | undefined;
1578
1809
  endAt?: Date | null | undefined;
1579
1810
  cancellationPeriod?: number | null | undefined;
1811
+ showTotalRaised?: boolean | undefined;
1580
1812
  hasEscrow?: boolean | undefined;
1581
- escrowAgreementFileId?: string | null | undefined;
1582
1813
  bankAccountId?: string | null | undefined;
1583
1814
  escrowAccountId?: string | null | undefined;
1815
+ totalShares?: number | null | undefined;
1816
+ warrantTermYears?: number | null | undefined;
1817
+ exercisePrice?: number | null | undefined;
1818
+ warrantPercentage?: number | null | undefined;
1819
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1820
+ incrementThreshold?: number | null | undefined;
1821
+ shareClassId?: string | null | undefined;
1584
1822
  yield?: number | null | undefined;
1585
1823
  duration?: number | null | undefined;
1586
1824
  durationType?: DurationType | null | undefined;
1587
1825
  tiers?: number[] | null | undefined;
1588
1826
  enableBonus?: boolean | undefined;
1589
- principalAmount?: number | null | undefined;
1590
- maxTotalRaise?: number | null | undefined;
1591
1827
  interestRate?: number | null | undefined;
1592
- interestType?: InterestType | null | undefined;
1593
1828
  bonusTiers?: {
1594
1829
  value: number;
1595
1830
  type: import("./bonus-tier.types").BonusType;
@@ -1616,19 +1851,24 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1616
1851
  startAt?: string | null | undefined;
1617
1852
  endAt?: string | null | undefined;
1618
1853
  cancellationPeriod?: number | null | undefined;
1854
+ showTotalRaised?: boolean | undefined;
1619
1855
  hasEscrow?: boolean | undefined;
1620
- escrowAgreementFileId?: string | null | undefined;
1621
1856
  bankAccountId?: string | null | undefined;
1622
1857
  escrowAccountId?: string | null | undefined;
1858
+ warrantsEnabled?: boolean | undefined;
1859
+ totalShares?: number | null | undefined;
1860
+ warrantTermYears?: number | null | undefined;
1861
+ exercisePrice?: number | null | undefined;
1862
+ warrantPercentage?: number | null | undefined;
1863
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1864
+ incrementThreshold?: number | null | undefined;
1865
+ shareClassId?: string | null | undefined;
1623
1866
  yield?: number | null | undefined;
1624
1867
  duration?: number | null | undefined;
1625
1868
  durationType?: DurationType | null | undefined;
1626
1869
  tiers?: number[] | null | undefined;
1627
1870
  enableBonus?: boolean | undefined;
1628
- principalAmount?: number | null | undefined;
1629
- maxTotalRaise?: number | null | undefined;
1630
1871
  interestRate?: number | null | undefined;
1631
- interestType?: InterestType | null | undefined;
1632
1872
  bonusTiers?: {
1633
1873
  value: number;
1634
1874
  type: import("./bonus-tier.types").BonusType;
@@ -1638,6 +1878,7 @@ export declare const PostIssuerOffering: z.ZodEffects<z.ZodObject<{
1638
1878
  }>;
1639
1879
  export type PostIssuerOffering = z.infer<typeof PostIssuerOffering>;
1640
1880
  export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1881
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1641
1882
  name: z.ZodOptional<z.ZodString>;
1642
1883
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1643
1884
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1647,11 +1888,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1647
1888
  startAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1648
1889
  endAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, Date | null, string | null>>>;
1649
1890
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1650
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1891
+ 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>>;
1651
1892
  memorandumId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1652
1893
  subscriptionAgreementId: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1653
1894
  coverArtId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1654
- managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1655
1895
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
1656
1896
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1657
1897
  assetName: z.ZodOptional<z.ZodString>;
@@ -1666,13 +1906,10 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1666
1906
  enabled: z.ZodOptional<z.ZodBoolean>;
1667
1907
  enableBonus: z.ZodOptional<z.ZodBoolean>;
1668
1908
  hasEscrow: z.ZodOptional<z.ZodBoolean>;
1669
- escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1909
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1670
1910
  bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1671
1911
  escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1672
- principalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1673
- maxTotalRaise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1674
1912
  interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1675
- interestType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof InterestType>>>;
1676
1913
  bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1677
1914
  type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1678
1915
  value: z.ZodEffects<z.ZodNumber, number, number>;
@@ -1709,10 +1946,16 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1709
1946
  startAmount: number;
1710
1947
  endAmount: number;
1711
1948
  }>, "many">>;
1949
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1950
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1951
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1952
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1953
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1954
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1955
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1712
1956
  }, "strip", z.ZodTypeAny, {
1713
1957
  type?: OfferingType | undefined;
1714
1958
  name?: string | undefined;
1715
- managedBy?: ManagedByType | undefined;
1716
1959
  description?: string | null | undefined;
1717
1960
  enabled?: boolean | undefined;
1718
1961
  template?: AssetTemplateType | null | undefined;
@@ -1732,6 +1975,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1732
1975
  escrowAgreementFileId?: string | null | undefined;
1733
1976
  bankAccountId?: string | null | undefined;
1734
1977
  escrowAccountId?: string | null | undefined;
1978
+ warrantsEnabled?: boolean | undefined;
1979
+ totalShares?: number | null | undefined;
1980
+ warrantTermYears?: number | null | undefined;
1981
+ exercisePrice?: number | null | undefined;
1982
+ warrantPercentage?: number | null | undefined;
1983
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1984
+ incrementThreshold?: number | null | undefined;
1985
+ shareClassId?: string | null | undefined;
1735
1986
  assetName?: string | undefined;
1736
1987
  assetType?: AssetType | undefined;
1737
1988
  pricePerUnit?: number | null | undefined;
@@ -1741,10 +1992,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1741
1992
  durationType?: DurationType | null | undefined;
1742
1993
  tiers?: number[] | null | undefined;
1743
1994
  enableBonus?: boolean | undefined;
1744
- principalAmount?: number | null | undefined;
1745
- maxTotalRaise?: number | null | undefined;
1746
1995
  interestRate?: number | null | undefined;
1747
- interestType?: InterestType | null | undefined;
1748
1996
  bonusTiers?: {
1749
1997
  value: number;
1750
1998
  type: import("./bonus-tier.types").BonusType;
@@ -1754,7 +2002,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1754
2002
  }, {
1755
2003
  type?: OfferingType | undefined;
1756
2004
  name?: string | undefined;
1757
- managedBy?: ManagedByType | undefined;
1758
2005
  description?: string | null | undefined;
1759
2006
  enabled?: boolean | undefined;
1760
2007
  template?: AssetTemplateType | null | undefined;
@@ -1774,6 +2021,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1774
2021
  escrowAgreementFileId?: string | null | undefined;
1775
2022
  bankAccountId?: string | null | undefined;
1776
2023
  escrowAccountId?: string | null | undefined;
2024
+ warrantsEnabled?: boolean | undefined;
2025
+ totalShares?: number | null | undefined;
2026
+ warrantTermYears?: number | null | undefined;
2027
+ exercisePrice?: number | null | undefined;
2028
+ warrantPercentage?: number | null | undefined;
2029
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2030
+ incrementThreshold?: number | null | undefined;
2031
+ shareClassId?: string | null | undefined;
1777
2032
  assetName?: string | undefined;
1778
2033
  assetType?: AssetType | undefined;
1779
2034
  pricePerUnit?: number | null | undefined;
@@ -1783,10 +2038,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1783
2038
  durationType?: DurationType | null | undefined;
1784
2039
  tiers?: number[] | null | undefined;
1785
2040
  enableBonus?: boolean | undefined;
1786
- principalAmount?: number | null | undefined;
1787
- maxTotalRaise?: number | null | undefined;
1788
2041
  interestRate?: number | null | undefined;
1789
- interestType?: InterestType | null | undefined;
1790
2042
  bonusTiers?: {
1791
2043
  value: number;
1792
2044
  type: import("./bonus-tier.types").BonusType;
@@ -1796,7 +2048,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1796
2048
  }>, {
1797
2049
  type?: OfferingType | undefined;
1798
2050
  name?: string | undefined;
1799
- managedBy?: ManagedByType | undefined;
1800
2051
  description?: string | null | undefined;
1801
2052
  enabled?: boolean | undefined;
1802
2053
  template?: AssetTemplateType | null | undefined;
@@ -1816,6 +2067,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1816
2067
  escrowAgreementFileId?: string | null | undefined;
1817
2068
  bankAccountId?: string | null | undefined;
1818
2069
  escrowAccountId?: string | null | undefined;
2070
+ warrantsEnabled?: boolean | undefined;
2071
+ totalShares?: number | null | undefined;
2072
+ warrantTermYears?: number | null | undefined;
2073
+ exercisePrice?: number | null | undefined;
2074
+ warrantPercentage?: number | null | undefined;
2075
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2076
+ incrementThreshold?: number | null | undefined;
2077
+ shareClassId?: string | null | undefined;
1819
2078
  assetName?: string | undefined;
1820
2079
  assetType?: AssetType | undefined;
1821
2080
  pricePerUnit?: number | null | undefined;
@@ -1825,10 +2084,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1825
2084
  durationType?: DurationType | null | undefined;
1826
2085
  tiers?: number[] | null | undefined;
1827
2086
  enableBonus?: boolean | undefined;
1828
- principalAmount?: number | null | undefined;
1829
- maxTotalRaise?: number | null | undefined;
1830
2087
  interestRate?: number | null | undefined;
1831
- interestType?: InterestType | null | undefined;
1832
2088
  bonusTiers?: {
1833
2089
  value: number;
1834
2090
  type: import("./bonus-tier.types").BonusType;
@@ -1838,7 +2094,6 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1838
2094
  }, {
1839
2095
  type?: OfferingType | undefined;
1840
2096
  name?: string | undefined;
1841
- managedBy?: ManagedByType | undefined;
1842
2097
  description?: string | null | undefined;
1843
2098
  enabled?: boolean | undefined;
1844
2099
  template?: AssetTemplateType | null | undefined;
@@ -1858,6 +2113,14 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1858
2113
  escrowAgreementFileId?: string | null | undefined;
1859
2114
  bankAccountId?: string | null | undefined;
1860
2115
  escrowAccountId?: string | null | undefined;
2116
+ warrantsEnabled?: boolean | undefined;
2117
+ totalShares?: number | null | undefined;
2118
+ warrantTermYears?: number | null | undefined;
2119
+ exercisePrice?: number | null | undefined;
2120
+ warrantPercentage?: number | null | undefined;
2121
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2122
+ incrementThreshold?: number | null | undefined;
2123
+ shareClassId?: string | null | undefined;
1861
2124
  assetName?: string | undefined;
1862
2125
  assetType?: AssetType | undefined;
1863
2126
  pricePerUnit?: number | null | undefined;
@@ -1867,10 +2130,7 @@ export declare const PatchIssuerOffering: z.ZodEffects<z.ZodObject<{
1867
2130
  durationType?: DurationType | null | undefined;
1868
2131
  tiers?: number[] | null | undefined;
1869
2132
  enableBonus?: boolean | undefined;
1870
- principalAmount?: number | null | undefined;
1871
- maxTotalRaise?: number | null | undefined;
1872
2133
  interestRate?: number | null | undefined;
1873
- interestType?: InterestType | null | undefined;
1874
2134
  bonusTiers?: {
1875
2135
  value: number;
1876
2136
  type: import("./bonus-tier.types").BonusType;
@@ -1932,10 +2192,10 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1932
2192
  issuerId: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>;
1933
2193
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1934
2194
  status: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
2195
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
1935
2196
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
1936
2197
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
1937
2198
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
1938
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
1939
2199
  sortByNameASC: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, boolean, unknown>;
1940
2200
  }, "strip", z.ZodTypeAny, {
1941
2201
  sortByNameASC: boolean;
@@ -1944,23 +2204,33 @@ export declare const IssuerOfferingsFilterZod: z.ZodObject<{
1944
2204
  accountId?: string | undefined;
1945
2205
  name?: string | undefined;
1946
2206
  managedBy?: ManagedByType | undefined;
2207
+ complianceReview?: ComplianceReview | undefined;
1947
2208
  enabled?: boolean | undefined;
1948
2209
  issuerId?: string | undefined;
1949
2210
  issuerName?: string | undefined;
1950
2211
  versioningType?: OfferingVersioningType | undefined;
1951
- combinedStatus?: OfferingStatus | undefined;
1952
2212
  }, {
1953
2213
  type?: OfferingType | undefined;
1954
2214
  status?: ComplianceReview | undefined;
1955
2215
  accountId?: string | undefined;
1956
2216
  name?: string | undefined;
1957
2217
  managedBy?: ManagedByType | undefined;
2218
+ complianceReview?: ComplianceReview | undefined;
1958
2219
  enabled?: unknown;
1959
2220
  issuerId?: string | undefined;
1960
2221
  issuerName?: string | undefined;
1961
2222
  versioningType?: OfferingVersioningType | undefined;
1962
- combinedStatus?: OfferingStatus | undefined;
1963
2223
  sortByNameASC?: unknown;
1964
2224
  }>;
1965
2225
  export type IssuerOfferingsFilterZod = z.infer<typeof IssuerOfferingsFilterZod>;
1966
- export declare const postEscrowRefinement: (data: any, ctx: any) => void;
2226
+ export declare const escrowValidationRefinement: (data: any, ctx: any, httpMethod: HttpMethod) => void;
2227
+ /**
2228
+ * Adds validation issues to the context if warrant-related fields are missing
2229
+ * when warrants are enabled on an offering. This function checks required fields for
2230
+ * offerings with warrants enabled, including totalShares, warrantTermYears, exercisePrice,
2231
+ * warrantPercentage, calculationMethod, and incrementThreshold (when calculationMethod is INCREMENT).
2232
+ *
2233
+ * @param data - The offering data to be validated (PostIssuerOffering or PostComplianceOffering)
2234
+ * @param ctx - The Zod refinement context to which validation issues will be added
2235
+ */
2236
+ export declare const warrantsValidationRefinement: (data: PostIssuerOffering | PostComplianceOffering, ctx: z.RefinementCtx) => void;