@turnkey/http 2.7.1 → 2.9.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/README.md +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +120 -0
- 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 +200 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +200 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +9234 -1395
- 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 +192 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +177 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +335 -11
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -59,6 +59,10 @@ export type paths = {
|
|
|
59
59
|
/** List all Private Keys within an Organization */
|
|
60
60
|
post: operations["PublicApiService_GetPrivateKeys"];
|
|
61
61
|
};
|
|
62
|
+
"/public/v1/query/list_suborgs": {
|
|
63
|
+
/** Get all suborg IDs associated given a parent org ID and an optional filter. */
|
|
64
|
+
post: operations["PublicApiService_GetSubOrgIds"];
|
|
65
|
+
};
|
|
62
66
|
"/public/v1/query/list_user_tags": {
|
|
63
67
|
/** List all User Tags within an Organization */
|
|
64
68
|
post: operations["PublicApiService_ListUserTags"];
|
|
@@ -147,6 +151,18 @@ export type paths = {
|
|
|
147
151
|
/** Delete an existing Policy */
|
|
148
152
|
post: operations["PublicApiService_DeletePolicy"];
|
|
149
153
|
};
|
|
154
|
+
"/public/v1/submit/delete_private_key_tags": {
|
|
155
|
+
/** Delete Private Key Tags within an Organization */
|
|
156
|
+
post: operations["PublicApiService_DeletePrivateKeyTags"];
|
|
157
|
+
};
|
|
158
|
+
"/public/v1/submit/delete_user_tags": {
|
|
159
|
+
/** Delete User Tags within an Organization */
|
|
160
|
+
post: operations["PublicApiService_DeleteUserTags"];
|
|
161
|
+
};
|
|
162
|
+
"/public/v1/submit/delete_users": {
|
|
163
|
+
/** Delete Users within an Organization */
|
|
164
|
+
post: operations["PublicApiService_DeleteUsers"];
|
|
165
|
+
};
|
|
150
166
|
"/public/v1/submit/email_auth": {
|
|
151
167
|
/** Authenticate a user via Email */
|
|
152
168
|
post: operations["PublicApiService_EmailAuth"];
|
|
@@ -163,6 +179,22 @@ export type paths = {
|
|
|
163
179
|
/** Exports a Wallet Account */
|
|
164
180
|
post: operations["PublicApiService_ExportWalletAccount"];
|
|
165
181
|
};
|
|
182
|
+
"/public/v1/submit/import_private_key": {
|
|
183
|
+
/** Imports a private key */
|
|
184
|
+
post: operations["PublicApiService_ImportPrivateKey"];
|
|
185
|
+
};
|
|
186
|
+
"/public/v1/submit/import_wallet": {
|
|
187
|
+
/** Imports a wallet */
|
|
188
|
+
post: operations["PublicApiService_ImportWallet"];
|
|
189
|
+
};
|
|
190
|
+
"/public/v1/submit/init_import_private_key": {
|
|
191
|
+
/** Initializes a new private key import */
|
|
192
|
+
post: operations["PublicApiService_InitImportPrivateKey"];
|
|
193
|
+
};
|
|
194
|
+
"/public/v1/submit/init_import_wallet": {
|
|
195
|
+
/** Initializes a new wallet import */
|
|
196
|
+
post: operations["PublicApiService_InitImportWallet"];
|
|
197
|
+
};
|
|
166
198
|
"/public/v1/submit/init_user_email_recovery": {
|
|
167
199
|
/** Initializes a new email recovery */
|
|
168
200
|
post: operations["PublicApiService_InitUserEmailRecovery"];
|
|
@@ -323,9 +355,9 @@ export type definitions = {
|
|
|
323
355
|
/** @enum {string} */
|
|
324
356
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
325
357
|
/** @enum {string} */
|
|
326
|
-
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" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT";
|
|
358
|
+
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" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY";
|
|
327
359
|
/** @enum {string} */
|
|
328
|
-
v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS";
|
|
360
|
+
v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON";
|
|
329
361
|
v1ApiKey: {
|
|
330
362
|
/** @description A User credential that can be used to authenticate to Turnkey. */
|
|
331
363
|
credential: definitions["externaldatav1Credential"];
|
|
@@ -675,15 +707,18 @@ export type definitions = {
|
|
|
675
707
|
};
|
|
676
708
|
v1CreateSubOrganizationResult: {
|
|
677
709
|
subOrganizationId: string;
|
|
710
|
+
rootUserIds?: string[];
|
|
678
711
|
};
|
|
679
712
|
v1CreateSubOrganizationResultV3: {
|
|
680
713
|
subOrganizationId: string;
|
|
681
714
|
/** @description A list of Private Key IDs and addresses. */
|
|
682
715
|
privateKeys: definitions["v1PrivateKeyResult"][];
|
|
716
|
+
rootUserIds?: string[];
|
|
683
717
|
};
|
|
684
718
|
v1CreateSubOrganizationResultV4: {
|
|
685
719
|
subOrganizationId: string;
|
|
686
720
|
wallet?: definitions["v1WalletResult"];
|
|
721
|
+
rootUserIds?: string[];
|
|
687
722
|
};
|
|
688
723
|
v1CreateUserTagIntent: {
|
|
689
724
|
/** @description Human-readable name for a User Tag. */
|
|
@@ -767,7 +802,7 @@ export type definitions = {
|
|
|
767
802
|
parameters: definitions["v1CreateWalletIntent"];
|
|
768
803
|
};
|
|
769
804
|
v1CreateWalletResult: {
|
|
770
|
-
/** @description
|
|
805
|
+
/** @description Unique identifier for a Wallet. */
|
|
771
806
|
walletId: string;
|
|
772
807
|
/** @description A list of account addresses. */
|
|
773
808
|
addresses: string[];
|
|
@@ -871,6 +906,15 @@ export type definitions = {
|
|
|
871
906
|
/** @description A list of Private Key Tag IDs. */
|
|
872
907
|
privateKeyTagIds: string[];
|
|
873
908
|
};
|
|
909
|
+
v1DeletePrivateKeyTagsRequest: {
|
|
910
|
+
/** @enum {string} */
|
|
911
|
+
type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS";
|
|
912
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
913
|
+
timestampMs: string;
|
|
914
|
+
/** @description Unique identifier for a given Organization. */
|
|
915
|
+
organizationId: string;
|
|
916
|
+
parameters: definitions["v1DeletePrivateKeyTagsIntent"];
|
|
917
|
+
};
|
|
874
918
|
v1DeletePrivateKeyTagsResult: {
|
|
875
919
|
/** @description A list of Private Key Tag IDs. */
|
|
876
920
|
privateKeyTagIds: string[];
|
|
@@ -881,6 +925,15 @@ export type definitions = {
|
|
|
881
925
|
/** @description A list of User Tag IDs. */
|
|
882
926
|
userTagIds: string[];
|
|
883
927
|
};
|
|
928
|
+
v1DeleteUserTagsRequest: {
|
|
929
|
+
/** @enum {string} */
|
|
930
|
+
type: "ACTIVITY_TYPE_DELETE_USER_TAGS";
|
|
931
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
932
|
+
timestampMs: string;
|
|
933
|
+
/** @description Unique identifier for a given Organization. */
|
|
934
|
+
organizationId: string;
|
|
935
|
+
parameters: definitions["v1DeleteUserTagsIntent"];
|
|
936
|
+
};
|
|
884
937
|
v1DeleteUserTagsResult: {
|
|
885
938
|
/** @description A list of User Tag IDs. */
|
|
886
939
|
userTagIds: string[];
|
|
@@ -891,6 +944,15 @@ export type definitions = {
|
|
|
891
944
|
/** @description A list of User IDs. */
|
|
892
945
|
userIds: string[];
|
|
893
946
|
};
|
|
947
|
+
v1DeleteUsersRequest: {
|
|
948
|
+
/** @enum {string} */
|
|
949
|
+
type: "ACTIVITY_TYPE_DELETE_USERS";
|
|
950
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
951
|
+
timestampMs: string;
|
|
952
|
+
/** @description Unique identifier for a given Organization. */
|
|
953
|
+
organizationId: string;
|
|
954
|
+
parameters: definitions["v1DeleteUsersIntent"];
|
|
955
|
+
};
|
|
894
956
|
v1DeleteUsersResult: {
|
|
895
957
|
/** @description A list of User IDs. */
|
|
896
958
|
userIds: string[];
|
|
@@ -914,8 +976,8 @@ export type definitions = {
|
|
|
914
976
|
apiKeyName?: string;
|
|
915
977
|
/** @description Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used. */
|
|
916
978
|
expirationSeconds?: string;
|
|
917
|
-
/** @description Optional parameters for customizing emails. If not provided,
|
|
918
|
-
emailCustomization?: definitions["
|
|
979
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
980
|
+
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
919
981
|
};
|
|
920
982
|
v1EmailAuthRequest: {
|
|
921
983
|
/** @enum {string} */
|
|
@@ -932,11 +994,17 @@ export type definitions = {
|
|
|
932
994
|
/** @description Unique identifier for the created API key. */
|
|
933
995
|
apiKeyId: string;
|
|
934
996
|
};
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
997
|
+
v1EmailCustomizationParams: {
|
|
998
|
+
/** @description The name of the application. */
|
|
999
|
+
appName?: string;
|
|
1000
|
+
/** @description A URL pointing to a logo. Note this logo will be resized to fit into 340px x 124px. */
|
|
1001
|
+
logoUrl?: string;
|
|
1002
|
+
/** @description A template for the URL to be used in a magic link button, e.g. `https://dapp.xyz/%s`. The auth bundle will be interpolated into the `%s`. */
|
|
1003
|
+
magicLinkTemplate?: string;
|
|
1004
|
+
/** @description JSON object containing key/value pairs to be used with custom templates. */
|
|
1005
|
+
templateVariables?: string;
|
|
1006
|
+
/** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
|
|
1007
|
+
templateId?: string;
|
|
940
1008
|
};
|
|
941
1009
|
v1ExportPrivateKeyIntent: {
|
|
942
1010
|
/** @description Unique identifier for a given Private Key. */
|
|
@@ -1008,7 +1076,7 @@ export type definitions = {
|
|
|
1008
1076
|
value?: string;
|
|
1009
1077
|
};
|
|
1010
1078
|
/** @enum {string} */
|
|
1011
|
-
v1FeatureName: "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY";
|
|
1079
|
+
v1FeatureName: "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK";
|
|
1012
1080
|
v1GetActivitiesRequest: {
|
|
1013
1081
|
/** @description Unique identifier for a given Organization. */
|
|
1014
1082
|
organizationId: string;
|
|
@@ -1113,6 +1181,18 @@ export type definitions = {
|
|
|
1113
1181
|
/** @description A list of Private Keys. */
|
|
1114
1182
|
privateKeys: definitions["v1PrivateKey"][];
|
|
1115
1183
|
};
|
|
1184
|
+
v1GetSubOrgIdsRequest: {
|
|
1185
|
+
/** @description Unique identifier for the parent Organization. This is used to find sub-organizations within it. */
|
|
1186
|
+
organizationId: string;
|
|
1187
|
+
/** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL' or 'PUBLIC_KEY' */
|
|
1188
|
+
filterType?: string;
|
|
1189
|
+
/** @description The value of the filter to apply for the specified type. For example, a specific email or name string. */
|
|
1190
|
+
filterValue?: string;
|
|
1191
|
+
};
|
|
1192
|
+
v1GetSubOrgIdsResponse: {
|
|
1193
|
+
/** @description List of unique identifiers for the matching sub-organizations. */
|
|
1194
|
+
organizationIds: string[];
|
|
1195
|
+
};
|
|
1116
1196
|
v1GetUserRequest: {
|
|
1117
1197
|
/** @description Unique identifier for a given Organization. */
|
|
1118
1198
|
organizationId: string;
|
|
@@ -1175,6 +1255,92 @@ export type definitions = {
|
|
|
1175
1255
|
};
|
|
1176
1256
|
/** @enum {string} */
|
|
1177
1257
|
v1HashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
|
|
1258
|
+
v1ImportPrivateKeyIntent: {
|
|
1259
|
+
/** @description The ID of the User importing a Private Key. */
|
|
1260
|
+
userId: string;
|
|
1261
|
+
/** @description Human-readable name for a Private Key. */
|
|
1262
|
+
privateKeyName: string;
|
|
1263
|
+
/** @description Bundle containing a raw private key encrypted to the enclave's target public key. */
|
|
1264
|
+
encryptedBundle: string;
|
|
1265
|
+
/** @description Cryptographic Curve used to generate a given Private Key. */
|
|
1266
|
+
curve: definitions["v1Curve"];
|
|
1267
|
+
/** @description Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */
|
|
1268
|
+
addressFormats: definitions["v1AddressFormat"][];
|
|
1269
|
+
};
|
|
1270
|
+
v1ImportPrivateKeyRequest: {
|
|
1271
|
+
/** @enum {string} */
|
|
1272
|
+
type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY";
|
|
1273
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1274
|
+
timestampMs: string;
|
|
1275
|
+
/** @description Unique identifier for a given Organization. */
|
|
1276
|
+
organizationId: string;
|
|
1277
|
+
parameters: definitions["v1ImportPrivateKeyIntent"];
|
|
1278
|
+
};
|
|
1279
|
+
v1ImportPrivateKeyResult: {
|
|
1280
|
+
/** @description Unique identifier for a Private Key. */
|
|
1281
|
+
privateKeyId: string;
|
|
1282
|
+
/** @description A list of addresses. */
|
|
1283
|
+
addresses: definitions["immutableactivityv1Address"][];
|
|
1284
|
+
};
|
|
1285
|
+
v1ImportWalletIntent: {
|
|
1286
|
+
/** @description The ID of the User importing a Wallet. */
|
|
1287
|
+
userId: string;
|
|
1288
|
+
/** @description Human-readable name for a Wallet. */
|
|
1289
|
+
walletName: string;
|
|
1290
|
+
/** @description Bundle containing a wallet mnemonic encrypted to the enclave's target public key. */
|
|
1291
|
+
encryptedBundle: string;
|
|
1292
|
+
/** @description A list of wallet Accounts. */
|
|
1293
|
+
accounts: definitions["v1WalletAccountParams"][];
|
|
1294
|
+
};
|
|
1295
|
+
v1ImportWalletRequest: {
|
|
1296
|
+
/** @enum {string} */
|
|
1297
|
+
type: "ACTIVITY_TYPE_IMPORT_WALLET";
|
|
1298
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1299
|
+
timestampMs: string;
|
|
1300
|
+
/** @description Unique identifier for a given Organization. */
|
|
1301
|
+
organizationId: string;
|
|
1302
|
+
parameters: definitions["v1ImportWalletIntent"];
|
|
1303
|
+
};
|
|
1304
|
+
v1ImportWalletResult: {
|
|
1305
|
+
/** @description Unique identifier for a Wallet. */
|
|
1306
|
+
walletId: string;
|
|
1307
|
+
/** @description A list of account addresses. */
|
|
1308
|
+
addresses: string[];
|
|
1309
|
+
};
|
|
1310
|
+
v1InitImportPrivateKeyIntent: {
|
|
1311
|
+
/** @description The ID of the User importing a Private Key. */
|
|
1312
|
+
userId: string;
|
|
1313
|
+
};
|
|
1314
|
+
v1InitImportPrivateKeyRequest: {
|
|
1315
|
+
/** @enum {string} */
|
|
1316
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY";
|
|
1317
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1318
|
+
timestampMs: string;
|
|
1319
|
+
/** @description Unique identifier for a given Organization. */
|
|
1320
|
+
organizationId: string;
|
|
1321
|
+
parameters: definitions["v1InitImportPrivateKeyIntent"];
|
|
1322
|
+
};
|
|
1323
|
+
v1InitImportPrivateKeyResult: {
|
|
1324
|
+
/** @description Import bundle containing a public key and signature to use for importing client data. */
|
|
1325
|
+
importBundle: string;
|
|
1326
|
+
};
|
|
1327
|
+
v1InitImportWalletIntent: {
|
|
1328
|
+
/** @description The ID of the User importing a Wallet. */
|
|
1329
|
+
userId: string;
|
|
1330
|
+
};
|
|
1331
|
+
v1InitImportWalletRequest: {
|
|
1332
|
+
/** @enum {string} */
|
|
1333
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET";
|
|
1334
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1335
|
+
timestampMs: string;
|
|
1336
|
+
/** @description Unique identifier for a given Organization. */
|
|
1337
|
+
organizationId: string;
|
|
1338
|
+
parameters: definitions["v1InitImportWalletIntent"];
|
|
1339
|
+
};
|
|
1340
|
+
v1InitImportWalletResult: {
|
|
1341
|
+
/** @description Import bundle containing a public key and signature to use for importing client data. */
|
|
1342
|
+
importBundle: string;
|
|
1343
|
+
};
|
|
1178
1344
|
v1InitUserEmailRecoveryIntent: {
|
|
1179
1345
|
/** @description Email of the user starting recovery */
|
|
1180
1346
|
email: string;
|
|
@@ -1182,6 +1348,8 @@ export type definitions = {
|
|
|
1182
1348
|
targetPublicKey: string;
|
|
1183
1349
|
/** @description Expiration window (in seconds) indicating how long the recovery credential is valid. If not provided, a default of 15 minutes will be used. */
|
|
1184
1350
|
expirationSeconds?: string;
|
|
1351
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
1352
|
+
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
1185
1353
|
};
|
|
1186
1354
|
v1InitUserEmailRecoveryRequest: {
|
|
1187
1355
|
/** @enum {string} */
|
|
@@ -1254,6 +1422,10 @@ export type definitions = {
|
|
|
1254
1422
|
createSubOrganizationIntentV4?: definitions["v1CreateSubOrganizationIntentV4"];
|
|
1255
1423
|
emailAuthIntent?: definitions["v1EmailAuthIntent"];
|
|
1256
1424
|
exportWalletAccountIntent?: definitions["v1ExportWalletAccountIntent"];
|
|
1425
|
+
initImportWalletIntent?: definitions["v1InitImportWalletIntent"];
|
|
1426
|
+
importWalletIntent?: definitions["v1ImportWalletIntent"];
|
|
1427
|
+
initImportPrivateKeyIntent?: definitions["v1InitImportPrivateKeyIntent"];
|
|
1428
|
+
importPrivateKeyIntent?: definitions["v1ImportPrivateKeyIntent"];
|
|
1257
1429
|
};
|
|
1258
1430
|
v1Invitation: {
|
|
1259
1431
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -1367,6 +1539,8 @@ export type definitions = {
|
|
|
1367
1539
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
1368
1540
|
/** @description True when a given Private Key is exported, false otherwise. */
|
|
1369
1541
|
exported: boolean;
|
|
1542
|
+
/** @description True when a given Private Key is imported, false otherwise. */
|
|
1543
|
+
imported: boolean;
|
|
1370
1544
|
};
|
|
1371
1545
|
v1PrivateKeyParams: {
|
|
1372
1546
|
/** @description Human-readable name for a Private Key. */
|
|
@@ -1487,6 +1661,10 @@ export type definitions = {
|
|
|
1487
1661
|
createSubOrganizationResultV4?: definitions["v1CreateSubOrganizationResultV4"];
|
|
1488
1662
|
emailAuthResult?: definitions["v1EmailAuthResult"];
|
|
1489
1663
|
exportWalletAccountResult?: definitions["v1ExportWalletAccountResult"];
|
|
1664
|
+
initImportWalletResult?: definitions["v1InitImportWalletResult"];
|
|
1665
|
+
importWalletResult?: definitions["v1ImportWalletResult"];
|
|
1666
|
+
initImportPrivateKeyResult?: definitions["v1InitImportPrivateKeyResult"];
|
|
1667
|
+
importPrivateKeyResult?: definitions["v1ImportPrivateKeyResult"];
|
|
1490
1668
|
};
|
|
1491
1669
|
v1RootUserParams: {
|
|
1492
1670
|
/** @description Human-readable name for a User. */
|
|
@@ -1825,6 +2003,8 @@ export type definitions = {
|
|
|
1825
2003
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
1826
2004
|
/** @description True when a given Wallet is exported, false otherwise. */
|
|
1827
2005
|
exported: boolean;
|
|
2006
|
+
/** @description True when a given Wallet is imported, false otherwise. */
|
|
2007
|
+
imported: boolean;
|
|
1828
2008
|
};
|
|
1829
2009
|
v1WalletAccount: {
|
|
1830
2010
|
/** @description The Organization the Account belongs to. */
|
|
@@ -2136,6 +2316,24 @@ export type operations = {
|
|
|
2136
2316
|
};
|
|
2137
2317
|
};
|
|
2138
2318
|
};
|
|
2319
|
+
/** Get all suborg IDs associated given a parent org ID and an optional filter. */
|
|
2320
|
+
PublicApiService_GetSubOrgIds: {
|
|
2321
|
+
parameters: {
|
|
2322
|
+
body: {
|
|
2323
|
+
body: definitions["v1GetSubOrgIdsRequest"];
|
|
2324
|
+
};
|
|
2325
|
+
};
|
|
2326
|
+
responses: {
|
|
2327
|
+
/** A successful response. */
|
|
2328
|
+
200: {
|
|
2329
|
+
schema: definitions["v1GetSubOrgIdsResponse"];
|
|
2330
|
+
};
|
|
2331
|
+
/** An unexpected error response. */
|
|
2332
|
+
default: {
|
|
2333
|
+
schema: definitions["rpcStatus"];
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2139
2337
|
/** List all User Tags within an Organization */
|
|
2140
2338
|
PublicApiService_ListUserTags: {
|
|
2141
2339
|
parameters: {
|
|
@@ -2532,6 +2730,60 @@ export type operations = {
|
|
|
2532
2730
|
};
|
|
2533
2731
|
};
|
|
2534
2732
|
};
|
|
2733
|
+
/** Delete Private Key Tags within an Organization */
|
|
2734
|
+
PublicApiService_DeletePrivateKeyTags: {
|
|
2735
|
+
parameters: {
|
|
2736
|
+
body: {
|
|
2737
|
+
body: definitions["v1DeletePrivateKeyTagsRequest"];
|
|
2738
|
+
};
|
|
2739
|
+
};
|
|
2740
|
+
responses: {
|
|
2741
|
+
/** A successful response. */
|
|
2742
|
+
200: {
|
|
2743
|
+
schema: definitions["v1ActivityResponse"];
|
|
2744
|
+
};
|
|
2745
|
+
/** An unexpected error response. */
|
|
2746
|
+
default: {
|
|
2747
|
+
schema: definitions["rpcStatus"];
|
|
2748
|
+
};
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
|
+
/** Delete User Tags within an Organization */
|
|
2752
|
+
PublicApiService_DeleteUserTags: {
|
|
2753
|
+
parameters: {
|
|
2754
|
+
body: {
|
|
2755
|
+
body: definitions["v1DeleteUserTagsRequest"];
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
responses: {
|
|
2759
|
+
/** A successful response. */
|
|
2760
|
+
200: {
|
|
2761
|
+
schema: definitions["v1ActivityResponse"];
|
|
2762
|
+
};
|
|
2763
|
+
/** An unexpected error response. */
|
|
2764
|
+
default: {
|
|
2765
|
+
schema: definitions["rpcStatus"];
|
|
2766
|
+
};
|
|
2767
|
+
};
|
|
2768
|
+
};
|
|
2769
|
+
/** Delete Users within an Organization */
|
|
2770
|
+
PublicApiService_DeleteUsers: {
|
|
2771
|
+
parameters: {
|
|
2772
|
+
body: {
|
|
2773
|
+
body: definitions["v1DeleteUsersRequest"];
|
|
2774
|
+
};
|
|
2775
|
+
};
|
|
2776
|
+
responses: {
|
|
2777
|
+
/** A successful response. */
|
|
2778
|
+
200: {
|
|
2779
|
+
schema: definitions["v1ActivityResponse"];
|
|
2780
|
+
};
|
|
2781
|
+
/** An unexpected error response. */
|
|
2782
|
+
default: {
|
|
2783
|
+
schema: definitions["rpcStatus"];
|
|
2784
|
+
};
|
|
2785
|
+
};
|
|
2786
|
+
};
|
|
2535
2787
|
/** Authenticate a user via Email */
|
|
2536
2788
|
PublicApiService_EmailAuth: {
|
|
2537
2789
|
parameters: {
|
|
@@ -2604,6 +2856,78 @@ export type operations = {
|
|
|
2604
2856
|
};
|
|
2605
2857
|
};
|
|
2606
2858
|
};
|
|
2859
|
+
/** Imports a private key */
|
|
2860
|
+
PublicApiService_ImportPrivateKey: {
|
|
2861
|
+
parameters: {
|
|
2862
|
+
body: {
|
|
2863
|
+
body: definitions["v1ImportPrivateKeyRequest"];
|
|
2864
|
+
};
|
|
2865
|
+
};
|
|
2866
|
+
responses: {
|
|
2867
|
+
/** A successful response. */
|
|
2868
|
+
200: {
|
|
2869
|
+
schema: definitions["v1ActivityResponse"];
|
|
2870
|
+
};
|
|
2871
|
+
/** An unexpected error response. */
|
|
2872
|
+
default: {
|
|
2873
|
+
schema: definitions["rpcStatus"];
|
|
2874
|
+
};
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
/** Imports a wallet */
|
|
2878
|
+
PublicApiService_ImportWallet: {
|
|
2879
|
+
parameters: {
|
|
2880
|
+
body: {
|
|
2881
|
+
body: definitions["v1ImportWalletRequest"];
|
|
2882
|
+
};
|
|
2883
|
+
};
|
|
2884
|
+
responses: {
|
|
2885
|
+
/** A successful response. */
|
|
2886
|
+
200: {
|
|
2887
|
+
schema: definitions["v1ActivityResponse"];
|
|
2888
|
+
};
|
|
2889
|
+
/** An unexpected error response. */
|
|
2890
|
+
default: {
|
|
2891
|
+
schema: definitions["rpcStatus"];
|
|
2892
|
+
};
|
|
2893
|
+
};
|
|
2894
|
+
};
|
|
2895
|
+
/** Initializes a new private key import */
|
|
2896
|
+
PublicApiService_InitImportPrivateKey: {
|
|
2897
|
+
parameters: {
|
|
2898
|
+
body: {
|
|
2899
|
+
body: definitions["v1InitImportPrivateKeyRequest"];
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
responses: {
|
|
2903
|
+
/** A successful response. */
|
|
2904
|
+
200: {
|
|
2905
|
+
schema: definitions["v1ActivityResponse"];
|
|
2906
|
+
};
|
|
2907
|
+
/** An unexpected error response. */
|
|
2908
|
+
default: {
|
|
2909
|
+
schema: definitions["rpcStatus"];
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
};
|
|
2913
|
+
/** Initializes a new wallet import */
|
|
2914
|
+
PublicApiService_InitImportWallet: {
|
|
2915
|
+
parameters: {
|
|
2916
|
+
body: {
|
|
2917
|
+
body: definitions["v1InitImportWalletRequest"];
|
|
2918
|
+
};
|
|
2919
|
+
};
|
|
2920
|
+
responses: {
|
|
2921
|
+
/** A successful response. */
|
|
2922
|
+
200: {
|
|
2923
|
+
schema: definitions["v1ActivityResponse"];
|
|
2924
|
+
};
|
|
2925
|
+
/** An unexpected error response. */
|
|
2926
|
+
default: {
|
|
2927
|
+
schema: definitions["rpcStatus"];
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
};
|
|
2607
2931
|
/** Initializes a new email recovery */
|
|
2608
2932
|
PublicApiService_InitUserEmailRecovery: {
|
|
2609
2933
|
parameters: {
|