@stable_sea/sdk 0.2.12 → 0.2.13
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 +29 -5
- package/dist/gen/session-schema.d.ts +2670 -224
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,10 +53,11 @@ 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
|
-
## Member
|
|
56
|
+
## Member administration and personal actions
|
|
57
57
|
|
|
58
|
-
Use `createStableSeaSessionClient` for
|
|
59
|
-
business support messages. It uses
|
|
58
|
+
Use `createStableSeaSessionClient` for your profile and security, team and API-key
|
|
59
|
+
administration, notifications, preferences and business support messages. It uses
|
|
60
|
+
the native sign-in, MFA and business-selection flow,
|
|
60
61
|
not a Live or Test API key. Use `https://api.stablesea.com`; the isolated
|
|
61
62
|
Test-key Sandbox does not serve member sessions.
|
|
62
63
|
|
|
@@ -74,18 +75,41 @@ console.log(feed.data.data);
|
|
|
74
75
|
```
|
|
75
76
|
|
|
76
77
|
Node.js fetch does not retain cookies automatically. Supply your authenticated
|
|
77
|
-
transport
|
|
78
|
+
transport. Call the typed sign-in and refresh operations explicitly; the client
|
|
79
|
+
does not perform authentication, cookie storage or retries automatically.
|
|
78
80
|
Existing login MFA, business membership, locks and permissions remain in force.
|
|
79
81
|
Member requests do not use the dated financial API contract header.
|
|
80
82
|
|
|
81
83
|
Member writes use `member.POST`, with each native operation's retry behavior.
|
|
82
|
-
They have no financial `mutation()` helper
|
|
84
|
+
They have no financial `mutation()` helper. Key creation and rotation require
|
|
85
|
+
an `Idempotency-Key`; other operations retain their documented native retry
|
|
86
|
+
behavior. After an
|
|
83
87
|
uncertain message send, match the returned `id` in the thread against the
|
|
84
88
|
`message_id` you sent before resending;
|
|
85
89
|
repeated sends can repeat notifications. Contact submissions must not retry
|
|
86
90
|
automatically. See the [member guide](https://docs.stablesea.com/api/#member-sessions)
|
|
87
91
|
for sign-in, session lifecycle and attachment retrieval, and the
|
|
88
92
|
[member reference](https://docs.stablesea.com/api/member-reference/) for fields.
|
|
93
|
+
|
|
94
|
+
List members at `GET /identity/members` and manage invitations at
|
|
95
|
+
`/identity/members/invites`. Creation returns invitation details, never the
|
|
96
|
+
redemption token delivered to the invitee. Invitation acceptance uses the
|
|
97
|
+
invitee's email-link token; administrators cannot accept on their behalf.
|
|
98
|
+
Member grants and activation use existing business permissions. Policy settings
|
|
99
|
+
retain their separate launch gate.
|
|
100
|
+
|
|
101
|
+
Manage Live and Test credentials at `/identity/api_keys`. Use an explicit scope
|
|
102
|
+
list and a unique issuance idempotency key. Test lifecycle operations have no
|
|
103
|
+
extra fresh two-factor prompt; Live operations retain their existing protection.
|
|
104
|
+
Key management requires the same permission as Terminal and never broadens an
|
|
105
|
+
existing credential's scopes implicitly.
|
|
106
|
+
|
|
107
|
+
Native refresh and extension retain their existing `Success` and `Message`
|
|
108
|
+
response keys. HTTP 200 with `Success: false` is a refusal. Sign-out returns an
|
|
109
|
+
empty HTTP 200 after durable revocation and cookie clearing. Preserve the refresh
|
|
110
|
+
cookie's `/platform_identity_api/auth/token` path; the session countdown is
|
|
111
|
+
advisory, not proof of authentication.
|
|
112
|
+
|
|
89
113
|
Generated types are exported as `SessionPaths`, `SessionOperations` and
|
|
90
114
|
`SessionComponents`; internal operator and excluded product operations are omitted.
|
|
91
115
|
|