@turnkey/http 1.2.0 → 1.3.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 +31 -0
- 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 +203 -0
- 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 +8997 -396
- 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 +194 -2
- 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 +861 -93
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +425 -53
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -95,6 +95,14 @@ export type paths = {
|
|
|
95
95
|
/** Create Users in an existing Organization */
|
|
96
96
|
post: operations["PublicApiService_CreateUsers"];
|
|
97
97
|
};
|
|
98
|
+
"/public/v1/submit/create_wallet": {
|
|
99
|
+
/** Create a Wallet */
|
|
100
|
+
post: operations["PublicApiService_CreateWallet"];
|
|
101
|
+
};
|
|
102
|
+
"/public/v1/submit/create_wallet_accounts": {
|
|
103
|
+
/** Create Wallet accounts */
|
|
104
|
+
post: operations["PublicApiService_CreateWalletAccounts"];
|
|
105
|
+
};
|
|
98
106
|
"/public/v1/submit/delete_api_keys": {
|
|
99
107
|
/** Remove api keys from a User */
|
|
100
108
|
post: operations["PublicApiService_DeleteApiKeys"];
|
|
@@ -111,18 +119,42 @@ export type paths = {
|
|
|
111
119
|
/** Delete an existing Policy */
|
|
112
120
|
post: operations["PublicApiService_DeletePolicy"];
|
|
113
121
|
};
|
|
122
|
+
"/public/v1/submit/export_private_key": {
|
|
123
|
+
/** Exports a Private Key */
|
|
124
|
+
post: operations["PublicApiService_ExportPrivateKey"];
|
|
125
|
+
};
|
|
126
|
+
"/public/v1/submit/init_user_email_recovery": {
|
|
127
|
+
/** Initializes a new recovery */
|
|
128
|
+
post: operations["PublicApiService_InitUserEmailRecovery"];
|
|
129
|
+
};
|
|
114
130
|
"/public/v1/submit/reject_activity": {
|
|
115
131
|
/** Reject an Activity */
|
|
116
132
|
post: operations["PublicApiService_RejectActivity"];
|
|
117
133
|
};
|
|
134
|
+
"/public/v1/submit/remove_organization_feature": {
|
|
135
|
+
/** Removes an organization feature */
|
|
136
|
+
post: operations["PublicApiService_RemoveOrganizationFeature"];
|
|
137
|
+
};
|
|
138
|
+
"/public/v1/submit/set_organization_feature": {
|
|
139
|
+
/** Sets an organization feature */
|
|
140
|
+
post: operations["PublicApiService_SetOrganizationFeature"];
|
|
141
|
+
};
|
|
118
142
|
"/public/v1/submit/sign_raw_payload": {
|
|
119
143
|
/** Sign a raw payload with a Private Key */
|
|
120
144
|
post: operations["PublicApiService_SignRawPayload"];
|
|
121
145
|
};
|
|
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
|
+
};
|
|
122
150
|
"/public/v1/submit/sign_transaction": {
|
|
123
151
|
/** Sign a transaction with a Private Key */
|
|
124
152
|
post: operations["PublicApiService_SignTransaction"];
|
|
125
153
|
};
|
|
154
|
+
"/public/v1/submit/sign_transaction_v2": {
|
|
155
|
+
/** Sign a transaction with a Private Key id or address */
|
|
156
|
+
post: operations["PublicApiService_SignTransactionV2"];
|
|
157
|
+
};
|
|
126
158
|
"/public/v1/submit/update_allowed_origins": {
|
|
127
159
|
/** Update the allowable origins for credentials and requests */
|
|
128
160
|
post: operations["PublicApiService_UpdateAllowedOrigins"];
|
|
@@ -158,8 +190,8 @@ export type definitions = {
|
|
|
158
190
|
/** @description Human-readable name for a Tag. */
|
|
159
191
|
tagName: string;
|
|
160
192
|
tagType: definitions["v1TagType"];
|
|
161
|
-
createdAt: definitions["
|
|
162
|
-
updatedAt: definitions["
|
|
193
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
194
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
163
195
|
};
|
|
164
196
|
/** @enum {string} */
|
|
165
197
|
externaldatav1AccessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
@@ -171,12 +203,28 @@ export type definitions = {
|
|
|
171
203
|
externaldatav1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
172
204
|
/** @enum {string} */
|
|
173
205
|
externaldatav1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
|
|
206
|
+
externaldatav1Credential: {
|
|
207
|
+
/** @description The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
208
|
+
publicKey: string;
|
|
209
|
+
type: definitions["externaldatav1CredentialType"];
|
|
210
|
+
};
|
|
211
|
+
/** @enum {string} */
|
|
212
|
+
externaldatav1CredentialType: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256" | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256";
|
|
174
213
|
/** @enum {string} */
|
|
175
214
|
externaldatav1Curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
176
215
|
/** @enum {string} */
|
|
177
216
|
externaldatav1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
178
217
|
/** @enum {string} */
|
|
179
218
|
externaldatav1Operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
219
|
+
externaldatav1Quorum: {
|
|
220
|
+
/**
|
|
221
|
+
* Format: int32
|
|
222
|
+
* @description Count of unique approvals required to meet quorum.
|
|
223
|
+
*/
|
|
224
|
+
threshold: number;
|
|
225
|
+
/** @description Unique identifiers of quorum set members. */
|
|
226
|
+
userIds: string[];
|
|
227
|
+
};
|
|
180
228
|
externaldatav1Selector: {
|
|
181
229
|
/** @description The resource being referenced within a policy (e.g., user.tags or activities.type). */
|
|
182
230
|
subject: string;
|
|
@@ -185,27 +233,33 @@ export type definitions = {
|
|
|
185
233
|
/** @description The specific parameter from the subject being referenced, like a specific user ID. */
|
|
186
234
|
targets: string[];
|
|
187
235
|
};
|
|
236
|
+
externaldatav1Timestamp: {
|
|
237
|
+
seconds: string;
|
|
238
|
+
nanos: string;
|
|
239
|
+
};
|
|
188
240
|
/** @enum {string} */
|
|
189
241
|
immutableactivityv1AccessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
190
242
|
immutableactivityv1Address: {
|
|
191
|
-
format?: definitions["
|
|
243
|
+
format?: definitions["immutablecommonv1AddressFormat"];
|
|
192
244
|
address?: string;
|
|
193
245
|
};
|
|
194
246
|
/** @enum {string} */
|
|
195
|
-
immutableactivityv1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM";
|
|
196
|
-
/** @enum {string} */
|
|
197
|
-
immutableactivityv1Curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
198
|
-
/** @enum {string} */
|
|
199
247
|
immutableactivityv1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
200
248
|
/** @enum {string} */
|
|
249
|
+
immutableactivityv1HashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
|
|
250
|
+
/** @enum {string} */
|
|
201
251
|
immutableactivityv1Operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
252
|
+
/** @enum {string} */
|
|
253
|
+
immutableactivityv1PayloadEncoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
|
|
202
254
|
immutableactivityv1Selector: {
|
|
203
255
|
subject?: string;
|
|
204
256
|
operator?: definitions["immutableactivityv1Operator"];
|
|
205
257
|
target?: string;
|
|
206
258
|
};
|
|
207
259
|
/** @enum {string} */
|
|
208
|
-
|
|
260
|
+
immutablecommonv1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS";
|
|
261
|
+
/** @enum {string} */
|
|
262
|
+
immutablecommonv1Curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
209
263
|
/** @enum {string} */
|
|
210
264
|
immutablewebauthnv1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
|
|
211
265
|
protobufAny: {
|
|
@@ -268,8 +322,8 @@ export type definitions = {
|
|
|
268
322
|
fingerprint: string;
|
|
269
323
|
canApprove: boolean;
|
|
270
324
|
canReject: boolean;
|
|
271
|
-
createdAt: definitions["
|
|
272
|
-
updatedAt: definitions["
|
|
325
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
326
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
273
327
|
};
|
|
274
328
|
v1ActivityResponse: {
|
|
275
329
|
/** @description An action that can that can be taken within the Turnkey infrastructure. */
|
|
@@ -278,16 +332,16 @@ export type definitions = {
|
|
|
278
332
|
/** @enum {string} */
|
|
279
333
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
280
334
|
/** @enum {string} */
|
|
281
|
-
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";
|
|
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";
|
|
282
336
|
v1ApiKey: {
|
|
283
337
|
/** @description A User credential that can be used to authenticate to Turnkey. */
|
|
284
|
-
credential: definitions["
|
|
338
|
+
credential: definitions["externaldatav1Credential"];
|
|
285
339
|
/** @description Unique identifier for a given API Key. */
|
|
286
340
|
apiKeyId: string;
|
|
287
341
|
/** @description Human-readable name for an API Key. */
|
|
288
342
|
apiKeyName: string;
|
|
289
|
-
createdAt: definitions["
|
|
290
|
-
updatedAt: definitions["
|
|
343
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
344
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
291
345
|
};
|
|
292
346
|
v1ApiKeyParams: {
|
|
293
347
|
/** @description Human-readable name for an API Key. */
|
|
@@ -339,13 +393,13 @@ export type definitions = {
|
|
|
339
393
|
/** @description The type of Authenticator device. */
|
|
340
394
|
model: string;
|
|
341
395
|
/** @description A User credential that can be used to authenticate to Turnkey. */
|
|
342
|
-
credential: definitions["
|
|
396
|
+
credential: definitions["externaldatav1Credential"];
|
|
343
397
|
/** @description Unique identifier for a given Authenticator. */
|
|
344
398
|
authenticatorId: string;
|
|
345
399
|
/** @description Human-readable name for an Authenticator. */
|
|
346
400
|
authenticatorName: string;
|
|
347
|
-
createdAt: definitions["
|
|
348
|
-
updatedAt: definitions["
|
|
401
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
402
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
349
403
|
};
|
|
350
404
|
v1AuthenticatorAttestationResponse: {
|
|
351
405
|
clientDataJson: string;
|
|
@@ -650,16 +704,49 @@ export type definitions = {
|
|
|
650
704
|
/** @description A list of User IDs. */
|
|
651
705
|
userIds: string[];
|
|
652
706
|
};
|
|
707
|
+
v1CreateWalletAccountsIntent: {
|
|
708
|
+
/** @description Unique identifier for a given Wallet. */
|
|
709
|
+
walletId: string;
|
|
710
|
+
/** @description A list of wallet Accounts. */
|
|
711
|
+
accounts: definitions["v1WalletAccountParams"][];
|
|
712
|
+
};
|
|
713
|
+
v1CreateWalletAccountsRequest: {
|
|
714
|
+
/** @enum {string} */
|
|
715
|
+
type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS";
|
|
716
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
717
|
+
timestampMs: string;
|
|
718
|
+
/** @description Unique identifier for a given Organization. */
|
|
719
|
+
organizationId: string;
|
|
720
|
+
parameters: definitions["v1CreateWalletAccountsIntent"];
|
|
721
|
+
};
|
|
722
|
+
v1CreateWalletAccountsResult: {
|
|
723
|
+
/** @description A list of derived addresses. */
|
|
724
|
+
addresses: string[];
|
|
725
|
+
};
|
|
726
|
+
v1CreateWalletIntent: {
|
|
727
|
+
/** @description Human-readable name for a Wallet. */
|
|
728
|
+
walletName: string;
|
|
729
|
+
/** @description A list of wallet Accounts. */
|
|
730
|
+
accounts: definitions["v1WalletAccountParams"][];
|
|
731
|
+
};
|
|
732
|
+
v1CreateWalletRequest: {
|
|
733
|
+
/** @enum {string} */
|
|
734
|
+
type: "ACTIVITY_TYPE_CREATE_WALLET";
|
|
735
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
736
|
+
timestampMs: string;
|
|
737
|
+
/** @description Unique identifier for a given Organization. */
|
|
738
|
+
organizationId: string;
|
|
739
|
+
parameters: definitions["v1CreateWalletIntent"];
|
|
740
|
+
};
|
|
741
|
+
v1CreateWalletResult: {
|
|
742
|
+
/** @description A list of Wallet IDs. */
|
|
743
|
+
walletId: string;
|
|
744
|
+
/** @description A list of account addresses. */
|
|
745
|
+
addresses: string[];
|
|
746
|
+
};
|
|
653
747
|
v1CredPropsAuthenticationExtensionsClientOutputs: {
|
|
654
748
|
rk: boolean;
|
|
655
749
|
};
|
|
656
|
-
v1Credential: {
|
|
657
|
-
/** @description The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
658
|
-
publicKey: string;
|
|
659
|
-
type: definitions["v1CredentialType"];
|
|
660
|
-
};
|
|
661
|
-
/** @enum {string} */
|
|
662
|
-
v1CredentialType: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256";
|
|
663
750
|
v1DeleteApiKeysIntent: {
|
|
664
751
|
/** @description Unique identifier for a given User. */
|
|
665
752
|
userId: string;
|
|
@@ -784,6 +871,33 @@ export type definitions = {
|
|
|
784
871
|
/** @description Unique identifier for a given Private Key. */
|
|
785
872
|
privateKeyId: string;
|
|
786
873
|
};
|
|
874
|
+
v1ExportPrivateKeyIntent: {
|
|
875
|
+
/** @description Unique identifier for a given Private Key. */
|
|
876
|
+
privateKeyId: string;
|
|
877
|
+
/** @description Client-side public key generated by the user, to which the export bundle will be encrypted. */
|
|
878
|
+
targetPublicKey: string;
|
|
879
|
+
};
|
|
880
|
+
v1ExportPrivateKeyRequest: {
|
|
881
|
+
/** @enum {string} */
|
|
882
|
+
type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY";
|
|
883
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
884
|
+
timestampMs: string;
|
|
885
|
+
/** @description Unique identifier for a given Organization. */
|
|
886
|
+
organizationId: string;
|
|
887
|
+
parameters: definitions["v1ExportPrivateKeyIntent"];
|
|
888
|
+
};
|
|
889
|
+
v1ExportPrivateKeyResult: {
|
|
890
|
+
/** @description Unique identifier for a given Private Key. */
|
|
891
|
+
privateKeyId: string;
|
|
892
|
+
/** @description Export bundle containing a private key encrypted to the client's target public key. */
|
|
893
|
+
exportBundle: string;
|
|
894
|
+
};
|
|
895
|
+
v1Feature: {
|
|
896
|
+
name?: definitions["v1FeatureName"];
|
|
897
|
+
value?: string;
|
|
898
|
+
};
|
|
899
|
+
/** @enum {string} */
|
|
900
|
+
v1FeatureName: "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY";
|
|
787
901
|
v1GetActivitiesRequest: {
|
|
788
902
|
/** @description Unique identifier for a given Organization. */
|
|
789
903
|
organizationId: string;
|
|
@@ -900,8 +1014,25 @@ export type definitions = {
|
|
|
900
1014
|
/** @description Human-readable name for a User. */
|
|
901
1015
|
username: string;
|
|
902
1016
|
};
|
|
903
|
-
|
|
904
|
-
|
|
1017
|
+
v1InitUserEmailRecoveryIntent: {
|
|
1018
|
+
/** @description Email of the user starting recovery */
|
|
1019
|
+
email: string;
|
|
1020
|
+
/** @description Client-side public key generated by the user, to which the recovery bundle will be encrypted. */
|
|
1021
|
+
targetPublicKey: string;
|
|
1022
|
+
};
|
|
1023
|
+
v1InitUserEmailRecoveryRequest: {
|
|
1024
|
+
/** @enum {string} */
|
|
1025
|
+
type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY";
|
|
1026
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1027
|
+
timestampMs: string;
|
|
1028
|
+
/** @description Unique identifier for a given Organization. */
|
|
1029
|
+
organizationId: string;
|
|
1030
|
+
parameters: definitions["v1InitUserEmailRecoveryIntent"];
|
|
1031
|
+
};
|
|
1032
|
+
v1InitUserEmailRecoveryResult: {
|
|
1033
|
+
/** @description Unique identifier for the user being recovered. */
|
|
1034
|
+
userId: string;
|
|
1035
|
+
};
|
|
905
1036
|
v1Intent: {
|
|
906
1037
|
createOrganizationIntent: definitions["v1CreateOrganizationIntent"];
|
|
907
1038
|
createAuthenticatorsIntent?: definitions["v1CreateAuthenticatorsIntent"];
|
|
@@ -947,6 +1078,15 @@ export type definitions = {
|
|
|
947
1078
|
updatePolicyIntent?: definitions["v1UpdatePolicyIntent"];
|
|
948
1079
|
setPaymentMethodIntentV2?: definitions["v1SetPaymentMethodIntentV2"];
|
|
949
1080
|
createSubOrganizationIntentV3?: definitions["v1CreateSubOrganizationIntentV3"];
|
|
1081
|
+
createWalletIntent?: definitions["v1CreateWalletIntent"];
|
|
1082
|
+
createWalletAccountsIntent?: definitions["v1CreateWalletAccountsIntent"];
|
|
1083
|
+
initUserEmailRecoveryIntent?: definitions["v1InitUserEmailRecoveryIntent"];
|
|
1084
|
+
recoverUserIntent?: definitions["v1RecoverUserIntent"];
|
|
1085
|
+
setOrganizationFeatureIntent?: definitions["v1SetOrganizationFeatureIntent"];
|
|
1086
|
+
removeOrganizationFeatureIntent?: definitions["v1RemoveOrganizationFeatureIntent"];
|
|
1087
|
+
signRawPayloadIntentV2?: definitions["v1SignRawPayloadIntentV2"];
|
|
1088
|
+
signTransactionIntentV2?: definitions["v1SignTransactionIntentV2"];
|
|
1089
|
+
exportPrivateKeyIntent?: definitions["v1ExportPrivateKeyIntent"];
|
|
950
1090
|
};
|
|
951
1091
|
v1Invitation: {
|
|
952
1092
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -961,8 +1101,8 @@ export type definitions = {
|
|
|
961
1101
|
accessType: definitions["externaldatav1AccessType"];
|
|
962
1102
|
/** @description The current processing status of a specified Invitation. */
|
|
963
1103
|
status: definitions["v1InvitationStatus"];
|
|
964
|
-
createdAt: definitions["
|
|
965
|
-
updatedAt: definitions["
|
|
1104
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
1105
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
966
1106
|
/** @description Unique identifier for the Sender of an Invitation. */
|
|
967
1107
|
senderUserId: string;
|
|
968
1108
|
};
|
|
@@ -992,8 +1132,9 @@ export type definitions = {
|
|
|
992
1132
|
invitations?: definitions["v1Invitation"][];
|
|
993
1133
|
tags?: definitions["datav1Tag"][];
|
|
994
1134
|
disabledPrivateKeys?: definitions["v1PrivateKey"][];
|
|
995
|
-
rootQuorum?: definitions["
|
|
1135
|
+
rootQuorum?: definitions["externaldatav1Quorum"];
|
|
996
1136
|
allowedOrigins?: string[];
|
|
1137
|
+
features?: definitions["v1Feature"][];
|
|
997
1138
|
};
|
|
998
1139
|
v1Pagination: {
|
|
999
1140
|
/** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
|
|
@@ -1004,7 +1145,7 @@ export type definitions = {
|
|
|
1004
1145
|
after?: string;
|
|
1005
1146
|
};
|
|
1006
1147
|
/** @enum {string} */
|
|
1007
|
-
|
|
1148
|
+
v1PathFormat: "PATH_FORMAT_BIP32";
|
|
1008
1149
|
v1Policy: {
|
|
1009
1150
|
/** @description Unique identifier for a given Policy. */
|
|
1010
1151
|
policyId: string;
|
|
@@ -1014,8 +1155,8 @@ export type definitions = {
|
|
|
1014
1155
|
effect: definitions["externaldatav1Effect"];
|
|
1015
1156
|
/** @description A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details. */
|
|
1016
1157
|
selectors: definitions["externaldatav1Selector"][];
|
|
1017
|
-
createdAt: definitions["
|
|
1018
|
-
updatedAt: definitions["
|
|
1158
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
1159
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
1019
1160
|
/** @description Human-readable notes added by a User to describe a particular policy. */
|
|
1020
1161
|
notes: string;
|
|
1021
1162
|
/** @description A consensus expression that evalutes to true or false. */
|
|
@@ -1036,17 +1177,17 @@ export type definitions = {
|
|
|
1036
1177
|
addresses: definitions["externaldatav1Address"][];
|
|
1037
1178
|
/** @description A list of Private Key Tag IDs. */
|
|
1038
1179
|
privateKeyTags: string[];
|
|
1039
|
-
createdAt: definitions["
|
|
1180
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
1040
1181
|
};
|
|
1041
1182
|
v1PrivateKeyParams: {
|
|
1042
1183
|
/** @description Human-readable name for a Private Key. */
|
|
1043
1184
|
privateKeyName: string;
|
|
1044
1185
|
/** @description Cryptographic Curve used to generate a given Private Key. */
|
|
1045
|
-
curve: definitions["
|
|
1186
|
+
curve: definitions["immutablecommonv1Curve"];
|
|
1046
1187
|
/** @description A list of Private Key Tag IDs. */
|
|
1047
1188
|
privateKeyTags: string[];
|
|
1048
1189
|
/** @description Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */
|
|
1049
|
-
addressFormats: definitions["
|
|
1190
|
+
addressFormats: definitions["immutablecommonv1AddressFormat"][];
|
|
1050
1191
|
};
|
|
1051
1192
|
v1PrivateKeyResult: {
|
|
1052
1193
|
privateKeyId?: string;
|
|
@@ -1062,14 +1203,15 @@ export type definitions = {
|
|
|
1062
1203
|
response: definitions["v1AuthenticatorAttestationResponse"];
|
|
1063
1204
|
clientExtensionResults: definitions["v1SimpleClientExtensionResults"];
|
|
1064
1205
|
};
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1206
|
+
v1RecoverUserIntent: {
|
|
1207
|
+
/** @description The new authenticator to register. */
|
|
1208
|
+
authenticator: definitions["v1AuthenticatorParamsV2"];
|
|
1209
|
+
/** @description Unique identifier for the user performing recovery. */
|
|
1210
|
+
userId: string;
|
|
1211
|
+
};
|
|
1212
|
+
v1RecoverUserResult: {
|
|
1213
|
+
/** @description ID of the authenticator created. */
|
|
1214
|
+
authenticatorId: string[];
|
|
1073
1215
|
};
|
|
1074
1216
|
v1RejectActivityIntent: {
|
|
1075
1217
|
/** @description An artifact verifying a User's action. */
|
|
@@ -1084,6 +1226,23 @@ export type definitions = {
|
|
|
1084
1226
|
organizationId: string;
|
|
1085
1227
|
parameters: definitions["v1RejectActivityIntent"];
|
|
1086
1228
|
};
|
|
1229
|
+
v1RemoveOrganizationFeatureIntent: {
|
|
1230
|
+
/** @description Name of the feature to remove */
|
|
1231
|
+
name: definitions["v1FeatureName"];
|
|
1232
|
+
};
|
|
1233
|
+
v1RemoveOrganizationFeatureRequest: {
|
|
1234
|
+
/** @enum {string} */
|
|
1235
|
+
type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE";
|
|
1236
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1237
|
+
timestampMs: string;
|
|
1238
|
+
/** @description Unique identifier for a given Organization. */
|
|
1239
|
+
organizationId: string;
|
|
1240
|
+
parameters: definitions["v1RemoveOrganizationFeatureIntent"];
|
|
1241
|
+
};
|
|
1242
|
+
v1RemoveOrganizationFeatureResult: {
|
|
1243
|
+
/** @description Resulting list of organization features. */
|
|
1244
|
+
features: definitions["v1Feature"][];
|
|
1245
|
+
};
|
|
1087
1246
|
v1Result: {
|
|
1088
1247
|
createOrganizationResult?: definitions["v1CreateOrganizationResult"];
|
|
1089
1248
|
createAuthenticatorsResult?: definitions["v1CreateAuthenticatorsResult"];
|
|
@@ -1119,6 +1278,13 @@ export type definitions = {
|
|
|
1119
1278
|
updateUserResult?: definitions["v1UpdateUserResult"];
|
|
1120
1279
|
updatePolicyResult?: definitions["v1UpdatePolicyResult"];
|
|
1121
1280
|
createSubOrganizationResultV3?: definitions["v1CreateSubOrganizationResultV3"];
|
|
1281
|
+
createWalletResult?: definitions["v1CreateWalletResult"];
|
|
1282
|
+
createWalletAccountsResult?: definitions["v1CreateWalletAccountsResult"];
|
|
1283
|
+
initUserEmailRecoveryResult?: definitions["v1InitUserEmailRecoveryResult"];
|
|
1284
|
+
recoverUserResult?: definitions["v1RecoverUserResult"];
|
|
1285
|
+
setOrganizationFeatureResult?: definitions["v1SetOrganizationFeatureResult"];
|
|
1286
|
+
removeOrganizationFeatureResult?: definitions["v1RemoveOrganizationFeatureResult"];
|
|
1287
|
+
exportPrivateKeyResult?: definitions["v1ExportPrivateKeyResult"];
|
|
1122
1288
|
};
|
|
1123
1289
|
v1RootUserParams: {
|
|
1124
1290
|
/** @description Human-readable name for a User. */
|
|
@@ -1135,6 +1301,25 @@ export type definitions = {
|
|
|
1135
1301
|
operator?: definitions["immutableactivityv1Operator"];
|
|
1136
1302
|
targets?: string[];
|
|
1137
1303
|
};
|
|
1304
|
+
v1SetOrganizationFeatureIntent: {
|
|
1305
|
+
/** @description Name of the feature to set */
|
|
1306
|
+
name: definitions["v1FeatureName"];
|
|
1307
|
+
/** @description Optional value for the feature. Will override existing values if feature is already set. */
|
|
1308
|
+
value: string;
|
|
1309
|
+
};
|
|
1310
|
+
v1SetOrganizationFeatureRequest: {
|
|
1311
|
+
/** @enum {string} */
|
|
1312
|
+
type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE";
|
|
1313
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1314
|
+
timestampMs: string;
|
|
1315
|
+
/** @description Unique identifier for a given Organization. */
|
|
1316
|
+
organizationId: string;
|
|
1317
|
+
parameters: definitions["v1SetOrganizationFeatureIntent"];
|
|
1318
|
+
};
|
|
1319
|
+
v1SetOrganizationFeatureResult: {
|
|
1320
|
+
/** @description Resulting list of organization features. */
|
|
1321
|
+
features: definitions["v1Feature"][];
|
|
1322
|
+
};
|
|
1138
1323
|
v1SetPaymentMethodIntent: {
|
|
1139
1324
|
/** @description The account number of the customer's credit card. */
|
|
1140
1325
|
number: string;
|
|
@@ -1171,9 +1356,19 @@ export type definitions = {
|
|
|
1171
1356
|
/** @description Raw unsigned payload to be signed. */
|
|
1172
1357
|
payload: string;
|
|
1173
1358
|
/** @description Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8). */
|
|
1174
|
-
encoding: definitions["
|
|
1359
|
+
encoding: definitions["immutableactivityv1PayloadEncoding"];
|
|
1175
1360
|
/** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
1176
|
-
hashFunction: definitions["
|
|
1361
|
+
hashFunction: definitions["immutableactivityv1HashFunction"];
|
|
1362
|
+
};
|
|
1363
|
+
v1SignRawPayloadIntentV2: {
|
|
1364
|
+
/** @description The Private Key identifier or address. */
|
|
1365
|
+
signWith: string;
|
|
1366
|
+
/** @description Raw unsigned payload to be signed. */
|
|
1367
|
+
payload: string;
|
|
1368
|
+
/** @description Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8). */
|
|
1369
|
+
encoding: definitions["immutableactivityv1PayloadEncoding"];
|
|
1370
|
+
/** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
1371
|
+
hashFunction: definitions["immutableactivityv1HashFunction"];
|
|
1177
1372
|
};
|
|
1178
1373
|
v1SignRawPayloadRequest: {
|
|
1179
1374
|
/** @enum {string} */
|
|
@@ -1192,12 +1387,28 @@ export type definitions = {
|
|
|
1192
1387
|
/** @description Component of an ECSDA signature. */
|
|
1193
1388
|
v: string;
|
|
1194
1389
|
};
|
|
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
|
+
};
|
|
1195
1399
|
v1SignTransactionIntent: {
|
|
1196
1400
|
/** @description Unique identifier for a given Private Key. */
|
|
1197
1401
|
privateKeyId: string;
|
|
1198
1402
|
/** @description Raw unsigned transaction to be signed by a particular Private Key. */
|
|
1199
1403
|
unsignedTransaction: string;
|
|
1200
|
-
type: definitions["
|
|
1404
|
+
type: definitions["v1TransactionType"];
|
|
1405
|
+
};
|
|
1406
|
+
v1SignTransactionIntentV2: {
|
|
1407
|
+
/** @description The Private Key identifier or address. */
|
|
1408
|
+
signWith: string;
|
|
1409
|
+
/** @description Raw unsigned transaction to be signed */
|
|
1410
|
+
unsignedTransaction: string;
|
|
1411
|
+
type: definitions["v1TransactionType"];
|
|
1201
1412
|
};
|
|
1202
1413
|
v1SignTransactionRequest: {
|
|
1203
1414
|
/** @enum {string} */
|
|
@@ -1211,6 +1422,15 @@ export type definitions = {
|
|
|
1211
1422
|
v1SignTransactionResult: {
|
|
1212
1423
|
signedTransaction: string;
|
|
1213
1424
|
};
|
|
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
|
+
};
|
|
1214
1434
|
v1SimpleClientExtensionResults: {
|
|
1215
1435
|
appid?: boolean;
|
|
1216
1436
|
appidExclude?: boolean;
|
|
@@ -1218,10 +1438,8 @@ export type definitions = {
|
|
|
1218
1438
|
};
|
|
1219
1439
|
/** @enum {string} */
|
|
1220
1440
|
v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
nanos: string;
|
|
1224
|
-
};
|
|
1441
|
+
/** @enum {string} */
|
|
1442
|
+
v1TransactionType: "TRANSACTION_TYPE_ETHEREUM";
|
|
1225
1443
|
v1UpdateAllowedOriginsIntent: {
|
|
1226
1444
|
/** @description Additional origins requests are allowed from besides Turnkey origins */
|
|
1227
1445
|
allowedOrigins: string[];
|
|
@@ -1370,8 +1588,8 @@ export type definitions = {
|
|
|
1370
1588
|
apiKeys: definitions["v1ApiKey"][];
|
|
1371
1589
|
/** @description A list of User Tag IDs. */
|
|
1372
1590
|
userTags: string[];
|
|
1373
|
-
createdAt: definitions["
|
|
1374
|
-
updatedAt: definitions["
|
|
1591
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
1592
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
1375
1593
|
};
|
|
1376
1594
|
v1UserParams: {
|
|
1377
1595
|
/** @description Human-readable name for a User. */
|
|
@@ -1420,7 +1638,17 @@ export type definitions = {
|
|
|
1420
1638
|
signature: string;
|
|
1421
1639
|
/** @description Method used to produce a signature. */
|
|
1422
1640
|
scheme: string;
|
|
1423
|
-
createdAt: definitions["
|
|
1641
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
1642
|
+
};
|
|
1643
|
+
v1WalletAccountParams: {
|
|
1644
|
+
/** @description Cryptographic curve used to generate a wallet Account. */
|
|
1645
|
+
curve: definitions["immutablecommonv1Curve"];
|
|
1646
|
+
/** @description Path format used to generate a wallet Account. */
|
|
1647
|
+
pathFormat: definitions["v1PathFormat"];
|
|
1648
|
+
/** @description Path used to generate a wallet Account. */
|
|
1649
|
+
path: string;
|
|
1650
|
+
/** @description Address format used to generate a wallet Acccount. */
|
|
1651
|
+
addressFormat: definitions["immutablecommonv1AddressFormat"];
|
|
1424
1652
|
};
|
|
1425
1653
|
v1WebAuthnStamp: {
|
|
1426
1654
|
/** @description A base64 url encoded Unique identifier for a given credential. */
|
|
@@ -1848,6 +2076,42 @@ export type operations = {
|
|
|
1848
2076
|
};
|
|
1849
2077
|
};
|
|
1850
2078
|
};
|
|
2079
|
+
/** Create a Wallet */
|
|
2080
|
+
PublicApiService_CreateWallet: {
|
|
2081
|
+
parameters: {
|
|
2082
|
+
body: {
|
|
2083
|
+
body: definitions["v1CreateWalletRequest"];
|
|
2084
|
+
};
|
|
2085
|
+
};
|
|
2086
|
+
responses: {
|
|
2087
|
+
/** A successful response. */
|
|
2088
|
+
200: {
|
|
2089
|
+
schema: definitions["v1ActivityResponse"];
|
|
2090
|
+
};
|
|
2091
|
+
/** An unexpected error response. */
|
|
2092
|
+
default: {
|
|
2093
|
+
schema: definitions["rpcStatus"];
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
/** Create Wallet accounts */
|
|
2098
|
+
PublicApiService_CreateWalletAccounts: {
|
|
2099
|
+
parameters: {
|
|
2100
|
+
body: {
|
|
2101
|
+
body: definitions["v1CreateWalletAccountsRequest"];
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
responses: {
|
|
2105
|
+
/** A successful response. */
|
|
2106
|
+
200: {
|
|
2107
|
+
schema: definitions["v1ActivityResponse"];
|
|
2108
|
+
};
|
|
2109
|
+
/** An unexpected error response. */
|
|
2110
|
+
default: {
|
|
2111
|
+
schema: definitions["rpcStatus"];
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
1851
2115
|
/** Remove api keys from a User */
|
|
1852
2116
|
PublicApiService_DeleteApiKeys: {
|
|
1853
2117
|
parameters: {
|
|
@@ -1920,6 +2184,42 @@ export type operations = {
|
|
|
1920
2184
|
};
|
|
1921
2185
|
};
|
|
1922
2186
|
};
|
|
2187
|
+
/** Exports a Private Key */
|
|
2188
|
+
PublicApiService_ExportPrivateKey: {
|
|
2189
|
+
parameters: {
|
|
2190
|
+
body: {
|
|
2191
|
+
body: definitions["v1ExportPrivateKeyRequest"];
|
|
2192
|
+
};
|
|
2193
|
+
};
|
|
2194
|
+
responses: {
|
|
2195
|
+
/** A successful response. */
|
|
2196
|
+
200: {
|
|
2197
|
+
schema: definitions["v1ActivityResponse"];
|
|
2198
|
+
};
|
|
2199
|
+
/** An unexpected error response. */
|
|
2200
|
+
default: {
|
|
2201
|
+
schema: definitions["rpcStatus"];
|
|
2202
|
+
};
|
|
2203
|
+
};
|
|
2204
|
+
};
|
|
2205
|
+
/** Initializes a new recovery */
|
|
2206
|
+
PublicApiService_InitUserEmailRecovery: {
|
|
2207
|
+
parameters: {
|
|
2208
|
+
body: {
|
|
2209
|
+
body: definitions["v1InitUserEmailRecoveryRequest"];
|
|
2210
|
+
};
|
|
2211
|
+
};
|
|
2212
|
+
responses: {
|
|
2213
|
+
/** A successful response. */
|
|
2214
|
+
200: {
|
|
2215
|
+
schema: definitions["v1ActivityResponse"];
|
|
2216
|
+
};
|
|
2217
|
+
/** An unexpected error response. */
|
|
2218
|
+
default: {
|
|
2219
|
+
schema: definitions["rpcStatus"];
|
|
2220
|
+
};
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
1923
2223
|
/** Reject an Activity */
|
|
1924
2224
|
PublicApiService_RejectActivity: {
|
|
1925
2225
|
parameters: {
|
|
@@ -1938,6 +2238,42 @@ export type operations = {
|
|
|
1938
2238
|
};
|
|
1939
2239
|
};
|
|
1940
2240
|
};
|
|
2241
|
+
/** Removes an organization feature */
|
|
2242
|
+
PublicApiService_RemoveOrganizationFeature: {
|
|
2243
|
+
parameters: {
|
|
2244
|
+
body: {
|
|
2245
|
+
body: definitions["v1RemoveOrganizationFeatureRequest"];
|
|
2246
|
+
};
|
|
2247
|
+
};
|
|
2248
|
+
responses: {
|
|
2249
|
+
/** A successful response. */
|
|
2250
|
+
200: {
|
|
2251
|
+
schema: definitions["v1ActivityResponse"];
|
|
2252
|
+
};
|
|
2253
|
+
/** An unexpected error response. */
|
|
2254
|
+
default: {
|
|
2255
|
+
schema: definitions["rpcStatus"];
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
/** Sets an organization feature */
|
|
2260
|
+
PublicApiService_SetOrganizationFeature: {
|
|
2261
|
+
parameters: {
|
|
2262
|
+
body: {
|
|
2263
|
+
body: definitions["v1SetOrganizationFeatureRequest"];
|
|
2264
|
+
};
|
|
2265
|
+
};
|
|
2266
|
+
responses: {
|
|
2267
|
+
/** A successful response. */
|
|
2268
|
+
200: {
|
|
2269
|
+
schema: definitions["v1ActivityResponse"];
|
|
2270
|
+
};
|
|
2271
|
+
/** An unexpected error response. */
|
|
2272
|
+
default: {
|
|
2273
|
+
schema: definitions["rpcStatus"];
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
1941
2277
|
/** Sign a raw payload with a Private Key */
|
|
1942
2278
|
PublicApiService_SignRawPayload: {
|
|
1943
2279
|
parameters: {
|
|
@@ -1956,6 +2292,24 @@ export type operations = {
|
|
|
1956
2292
|
};
|
|
1957
2293
|
};
|
|
1958
2294
|
};
|
|
2295
|
+
/** Sign a raw payload with a Private Key id or address */
|
|
2296
|
+
PublicApiService_SignRawPayloadV2: {
|
|
2297
|
+
parameters: {
|
|
2298
|
+
body: {
|
|
2299
|
+
body: definitions["v1SignRawPayloadV2Request"];
|
|
2300
|
+
};
|
|
2301
|
+
};
|
|
2302
|
+
responses: {
|
|
2303
|
+
/** A successful response. */
|
|
2304
|
+
200: {
|
|
2305
|
+
schema: definitions["v1ActivityResponse"];
|
|
2306
|
+
};
|
|
2307
|
+
/** An unexpected error response. */
|
|
2308
|
+
default: {
|
|
2309
|
+
schema: definitions["rpcStatus"];
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
1959
2313
|
/** Sign a transaction with a Private Key */
|
|
1960
2314
|
PublicApiService_SignTransaction: {
|
|
1961
2315
|
parameters: {
|
|
@@ -1974,6 +2328,24 @@ export type operations = {
|
|
|
1974
2328
|
};
|
|
1975
2329
|
};
|
|
1976
2330
|
};
|
|
2331
|
+
/** Sign a transaction with a Private Key id or address */
|
|
2332
|
+
PublicApiService_SignTransactionV2: {
|
|
2333
|
+
parameters: {
|
|
2334
|
+
body: {
|
|
2335
|
+
body: definitions["v1SignTransactionV2Request"];
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
responses: {
|
|
2339
|
+
/** A successful response. */
|
|
2340
|
+
200: {
|
|
2341
|
+
schema: definitions["v1ActivityResponse"];
|
|
2342
|
+
};
|
|
2343
|
+
/** An unexpected error response. */
|
|
2344
|
+
default: {
|
|
2345
|
+
schema: definitions["rpcStatus"];
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
1977
2349
|
/** Update the allowable origins for credentials and requests */
|
|
1978
2350
|
PublicApiService_UpdateAllowedOrigins: {
|
|
1979
2351
|
parameters: {
|