@clear-street/clearstreet 0.102.0 → 0.104.0

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 (132) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.json +1 -1
  3. package/resources/v1/index.d.mts +2 -1
  4. package/resources/v1/index.d.mts.map +1 -1
  5. package/resources/v1/index.d.ts +2 -1
  6. package/resources/v1/index.d.ts.map +1 -1
  7. package/resources/v1/index.js +3 -1
  8. package/resources/v1/index.js.map +1 -1
  9. package/resources/v1/index.mjs +1 -0
  10. package/resources/v1/index.mjs.map +1 -1
  11. package/resources/v1/instrument-data/instrument-data.d.mts +22 -4
  12. package/resources/v1/instrument-data/instrument-data.d.mts.map +1 -1
  13. package/resources/v1/instrument-data/instrument-data.d.ts +22 -4
  14. package/resources/v1/instrument-data/instrument-data.d.ts.map +1 -1
  15. package/resources/v1/instrument-data/instrument-data.js.map +1 -1
  16. package/resources/v1/instrument-data/instrument-data.mjs.map +1 -1
  17. package/resources/v1/instrument-data/market-data.d.mts +21 -3
  18. package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
  19. package/resources/v1/instrument-data/market-data.d.ts +21 -3
  20. package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
  21. package/resources/v1/instrument-data/market-data.js +5 -0
  22. package/resources/v1/instrument-data/market-data.js.map +1 -1
  23. package/resources/v1/instrument-data/market-data.mjs +5 -0
  24. package/resources/v1/instrument-data/market-data.mjs.map +1 -1
  25. package/resources/v1/locates.d.mts +220 -0
  26. package/resources/v1/locates.d.mts.map +1 -0
  27. package/resources/v1/locates.d.ts +220 -0
  28. package/resources/v1/locates.d.ts.map +1 -0
  29. package/resources/v1/locates.js +81 -0
  30. package/resources/v1/locates.js.map +1 -0
  31. package/resources/v1/locates.mjs +77 -0
  32. package/resources/v1/locates.mjs.map +1 -0
  33. package/resources/v1/omni-ai/entitlements.d.mts +58 -10
  34. package/resources/v1/omni-ai/entitlements.d.mts.map +1 -1
  35. package/resources/v1/omni-ai/entitlements.d.ts +58 -10
  36. package/resources/v1/omni-ai/entitlements.d.ts.map +1 -1
  37. package/resources/v1/omni-ai/entitlements.js +35 -9
  38. package/resources/v1/omni-ai/entitlements.js.map +1 -1
  39. package/resources/v1/omni-ai/entitlements.mjs +35 -9
  40. package/resources/v1/omni-ai/entitlements.mjs.map +1 -1
  41. package/resources/v1/omni-ai/index.d.mts +1 -1
  42. package/resources/v1/omni-ai/index.d.mts.map +1 -1
  43. package/resources/v1/omni-ai/index.d.ts +1 -1
  44. package/resources/v1/omni-ai/index.d.ts.map +1 -1
  45. package/resources/v1/omni-ai/index.js.map +1 -1
  46. package/resources/v1/omni-ai/index.mjs.map +1 -1
  47. package/resources/v1/omni-ai/omni-ai.d.mts +6 -5
  48. package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
  49. package/resources/v1/omni-ai/omni-ai.d.ts +6 -5
  50. package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -1
  51. package/resources/v1/omni-ai/omni-ai.js.map +1 -1
  52. package/resources/v1/omni-ai/omni-ai.mjs.map +1 -1
  53. package/resources/v1/omni-ai/threads.d.mts +8 -2
  54. package/resources/v1/omni-ai/threads.d.mts.map +1 -1
  55. package/resources/v1/omni-ai/threads.d.ts +8 -2
  56. package/resources/v1/omni-ai/threads.d.ts.map +1 -1
  57. package/resources/v1/omni-ai/threads.js +4 -2
  58. package/resources/v1/omni-ai/threads.js.map +1 -1
  59. package/resources/v1/omni-ai/threads.mjs +4 -2
  60. package/resources/v1/omni-ai/threads.mjs.map +1 -1
  61. package/resources/v1/orders.d.mts +24 -6
  62. package/resources/v1/orders.d.mts.map +1 -1
  63. package/resources/v1/orders.d.ts +24 -6
  64. package/resources/v1/orders.d.ts.map +1 -1
  65. package/resources/v1/private-markets/index.d.mts +2 -4
  66. package/resources/v1/private-markets/index.d.mts.map +1 -1
  67. package/resources/v1/private-markets/index.d.ts +2 -4
  68. package/resources/v1/private-markets/index.d.ts.map +1 -1
  69. package/resources/v1/private-markets/index.js +1 -5
  70. package/resources/v1/private-markets/index.js.map +1 -1
  71. package/resources/v1/private-markets/index.mjs +0 -2
  72. package/resources/v1/private-markets/index.mjs.map +1 -1
  73. package/resources/v1/private-markets/iois.d.mts +151 -1
  74. package/resources/v1/private-markets/iois.d.mts.map +1 -1
  75. package/resources/v1/private-markets/iois.d.ts +151 -1
  76. package/resources/v1/private-markets/iois.d.ts.map +1 -1
  77. package/resources/v1/private-markets/iois.js +75 -0
  78. package/resources/v1/private-markets/iois.js.map +1 -1
  79. package/resources/v1/private-markets/iois.mjs +75 -0
  80. package/resources/v1/private-markets/iois.mjs.map +1 -1
  81. package/resources/v1/private-markets/private-markets.d.mts +494 -133
  82. package/resources/v1/private-markets/private-markets.d.mts.map +1 -1
  83. package/resources/v1/private-markets/private-markets.d.ts +494 -133
  84. package/resources/v1/private-markets/private-markets.d.ts.map +1 -1
  85. package/resources/v1/private-markets/private-markets.js +0 -76
  86. package/resources/v1/private-markets/private-markets.js.map +1 -1
  87. package/resources/v1/private-markets/private-markets.mjs +0 -76
  88. package/resources/v1/private-markets/private-markets.mjs.map +1 -1
  89. package/resources/v1/v1.d.mts +6 -2
  90. package/resources/v1/v1.d.mts.map +1 -1
  91. package/resources/v1/v1.d.ts +6 -2
  92. package/resources/v1/v1.d.ts.map +1 -1
  93. package/resources/v1/v1.js +4 -0
  94. package/resources/v1/v1.js.map +1 -1
  95. package/resources/v1/v1.mjs +4 -0
  96. package/resources/v1/v1.mjs.map +1 -1
  97. package/src/resources/v1/index.ts +41 -7
  98. package/src/resources/v1/instrument-data/instrument-data.ts +24 -4
  99. package/src/resources/v1/instrument-data/market-data.ts +23 -3
  100. package/src/resources/v1/locates.ts +294 -0
  101. package/src/resources/v1/omni-ai/entitlements.ts +84 -9
  102. package/src/resources/v1/omni-ai/index.ts +6 -0
  103. package/src/resources/v1/omni-ai/omni-ai.ts +16 -3
  104. package/src/resources/v1/omni-ai/threads.ts +8 -2
  105. package/src/resources/v1/orders.ts +31 -6
  106. package/src/resources/v1/private-markets/index.ts +32 -38
  107. package/src/resources/v1/private-markets/iois.ts +205 -1
  108. package/src/resources/v1/private-markets/private-markets.ts +622 -209
  109. package/src/resources/v1/v1.ts +86 -14
  110. package/src/version.ts +1 -1
  111. package/version.d.mts +1 -1
  112. package/version.d.ts +1 -1
  113. package/version.js +1 -1
  114. package/version.mjs +1 -1
  115. package/resources/v1/private-markets/companies.d.mts +0 -368
  116. package/resources/v1/private-markets/companies.d.mts.map +0 -1
  117. package/resources/v1/private-markets/companies.d.ts +0 -368
  118. package/resources/v1/private-markets/companies.d.ts.map +0 -1
  119. package/resources/v1/private-markets/companies.js +0 -9
  120. package/resources/v1/private-markets/companies.js.map +0 -1
  121. package/resources/v1/private-markets/companies.mjs +0 -5
  122. package/resources/v1/private-markets/companies.mjs.map +0 -1
  123. package/resources/v1/private-markets/spvs.d.mts +0 -158
  124. package/resources/v1/private-markets/spvs.d.mts.map +0 -1
  125. package/resources/v1/private-markets/spvs.d.ts +0 -158
  126. package/resources/v1/private-markets/spvs.d.ts.map +0 -1
  127. package/resources/v1/private-markets/spvs.js +0 -9
  128. package/resources/v1/private-markets/spvs.js.map +0 -1
  129. package/resources/v1/private-markets/spvs.mjs +0 -5
  130. package/resources/v1/private-markets/spvs.mjs.map +0 -1
  131. package/src/resources/v1/private-markets/companies.ts +0 -483
  132. package/src/resources/v1/private-markets/spvs.ts +0 -201
