@dalmore/api-contracts 0.0.0-dev.74136b1 → 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 (135) 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 +212 -0
  17. package/common/types/asset.types.js +115 -42
  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 +11 -0
  23. package/common/types/bonus-tier.types.js +14 -7
  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 +359 -9
  29. package/common/types/common.types.js +74 -4
  30. package/common/types/common.types.js.map +1 -1
  31. package/common/types/comply-advantage-api.types.d.ts +86 -992
  32. package/common/types/comply-advantage-api.types.js +15 -2
  33. package/common/types/comply-advantage-api.types.js.map +1 -1
  34. package/common/types/csv.types.d.ts +3612 -0
  35. package/common/types/csv.types.js +290 -0
  36. package/common/types/csv.types.js.map +1 -0
  37. package/common/types/dashboard.types.d.ts +7 -7
  38. package/common/types/data-record.types.d.ts +4 -4
  39. package/common/types/disbursement-transaction.types.d.ts +1 -1
  40. package/common/types/disbursement-transaction.types.js +1 -1
  41. package/common/types/disbursement-transaction.types.js.map +1 -1
  42. package/common/types/disbursements.types.d.ts +999 -587
  43. package/common/types/disbursements.types.js +95 -2
  44. package/common/types/disbursements.types.js.map +1 -1
  45. package/common/types/escrow-account.types.d.ts +17 -0
  46. package/common/types/escrow-account.types.js +3 -0
  47. package/common/types/escrow-account.types.js.map +1 -1
  48. package/common/types/exchange-provider.types.d.ts +12 -12
  49. package/common/types/file.types.d.ts +38 -11
  50. package/common/types/file.types.js +14 -0
  51. package/common/types/file.types.js.map +1 -1
  52. package/common/types/index.d.ts +4 -2
  53. package/common/types/index.js +4 -2
  54. package/common/types/index.js.map +1 -1
  55. package/common/types/individuals.types.d.ts +207 -5
  56. package/common/types/individuals.types.js +16 -16
  57. package/common/types/individuals.types.js.map +1 -1
  58. package/common/types/investor-account.types.d.ts +1 -1
  59. package/common/types/investor-account.types.js +1 -2
  60. package/common/types/investor-account.types.js.map +1 -1
  61. package/common/types/investors-offering.types.d.ts +8 -0
  62. package/common/types/investors-offering.types.js +1 -0
  63. package/common/types/investors-offering.types.js.map +1 -1
  64. package/common/types/invite.types.d.ts +5 -2
  65. package/common/types/invite.types.js +2 -1
  66. package/common/types/invite.types.js.map +1 -1
  67. package/common/types/issuer-bank-account.types.d.ts +4 -276
  68. package/common/types/issuer-offering.types.d.ts +1007 -16
  69. package/common/types/issuer-offering.types.js +304 -43
  70. package/common/types/issuer-offering.types.js.map +1 -1
  71. package/common/types/job-item.types.d.ts +14 -14
  72. package/common/types/legal-entity.types.d.ts +39 -1
  73. package/common/types/legal-entity.types.js +8 -5
  74. package/common/types/legal-entity.types.js.map +1 -1
  75. package/common/types/mail-template.types.d.ts +4 -4
  76. package/common/types/note.types.d.ts +15 -15
  77. package/common/types/notification.types.d.ts +1 -0
  78. package/common/types/notification.types.js +3 -0
  79. package/common/types/notification.types.js.map +1 -1
  80. package/common/types/offering-submission.types.d.ts +198 -0
  81. package/common/types/offering-submission.types.js +17 -4
  82. package/common/types/offering-submission.types.js.map +1 -1
  83. package/common/types/offering.types.d.ts +549 -25
  84. package/common/types/offering.types.js +355 -28
  85. package/common/types/offering.types.js.map +1 -1
  86. package/common/types/payment-methods.types.d.ts +365 -0
  87. package/common/types/payment-methods.types.js +121 -0
  88. package/common/types/payment-methods.types.js.map +1 -1
  89. package/common/types/portfolio.types.d.ts +6 -6
  90. package/common/types/reports.types.d.ts +345 -0
  91. package/common/types/reports.types.js +69 -0
  92. package/common/types/reports.types.js.map +1 -0
  93. package/common/types/review.types.js +1 -1
  94. package/common/types/review.types.js.map +1 -1
  95. package/common/types/secondary-order.types.d.ts +10 -10
  96. package/common/types/secondary-trade.types.d.ts +10 -10
  97. package/common/types/signer.types.d.ts +8 -8
  98. package/common/types/site.types.d.ts +17 -12
  99. package/common/types/task.types.d.ts +30 -22
  100. package/common/types/task.types.js +3 -0
  101. package/common/types/task.types.js.map +1 -1
  102. package/common/types/trade-line-item.types.d.ts +24 -0
  103. package/common/types/trade-line-item.types.js +3 -0
  104. package/common/types/trade-line-item.types.js.map +1 -1
  105. package/common/types/trade.types.d.ts +22 -14
  106. package/common/types/trade.types.js +20 -7
  107. package/common/types/trade.types.js.map +1 -1
  108. package/common/types/transaction.types.d.ts +104 -3
  109. package/common/types/transaction.types.js +48 -3
  110. package/common/types/transaction.types.js.map +1 -1
  111. package/common/types/user.types.d.ts +108 -82
  112. package/common/types/user.types.js +10 -23
  113. package/common/types/user.types.js.map +1 -1
  114. package/common/types/zapier.types.d.ts +126 -0
  115. package/common/types/zapier.types.js +247 -0
  116. package/common/types/zapier.types.js.map +1 -0
  117. package/contracts/clients/assets/index.d.ts +22 -0
  118. package/contracts/clients/csv/index.d.ts +1800 -0
  119. package/contracts/clients/csv/index.js +96 -0
  120. package/contracts/clients/csv/index.js.map +1 -0
  121. package/contracts/clients/files/index.d.ts +3 -3
  122. package/contracts/clients/files-public/index.d.ts +3 -3
  123. package/contracts/clients/index.d.ts +3675 -1043
  124. package/contracts/clients/index.js +8 -2
  125. package/contracts/clients/index.js.map +1 -1
  126. package/contracts/clients/individuals/index.d.ts +5 -5
  127. package/contracts/clients/legal-entities/index.d.ts +1 -1
  128. package/contracts/clients/offerings/index.d.ts +310 -9
  129. package/contracts/clients/review/index.d.ts +85 -0
  130. package/contracts/clients/review/index.js +27 -0
  131. package/contracts/clients/review/index.js.map +1 -0
  132. package/contracts/clients/webhooks/index.d.ts +506 -0
  133. package/contracts/clients/webhooks/index.js +118 -0
  134. package/contracts/clients/webhooks/index.js.map +1 -0
  135. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType } from './common.types';
