@stable_sea/sdk 0.2.21 → 0.2.23
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/dist/gen/session-schema.d.ts +201 -12
- package/package.json +3 -3
|
@@ -4,6 +4,46 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export interface paths {
|
|
7
|
+
"/compliance/additional_signers": {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* List the business's additional authorized signers
|
|
16
|
+
* @description The authorized signers the business has beside the one on its KYB form, oldest first, each with a name, a job title and when they were added. Any member of the business may read it. Carries no email, no identity details and no WisdomTree step. The list is not paginated: has_more is always false.
|
|
17
|
+
*/
|
|
18
|
+
get: operations["compliance.additional_signers.list"];
|
|
19
|
+
put?: never;
|
|
20
|
+
post?: never;
|
|
21
|
+
delete?: never;
|
|
22
|
+
options?: never;
|
|
23
|
+
head?: never;
|
|
24
|
+
patch?: never;
|
|
25
|
+
trace?: never;
|
|
26
|
+
};
|
|
27
|
+
"/compliance/additional_signers/{id}/remove": {
|
|
28
|
+
parameters: {
|
|
29
|
+
query?: never;
|
|
30
|
+
header?: never;
|
|
31
|
+
path?: never;
|
|
32
|
+
cookie?: never;
|
|
33
|
+
};
|
|
34
|
+
get?: never;
|
|
35
|
+
put?: never;
|
|
36
|
+
/**
|
|
37
|
+
* Remove an additional authorized signer
|
|
38
|
+
* @description An admin of the business (permissions_manage) removes one of the business's additional authorized signers, saying why. No Stable Sea approval is needed: the removal takes effect at once, is recorded on the audit ledger with the admin and the reason, and is emailed to Stable Sea compliance, to the business's admins and to the removed person. The signer stays on record as removed, and the same person can be added again later with a new request. The authorized signer on the KYB form (the business's controller at its custodian) cannot be removed here and is unchanged; nothing is sent to the custodian. Answers with the removed signer as they were listed. Refused when the signer is not one of the business's (additional_signer_not_found), was already removed (additional_signer_already_removed, and nothing is recorded), or the reason is blank (signer_change_invalid).
|
|
39
|
+
*/
|
|
40
|
+
post: operations["compliance.additional_signers.remove"];
|
|
41
|
+
delete?: never;
|
|
42
|
+
options?: never;
|
|
43
|
+
head?: never;
|
|
44
|
+
patch?: never;
|
|
45
|
+
trace?: never;
|
|
46
|
+
};
|
|
7
47
|
"/compliance/documents": {
|
|
8
48
|
parameters: {
|
|
9
49
|
query?: never;
|
|
@@ -666,7 +706,7 @@ export interface paths {
|
|
|
666
706
|
put?: never;
|
|
667
707
|
/**
|
|
668
708
|
* Request an authorized signer change
|
|
669
|
-
* @description An admin of the business (permissions_manage) names an active member as the new authorized signer and says why. The named member must accept, then a compliance operator approves; nothing on the KYB form changes until then. Refused when the member is not an active member of the business, is already the signer, or the
|
|
709
|
+
* @description An admin of the business (permissions_manage) names an active member as the new authorized signer, or as an additional authorized signer (kind add, beside the current one), and says why. The named member must accept, then a compliance operator approves; nothing on the KYB form changes until then. A replace (the default) changes the signer on the KYB form, who is the business's controller at its custodian. An add records a second signer, changes neither the form nor the controller, and has its KYC sent to WisdomTree by compliance. Refused when the member is not an active member of the business, the kind is neither replace nor add, the business already has an open request, the member is already the signer a replace would name (signer_change_already_signer), or the member is already an authorized signer in a way the request cannot change (signer_change_member_already_signer): for an add, the signer on the KYB form or an additional signer already; for a replace, an additional signer. Opens a re-verification record that the request's approval, rejection or cancellation settles, and tells the business's admins and the new signer by email, and, for a replace, the outgoing signer.
|
|
670
710
|
*/
|
|
671
711
|
post: operations["compliance.signer_changes.create"];
|
|
672
712
|
delete?: never;
|
|
@@ -1801,22 +1841,20 @@ export interface paths {
|
|
|
1801
1841
|
export type webhooks = Record<string, never>;
|
|
1802
1842
|
export interface components {
|
|
1803
1843
|
schemas: {
|
|
1804
|
-
|
|
1805
|
-
data: components["schemas"]["
|
|
1844
|
+
Page_ComplianceAdditionalSignerBusinessView: {
|
|
1845
|
+
data: components["schemas"]["ComplianceAdditionalSignerBusinessView"][] | null;
|
|
1806
1846
|
has_more: boolean;
|
|
1807
1847
|
next_cursor: string | null;
|
|
1808
1848
|
total_count?: number | null;
|
|
1809
1849
|
};
|
|
1810
|
-
|
|
1811
|
-
created_by?: string;
|
|
1850
|
+
ComplianceAdditionalSignerBusinessView: {
|
|
1812
1851
|
/** Format: date-time */
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
id?: string;
|
|
1852
|
+
added_ts: string;
|
|
1853
|
+
first_name: string;
|
|
1854
|
+
id: string;
|
|
1855
|
+
individual_id: string;
|
|
1856
|
+
job_title: string;
|
|
1857
|
+
last_name: string;
|
|
1820
1858
|
};
|
|
1821
1859
|
HttputilAPIError: {
|
|
1822
1860
|
error?: components["schemas"]["HttputilAPIErrorBody"];
|
|
@@ -1850,6 +1888,26 @@ export interface components {
|
|
|
1850
1888
|
/** @description RFC 6901 JSON Pointer to the offending field. */
|
|
1851
1889
|
pointer?: string;
|
|
1852
1890
|
};
|
|
1891
|
+
ComplianceRemoveAdditionalSignerBody: {
|
|
1892
|
+
reason: string;
|
|
1893
|
+
};
|
|
1894
|
+
Page_DocumentsView: {
|
|
1895
|
+
data: components["schemas"]["DocumentsView"][] | null;
|
|
1896
|
+
has_more: boolean;
|
|
1897
|
+
next_cursor: string | null;
|
|
1898
|
+
total_count?: number | null;
|
|
1899
|
+
};
|
|
1900
|
+
DocumentsView: {
|
|
1901
|
+
created_by?: string;
|
|
1902
|
+
/** Format: date-time */
|
|
1903
|
+
created_ts?: string;
|
|
1904
|
+
file_name?: string;
|
|
1905
|
+
/** Format: int64 */
|
|
1906
|
+
file_size?: number;
|
|
1907
|
+
file_type?: string;
|
|
1908
|
+
group_id?: string;
|
|
1909
|
+
id?: string;
|
|
1910
|
+
};
|
|
1853
1911
|
DocumentsCreateInput: {
|
|
1854
1912
|
contents_b64?: string[] | null;
|
|
1855
1913
|
filenames?: string[] | null;
|
|
@@ -2405,6 +2463,7 @@ export interface components {
|
|
|
2405
2463
|
group_id: string;
|
|
2406
2464
|
id: string;
|
|
2407
2465
|
incoming: components["schemas"]["ComplianceSignerChangeSigner"];
|
|
2466
|
+
kind: components["schemas"]["ComplianceSignerChangeKind"];
|
|
2408
2467
|
new_signer_id: string;
|
|
2409
2468
|
outgoing: components["schemas"]["ComplianceSignerChangeSigner"];
|
|
2410
2469
|
reason: string;
|
|
@@ -2423,9 +2482,12 @@ export interface components {
|
|
|
2423
2482
|
last_name: string;
|
|
2424
2483
|
};
|
|
2425
2484
|
/** @enum {string} */
|
|
2485
|
+
ComplianceSignerChangeKind: "replace" | "add";
|
|
2486
|
+
/** @enum {string} */
|
|
2426
2487
|
ComplianceSignerChangeState: "awaiting_signer" | "awaiting_approval" | "approved" | "rejected" | "cancelled";
|
|
2427
2488
|
ComplianceCreateSignerChangeInput: {
|
|
2428
2489
|
job_title: string;
|
|
2490
|
+
kind?: components["schemas"]["ComplianceSignerChangeKind"];
|
|
2429
2491
|
new_signer_id: string;
|
|
2430
2492
|
reason: string;
|
|
2431
2493
|
};
|
|
@@ -3071,6 +3133,133 @@ export interface components {
|
|
|
3071
3133
|
}
|
|
3072
3134
|
export type $defs = Record<string, never>;
|
|
3073
3135
|
export interface operations {
|
|
3136
|
+
"compliance.additional_signers.list": {
|
|
3137
|
+
parameters: {
|
|
3138
|
+
query?: never;
|
|
3139
|
+
header?: never;
|
|
3140
|
+
path?: never;
|
|
3141
|
+
cookie?: never;
|
|
3142
|
+
};
|
|
3143
|
+
requestBody?: never;
|
|
3144
|
+
responses: {
|
|
3145
|
+
/** @description OK */
|
|
3146
|
+
200: {
|
|
3147
|
+
headers: {
|
|
3148
|
+
[name: string]: unknown;
|
|
3149
|
+
};
|
|
3150
|
+
content: {
|
|
3151
|
+
"application/json": components["schemas"]["Page_ComplianceAdditionalSignerBusinessView"];
|
|
3152
|
+
};
|
|
3153
|
+
};
|
|
3154
|
+
/** @description Unauthorized */
|
|
3155
|
+
401: {
|
|
3156
|
+
headers: {
|
|
3157
|
+
[name: string]: unknown;
|
|
3158
|
+
};
|
|
3159
|
+
content: {
|
|
3160
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3161
|
+
};
|
|
3162
|
+
};
|
|
3163
|
+
/** @description Forbidden */
|
|
3164
|
+
403: {
|
|
3165
|
+
headers: {
|
|
3166
|
+
[name: string]: unknown;
|
|
3167
|
+
};
|
|
3168
|
+
content: {
|
|
3169
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3170
|
+
};
|
|
3171
|
+
};
|
|
3172
|
+
/** @description Error response. */
|
|
3173
|
+
default: {
|
|
3174
|
+
headers: {
|
|
3175
|
+
[name: string]: unknown;
|
|
3176
|
+
};
|
|
3177
|
+
content: {
|
|
3178
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3181
|
+
};
|
|
3182
|
+
};
|
|
3183
|
+
"compliance.additional_signers.remove": {
|
|
3184
|
+
parameters: {
|
|
3185
|
+
query?: never;
|
|
3186
|
+
header?: never;
|
|
3187
|
+
path: {
|
|
3188
|
+
id: string;
|
|
3189
|
+
};
|
|
3190
|
+
cookie?: never;
|
|
3191
|
+
};
|
|
3192
|
+
requestBody?: {
|
|
3193
|
+
content: {
|
|
3194
|
+
"application/json": components["schemas"]["ComplianceRemoveAdditionalSignerBody"];
|
|
3195
|
+
};
|
|
3196
|
+
};
|
|
3197
|
+
responses: {
|
|
3198
|
+
/** @description OK */
|
|
3199
|
+
200: {
|
|
3200
|
+
headers: {
|
|
3201
|
+
[name: string]: unknown;
|
|
3202
|
+
};
|
|
3203
|
+
content: {
|
|
3204
|
+
"application/json": components["schemas"]["ComplianceAdditionalSignerBusinessView"];
|
|
3205
|
+
};
|
|
3206
|
+
};
|
|
3207
|
+
/** @description Bad Request */
|
|
3208
|
+
400: {
|
|
3209
|
+
headers: {
|
|
3210
|
+
[name: string]: unknown;
|
|
3211
|
+
};
|
|
3212
|
+
content: {
|
|
3213
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3214
|
+
};
|
|
3215
|
+
};
|
|
3216
|
+
/** @description Unauthorized */
|
|
3217
|
+
401: {
|
|
3218
|
+
headers: {
|
|
3219
|
+
[name: string]: unknown;
|
|
3220
|
+
};
|
|
3221
|
+
content: {
|
|
3222
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3223
|
+
};
|
|
3224
|
+
};
|
|
3225
|
+
/** @description Forbidden */
|
|
3226
|
+
403: {
|
|
3227
|
+
headers: {
|
|
3228
|
+
[name: string]: unknown;
|
|
3229
|
+
};
|
|
3230
|
+
content: {
|
|
3231
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3232
|
+
};
|
|
3233
|
+
};
|
|
3234
|
+
/** @description Not Found */
|
|
3235
|
+
404: {
|
|
3236
|
+
headers: {
|
|
3237
|
+
[name: string]: unknown;
|
|
3238
|
+
};
|
|
3239
|
+
content: {
|
|
3240
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3241
|
+
};
|
|
3242
|
+
};
|
|
3243
|
+
/** @description Conflict */
|
|
3244
|
+
409: {
|
|
3245
|
+
headers: {
|
|
3246
|
+
[name: string]: unknown;
|
|
3247
|
+
};
|
|
3248
|
+
content: {
|
|
3249
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3250
|
+
};
|
|
3251
|
+
};
|
|
3252
|
+
/** @description Error response. */
|
|
3253
|
+
default: {
|
|
3254
|
+
headers: {
|
|
3255
|
+
[name: string]: unknown;
|
|
3256
|
+
};
|
|
3257
|
+
content: {
|
|
3258
|
+
"application/json": components["schemas"]["HttputilAPIError"];
|
|
3259
|
+
};
|
|
3260
|
+
};
|
|
3261
|
+
};
|
|
3262
|
+
};
|
|
3074
3263
|
"compliance.documents.list": {
|
|
3075
3264
|
parameters: {
|
|
3076
3265
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stable_sea/sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"openapi-fetch": "0.17.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/node": "26.6.
|
|
38
|
+
"@types/node": "26.6.5",
|
|
39
39
|
"openapi-typescript": "7.13.0",
|
|
40
40
|
"typescript": "5.9.3",
|
|
41
|
-
"vitest": "5.0.
|
|
41
|
+
"vitest": "5.0.4"
|
|
42
42
|
},
|
|
43
43
|
"overrides": {
|
|
44
44
|
"js-yaml": "^5.4.3",
|