@@ -13,10 +13,16 @@ import {
13
13
  EntitlementCreateEntitlementsResponse,
14
14
  EntitlementDeleteEntitlementResponse,
15
15
  EntitlementGetEntitlementAgreementsResponse,
16
+ EntitlementGetEntitlementStatusParams,
17
+ EntitlementGetEntitlementStatusResponse,
16
18
  EntitlementGetEntitlementsParams,
17
19
  EntitlementGetEntitlementsResponse,
20
+ EntitlementOptOutEntitlementsParams,
21
+ EntitlementOptOutEntitlementsResponse,
18
22
  EntitlementResource,
19
23
  EntitlementResourceList,
24
+ EntitlementStatusResource,
25
+ EntitlementStatusResourceList,
20
26
  Entitlements,
21
27
  } from './entitlements';
22
28
  import * as MessagesAPI from './messages';
@@ -533,9 +539,10 @@ export interface PrefillNewOrderRequest {
533
539
  stop_price?: string | null;
534
540
 
535
541
  /**
536
- * Optional execution strategy. One of `SOR`, `VWAP`, or `TWAP`. Defaults to `SOR`.
537
- * `VWAP` and `TWAP` are supported only on `MARKET` and `LIMIT` orders with `DAY`
538
- * time-in-force, and are not supported on OTC common-stock orders.
542
+ * Optional execution strategy. One of `SOR`, `VWAP`, `TWAP`, or `DMA`. Defaults to
543
+ * `SOR`, the only strategy OTC common-stock orders support. `VWAP` and `TWAP` are
544
+ * supported only on `MARKET` and `LIMIT` orders, and `DMA` only on `LIMIT` orders;
545
+ * all three require `DAY` time-in-force.
539
546
  */
540
547
  strategy?: OrdersAPI.OrderStrategy | null;
541
548
 
@@ -725,12 +732,18 @@ export declare namespace OmniAI {
725
732
  type EntitlementAgreementResourceList as EntitlementAgreementResourceList,
726
733
  type EntitlementResource as EntitlementResource,
727
734
  type EntitlementResourceList as EntitlementResourceList,
735
+ type EntitlementStatusResource as EntitlementStatusResource,
736
+ type EntitlementStatusResourceList as EntitlementStatusResourceList,
728
737
  type EntitlementCreateEntitlementsResponse as EntitlementCreateEntitlementsResponse,
729
738
  type EntitlementDeleteEntitlementResponse as EntitlementDeleteEntitlementResponse,
730
739
  type EntitlementGetEntitlementAgreementsResponse as EntitlementGetEntitlementAgreementsResponse,
740
+ type EntitlementGetEntitlementStatusResponse as EntitlementGetEntitlementStatusResponse,
731
741
  type EntitlementGetEntitlementsResponse as EntitlementGetEntitlementsResponse,
742
+ type EntitlementOptOutEntitlementsResponse as EntitlementOptOutEntitlementsResponse,
732
743
  type EntitlementCreateEntitlementsParams as EntitlementCreateEntitlementsParams,
744
+ type EntitlementGetEntitlementStatusParams as EntitlementGetEntitlementStatusParams,
733
745
  type EntitlementGetEntitlementsParams as EntitlementGetEntitlementsParams,
746
+ type EntitlementOptOutEntitlementsParams as EntitlementOptOutEntitlementsParams,
734
747
  };
735
748
 
736
749
  export {
@@ -138,8 +138,10 @@ export class Threads extends APIResource {
138
138
  }
139
139
 
140
140
  /**
141
- * List authorized conversation metadata, newest first. Use `page_size` and
142
- * `page_token` for pagination, and the messages endpoint for conversation history.
141
+ * List authorized conversation metadata, most recently active first (by
142
+ * `updated_at`, which a new message moves). Use `page_size` and `page_token` for
143
+ * pagination, and the messages endpoint for conversation history. A thread that
144
+ * gets a message while you page moves to the first page.
143
145
  *
144
146
  * With `account_id`, list only conversations linked to that account and require
145
147
  * current account access. Without it, list only conversations with no linked
@@ -323,6 +325,10 @@ export interface Thread {
323
325
 
324
326
  title: string;
325
327
 
328
+ /**
329
+ * Time of the last activity: a new message in the thread or a change to the
330
+ * thread.
331
+ */
326
332
  updated_at: string;
327
333
  }
328
334
 
@@ -309,9 +309,10 @@ export interface NewOrderRequest {
309
309
  stop_price?: string | null;
310
310
 
311
311
  /**
312
- * Optional execution strategy. One of `SOR`, `VWAP`, or `TWAP`. Defaults to `SOR`.
313
- * `VWAP` and `TWAP` are supported only on `MARKET` and `LIMIT` orders with `DAY`
314
- * time-in-force, and are not supported on OTC common-stock orders.
312
+ * Optional execution strategy. One of `SOR`, `VWAP`, `TWAP`, or `DMA`. Defaults to
313
+ * `SOR`, the only strategy OTC common-stock orders support. `VWAP` and `TWAP` are
314
+ * supported only on `MARKET` and `LIMIT` orders, and `DMA` only on `LIMIT` orders;
315
+ * all three require `DAY` time-in-force.
315
316
  */
316
317
  strategy?: OrderStrategy | null;
317
318
 
@@ -553,7 +554,12 @@ export namespace Order {
553
554
  /**
554
555
  * Execution strategy type.
555
556
  */
556
- type: string;
557
+ type: 'SOR' | 'VWAP' | 'TWAP' | 'DMA';
558
+
559
+ /**
560
+ * Venue code the order is routed to. DMA only.
561
+ */
562
+ destination?: string;
557
563
 
558
564
  /**
559
565
  * UTC timestamp (RFC 3339) at which execution ends.
@@ -595,9 +601,13 @@ export type OrderStatus =
595
601
 
596
602
  /**
597
603
  * Optional execution strategy controlling how the order is worked in the market.
598
- * Omit to use standard routing. One of `SOR`, `VWAP`, or `TWAP`.
604
+ * Omit to use standard routing. One of `SOR`, `VWAP`, `TWAP`, or `DMA`.
599
605
  */
600
- export type OrderStrategy = OrderStrategy.Type | OrderStrategy.UnionMember1 | OrderStrategy.UnionMember2;
606
+ export type OrderStrategy =
607
+ | OrderStrategy.Type
608
+ | OrderStrategy.UnionMember1
609
+ | OrderStrategy.UnionMember2
610
+ | OrderStrategy.UnionMember3;
601
611
 
602
612
  export namespace OrderStrategy {
603
613
  /**
@@ -655,6 +665,21 @@ export namespace OrderStrategy {
655
665
  */
656
666
  start_at?: string;
657
667
  }
668
+
669
+ /**
670
+ * Direct Market Access. Routes the order straight to the named venue.
671
+ */
672
+ export interface UnionMember3 {
673
+ /**
674
+ * Venue code the order is routed to.
675
+ */
676
+ destination: string;
677
+
678
+ /**
679
+ * Execution strategy type.
680
+ */
681
+ type: 'DMA';
682
+ }
658
683
  }
659
684
 
660
685
  /**
@@ -1,28 +1,5 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export {
4
- Companies,
5
- type CompanyCategory,
6
- type CompanyCitation,
7
- type CompanyCustomer,
8
- type CompanyDetail,
9
- type CompanyDocumentPreview,
10
- type CompanyDocumentRelation,
11
- type CompanyDocumentResource,
12
- type CompanyDocumentType,
13
- type CompanyHeadquarters,
14
- type CompanyLegalEntity,
15
- type CompanyMetricPoint,
16
- type CompanyMetricSeries,
17
- type CompanyNarrativeSection,
18
- type CompanyPerson,
19
- type CompanyPersonRole,
20
- type CompanyProfileResource,
21
- type CompanySocialLink,
22
- type CompanySocialType,
23
- type MetricFrequency,
24
- type MetricKey,
25
- } from './companies';
26
3
  export {
27
4
  Iois,
28
5
  type IoiCompanyResource,
@@ -31,6 +8,13 @@ export {
31
8
  type IoiOfferingResource,
32
9
  type IoiResource,
33
10
  type NdaAcceptanceResource,
11
+ type IoisCreateIoiResponse,
12
+ type IoisGetIoisResponse,
13
+ type IoisUpdateIoiResponse,
14
+ type IoisCreateIoiParams,
15
+ type IoisDeleteIoiParams,
16
+ type IoisGetIoisParams,
17
+ type IoisUpdateIoiParams,
34
18
  } from './iois';
35
19
  export {
36
20
  Offerings,
@@ -59,23 +43,33 @@ export {
59
43
  } from './offerings';
60
44
  export {
61
45
  PrivateMarkets,
62
- type PrivateMarketCreateIoiResponse,
63
- type PrivateMarketGetCompanyByIDResponse,
64
- type PrivateMarketGetIoisResponse,
65
- type PrivateMarketGetSpvByIDResponse,
66
- type PrivateMarketUpdateIoiResponse,
67
- type PrivateMarketCreateIoiParams,
68
- type PrivateMarketDeleteIoiParams,
69
- type PrivateMarketGetCompanyByIDParams,
70
- type PrivateMarketGetIoisParams,
71
- type PrivateMarketGetSpvByIDParams,
72
- type PrivateMarketUpdateIoiParams,
73
- } from './private-markets';
74
- export {
75
- Spvs,
76
46
  type ChargedBy,
47
+ type CompanyCategory,
48
+ type CompanyCitation,
49
+ type CompanyCustomer,
50
+ type CompanyDetail,
51
+ type CompanyDocumentPreview,
52
+ type CompanyDocumentRelation,
53
+ type CompanyDocumentResource,
54
+ type CompanyDocumentType,
55
+ type CompanyHeadquarters,
56
+ type CompanyLegalEntity,
57
+ type CompanyMetricPoint,
58
+ type CompanyMetricSeries,
59
+ type CompanyNarrativeSection,
60
+ type CompanyPerson,
61
+ type CompanyPersonRole,
62
+ type CompanyProfileResource,
63
+ type CompanySocialLink,
64
+ type CompanySocialType,
77
65
  type FeeFrequency,
78
66
  type FeeType,
67
+ type MetricFrequency,
68
+ type MetricKey,
79
69
  type SpvDetail,
80
70
  type SpvFeeTermResource,
81
- } from './spvs';
71
+ type PrivateMarketGetCompanyByIDResponse,
72
+ type PrivateMarketGetSpvByIDResponse,
73
+ type PrivateMarketGetCompanyByIDParams,
74
+ type PrivateMarketGetSpvByIDParams,
75
+ } from './private-markets';
@@ -1,9 +1,95 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
+ import * as Shared from '../../shared';
4
5
  import * as OfferingsAPI from './offerings';
6
+ import { APIPromise } from '../../../core/api-promise';
7
+ import { buildHeaders } from '../../../internal/headers';
8
+ import { RequestOptions } from '../../../internal/request-options';
9
+ import { path } from '../../../internal/utils/path';
5
10
 
6
- export class Iois extends APIResource {}
11
+ /**
12
+ * Browse private-market offerings and their indicative terms. Access requires the account holder to hold an accreditation attestation.
13
+ */
14
+ export class Iois extends APIResource {
15
+ /**
16
+ * Create an IOI for a visible upcoming offering.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * const response =
21
+ * await client.v1.privateMarkets.iois.createIoi({
22
+ * account_id: 0,
23
+ * notional_amount: '100000.00',
24
+ * offering_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
25
+ * });
26
+ * ```
27
+ */
28
+ createIoi(params: IoisCreateIoiParams, options?: RequestOptions): APIPromise<IoisCreateIoiResponse> {
29
+ const { account_id, ...body } = params;
30
+ return this._client.post('/v1/private-markets/iois', { query: { account_id }, body, ...options });
31
+ }
32
+
33
+ /**
34
+ * Withdraw a live IOI. Repeating a withdrawal returns 404.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * await client.v1.privateMarkets.iois.deleteIoi(
39
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
40
+ * { account_id: 0 },
41
+ * );
42
+ * ```
43
+ */
44
+ deleteIoi(ioiID: string, params: IoisDeleteIoiParams, options?: RequestOptions): APIPromise<void> {
45
+ const { account_id } = params;
46
+ return this._client.delete(path`/v1/private-markets/iois/${ioiID}`, {
47
+ query: { account_id },
48
+ ...options,
49
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
50
+ });
51
+ }
52
+
53
+ /**
54
+ * List every live IOI for the caller's account-holder entity.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const response =
59
+ * await client.v1.privateMarkets.iois.getIois({
60
+ * account_id: 0,
61
+ * });
62
+ * ```
63
+ */
64
+ getIois(query: IoisGetIoisParams, options?: RequestOptions): APIPromise<IoisGetIoisResponse> {
65
+ return this._client.get('/v1/private-markets/iois', { query, ...options });
66
+ }
67
+
68
+ /**
69
+ * Update an IOI's notional, accepting the current NDA revision when required.
70
+ *
71
+ * @example
72
+ * ```ts
73
+ * const response =
74
+ * await client.v1.privateMarkets.iois.updateIoi(
75
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
76
+ * { account_id: 0, notional_amount: '125000.00' },
77
+ * );
78
+ * ```
79
+ */
80
+ updateIoi(
81
+ ioiID: string,
82
+ params: IoisUpdateIoiParams,
83
+ options?: RequestOptions,
84
+ ): APIPromise<IoisUpdateIoiResponse> {
85
+ const { account_id, ...body } = params;
86
+ return this._client.patch(path`/v1/private-markets/iois/${ioiID}`, {
87
+ query: { account_id },
88
+ body,
89
+ ...options,
90
+ });
91
+ }
92
+ }
7
93
 
8
94
  /**
9
95
  * Company identity embedded in an IOI list item.
@@ -79,6 +165,117 @@ export interface NdaAcceptanceResource {
79
165
  version: number;
80
166
  }
81
167
 
168
+ export interface IoisCreateIoiResponse extends Shared.BaseResponse {
169
+ /**
170
+ * IOI list item with the campaign identity needed to render it.
171
+ */
172
+ data: IoiListingResource;
173
+ }
174
+
175
+ export interface IoisGetIoisResponse extends Shared.BaseResponse {
176
+ data: IoiListingResourceList;
177
+ }
178
+
179
+ export interface IoisUpdateIoiResponse extends Shared.BaseResponse {
180
+ /**
181
+ * IOI list item with the campaign identity needed to render it.
182
+ */
183
+ data: IoiListingResource;
184
+ }
185
+
186
+ export interface IoisCreateIoiParams {
187
+ /**
188
+ * Query param
189
+ */
190
+ account_id: number;
191
+
192
+ /**
193
+ * Body param
194
+ */
195
+ notional_amount: string;
196
+
197
+ /**
198
+ * Body param
199
+ */
200
+ offering_id: string;
201
+
202
+ /**
203
+ * Body param: Required only when the offering's attached SPV has an NDA agreement.
204
+ */
205
+ nda_acceptance?: IoisCreateIoiParams.NdaAcceptance | null;
206
+ }
207
+
208
+ export namespace IoisCreateIoiParams {
209
+ /**
210
+ * Required only when the offering's attached SPV has an NDA agreement.
211
+ */
212
+ export interface NdaAcceptance {
213
+ /**
214
+ * Must be true; confirms affirmative assent.
215
+ */
216
+ accepted: boolean;
217
+
218
+ /**
219
+ * Exact agreement id returned by offering detail.
220
+ */
221
+ agreement_id: string;
222
+
223
+ /**
224
+ * Must be true; confirms the signer may bind the account-holder entity.
225
+ */
226
+ authority_confirmed: boolean;
227
+ }
228
+ }
229
+
230
+ export interface IoisDeleteIoiParams {
231
+ account_id: number;
232
+ }
233
+
234
+ export interface IoisGetIoisParams {
235
+ account_id: number;
236
+ }
237
+
238
+ export interface IoisUpdateIoiParams {
239
+ /**
240
+ * Query param
241
+ */
242
+ account_id: number;
243
+
244
+ /**
245
+ * Body param
246
+ */
247
+ notional_amount: string;
248
+
249
+ /**
250
+ * Body param: Required when the SPV's current NDA version is newer than the IOI's
251
+ * latest acceptance. Irrelevant acceptances are rejected.
252
+ */
253
+ nda_acceptance?: IoisUpdateIoiParams.NdaAcceptance | null;
254
+ }
255
+
256
+ export namespace IoisUpdateIoiParams {
257
+ /**
258
+ * Required when the SPV's current NDA version is newer than the IOI's latest
259
+ * acceptance. Irrelevant acceptances are rejected.
260
+ */
261
+ export interface NdaAcceptance {
262
+ /**
263
+ * Must be true; confirms affirmative assent.
264
+ */
265
+ accepted: boolean;
266
+
267
+ /**
268
+ * Exact agreement id returned by offering detail.
269
+ */
270
+ agreement_id: string;
271
+
272
+ /**
273
+ * Must be true; confirms the signer may bind the account-holder entity.
274
+ */
275
+ authority_confirmed: boolean;
276
+ }
277
+ }
278
+
82
279
  export declare namespace Iois {
83
280
  export {
84
281
  type IoiCompanyResource as IoiCompanyResource,
@@ -87,5 +284,12 @@ export declare namespace Iois {
87
284
  type IoiOfferingResource as IoiOfferingResource,
88
285
  type IoiResource as IoiResource,
89
286
  type NdaAcceptanceResource as NdaAcceptanceResource,
287
+ type IoisCreateIoiResponse as IoisCreateIoiResponse,
288
+ type IoisGetIoisResponse as IoisGetIoisResponse,
289
+ type IoisUpdateIoiResponse as IoisUpdateIoiResponse,
290
+ type IoisCreateIoiParams as IoisCreateIoiParams,
291
+ type IoisDeleteIoiParams as IoisDeleteIoiParams,
292
+ type IoisGetIoisParams as IoisGetIoisParams,
293
+ type IoisUpdateIoiParams as IoisUpdateIoiParams,
90
294
  };
91
295
  }