@turnkey/sdk-types 0.8.0 → 0.10.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__/types.d.ts +375 -62
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +383 -49
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -31,10 +31,18 @@ export type paths = {
|
|
|
31
31
|
/** Get the boot proof for a given ephemeral key. */
|
|
32
32
|
post: operations["PublicApiService_GetBootProof"];
|
|
33
33
|
};
|
|
34
|
+
"/public/v1/query/get_gas_usage": {
|
|
35
|
+
/** Get gas usage and gas limits for either the parent organization or a sub-organization. */
|
|
36
|
+
post: operations["PublicApiService_GetGasUsage"];
|
|
37
|
+
};
|
|
34
38
|
"/public/v1/query/get_latest_boot_proof": {
|
|
35
39
|
/** Get the latest boot proof for a given enclave app name. */
|
|
36
40
|
post: operations["PublicApiService_GetLatestBootProof"];
|
|
37
41
|
};
|
|
42
|
+
"/public/v1/query/get_nonces": {
|
|
43
|
+
/** Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions. */
|
|
44
|
+
post: operations["PublicApiService_GetNonces"];
|
|
45
|
+
};
|
|
38
46
|
"/public/v1/query/get_oauth2_credential": {
|
|
39
47
|
/** Get details about an OAuth 2.0 credential. */
|
|
40
48
|
post: operations["PublicApiService_GetOauth2Credential"];
|
|
@@ -67,6 +75,10 @@ export type paths = {
|
|
|
67
75
|
/** Get details about a private key. */
|
|
68
76
|
post: operations["PublicApiService_GetPrivateKey"];
|
|
69
77
|
};
|
|
78
|
+
"/public/v1/query/get_send_transaction_status": {
|
|
79
|
+
/** Get the status of a send transaction request. */
|
|
80
|
+
post: operations["PublicApiService_GetSendTransactionStatus"];
|
|
81
|
+
};
|
|
70
82
|
"/public/v1/query/get_smart_contract_interface": {
|
|
71
83
|
/** Get details about a smart contract interface. */
|
|
72
84
|
post: operations["PublicApiService_GetSmartContractInterface"];
|
|
@@ -546,6 +558,26 @@ export type definitions = {
|
|
|
546
558
|
/** @description Unique identifiers of quorum set members. */
|
|
547
559
|
userIds: string[];
|
|
548
560
|
};
|
|
561
|
+
/** @enum {string} */
|
|
562
|
+
externaldatav1SignatureScheme: "SIGNATURE_SCHEME_EPHEMERAL_KEY_P256";
|
|
563
|
+
externaldatav1SmartContractInterface: {
|
|
564
|
+
/** @description The Organization the Smart Contract Interface belongs to. */
|
|
565
|
+
organizationId: string;
|
|
566
|
+
/** @description Unique identifier for a given Smart Contract Interface (ABI or IDL). */
|
|
567
|
+
smartContractInterfaceId: string;
|
|
568
|
+
/** @description The address corresponding to the Smart Contract or Program. */
|
|
569
|
+
smartContractAddress: string;
|
|
570
|
+
/** @description The JSON corresponding to the Smart Contract Interface (ABI or IDL). */
|
|
571
|
+
smartContractInterface: string;
|
|
572
|
+
/** @description The type corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
|
|
573
|
+
type: string;
|
|
574
|
+
/** @description The label corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
|
|
575
|
+
label: string;
|
|
576
|
+
/** @description The notes corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
|
|
577
|
+
notes: string;
|
|
578
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
579
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
580
|
+
};
|
|
549
581
|
externaldatav1Timestamp: {
|
|
550
582
|
seconds: string;
|
|
551
583
|
nanos: string;
|
|
@@ -626,7 +658,7 @@ export type definitions = {
|
|
|
626
658
|
/** @enum {string} */
|
|
627
659
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
628
660
|
/** @enum {string} */
|
|
629
|
-
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" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL";
|
|
661
|
+
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" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2";
|
|
630
662
|
/** @enum {string} */
|
|
631
663
|
v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP";
|
|
632
664
|
v1ApiKey: {
|
|
@@ -668,7 +700,7 @@ export type definitions = {
|
|
|
668
700
|
};
|
|
669
701
|
v1AppProof: {
|
|
670
702
|
/** @description Scheme of signing key. */
|
|
671
|
-
scheme: definitions["
|
|
703
|
+
scheme: definitions["externaldatav1SignatureScheme"];
|
|
672
704
|
/** @description Ephemeral public key. */
|
|
673
705
|
publicKey: string;
|
|
674
706
|
/** @description JSON serialized AppProofPayload. */
|
|
@@ -688,6 +720,7 @@ export type definitions = {
|
|
|
688
720
|
/** @description Unique identifier for a given Organization. */
|
|
689
721
|
organizationId: string;
|
|
690
722
|
parameters: definitions["v1ApproveActivityIntent"];
|
|
723
|
+
generateAppProofs?: boolean;
|
|
691
724
|
};
|
|
692
725
|
v1Attestation: {
|
|
693
726
|
/** @description The cbor encoded then base64 url encoded id of the credential. */
|
|
@@ -764,6 +797,18 @@ export type definitions = {
|
|
|
764
797
|
v1BootProofResponse: {
|
|
765
798
|
bootProof: definitions["v1BootProof"];
|
|
766
799
|
};
|
|
800
|
+
v1ClientSignature: {
|
|
801
|
+
/** @description The public component of a cryptographic key pair used to create the signature. */
|
|
802
|
+
publicKey: string;
|
|
803
|
+
/** @description The signature scheme used to generate the client signature. */
|
|
804
|
+
scheme: definitions["v1ClientSignatureScheme"];
|
|
805
|
+
/** @description The message that was signed. */
|
|
806
|
+
message: string;
|
|
807
|
+
/** @description The cryptographic signature over the message. */
|
|
808
|
+
signature: string;
|
|
809
|
+
};
|
|
810
|
+
/** @enum {string} */
|
|
811
|
+
v1ClientSignatureScheme: "CLIENT_SIGNATURE_SCHEME_API_P256";
|
|
767
812
|
v1Config: {
|
|
768
813
|
features?: definitions["v1Feature"][];
|
|
769
814
|
quorum?: definitions["externaldatav1Quorum"];
|
|
@@ -788,6 +833,7 @@ export type definitions = {
|
|
|
788
833
|
/** @description Unique identifier for a given Organization. */
|
|
789
834
|
organizationId: string;
|
|
790
835
|
parameters: definitions["v1CreateApiKeysIntentV2"];
|
|
836
|
+
generateAppProofs?: boolean;
|
|
791
837
|
};
|
|
792
838
|
v1CreateApiKeysResult: {
|
|
793
839
|
/** @description A list of API Key IDs. */
|
|
@@ -805,6 +851,7 @@ export type definitions = {
|
|
|
805
851
|
/** @description Unique identifier for a given Organization. */
|
|
806
852
|
organizationId: string;
|
|
807
853
|
parameters: definitions["v1CreateApiOnlyUsersIntent"];
|
|
854
|
+
generateAppProofs?: boolean;
|
|
808
855
|
};
|
|
809
856
|
v1CreateApiOnlyUsersResult: {
|
|
810
857
|
/** @description A list of API-only User IDs. */
|
|
@@ -830,6 +877,7 @@ export type definitions = {
|
|
|
830
877
|
/** @description Unique identifier for a given Organization. */
|
|
831
878
|
organizationId: string;
|
|
832
879
|
parameters: definitions["v1CreateAuthenticatorsIntentV2"];
|
|
880
|
+
generateAppProofs?: boolean;
|
|
833
881
|
};
|
|
834
882
|
v1CreateAuthenticatorsResult: {
|
|
835
883
|
/** @description A list of Authenticator IDs. */
|
|
@@ -857,6 +905,7 @@ export type definitions = {
|
|
|
857
905
|
/** @description Unique identifier for a given Organization. */
|
|
858
906
|
organizationId: string;
|
|
859
907
|
parameters: definitions["v1CreateFiatOnRampCredentialIntent"];
|
|
908
|
+
generateAppProofs?: boolean;
|
|
860
909
|
};
|
|
861
910
|
v1CreateFiatOnRampCredentialResult: {
|
|
862
911
|
/** @description Unique identifier of the Fiat On-Ramp credential that was created */
|
|
@@ -874,6 +923,7 @@ export type definitions = {
|
|
|
874
923
|
/** @description Unique identifier for a given Organization. */
|
|
875
924
|
organizationId: string;
|
|
876
925
|
parameters: definitions["v1CreateInvitationsIntent"];
|
|
926
|
+
generateAppProofs?: boolean;
|
|
877
927
|
};
|
|
878
928
|
v1CreateInvitationsResult: {
|
|
879
929
|
/** @description A list of Invitation IDs */
|
|
@@ -895,6 +945,7 @@ export type definitions = {
|
|
|
895
945
|
/** @description Unique identifier for a given Organization. */
|
|
896
946
|
organizationId: string;
|
|
897
947
|
parameters: definitions["v1CreateOauth2CredentialIntent"];
|
|
948
|
+
generateAppProofs?: boolean;
|
|
898
949
|
};
|
|
899
950
|
v1CreateOauth2CredentialResult: {
|
|
900
951
|
/** @description Unique identifier of the OAuth 2.0 credential that was created */
|
|
@@ -914,6 +965,7 @@ export type definitions = {
|
|
|
914
965
|
/** @description Unique identifier for a given Organization. */
|
|
915
966
|
organizationId: string;
|
|
916
967
|
parameters: definitions["v1CreateOauthProvidersIntent"];
|
|
968
|
+
generateAppProofs?: boolean;
|
|
917
969
|
};
|
|
918
970
|
v1CreateOauthProvidersResult: {
|
|
919
971
|
/** @description A list of unique identifiers for Oauth Providers */
|
|
@@ -955,6 +1007,7 @@ export type definitions = {
|
|
|
955
1007
|
/** @description Unique identifier for a given Organization. */
|
|
956
1008
|
organizationId: string;
|
|
957
1009
|
parameters: definitions["v1CreatePoliciesIntent"];
|
|
1010
|
+
generateAppProofs?: boolean;
|
|
958
1011
|
};
|
|
959
1012
|
v1CreatePoliciesResult: {
|
|
960
1013
|
/** @description A list of unique identifiers for the created policies. */
|
|
@@ -997,6 +1050,7 @@ export type definitions = {
|
|
|
997
1050
|
/** @description Unique identifier for a given Organization. */
|
|
998
1051
|
organizationId: string;
|
|
999
1052
|
parameters: definitions["v1CreatePolicyIntentV3"];
|
|
1053
|
+
generateAppProofs?: boolean;
|
|
1000
1054
|
};
|
|
1001
1055
|
v1CreatePolicyResult: {
|
|
1002
1056
|
/** @description Unique identifier for a given Policy. */
|
|
@@ -1016,6 +1070,7 @@ export type definitions = {
|
|
|
1016
1070
|
/** @description Unique identifier for a given Organization. */
|
|
1017
1071
|
organizationId: string;
|
|
1018
1072
|
parameters: definitions["v1CreatePrivateKeyTagIntent"];
|
|
1073
|
+
generateAppProofs?: boolean;
|
|
1019
1074
|
};
|
|
1020
1075
|
v1CreatePrivateKeyTagResult: {
|
|
1021
1076
|
/** @description Unique identifier for a given Private Key Tag. */
|
|
@@ -1039,6 +1094,7 @@ export type definitions = {
|
|
|
1039
1094
|
/** @description Unique identifier for a given Organization. */
|
|
1040
1095
|
organizationId: string;
|
|
1041
1096
|
parameters: definitions["v1CreatePrivateKeysIntentV2"];
|
|
1097
|
+
generateAppProofs?: boolean;
|
|
1042
1098
|
};
|
|
1043
1099
|
v1CreatePrivateKeysResult: {
|
|
1044
1100
|
/** @description A list of Private Key IDs. */
|
|
@@ -1059,6 +1115,7 @@ export type definitions = {
|
|
|
1059
1115
|
/** @description Unique identifier for a given Organization. */
|
|
1060
1116
|
organizationId: string;
|
|
1061
1117
|
parameters: definitions["v1CreateReadOnlySessionIntent"];
|
|
1118
|
+
generateAppProofs?: boolean;
|
|
1062
1119
|
};
|
|
1063
1120
|
v1CreateReadOnlySessionResult: {
|
|
1064
1121
|
/** @description Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons. */
|
|
@@ -1107,6 +1164,7 @@ export type definitions = {
|
|
|
1107
1164
|
/** @description Unique identifier for a given Organization. */
|
|
1108
1165
|
organizationId: string;
|
|
1109
1166
|
parameters: definitions["v1CreateReadWriteSessionIntentV2"];
|
|
1167
|
+
generateAppProofs?: boolean;
|
|
1110
1168
|
};
|
|
1111
1169
|
v1CreateReadWriteSessionResult: {
|
|
1112
1170
|
/** @description Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons. */
|
|
@@ -1139,7 +1197,7 @@ export type definitions = {
|
|
|
1139
1197
|
v1CreateSmartContractInterfaceIntent: {
|
|
1140
1198
|
/** @description Corresponding contract address or program ID */
|
|
1141
1199
|
smartContractAddress: string;
|
|
1142
|
-
/** @description ABI/IDL as a JSON string */
|
|
1200
|
+
/** @description ABI/IDL as a JSON string. Limited to 400kb */
|
|
1143
1201
|
smartContractInterface: string;
|
|
1144
1202
|
type: definitions["v1SmartContractInterfaceType"];
|
|
1145
1203
|
/** @description Human-readable name for a Smart Contract Interface. */
|
|
@@ -1155,6 +1213,7 @@ export type definitions = {
|
|
|
1155
1213
|
/** @description Unique identifier for a given Organization. */
|
|
1156
1214
|
organizationId: string;
|
|
1157
1215
|
parameters: definitions["v1CreateSmartContractInterfaceIntent"];
|
|
1216
|
+
generateAppProofs?: boolean;
|
|
1158
1217
|
};
|
|
1159
1218
|
v1CreateSmartContractInterfaceResult: {
|
|
1160
1219
|
/** @description The ID of the created Smart Contract Interface. */
|
|
@@ -1263,6 +1322,8 @@ export type definitions = {
|
|
|
1263
1322
|
disableOtpEmailAuth?: boolean;
|
|
1264
1323
|
/** @description Signed JWT containing a unique id, expiry, verification type, contact */
|
|
1265
1324
|
verificationToken?: string;
|
|
1325
|
+
/** @description Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
1326
|
+
clientSignature?: definitions["v1ClientSignature"];
|
|
1266
1327
|
};
|
|
1267
1328
|
v1CreateSubOrganizationRequest: {
|
|
1268
1329
|
/** @enum {string} */
|
|
@@ -1272,6 +1333,7 @@ export type definitions = {
|
|
|
1272
1333
|
/** @description Unique identifier for a given Organization. */
|
|
1273
1334
|
organizationId: string;
|
|
1274
1335
|
parameters: definitions["v1CreateSubOrganizationIntentV7"];
|
|
1336
|
+
generateAppProofs?: boolean;
|
|
1275
1337
|
};
|
|
1276
1338
|
v1CreateSubOrganizationResult: {
|
|
1277
1339
|
subOrganizationId: string;
|
|
@@ -1317,6 +1379,7 @@ export type definitions = {
|
|
|
1317
1379
|
/** @description Unique identifier for a given Organization. */
|
|
1318
1380
|
organizationId: string;
|
|
1319
1381
|
parameters: definitions["v1CreateUserTagIntent"];
|
|
1382
|
+
generateAppProofs?: boolean;
|
|
1320
1383
|
};
|
|
1321
1384
|
v1CreateUserTagResult: {
|
|
1322
1385
|
/** @description Unique identifier for a given User Tag. */
|
|
@@ -1344,6 +1407,7 @@ export type definitions = {
|
|
|
1344
1407
|
/** @description Unique identifier for a given Organization. */
|
|
1345
1408
|
organizationId: string;
|
|
1346
1409
|
parameters: definitions["v1CreateUsersIntentV3"];
|
|
1410
|
+
generateAppProofs?: boolean;
|
|
1347
1411
|
};
|
|
1348
1412
|
v1CreateUsersResult: {
|
|
1349
1413
|
/** @description A list of User IDs. */
|
|
@@ -1365,6 +1429,7 @@ export type definitions = {
|
|
|
1365
1429
|
/** @description Unique identifier for a given Organization. */
|
|
1366
1430
|
organizationId: string;
|
|
1367
1431
|
parameters: definitions["v1CreateWalletAccountsIntent"];
|
|
1432
|
+
generateAppProofs?: boolean;
|
|
1368
1433
|
};
|
|
1369
1434
|
v1CreateWalletAccountsResult: {
|
|
1370
1435
|
/** @description A list of derived addresses. */
|
|
@@ -1389,6 +1454,7 @@ export type definitions = {
|
|
|
1389
1454
|
/** @description Unique identifier for a given Organization. */
|
|
1390
1455
|
organizationId: string;
|
|
1391
1456
|
parameters: definitions["v1CreateWalletIntent"];
|
|
1457
|
+
generateAppProofs?: boolean;
|
|
1392
1458
|
};
|
|
1393
1459
|
v1CreateWalletResult: {
|
|
1394
1460
|
/** @description Unique identifier for a Wallet. */
|
|
@@ -1417,6 +1483,7 @@ export type definitions = {
|
|
|
1417
1483
|
/** @description Unique identifier for a given Organization. */
|
|
1418
1484
|
organizationId: string;
|
|
1419
1485
|
parameters: definitions["v1DeleteApiKeysIntent"];
|
|
1486
|
+
generateAppProofs?: boolean;
|
|
1420
1487
|
};
|
|
1421
1488
|
v1DeleteApiKeysResult: {
|
|
1422
1489
|
/** @description A list of API Key IDs. */
|
|
@@ -1436,6 +1503,7 @@ export type definitions = {
|
|
|
1436
1503
|
/** @description Unique identifier for a given Organization. */
|
|
1437
1504
|
organizationId: string;
|
|
1438
1505
|
parameters: definitions["v1DeleteAuthenticatorsIntent"];
|
|
1506
|
+
generateAppProofs?: boolean;
|
|
1439
1507
|
};
|
|
1440
1508
|
v1DeleteAuthenticatorsResult: {
|
|
1441
1509
|
/** @description Unique identifier for a given Authenticator. */
|
|
@@ -1453,6 +1521,7 @@ export type definitions = {
|
|
|
1453
1521
|
/** @description Unique identifier for a given Organization. */
|
|
1454
1522
|
organizationId: string;
|
|
1455
1523
|
parameters: definitions["v1DeleteFiatOnRampCredentialIntent"];
|
|
1524
|
+
generateAppProofs?: boolean;
|
|
1456
1525
|
};
|
|
1457
1526
|
v1DeleteFiatOnRampCredentialResult: {
|
|
1458
1527
|
/** @description Unique identifier of the Fiat On-Ramp credential that was deleted */
|
|
@@ -1470,6 +1539,7 @@ export type definitions = {
|
|
|
1470
1539
|
/** @description Unique identifier for a given Organization. */
|
|
1471
1540
|
organizationId: string;
|
|
1472
1541
|
parameters: definitions["v1DeleteInvitationIntent"];
|
|
1542
|
+
generateAppProofs?: boolean;
|
|
1473
1543
|
};
|
|
1474
1544
|
v1DeleteInvitationResult: {
|
|
1475
1545
|
/** @description Unique identifier for a given Invitation. */
|
|
@@ -1487,6 +1557,7 @@ export type definitions = {
|
|
|
1487
1557
|
/** @description Unique identifier for a given Organization. */
|
|
1488
1558
|
organizationId: string;
|
|
1489
1559
|
parameters: definitions["v1DeleteOauth2CredentialIntent"];
|
|
1560
|
+
generateAppProofs?: boolean;
|
|
1490
1561
|
};
|
|
1491
1562
|
v1DeleteOauth2CredentialResult: {
|
|
1492
1563
|
/** @description Unique identifier of the OAuth 2.0 credential that was deleted */
|
|
@@ -1506,6 +1577,7 @@ export type definitions = {
|
|
|
1506
1577
|
/** @description Unique identifier for a given Organization. */
|
|
1507
1578
|
organizationId: string;
|
|
1508
1579
|
parameters: definitions["v1DeleteOauthProvidersIntent"];
|
|
1580
|
+
generateAppProofs?: boolean;
|
|
1509
1581
|
};
|
|
1510
1582
|
v1DeleteOauthProvidersResult: {
|
|
1511
1583
|
/** @description A list of unique identifiers for Oauth Providers */
|
|
@@ -1531,6 +1603,7 @@ export type definitions = {
|
|
|
1531
1603
|
/** @description Unique identifier for a given Organization. */
|
|
1532
1604
|
organizationId: string;
|
|
1533
1605
|
parameters: definitions["v1DeletePoliciesIntent"];
|
|
1606
|
+
generateAppProofs?: boolean;
|
|
1534
1607
|
};
|
|
1535
1608
|
v1DeletePoliciesResult: {
|
|
1536
1609
|
/** @description A list of unique identifiers for the deleted policies. */
|
|
@@ -1548,6 +1621,7 @@ export type definitions = {
|
|
|
1548
1621
|
/** @description Unique identifier for a given Organization. */
|
|
1549
1622
|
organizationId: string;
|
|
1550
1623
|
parameters: definitions["v1DeletePolicyIntent"];
|
|
1624
|
+
generateAppProofs?: boolean;
|
|
1551
1625
|
};
|
|
1552
1626
|
v1DeletePolicyResult: {
|
|
1553
1627
|
/** @description Unique identifier for a given Policy. */
|
|
@@ -1565,6 +1639,7 @@ export type definitions = {
|
|
|
1565
1639
|
/** @description Unique identifier for a given Organization. */
|
|
1566
1640
|
organizationId: string;
|
|
1567
1641
|
parameters: definitions["v1DeletePrivateKeyTagsIntent"];
|
|
1642
|
+
generateAppProofs?: boolean;
|
|
1568
1643
|
};
|
|
1569
1644
|
v1DeletePrivateKeyTagsResult: {
|
|
1570
1645
|
/** @description A list of Private Key Tag IDs. */
|
|
@@ -1586,6 +1661,7 @@ export type definitions = {
|
|
|
1586
1661
|
/** @description Unique identifier for a given Organization. */
|
|
1587
1662
|
organizationId: string;
|
|
1588
1663
|
parameters: definitions["v1DeletePrivateKeysIntent"];
|
|
1664
|
+
generateAppProofs?: boolean;
|
|
1589
1665
|
};
|
|
1590
1666
|
v1DeletePrivateKeysResult: {
|
|
1591
1667
|
/** @description A list of private key unique identifiers that were removed */
|
|
@@ -1603,6 +1679,7 @@ export type definitions = {
|
|
|
1603
1679
|
/** @description Unique identifier for a given Organization. */
|
|
1604
1680
|
organizationId: string;
|
|
1605
1681
|
parameters: definitions["v1DeleteSmartContractInterfaceIntent"];
|
|
1682
|
+
generateAppProofs?: boolean;
|
|
1606
1683
|
};
|
|
1607
1684
|
v1DeleteSmartContractInterfaceResult: {
|
|
1608
1685
|
/** @description The ID of the deleted Smart Contract Interface. */
|
|
@@ -1620,6 +1697,7 @@ export type definitions = {
|
|
|
1620
1697
|
/** @description Unique identifier for a given Organization. */
|
|
1621
1698
|
organizationId: string;
|
|
1622
1699
|
parameters: definitions["v1DeleteSubOrganizationIntent"];
|
|
1700
|
+
generateAppProofs?: boolean;
|
|
1623
1701
|
};
|
|
1624
1702
|
v1DeleteSubOrganizationResult: {
|
|
1625
1703
|
/** @description Unique identifier of the sub organization that was removed */
|
|
@@ -1637,6 +1715,7 @@ export type definitions = {
|
|
|
1637
1715
|
/** @description Unique identifier for a given Organization. */
|
|
1638
1716
|
organizationId: string;
|
|
1639
1717
|
parameters: definitions["v1DeleteUserTagsIntent"];
|
|
1718
|
+
generateAppProofs?: boolean;
|
|
1640
1719
|
};
|
|
1641
1720
|
v1DeleteUserTagsResult: {
|
|
1642
1721
|
/** @description A list of User Tag IDs. */
|
|
@@ -1656,6 +1735,7 @@ export type definitions = {
|
|
|
1656
1735
|
/** @description Unique identifier for a given Organization. */
|
|
1657
1736
|
organizationId: string;
|
|
1658
1737
|
parameters: definitions["v1DeleteUsersIntent"];
|
|
1738
|
+
generateAppProofs?: boolean;
|
|
1659
1739
|
};
|
|
1660
1740
|
v1DeleteUsersResult: {
|
|
1661
1741
|
/** @description A list of User IDs. */
|
|
@@ -1675,6 +1755,7 @@ export type definitions = {
|
|
|
1675
1755
|
/** @description Unique identifier for a given Organization. */
|
|
1676
1756
|
organizationId: string;
|
|
1677
1757
|
parameters: definitions["v1DeleteWalletAccountsIntent"];
|
|
1758
|
+
generateAppProofs?: boolean;
|
|
1678
1759
|
};
|
|
1679
1760
|
v1DeleteWalletAccountsResult: {
|
|
1680
1761
|
/** @description A list of wallet account unique identifiers that were removed */
|
|
@@ -1694,6 +1775,7 @@ export type definitions = {
|
|
|
1694
1775
|
/** @description Unique identifier for a given Organization. */
|
|
1695
1776
|
organizationId: string;
|
|
1696
1777
|
parameters: definitions["v1DeleteWalletsIntent"];
|
|
1778
|
+
generateAppProofs?: boolean;
|
|
1697
1779
|
};
|
|
1698
1780
|
v1DeleteWalletsResult: {
|
|
1699
1781
|
/** @description A list of wallet unique identifiers that were removed */
|
|
@@ -1755,14 +1837,37 @@ export type definitions = {
|
|
|
1755
1837
|
/** @description Optional custom email address to use as reply-to */
|
|
1756
1838
|
replyToEmailAddress?: string;
|
|
1757
1839
|
};
|
|
1840
|
+
v1EmailAuthIntentV3: {
|
|
1841
|
+
/** @description Email of the authenticating user. */
|
|
1842
|
+
email: string;
|
|
1843
|
+
/** @description Client-side public key generated by the user, to which the email auth bundle (credentials) will be encrypted. */
|
|
1844
|
+
targetPublicKey: string;
|
|
1845
|
+
/** @description The name of the application. */
|
|
1846
|
+
appName: string;
|
|
1847
|
+
/** @description Optional human-readable name for an API Key. If none provided, default to Email Auth - <Timestamp> */
|
|
1848
|
+
apiKeyName?: string;
|
|
1849
|
+
/** @description Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used. */
|
|
1850
|
+
expirationSeconds?: string;
|
|
1851
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
1852
|
+
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
1853
|
+
/** @description Invalidate all other previously generated Email Auth API keys */
|
|
1854
|
+
invalidateExisting?: boolean;
|
|
1855
|
+
/** @description Optional custom email address from which to send the email */
|
|
1856
|
+
sendFromEmailAddress?: string;
|
|
1857
|
+
/** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
1858
|
+
sendFromEmailSenderName?: string;
|
|
1859
|
+
/** @description Optional custom email address to use as reply-to */
|
|
1860
|
+
replyToEmailAddress?: string;
|
|
1861
|
+
};
|
|
1758
1862
|
v1EmailAuthRequest: {
|
|
1759
1863
|
/** @enum {string} */
|
|
1760
|
-
type: "
|
|
1864
|
+
type: "ACTIVITY_TYPE_EMAIL_AUTH_V3";
|
|
1761
1865
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1762
1866
|
timestampMs: string;
|
|
1763
1867
|
/** @description Unique identifier for a given Organization. */
|
|
1764
1868
|
organizationId: string;
|
|
1765
|
-
parameters: definitions["
|
|
1869
|
+
parameters: definitions["v1EmailAuthIntentV3"];
|
|
1870
|
+
generateAppProofs?: boolean;
|
|
1766
1871
|
};
|
|
1767
1872
|
v1EmailAuthResult: {
|
|
1768
1873
|
/** @description Unique identifier for the authenticating User. */
|
|
@@ -1806,6 +1911,7 @@ export type definitions = {
|
|
|
1806
1911
|
/** @description Unique identifier for a given Organization. */
|
|
1807
1912
|
organizationId: string;
|
|
1808
1913
|
parameters: definitions["v1EthSendRawTransactionIntent"];
|
|
1914
|
+
generateAppProofs?: boolean;
|
|
1809
1915
|
};
|
|
1810
1916
|
v1EthSendRawTransactionResult: {
|
|
1811
1917
|
/** @description The transaction hash of the sent transaction */
|
|
@@ -1820,23 +1926,23 @@ export type definitions = {
|
|
|
1820
1926
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
1821
1927
|
* @enum {string}
|
|
1822
1928
|
*/
|
|
1823
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532";
|
|
1929
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
1824
1930
|
/** @description Recipient address as a hex string with 0x prefix. */
|
|
1825
1931
|
to: string;
|
|
1826
1932
|
/** @description Amount of native asset to send in wei. */
|
|
1827
1933
|
value?: string;
|
|
1828
1934
|
/** @description Hex-encoded call data for contract interactions. */
|
|
1829
1935
|
data?: string;
|
|
1830
|
-
/** @description Transaction nonce. */
|
|
1831
|
-
nonce
|
|
1832
|
-
/** @description Maximum amount of gas to use for this transaction. */
|
|
1833
|
-
gasLimit
|
|
1834
|
-
/** @description Maximum total fee per gas unit (base fee + priority fee) in wei
|
|
1835
|
-
maxFeePerGas
|
|
1836
|
-
/** @description Maximum priority fee (tip) per gas unit in wei
|
|
1837
|
-
maxPriorityFeePerGas
|
|
1838
|
-
/** @description
|
|
1839
|
-
|
|
1936
|
+
/** @description Transaction nonce, for EIP-1559 and Turnkey Gas Station authorizations. */
|
|
1937
|
+
nonce?: string;
|
|
1938
|
+
/** @description Maximum amount of gas to use for this transaction, for EIP-1559 transactions. */
|
|
1939
|
+
gasLimit?: string;
|
|
1940
|
+
/** @description Maximum total fee per gas unit (base fee + priority fee) in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
1941
|
+
maxFeePerGas?: string;
|
|
1942
|
+
/** @description Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
1943
|
+
maxPriorityFeePerGas?: string;
|
|
1944
|
+
/** @description The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
1945
|
+
gasStationNonce?: string;
|
|
1840
1946
|
};
|
|
1841
1947
|
v1EthSendTransactionRequest: {
|
|
1842
1948
|
/** @enum {string} */
|
|
@@ -1846,10 +1952,15 @@ export type definitions = {
|
|
|
1846
1952
|
/** @description Unique identifier for a given Organization. */
|
|
1847
1953
|
organizationId: string;
|
|
1848
1954
|
parameters: definitions["v1EthSendTransactionIntent"];
|
|
1955
|
+
generateAppProofs?: boolean;
|
|
1849
1956
|
};
|
|
1850
1957
|
v1EthSendTransactionResult: {
|
|
1851
|
-
/** @description The
|
|
1852
|
-
|
|
1958
|
+
/** @description The send_transaction_status ID associated with the transaction submission for sponsored transactions */
|
|
1959
|
+
sendTransactionStatusId: string;
|
|
1960
|
+
};
|
|
1961
|
+
v1EthSendTransactionStatus: {
|
|
1962
|
+
/** @description The Ethereum transaction hash, if available. */
|
|
1963
|
+
txHash?: string;
|
|
1853
1964
|
};
|
|
1854
1965
|
v1ExportPrivateKeyIntent: {
|
|
1855
1966
|
/** @description Unique identifier for a given Private Key. */
|
|
@@ -1865,6 +1976,7 @@ export type definitions = {
|
|
|
1865
1976
|
/** @description Unique identifier for a given Organization. */
|
|
1866
1977
|
organizationId: string;
|
|
1867
1978
|
parameters: definitions["v1ExportPrivateKeyIntent"];
|
|
1979
|
+
generateAppProofs?: boolean;
|
|
1868
1980
|
};
|
|
1869
1981
|
v1ExportPrivateKeyResult: {
|
|
1870
1982
|
/** @description Unique identifier for a given Private Key. */
|
|
@@ -1886,6 +1998,7 @@ export type definitions = {
|
|
|
1886
1998
|
/** @description Unique identifier for a given Organization. */
|
|
1887
1999
|
organizationId: string;
|
|
1888
2000
|
parameters: definitions["v1ExportWalletAccountIntent"];
|
|
2001
|
+
generateAppProofs?: boolean;
|
|
1889
2002
|
};
|
|
1890
2003
|
v1ExportWalletAccountResult: {
|
|
1891
2004
|
/** @description Address to identify Wallet Account. */
|
|
@@ -1909,6 +2022,7 @@ export type definitions = {
|
|
|
1909
2022
|
/** @description Unique identifier for a given Organization. */
|
|
1910
2023
|
organizationId: string;
|
|
1911
2024
|
parameters: definitions["v1ExportWalletIntent"];
|
|
2025
|
+
generateAppProofs?: boolean;
|
|
1912
2026
|
};
|
|
1913
2027
|
v1ExportWalletResult: {
|
|
1914
2028
|
/** @description Unique identifier for a given Wallet. */
|
|
@@ -2040,12 +2154,51 @@ export type definitions = {
|
|
|
2040
2154
|
/** @description Hex encoded ephemeral public key. */
|
|
2041
2155
|
ephemeralKey: string;
|
|
2042
2156
|
};
|
|
2157
|
+
v1GetGasUsageRequest: {
|
|
2158
|
+
/** @description Unique identifier for a given Organization. */
|
|
2159
|
+
organizationId: string;
|
|
2160
|
+
};
|
|
2161
|
+
v1GetGasUsageResponse: {
|
|
2162
|
+
/**
|
|
2163
|
+
* Format: int32
|
|
2164
|
+
* @description The window duration (in minutes) for the organization or sub-organization.
|
|
2165
|
+
*/
|
|
2166
|
+
windowDurationMinutes: number;
|
|
2167
|
+
/** @description The window limit (in USD) for the organization or sub-organization. */
|
|
2168
|
+
windowLimitUsd: string;
|
|
2169
|
+
/** @description The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
|
|
2170
|
+
usageUsd: string;
|
|
2171
|
+
};
|
|
2043
2172
|
v1GetLatestBootProofRequest: {
|
|
2044
2173
|
/** @description Unique identifier for a given Organization. */
|
|
2045
2174
|
organizationId: string;
|
|
2046
2175
|
/** @description Name of enclave app. */
|
|
2047
2176
|
appName: string;
|
|
2048
2177
|
};
|
|
2178
|
+
v1GetNoncesRequest: {
|
|
2179
|
+
/** @description Unique identifier for a given Organization. */
|
|
2180
|
+
organizationId: string;
|
|
2181
|
+
/** @description The Ethereum address to query nonces for. */
|
|
2182
|
+
address: string;
|
|
2183
|
+
/** @description The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2184
|
+
caip2: string;
|
|
2185
|
+
/** @description Whether to fetch the standard on-chain nonce. */
|
|
2186
|
+
nonce?: boolean;
|
|
2187
|
+
/** @description Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
2188
|
+
gasStationNonce?: boolean;
|
|
2189
|
+
};
|
|
2190
|
+
v1GetNoncesResponse: {
|
|
2191
|
+
/**
|
|
2192
|
+
* Format: uint64
|
|
2193
|
+
* @description The standard on-chain nonce for the address, if requested.
|
|
2194
|
+
*/
|
|
2195
|
+
nonce?: string;
|
|
2196
|
+
/**
|
|
2197
|
+
* Format: uint64
|
|
2198
|
+
* @description The gas station nonce for sponsored transactions, if requested.
|
|
2199
|
+
*/
|
|
2200
|
+
gasStationNonce?: string;
|
|
2201
|
+
};
|
|
2049
2202
|
v1GetOauth2CredentialRequest: {
|
|
2050
2203
|
/** @description Unique identifier for a given Organization. */
|
|
2051
2204
|
organizationId: string;
|
|
@@ -2138,6 +2291,20 @@ export type definitions = {
|
|
|
2138
2291
|
/** @description A list of private keys. */
|
|
2139
2292
|
privateKeys: definitions["v1PrivateKey"][];
|
|
2140
2293
|
};
|
|
2294
|
+
v1GetSendTransactionStatusRequest: {
|
|
2295
|
+
/** @description Unique identifier for a given organization. */
|
|
2296
|
+
organizationId: string;
|
|
2297
|
+
/** @description The unique identifier of a send transaction request. */
|
|
2298
|
+
sendTransactionStatusId: string;
|
|
2299
|
+
};
|
|
2300
|
+
v1GetSendTransactionStatusResponse: {
|
|
2301
|
+
/** @description The current status of the send transaction. */
|
|
2302
|
+
txStatus: string;
|
|
2303
|
+
/** @description Ethereum-specific transaction status. */
|
|
2304
|
+
eth?: definitions["v1EthSendTransactionStatus"];
|
|
2305
|
+
/** @description The error encountered when broadcasting or confirming the transaction, if any. */
|
|
2306
|
+
txError?: string;
|
|
2307
|
+
};
|
|
2141
2308
|
v1GetSmartContractInterfaceRequest: {
|
|
2142
2309
|
/** @description Unique identifier for a given organization. */
|
|
2143
2310
|
organizationId: string;
|
|
@@ -2146,7 +2313,7 @@ export type definitions = {
|
|
|
2146
2313
|
};
|
|
2147
2314
|
v1GetSmartContractInterfaceResponse: {
|
|
2148
2315
|
/** @description Object to be used in conjunction with policies to guard transaction signing. */
|
|
2149
|
-
smartContractInterface: definitions["
|
|
2316
|
+
smartContractInterface: definitions["externaldatav1SmartContractInterface"];
|
|
2150
2317
|
};
|
|
2151
2318
|
v1GetSmartContractInterfacesRequest: {
|
|
2152
2319
|
/** @description Unique identifier for a given organization. */
|
|
@@ -2154,7 +2321,7 @@ export type definitions = {
|
|
|
2154
2321
|
};
|
|
2155
2322
|
v1GetSmartContractInterfacesResponse: {
|
|
2156
2323
|
/** @description A list of smart contract interfaces. */
|
|
2157
|
-
smartContractInterfaces: definitions["
|
|
2324
|
+
smartContractInterfaces: definitions["externaldatav1SmartContractInterface"][];
|
|
2158
2325
|
};
|
|
2159
2326
|
v1GetSubOrgIdsRequest: {
|
|
2160
2327
|
/** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
@@ -2284,6 +2451,7 @@ export type definitions = {
|
|
|
2284
2451
|
/** @description Unique identifier for a given Organization. */
|
|
2285
2452
|
organizationId: string;
|
|
2286
2453
|
parameters: definitions["v1ImportPrivateKeyIntent"];
|
|
2454
|
+
generateAppProofs?: boolean;
|
|
2287
2455
|
};
|
|
2288
2456
|
v1ImportPrivateKeyResult: {
|
|
2289
2457
|
/** @description Unique identifier for a Private Key. */
|
|
@@ -2309,6 +2477,7 @@ export type definitions = {
|
|
|
2309
2477
|
/** @description Unique identifier for a given Organization. */
|
|
2310
2478
|
organizationId: string;
|
|
2311
2479
|
parameters: definitions["v1ImportWalletIntent"];
|
|
2480
|
+
generateAppProofs?: boolean;
|
|
2312
2481
|
};
|
|
2313
2482
|
v1ImportWalletResult: {
|
|
2314
2483
|
/** @description Unique identifier for a Wallet. */
|
|
@@ -2348,6 +2517,7 @@ export type definitions = {
|
|
|
2348
2517
|
/** @description Unique identifier for a given Organization. */
|
|
2349
2518
|
organizationId: string;
|
|
2350
2519
|
parameters: definitions["v1InitFiatOnRampIntent"];
|
|
2520
|
+
generateAppProofs?: boolean;
|
|
2351
2521
|
};
|
|
2352
2522
|
v1InitFiatOnRampResult: {
|
|
2353
2523
|
/** @description Unique URL for a given fiat on-ramp flow. */
|
|
@@ -2369,6 +2539,7 @@ export type definitions = {
|
|
|
2369
2539
|
/** @description Unique identifier for a given Organization. */
|
|
2370
2540
|
organizationId: string;
|
|
2371
2541
|
parameters: definitions["v1InitImportPrivateKeyIntent"];
|
|
2542
|
+
generateAppProofs?: boolean;
|
|
2372
2543
|
};
|
|
2373
2544
|
v1InitImportPrivateKeyResult: {
|
|
2374
2545
|
/** @description Import bundle containing a public key and signature to use for importing client data. */
|
|
@@ -2386,6 +2557,7 @@ export type definitions = {
|
|
|
2386
2557
|
/** @description Unique identifier for a given Organization. */
|
|
2387
2558
|
organizationId: string;
|
|
2388
2559
|
parameters: definitions["v1InitImportWalletIntent"];
|
|
2560
|
+
generateAppProofs?: boolean;
|
|
2389
2561
|
};
|
|
2390
2562
|
v1InitImportWalletResult: {
|
|
2391
2563
|
/** @description Import bundle containing a public key and signature to use for importing client data. */
|
|
@@ -2434,14 +2606,42 @@ export type definitions = {
|
|
|
2434
2606
|
/** @description Optional custom email address to use as reply-to */
|
|
2435
2607
|
replyToEmailAddress?: string;
|
|
2436
2608
|
};
|
|
2609
|
+
v1InitOtpAuthIntentV3: {
|
|
2610
|
+
/** @description Enum to specifiy whether to send OTP via SMS or email */
|
|
2611
|
+
otpType: string;
|
|
2612
|
+
/** @description Email or phone number to send the OTP code to */
|
|
2613
|
+
contact: string;
|
|
2614
|
+
/** @description The name of the application. */
|
|
2615
|
+
appName: string;
|
|
2616
|
+
/**
|
|
2617
|
+
* Format: int32
|
|
2618
|
+
* @description Optional length of the OTP code. Default = 9
|
|
2619
|
+
*/
|
|
2620
|
+
otpLength?: number;
|
|
2621
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
2622
|
+
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
2623
|
+
/** @description Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
2624
|
+
smsCustomization?: definitions["v1SmsCustomizationParams"];
|
|
2625
|
+
/** @description Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address. */
|
|
2626
|
+
userIdentifier?: string;
|
|
2627
|
+
/** @description Optional custom email address from which to send the OTP email */
|
|
2628
|
+
sendFromEmailAddress?: string;
|
|
2629
|
+
/** @description Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true */
|
|
2630
|
+
alphanumeric?: boolean;
|
|
2631
|
+
/** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
2632
|
+
sendFromEmailSenderName?: string;
|
|
2633
|
+
/** @description Optional custom email address to use as reply-to */
|
|
2634
|
+
replyToEmailAddress?: string;
|
|
2635
|
+
};
|
|
2437
2636
|
v1InitOtpAuthRequest: {
|
|
2438
2637
|
/** @enum {string} */
|
|
2439
|
-
type: "
|
|
2638
|
+
type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V3";
|
|
2440
2639
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2441
2640
|
timestampMs: string;
|
|
2442
2641
|
/** @description Unique identifier for a given Organization. */
|
|
2443
2642
|
organizationId: string;
|
|
2444
|
-
parameters: definitions["
|
|
2643
|
+
parameters: definitions["v1InitOtpAuthIntentV3"];
|
|
2644
|
+
generateAppProofs?: boolean;
|
|
2445
2645
|
};
|
|
2446
2646
|
v1InitOtpAuthResult: {
|
|
2447
2647
|
/** @description Unique identifier for an OTP authentication */
|
|
@@ -2478,14 +2678,44 @@ export type definitions = {
|
|
|
2478
2678
|
/** @description Optional custom email address to use as reply-to */
|
|
2479
2679
|
replyToEmailAddress?: string;
|
|
2480
2680
|
};
|
|
2681
|
+
v1InitOtpIntentV2: {
|
|
2682
|
+
/** @description Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
|
|
2683
|
+
otpType: string;
|
|
2684
|
+
/** @description Email or phone number to send the OTP code to */
|
|
2685
|
+
contact: string;
|
|
2686
|
+
/** @description The name of the application. */
|
|
2687
|
+
appName: string;
|
|
2688
|
+
/**
|
|
2689
|
+
* Format: int32
|
|
2690
|
+
* @description Optional length of the OTP code. Default = 9
|
|
2691
|
+
*/
|
|
2692
|
+
otpLength?: number;
|
|
2693
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
2694
|
+
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
2695
|
+
/** @description Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
2696
|
+
smsCustomization?: definitions["v1SmsCustomizationParams"];
|
|
2697
|
+
/** @description Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address. */
|
|
2698
|
+
userIdentifier?: string;
|
|
2699
|
+
/** @description Optional custom email address from which to send the OTP email */
|
|
2700
|
+
sendFromEmailAddress?: string;
|
|
2701
|
+
/** @description Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true */
|
|
2702
|
+
alphanumeric?: boolean;
|
|
2703
|
+
/** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
2704
|
+
sendFromEmailSenderName?: string;
|
|
2705
|
+
/** @description Expiration window (in seconds) indicating how long the OTP is valid for. If not provided, a default of 5 minutes will be used. Maximum value is 600 seconds (10 minutes) */
|
|
2706
|
+
expirationSeconds?: string;
|
|
2707
|
+
/** @description Optional custom email address to use as reply-to */
|
|
2708
|
+
replyToEmailAddress?: string;
|
|
2709
|
+
};
|
|
2481
2710
|
v1InitOtpRequest: {
|
|
2482
2711
|
/** @enum {string} */
|
|
2483
|
-
type: "
|
|
2712
|
+
type: "ACTIVITY_TYPE_INIT_OTP_V2";
|
|
2484
2713
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2485
2714
|
timestampMs: string;
|
|
2486
2715
|
/** @description Unique identifier for a given Organization. */
|
|
2487
2716
|
organizationId: string;
|
|
2488
|
-
parameters: definitions["
|
|
2717
|
+
parameters: definitions["v1InitOtpIntentV2"];
|
|
2718
|
+
generateAppProofs?: boolean;
|
|
2489
2719
|
};
|
|
2490
2720
|
v1InitOtpResult: {
|
|
2491
2721
|
/** @description Unique identifier for an OTP authentication */
|
|
@@ -2507,14 +2737,33 @@ export type definitions = {
|
|
|
2507
2737
|
/** @description Optional custom email address to use as reply-to */
|
|
2508
2738
|
replyToEmailAddress?: string;
|
|
2509
2739
|
};
|
|
2740
|
+
v1InitUserEmailRecoveryIntentV2: {
|
|
2741
|
+
/** @description Email of the user starting recovery */
|
|
2742
|
+
email: string;
|
|
2743
|
+
/** @description Client-side public key generated by the user, to which the recovery bundle will be encrypted. */
|
|
2744
|
+
targetPublicKey: string;
|
|
2745
|
+
/** @description The name of the application. */
|
|
2746
|
+
appName: string;
|
|
2747
|
+
/** @description Expiration window (in seconds) indicating how long the recovery credential is valid for. If not provided, a default of 15 minutes will be used. */
|
|
2748
|
+
expirationSeconds?: string;
|
|
2749
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
2750
|
+
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
2751
|
+
/** @description Optional custom email address from which to send the OTP email */
|
|
2752
|
+
sendFromEmailAddress?: string;
|
|
2753
|
+
/** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
2754
|
+
sendFromEmailSenderName?: string;
|
|
2755
|
+
/** @description Optional custom email address to use as reply-to */
|
|
2756
|
+
replyToEmailAddress?: string;
|
|
2757
|
+
};
|
|
2510
2758
|
v1InitUserEmailRecoveryRequest: {
|
|
2511
2759
|
/** @enum {string} */
|
|
2512
|
-
type: "
|
|
2760
|
+
type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2";
|
|
2513
2761
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2514
2762
|
timestampMs: string;
|
|
2515
2763
|
/** @description Unique identifier for a given Organization. */
|
|
2516
2764
|
organizationId: string;
|
|
2517
|
-
parameters: definitions["
|
|
2765
|
+
parameters: definitions["v1InitUserEmailRecoveryIntentV2"];
|
|
2766
|
+
generateAppProofs?: boolean;
|
|
2518
2767
|
};
|
|
2519
2768
|
v1InitUserEmailRecoveryResult: {
|
|
2520
2769
|
/** @description Unique identifier for the user being recovered. */
|
|
@@ -2629,6 +2878,10 @@ export type definitions = {
|
|
|
2629
2878
|
createFiatOnRampCredentialIntent?: definitions["v1CreateFiatOnRampCredentialIntent"];
|
|
2630
2879
|
updateFiatOnRampCredentialIntent?: definitions["v1UpdateFiatOnRampCredentialIntent"];
|
|
2631
2880
|
deleteFiatOnRampCredentialIntent?: definitions["v1DeleteFiatOnRampCredentialIntent"];
|
|
2881
|
+
emailAuthIntentV3?: definitions["v1EmailAuthIntentV3"];
|
|
2882
|
+
initUserEmailRecoveryIntentV2?: definitions["v1InitUserEmailRecoveryIntentV2"];
|
|
2883
|
+
initOtpIntentV2?: definitions["v1InitOtpIntentV2"];
|
|
2884
|
+
initOtpAuthIntentV3?: definitions["v1InitOtpAuthIntentV3"];
|
|
2632
2885
|
};
|
|
2633
2886
|
v1Invitation: {
|
|
2634
2887
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -2692,10 +2945,15 @@ export type definitions = {
|
|
|
2692
2945
|
/** @description A list of user tags. */
|
|
2693
2946
|
userTags: definitions["datav1Tag"][];
|
|
2694
2947
|
};
|
|
2948
|
+
v1LoginUsage: {
|
|
2949
|
+
/** @description Public key for authentication */
|
|
2950
|
+
publicKey: string;
|
|
2951
|
+
};
|
|
2695
2952
|
/** @enum {string} */
|
|
2696
2953
|
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";
|
|
2697
2954
|
v1NOOPCodegenAnchorResponse: {
|
|
2698
2955
|
stamp: definitions["v1WebAuthnStamp"];
|
|
2956
|
+
tokenUsage?: definitions["v1TokenUsage"];
|
|
2699
2957
|
};
|
|
2700
2958
|
v1Oauth2AuthenticateIntent: {
|
|
2701
2959
|
/** @description The OAuth 2.0 credential id whose client_id and client_secret will be used in the OAuth 2.0 flow */
|
|
@@ -2719,6 +2977,7 @@ export type definitions = {
|
|
|
2719
2977
|
/** @description Unique identifier for a given Organization. */
|
|
2720
2978
|
organizationId: string;
|
|
2721
2979
|
parameters: definitions["v1Oauth2AuthenticateIntent"];
|
|
2980
|
+
generateAppProofs?: boolean;
|
|
2722
2981
|
};
|
|
2723
2982
|
v1Oauth2AuthenticateResult: {
|
|
2724
2983
|
/** @description Base64 encoded OIDC token issued by Turnkey to be used with the LoginWithOAuth activity */
|
|
@@ -2770,6 +3029,7 @@ export type definitions = {
|
|
|
2770
3029
|
/** @description Unique identifier for a given Organization. */
|
|
2771
3030
|
organizationId: string;
|
|
2772
3031
|
parameters: definitions["v1OauthLoginIntent"];
|
|
3032
|
+
generateAppProofs?: boolean;
|
|
2773
3033
|
};
|
|
2774
3034
|
v1OauthLoginResult: {
|
|
2775
3035
|
/** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
@@ -2803,6 +3063,7 @@ export type definitions = {
|
|
|
2803
3063
|
/** @description Unique identifier for a given Organization. */
|
|
2804
3064
|
organizationId: string;
|
|
2805
3065
|
parameters: definitions["v1OauthIntent"];
|
|
3066
|
+
generateAppProofs?: boolean;
|
|
2806
3067
|
};
|
|
2807
3068
|
v1OauthResult: {
|
|
2808
3069
|
/** @description Unique identifier for the authenticating User. */
|
|
@@ -2849,6 +3110,7 @@ export type definitions = {
|
|
|
2849
3110
|
/** @description Unique identifier for a given Organization. */
|
|
2850
3111
|
organizationId: string;
|
|
2851
3112
|
parameters: definitions["v1OtpAuthIntent"];
|
|
3113
|
+
generateAppProofs?: boolean;
|
|
2852
3114
|
};
|
|
2853
3115
|
v1OtpAuthResult: {
|
|
2854
3116
|
/** @description Unique identifier for the authenticating User. */
|
|
@@ -2867,8 +3129,8 @@ export type definitions = {
|
|
|
2867
3129
|
expirationSeconds?: string;
|
|
2868
3130
|
/** @description Invalidate all other previously generated Login API keys */
|
|
2869
3131
|
invalidateExisting?: boolean;
|
|
2870
|
-
/** @description Optional signature
|
|
2871
|
-
clientSignature?:
|
|
3132
|
+
/** @description Optional signature proving authorization for this login. The signature is over the verification token ID and the public key. Only required if a public key was provided during the verification step. */
|
|
3133
|
+
clientSignature?: definitions["v1ClientSignature"];
|
|
2872
3134
|
};
|
|
2873
3135
|
v1OtpLoginRequest: {
|
|
2874
3136
|
/** @enum {string} */
|
|
@@ -2878,6 +3140,7 @@ export type definitions = {
|
|
|
2878
3140
|
/** @description Unique identifier for a given Organization. */
|
|
2879
3141
|
organizationId: string;
|
|
2880
3142
|
parameters: definitions["v1OtpLoginIntent"];
|
|
3143
|
+
generateAppProofs?: boolean;
|
|
2881
3144
|
};
|
|
2882
3145
|
v1OtpLoginResult: {
|
|
2883
3146
|
/** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
@@ -2971,6 +3234,7 @@ export type definitions = {
|
|
|
2971
3234
|
/** @description Unique identifier for a given Organization. */
|
|
2972
3235
|
organizationId: string;
|
|
2973
3236
|
parameters: definitions["v1RecoverUserIntent"];
|
|
3237
|
+
generateAppProofs?: boolean;
|
|
2974
3238
|
};
|
|
2975
3239
|
v1RecoverUserResult: {
|
|
2976
3240
|
/** @description ID of the authenticator created. */
|
|
@@ -2988,6 +3252,7 @@ export type definitions = {
|
|
|
2988
3252
|
/** @description Unique identifier for a given Organization. */
|
|
2989
3253
|
organizationId: string;
|
|
2990
3254
|
parameters: definitions["v1RejectActivityIntent"];
|
|
3255
|
+
generateAppProofs?: boolean;
|
|
2991
3256
|
};
|
|
2992
3257
|
v1RemoveOrganizationFeatureIntent: {
|
|
2993
3258
|
/** @description Name of the feature to remove */
|
|
@@ -3001,6 +3266,7 @@ export type definitions = {
|
|
|
3001
3266
|
/** @description Unique identifier for a given Organization. */
|
|
3002
3267
|
organizationId: string;
|
|
3003
3268
|
parameters: definitions["v1RemoveOrganizationFeatureIntent"];
|
|
3269
|
+
generateAppProofs?: boolean;
|
|
3004
3270
|
};
|
|
3005
3271
|
v1RemoveOrganizationFeatureResult: {
|
|
3006
3272
|
/** @description Resulting list of organization features. */
|
|
@@ -3173,6 +3439,7 @@ export type definitions = {
|
|
|
3173
3439
|
/** @description Unique identifier for a given Organization. */
|
|
3174
3440
|
organizationId: string;
|
|
3175
3441
|
parameters: definitions["v1SetOrganizationFeatureIntent"];
|
|
3442
|
+
generateAppProofs?: boolean;
|
|
3176
3443
|
};
|
|
3177
3444
|
v1SetOrganizationFeatureResult: {
|
|
3178
3445
|
/** @description Resulting list of organization features. */
|
|
@@ -3206,6 +3473,7 @@ export type definitions = {
|
|
|
3206
3473
|
/** @description Unique identifier for a given Organization. */
|
|
3207
3474
|
organizationId: string;
|
|
3208
3475
|
parameters: definitions["v1SignRawPayloadIntentV2"];
|
|
3476
|
+
generateAppProofs?: boolean;
|
|
3209
3477
|
};
|
|
3210
3478
|
v1SignRawPayloadResult: {
|
|
3211
3479
|
/** @description Component of an ECSDA signature. */
|
|
@@ -3233,6 +3501,7 @@ export type definitions = {
|
|
|
3233
3501
|
/** @description Unique identifier for a given Organization. */
|
|
3234
3502
|
organizationId: string;
|
|
3235
3503
|
parameters: definitions["v1SignRawPayloadsIntent"];
|
|
3504
|
+
generateAppProofs?: boolean;
|
|
3236
3505
|
};
|
|
3237
3506
|
v1SignRawPayloadsResult: {
|
|
3238
3507
|
signatures?: definitions["v1SignRawPayloadResult"][];
|
|
@@ -3259,35 +3528,23 @@ export type definitions = {
|
|
|
3259
3528
|
/** @description Unique identifier for a given Organization. */
|
|
3260
3529
|
organizationId: string;
|
|
3261
3530
|
parameters: definitions["v1SignTransactionIntentV2"];
|
|
3531
|
+
generateAppProofs?: boolean;
|
|
3262
3532
|
};
|
|
3263
3533
|
v1SignTransactionResult: {
|
|
3264
3534
|
signedTransaction: string;
|
|
3265
3535
|
};
|
|
3266
|
-
|
|
3267
|
-
|
|
3536
|
+
v1SignupUsage: {
|
|
3537
|
+
email?: string;
|
|
3538
|
+
phoneNumber?: string;
|
|
3539
|
+
apiKeys?: definitions["v1ApiKeyParamsV2"][];
|
|
3540
|
+
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
3541
|
+
oauthProviders?: definitions["v1OauthProviderParams"][];
|
|
3542
|
+
};
|
|
3268
3543
|
v1SimpleClientExtensionResults: {
|
|
3269
3544
|
appid?: boolean;
|
|
3270
3545
|
appidExclude?: boolean;
|
|
3271
3546
|
credProps?: definitions["v1CredPropsAuthenticationExtensionsClientOutputs"];
|
|
3272
3547
|
};
|
|
3273
|
-
v1SmartContractInterface: {
|
|
3274
|
-
/** @description The Organization the Smart Contract Interface belongs to. */
|
|
3275
|
-
organizationId: string;
|
|
3276
|
-
/** @description Unique identifier for a given Smart Contract Interface (ABI or IDL). */
|
|
3277
|
-
smartContractInterfaceId: string;
|
|
3278
|
-
/** @description The address corresponding to the Smart Contract or Program. */
|
|
3279
|
-
smartContractAddress: string;
|
|
3280
|
-
/** @description The JSON corresponding to the Smart Contract Interface (ABI or IDL). */
|
|
3281
|
-
smartContractInterface: string;
|
|
3282
|
-
/** @description The type corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
|
|
3283
|
-
type: string;
|
|
3284
|
-
/** @description The label corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
|
|
3285
|
-
label: string;
|
|
3286
|
-
/** @description The notes corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
|
|
3287
|
-
notes: string;
|
|
3288
|
-
createdAt: definitions["externaldatav1Timestamp"];
|
|
3289
|
-
updatedAt: definitions["externaldatav1Timestamp"];
|
|
3290
|
-
};
|
|
3291
3548
|
v1SmartContractInterfaceReference: {
|
|
3292
3549
|
smartContractInterfaceId?: string;
|
|
3293
3550
|
smartContractAddress?: string;
|
|
@@ -3315,6 +3572,7 @@ export type definitions = {
|
|
|
3315
3572
|
/** @description Unique identifier for a given Organization. */
|
|
3316
3573
|
organizationId: string;
|
|
3317
3574
|
parameters: definitions["v1StampLoginIntent"];
|
|
3575
|
+
generateAppProofs?: boolean;
|
|
3318
3576
|
};
|
|
3319
3577
|
v1StampLoginResult: {
|
|
3320
3578
|
/** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
@@ -3336,6 +3594,14 @@ export type definitions = {
|
|
|
3336
3594
|
v1TestRateLimitsResponse: {
|
|
3337
3595
|
[key: string]: unknown;
|
|
3338
3596
|
};
|
|
3597
|
+
v1TokenUsage: {
|
|
3598
|
+
/** @description Type of token usage */
|
|
3599
|
+
type: definitions["v1UsageType"];
|
|
3600
|
+
/** @description Unique identifier for the verification token */
|
|
3601
|
+
tokenId: string;
|
|
3602
|
+
signup?: definitions["v1SignupUsage"];
|
|
3603
|
+
login?: definitions["v1LoginUsage"];
|
|
3604
|
+
};
|
|
3339
3605
|
/** @enum {string} */
|
|
3340
3606
|
v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN";
|
|
3341
3607
|
v1UpdateAllowedOriginsIntent: {
|
|
@@ -3358,7 +3624,7 @@ export type definitions = {
|
|
|
3358
3624
|
emailAuthTemplateId?: string;
|
|
3359
3625
|
/** @description Template ID for OTP SMS messages. */
|
|
3360
3626
|
otpTemplateId?: string;
|
|
3361
|
-
/** @description
|
|
3627
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
3362
3628
|
emailCustomizationParams?: definitions["v1EmailCustomizationParams"];
|
|
3363
3629
|
/** @description Overrides for auth-related SMS content. */
|
|
3364
3630
|
smsCustomizationParams?: definitions["v1SmsCustomizationParams"];
|
|
@@ -3417,6 +3683,7 @@ export type definitions = {
|
|
|
3417
3683
|
/** @description Unique identifier for a given Organization. */
|
|
3418
3684
|
organizationId: string;
|
|
3419
3685
|
parameters: definitions["v1UpdateFiatOnRampCredentialIntent"];
|
|
3686
|
+
generateAppProofs?: boolean;
|
|
3420
3687
|
};
|
|
3421
3688
|
v1UpdateFiatOnRampCredentialResult: {
|
|
3422
3689
|
/** @description Unique identifier of the Fiat On-Ramp credential that was updated */
|
|
@@ -3440,6 +3707,7 @@ export type definitions = {
|
|
|
3440
3707
|
/** @description Unique identifier for a given Organization. */
|
|
3441
3708
|
organizationId: string;
|
|
3442
3709
|
parameters: definitions["v1UpdateOauth2CredentialIntent"];
|
|
3710
|
+
generateAppProofs?: boolean;
|
|
3443
3711
|
};
|
|
3444
3712
|
v1UpdateOauth2CredentialResult: {
|
|
3445
3713
|
/** @description Unique identifier of the OAuth 2.0 credential that was updated */
|
|
@@ -3481,6 +3749,7 @@ export type definitions = {
|
|
|
3481
3749
|
/** @description Unique identifier for a given Organization. */
|
|
3482
3750
|
organizationId: string;
|
|
3483
3751
|
parameters: definitions["v1UpdatePolicyIntentV2"];
|
|
3752
|
+
generateAppProofs?: boolean;
|
|
3484
3753
|
};
|
|
3485
3754
|
v1UpdatePolicyResult: {
|
|
3486
3755
|
/** @description Unique identifier for a given Policy. */
|
|
@@ -3508,6 +3777,7 @@ export type definitions = {
|
|
|
3508
3777
|
/** @description Unique identifier for a given Organization. */
|
|
3509
3778
|
organizationId: string;
|
|
3510
3779
|
parameters: definitions["v1UpdatePrivateKeyTagIntent"];
|
|
3780
|
+
generateAppProofs?: boolean;
|
|
3511
3781
|
};
|
|
3512
3782
|
v1UpdatePrivateKeyTagResult: {
|
|
3513
3783
|
/** @description Unique identifier for a given Private Key Tag. */
|
|
@@ -3530,6 +3800,7 @@ export type definitions = {
|
|
|
3530
3800
|
/** @description Unique identifier for a given Organization. */
|
|
3531
3801
|
organizationId: string;
|
|
3532
3802
|
parameters: definitions["v1UpdateRootQuorumIntent"];
|
|
3803
|
+
generateAppProofs?: boolean;
|
|
3533
3804
|
};
|
|
3534
3805
|
v1UpdateRootQuorumResult: {
|
|
3535
3806
|
[key: string]: unknown;
|
|
@@ -3550,6 +3821,7 @@ export type definitions = {
|
|
|
3550
3821
|
/** @description Unique identifier for a given Organization. */
|
|
3551
3822
|
organizationId: string;
|
|
3552
3823
|
parameters: definitions["v1UpdateUserEmailIntent"];
|
|
3824
|
+
generateAppProofs?: boolean;
|
|
3553
3825
|
};
|
|
3554
3826
|
v1UpdateUserEmailResult: {
|
|
3555
3827
|
/** @description Unique identifier of the User whose email was updated. */
|
|
@@ -3581,6 +3853,7 @@ export type definitions = {
|
|
|
3581
3853
|
/** @description Unique identifier for a given Organization. */
|
|
3582
3854
|
organizationId: string;
|
|
3583
3855
|
parameters: definitions["v1UpdateUserNameIntent"];
|
|
3856
|
+
generateAppProofs?: boolean;
|
|
3584
3857
|
};
|
|
3585
3858
|
v1UpdateUserNameResult: {
|
|
3586
3859
|
/** @description Unique identifier of the User whose name was updated. */
|
|
@@ -3602,6 +3875,7 @@ export type definitions = {
|
|
|
3602
3875
|
/** @description Unique identifier for a given Organization. */
|
|
3603
3876
|
organizationId: string;
|
|
3604
3877
|
parameters: definitions["v1UpdateUserPhoneNumberIntent"];
|
|
3878
|
+
generateAppProofs?: boolean;
|
|
3605
3879
|
};
|
|
3606
3880
|
v1UpdateUserPhoneNumberResult: {
|
|
3607
3881
|
/** @description Unique identifier of the User whose phone number was updated. */
|
|
@@ -3615,6 +3889,7 @@ export type definitions = {
|
|
|
3615
3889
|
/** @description Unique identifier for a given Organization. */
|
|
3616
3890
|
organizationId: string;
|
|
3617
3891
|
parameters: definitions["v1UpdateUserIntent"];
|
|
3892
|
+
generateAppProofs?: boolean;
|
|
3618
3893
|
};
|
|
3619
3894
|
v1UpdateUserResult: {
|
|
3620
3895
|
/** @description A User ID. */
|
|
@@ -3638,6 +3913,7 @@ export type definitions = {
|
|
|
3638
3913
|
/** @description Unique identifier for a given Organization. */
|
|
3639
3914
|
organizationId: string;
|
|
3640
3915
|
parameters: definitions["v1UpdateUserTagIntent"];
|
|
3916
|
+
generateAppProofs?: boolean;
|
|
3641
3917
|
};
|
|
3642
3918
|
v1UpdateUserTagResult: {
|
|
3643
3919
|
/** @description Unique identifier for a given User Tag. */
|
|
@@ -3657,11 +3933,14 @@ export type definitions = {
|
|
|
3657
3933
|
/** @description Unique identifier for a given Organization. */
|
|
3658
3934
|
organizationId: string;
|
|
3659
3935
|
parameters: definitions["v1UpdateWalletIntent"];
|
|
3936
|
+
generateAppProofs?: boolean;
|
|
3660
3937
|
};
|
|
3661
3938
|
v1UpdateWalletResult: {
|
|
3662
3939
|
/** @description A Wallet ID. */
|
|
3663
3940
|
walletId: string;
|
|
3664
3941
|
};
|
|
3942
|
+
/** @enum {string} */
|
|
3943
|
+
v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
3665
3944
|
v1User: {
|
|
3666
3945
|
/** @description Unique identifier for a given User. */
|
|
3667
3946
|
userId: string;
|
|
@@ -3742,6 +4021,7 @@ export type definitions = {
|
|
|
3742
4021
|
/** @description Unique identifier for a given Organization. */
|
|
3743
4022
|
organizationId: string;
|
|
3744
4023
|
parameters: definitions["v1VerifyOtpIntent"];
|
|
4024
|
+
generateAppProofs?: boolean;
|
|
3745
4025
|
};
|
|
3746
4026
|
v1VerifyOtpResult: {
|
|
3747
4027
|
/** @description Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
@@ -3987,6 +4267,24 @@ export type operations = {
|
|
|
3987
4267
|
};
|
|
3988
4268
|
};
|
|
3989
4269
|
};
|
|
4270
|
+
/** Get gas usage and gas limits for either the parent organization or a sub-organization. */
|
|
4271
|
+
PublicApiService_GetGasUsage: {
|
|
4272
|
+
parameters: {
|
|
4273
|
+
body: {
|
|
4274
|
+
body: definitions["v1GetGasUsageRequest"];
|
|
4275
|
+
};
|
|
4276
|
+
};
|
|
4277
|
+
responses: {
|
|
4278
|
+
/** A successful response. */
|
|
4279
|
+
200: {
|
|
4280
|
+
schema: definitions["v1GetGasUsageResponse"];
|
|
4281
|
+
};
|
|
4282
|
+
/** An unexpected error response. */
|
|
4283
|
+
default: {
|
|
4284
|
+
schema: definitions["rpcStatus"];
|
|
4285
|
+
};
|
|
4286
|
+
};
|
|
4287
|
+
};
|
|
3990
4288
|
/** Get the latest boot proof for a given enclave app name. */
|
|
3991
4289
|
PublicApiService_GetLatestBootProof: {
|
|
3992
4290
|
parameters: {
|
|
@@ -4005,6 +4303,24 @@ export type operations = {
|
|
|
4005
4303
|
};
|
|
4006
4304
|
};
|
|
4007
4305
|
};
|
|
4306
|
+
/** Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions. */
|
|
4307
|
+
PublicApiService_GetNonces: {
|
|
4308
|
+
parameters: {
|
|
4309
|
+
body: {
|
|
4310
|
+
body: definitions["v1GetNoncesRequest"];
|
|
4311
|
+
};
|
|
4312
|
+
};
|
|
4313
|
+
responses: {
|
|
4314
|
+
/** A successful response. */
|
|
4315
|
+
200: {
|
|
4316
|
+
schema: definitions["v1GetNoncesResponse"];
|
|
4317
|
+
};
|
|
4318
|
+
/** An unexpected error response. */
|
|
4319
|
+
default: {
|
|
4320
|
+
schema: definitions["rpcStatus"];
|
|
4321
|
+
};
|
|
4322
|
+
};
|
|
4323
|
+
};
|
|
4008
4324
|
/** Get details about an OAuth 2.0 credential. */
|
|
4009
4325
|
PublicApiService_GetOauth2Credential: {
|
|
4010
4326
|
parameters: {
|
|
@@ -4149,6 +4465,24 @@ export type operations = {
|
|
|
4149
4465
|
};
|
|
4150
4466
|
};
|
|
4151
4467
|
};
|
|
4468
|
+
/** Get the status of a send transaction request. */
|
|
4469
|
+
PublicApiService_GetSendTransactionStatus: {
|
|
4470
|
+
parameters: {
|
|
4471
|
+
body: {
|
|
4472
|
+
body: definitions["v1GetSendTransactionStatusRequest"];
|
|
4473
|
+
};
|
|
4474
|
+
};
|
|
4475
|
+
responses: {
|
|
4476
|
+
/** A successful response. */
|
|
4477
|
+
200: {
|
|
4478
|
+
schema: definitions["v1GetSendTransactionStatusResponse"];
|
|
4479
|
+
};
|
|
4480
|
+
/** An unexpected error response. */
|
|
4481
|
+
default: {
|
|
4482
|
+
schema: definitions["rpcStatus"];
|
|
4483
|
+
};
|
|
4484
|
+
};
|
|
4485
|
+
};
|
|
4152
4486
|
/** Get details about a smart contract interface. */
|
|
4153
4487
|
PublicApiService_GetSmartContractInterface: {
|
|
4154
4488
|
parameters: {
|