@stable_sea/sdk 0.2.18 → 0.2.20

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-15",
24
+ version: "2026-10-16",
25
25
  });
26
26
  ```
27
27
 
@@ -53,6 +53,14 @@ keys and rotations reuse that data.
53
53
  WTGXX supports standard and instant settlement. FLTTX supports standard
54
54
  settlement; instant orders are refused in both production and sandbox.
55
55
 
56
+ Every fund order names the network it settles on, `ethereum` or `stellar`. The
57
+ API never applies a business's default network. A BTC order settles on no network
58
+ and must not name one. The generated `network` type is optional because BTC shares
59
+ the request, so the server enforces both rules: a fund order without a network
60
+ fails with `network_required`, and a BTC order with one fails with
61
+ `network_not_applicable`. Sandbox settles on `ethereum`. Instant settlement is
62
+ available on `ethereum` only.
63
+
56
64
  ## Member administration and personal actions
57
65
 
58
66
  Use `createStableSeaSessionClient` for onboarding, legal documents, your profile
@@ -92,6 +100,14 @@ automatically. See the [member guide](https://docs.stablesea.com/api/#member-ses
92
100
  for sign-in, session lifecycle and attachment retrieval, and the
93
101
  [member reference](https://docs.stablesea.com/api/member-reference/) for fields.
94
102
 
103
+ Read the business's networks at `GET /identity/business/networks`, available to
104
+ any member. Choose them at `POST /identity/business/networks`, which needs the
105
+ Manage Permissions permission and takes the business from the session. Turning a
106
+ network off is refused while the business holds funds or has pending activity
107
+ there, and a network the business is not eligible for cannot be turned on. This
108
+ setting decides which networks the business may use, including for API orders. It
109
+ never supplies the network of an order, which always names its own.
110
+
95
111
  List members at `GET /identity/members` and manage invitations at
96
112
  `/identity/members/invites`. Creation returns invitation details, never the
97
113
  redemption token delivered to the invitee. Invitation acceptance uses the
@@ -363,6 +379,15 @@ its first chart refresh. The document's captured financial figures remain readab
363
379
  should accept the new value, and code that keyed a Solana balance by its
364
380
  `unknown` row should expect the `solana` row instead.
365
381
 
382
+ ## October 16 API contract
383
+
384
+ Update to the latest SDK before placing fund orders. `POST /v1/orders` takes a
385
+ `network` for every fund order and refuses it for BTC, and every order read returns
386
+ `network` (`null` for BTC). The HTTP request pin is `2026-10-16`; the retired
387
+ `2026-10-15` pin returns `400 unsupported_api_version`. An order whose network the
388
+ business turned off, or cannot settle on, ends `failed` with `network_not_in_use`
389
+ or `network_not_eligible`.
390
+
366
391
  ## October 11 API contract
367
392
 
368
393
  Update to the latest SDK before using the revised contract. Send bank removal
@@ -370,7 +395,7 @@ with `client.DELETE("/v1/bank_accounts/{id}")`, without a body or idempotency ke
370
395
  Read bank and wallet operation `status` instead of `state`. Retrieve issued
371
396
  statement content with `GET /v1/statements/{id}`; the `/content` route is retired.
372
397
 
373
- The HTTP request pin is `2026-10-15`. The retired pin returns
398
+ The HTTP request pin is `2026-10-16`. The retired pin returns
374
399
  `400 unsupported_api_version`. Existing API keys remain valid; stored key and
375
400
  thin-event/webhook versions are preserved.
376
401
 
@@ -388,3 +413,23 @@ Bank registration and reads support US accounts only. Non-US banks and
388
413
  cross-border Payments/Treasury operations are intentionally excluded. Update to
389
414
  the latest SDK for the current HTTP contract; credential and webhook record
390
415
  versions are unchanged.
416
+
417
+ ### Member fund controls
418
+
419
+ Use the member session client with the signed-in business session for
420
+ `GET /identity/members/{id}/action_settings`, `POST` on the same path, and
421
+ `GET /identity/members/{id}/action_settings/preview`. Saves require Manage
422
+ Permissions; send the returned `revision` as `expected_revision`. Send `policy_schema_version: 2`
423
+ for extended fund controls or when replacing/clearing an extended override.
424
+
425
+ Each buy/sell `fund_controls` has `allowed_categories`, `conditions` and
426
+ `catalog_revision`. Supported categories are returned in `fund_categories`; `/v1/securities` also
427
+ publishes each fund's canonical `approval_category`.
428
+ A condition selects a teammate for every amount (`min_usd: null`) or at/above an
429
+ exact USD string. All-assets amount conditions cannot overlap type conditions.
430
+ Use the saved control's catalog revision to preserve its membership. To explicitly
431
+ adopt new/reclassified assets, review `fund_catalog_changes`, then use the current
432
+ `fund_catalog_revision`. The server supplies the actual catalog and valuation.
433
+ Preview checks saved settings and does not authorize execution. API keys do not
434
+ act as the key owner's member; machine `/v1/policies` remains business controls
435
+ and tiers, without member-policy administration.
@@ -537,7 +537,7 @@ export interface paths {
537
537
  put?: never;
538
538
  /**
539
539
  * Place an order
540
- * @description Creates an order for the authenticated business and returns it as `pending`. BTC orders require both `investments:write` and `investments:btc_write` and use standard settlement. The BTC quote is indicative; execution uses the current native price and fees. Execution is asynchronous and uses the same authorization checks and trading engine as Terminal. Retrieve the order to follow it through `executing` to `filled` or `failed`.
540
+ * @description Creates an order for the authenticated business and returns it as `pending`. A fund order must name the `network` it settles on, `ethereum` or `stellar`; the API never applies a business's default network. A business that has turned that network off, or is not eligible for it, gets a failed order with a `failure_code` naming why. BTC orders require both `investments:write` and `investments:btc_write`, use standard settlement and settle on no network, so they must not name one. The BTC quote is indicative; execution uses the current native price and fees. Execution is asynchronous and uses the same authorization checks and trading engine as Terminal. Retrieve the order to follow it through `executing` to `filled` or `failed`.
541
541
  *
542
542
  * Fund orders check the quoted NAV at execution. Price changes and insufficient express liquidity can cause execution to fail. The failed order includes a reason. While the quote remains valid, an express refusal can be submitted as a new standard order.
543
543
  *
@@ -655,7 +655,9 @@ export interface paths {
655
655
  * Price a trade
656
656
  * @description Returns an indicative price for BTC or a fund. Quotes have no ID and cannot be retrieved later. BTC prices use the latest unexpired native quote; reading one does not extend its expiry. Calculated BTC quote amounts are rounded to at most 18 decimal places. Actual trade amounts are determined at execution. BTC quotes include `platform_fee_usdc`, `fee_bps`, `net_usdc` and the `net_estimated_quantity` after the buy fee. `minimum_amount_usd` states the BTC order minimum. A BTC quote does not guarantee the execution price. Fund orders include the quoted NAV.
657
657
  *
658
- * `express` describes the commission, order limit, estimated quantity and settlement estimate for express settlement. These terms do not guarantee available liquidity. An express order may fail at execution; while the quote remains valid, you can submit a new standard order using the same quoted price. Standard settlement changes the commission and delivered quantity, not the quoted price.
658
+ * `express` describes the commission, order limit, estimated quantity and settlement estimate for express settlement. These terms do not guarantee available liquidity. An express order may fail at execution; while the quote remains valid, you can submit a new standard order using the same quoted price. Standard settlement changes the commission and delivered quantity, not the quoted price. Express terms apply to Ethereum orders.
659
+ *
660
+ * The price does not depend on the network an order settles on, so a quote takes none. The order names it.
659
661
  */
660
662
  get: operations["quotes.quote"];
661
663
  put?: never;
@@ -1606,7 +1608,7 @@ export interface components {
1606
1608
  observed_ts: string;
1607
1609
  };
1608
1610
  /** @enum {string} */
1609
- HTTPAPIVersion: "2026-10-15";
1611
+ HTTPAPIVersion: "2026-10-16";
1610
1612
  List: {
1611
1613
  data: components["schemas"]["Resource"][];
1612
1614
  has_more: boolean;
@@ -1672,6 +1674,11 @@ export interface components {
1672
1674
  /** @description The order id. Stable for the life of the order and safe to store. */
1673
1675
  id: string;
1674
1676
  livemode: boolean;
1677
+ /**
1678
+ * @description The network the order settles on, as the request named it. Null for BTC, which settles on no network.
1679
+ * @enum {string|null}
1680
+ */
1681
+ network: "ethereum" | "stellar" | null;
1675
1682
  /** @enum {string} */
1676
1683
  object: "order";
1677
1684
  quoted_price: string;
@@ -1691,10 +1698,15 @@ export interface components {
1691
1698
  * @enum {string}
1692
1699
  */
1693
1700
  direction: "buy" | "sell";
1701
+ /**
1702
+ * @description The network a fund order settles on. Required for a fund order and refused for BTC, which settles on no network. The API never applies a business's default network.
1703
+ * @enum {string}
1704
+ */
1705
+ network?: "ethereum" | "stellar";
1694
1706
  /** @description The price_per_unit from GET /v1/quotes. Fund execution checks the NAV; BTC uses an indicative price and executes at the current native price. */
1695
1707
  quoted_price: string;
1696
1708
  /**
1697
- * @description Settlement mode. Express (instant) carries a commission the standard path does not; see the express terms on GET /v1/quotes. Express draws on a shared reserve, so an express order can be refused at execution and the order reaches a failed state naming why — re-place it as standard against the same unexpired quote.
1709
+ * @description Settlement mode. Express (instant) carries a commission the standard path does not; see the express terms on GET /v1/quotes. Express draws on a shared reserve, so an express order can be refused at execution and the order reaches a failed state naming why — re-place it as standard against the same unexpired quote. Express settles on ethereum only.
1698
1710
  * @enum {string}
1699
1711
  */
1700
1712
  settlement: "standard" | "instant";
@@ -2029,6 +2041,11 @@ export interface components {
2029
2041
  object: string;
2030
2042
  };
2031
2043
  Security: {
2044
+ /**
2045
+ * @description Stable server fund category for member controls; independent of asset_class and is_money_market.
2046
+ * @enum {string}
2047
+ */
2048
+ approval_category: "treasury_money_market" | "floating_rate_treasury" | "short_duration_income";
2032
2049
  asset_class: string;
2033
2050
  details: components["schemas"]["SecurityDetails"];
2034
2051
  /**
@@ -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;
@@ -839,6 +839,30 @@ export interface paths {
839
839
  patch?: never;
840
840
  trace?: never;
841
841
  };
842
+ "/identity/business/networks": {
843
+ parameters: {
844
+ query?: never;
845
+ header?: never;
846
+ path?: never;
847
+ cookie?: never;
848
+ };
849
+ /**
850
+ * Get the networks a business uses
851
+ * @description Returns every network with whether the business is eligible for it, whether it is in use, which is the default, what it carries, and what the business holds there. Any member of the business can read it. A network that holds funds or has pending transactions carries turn_off_blocked.
852
+ */
853
+ get: operations["identity.business.networks.get"];
854
+ put?: never;
855
+ /**
856
+ * Set the networks a business uses
857
+ * @description Replaces the networks in use and the default network for every member and API key of the business. Requires Manage Permissions. A change applies immediately, with no two-factor code; turning a network on grants no rail. Turning off a network that holds funds or has pending transactions is refused with network_holds_funds, and with network_holdings_unavailable when what it holds cannot be checked; a network the business is not eligible for with network_not_eligible, and an invalid set with invalid_networks. Saving what is already saved changes nothing and records nothing.
858
+ */
859
+ post: operations["identity.business.networks.set"];
860
+ delete?: never;
861
+ options?: never;
862
+ head?: never;
863
+ patch?: never;
864
+ trace?: never;
865
+ };
842
866
  "/identity/business_invites/{group_id}/step_2": {
843
867
  parameters: {
844
868
  query?: never;
@@ -1063,6 +1087,50 @@ export interface paths {
1063
1087
  patch?: never;
1064
1088
  trace?: never;
1065
1089
  };
1090
+ "/identity/members/{id}/action_settings": {
1091
+ parameters: {
1092
+ query?: never;
1093
+ header?: never;
1094
+ path?: never;
1095
+ cookie?: never;
1096
+ };
1097
+ /**
1098
+ * Get a member's permissions and action settings
1099
+ * @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.
1100
+ */
1101
+ get: operations["identity.members.action_settings.get"];
1102
+ put?: never;
1103
+ /**
1104
+ * Save member permissions and action settings atomically
1105
+ * @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.
1106
+ */
1107
+ post: operations["identity.members.action_settings.save"];
1108
+ delete?: never;
1109
+ options?: never;
1110
+ head?: never;
1111
+ patch?: never;
1112
+ trace?: never;
1113
+ };
1114
+ "/identity/members/{id}/action_settings/preview": {
1115
+ parameters: {
1116
+ query?: never;
1117
+ header?: never;
1118
+ path?: never;
1119
+ cookie?: never;
1120
+ };
1121
+ /**
1122
+ * Preview current approval requirements for a member action
1123
+ * @description Read-only configuration and server valuation evidence. This preview does not authorize execution; submission rechecks current permissions, policies and financial controls.
1124
+ */
1125
+ get: operations["identity.members.action_settings.preview"];
1126
+ put?: never;
1127
+ post?: never;
1128
+ delete?: never;
1129
+ options?: never;
1130
+ head?: never;
1131
+ patch?: never;
1132
+ trace?: never;
1133
+ };
1066
1134
  "/identity/members/{id}/deactivate": {
1067
1135
  parameters: {
1068
1136
  query?: never;
@@ -1247,26 +1315,6 @@ export interface paths {
1247
1315
  patch?: never;
1248
1316
  trace?: never;
1249
1317
  };
1250
- "/identity/step_ups": {
1251
- parameters: {
1252
- query?: never;
1253
- header?: never;
1254
- path?: never;
1255
- cookie?: never;
1256
- };
1257
- get?: never;
1258
- put?: never;
1259
- /**
1260
- * Verify a fresh second factor
1261
- * @description Record a fresh second-factor proof for your current business session where an existing action requires it.
1262
- */
1263
- post: operations["identity.step_ups.create"];
1264
- delete?: never;
1265
- options?: never;
1266
- head?: never;
1267
- patch?: never;
1268
- trace?: never;
1269
- };
1270
1318
  "/identity/two_factor_settings": {
1271
1319
  parameters: {
1272
1320
  query?: never;
@@ -2443,6 +2491,46 @@ export interface components {
2443
2491
  /** @description Required for Live keys; omitted for Test keys */
2444
2492
  totp_code?: string;
2445
2493
  };
2494
+ NetworksOutput: {
2495
+ networks: components["schemas"]["NetworksNetworkItem"][] | null;
2496
+ /** @description Whether this deployment accepts changes to the networks. */
2497
+ writes_enabled: boolean;
2498
+ };
2499
+ NetworksNetworkItem: {
2500
+ carries: components["schemas"]["NetworksCarriesView"];
2501
+ /** @description Whether the business's saved choice includes this network, eligible or not. */
2502
+ chosen: boolean;
2503
+ /** @description Whether this is the default network. At most one network is the default, and it is an enabled one. */
2504
+ default: boolean;
2505
+ /** @description Whether the business may use this network at all, from the rollout settings. Turning a network on never grants a rail. */
2506
+ eligible: boolean;
2507
+ /** @description Whether the business can use this network now: chosen and eligible. */
2508
+ enabled: boolean;
2509
+ /** @description The amounts held on this network, formatted for display, such as 10,000.00 USDC. Empty when none, and when holdings_unavailable. */
2510
+ held: string[] | null;
2511
+ /** @description True when what the network holds could not be read. Held and pending_transactions are then not an answer, and the network cannot be turned off. */
2512
+ holdings_unavailable: boolean;
2513
+ network: components["schemas"]["IdentityNetwork"];
2514
+ /** @description Whether a transaction is in flight on this network or a transfer approval for it is waiting. */
2515
+ pending_transactions: boolean;
2516
+ /** @description Why this enabled network cannot be turned off, worded for the person who sees it. Absent when it can be, and for a network that is not enabled. */
2517
+ turn_off_blocked?: string;
2518
+ };
2519
+ NetworksCarriesView: {
2520
+ /** @description Whether USDC can be received on this network. */
2521
+ deposits: boolean;
2522
+ /** @description Symbols of the funds that can be bought and sold with settlement on this network. BTC trades on no network and is never listed. */
2523
+ funds: string[] | null;
2524
+ /** @description Whether USDC can be sent on this network. */
2525
+ withdrawals: boolean;
2526
+ };
2527
+ /** @enum {string} */
2528
+ IdentityNetwork: "ethereum" | "stellar" | "solana";
2529
+ NetworksSetNetworksInput: {
2530
+ default_network: components["schemas"]["IdentityNetwork"];
2531
+ /** @description The networks to use. At least one, each listed once, each one the business is eligible for. */
2532
+ enabled_networks: components["schemas"]["IdentityNetwork"][] | null;
2533
+ };
2446
2534
  IdentityInviteStep2Input: {
2447
2535
  session_token?: string;
2448
2536
  };
@@ -2564,8 +2652,48 @@ export interface components {
2564
2652
  deleted?: boolean;
2565
2653
  id?: string;
2566
2654
  };
2567
- MembersMemberAccessInput: {
2568
- reason?: string;
2655
+ MembersMemberActionSettingsSummary: {
2656
+ actions?: components["schemas"]["MembersMemberActionSettings"];
2657
+ fund_catalog_changes?: {
2658
+ [key: string]: components["schemas"]["MembersMemberFundCatalogChange"][];
2659
+ } | null;
2660
+ fund_catalog_revision?: string;
2661
+ fund_categories?: components["schemas"]["MembersMemberFundCategory"][] | null;
2662
+ individual_id?: string;
2663
+ permissions?: components["schemas"]["MembersGetMemberRBACPoliciesOutput"];
2664
+ /** Format: int32 */
2665
+ policy_schema_version?: number;
2666
+ revision?: string;
2667
+ };
2668
+ MembersMemberActionSettings: {
2669
+ ach_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2670
+ fund_buy?: components["schemas"]["MembersMemberActionOverride"];
2671
+ fund_sell?: components["schemas"]["MembersMemberActionOverride"];
2672
+ onchain_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2673
+ wire_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2674
+ };
2675
+ MembersMemberActionOverride: {
2676
+ allowed: boolean;
2677
+ fund_controls?: components["schemas"]["MembersMemberFundControls"];
2678
+ min_usd: string | null;
2679
+ selected_approver_id: string | null;
2680
+ } | null;
2681
+ MembersMemberFundControls: {
2682
+ allowed_categories: components["schemas"]["MembersMemberFundCategory"][] | null;
2683
+ catalog_revision: string;
2684
+ conditions: components["schemas"]["MembersMemberFundCondition"][];
2685
+ };
2686
+ /** @enum {string} */
2687
+ MembersMemberFundCategory: "treasury_money_market" | "floating_rate_treasury" | "short_duration_income";
2688
+ MembersMemberFundCondition: {
2689
+ category: components["schemas"]["MembersMemberFundCategory"];
2690
+ min_usd: string | null;
2691
+ selected_approver_id: string;
2692
+ };
2693
+ MembersMemberFundCatalogChange: {
2694
+ category?: string;
2695
+ previous_category?: string;
2696
+ symbol?: string;
2569
2697
  };
2570
2698
  MembersGetMemberRBACPoliciesOutput: {
2571
2699
  api_keys_manage?: boolean;
@@ -2579,6 +2707,79 @@ export interface components {
2579
2707
  permissions_manage?: boolean;
2580
2708
  transfers_approve?: boolean;
2581
2709
  };
2710
+ MembersSaveMemberActionSettingsInput: {
2711
+ actions?: components["schemas"]["MembersMemberActionSettingsPatch"];
2712
+ expected_revision: string;
2713
+ permissions?: components["schemas"]["MembersActionSettingsPermissionPatch"];
2714
+ /** Format: int32 */
2715
+ policy_schema_version?: number;
2716
+ };
2717
+ MembersMemberActionSettingsPatch: {
2718
+ ach_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2719
+ fund_buy?: components["schemas"]["MembersMemberActionOverride"];
2720
+ fund_sell?: components["schemas"]["MembersMemberActionOverride"];
2721
+ onchain_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2722
+ wire_withdrawal?: components["schemas"]["MembersMemberActionOverride"];
2723
+ };
2724
+ MembersActionSettingsPermissionPatch: {
2725
+ api_keys_manage?: boolean;
2726
+ assets_buy?: boolean;
2727
+ assets_sell?: boolean;
2728
+ bank_account_add?: boolean;
2729
+ bank_account_remove?: boolean;
2730
+ funds_deposit?: boolean;
2731
+ funds_withdraw?: boolean;
2732
+ members_invite?: boolean;
2733
+ permissions_manage?: boolean;
2734
+ transfers_approve?: boolean;
2735
+ };
2736
+ /** @enum {string} */
2737
+ MembersMemberAction: "ach_withdrawal" | "wire_withdrawal" | "onchain_withdrawal" | "fund_buy" | "fund_sell";
2738
+ MembersMemberActionSettingsPreview: {
2739
+ action_allowed?: boolean;
2740
+ business_policy_revision?: string | null;
2741
+ permission_allowed?: boolean;
2742
+ requirements?: components["schemas"]["MembersMemberApprovalRequirementView"][] | null;
2743
+ revision?: string;
2744
+ valuation?: components["schemas"]["MembersMemberActionValuationView"];
2745
+ };
2746
+ MembersMemberApprovalRequirementView: {
2747
+ /** Format: int32 */
2748
+ count?: number;
2749
+ excluded_individual_ids?: string[];
2750
+ individual_id?: string;
2751
+ kind?: components["schemas"]["MembersMemberRequirementKind"];
2752
+ source?: components["schemas"]["MembersMemberRequirementSource"];
2753
+ };
2754
+ /** @enum {string} */
2755
+ MembersMemberRequirementKind: "ordinary_quorum" | "additional_named" | "selected_member";
2756
+ /** @enum {string} */
2757
+ MembersMemberRequirementSource: "business" | "member";
2758
+ MembersMemberActionValuationView: {
2759
+ amount_usd?: string | null;
2760
+ amount_usd_view?: components["schemas"]["MoneyfmtMoneyAmountView"] | (null);
2761
+ fund_category?: string;
2762
+ status?: components["schemas"]["MembersMemberValuationStatus"];
2763
+ };
2764
+ MoneyfmtMoneyAmountView: {
2765
+ /** Format: double */
2766
+ float: number;
2767
+ formatted: components["schemas"]["MoneyfmtFormattedMoneyAmountView"];
2768
+ precise: string;
2769
+ symbol: string;
2770
+ zero: boolean;
2771
+ };
2772
+ MoneyfmtFormattedMoneyAmountView: {
2773
+ compact: string;
2774
+ currency_sign: string;
2775
+ currency_sign_position: string;
2776
+ full: string;
2777
+ };
2778
+ /** @enum {string} */
2779
+ MembersMemberValuationStatus: "valued" | "unavailable";
2780
+ MembersMemberAccessInput: {
2781
+ reason?: string;
2782
+ };
2582
2783
  MembersSetMemberRBACPolicyInput: {
2583
2784
  enabled?: boolean;
2584
2785
  rbac_type: string;
@@ -2628,22 +2829,6 @@ export interface components {
2628
2829
  ip_address?: string;
2629
2830
  session_token?: string;
2630
2831
  };
2631
- IdentityStepUpCreateInput: {
2632
- /** @description Current authenticator code. */
2633
- code: string;
2634
- /**
2635
- * @description Second factor to prove. Only totp.
2636
- * @enum {string}
2637
- */
2638
- method: "totp";
2639
- };
2640
- IdentityStepUpCreateOutput: {
2641
- /**
2642
- * Format: date-time
2643
- * @description When the code was verified and recorded.
2644
- */
2645
- verified_ts: string;
2646
- };
2647
2832
  IdentityTwofaOutput: {
2648
2833
  /** @enum {string} */
2649
2834
  method?: "sms" | "totp";
@@ -5718,6 +5903,113 @@ export interface operations {
5718
5903
  };
5719
5904
  };
5720
5905
  };
5906
+ "identity.business.networks.get": {
5907
+ parameters: {
5908
+ query?: never;
5909
+ header?: never;
5910
+ path?: never;
5911
+ cookie?: never;
5912
+ };
5913
+ requestBody?: never;
5914
+ responses: {
5915
+ /** @description OK */
5916
+ 200: {
5917
+ headers: {
5918
+ [name: string]: unknown;
5919
+ };
5920
+ content: {
5921
+ "application/json": components["schemas"]["NetworksOutput"];
5922
+ };
5923
+ };
5924
+ /** @description Unauthorized */
5925
+ 401: {
5926
+ headers: {
5927
+ [name: string]: unknown;
5928
+ };
5929
+ content: {
5930
+ "application/json": components["schemas"]["HttputilAPIError"];
5931
+ };
5932
+ };
5933
+ /** @description Forbidden */
5934
+ 403: {
5935
+ headers: {
5936
+ [name: string]: unknown;
5937
+ };
5938
+ content: {
5939
+ "application/json": components["schemas"]["HttputilAPIError"];
5940
+ };
5941
+ };
5942
+ /** @description Error response. */
5943
+ default: {
5944
+ headers: {
5945
+ [name: string]: unknown;
5946
+ };
5947
+ content: {
5948
+ "application/json": components["schemas"]["HttputilAPIError"];
5949
+ };
5950
+ };
5951
+ };
5952
+ };
5953
+ "identity.business.networks.set": {
5954
+ parameters: {
5955
+ query?: never;
5956
+ header?: never;
5957
+ path?: never;
5958
+ cookie?: never;
5959
+ };
5960
+ requestBody?: {
5961
+ content: {
5962
+ "application/json": components["schemas"]["NetworksSetNetworksInput"];
5963
+ };
5964
+ };
5965
+ responses: {
5966
+ /** @description OK */
5967
+ 200: {
5968
+ headers: {
5969
+ [name: string]: unknown;
5970
+ };
5971
+ content: {
5972
+ "application/json": components["schemas"]["NetworksOutput"];
5973
+ };
5974
+ };
5975
+ /** @description Bad Request */
5976
+ 400: {
5977
+ headers: {
5978
+ [name: string]: unknown;
5979
+ };
5980
+ content: {
5981
+ "application/json": components["schemas"]["HttputilAPIError"];
5982
+ };
5983
+ };
5984
+ /** @description Unauthorized */
5985
+ 401: {
5986
+ headers: {
5987
+ [name: string]: unknown;
5988
+ };
5989
+ content: {
5990
+ "application/json": components["schemas"]["HttputilAPIError"];
5991
+ };
5992
+ };
5993
+ /** @description Forbidden */
5994
+ 403: {
5995
+ headers: {
5996
+ [name: string]: unknown;
5997
+ };
5998
+ content: {
5999
+ "application/json": components["schemas"]["HttputilAPIError"];
6000
+ };
6001
+ };
6002
+ /** @description Error response. */
6003
+ default: {
6004
+ headers: {
6005
+ [name: string]: unknown;
6006
+ };
6007
+ content: {
6008
+ "application/json": components["schemas"]["HttputilAPIError"];
6009
+ };
6010
+ };
6011
+ };
6012
+ };
5721
6013
  "identity.business_invites.step2": {
5722
6014
  parameters: {
5723
6015
  query?: never;
@@ -6242,6 +6534,225 @@ export interface operations {
6242
6534
  };
6243
6535
  };
6244
6536
  };
6537
+ "identity.members.action_settings.get": {
6538
+ parameters: {
6539
+ query?: never;
6540
+ header?: never;
6541
+ path: {
6542
+ id: string;
6543
+ };
6544
+ cookie?: never;
6545
+ };
6546
+ requestBody?: never;
6547
+ responses: {
6548
+ /** @description OK */
6549
+ 200: {
6550
+ headers: {
6551
+ [name: string]: unknown;
6552
+ };
6553
+ content: {
6554
+ "application/json": components["schemas"]["MembersMemberActionSettingsSummary"];
6555
+ };
6556
+ };
6557
+ /** @description Unauthorized */
6558
+ 401: {
6559
+ headers: {
6560
+ [name: string]: unknown;
6561
+ };
6562
+ content: {
6563
+ "application/json": components["schemas"]["HttputilAPIError"];
6564
+ };
6565
+ };
6566
+ /** @description Forbidden */
6567
+ 403: {
6568
+ headers: {
6569
+ [name: string]: unknown;
6570
+ };
6571
+ content: {
6572
+ "application/json": components["schemas"]["HttputilAPIError"];
6573
+ };
6574
+ };
6575
+ /** @description Not Found */
6576
+ 404: {
6577
+ headers: {
6578
+ [name: string]: unknown;
6579
+ };
6580
+ content: {
6581
+ "application/json": components["schemas"]["HttputilAPIError"];
6582
+ };
6583
+ };
6584
+ /** @description Error response. */
6585
+ default: {
6586
+ headers: {
6587
+ [name: string]: unknown;
6588
+ };
6589
+ content: {
6590
+ "application/json": components["schemas"]["HttputilAPIError"];
6591
+ };
6592
+ };
6593
+ };
6594
+ };
6595
+ "identity.members.action_settings.save": {
6596
+ parameters: {
6597
+ query?: never;
6598
+ header?: never;
6599
+ path: {
6600
+ id: string;
6601
+ };
6602
+ cookie?: never;
6603
+ };
6604
+ requestBody?: {
6605
+ content: {
6606
+ "application/json": components["schemas"]["MembersSaveMemberActionSettingsInput"];
6607
+ };
6608
+ };
6609
+ responses: {
6610
+ /** @description OK */
6611
+ 200: {
6612
+ headers: {
6613
+ [name: string]: unknown;
6614
+ };
6615
+ content: {
6616
+ "application/json": components["schemas"]["MembersMemberActionSettingsSummary"];
6617
+ };
6618
+ };
6619
+ /** @description Bad Request */
6620
+ 400: {
6621
+ headers: {
6622
+ [name: string]: unknown;
6623
+ };
6624
+ content: {
6625
+ "application/json": components["schemas"]["HttputilAPIError"];
6626
+ };
6627
+ };
6628
+ /** @description Unauthorized */
6629
+ 401: {
6630
+ headers: {
6631
+ [name: string]: unknown;
6632
+ };
6633
+ content: {
6634
+ "application/json": components["schemas"]["HttputilAPIError"];
6635
+ };
6636
+ };
6637
+ /** @description Forbidden */
6638
+ 403: {
6639
+ headers: {
6640
+ [name: string]: unknown;
6641
+ };
6642
+ content: {
6643
+ "application/json": components["schemas"]["HttputilAPIError"];
6644
+ };
6645
+ };
6646
+ /** @description Not Found */
6647
+ 404: {
6648
+ headers: {
6649
+ [name: string]: unknown;
6650
+ };
6651
+ content: {
6652
+ "application/json": components["schemas"]["HttputilAPIError"];
6653
+ };
6654
+ };
6655
+ /** @description Conflict */
6656
+ 409: {
6657
+ headers: {
6658
+ [name: string]: unknown;
6659
+ };
6660
+ content: {
6661
+ "application/json": components["schemas"]["HttputilAPIError"];
6662
+ };
6663
+ };
6664
+ /** @description Error response. */
6665
+ default: {
6666
+ headers: {
6667
+ [name: string]: unknown;
6668
+ };
6669
+ content: {
6670
+ "application/json": components["schemas"]["HttputilAPIError"];
6671
+ };
6672
+ };
6673
+ };
6674
+ };
6675
+ "identity.members.action_settings.preview": {
6676
+ parameters: {
6677
+ query: {
6678
+ action: components["schemas"]["MembersMemberAction"];
6679
+ amount: string;
6680
+ symbol?: string;
6681
+ payment_rail?: string;
6682
+ };
6683
+ header?: never;
6684
+ path: {
6685
+ id: string;
6686
+ };
6687
+ cookie?: never;
6688
+ };
6689
+ requestBody?: never;
6690
+ responses: {
6691
+ /** @description OK */
6692
+ 200: {
6693
+ headers: {
6694
+ [name: string]: unknown;
6695
+ };
6696
+ content: {
6697
+ "application/json": components["schemas"]["MembersMemberActionSettingsPreview"];
6698
+ };
6699
+ };
6700
+ /** @description Bad Request */
6701
+ 400: {
6702
+ headers: {
6703
+ [name: string]: unknown;
6704
+ };
6705
+ content: {
6706
+ "application/json": components["schemas"]["HttputilAPIError"];
6707
+ };
6708
+ };
6709
+ /** @description Unauthorized */
6710
+ 401: {
6711
+ headers: {
6712
+ [name: string]: unknown;
6713
+ };
6714
+ content: {
6715
+ "application/json": components["schemas"]["HttputilAPIError"];
6716
+ };
6717
+ };
6718
+ /** @description Forbidden */
6719
+ 403: {
6720
+ headers: {
6721
+ [name: string]: unknown;
6722
+ };
6723
+ content: {
6724
+ "application/json": components["schemas"]["HttputilAPIError"];
6725
+ };
6726
+ };
6727
+ /** @description Not Found */
6728
+ 404: {
6729
+ headers: {
6730
+ [name: string]: unknown;
6731
+ };
6732
+ content: {
6733
+ "application/json": components["schemas"]["HttputilAPIError"];
6734
+ };
6735
+ };
6736
+ /** @description Service Unavailable */
6737
+ 503: {
6738
+ headers: {
6739
+ [name: string]: unknown;
6740
+ };
6741
+ content: {
6742
+ "application/json": components["schemas"]["HttputilAPIError"];
6743
+ };
6744
+ };
6745
+ /** @description Error response. */
6746
+ default: {
6747
+ headers: {
6748
+ [name: string]: unknown;
6749
+ };
6750
+ content: {
6751
+ "application/json": components["schemas"]["HttputilAPIError"];
6752
+ };
6753
+ };
6754
+ };
6755
+ };
6245
6756
  "identity.members.deactivate": {
6246
6757
  parameters: {
6247
6758
  query?: never;
@@ -6731,84 +7242,6 @@ export interface operations {
6731
7242
  };
6732
7243
  };
6733
7244
  };
6734
- "identity.step_ups.create": {
6735
- parameters: {
6736
- query?: never;
6737
- header?: never;
6738
- path?: never;
6739
- cookie?: never;
6740
- };
6741
- requestBody?: {
6742
- content: {
6743
- "application/json": components["schemas"]["IdentityStepUpCreateInput"];
6744
- };
6745
- };
6746
- responses: {
6747
- /** @description OK */
6748
- 200: {
6749
- headers: {
6750
- [name: string]: unknown;
6751
- };
6752
- content: {
6753
- "application/json": components["schemas"]["IdentityStepUpCreateOutput"];
6754
- };
6755
- };
6756
- /** @description Bad Request */
6757
- 400: {
6758
- headers: {
6759
- [name: string]: unknown;
6760
- };
6761
- content: {
6762
- "application/json": components["schemas"]["HttputilAPIError"];
6763
- };
6764
- };
6765
- /** @description Unauthorized */
6766
- 401: {
6767
- headers: {
6768
- [name: string]: unknown;
6769
- };
6770
- content: {
6771
- "application/json": components["schemas"]["HttputilAPIError"];
6772
- };
6773
- };
6774
- /** @description Forbidden */
6775
- 403: {
6776
- headers: {
6777
- [name: string]: unknown;
6778
- };
6779
- content: {
6780
- "application/json": components["schemas"]["HttputilAPIError"];
6781
- };
6782
- };
6783
- /** @description Conflict */
6784
- 409: {
6785
- headers: {
6786
- [name: string]: unknown;
6787
- };
6788
- content: {
6789
- "application/json": components["schemas"]["HttputilAPIError"];
6790
- };
6791
- };
6792
- /** @description Too Many Requests */
6793
- 429: {
6794
- headers: {
6795
- [name: string]: unknown;
6796
- };
6797
- content: {
6798
- "application/json": components["schemas"]["HttputilAPIError"];
6799
- };
6800
- };
6801
- /** @description Error response. */
6802
- default: {
6803
- headers: {
6804
- [name: string]: unknown;
6805
- };
6806
- content: {
6807
- "application/json": components["schemas"]["HttputilAPIError"];
6808
- };
6809
- };
6810
- };
6811
- };
6812
7245
  "identity.twofa.current": {
6813
7246
  parameters: {
6814
7247
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable_sea/sdk",
3
- "version": "0.2.18",
3
+ "version": "0.2.20",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "files": [