@stable_sea/sdk 0.2.14 → 0.2.19

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.
package/README.md CHANGED
@@ -21,7 +21,7 @@ import { createStableSeaClient } from "@stable_sea/sdk";
21
21
  const client = createStableSeaClient({
22
22
  apiKey: process.env.STABLE_SEA_API_KEY!,
23
23
  baseUrl: process.env.STABLE_SEA_BASE_URL!,
24
- version: "2026-10-11",
24
+ version: "2026-10-15",
25
25
  });
26
26
  ```
27
27
 
@@ -99,6 +99,12 @@ invitee's email-link token; administrators cannot accept on their behalf.
99
99
  Member grants and activation use existing business permissions. Policy settings
100
100
  retain their separate launch gate.
101
101
 
102
+ Read a member's active keys at
103
+ `GET /identity/members/{individual_id}/api_keys`, selecting `environment: "live"`
104
+ or `"test"`. Suspending or removing the member leaves those business keys working;
105
+ revoke unwanted keys explicitly through the existing key-revocation operation.
106
+ The same API-key management permission applies.
107
+
102
108
  Manage Live and Test credentials at `/identity/api_keys`. Use an explicit scope
103
109
  list and a unique issuance idempotency key. Test lifecycle operations have no
104
110
  extra fresh two-factor prompt; Live operations retain their existing protection.
@@ -364,6 +370,41 @@ with `client.DELETE("/v1/bank_accounts/{id}")`, without a body or idempotency ke
364
370
  Read bank and wallet operation `status` instead of `state`. Retrieve issued
365
371
  statement content with `GET /v1/statements/{id}`; the `/content` route is retired.
366
372
 
367
- The HTTP request pin is `2026-10-11`. The retired pin returns
373
+ The HTTP request pin is `2026-10-15`. The retired pin returns
368
374
  `400 unsupported_api_version`. Existing API keys remain valid; stored key and
369
375
  thin-event/webhook versions are preserved.
376
+
377
+ Fund documents are part of `GET /v1/securities`: use
378
+ `details.content.disclosures` for issuer fund-page and approved Terminal trading
379
+ disclosure HTML, including yield definitions, transaction roles and fee
380
+ applicability. Titles identify the context, and each fund's risk language is
381
+ preserved. Use
382
+ `details.content.prospectus_url` for the shared Terminal prospectus link. The
383
+ link may open the issuer’s official regulatory-reports page. Details and links
384
+ can be null and disclosures can be empty when unavailable.
385
+ These blocks supplement current quotes, fees and financial controls.
386
+
387
+ Bank registration and reads support US accounts only. Non-US banks and
388
+ cross-border Payments/Treasury operations are intentionally excluded. Update to
389
+ the latest SDK for the current HTTP contract; credential and webhook record
390
+ versions are unchanged.
391
+
392
+ ### Member fund controls
393
+
394
+ Use the member session client with the signed-in business session for
395
+ `GET /identity/members/{id}/action_settings`, `POST` on the same path, and
396
+ `GET /identity/members/{id}/action_settings/preview`. Saves require Manage
397
+ Permissions; send the returned `revision` as `expected_revision`. Send `policy_schema_version: 2`
398
+ for extended fund controls or when replacing/clearing an extended override.
399
+
400
+ Each buy/sell `fund_controls` has `allowed_categories`, `conditions` and
401
+ `catalog_revision`. Supported categories are returned in `fund_categories`; `/v1/securities` also
402
+ publishes each fund's canonical `approval_category`.
403
+ A condition selects a teammate for every amount (`min_usd: null`) or at/above an
404
+ exact USD string. All-assets amount conditions cannot overlap type conditions.
405
+ Use the saved control's catalog revision to preserve its membership. To explicitly
406
+ adopt new/reclassified assets, review `fund_catalog_changes`, then use the current
407
+ `fund_catalog_revision`. The server supplies the actual catalog and valuation.
408
+ Preview checks saved settings and does not authorize execution. API keys do not
409
+ act as the key owner's member; machine `/v1/policies` remains business controls
410
+ and tiers, without member-policy administration.
@@ -179,7 +179,7 @@ export interface paths {
179
179
  };
180
180
  /**
181
181
  * List bank accounts
182
- * @description Lists saved US and Mexican bank accounts, newest first by created_ts, then ID. Requires money:read. Account numbers and holder identity are masked unless the key also has money:bank_accounts_sensitive_read. Institution, routing and postal address fields follow the same visibility as Terminal.
182
+ * @description Lists saved US bank accounts, newest first by created_ts, then ID. Requires money:read. Account numbers and holder identity are masked unless the key also has money:bank_accounts_sensitive_read. Institution, routing and postal address fields follow the same visibility as Terminal.
183
183
  *
184
184
  * Use either starting_after or ending_before with a bank account ID. limit defaults to 10 and cannot exceed 100. An unknown or removed cursor returns an error. Newly added or changed accounts can briefly return 503 before updated details are available; retry the read.
185
185
  */
@@ -187,7 +187,7 @@ export interface paths {
187
187
  put?: never;
188
188
  /**
189
189
  * Register a bank account
190
- * @description Registers a US or Mexican bank account using Terminal's existing validation and screening. Provide country and the matching us_bank_account or mx_bank_account details. Requires money:bank_accounts_write and an Idempotency-Key. Poll the returned operation, then retrieve its bank_account with money:read. Registration alone does not enable the account or make it eligible for funding or payouts.
190
+ * @description Registers a US bank account using Terminal's existing validation and screening. Set country to US and provide us_bank_account details. Non-US bank accounts and cross-border payments are not supported. Requires money:bank_accounts_write and an Idempotency-Key. Poll the returned operation, then retrieve its bank_account with money:read. Registration alone does not enable the account or make it eligible for funding or payouts.
191
191
  */
192
192
  post: operations["bank_accounts.create"];
193
193
  delete?: never;
@@ -1212,17 +1212,16 @@ export interface components {
1212
1212
  /** @enum {string} */
1213
1213
  beneficiary_type: "self" | "third_party";
1214
1214
  /** @enum {string} */
1215
- country: "US" | "MX";
1215
+ country: "US";
1216
1216
  /** Format: date-time */
1217
1217
  created_ts: string;
1218
1218
  /** @enum {string} */
1219
- currency: "USD" | "MXN";
1219
+ currency: "USD";
1220
1220
  /** @description True when account numbers and holder identity are masked. Full details require money:bank_accounts_sensitive_read in addition to money:read. */
1221
1221
  details_masked: boolean;
1222
1222
  id: string;
1223
1223
  /** @description False for an isolated simulated bank account. */
1224
1224
  livemode: boolean;
1225
- mx_bank_account?: components["schemas"]["MXBankAccountDetails"];
1226
1225
  /** @enum {string} */
1227
1226
  object: "bank_account";
1228
1227
  /**
@@ -1230,7 +1229,7 @@ export interface components {
1230
1229
  * @enum {string}
1231
1230
  */
1232
1231
  status: "enabled" | "disabled";
1233
- us_bank_account?: components["schemas"]["USBankAccountDetails"];
1232
+ us_bank_account: components["schemas"]["USBankAccountDetails"];
1234
1233
  };
1235
1234
  BankAccountAddress: {
1236
1235
  city: string;
@@ -1253,9 +1252,8 @@ export interface components {
1253
1252
  */
1254
1253
  beneficiary_type?: "self" | "third_party" | null;
1255
1254
  /** @enum {string} */
1256
- country: "US" | "MX";
1257
- mx_bank_account?: components["schemas"]["MXBankAccountCreateDetails"];
1258
- us_bank_account?: components["schemas"]["USBankAccountCreateDetails"];
1255
+ country: "US";
1256
+ us_bank_account: components["schemas"]["USBankAccountCreateDetails"];
1259
1257
  };
1260
1258
  BankAccountDeleted: {
1261
1259
  /** @enum {boolean} */
@@ -1608,29 +1606,13 @@ export interface components {
1608
1606
  observed_ts: string;
1609
1607
  };
1610
1608
  /** @enum {string} */
1611
- HTTPAPIVersion: "2026-10-11";
1609
+ HTTPAPIVersion: "2026-10-15";
1612
1610
  List: {
1613
1611
  data: components["schemas"]["Resource"][];
1614
1612
  has_more: boolean;
1615
1613
  /** @enum {string} */
1616
1614
  object: "list";
1617
1615
  };
1618
- MXBankAccountCreateDetails: {
1619
- account_holder_first_name: string;
1620
- account_holder_last_name: string;
1621
- clabe: string;
1622
- /** @description Optional RFC or CURP, validated by the existing recipient rules. */
1623
- holder_identifier?: string;
1624
- legal_entity_name: string;
1625
- };
1626
- MXBankAccountDetails: {
1627
- account_holder_first_name: string;
1628
- account_holder_last_name: string;
1629
- clabe: string;
1630
- /** @description Account holder RFC or CURP. Omitted when unavailable; masked unless full details are permitted. */
1631
- holder_identifier?: string;
1632
- legal_entity_name: string;
1633
- };
1634
1616
  MarketPricePoint: {
1635
1617
  close_usd: string;
1636
1618
  /** Format: date-time */
@@ -2047,6 +2029,11 @@ export interface components {
2047
2029
  object: string;
2048
2030
  };
2049
2031
  Security: {
2032
+ /**
2033
+ * @description Stable server fund category for member controls; independent of asset_class and is_money_market.
2034
+ * @enum {string}
2035
+ */
2036
+ approval_category: "treasury_money_market" | "floating_rate_treasury" | "short_duration_income";
2050
2037
  asset_class: string;
2051
2038
  details: components["schemas"]["SecurityDetails"];
2052
2039
  /**
@@ -2085,7 +2072,13 @@ export interface components {
2085
2072
  };
2086
2073
  SecurityContent: {
2087
2074
  description_html: string;
2075
+ /** @description Issuer fund-page and approved trading disclosures. Titles identify order, review and Express buy contexts; fund-specific applicability is preserved. */
2088
2076
  disclosures: components["schemas"]["SecurityDisclosure"][];
2077
+ /**
2078
+ * Format: uri
2079
+ * @description Issuer prospectus or official prospectus and regulatory-reports page, shared with Terminal. The link may open a document portal rather than a PDF. Null when unavailable.
2080
+ */
2081
+ prospectus_url: string | null;
2089
2082
  why_fund_html: string;
2090
2083
  };
2091
2084
  SecurityDetails: {
@@ -2294,7 +2287,7 @@ export interface components {
2294
2287
  * @description Reason processing failed. Correct the cause before submitting a new request with a new idempotency key.
2295
2288
  * @enum {string}
2296
2289
  */
2297
- failure_code?: "permission_denied" | "api_key_revoked" | "business_locked" | "terms_acceptance_required" | "api_access_disabled" | "statement_ineligible" | "invalid_statement_month" | "statement_generation_refused" | "statement_processing_unavailable";
2290
+ failure_code?: "permission_denied" | "api_key_revoked" | "business_locked" | "business_archived" | "terms_acceptance_required" | "api_access_disabled" | "statement_ineligible" | "invalid_statement_month" | "statement_generation_refused" | "statement_processing_unavailable";
2298
2291
  id: string;
2299
2292
  livemode: boolean;
2300
2293
  /** @enum {string} */
@@ -2712,7 +2705,7 @@ export interface components {
2712
2705
  "application/json": components["schemas"]["Error"];
2713
2706
  };
2714
2707
  };
2715
- /** @description The credential lacks the required permission or the operation is unavailable to this business. */
2708
+ /** @description The credential lacks the required permission or the operation is unavailable to this business. Two codes refuse every request a genuine key makes: platform_inactive (API access is not active in this environment) and business_archived (the business is archived; its keys work again once it is unarchived). */
2716
2709
  Error403: {
2717
2710
  headers: {
2718
2711
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -55,7 +55,7 @@ export interface paths {
55
55
  };
56
56
  /**
57
57
  * Read the business's e-signature enrollment (business)
58
- * @description Reports whether the caller accepts their business's MSA by e-signature — the business is enrolled and its allow-list, when it has one, names the caller — the provider this deployment uses, and how the embedded signing page reports progress (protocol and the only allowed message origin). A caller who is not enrolled reads enrolled:false and accepts by click-through. An enrolled caller while e-signature is unavailable on this deployment gets 503 — never enrolled:false, because click-through acceptance is refused for them.
58
+ * @description Reports whether the caller accepts their business's MSA by e-signature — the business is enrolled and its allow-list, when it has one, names the caller — the provider this deployment uses, and how the embedded signing page reports progress (protocol and the only allowed message origin). A caller who is not enrolled reads enrolled:false and accepts by click-through. While e-signature is paused on this deployment, an enrolled caller also reads enrolled:false and accepts by click-through, unless a signature request holds their business's current MSA: that business keeps signing by e-signature until the request ends. A caller who signs by e-signature while it is not running on this deployment gets 503 — never enrolled:false, because click-through acceptance is refused for them.
59
59
  */
60
60
  get: operations["compliance.esign.enrollment.get"];
61
61
  put?: never;
@@ -686,7 +686,7 @@ export interface paths {
686
686
  put?: never;
687
687
  /**
688
688
  * Accept being the authorized signer
689
- * @description The member a request names accepts, from their own session. Only that member can; the request then waits for a compliance operator.
689
+ * @description The member a request names accepts, from their own session, and submits the identity details Stable Sea must verify for a new authorized signer: citizenship, date of birth, a US Social Security Number or a passport (a United States citizen gives an SSN; anyone else says whether they have a US SSN), and an address. The name comes from the member's record. Only that member can accept; the request then waits for a compliance operator, who reads the details with the SSN or passport number masked and can reveal the whole value, on the record. The details are sealed on the request and are never returned to the business: not to its admins and not in this answer. A body that does not match this schema (a missing field, a wrong type, a value over its length cap) is refused as invalid_field; a detail the schema accepts and the rules refuse (an ITIN, a date of birth that is not a real day or makes the signer younger than 18, a field the identifier class does not allow) is refused as signer_change_invalid. Neither refusal repeats a submitted value.
690
690
  */
691
691
  post: operations["compliance.signer_changes.accept"];
692
692
  delete?: never;
@@ -1063,6 +1063,50 @@ export interface paths {
1063
1063
  patch?: never;
1064
1064
  trace?: never;
1065
1065
  };
1066
+ "/identity/members/{id}/action_settings": {
1067
+ parameters: {
1068
+ query?: never;
1069
+ header?: never;
1070
+ path?: never;
1071
+ cookie?: never;
1072
+ };
1073
+ /**
1074
+ * Get a member's permissions and action settings
1075
+ * @description One current member configuration. Each fund action has at most three category conditions. Catalog changes contain only the union of its saved and current finite server reference catalogs, never tenant activity or history.
1076
+ */
1077
+ get: operations["identity.members.action_settings.get"];
1078
+ put?: never;
1079
+ /**
1080
+ * Save member permissions and action settings atomically
1081
+ * @description Returns one current member configuration. Each fund action has at most three category conditions. Catalog changes contain only the union of its saved and current finite server reference catalogs, never tenant activity or history.
1082
+ */
1083
+ post: operations["identity.members.action_settings.save"];
1084
+ delete?: never;
1085
+ options?: never;
1086
+ head?: never;
1087
+ patch?: never;
1088
+ trace?: never;
1089
+ };
1090
+ "/identity/members/{id}/action_settings/preview": {
1091
+ parameters: {
1092
+ query?: never;
1093
+ header?: never;
1094
+ path?: never;
1095
+ cookie?: never;
1096
+ };
1097
+ /**
1098
+ * Preview current approval requirements for a member action
1099
+ * @description Read-only configuration and server valuation evidence. This preview does not authorize execution; submission rechecks current permissions, policies and financial controls.
1100
+ */
1101
+ get: operations["identity.members.action_settings.preview"];
1102
+ put?: never;
1103
+ post?: never;
1104
+ delete?: never;
1105
+ options?: never;
1106
+ head?: never;
1107
+ patch?: never;
1108
+ trace?: never;
1109
+ };
1066
1110
  "/identity/members/{id}/deactivate": {
1067
1111
  parameters: {
1068
1112
  query?: never;
@@ -1103,6 +1147,26 @@ export interface paths {
1103
1147
  patch?: never;
1104
1148
  trace?: never;
1105
1149
  };
1150
+ "/identity/members/{individual_id}/api_keys": {
1151
+ parameters: {
1152
+ query?: never;
1153
+ header?: never;
1154
+ path?: never;
1155
+ cookie?: never;
1156
+ };
1157
+ /**
1158
+ * List a member's active API keys
1159
+ * @description Lists the unrevoked Live or Test keys one member of your current business created. Keys authenticate as the business, so they keep working after the member is suspended or removed until you revoke them. Requires api_keys_manage.
1160
+ */
1161
+ get: operations["identity.members.api_keys.list"];
1162
+ put?: never;
1163
+ post?: never;
1164
+ delete?: never;
1165
+ options?: never;
1166
+ head?: never;
1167
+ patch?: never;
1168
+ trace?: never;
1169
+ };
1106
1170
  "/identity/members/{individual_id}/rbac": {
1107
1171
  parameters: {
1108
1172
  query?: never;
@@ -1227,26 +1291,6 @@ export interface paths {
1227
1291
  patch?: never;
1228
1292
  trace?: never;
1229
1293
  };
1230
- "/identity/step_ups": {
1231
- parameters: {
1232
- query?: never;
1233
- header?: never;
1234
- path?: never;
1235
- cookie?: never;
1236
- };
1237
- get?: never;
1238
- put?: never;
1239
- /**
1240
- * Verify a fresh second factor
1241
- * @description Record a fresh second-factor proof for your current business session where an existing action requires it.
1242
- */
1243
- post: operations["identity.step_ups.create"];
1244
- delete?: never;
1245
- options?: never;
1246
- head?: never;
1247
- patch?: never;
1248
- trace?: never;
1249
- };
1250
1294
  "/identity/two_factor_settings": {
1251
1295
  parameters: {
1252
1296
  query?: never;
@@ -1434,7 +1478,7 @@ export interface paths {
1434
1478
  };
1435
1479
  /**
1436
1480
  * List your notifications
1437
- * @description Returns your supported notifications for the current business, newest first. Use next_cursor for the following page. Includes registered notification types except QuickBooks. Requires a signed-in business session; account and member locks still apply.
1481
+ * @description Returns your supported notifications for the current business, newest first. Use next_cursor for the following page. Bank notices cover US accounts; cross-border payment notices are excluded. Older financial notices without an identifiable account or transaction are omitted. Requires a signed-in business session; account and member locks still apply.
1438
1482
  */
1439
1483
  get: operations["notifications.member_notifications.list"];
1440
1484
  put?: never;
@@ -2341,6 +2385,28 @@ export interface components {
2341
2385
  new_signer_id: string;
2342
2386
  reason: string;
2343
2387
  };
2388
+ ComplianceAcceptSignerChangeBody: {
2389
+ address_city: string;
2390
+ /** @description A country name like those in the KYB form's country list (only presence and length are checked). */
2391
+ address_country: string;
2392
+ /** @description Required when address_country is United States, as a state name from the KYB form's state list. */
2393
+ address_state?: string;
2394
+ address_street: string;
2395
+ address_street_2?: string;
2396
+ address_zip: string;
2397
+ /** @description The signer's country of citizenship, as a country name like those in the KYB form's country list (only presence and length are checked), for example United States. */
2398
+ citizenship: string;
2399
+ /** @description The signer's date of birth, YYYY-MM-DD. The signer must be at least 18 years old. */
2400
+ date_of_birth: string;
2401
+ /** @description Whether the signer has a US Social Security Number: Yes or No, as on the KYB form. Required when citizenship is not United States; refused when it is. */
2402
+ holds_us_ssn?: string;
2403
+ /** @description The country that issued the passport, as a country name like those in the KYB form's country list (only presence and length are checked). */
2404
+ passport_country?: string;
2405
+ /** @description The signer's passport number. Required, with passport_country, when the signer is not a United States citizen and has no US SSN; refused otherwise. */
2406
+ passport_number?: string;
2407
+ /** @description The signer's US Social Security Number. Required when the signer is a United States citizen or has a US SSN; refused otherwise. An ITIN is not accepted. */
2408
+ ssn?: string;
2409
+ };
2344
2410
  IdentityReportUnrecognizedLoginInput: {
2345
2411
  token?: string;
2346
2412
  };
@@ -2522,8 +2588,48 @@ export interface components {
2522
2588
  deleted?: boolean;
2523
2589
  id?: string;
2524
2590
  };
2525
- MembersMemberAccessInput: {
2526
- reason?: string;
2591
+ MembersMemberActionSettingsSummary: {
2592
+ actions?: components["schemas"]["MembersMemberActionSettings"];
2593
+ fund_catalog_changes?: {
2594
+ [key: string]: components["schemas"]["MembersMemberFundCatalogChange"][];
2595
+ } | null;
2596
+ fund_catalog_revision?: string;
2597
+ fund_categories?: components["schemas"]["MembersMemberFundCategory"][] | null;
2598
+ individual_id?: string;
2599
+ permissions?: components["schemas"]["MembersGetMemberRBACPoliciesOutput"];
2600
+ /** Format: int32 */
2601
+ policy_schema_version?: number;
2602
+ revision?: string;
2603
+ };
2604
+ MembersMemberActionSettings: {
2605
+ ach_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2606
+ fund_buy?: components["schemas"]["MembersMemberActionOverride"];
2607
+ fund_sell?: components["schemas"]["MembersMemberActionOverride"];
2608
+ onchain_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2609
+ wire_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2610
+ };
2611
+ MembersMemberActionOverride: {
2612
+ allowed: boolean;
2613
+ fund_controls?: components["schemas"]["MembersMemberFundControls"];
2614
+ min_usd: string | null;
2615
+ selected_approver_id: string | null;
2616
+ } | null;
2617
+ MembersMemberFundControls: {
2618
+ allowed_categories: components["schemas"]["MembersMemberFundCategory"][] | null;
2619
+ catalog_revision: string;
2620
+ conditions: components["schemas"]["MembersMemberFundCondition"][];
2621
+ };
2622
+ /** @enum {string} */
2623
+ MembersMemberFundCategory: "treasury_money_market" | "floating_rate_treasury" | "short_duration_income";
2624
+ MembersMemberFundCondition: {
2625
+ category: components["schemas"]["MembersMemberFundCategory"];
2626
+ min_usd: string | null;
2627
+ selected_approver_id: string;
2628
+ };
2629
+ MembersMemberFundCatalogChange: {
2630
+ category?: string;
2631
+ previous_category?: string;
2632
+ symbol?: string;
2527
2633
  };
2528
2634
  MembersGetMemberRBACPoliciesOutput: {
2529
2635
  api_keys_manage?: boolean;
@@ -2537,6 +2643,79 @@ export interface components {
2537
2643
  permissions_manage?: boolean;
2538
2644
  transfers_approve?: boolean;
2539
2645
  };
2646
+ MembersSaveMemberActionSettingsInput: {
2647
+ actions?: components["schemas"]["MembersMemberActionSettingsPatch"];
2648
+ expected_revision: string;
2649
+ permissions?: components["schemas"]["MembersActionSettingsPermissionPatch"];
2650
+ /** Format: int32 */
2651
+ policy_schema_version?: number;
2652
+ };
2653
+ MembersMemberActionSettingsPatch: {
2654
+ ach_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2655
+ fund_buy?: components["schemas"]["MembersMemberActionOverride"];
2656
+ fund_sell?: components["schemas"]["MembersMemberActionOverride"];
2657
+ onchain_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2658
+ wire_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2659
+ };
2660
+ MembersActionSettingsPermissionPatch: {
2661
+ api_keys_manage?: boolean;
2662
+ assets_buy?: boolean;
2663
+ assets_sell?: boolean;
2664
+ bank_account_add?: boolean;
2665
+ bank_account_remove?: boolean;
2666
+ funds_deposit?: boolean;
2667
+ funds_withdraw?: boolean;
2668
+ members_invite?: boolean;
2669
+ permissions_manage?: boolean;
2670
+ transfers_approve?: boolean;
2671
+ };
2672
+ /** @enum {string} */
2673
+ MembersMemberAction: "ach_withdrawal" | "wire_withdrawal" | "onchain_withdrawal" | "fund_buy" | "fund_sell";
2674
+ MembersMemberActionSettingsPreview: {
2675
+ action_allowed?: boolean;
2676
+ business_policy_revision?: string | null;
2677
+ permission_allowed?: boolean;
2678
+ requirements?: components["schemas"]["MembersMemberApprovalRequirementView"][] | null;
2679
+ revision?: string;
2680
+ valuation?: components["schemas"]["MembersMemberActionValuationView"];
2681
+ };
2682
+ MembersMemberApprovalRequirementView: {
2683
+ /** Format: int32 */
2684
+ count?: number;
2685
+ excluded_individual_ids?: string[];
2686
+ individual_id?: string;
2687
+ kind?: components["schemas"]["MembersMemberRequirementKind"];
2688
+ source?: components["schemas"]["MembersMemberRequirementSource"];
2689
+ };
2690
+ /** @enum {string} */
2691
+ MembersMemberRequirementKind: "ordinary_quorum" | "additional_named" | "selected_member";
2692
+ /** @enum {string} */
2693
+ MembersMemberRequirementSource: "business" | "member";
2694
+ MembersMemberActionValuationView: {
2695
+ amount_usd?: string | null;
2696
+ amount_usd_view?: components["schemas"]["MoneyfmtMoneyAmountView"] | (null);
2697
+ fund_category?: string;
2698
+ status?: components["schemas"]["MembersMemberValuationStatus"];
2699
+ };
2700
+ MoneyfmtMoneyAmountView: {
2701
+ /** Format: double */
2702
+ float: number;
2703
+ formatted: components["schemas"]["MoneyfmtFormattedMoneyAmountView"];
2704
+ precise: string;
2705
+ symbol: string;
2706
+ zero: boolean;
2707
+ };
2708
+ MoneyfmtFormattedMoneyAmountView: {
2709
+ compact: string;
2710
+ currency_sign: string;
2711
+ currency_sign_position: string;
2712
+ full: string;
2713
+ };
2714
+ /** @enum {string} */
2715
+ MembersMemberValuationStatus: "valued" | "unavailable";
2716
+ MembersMemberAccessInput: {
2717
+ reason?: string;
2718
+ };
2540
2719
  MembersSetMemberRBACPolicyInput: {
2541
2720
  enabled?: boolean;
2542
2721
  rbac_type: string;
@@ -2586,22 +2765,6 @@ export interface components {
2586
2765
  ip_address?: string;
2587
2766
  session_token?: string;
2588
2767
  };
2589
- IdentityStepUpCreateInput: {
2590
- /** @description Current authenticator code. */
2591
- code: string;
2592
- /**
2593
- * @description Second factor to prove. Only totp.
2594
- * @enum {string}
2595
- */
2596
- method: "totp";
2597
- };
2598
- IdentityStepUpCreateOutput: {
2599
- /**
2600
- * Format: date-time
2601
- * @description When the code was verified and recorded.
2602
- */
2603
- verified_ts: string;
2604
- };
2605
2768
  IdentityTwofaOutput: {
2606
2769
  /** @enum {string} */
2607
2770
  method?: "sms" | "totp";
@@ -5267,7 +5430,11 @@ export interface operations {
5267
5430
  };
5268
5431
  cookie?: never;
5269
5432
  };
5270
- requestBody?: never;
5433
+ requestBody?: {
5434
+ content: {
5435
+ "application/json": components["schemas"]["ComplianceAcceptSignerChangeBody"];
5436
+ };
5437
+ };
5271
5438
  responses: {
5272
5439
  /** @description OK */
5273
5440
  200: {
@@ -5278,6 +5445,15 @@ export interface operations {
5278
5445
  "application/json": components["schemas"]["ComplianceSignerChangeView"];
5279
5446
  };
5280
5447
  };
5448
+ /** @description Bad Request */
5449
+ 400: {
5450
+ headers: {
5451
+ [name: string]: unknown;
5452
+ };
5453
+ content: {
5454
+ "application/json": components["schemas"]["HttputilAPIError"];
5455
+ };
5456
+ };
5281
5457
  /** @description Unauthorized */
5282
5458
  401: {
5283
5459
  headers: {
@@ -6187,7 +6363,7 @@ export interface operations {
6187
6363
  };
6188
6364
  };
6189
6365
  };
6190
- "identity.members.deactivate": {
6366
+ "identity.members.action_settings.get": {
6191
6367
  parameters: {
6192
6368
  query?: never;
6193
6369
  header?: never;
@@ -6196,11 +6372,7 @@ export interface operations {
6196
6372
  };
6197
6373
  cookie?: never;
6198
6374
  };
6199
- requestBody?: {
6200
- content: {
6201
- "application/json": components["schemas"]["MembersMemberAccessInput"];
6202
- };
6203
- };
6375
+ requestBody?: never;
6204
6376
  responses: {
6205
6377
  /** @description OK */
6206
6378
  200: {
@@ -6208,16 +6380,7 @@ export interface operations {
6208
6380
  [name: string]: unknown;
6209
6381
  };
6210
6382
  content: {
6211
- "application/json": components["schemas"]["MembersView"];
6212
- };
6213
- };
6214
- /** @description Bad Request */
6215
- 400: {
6216
- headers: {
6217
- [name: string]: unknown;
6218
- };
6219
- content: {
6220
- "application/json": components["schemas"]["HttputilAPIError"];
6383
+ "application/json": components["schemas"]["MembersMemberActionSettingsSummary"];
6221
6384
  };
6222
6385
  };
6223
6386
  /** @description Unauthorized */
@@ -6258,7 +6421,7 @@ export interface operations {
6258
6421
  };
6259
6422
  };
6260
6423
  };
6261
- "identity.members.reactivate": {
6424
+ "identity.members.action_settings.save": {
6262
6425
  parameters: {
6263
6426
  query?: never;
6264
6427
  header?: never;
@@ -6269,7 +6432,7 @@ export interface operations {
6269
6432
  };
6270
6433
  requestBody?: {
6271
6434
  content: {
6272
- "application/json": components["schemas"]["MembersMemberAccessInput"];
6435
+ "application/json": components["schemas"]["MembersSaveMemberActionSettingsInput"];
6273
6436
  };
6274
6437
  };
6275
6438
  responses: {
@@ -6279,7 +6442,7 @@ export interface operations {
6279
6442
  [name: string]: unknown;
6280
6443
  };
6281
6444
  content: {
6282
- "application/json": components["schemas"]["MembersView"];
6445
+ "application/json": components["schemas"]["MembersMemberActionSettingsSummary"];
6283
6446
  };
6284
6447
  };
6285
6448
  /** @description Bad Request */
@@ -6318,6 +6481,15 @@ export interface operations {
6318
6481
  "application/json": components["schemas"]["HttputilAPIError"];
6319
6482
  };
6320
6483
  };
6484
+ /** @description Conflict */
6485
+ 409: {
6486
+ headers: {
6487
+ [name: string]: unknown;
6488
+ };
6489
+ content: {
6490
+ "application/json": components["schemas"]["HttputilAPIError"];
6491
+ };
6492
+ };
6321
6493
  /** @description Error response. */
6322
6494
  default: {
6323
6495
  headers: {
@@ -6329,12 +6501,17 @@ export interface operations {
6329
6501
  };
6330
6502
  };
6331
6503
  };
6332
- "identity.members.rbac.get": {
6504
+ "identity.members.action_settings.preview": {
6333
6505
  parameters: {
6334
- query?: never;
6506
+ query: {
6507
+ action: components["schemas"]["MembersMemberAction"];
6508
+ amount: string;
6509
+ symbol?: string;
6510
+ payment_rail?: string;
6511
+ };
6335
6512
  header?: never;
6336
6513
  path: {
6337
- individual_id: string;
6514
+ id: string;
6338
6515
  };
6339
6516
  cookie?: never;
6340
6517
  };
@@ -6346,7 +6523,16 @@ export interface operations {
6346
6523
  [name: string]: unknown;
6347
6524
  };
6348
6525
  content: {
6349
- "application/json": components["schemas"]["MembersGetMemberRBACPoliciesOutput"];
6526
+ "application/json": components["schemas"]["MembersMemberActionSettingsPreview"];
6527
+ };
6528
+ };
6529
+ /** @description Bad Request */
6530
+ 400: {
6531
+ headers: {
6532
+ [name: string]: unknown;
6533
+ };
6534
+ content: {
6535
+ "application/json": components["schemas"]["HttputilAPIError"];
6350
6536
  };
6351
6537
  };
6352
6538
  /** @description Unauthorized */
@@ -6376,6 +6562,15 @@ export interface operations {
6376
6562
  "application/json": components["schemas"]["HttputilAPIError"];
6377
6563
  };
6378
6564
  };
6565
+ /** @description Service Unavailable */
6566
+ 503: {
6567
+ headers: {
6568
+ [name: string]: unknown;
6569
+ };
6570
+ content: {
6571
+ "application/json": components["schemas"]["HttputilAPIError"];
6572
+ };
6573
+ };
6379
6574
  /** @description Error response. */
6380
6575
  default: {
6381
6576
  headers: {
@@ -6387,18 +6582,18 @@ export interface operations {
6387
6582
  };
6388
6583
  };
6389
6584
  };
6390
- "identity.members.rbac.set": {
6585
+ "identity.members.deactivate": {
6391
6586
  parameters: {
6392
6587
  query?: never;
6393
6588
  header?: never;
6394
6589
  path: {
6395
- individual_id: string;
6590
+ id: string;
6396
6591
  };
6397
6592
  cookie?: never;
6398
6593
  };
6399
6594
  requestBody?: {
6400
6595
  content: {
6401
- "application/json": components["schemas"]["MembersSetMemberRBACPolicyInput"];
6596
+ "application/json": components["schemas"]["MembersMemberAccessInput"];
6402
6597
  };
6403
6598
  };
6404
6599
  responses: {
@@ -6408,7 +6603,43 @@ export interface operations {
6408
6603
  [name: string]: unknown;
6409
6604
  };
6410
6605
  content: {
6411
- "application/json": components["schemas"]["MembersGetMemberRBACPoliciesOutput"];
6606
+ "application/json": components["schemas"]["MembersView"];
6607
+ };
6608
+ };
6609
+ /** @description Bad Request */
6610
+ 400: {
6611
+ headers: {
6612
+ [name: string]: unknown;
6613
+ };
6614
+ content: {
6615
+ "application/json": components["schemas"]["HttputilAPIError"];
6616
+ };
6617
+ };
6618
+ /** @description Unauthorized */
6619
+ 401: {
6620
+ headers: {
6621
+ [name: string]: unknown;
6622
+ };
6623
+ content: {
6624
+ "application/json": components["schemas"]["HttputilAPIError"];
6625
+ };
6626
+ };
6627
+ /** @description Forbidden */
6628
+ 403: {
6629
+ headers: {
6630
+ [name: string]: unknown;
6631
+ };
6632
+ content: {
6633
+ "application/json": components["schemas"]["HttputilAPIError"];
6634
+ };
6635
+ };
6636
+ /** @description Not Found */
6637
+ 404: {
6638
+ headers: {
6639
+ [name: string]: unknown;
6640
+ };
6641
+ content: {
6642
+ "application/json": components["schemas"]["HttputilAPIError"];
6412
6643
  };
6413
6644
  };
6414
6645
  /** @description Error response. */
@@ -6422,16 +6653,18 @@ export interface operations {
6422
6653
  };
6423
6654
  };
6424
6655
  };
6425
- "identity.sign_in.step_1": {
6656
+ "identity.members.reactivate": {
6426
6657
  parameters: {
6427
6658
  query?: never;
6428
6659
  header?: never;
6429
- path?: never;
6660
+ path: {
6661
+ id: string;
6662
+ };
6430
6663
  cookie?: never;
6431
6664
  };
6432
6665
  requestBody?: {
6433
6666
  content: {
6434
- "application/json": components["schemas"]["IdentitySignInStep1Input"];
6667
+ "application/json": components["schemas"]["MembersMemberAccessInput"];
6435
6668
  };
6436
6669
  };
6437
6670
  responses: {
@@ -6441,7 +6674,43 @@ export interface operations {
6441
6674
  [name: string]: unknown;
6442
6675
  };
6443
6676
  content: {
6444
- "application/json": components["schemas"]["IdentitySignInStep1Output"];
6677
+ "application/json": components["schemas"]["MembersView"];
6678
+ };
6679
+ };
6680
+ /** @description Bad Request */
6681
+ 400: {
6682
+ headers: {
6683
+ [name: string]: unknown;
6684
+ };
6685
+ content: {
6686
+ "application/json": components["schemas"]["HttputilAPIError"];
6687
+ };
6688
+ };
6689
+ /** @description Unauthorized */
6690
+ 401: {
6691
+ headers: {
6692
+ [name: string]: unknown;
6693
+ };
6694
+ content: {
6695
+ "application/json": components["schemas"]["HttputilAPIError"];
6696
+ };
6697
+ };
6698
+ /** @description Forbidden */
6699
+ 403: {
6700
+ headers: {
6701
+ [name: string]: unknown;
6702
+ };
6703
+ content: {
6704
+ "application/json": components["schemas"]["HttputilAPIError"];
6705
+ };
6706
+ };
6707
+ /** @description Not Found */
6708
+ 404: {
6709
+ headers: {
6710
+ [name: string]: unknown;
6711
+ };
6712
+ content: {
6713
+ "application/json": components["schemas"]["HttputilAPIError"];
6445
6714
  };
6446
6715
  };
6447
6716
  /** @description Error response. */
@@ -6455,18 +6724,20 @@ export interface operations {
6455
6724
  };
6456
6725
  };
6457
6726
  };
6458
- "identity.sign_in.step_2": {
6727
+ "identity.members.api_keys.list": {
6459
6728
  parameters: {
6460
- query?: never;
6729
+ query?: {
6730
+ limit?: number;
6731
+ cursor?: string;
6732
+ environment?: components["schemas"]["CustomerEnvironment"];
6733
+ };
6461
6734
  header?: never;
6462
- path?: never;
6463
- cookie?: never;
6464
- };
6465
- requestBody?: {
6466
- content: {
6467
- "application/json": components["schemas"]["IdentitySignInStep2Input"];
6735
+ path: {
6736
+ individual_id: string;
6468
6737
  };
6738
+ cookie?: never;
6469
6739
  };
6740
+ requestBody?: never;
6470
6741
  responses: {
6471
6742
  /** @description OK */
6472
6743
  200: {
@@ -6474,7 +6745,7 @@ export interface operations {
6474
6745
  [name: string]: unknown;
6475
6746
  };
6476
6747
  content: {
6477
- "application/json": components["schemas"]["IdentitySignInStep2Output"];
6748
+ "application/json": components["schemas"]["Page_CustomerAPIKey"];
6478
6749
  };
6479
6750
  };
6480
6751
  /** @description Error response. */
@@ -6488,18 +6759,16 @@ export interface operations {
6488
6759
  };
6489
6760
  };
6490
6761
  };
6491
- "identity.sign_in.step_3": {
6762
+ "identity.members.rbac.get": {
6492
6763
  parameters: {
6493
6764
  query?: never;
6494
6765
  header?: never;
6495
- path?: never;
6496
- cookie?: never;
6497
- };
6498
- requestBody?: {
6499
- content: {
6500
- "application/json": components["schemas"]["AuthSignInStep3Input"];
6766
+ path: {
6767
+ individual_id: string;
6501
6768
  };
6769
+ cookie?: never;
6502
6770
  };
6771
+ requestBody?: never;
6503
6772
  responses: {
6504
6773
  /** @description OK */
6505
6774
  200: {
@@ -6507,16 +6776,7 @@ export interface operations {
6507
6776
  [name: string]: unknown;
6508
6777
  };
6509
6778
  content: {
6510
- "application/json": components["schemas"]["AuthSignInStep3Output"];
6511
- };
6512
- };
6513
- /** @description Bad Request */
6514
- 400: {
6515
- headers: {
6516
- [name: string]: unknown;
6517
- };
6518
- content: {
6519
- "application/json": components["schemas"]["HttputilAPIError"];
6779
+ "application/json": components["schemas"]["MembersGetMemberRBACPoliciesOutput"];
6520
6780
  };
6521
6781
  };
6522
6782
  /** @description Unauthorized */
@@ -6537,8 +6797,8 @@ export interface operations {
6537
6797
  "application/json": components["schemas"]["HttputilAPIError"];
6538
6798
  };
6539
6799
  };
6540
- /** @description Conflict */
6541
- 409: {
6800
+ /** @description Not Found */
6801
+ 404: {
6542
6802
  headers: {
6543
6803
  [name: string]: unknown;
6544
6804
  };
@@ -6546,8 +6806,8 @@ export interface operations {
6546
6806
  "application/json": components["schemas"]["HttputilAPIError"];
6547
6807
  };
6548
6808
  };
6549
- /** @description Too Many Requests */
6550
- 429: {
6809
+ /** @description Error response. */
6810
+ default: {
6551
6811
  headers: {
6552
6812
  [name: string]: unknown;
6553
6813
  };
@@ -6555,17 +6815,34 @@ export interface operations {
6555
6815
  "application/json": components["schemas"]["HttputilAPIError"];
6556
6816
  };
6557
6817
  };
6558
- /** @description Internal Server Error */
6559
- 500: {
6818
+ };
6819
+ };
6820
+ "identity.members.rbac.set": {
6821
+ parameters: {
6822
+ query?: never;
6823
+ header?: never;
6824
+ path: {
6825
+ individual_id: string;
6826
+ };
6827
+ cookie?: never;
6828
+ };
6829
+ requestBody?: {
6830
+ content: {
6831
+ "application/json": components["schemas"]["MembersSetMemberRBACPolicyInput"];
6832
+ };
6833
+ };
6834
+ responses: {
6835
+ /** @description OK */
6836
+ 200: {
6560
6837
  headers: {
6561
6838
  [name: string]: unknown;
6562
6839
  };
6563
6840
  content: {
6564
- "application/json": components["schemas"]["HttputilAPIError"];
6841
+ "application/json": components["schemas"]["MembersGetMemberRBACPoliciesOutput"];
6565
6842
  };
6566
6843
  };
6567
- /** @description Service Unavailable */
6568
- 503: {
6844
+ /** @description Error response. */
6845
+ default: {
6569
6846
  headers: {
6570
6847
  [name: string]: unknown;
6571
6848
  };
@@ -6575,7 +6852,7 @@ export interface operations {
6575
6852
  };
6576
6853
  };
6577
6854
  };
6578
- "identity.sms2fa.request": {
6855
+ "identity.sign_in.step_1": {
6579
6856
  parameters: {
6580
6857
  query?: never;
6581
6858
  header?: never;
@@ -6584,7 +6861,7 @@ export interface operations {
6584
6861
  };
6585
6862
  requestBody?: {
6586
6863
  content: {
6587
- "application/json": components["schemas"]["IdentityRequestSms2faInput"];
6864
+ "application/json": components["schemas"]["IdentitySignInStep1Input"];
6588
6865
  };
6589
6866
  };
6590
6867
  responses: {
@@ -6594,7 +6871,7 @@ export interface operations {
6594
6871
  [name: string]: unknown;
6595
6872
  };
6596
6873
  content: {
6597
- "application/json": components["schemas"]["AuthAck"];
6874
+ "application/json": components["schemas"]["IdentitySignInStep1Output"];
6598
6875
  };
6599
6876
  };
6600
6877
  /** @description Error response. */
@@ -6608,7 +6885,7 @@ export interface operations {
6608
6885
  };
6609
6886
  };
6610
6887
  };
6611
- "identity.sms2fa.verify": {
6888
+ "identity.sign_in.step_2": {
6612
6889
  parameters: {
6613
6890
  query?: never;
6614
6891
  header?: never;
@@ -6617,7 +6894,7 @@ export interface operations {
6617
6894
  };
6618
6895
  requestBody?: {
6619
6896
  content: {
6620
- "application/json": components["schemas"]["IdentityVerifySms2faInput"];
6897
+ "application/json": components["schemas"]["IdentitySignInStep2Input"];
6621
6898
  };
6622
6899
  };
6623
6900
  responses: {
@@ -6641,7 +6918,7 @@ export interface operations {
6641
6918
  };
6642
6919
  };
6643
6920
  };
6644
- "identity.step_ups.create": {
6921
+ "identity.sign_in.step_3": {
6645
6922
  parameters: {
6646
6923
  query?: never;
6647
6924
  header?: never;
@@ -6650,7 +6927,7 @@ export interface operations {
6650
6927
  };
6651
6928
  requestBody?: {
6652
6929
  content: {
6653
- "application/json": components["schemas"]["IdentityStepUpCreateInput"];
6930
+ "application/json": components["schemas"]["AuthSignInStep3Input"];
6654
6931
  };
6655
6932
  };
6656
6933
  responses: {
@@ -6660,7 +6937,7 @@ export interface operations {
6660
6937
  [name: string]: unknown;
6661
6938
  };
6662
6939
  content: {
6663
- "application/json": components["schemas"]["IdentityStepUpCreateOutput"];
6940
+ "application/json": components["schemas"]["AuthSignInStep3Output"];
6664
6941
  };
6665
6942
  };
6666
6943
  /** @description Bad Request */
@@ -6708,6 +6985,81 @@ export interface operations {
6708
6985
  "application/json": components["schemas"]["HttputilAPIError"];
6709
6986
  };
6710
6987
  };
6988
+ /** @description Internal Server Error */
6989
+ 500: {
6990
+ headers: {
6991
+ [name: string]: unknown;
6992
+ };
6993
+ content: {
6994
+ "application/json": components["schemas"]["HttputilAPIError"];
6995
+ };
6996
+ };
6997
+ /** @description Service Unavailable */
6998
+ 503: {
6999
+ headers: {
7000
+ [name: string]: unknown;
7001
+ };
7002
+ content: {
7003
+ "application/json": components["schemas"]["HttputilAPIError"];
7004
+ };
7005
+ };
7006
+ };
7007
+ };
7008
+ "identity.sms2fa.request": {
7009
+ parameters: {
7010
+ query?: never;
7011
+ header?: never;
7012
+ path?: never;
7013
+ cookie?: never;
7014
+ };
7015
+ requestBody?: {
7016
+ content: {
7017
+ "application/json": components["schemas"]["IdentityRequestSms2faInput"];
7018
+ };
7019
+ };
7020
+ responses: {
7021
+ /** @description OK */
7022
+ 200: {
7023
+ headers: {
7024
+ [name: string]: unknown;
7025
+ };
7026
+ content: {
7027
+ "application/json": components["schemas"]["AuthAck"];
7028
+ };
7029
+ };
7030
+ /** @description Error response. */
7031
+ default: {
7032
+ headers: {
7033
+ [name: string]: unknown;
7034
+ };
7035
+ content: {
7036
+ "application/json": components["schemas"]["HttputilAPIError"];
7037
+ };
7038
+ };
7039
+ };
7040
+ };
7041
+ "identity.sms2fa.verify": {
7042
+ parameters: {
7043
+ query?: never;
7044
+ header?: never;
7045
+ path?: never;
7046
+ cookie?: never;
7047
+ };
7048
+ requestBody?: {
7049
+ content: {
7050
+ "application/json": components["schemas"]["IdentityVerifySms2faInput"];
7051
+ };
7052
+ };
7053
+ responses: {
7054
+ /** @description OK */
7055
+ 200: {
7056
+ headers: {
7057
+ [name: string]: unknown;
7058
+ };
7059
+ content: {
7060
+ "application/json": components["schemas"]["IdentitySignInStep2Output"];
7061
+ };
7062
+ };
6711
7063
  /** @description Error response. */
6712
7064
  default: {
6713
7065
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable_sea/sdk",
3
- "version": "0.2.14",
3
+ "version": "0.2.19",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "files": [