@calimero-network/mero-js 34.1.0 → 35.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/generated/api.d.ts +19 -200
- package/dist/generated/methods.d.ts +0 -16
- package/dist/generated/methods.js +0 -16
- package/dist/index.browser.mjs +3 -3
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +0 -16
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +0 -16
- package/dist/index.mjs.map +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -355,6 +355,7 @@ pnpm test:unit # unit tests, against a stand-in node over a real sealed channe
|
|
|
355
355
|
pnpm lint
|
|
356
356
|
pnpm typecheck
|
|
357
357
|
pnpm typecheck:consumer
|
|
358
|
+
pnpm typecheck:tests
|
|
358
359
|
```
|
|
359
360
|
|
|
360
361
|
The cluster tests (`tests/cluster`) start three `merod run --dev` nodes and
|
package/dist/generated/api.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface paths {
|
|
|
20
20
|
put?: never;
|
|
21
21
|
/**
|
|
22
22
|
* Create an app instance
|
|
23
|
-
* @description From a release (`package`, `version`, `service`), a deployment's offer (`deployment`), or an uploaded `bundle`; in an organization (`org`) or the caller's
|
|
23
|
+
* @description From a release (`package`, `version`, `service`), a deployment's offer (`deployment`), or an uploaded `bundle`; in an organization (`org`), or, naming none, the caller's personal organization. Every app is in an organization. `initArgs` go to the app's `init` and `metadata` is kept as given (both free-form JSON). Answers once `init` committed; `compute` says whether the app has a compute component.
|
|
24
24
|
*
|
|
25
25
|
* **Who:** an installer (an account holder, or an unscoped API key that is not read-only).
|
|
26
26
|
*/
|
|
@@ -1106,7 +1106,7 @@ export interface paths {
|
|
|
1106
1106
|
};
|
|
1107
1107
|
/**
|
|
1108
1108
|
* The account's own apps
|
|
1109
|
-
* @description
|
|
1109
|
+
* @description The apps the account owns, in any organization (a package-bound session: its package's), with its personal organization's `approvedReleases`: each app's release, the newer releases it may upgrade to, its last upgrade, its replicas' releases and `lastWriteAt`.
|
|
1110
1110
|
*
|
|
1111
1111
|
* **Who:** signed in (a session or an API key).
|
|
1112
1112
|
*/
|
|
@@ -1198,7 +1198,7 @@ export interface paths {
|
|
|
1198
1198
|
};
|
|
1199
1199
|
/**
|
|
1200
1200
|
* The caller's account
|
|
1201
|
-
* @description The account, its passkeys (with `addedAt` and `lastSignInAt`), organizations, approvals
|
|
1201
|
+
* @description The account, its passkeys (with `addedAt` and `lastSignInAt`), organizations (`personal`: the one made at sign-up, where its instances go unless they name another; its approvals are that organization's), recovery state, and how the caller came (`via`).
|
|
1202
1202
|
*
|
|
1203
1203
|
* **Who:** signed in (a session or an API key).
|
|
1204
1204
|
*/
|
|
@@ -1211,26 +1211,6 @@ export interface paths {
|
|
|
1211
1211
|
patch?: never;
|
|
1212
1212
|
trace?: never;
|
|
1213
1213
|
};
|
|
1214
|
-
"/auth/outbound": {
|
|
1215
|
-
parameters: {
|
|
1216
|
-
query?: never;
|
|
1217
|
-
header?: never;
|
|
1218
|
-
path?: never;
|
|
1219
|
-
cookie?: never;
|
|
1220
|
-
};
|
|
1221
|
-
get?: never;
|
|
1222
|
-
put?: never;
|
|
1223
|
-
/**
|
|
1224
|
-
* Approve outbound prefixes for the account's apps
|
|
1225
|
-
* @description **Who:** an account holder (a passkey session not bound to an app's frontend). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
|
|
1226
|
-
*/
|
|
1227
|
-
post: operations["account_outbound_approval"];
|
|
1228
|
-
delete?: never;
|
|
1229
|
-
options?: never;
|
|
1230
|
-
head?: never;
|
|
1231
|
-
patch?: never;
|
|
1232
|
-
trace?: never;
|
|
1233
|
-
};
|
|
1234
1214
|
"/auth/passkey/login/begin": {
|
|
1235
1215
|
parameters: {
|
|
1236
1216
|
query?: never;
|
|
@@ -1523,28 +1503,6 @@ export interface paths {
|
|
|
1523
1503
|
patch?: never;
|
|
1524
1504
|
trace?: never;
|
|
1525
1505
|
};
|
|
1526
|
-
"/auth/releases": {
|
|
1527
|
-
parameters: {
|
|
1528
|
-
query?: never;
|
|
1529
|
-
header?: never;
|
|
1530
|
-
path?: never;
|
|
1531
|
-
cookie?: never;
|
|
1532
|
-
};
|
|
1533
|
-
get?: never;
|
|
1534
|
-
put?: never;
|
|
1535
|
-
/**
|
|
1536
|
-
* Approve a mero-tee release for the account's apps
|
|
1537
|
-
* @description Where the owner holds release approvals; `412` first.
|
|
1538
|
-
*
|
|
1539
|
-
* **Who:** an account holder (a passkey session not bound to an app's frontend). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
|
|
1540
|
-
*/
|
|
1541
|
-
post: operations["account_release_approval"];
|
|
1542
|
-
delete?: never;
|
|
1543
|
-
options?: never;
|
|
1544
|
-
head?: never;
|
|
1545
|
-
patch?: never;
|
|
1546
|
-
trace?: never;
|
|
1547
|
-
};
|
|
1548
1506
|
"/auth/sessions": {
|
|
1549
1507
|
parameters: {
|
|
1550
1508
|
query?: never;
|
|
@@ -1828,7 +1786,7 @@ export interface paths {
|
|
|
1828
1786
|
};
|
|
1829
1787
|
/**
|
|
1830
1788
|
* The organizations a deployment serves
|
|
1831
|
-
* @description For its managers: each organization with instances from it, its name (`null` when unknown), member counts (`activeMembers30d`: active in the last 30 days), its instances and the releases they run, and when its first was created (RFC 3339); instances outside an organization are only counted (`outsideOrgs`). Never who the members are.
|
|
1789
|
+
* @description For its managers: each organization with instances from it, its name (`null` when unknown), member counts (`activeMembers30d`: active in the last 30 days), its instances and the releases they run, and when its first was created (RFC 3339); instances outside an organization, or in a personal organization, are only counted (`outsideOrgs`). Never who the members are.
|
|
1832
1790
|
*
|
|
1833
1791
|
* **Who:** signed in (a session or an API key).
|
|
1834
1792
|
*/
|
|
@@ -2726,7 +2684,7 @@ export interface paths {
|
|
|
2726
2684
|
put?: never;
|
|
2727
2685
|
/**
|
|
2728
2686
|
* Create an organization
|
|
2729
|
-
* @description `recoveryKey` is the public half of an organization recovery key.
|
|
2687
|
+
* @description `recoveryKey` is the public half of an organization recovery key. Every account also has a personal organization from sign-up (`personal` in `/auth/me`), which this does not make.
|
|
2730
2688
|
*
|
|
2731
2689
|
* **Who:** a passkey session (an API key is refused).
|
|
2732
2690
|
*/
|
|
@@ -4413,7 +4371,7 @@ export interface components {
|
|
|
4413
4371
|
proofKey: string;
|
|
4414
4372
|
};
|
|
4415
4373
|
};
|
|
4416
|
-
/** @description An organization as `GET /orgs/{org}` answers it. `members` maps each account to its role, `capabilities` and `defaultCapabilities` are capability bits, `outboundApprovals` is keyed by package signer, `upgradeRuns` by run id; `recovery` is absent when the organization set no recovery key, `allApps` when no member gets every app added later. */
|
|
4374
|
+
/** @description An organization as `GET /orgs/{org}` answers it. `members` maps each account to its role, `capabilities` and `defaultCapabilities` are capability bits, `outboundApprovals` is keyed by package signer, `upgradeRuns` by run id; `recovery` is absent when the organization set no recovery key, `allApps` when no member gets every app added later, `personal` unless it is its owner's personal organization (where instances created without naming an organization go). */
|
|
4417
4375
|
Org: {
|
|
4418
4376
|
orgId: string;
|
|
4419
4377
|
name: string;
|
|
@@ -4453,6 +4411,7 @@ export interface components {
|
|
|
4453
4411
|
} | null;
|
|
4454
4412
|
};
|
|
4455
4413
|
allApps?: string[];
|
|
4414
|
+
personal?: boolean;
|
|
4456
4415
|
/** @enum {string} */
|
|
4457
4416
|
mode?: "legacy" | "standalone" | "shared";
|
|
4458
4417
|
releaseApprovers?: string[];
|
|
@@ -4553,11 +4512,12 @@ export interface components {
|
|
|
4553
4512
|
prefixes: string[];
|
|
4554
4513
|
reviewed: string[];
|
|
4555
4514
|
};
|
|
4556
|
-
/** @description The scope whose approvals cover an app: its organization
|
|
4515
|
+
/** @description The scope whose approvals cover an app: its organization (`personal: true` when it is its owner's personal organization). `account` is only `GET /auth/apps`' own scope: the apps the account owns, wherever they are. */
|
|
4557
4516
|
AppScope: {
|
|
4558
4517
|
/** @enum {string} */
|
|
4559
4518
|
kind: "org";
|
|
4560
4519
|
org: string;
|
|
4520
|
+
personal?: boolean;
|
|
4561
4521
|
} | {
|
|
4562
4522
|
/** @enum {string} */
|
|
4563
4523
|
kind: "account";
|
|
@@ -8932,16 +8892,13 @@ export interface operations {
|
|
|
8932
8892
|
orgId: string;
|
|
8933
8893
|
name: string;
|
|
8934
8894
|
role: components["schemas"]["OrgRole"];
|
|
8895
|
+
personal?: boolean;
|
|
8935
8896
|
}[];
|
|
8936
8897
|
/** @enum {string} */
|
|
8937
8898
|
via: "session" | "apiKey";
|
|
8938
8899
|
passkeyId: string | null;
|
|
8939
8900
|
app?: string | null;
|
|
8940
8901
|
origin?: string | null;
|
|
8941
|
-
approvedReleases: string[];
|
|
8942
|
-
outboundApprovals: {
|
|
8943
|
-
[key: string]: components["schemas"]["OutboundApproval"];
|
|
8944
|
-
};
|
|
8945
8902
|
recoveryCode?: boolean;
|
|
8946
8903
|
recoveryPending?: {
|
|
8947
8904
|
accountId: string;
|
|
@@ -8983,80 +8940,6 @@ export interface operations {
|
|
|
8983
8940
|
};
|
|
8984
8941
|
};
|
|
8985
8942
|
};
|
|
8986
|
-
account_outbound_approval: {
|
|
8987
|
-
parameters: {
|
|
8988
|
-
query?: never;
|
|
8989
|
-
header?: never;
|
|
8990
|
-
path?: never;
|
|
8991
|
-
cookie?: never;
|
|
8992
|
-
};
|
|
8993
|
-
requestBody: {
|
|
8994
|
-
content: {
|
|
8995
|
-
"application/json": {
|
|
8996
|
-
package: string;
|
|
8997
|
-
prefixes?: components["schemas"]["OutboundSelection"];
|
|
8998
|
-
replace?: boolean;
|
|
8999
|
-
confirm?: components["schemas"]["Confirm"];
|
|
9000
|
-
};
|
|
9001
|
-
};
|
|
9002
|
-
};
|
|
9003
|
-
responses: {
|
|
9004
|
-
/** @description OK */
|
|
9005
|
-
200: {
|
|
9006
|
-
headers: {
|
|
9007
|
-
[name: string]: unknown;
|
|
9008
|
-
};
|
|
9009
|
-
content: {
|
|
9010
|
-
"application/json": components["schemas"]["OutboundApproved"];
|
|
9011
|
-
};
|
|
9012
|
-
};
|
|
9013
|
-
/** @description `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
|
|
9014
|
-
400: {
|
|
9015
|
-
headers: {
|
|
9016
|
-
[name: string]: unknown;
|
|
9017
|
-
};
|
|
9018
|
-
content: {
|
|
9019
|
-
"application/json": components["schemas"]["Error"];
|
|
9020
|
-
};
|
|
9021
|
-
};
|
|
9022
|
-
/** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
|
|
9023
|
-
401: {
|
|
9024
|
-
headers: {
|
|
9025
|
-
[name: string]: unknown;
|
|
9026
|
-
};
|
|
9027
|
-
content: {
|
|
9028
|
-
"application/json": components["schemas"]["Error"];
|
|
9029
|
-
};
|
|
9030
|
-
};
|
|
9031
|
-
/** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
|
|
9032
|
-
403: {
|
|
9033
|
-
headers: {
|
|
9034
|
-
[name: string]: unknown;
|
|
9035
|
-
};
|
|
9036
|
-
content: {
|
|
9037
|
-
"application/json": components["schemas"]["Error"];
|
|
9038
|
-
};
|
|
9039
|
-
};
|
|
9040
|
-
/** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
|
|
9041
|
-
412: {
|
|
9042
|
-
headers: {
|
|
9043
|
-
[name: string]: unknown;
|
|
9044
|
-
};
|
|
9045
|
-
content: {
|
|
9046
|
-
"application/json": components["schemas"]["Error"];
|
|
9047
|
-
};
|
|
9048
|
-
};
|
|
9049
|
-
/** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
|
|
9050
|
-
421: {
|
|
9051
|
-
headers: {
|
|
9052
|
-
[name: string]: unknown;
|
|
9053
|
-
};
|
|
9054
|
-
content: {
|
|
9055
|
-
"application/json": components["schemas"]["Error"];
|
|
9056
|
-
};
|
|
9057
|
-
};
|
|
9058
|
-
};
|
|
9059
|
-
};
|
|
9060
8943
|
login_begin: {
|
|
9061
8944
|
parameters: {
|
|
9062
8945
|
query?: never;
|
|
@@ -9975,79 +9858,6 @@ export interface operations {
|
|
|
9975
9858
|
};
|
|
9976
9859
|
};
|
|
9977
9860
|
};
|
|
9978
|
-
account_release_approval: {
|
|
9979
|
-
parameters: {
|
|
9980
|
-
query?: never;
|
|
9981
|
-
header?: never;
|
|
9982
|
-
path?: never;
|
|
9983
|
-
cookie?: never;
|
|
9984
|
-
};
|
|
9985
|
-
requestBody: {
|
|
9986
|
-
content: {
|
|
9987
|
-
"application/json": {
|
|
9988
|
-
version: string;
|
|
9989
|
-
approved?: boolean;
|
|
9990
|
-
confirm?: components["schemas"]["Confirm"];
|
|
9991
|
-
};
|
|
9992
|
-
};
|
|
9993
|
-
};
|
|
9994
|
-
responses: {
|
|
9995
|
-
/** @description OK */
|
|
9996
|
-
200: {
|
|
9997
|
-
headers: {
|
|
9998
|
-
[name: string]: unknown;
|
|
9999
|
-
};
|
|
10000
|
-
content: {
|
|
10001
|
-
"application/json": components["schemas"]["ApprovedReleases"];
|
|
10002
|
-
};
|
|
10003
|
-
};
|
|
10004
|
-
/** @description `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
|
|
10005
|
-
400: {
|
|
10006
|
-
headers: {
|
|
10007
|
-
[name: string]: unknown;
|
|
10008
|
-
};
|
|
10009
|
-
content: {
|
|
10010
|
-
"application/json": components["schemas"]["Error"];
|
|
10011
|
-
};
|
|
10012
|
-
};
|
|
10013
|
-
/** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
|
|
10014
|
-
401: {
|
|
10015
|
-
headers: {
|
|
10016
|
-
[name: string]: unknown;
|
|
10017
|
-
};
|
|
10018
|
-
content: {
|
|
10019
|
-
"application/json": components["schemas"]["Error"];
|
|
10020
|
-
};
|
|
10021
|
-
};
|
|
10022
|
-
/** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
|
|
10023
|
-
403: {
|
|
10024
|
-
headers: {
|
|
10025
|
-
[name: string]: unknown;
|
|
10026
|
-
};
|
|
10027
|
-
content: {
|
|
10028
|
-
"application/json": components["schemas"]["Error"];
|
|
10029
|
-
};
|
|
10030
|
-
};
|
|
10031
|
-
/** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
|
|
10032
|
-
412: {
|
|
10033
|
-
headers: {
|
|
10034
|
-
[name: string]: unknown;
|
|
10035
|
-
};
|
|
10036
|
-
content: {
|
|
10037
|
-
"application/json": components["schemas"]["Error"];
|
|
10038
|
-
};
|
|
10039
|
-
};
|
|
10040
|
-
/** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
|
|
10041
|
-
421: {
|
|
10042
|
-
headers: {
|
|
10043
|
-
[name: string]: unknown;
|
|
10044
|
-
};
|
|
10045
|
-
content: {
|
|
10046
|
-
"application/json": components["schemas"]["Error"];
|
|
10047
|
-
};
|
|
10048
|
-
};
|
|
10049
|
-
};
|
|
10050
|
-
};
|
|
10051
9861
|
sessions_list: {
|
|
10052
9862
|
parameters: {
|
|
10053
9863
|
query?: never;
|
|
@@ -14036,6 +13846,15 @@ export interface operations {
|
|
|
14036
13846
|
};
|
|
14037
13847
|
};
|
|
14038
13848
|
};
|
|
13849
|
+
/** @description `BAD_REQUEST`: the request is malformed */
|
|
13850
|
+
400: {
|
|
13851
|
+
headers: {
|
|
13852
|
+
[name: string]: unknown;
|
|
13853
|
+
};
|
|
13854
|
+
content: {
|
|
13855
|
+
"application/json": components["schemas"]["Error"];
|
|
13856
|
+
};
|
|
13857
|
+
};
|
|
14039
13858
|
/** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
|
|
14040
13859
|
401: {
|
|
14041
13860
|
headers: {
|
|
@@ -350,14 +350,6 @@ export declare function createRoutes(api: RouteClient): {
|
|
|
350
350
|
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
351
351
|
*/
|
|
352
352
|
accountBackupKey: (args?: Record<string, never>, options?: MethodOptions) => Promise<operations["account_backup_key"]["responses"][200]["content"]["application/json"]>;
|
|
353
|
-
/**
|
|
354
|
-
* Approve outbound prefixes for the account's apps.
|
|
355
|
-
*
|
|
356
|
-
* `POST /auth/outbound` (`account_outbound_approval`). **Who:** an account holder (a passkey session not bound to an app's frontend).
|
|
357
|
-
* Answers `412 CONFIRM_REQUIRED` first: give `confirm` (here or on the client); the passkey must verify the user `required`.
|
|
358
|
-
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
359
|
-
*/
|
|
360
|
-
accountOutboundApproval: (args: operations["account_outbound_approval"]["requestBody"]["content"]["application/json"], options?: MethodOptions) => Promise<operations["account_outbound_approval"]["responses"][200]["content"]["application/json"]>;
|
|
361
353
|
/**
|
|
362
354
|
* Prove the account to another party.
|
|
363
355
|
*
|
|
@@ -394,14 +386,6 @@ export declare function createRoutes(api: RouteClient): {
|
|
|
394
386
|
* `POST /auth/recovery/start` (`account_recovery_start`). **Who:** anyone.
|
|
395
387
|
*/
|
|
396
388
|
accountRecoveryStart: (args: operations["account_recovery_start"]["requestBody"]["content"]["application/json"], options?: MethodOptions) => Promise<operations["account_recovery_start"]["responses"][200]["content"]["application/json"]>;
|
|
397
|
-
/**
|
|
398
|
-
* Approve a mero-tee release for the account's apps.
|
|
399
|
-
*
|
|
400
|
-
* `POST /auth/releases` (`account_release_approval`). **Who:** an account holder (a passkey session not bound to an app's frontend).
|
|
401
|
-
* Answers `412 CONFIRM_REQUIRED` first: give `confirm` (here or on the client); the passkey must verify the user `required`.
|
|
402
|
-
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
403
|
-
*/
|
|
404
|
-
accountReleaseApproval: (args: operations["account_release_approval"]["requestBody"]["content"]["application/json"], options?: MethodOptions) => Promise<operations["account_release_approval"]["responses"][200]["content"]["application/json"]>;
|
|
405
389
|
/**
|
|
406
390
|
* Set the account's backup key.
|
|
407
391
|
*
|
|
@@ -358,14 +358,6 @@ export function createRoutes(api) {
|
|
|
358
358
|
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
359
359
|
*/
|
|
360
360
|
accountBackupKey: (args = {}, options) => route(api, { "method": "GET", "path": "/auth/backup-key", "pathParams": [], "query": [], "body": "none", "optionalBody": false, "reply": "json" }, args, options),
|
|
361
|
-
/**
|
|
362
|
-
* Approve outbound prefixes for the account's apps.
|
|
363
|
-
*
|
|
364
|
-
* `POST /auth/outbound` (`account_outbound_approval`). **Who:** an account holder (a passkey session not bound to an app's frontend).
|
|
365
|
-
* Answers `412 CONFIRM_REQUIRED` first: give `confirm` (here or on the client); the passkey must verify the user `required`.
|
|
366
|
-
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
367
|
-
*/
|
|
368
|
-
accountOutboundApproval: (args, options) => route(api, { "method": "POST", "path": "/auth/outbound", "pathParams": [], "query": [], "body": "fields", "optionalBody": false, "reply": "json", "stepUp": true, "userVerification": "required" }, args, options),
|
|
369
361
|
/**
|
|
370
362
|
* Prove the account to another party.
|
|
371
363
|
*
|
|
@@ -402,14 +394,6 @@ export function createRoutes(api) {
|
|
|
402
394
|
* `POST /auth/recovery/start` (`account_recovery_start`). **Who:** anyone.
|
|
403
395
|
*/
|
|
404
396
|
accountRecoveryStart: (args, options) => route(api, { "method": "POST", "path": "/auth/recovery/start", "pathParams": [], "query": [], "body": "fields", "optionalBody": false, "reply": "json" }, args, options),
|
|
405
|
-
/**
|
|
406
|
-
* Approve a mero-tee release for the account's apps.
|
|
407
|
-
*
|
|
408
|
-
* `POST /auth/releases` (`account_release_approval`). **Who:** an account holder (a passkey session not bound to an app's frontend).
|
|
409
|
-
* Answers `412 CONFIRM_REQUIRED` first: give `confirm` (here or on the client); the passkey must verify the user `required`.
|
|
410
|
-
* A `421 WRONG_NODE` moves the client to the next node of the cluster.
|
|
411
|
-
*/
|
|
412
|
-
accountReleaseApproval: (args, options) => route(api, { "method": "POST", "path": "/auth/releases", "pathParams": [], "query": [], "body": "fields", "optionalBody": false, "reply": "json", "stepUp": true, "userVerification": "required" }, args, options),
|
|
413
397
|
/**
|
|
414
398
|
* Set the account's backup key.
|
|
415
399
|
*
|