3
- import { OfferingStatus } from './issuer-offering.types';
2
+ import { ComplianceReview, OfferingType, ManagedByType, SortOrder, SortBy, OfferingVersioningType, OfferingOnboardingStatus, AssetType, DurationType, WarrantSharesCalculationMethod } from './common.types';
4
3
  import { AssetTemplateType } from './asset.types';
5
4
  export declare enum OfferingFeeType {
6
5
  FIXED = "FIXED",
@@ -27,6 +26,14 @@ export declare const OfferingPlatformSettings: z.ZodObject<{
27
26
  export type OfferingPlatformSettings = z.infer<typeof OfferingPlatformSettings>;
28
27
  export declare const IOffering: any;
29
28
  export type IOffering = z.infer<typeof IOffering>;
29
+ export declare const QueueSoldOutOfferingsCheckResponseSchema: z.ZodObject<{
30
+ message: z.ZodString;
31
+ }, "strip", z.ZodTypeAny, {
32
+ message: string;
33
+ }, {
34
+ message: string;
35
+ }>;
36
+ export type QueueSoldOutOfferingsCheckResponse = z.infer<typeof QueueSoldOutOfferingsCheckResponseSchema>;
30
37
  export declare const IPaginatedOffering: z.ZodObject<{
31
38
  items: z.ZodArray<any, "many">;
32
39
  meta: z.ZodObject<{
@@ -68,9 +75,11 @@ export declare const IPaginatedOffering: z.ZodObject<{
68
75
  };
69
76
  }>;
70
77
  export type IPaginatedOffering = z.infer<typeof IPaginatedOffering>;
78
+ export declare const OfferingDescriptionZod: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
79
+ export type OfferingDescriptionZod = z.infer<typeof OfferingDescriptionZod>;
71
80
  export declare const PatchOfferingBase: z.ZodObject<{
72
81
  name: z.ZodOptional<z.ZodString>;
73
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
74
83
  tid: z.ZodOptional<z.ZodString>;
75
84
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
76
85
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -113,6 +122,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
113
122
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
114
123
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
115
124
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
125
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
116
126
  }, "strip", z.ZodTypeAny, {
117
127
  platformSettings: string | null;
118
128
  type?: OfferingType | undefined;
@@ -135,6 +145,7 @@ export declare const PatchOfferingBase: z.ZodObject<{
135
145
  memorandumId?: string | null | undefined;
136
146
  subscriptionAgreementId?: string | null | undefined;
137
147
  showTotalRaised?: boolean | undefined;
148
+ shareClassId?: string | null | undefined;
138
149
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
139
150
  subscriptionAgreementTemplateId?: string | null | undefined;
140
151
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -165,13 +176,14 @@ export declare const PatchOfferingBase: z.ZodObject<{
165
176
  memorandumId?: string | null | undefined;
166
177
  subscriptionAgreementId?: string | null | undefined;
167
178
  showTotalRaised?: boolean | undefined;
179
+ shareClassId?: string | null | undefined;
168
180
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
169
181
  subscriptionAgreementTemplateId?: string | null | undefined;
170
182
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
171
183
  }>;
172
184
  export declare const PatchOffering: z.ZodObject<{
173
185
  name: z.ZodOptional<z.ZodString>;
174
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
175
187
  tid: z.ZodOptional<z.ZodString>;
176
188
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
177
189
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -214,6 +226,7 @@ export declare const PatchOffering: z.ZodObject<{
214
226
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
215
227
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
216
228
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
229
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
217
230
  } & {
218
231
  assetName: z.ZodOptional<z.ZodString>;
219
232
  assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
@@ -225,6 +238,54 @@ export declare const PatchOffering: z.ZodObject<{
225
238
  template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
226
239
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
227
240
  enableBonus: z.ZodOptional<z.ZodBoolean>;
241
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
242
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
243
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
244
+ value: z.ZodEffects<z.ZodNumber, number, number>;
245
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
246
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ value: number;
249
+ type: import("./bonus-tier.types").BonusType;
250
+ startAmount: number;
251
+ endAmount: number;
252
+ }, {
253
+ value: number;
254
+ type: import("./bonus-tier.types").BonusType;
255
+ startAmount: number;
256
+ endAmount: number;
257
+ }>, {
258
+ value: number;
259
+ type: import("./bonus-tier.types").BonusType;
260
+ startAmount: number;
261
+ endAmount: number;
262
+ }, {
263
+ value: number;
264
+ type: import("./bonus-tier.types").BonusType;
265
+ startAmount: number;
266
+ endAmount: number;
267
+ }>, {
268
+ value: number;
269
+ type: import("./bonus-tier.types").BonusType;
270
+ startAmount: number;
271
+ endAmount: number;
272
+ }, {
273
+ value: number;
274
+ type: import("./bonus-tier.types").BonusType;
275
+ startAmount: number;
276
+ endAmount: number;
277
+ }>, "many">>;
278
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
279
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
280
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
281
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
282
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
283
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
284
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
285
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
286
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
287
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
288
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
228
289
  }, "strip", z.ZodTypeAny, {
229
290
  platformSettings: string | null;
230
291
  type?: OfferingType | undefined;
@@ -248,6 +309,18 @@ export declare const PatchOffering: z.ZodObject<{
248
309
  memorandumId?: string | null | undefined;
249
310
  subscriptionAgreementId?: string | null | undefined;
250
311
  showTotalRaised?: boolean | undefined;
312
+ hasEscrow?: boolean | undefined;
313
+ escrowAgreementFileId?: string | null | undefined;
314
+ bankAccountId?: string | null | undefined;
315
+ escrowAccountId?: string | null | undefined;
316
+ warrantsEnabled?: boolean | undefined;
317
+ totalShares?: number | null | undefined;
318
+ warrantTermYears?: number | null | undefined;
319
+ exercisePrice?: number | null | undefined;
320
+ warrantPercentage?: number | null | undefined;
321
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
322
+ incrementThreshold?: number | null | undefined;
323
+ shareClassId?: string | null | undefined;
251
324
  assetName?: string | undefined;
252
325
  assetType?: AssetType | undefined;
253
326
  pricePerUnit?: number | null | undefined;
@@ -257,6 +330,13 @@ export declare const PatchOffering: z.ZodObject<{
257
330
  durationType?: DurationType | null | undefined;
258
331
  tiers?: number[] | null | undefined;
259
332
  enableBonus?: boolean | undefined;
333
+ interestRate?: number | null | undefined;
334
+ bonusTiers?: {
335
+ value: number;
336
+ type: import("./bonus-tier.types").BonusType;
337
+ startAmount: number;
338
+ endAmount: number;
339
+ }[] | undefined;
260
340
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
261
341
  subscriptionAgreementTemplateId?: string | null | undefined;
262
342
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -288,6 +368,18 @@ export declare const PatchOffering: z.ZodObject<{
288
368
  memorandumId?: string | null | undefined;
289
369
  subscriptionAgreementId?: string | null | undefined;
290
370
  showTotalRaised?: boolean | undefined;
371
+ hasEscrow?: boolean | undefined;
372
+ escrowAgreementFileId?: string | null | undefined;
373
+ bankAccountId?: string | null | undefined;
374
+ escrowAccountId?: string | null | undefined;
375
+ warrantsEnabled?: boolean | undefined;
376
+ totalShares?: number | null | undefined;
377
+ warrantTermYears?: number | null | undefined;
378
+ exercisePrice?: number | null | undefined;
379
+ warrantPercentage?: number | null | undefined;
380
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
381
+ incrementThreshold?: number | null | undefined;
382
+ shareClassId?: string | null | undefined;
291
383
  assetName?: string | undefined;
292
384
  assetType?: AssetType | undefined;
293
385
  pricePerUnit?: number | null | undefined;
@@ -297,14 +389,63 @@ export declare const PatchOffering: z.ZodObject<{
297
389
  durationType?: DurationType | null | undefined;
298
390
  tiers?: number[] | null | undefined;
299
391
  enableBonus?: boolean | undefined;
392
+ interestRate?: number | null | undefined;
393
+ bonusTiers?: {
394
+ value: number;
395
+ type: import("./bonus-tier.types").BonusType;
396
+ startAmount: number;
397
+ endAmount: number;
398
+ }[] | undefined;
300
399
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
301
400
  subscriptionAgreementTemplateId?: string | null | undefined;
302
401
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
303
402
  }>;
304
403
  export type PatchOffering = z.infer<typeof PatchOffering>;
404
+ /**
405
+ * Optional params for resolveAndValidateOfferingUpdateFields.
406
+ * All fields are optional and nullable; resolution merges with offering/asset values.
407
+ */
408
+ export declare const ResolveOfferingUpdateFieldsParamsZod: z.ZodObject<{
409
+ minInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
410
+ maxInvestment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
411
+ targetAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
412
+ pricePerUnit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
+ }, "strip", z.ZodTypeAny, {
414
+ targetAmount?: number | null | undefined;
415
+ minInvestment?: number | null | undefined;
416
+ maxInvestment?: number | null | undefined;
417
+ pricePerUnit?: number | null | undefined;
418
+ }, {
419
+ targetAmount?: number | null | undefined;
420
+ minInvestment?: number | null | undefined;
421
+ maxInvestment?: number | null | undefined;
422
+ pricePerUnit?: number | null | undefined;
423
+ }>;
424
+ export type ResolveOfferingUpdateFieldsParams = z.infer<typeof ResolveOfferingUpdateFieldsParamsZod>;
425
+ /**
426
+ * Resolved, validated offering update fields (price per unit, target amount, min/max investment).
427
+ * Returned by resolveAndValidateOfferingUpdateFields and passed into validateBonusTiersForUpdate.
428
+ */
429
+ export declare const ResolvedOfferingUpdateFieldsZod: z.ZodObject<{
430
+ pricePerUnit: z.ZodNumber;
431
+ targetAmount: z.ZodNumber;
432
+ minInvestment: z.ZodNullable<z.ZodNumber>;
433
+ maxInvestment: z.ZodNullable<z.ZodNumber>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ targetAmount: number;
436
+ minInvestment: number | null;
437
+ maxInvestment: number | null;
438
+ pricePerUnit: number;
439
+ }, {
440
+ targetAmount: number;
441
+ minInvestment: number | null;
442
+ maxInvestment: number | null;
443
+ pricePerUnit: number;
444
+ }>;
445
+ export type ResolvedOfferingUpdateFields = z.infer<typeof ResolvedOfferingUpdateFieldsZod>;
305
446
  export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
306
447
  name: z.ZodOptional<z.ZodString>;
307
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
448
+ description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
308
449
  tid: z.ZodOptional<z.ZodString>;
309
450
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
310
451
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -344,11 +485,11 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
344
485
  subscriptionAgreementId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
345
486
  jointSubscriptionAgreementTemplateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
346
487
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
347
- showTotalRaised: z.ZodOptional<z.ZodBoolean>;
348
488
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
349
489
  } & {
350
490
  accountId: z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>;
351
491
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
492
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
352
493
  assetName: z.ZodString;
353
494
  assetType: z.ZodNativeEnum<typeof AssetType>;
354
495
  pricePerUnit: z.ZodNullable<z.ZodNumber>;
@@ -359,10 +500,59 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
359
500
  template: z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>;
360
501
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
361
502
  enableBonus: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
503
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
504
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
505
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
506
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
507
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
508
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
509
+ value: z.ZodEffects<z.ZodNumber, number, number>;
510
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
511
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
512
+ }, "strip", z.ZodTypeAny, {
513
+ value: number;
514
+ type: import("./bonus-tier.types").BonusType;
515
+ startAmount: number;
516
+ endAmount: number;
517
+ }, {
518
+ value: number;
519
+ type: import("./bonus-tier.types").BonusType;
520
+ startAmount: number;
521
+ endAmount: number;
522
+ }>, {
523
+ value: number;
524
+ type: import("./bonus-tier.types").BonusType;
525
+ startAmount: number;
526
+ endAmount: number;
527
+ }, {
528
+ value: number;
529
+ type: import("./bonus-tier.types").BonusType;
530
+ startAmount: number;
531
+ endAmount: number;
532
+ }>, {
533
+ value: number;
534
+ type: import("./bonus-tier.types").BonusType;
535
+ startAmount: number;
536
+ endAmount: number;
537
+ }, {
538
+ value: number;
539
+ type: import("./bonus-tier.types").BonusType;
540
+ startAmount: number;
541
+ endAmount: number;
542
+ }>, "many">>;
543
+ warrantsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
544
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
545
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
546
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
547
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
548
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
549
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
550
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
362
551
  }, "strip", z.ZodTypeAny, {
363
552
  accountId: string;
364
553
  template: AssetTemplateType;
365
554
  platformSettings: string | null;
555
+ warrantsEnabled: boolean;
366
556
  assetName: string;
367
557
  assetType: AssetType;
368
558
  pricePerUnit: number | null;
@@ -387,11 +577,28 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
387
577
  memorandumId?: string | null | undefined;
388
578
  subscriptionAgreementId?: string | null | undefined;
389
579
  showTotalRaised?: boolean | undefined;
580
+ hasEscrow?: boolean | undefined;
581
+ bankAccountId?: string | null | undefined;
582
+ escrowAccountId?: string | null | undefined;
583
+ totalShares?: number | null | undefined;
584
+ warrantTermYears?: number | null | undefined;
585
+ exercisePrice?: number | null | undefined;
586
+ warrantPercentage?: number | null | undefined;
587
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
588
+ incrementThreshold?: number | null | undefined;
589
+ shareClassId?: string | null | undefined;
390
590
  yield?: number | null | undefined;
391
591
  duration?: number | null | undefined;
392
592
  durationType?: DurationType | null | undefined;
393
593
  tiers?: number[] | null | undefined;
394
594
  enableBonus?: boolean | undefined;
595
+ interestRate?: number | null | undefined;
596
+ bonusTiers?: {
597
+ value: number;
598
+ type: import("./bonus-tier.types").BonusType;
599
+ startAmount: number;
600
+ endAmount: number;
601
+ }[] | undefined;
395
602
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
396
603
  subscriptionAgreementTemplateId?: string | null | undefined;
397
604
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -428,11 +635,29 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
428
635
  memorandumId?: string | null | undefined;
429
636
  subscriptionAgreementId?: string | null | undefined;
430
637
  showTotalRaised?: boolean | undefined;
638
+ hasEscrow?: boolean | undefined;
639
+ bankAccountId?: string | null | undefined;
640
+ escrowAccountId?: string | null | undefined;
641
+ warrantsEnabled?: boolean | undefined;
642
+ totalShares?: number | null | undefined;
643
+ warrantTermYears?: number | null | undefined;
644
+ exercisePrice?: number | null | undefined;
645
+ warrantPercentage?: number | null | undefined;
646
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
647
+ incrementThreshold?: number | null | undefined;
648
+ shareClassId?: string | null | undefined;
431
649
  yield?: number | null | undefined;
432
650
  duration?: number | null | undefined;
433
651
  durationType?: DurationType | null | undefined;
434
652
  tiers?: number[] | null | undefined;
435
653
  enableBonus?: boolean | undefined;
654
+ interestRate?: number | null | undefined;
655
+ bonusTiers?: {
656
+ value: number;
657
+ type: import("./bonus-tier.types").BonusType;
658
+ startAmount: number;
659
+ endAmount: number;
660
+ }[] | undefined;
436
661
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
437
662
  subscriptionAgreementTemplateId?: string | null | undefined;
438
663
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -440,6 +665,7 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
440
665
  accountId: string;
441
666
  template: AssetTemplateType;
442
667
  platformSettings: string | null;
668
+ warrantsEnabled: boolean;
443
669
  assetName: string;
444
670
  assetType: AssetType;
445
671
  pricePerUnit: number | null;
@@ -464,11 +690,28 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
464
690
  memorandumId?: string | null | undefined;
465
691
  subscriptionAgreementId?: string | null | undefined;
466
692
  showTotalRaised?: boolean | undefined;
693
+ hasEscrow?: boolean | undefined;
694
+ bankAccountId?: string | null | undefined;
695
+ escrowAccountId?: string | null | undefined;
696
+ totalShares?: number | null | undefined;
697
+ warrantTermYears?: number | null | undefined;
698
+ exercisePrice?: number | null | undefined;
699
+ warrantPercentage?: number | null | undefined;
700
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
701
+ incrementThreshold?: number | null | undefined;
702
+ shareClassId?: string | null | undefined;
467
703
  yield?: number | null | undefined;
468
704
  duration?: number | null | undefined;
469
705
  durationType?: DurationType | null | undefined;
470
706
  tiers?: number[] | null | undefined;
471
707
  enableBonus?: boolean | undefined;
708
+ interestRate?: number | null | undefined;
709
+ bonusTiers?: {
710
+ value: number;
711
+ type: import("./bonus-tier.types").BonusType;
712
+ startAmount: number;
713
+ endAmount: number;
714
+ }[] | undefined;
472
715
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
473
716
  subscriptionAgreementTemplateId?: string | null | undefined;
474
717
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -505,17 +748,35 @@ export declare const PostComplianceOffering: z.ZodEffects<z.ZodObject<{
505
748
  memorandumId?: string | null | undefined;
506
749
  subscriptionAgreementId?: string | null | undefined;
507
750
  showTotalRaised?: boolean | undefined;
751
+ hasEscrow?: boolean | undefined;
752
+ bankAccountId?: string | null | undefined;
753
+ escrowAccountId?: string | null | undefined;
754
+ warrantsEnabled?: boolean | undefined;
755
+ totalShares?: number | null | undefined;
756
+ warrantTermYears?: number | null | undefined;
757
+ exercisePrice?: number | null | undefined;
758
+ warrantPercentage?: number | null | undefined;
759
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
760
+ incrementThreshold?: number | null | undefined;
761
+ shareClassId?: string | null | undefined;
508
762
  yield?: number | null | undefined;
509
763
  duration?: number | null | undefined;
510
764
  durationType?: DurationType | null | undefined;
511
765
  tiers?: number[] | null | undefined;
512
766
  enableBonus?: boolean | undefined;
767
+ interestRate?: number | null | undefined;
768
+ bonusTiers?: {
769
+ value: number;
770
+ type: import("./bonus-tier.types").BonusType;
771
+ startAmount: number;
772
+ endAmount: number;
773
+ }[] | undefined;
513
774
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
514
775
  subscriptionAgreementTemplateId?: string | null | undefined;
515
776
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
516
777
  }>;
517
778
  export type PostComplianceOffering = z.infer<typeof PostComplianceOffering>;
518
- export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy"]>;
779
+ export declare const offeringsInclude: z.ZodEnum<["account", "issuer", "trades", "assets", "disbursements", "draftVersion", "publishedVersion", "revisions", "onboardingReviewedBy", "bankAccount", "escrowAccount", "shareClass"]>;
519
780
  /**
520
781
  * @description Query parameters for including related entities
521
782
  * @xample in contract us as -> query: z.object({}).merge(UsersIncludeQuery),
@@ -530,23 +791,27 @@ export declare const OfferingsIncludeQuery: z.ZodObject<{
530
791
  export interface OfferingsIncludeQuery extends z.infer<typeof OfferingsIncludeQuery> {
531
792
  }
532
793
  /**
533
- * @description
534
- * Filters for querying offerings.
794
+ * Filters supported for querying offerings.
535
795
  *
536
- * The "combinedStatus" filter provides a unified status that combines three separate fields:
537
- * - complianceReview: The compliance review status of the offering
538
- * - onboardingStatus: The onboarding completion status
539
- * - enabled: Whether the offering is currently enabled/active
796
+ * Available fields:
797
+ * - `issuerName`: (string, optional) Filter by name of the issuer.
798
+ * - `name`: (string, optional) Filter by offering name.
799
+ * - `accountId`: (AccountId, optional) Filter by tenant/account ID.
800
+ * - `issuerId`: (IssuerId, optional) Filter by issuer ID.
801
+ * - `type`: (OfferingType, optional) Filter by offering type.
802
+ * - `status`: (ComplianceReview, optional) Filter by compliance review status.
803
+ * - `enabled`: (boolean, optional) Filter for enabled/active offerings.
804
+ * - `managedBy`: (ManagedByType, optional) Filter by which system or user manages the offering.
805
+ * - `versioningType`: (OfferingVersioningType, optional) Filter by versioning strategy.
806
+ * - `onboardingStatus`: (OfferingOnboardingStatus, optional) Filter by issuer onboarding status.
540
807
  *
541
- * The combinedStatus is calculated using the following priority rules:
542
- * 1. If onboardingStatus is "IN_REVIEW" combinedStatus = "ONBOARDING"
543
- * 2. Else if complianceReview is not "APPROVED" → combinedStatus = "IN_COMPLIANCE_REVIEW"
544
- * 3. Else if onboardingStatus is "COMPLETE" and complianceReview is "APPROVED" →
545
- * - If enabled is true → combinedStatus = "ACTIVE"
546
- * - If enabled is false → combinedStatus = "PAUSED"
808
+ * @remarks
809
+ * These filters can be combined to query offerings across multiple dimensions.
547
810
  *
548
- * This allows for filtering offerings by a single summary state that reflects the overall user-facing status,
549
- * rather than requiring separate filters for each individual field.
811
+ * Example use:
812
+ * ```ts
813
+ * { issuerName: "ABC Capital", type: OfferingType.REG_A }
814
+ * ```
550
815
  */
551
816
  export declare const OfferingFiltersZod: z.ZodObject<{
552
817
  issuerName: z.ZodOptional<z.ZodString>;
@@ -558,32 +823,32 @@ export declare const OfferingFiltersZod: z.ZodObject<{
558
823
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
559
824
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof ManagedByType>>;
560
825
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof OfferingVersioningType>>;
561
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingStatus>>;
562
826
  onboardingStatus: z.ZodOptional<z.ZodNativeEnum<typeof OfferingOnboardingStatus>>;
827
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof ComplianceReview>>;
563
828
  }, "strip", z.ZodTypeAny, {
564
829
  type?: OfferingType | undefined;
565
830
  status?: ComplianceReview | undefined;
566
831
  accountId?: string | undefined;
567
832
  name?: string | undefined;
568
833
  managedBy?: ManagedByType | undefined;
834
+ complianceReview?: ComplianceReview | undefined;
569
835
  onboardingStatus?: OfferingOnboardingStatus | undefined;
570
836
  enabled?: boolean | undefined;
571
837
  issuerId?: string | undefined;
572
838
  issuerName?: string | undefined;
573
839
  versioningType?: OfferingVersioningType | undefined;
574
- combinedStatus?: OfferingStatus | undefined;
575
840
  }, {
576
841
  type?: OfferingType | undefined;
577
842
  status?: ComplianceReview | undefined;
578
843
  accountId?: string | undefined;
579
844
  name?: string | undefined;
580
845
  managedBy?: ManagedByType | undefined;
846
+ complianceReview?: ComplianceReview | undefined;
581
847
  onboardingStatus?: OfferingOnboardingStatus | undefined;
582
848
  enabled?: unknown;
583
849
  issuerId?: string | undefined;
584
850
  issuerName?: string | undefined;
585
851
  versioningType?: OfferingVersioningType | undefined;
586
- combinedStatus?: OfferingStatus | undefined;
587
852
  }>;
588
853
  export type OfferingFiltersZod = z.infer<typeof OfferingFiltersZod>;
589
854
  export declare const OfferingSortZod: z.ZodObject<{
@@ -1010,7 +1275,7 @@ export declare const OfferingSettings: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.
1010
1275
  export type OfferingSettings = z.infer<typeof OfferingSettings>;
1011
1276
  export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.ZodObject<{
1012
1277
  name: z.ZodOptional<z.ZodString>;
1013
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1278
+ description: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>, string | null | undefined, string | null | undefined>;
1014
1279
  tid: z.ZodOptional<z.ZodString>;
1015
1280
  type: z.ZodOptional<z.ZodNativeEnum<typeof OfferingType>>;
1016
1281
  targetAmount: z.ZodOptional<z.ZodNumber>;
@@ -1053,6 +1318,7 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1053
1318
  cancellationPeriod: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1054
1319
  showTotalRaised: z.ZodOptional<z.ZodBoolean>;
1055
1320
  issuerId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1321
+ shareClassId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1056
1322
  } & {
1057
1323
  assetName: z.ZodOptional<z.ZodString>;
1058
1324
  assetType: z.ZodOptional<z.ZodNativeEnum<typeof AssetType>>;
@@ -1064,6 +1330,54 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1064
1330
  template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNativeEnum<typeof AssetTemplateType>>>>;
1065
1331
  tiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1066
1332
  enableBonus: z.ZodOptional<z.ZodBoolean>;
1333
+ interestRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1334
+ bonusTiers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1335
+ type: z.ZodNativeEnum<typeof import("./bonus-tier.types").BonusType>;
1336
+ value: z.ZodEffects<z.ZodNumber, number, number>;
1337
+ startAmount: z.ZodEffects<z.ZodNumber, number, number>;
1338
+ endAmount: z.ZodEffects<z.ZodNumber, number, number>;
1339
+ }, "strip", z.ZodTypeAny, {
1340
+ value: number;
1341
+ type: import("./bonus-tier.types").BonusType;
1342
+ startAmount: number;
1343
+ endAmount: number;
1344
+ }, {
1345
+ value: number;
1346
+ type: import("./bonus-tier.types").BonusType;
1347
+ startAmount: number;
1348
+ endAmount: number;
1349
+ }>, {
1350
+ value: number;
1351
+ type: import("./bonus-tier.types").BonusType;
1352
+ startAmount: number;
1353
+ endAmount: number;
1354
+ }, {
1355
+ value: number;
1356
+ type: import("./bonus-tier.types").BonusType;
1357
+ startAmount: number;
1358
+ endAmount: number;
1359
+ }>, {
1360
+ value: number;
1361
+ type: import("./bonus-tier.types").BonusType;
1362
+ startAmount: number;
1363
+ endAmount: number;
1364
+ }, {
1365
+ value: number;
1366
+ type: import("./bonus-tier.types").BonusType;
1367
+ startAmount: number;
1368
+ endAmount: number;
1369
+ }>, "many">>;
1370
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
1371
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1372
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1373
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodEffects<z.ZodString, string, string>>>>;
1374
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
1375
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1376
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1377
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1378
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1379
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
1380
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1067
1381
  }, "strip", z.ZodTypeAny, {
1068
1382
  platformSettings: string | null;
1069
1383
  type?: OfferingType | undefined;
@@ -1087,6 +1401,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1087
1401
  memorandumId?: string | null | undefined;
1088
1402
  subscriptionAgreementId?: string | null | undefined;
1089
1403
  showTotalRaised?: boolean | undefined;
1404
+ hasEscrow?: boolean | undefined;
1405
+ escrowAgreementFileId?: string | null | undefined;
1406
+ bankAccountId?: string | null | undefined;
1407
+ escrowAccountId?: string | null | undefined;
1408
+ warrantsEnabled?: boolean | undefined;
1409
+ totalShares?: number | null | undefined;
1410
+ warrantTermYears?: number | null | undefined;
1411
+ exercisePrice?: number | null | undefined;
1412
+ warrantPercentage?: number | null | undefined;
1413
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1414
+ incrementThreshold?: number | null | undefined;
1415
+ shareClassId?: string | null | undefined;
1090
1416
  assetName?: string | undefined;
1091
1417
  assetType?: AssetType | undefined;
1092
1418
  pricePerUnit?: number | null | undefined;
@@ -1096,6 +1422,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1096
1422
  durationType?: DurationType | null | undefined;
1097
1423
  tiers?: number[] | null | undefined;
1098
1424
  enableBonus?: boolean | undefined;
1425
+ interestRate?: number | null | undefined;
1426
+ bonusTiers?: {
1427
+ value: number;
1428
+ type: import("./bonus-tier.types").BonusType;
1429
+ startAmount: number;
1430
+ endAmount: number;
1431
+ }[] | undefined;
1099
1432
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1100
1433
  subscriptionAgreementTemplateId?: string | null | undefined;
1101
1434
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -1127,6 +1460,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1127
1460
  memorandumId?: string | null | undefined;
1128
1461
  subscriptionAgreementId?: string | null | undefined;
1129
1462
  showTotalRaised?: boolean | undefined;
1463
+ hasEscrow?: boolean | undefined;
1464
+ escrowAgreementFileId?: string | null | undefined;
1465
+ bankAccountId?: string | null | undefined;
1466
+ escrowAccountId?: string | null | undefined;
1467
+ warrantsEnabled?: boolean | undefined;
1468
+ totalShares?: number | null | undefined;
1469
+ warrantTermYears?: number | null | undefined;
1470
+ exercisePrice?: number | null | undefined;
1471
+ warrantPercentage?: number | null | undefined;
1472
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1473
+ incrementThreshold?: number | null | undefined;
1474
+ shareClassId?: string | null | undefined;
1130
1475
  assetName?: string | undefined;
1131
1476
  assetType?: AssetType | undefined;
1132
1477
  pricePerUnit?: number | null | undefined;
@@ -1136,6 +1481,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1136
1481
  durationType?: DurationType | null | undefined;
1137
1482
  tiers?: number[] | null | undefined;
1138
1483
  enableBonus?: boolean | undefined;
1484
+ interestRate?: number | null | undefined;
1485
+ bonusTiers?: {
1486
+ value: number;
1487
+ type: import("./bonus-tier.types").BonusType;
1488
+ startAmount: number;
1489
+ endAmount: number;
1490
+ }[] | undefined;
1139
1491
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1140
1492
  subscriptionAgreementTemplateId?: string | null | undefined;
1141
1493
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -1393,6 +1745,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1393
1745
  memorandumId?: string | null | undefined;
1394
1746
  subscriptionAgreementId?: string | null | undefined;
1395
1747
  showTotalRaised?: boolean | undefined;
1748
+ hasEscrow?: boolean | undefined;
1749
+ escrowAgreementFileId?: string | null | undefined;
1750
+ bankAccountId?: string | null | undefined;
1751
+ escrowAccountId?: string | null | undefined;
1752
+ warrantsEnabled?: boolean | undefined;
1753
+ totalShares?: number | null | undefined;
1754
+ warrantTermYears?: number | null | undefined;
1755
+ exercisePrice?: number | null | undefined;
1756
+ warrantPercentage?: number | null | undefined;
1757
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1758
+ incrementThreshold?: number | null | undefined;
1759
+ shareClassId?: string | null | undefined;
1396
1760
  assetName?: string | undefined;
1397
1761
  assetType?: AssetType | undefined;
1398
1762
  pricePerUnit?: number | null | undefined;
@@ -1402,6 +1766,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1402
1766
  durationType?: DurationType | null | undefined;
1403
1767
  tiers?: number[] | null | undefined;
1404
1768
  enableBonus?: boolean | undefined;
1769
+ interestRate?: number | null | undefined;
1770
+ bonusTiers?: {
1771
+ value: number;
1772
+ type: import("./bonus-tier.types").BonusType;
1773
+ startAmount: number;
1774
+ endAmount: number;
1775
+ }[] | undefined;
1405
1776
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1406
1777
  subscriptionAgreementTemplateId?: string | null | undefined;
1407
1778
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -1444,6 +1815,18 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1444
1815
  memorandumId?: string | null | undefined;
1445
1816
  subscriptionAgreementId?: string | null | undefined;
1446
1817
  showTotalRaised?: boolean | undefined;
1818
+ hasEscrow?: boolean | undefined;
1819
+ escrowAgreementFileId?: string | null | undefined;
1820
+ bankAccountId?: string | null | undefined;
1821
+ escrowAccountId?: string | null | undefined;
1822
+ warrantsEnabled?: boolean | undefined;
1823
+ totalShares?: number | null | undefined;
1824
+ warrantTermYears?: number | null | undefined;
1825
+ exercisePrice?: number | null | undefined;
1826
+ warrantPercentage?: number | null | undefined;
1827
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
1828
+ incrementThreshold?: number | null | undefined;
1829
+ shareClassId?: string | null | undefined;
1447
1830
  assetName?: string | undefined;
1448
1831
  assetType?: AssetType | undefined;
1449
1832
  pricePerUnit?: number | null | undefined;
@@ -1453,6 +1836,13 @@ export declare const PatchComplianceOffering: z.ZodEffects<z.ZodIntersection<z.Z
1453
1836
  durationType?: DurationType | null | undefined;
1454
1837
  tiers?: number[] | null | undefined;
1455
1838
  enableBonus?: boolean | undefined;
1839
+ interestRate?: number | null | undefined;
1840
+ bonusTiers?: {
1841
+ value: number;
1842
+ type: import("./bonus-tier.types").BonusType;
1843
+ startAmount: number;
1844
+ endAmount: number;
1845
+ }[] | undefined;
1456
1846
  entitySubscriptionAgreementTemplateId?: string | null | undefined;
1457
1847
  subscriptionAgreementTemplateId?: string | null | undefined;
1458
1848
  jointSubscriptionAgreementTemplateId?: string | null | undefined;
@@ -2190,6 +2580,7 @@ export type OfferingUpdateFields = {
2190
2580
  managedBy?: ManagedByType | null;
2191
2581
  showTotalRaised?: boolean;
2192
2582
  enabled?: boolean;
2583
+ shareClassId?: string | null;
2193
2584
  };
2194
2585
  export declare const ReviewOfferingOnboarding: z.ZodObject<{
2195
2586
  onboardingStatus: z.ZodNativeEnum<typeof OfferingOnboardingStatus>;
@@ -2333,3 +2724,136 @@ export declare const IPaginatedOnboardingOfferingSummaryResponse: z.ZodObject<{
2333
2724
  };
2334
2725
  }>;
2335
2726
  export type IPaginatedOnboardingOfferingSummaryResponse = z.infer<typeof IPaginatedOnboardingOfferingSummaryResponse>;
2727
+ /**
2728
+ * Maps asset types to fields that should be reset (nullified) when converting
2729
+ * from one asset type to another. This ensures incompatible fields from the
2730
+ * previous type are cleared when the asset type changes.
2731
+ */
2732
+ export declare const ESCROW_ENABLED_OFFERING_FIELD_RESETS: Partial<IOffering>;
2733
+ /**
2734
+ * Schema for escrow validation data input
2735
+ */
2736
+ export declare const EscrowValidationDataZod: z.ZodObject<{
2737
+ hasEscrow: z.ZodOptional<z.ZodBoolean>;
2738
+ bankAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2739
+ escrowAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2740
+ escrowAgreementFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2741
+ }, "strip", z.ZodTypeAny, {
2742
+ hasEscrow?: boolean | undefined;
2743
+ escrowAgreementFileId?: string | null | undefined;
2744
+ bankAccountId?: string | null | undefined;
2745
+ escrowAccountId?: string | null | undefined;
2746
+ }, {
2747
+ hasEscrow?: boolean | undefined;
2748
+ escrowAgreementFileId?: string | null | undefined;
2749
+ bankAccountId?: string | null | undefined;
2750
+ escrowAccountId?: string | null | undefined;
2751
+ }>;
2752
+ export type EscrowValidationData = z.infer<typeof EscrowValidationDataZod>;
2753
+ /**
2754
+ * Schema for escrow validation context
2755
+ */
2756
+ export declare const EscrowValidationContextZod: z.ZodObject<{
2757
+ accountId: z.ZodString;
2758
+ issuerId: z.ZodString;
2759
+ offeringId: z.ZodString;
2760
+ currentBankAccountId: z.ZodNullable<z.ZodString>;
2761
+ currentEscrowAccountId: z.ZodNullable<z.ZodString>;
2762
+ currentEscrowAgreementFileId: z.ZodNullable<z.ZodString>;
2763
+ }, "strip", z.ZodTypeAny, {
2764
+ accountId: string;
2765
+ offeringId: string;
2766
+ issuerId: string;
2767
+ currentBankAccountId: string | null;
2768
+ currentEscrowAccountId: string | null;
2769
+ currentEscrowAgreementFileId: string | null;
2770
+ }, {
2771
+ accountId: string;
2772
+ offeringId: string;
2773
+ issuerId: string;
2774
+ currentBankAccountId: string | null;
2775
+ currentEscrowAccountId: string | null;
2776
+ currentEscrowAgreementFileId: string | null;
2777
+ }>;
2778
+ export type EscrowValidationContext = z.infer<typeof EscrowValidationContextZod>;
2779
+ /**
2780
+ * Shape of warrant fields shared by Offering and OfferingRevision for validation.
2781
+ */
2782
+ export declare const WarrantSharesBaseZod: z.ZodObject<{
2783
+ warrantsEnabled: z.ZodBoolean;
2784
+ totalShares: z.ZodNullable<z.ZodNumber>;
2785
+ warrantTermYears: z.ZodNullable<z.ZodNumber>;
2786
+ exercisePrice: z.ZodNullable<z.ZodNumber>;
2787
+ warrantPercentage: z.ZodNullable<z.ZodNumber>;
2788
+ calculationMethod: z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>;
2789
+ incrementThreshold: z.ZodNullable<z.ZodNumber>;
2790
+ fullyDilutedShares: z.ZodNullable<z.ZodNumber>;
2791
+ }, "strip", z.ZodTypeAny, {
2792
+ warrantsEnabled: boolean;
2793
+ totalShares: number | null;
2794
+ warrantTermYears: number | null;
2795
+ exercisePrice: number | null;
2796
+ warrantPercentage: number | null;
2797
+ calculationMethod: WarrantSharesCalculationMethod | null;
2798
+ incrementThreshold: number | null;
2799
+ fullyDilutedShares: number | null;
2800
+ }, {
2801
+ warrantsEnabled: boolean;
2802
+ totalShares: number | null;
2803
+ warrantTermYears: number | null;
2804
+ exercisePrice: number | null;
2805
+ warrantPercentage: number | null;
2806
+ calculationMethod: WarrantSharesCalculationMethod | null;
2807
+ incrementThreshold: number | null;
2808
+ fullyDilutedShares: number | null;
2809
+ }>;
2810
+ export type WarrantSharesBase = z.infer<typeof WarrantSharesBaseZod>;
2811
+ /**
2812
+ * All warrant field keys used when picking warrant data from base or patch.
2813
+ */
2814
+ export declare const WARRANT_FIELD_KEYS: (keyof WarrantSharesBase)[];
2815
+ /**
2816
+ * Warrant field keys required when enabling warrants (turning warrants on).
2817
+ */
2818
+ export declare const WARRANT_REQUIRED_WHEN_ENABLED_KEYS: (keyof WarrantSharesBase)[];
2819
+ /**
2820
+ * Patch input for warrant validation (optional warrant fields from PATCH body).
2821
+ */
2822
+ export declare const WarrantValidationDataZod: z.ZodObject<{
2823
+ warrantsEnabled: z.ZodOptional<z.ZodBoolean>;
2824
+ totalShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2825
+ warrantTermYears: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2826
+ exercisePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2827
+ warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2828
+ calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof WarrantSharesCalculationMethod>>>;
2829
+ incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2830
+ fullyDilutedShares: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2831
+ }, "strip", z.ZodTypeAny, {
2832
+ warrantsEnabled?: boolean | undefined;
2833
+ totalShares?: number | null | undefined;
2834
+ warrantTermYears?: number | null | undefined;
2835
+ exercisePrice?: number | null | undefined;
2836
+ warrantPercentage?: number | null | undefined;
2837
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2838
+ incrementThreshold?: number | null | undefined;
2839
+ fullyDilutedShares?: number | null | undefined;
2840
+ }, {
2841
+ warrantsEnabled?: boolean | undefined;
2842
+ totalShares?: number | null | undefined;
2843
+ warrantTermYears?: number | null | undefined;
2844
+ exercisePrice?: number | null | undefined;
2845
+ warrantPercentage?: number | null | undefined;
2846
+ calculationMethod?: WarrantSharesCalculationMethod | null | undefined;
2847
+ incrementThreshold?: number | null | undefined;
2848
+ fullyDilutedShares?: number | null | undefined;
2849
+ }>;
2850
+ export type WarrantValidationData = z.infer<typeof WarrantValidationDataZod>;
2851
+ /**
2852
+ * Validated warrant payload to persist on revision and offering.
2853
+ */
2854
+ export type WarrantValidationResult = WarrantSharesBase;
2855
+ /**
2856
+ * Warrant-related fields to reset (nullify) when warrants are disabled.
2857
+ * Used when warrantsEnabled is set to false so revision and offering stay in sync.
2858
+ */
2859
+ export declare const WARRANT_DISABLED_FIELD_RESETS: WarrantValidationResult;