@turnkey/http 1.3.0 → 2.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/CHANGELOG.md +12 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +36 -36
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +58 -58
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +3909 -884
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +59 -59
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.swagger.json +305 -110
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +131 -67
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/webauthn.d.ts.map +1 -1
- package/dist/webauthn.js +14 -0
- package/dist/webauthn.js.map +1 -1
- package/package.json +1 -1
|
@@ -96,11 +96,11 @@ export type paths = {
|
|
|
96
96
|
post: operations["PublicApiService_CreateUsers"];
|
|
97
97
|
};
|
|
98
98
|
"/public/v1/submit/create_wallet": {
|
|
99
|
-
/** Create a Wallet */
|
|
99
|
+
/** Create a Wallet and derive addresses */
|
|
100
100
|
post: operations["PublicApiService_CreateWallet"];
|
|
101
101
|
};
|
|
102
102
|
"/public/v1/submit/create_wallet_accounts": {
|
|
103
|
-
/**
|
|
103
|
+
/** Derive additional addresses using an existing wallet */
|
|
104
104
|
post: operations["PublicApiService_CreateWalletAccounts"];
|
|
105
105
|
};
|
|
106
106
|
"/public/v1/submit/delete_api_keys": {
|
|
@@ -111,7 +111,7 @@ export type paths = {
|
|
|
111
111
|
/** Remove authenticators from a User */
|
|
112
112
|
post: operations["PublicApiService_DeleteAuthenticators"];
|
|
113
113
|
};
|
|
114
|
-
"/public/v1/submit/
|
|
114
|
+
"/public/v1/submit/delete_invitation": {
|
|
115
115
|
/** Delete an existing Invitation */
|
|
116
116
|
post: operations["PublicApiService_DeleteInvitation"];
|
|
117
117
|
};
|
|
@@ -123,10 +123,18 @@ export type paths = {
|
|
|
123
123
|
/** Exports a Private Key */
|
|
124
124
|
post: operations["PublicApiService_ExportPrivateKey"];
|
|
125
125
|
};
|
|
126
|
+
"/public/v1/submit/export_wallet": {
|
|
127
|
+
/** Exports a Wallet */
|
|
128
|
+
post: operations["PublicApiService_ExportWallet"];
|
|
129
|
+
};
|
|
126
130
|
"/public/v1/submit/init_user_email_recovery": {
|
|
127
|
-
/** Initializes a new recovery */
|
|
131
|
+
/** Initializes a new email recovery */
|
|
128
132
|
post: operations["PublicApiService_InitUserEmailRecovery"];
|
|
129
133
|
};
|
|
134
|
+
"/public/v1/submit/recover_user": {
|
|
135
|
+
/** Completes the process of recovering a user by adding an authenticator */
|
|
136
|
+
post: operations["PublicApiService_RecoverUser"];
|
|
137
|
+
};
|
|
130
138
|
"/public/v1/submit/reject_activity": {
|
|
131
139
|
/** Reject an Activity */
|
|
132
140
|
post: operations["PublicApiService_RejectActivity"];
|
|
@@ -140,21 +148,13 @@ export type paths = {
|
|
|
140
148
|
post: operations["PublicApiService_SetOrganizationFeature"];
|
|
141
149
|
};
|
|
142
150
|
"/public/v1/submit/sign_raw_payload": {
|
|
143
|
-
/** Sign a raw payload
|
|
151
|
+
/** Sign a raw payload */
|
|
144
152
|
post: operations["PublicApiService_SignRawPayload"];
|
|
145
153
|
};
|
|
146
|
-
"/public/v1/submit/sign_raw_payload_v2": {
|
|
147
|
-
/** Sign a raw payload with a Private Key id or address */
|
|
148
|
-
post: operations["PublicApiService_SignRawPayloadV2"];
|
|
149
|
-
};
|
|
150
154
|
"/public/v1/submit/sign_transaction": {
|
|
151
|
-
/** Sign a transaction
|
|
155
|
+
/** Sign a transaction */
|
|
152
156
|
post: operations["PublicApiService_SignTransaction"];
|
|
153
157
|
};
|
|
154
|
-
"/public/v1/submit/sign_transaction_v2": {
|
|
155
|
-
/** Sign a transaction with a Private Key id or address */
|
|
156
|
-
post: operations["PublicApiService_SignTransactionV2"];
|
|
157
|
-
};
|
|
158
158
|
"/public/v1/submit/update_allowed_origins": {
|
|
159
159
|
/** Update the allowable origins for credentials and requests */
|
|
160
160
|
post: operations["PublicApiService_UpdateAllowedOrigins"];
|
|
@@ -332,7 +332,7 @@ export type definitions = {
|
|
|
332
332
|
/** @enum {string} */
|
|
333
333
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
334
334
|
/** @enum {string} */
|
|
335
|
-
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY";
|
|
335
|
+
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4";
|
|
336
336
|
v1ApiKey: {
|
|
337
337
|
/** @description A User credential that can be used to authenticate to Turnkey. */
|
|
338
338
|
credential: definitions["externaldatav1Credential"];
|
|
@@ -645,14 +645,29 @@ export type definitions = {
|
|
|
645
645
|
/** @description A list of Private Keys. */
|
|
646
646
|
privateKeys: definitions["v1PrivateKeyParams"][];
|
|
647
647
|
};
|
|
648
|
+
v1CreateSubOrganizationIntentV4: {
|
|
649
|
+
/** @description Name for this sub-organization */
|
|
650
|
+
subOrganizationName: string;
|
|
651
|
+
/** @description Root users to create within this sub-organization */
|
|
652
|
+
rootUsers: definitions["v1RootUserParams"][];
|
|
653
|
+
/**
|
|
654
|
+
* Format: int32
|
|
655
|
+
* @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
|
|
656
|
+
*/
|
|
657
|
+
rootQuorumThreshold: number;
|
|
658
|
+
/** @description The wallet to create for the sub-organization */
|
|
659
|
+
wallet?: definitions["v1WalletParams"];
|
|
660
|
+
/** @description Disable email recovery for the sub-organization */
|
|
661
|
+
disableEmailRecovery?: boolean;
|
|
662
|
+
};
|
|
648
663
|
v1CreateSubOrganizationRequest: {
|
|
649
664
|
/** @enum {string} */
|
|
650
|
-
type: "
|
|
665
|
+
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4";
|
|
651
666
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
652
667
|
timestampMs: string;
|
|
653
668
|
/** @description Unique identifier for a given Organization. */
|
|
654
669
|
organizationId: string;
|
|
655
|
-
parameters: definitions["
|
|
670
|
+
parameters: definitions["v1CreateSubOrganizationIntentV4"];
|
|
656
671
|
};
|
|
657
672
|
v1CreateSubOrganizationResult: {
|
|
658
673
|
subOrganizationId: string;
|
|
@@ -662,6 +677,10 @@ export type definitions = {
|
|
|
662
677
|
/** @description A list of Private Key IDs and addresses. */
|
|
663
678
|
privateKeys: definitions["v1PrivateKeyResult"][];
|
|
664
679
|
};
|
|
680
|
+
v1CreateSubOrganizationResultV4: {
|
|
681
|
+
subOrganizationId: string;
|
|
682
|
+
wallet?: definitions["v1WalletResult"];
|
|
683
|
+
};
|
|
665
684
|
v1CreateUserTagIntent: {
|
|
666
685
|
/** @description Human-readable name for a User Tag. */
|
|
667
686
|
userTagName: string;
|
|
@@ -892,6 +911,29 @@ export type definitions = {
|
|
|
892
911
|
/** @description Export bundle containing a private key encrypted to the client's target public key. */
|
|
893
912
|
exportBundle: string;
|
|
894
913
|
};
|
|
914
|
+
v1ExportWalletIntent: {
|
|
915
|
+
/** @description Unique identifier for a given Wallet. */
|
|
916
|
+
walletId: string;
|
|
917
|
+
/** @description Client-side public key generated by the user, to which the export bundle will be encrypted. */
|
|
918
|
+
targetPublicKey: string;
|
|
919
|
+
/** @description The language of the mnemonic to export. Defaults to English. */
|
|
920
|
+
language?: definitions["v1MnemonicLanguage"];
|
|
921
|
+
};
|
|
922
|
+
v1ExportWalletRequest: {
|
|
923
|
+
/** @enum {string} */
|
|
924
|
+
type: "ACTIVITY_TYPE_EXPORT_WALLET";
|
|
925
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
926
|
+
timestampMs: string;
|
|
927
|
+
/** @description Unique identifier for a given Organization. */
|
|
928
|
+
organizationId: string;
|
|
929
|
+
parameters: definitions["v1ExportWalletIntent"];
|
|
930
|
+
};
|
|
931
|
+
v1ExportWalletResult: {
|
|
932
|
+
/** @description Unique identifier for a given Wallet. */
|
|
933
|
+
walletId: string;
|
|
934
|
+
/** @description Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client's target public key. */
|
|
935
|
+
exportBundle: string;
|
|
936
|
+
};
|
|
895
937
|
v1Feature: {
|
|
896
938
|
name?: definitions["v1FeatureName"];
|
|
897
939
|
value?: string;
|
|
@@ -1087,6 +1129,8 @@ export type definitions = {
|
|
|
1087
1129
|
signRawPayloadIntentV2?: definitions["v1SignRawPayloadIntentV2"];
|
|
1088
1130
|
signTransactionIntentV2?: definitions["v1SignTransactionIntentV2"];
|
|
1089
1131
|
exportPrivateKeyIntent?: definitions["v1ExportPrivateKeyIntent"];
|
|
1132
|
+
exportWalletIntent?: definitions["v1ExportWalletIntent"];
|
|
1133
|
+
createSubOrganizationIntentV4?: definitions["v1CreateSubOrganizationIntentV4"];
|
|
1090
1134
|
};
|
|
1091
1135
|
v1Invitation: {
|
|
1092
1136
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -1120,6 +1164,8 @@ export type definitions = {
|
|
|
1120
1164
|
};
|
|
1121
1165
|
/** @enum {string} */
|
|
1122
1166
|
v1InvitationStatus: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
|
|
1167
|
+
/** @enum {string} */
|
|
1168
|
+
v1MnemonicLanguage: "MNEMONIC_LANGUAGE_ENGLISH" | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | "MNEMONIC_LANGUAGE_CZECH" | "MNEMONIC_LANGUAGE_FRENCH" | "MNEMONIC_LANGUAGE_ITALIAN" | "MNEMONIC_LANGUAGE_JAPANESE" | "MNEMONIC_LANGUAGE_KOREAN" | "MNEMONIC_LANGUAGE_SPANISH";
|
|
1123
1169
|
v1NOOPCodegenAnchorResponse: {
|
|
1124
1170
|
stamp: definitions["v1WebAuthnStamp"];
|
|
1125
1171
|
};
|
|
@@ -1135,6 +1181,7 @@ export type definitions = {
|
|
|
1135
1181
|
rootQuorum?: definitions["externaldatav1Quorum"];
|
|
1136
1182
|
allowedOrigins?: string[];
|
|
1137
1183
|
features?: definitions["v1Feature"][];
|
|
1184
|
+
wallets?: definitions["v1Wallet"][];
|
|
1138
1185
|
};
|
|
1139
1186
|
v1Pagination: {
|
|
1140
1187
|
/** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
|
|
@@ -1178,6 +1225,9 @@ export type definitions = {
|
|
|
1178
1225
|
/** @description A list of Private Key Tag IDs. */
|
|
1179
1226
|
privateKeyTags: string[];
|
|
1180
1227
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
1228
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
1229
|
+
/** @description True when a given Private Key is exported, false otherwise. */
|
|
1230
|
+
exported: boolean;
|
|
1181
1231
|
};
|
|
1182
1232
|
v1PrivateKeyParams: {
|
|
1183
1233
|
/** @description Human-readable name for a Private Key. */
|
|
@@ -1209,6 +1259,15 @@ export type definitions = {
|
|
|
1209
1259
|
/** @description Unique identifier for the user performing recovery. */
|
|
1210
1260
|
userId: string;
|
|
1211
1261
|
};
|
|
1262
|
+
v1RecoverUserRequest: {
|
|
1263
|
+
/** @enum {string} */
|
|
1264
|
+
type: "ACTIVITY_TYPE_RECOVER_USER";
|
|
1265
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1266
|
+
timestampMs: string;
|
|
1267
|
+
/** @description Unique identifier for a given Organization. */
|
|
1268
|
+
organizationId: string;
|
|
1269
|
+
parameters: definitions["v1RecoverUserIntent"];
|
|
1270
|
+
};
|
|
1212
1271
|
v1RecoverUserResult: {
|
|
1213
1272
|
/** @description ID of the authenticator created. */
|
|
1214
1273
|
authenticatorId: string[];
|
|
@@ -1285,6 +1344,8 @@ export type definitions = {
|
|
|
1285
1344
|
setOrganizationFeatureResult?: definitions["v1SetOrganizationFeatureResult"];
|
|
1286
1345
|
removeOrganizationFeatureResult?: definitions["v1RemoveOrganizationFeatureResult"];
|
|
1287
1346
|
exportPrivateKeyResult?: definitions["v1ExportPrivateKeyResult"];
|
|
1347
|
+
exportWalletResult?: definitions["v1ExportWalletResult"];
|
|
1348
|
+
createSubOrganizationResultV4?: definitions["v1CreateSubOrganizationResultV4"];
|
|
1288
1349
|
};
|
|
1289
1350
|
v1RootUserParams: {
|
|
1290
1351
|
/** @description Human-readable name for a User. */
|
|
@@ -1361,7 +1422,7 @@ export type definitions = {
|
|
|
1361
1422
|
hashFunction: definitions["immutableactivityv1HashFunction"];
|
|
1362
1423
|
};
|
|
1363
1424
|
v1SignRawPayloadIntentV2: {
|
|
1364
|
-
/** @description
|
|
1425
|
+
/** @description A Wallet account address, Private Key address, or Private Key identifier. */
|
|
1365
1426
|
signWith: string;
|
|
1366
1427
|
/** @description Raw unsigned payload to be signed. */
|
|
1367
1428
|
payload: string;
|
|
@@ -1372,12 +1433,12 @@ export type definitions = {
|
|
|
1372
1433
|
};
|
|
1373
1434
|
v1SignRawPayloadRequest: {
|
|
1374
1435
|
/** @enum {string} */
|
|
1375
|
-
type: "
|
|
1436
|
+
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2";
|
|
1376
1437
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1377
1438
|
timestampMs: string;
|
|
1378
1439
|
/** @description Unique identifier for a given Organization. */
|
|
1379
1440
|
organizationId: string;
|
|
1380
|
-
parameters: definitions["
|
|
1441
|
+
parameters: definitions["v1SignRawPayloadIntentV2"];
|
|
1381
1442
|
};
|
|
1382
1443
|
v1SignRawPayloadResult: {
|
|
1383
1444
|
/** @description Component of an ECSDA signature. */
|
|
@@ -1387,15 +1448,6 @@ export type definitions = {
|
|
|
1387
1448
|
/** @description Component of an ECSDA signature. */
|
|
1388
1449
|
v: string;
|
|
1389
1450
|
};
|
|
1390
|
-
v1SignRawPayloadV2Request: {
|
|
1391
|
-
/** @enum {string} */
|
|
1392
|
-
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2";
|
|
1393
|
-
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1394
|
-
timestampMs: string;
|
|
1395
|
-
/** @description Unique identifier for a given Organization. */
|
|
1396
|
-
organizationId: string;
|
|
1397
|
-
parameters: definitions["v1SignRawPayloadIntentV2"];
|
|
1398
|
-
};
|
|
1399
1451
|
v1SignTransactionIntent: {
|
|
1400
1452
|
/** @description Unique identifier for a given Private Key. */
|
|
1401
1453
|
privateKeyId: string;
|
|
@@ -1404,7 +1456,7 @@ export type definitions = {
|
|
|
1404
1456
|
type: definitions["v1TransactionType"];
|
|
1405
1457
|
};
|
|
1406
1458
|
v1SignTransactionIntentV2: {
|
|
1407
|
-
/** @description
|
|
1459
|
+
/** @description A Wallet account address, Private Key address, or Private Key identifier. */
|
|
1408
1460
|
signWith: string;
|
|
1409
1461
|
/** @description Raw unsigned transaction to be signed */
|
|
1410
1462
|
unsignedTransaction: string;
|
|
@@ -1412,25 +1464,16 @@ export type definitions = {
|
|
|
1412
1464
|
};
|
|
1413
1465
|
v1SignTransactionRequest: {
|
|
1414
1466
|
/** @enum {string} */
|
|
1415
|
-
type: "
|
|
1467
|
+
type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2";
|
|
1416
1468
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1417
1469
|
timestampMs: string;
|
|
1418
1470
|
/** @description Unique identifier for a given Organization. */
|
|
1419
1471
|
organizationId: string;
|
|
1420
|
-
parameters: definitions["
|
|
1472
|
+
parameters: definitions["v1SignTransactionIntentV2"];
|
|
1421
1473
|
};
|
|
1422
1474
|
v1SignTransactionResult: {
|
|
1423
1475
|
signedTransaction: string;
|
|
1424
1476
|
};
|
|
1425
|
-
v1SignTransactionV2Request: {
|
|
1426
|
-
/** @enum {string} */
|
|
1427
|
-
type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2";
|
|
1428
|
-
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1429
|
-
timestampMs: string;
|
|
1430
|
-
/** @description Unique identifier for a given Organization. */
|
|
1431
|
-
organizationId: string;
|
|
1432
|
-
parameters: definitions["v1SignTransactionIntentV2"];
|
|
1433
|
-
};
|
|
1434
1477
|
v1SimpleClientExtensionResults: {
|
|
1435
1478
|
appid?: boolean;
|
|
1436
1479
|
appidExclude?: boolean;
|
|
@@ -1640,6 +1683,16 @@ export type definitions = {
|
|
|
1640
1683
|
scheme: string;
|
|
1641
1684
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
1642
1685
|
};
|
|
1686
|
+
v1Wallet: {
|
|
1687
|
+
/** @description Unique identifier for a given Wallet. */
|
|
1688
|
+
walletId: string;
|
|
1689
|
+
/** @description Human-readable name for a Wallet. */
|
|
1690
|
+
walletName: string;
|
|
1691
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
1692
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
1693
|
+
/** @description True when a given Wallet is exported, false otherwise. */
|
|
1694
|
+
exported: boolean;
|
|
1695
|
+
};
|
|
1643
1696
|
v1WalletAccountParams: {
|
|
1644
1697
|
/** @description Cryptographic curve used to generate a wallet Account. */
|
|
1645
1698
|
curve: definitions["immutablecommonv1Curve"];
|
|
@@ -1650,6 +1703,17 @@ export type definitions = {
|
|
|
1650
1703
|
/** @description Address format used to generate a wallet Acccount. */
|
|
1651
1704
|
addressFormat: definitions["immutablecommonv1AddressFormat"];
|
|
1652
1705
|
};
|
|
1706
|
+
v1WalletParams: {
|
|
1707
|
+
/** @description Human-readable name for a Wallet. */
|
|
1708
|
+
walletName: string;
|
|
1709
|
+
/** @description A list of wallet Accounts. */
|
|
1710
|
+
accounts: definitions["v1WalletAccountParams"][];
|
|
1711
|
+
};
|
|
1712
|
+
v1WalletResult: {
|
|
1713
|
+
walletId: string;
|
|
1714
|
+
/** @description A list of account addresses. */
|
|
1715
|
+
addresses: string[];
|
|
1716
|
+
};
|
|
1653
1717
|
v1WebAuthnStamp: {
|
|
1654
1718
|
/** @description A base64 url encoded Unique identifier for a given credential. */
|
|
1655
1719
|
credentialId: string;
|
|
@@ -2076,7 +2140,7 @@ export type operations = {
|
|
|
2076
2140
|
};
|
|
2077
2141
|
};
|
|
2078
2142
|
};
|
|
2079
|
-
/** Create a Wallet */
|
|
2143
|
+
/** Create a Wallet and derive addresses */
|
|
2080
2144
|
PublicApiService_CreateWallet: {
|
|
2081
2145
|
parameters: {
|
|
2082
2146
|
body: {
|
|
@@ -2094,7 +2158,7 @@ export type operations = {
|
|
|
2094
2158
|
};
|
|
2095
2159
|
};
|
|
2096
2160
|
};
|
|
2097
|
-
/**
|
|
2161
|
+
/** Derive additional addresses using an existing wallet */
|
|
2098
2162
|
PublicApiService_CreateWalletAccounts: {
|
|
2099
2163
|
parameters: {
|
|
2100
2164
|
body: {
|
|
@@ -2202,11 +2266,11 @@ export type operations = {
|
|
|
2202
2266
|
};
|
|
2203
2267
|
};
|
|
2204
2268
|
};
|
|
2205
|
-
/**
|
|
2206
|
-
|
|
2269
|
+
/** Exports a Wallet */
|
|
2270
|
+
PublicApiService_ExportWallet: {
|
|
2207
2271
|
parameters: {
|
|
2208
2272
|
body: {
|
|
2209
|
-
body: definitions["
|
|
2273
|
+
body: definitions["v1ExportWalletRequest"];
|
|
2210
2274
|
};
|
|
2211
2275
|
};
|
|
2212
2276
|
responses: {
|
|
@@ -2220,11 +2284,11 @@ export type operations = {
|
|
|
2220
2284
|
};
|
|
2221
2285
|
};
|
|
2222
2286
|
};
|
|
2223
|
-
/**
|
|
2224
|
-
|
|
2287
|
+
/** Initializes a new email recovery */
|
|
2288
|
+
PublicApiService_InitUserEmailRecovery: {
|
|
2225
2289
|
parameters: {
|
|
2226
2290
|
body: {
|
|
2227
|
-
body: definitions["
|
|
2291
|
+
body: definitions["v1InitUserEmailRecoveryRequest"];
|
|
2228
2292
|
};
|
|
2229
2293
|
};
|
|
2230
2294
|
responses: {
|
|
@@ -2238,11 +2302,11 @@ export type operations = {
|
|
|
2238
2302
|
};
|
|
2239
2303
|
};
|
|
2240
2304
|
};
|
|
2241
|
-
/**
|
|
2242
|
-
|
|
2305
|
+
/** Completes the process of recovering a user by adding an authenticator */
|
|
2306
|
+
PublicApiService_RecoverUser: {
|
|
2243
2307
|
parameters: {
|
|
2244
2308
|
body: {
|
|
2245
|
-
body: definitions["
|
|
2309
|
+
body: definitions["v1RecoverUserRequest"];
|
|
2246
2310
|
};
|
|
2247
2311
|
};
|
|
2248
2312
|
responses: {
|
|
@@ -2256,11 +2320,11 @@ export type operations = {
|
|
|
2256
2320
|
};
|
|
2257
2321
|
};
|
|
2258
2322
|
};
|
|
2259
|
-
/**
|
|
2260
|
-
|
|
2323
|
+
/** Reject an Activity */
|
|
2324
|
+
PublicApiService_RejectActivity: {
|
|
2261
2325
|
parameters: {
|
|
2262
2326
|
body: {
|
|
2263
|
-
body: definitions["
|
|
2327
|
+
body: definitions["v1RejectActivityRequest"];
|
|
2264
2328
|
};
|
|
2265
2329
|
};
|
|
2266
2330
|
responses: {
|
|
@@ -2274,11 +2338,11 @@ export type operations = {
|
|
|
2274
2338
|
};
|
|
2275
2339
|
};
|
|
2276
2340
|
};
|
|
2277
|
-
/**
|
|
2278
|
-
|
|
2341
|
+
/** Removes an organization feature */
|
|
2342
|
+
PublicApiService_RemoveOrganizationFeature: {
|
|
2279
2343
|
parameters: {
|
|
2280
2344
|
body: {
|
|
2281
|
-
body: definitions["
|
|
2345
|
+
body: definitions["v1RemoveOrganizationFeatureRequest"];
|
|
2282
2346
|
};
|
|
2283
2347
|
};
|
|
2284
2348
|
responses: {
|
|
@@ -2292,11 +2356,11 @@ export type operations = {
|
|
|
2292
2356
|
};
|
|
2293
2357
|
};
|
|
2294
2358
|
};
|
|
2295
|
-
/**
|
|
2296
|
-
|
|
2359
|
+
/** Sets an organization feature */
|
|
2360
|
+
PublicApiService_SetOrganizationFeature: {
|
|
2297
2361
|
parameters: {
|
|
2298
2362
|
body: {
|
|
2299
|
-
body: definitions["
|
|
2363
|
+
body: definitions["v1SetOrganizationFeatureRequest"];
|
|
2300
2364
|
};
|
|
2301
2365
|
};
|
|
2302
2366
|
responses: {
|
|
@@ -2310,11 +2374,11 @@ export type operations = {
|
|
|
2310
2374
|
};
|
|
2311
2375
|
};
|
|
2312
2376
|
};
|
|
2313
|
-
/** Sign a
|
|
2314
|
-
|
|
2377
|
+
/** Sign a raw payload */
|
|
2378
|
+
PublicApiService_SignRawPayload: {
|
|
2315
2379
|
parameters: {
|
|
2316
2380
|
body: {
|
|
2317
|
-
body: definitions["
|
|
2381
|
+
body: definitions["v1SignRawPayloadRequest"];
|
|
2318
2382
|
};
|
|
2319
2383
|
};
|
|
2320
2384
|
responses: {
|
|
@@ -2328,11 +2392,11 @@ export type operations = {
|
|
|
2328
2392
|
};
|
|
2329
2393
|
};
|
|
2330
2394
|
};
|
|
2331
|
-
/** Sign a transaction
|
|
2332
|
-
|
|
2395
|
+
/** Sign a transaction */
|
|
2396
|
+
PublicApiService_SignTransaction: {
|
|
2333
2397
|
parameters: {
|
|
2334
2398
|
body: {
|
|
2335
|
-
body: definitions["
|
|
2399
|
+
body: definitions["v1SignTransactionRequest"];
|
|
2336
2400
|
};
|
|
2337
2401
|
};
|
|
2338
2402
|
responses: {
|