@turnkey/http 3.15.0 → 3.16.1

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.
@@ -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" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG";
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["v1SignatureScheme"];
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. */
@@ -987,7 +1040,8 @@ export type definitions = {
987
1040
  condition?: string;
988
1041
  /** @description The consensus expression that triggers the Effect */
989
1042
  consensus?: string;
990
- notes?: string;
1043
+ /** @description Notes for a Policy. */
1044
+ notes: string;
991
1045
  };
992
1046
  v1CreatePolicyRequest: {
993
1047
  /** @enum {string} */
@@ -997,6 +1051,7 @@ export type definitions = {
997
1051
  /** @description Unique identifier for a given Organization. */
998
1052
  organizationId: string;
999
1053
  parameters: definitions["v1CreatePolicyIntentV3"];
1054
+ generateAppProofs?: boolean;
1000
1055
  };
1001
1056
  v1CreatePolicyResult: {
1002
1057
  /** @description Unique identifier for a given Policy. */
@@ -1016,6 +1071,7 @@ export type definitions = {
1016
1071
  /** @description Unique identifier for a given Organization. */
1017
1072
  organizationId: string;
1018
1073
  parameters: definitions["v1CreatePrivateKeyTagIntent"];
1074
+ generateAppProofs?: boolean;
1019
1075
  };
1020
1076
  v1CreatePrivateKeyTagResult: {
1021
1077
  /** @description Unique identifier for a given Private Key Tag. */
@@ -1039,6 +1095,7 @@ export type definitions = {
1039
1095
  /** @description Unique identifier for a given Organization. */
1040
1096
  organizationId: string;
1041
1097
  parameters: definitions["v1CreatePrivateKeysIntentV2"];
1098
+ generateAppProofs?: boolean;
1042
1099
  };
1043
1100
  v1CreatePrivateKeysResult: {
1044
1101
  /** @description A list of Private Key IDs. */
@@ -1059,6 +1116,7 @@ export type definitions = {
1059
1116
  /** @description Unique identifier for a given Organization. */
1060
1117
  organizationId: string;
1061
1118
  parameters: definitions["v1CreateReadOnlySessionIntent"];
1119
+ generateAppProofs?: boolean;
1062
1120
  };
1063
1121
  v1CreateReadOnlySessionResult: {
1064
1122
  /** @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 +1165,7 @@ export type definitions = {
1107
1165
  /** @description Unique identifier for a given Organization. */
1108
1166
  organizationId: string;
1109
1167
  parameters: definitions["v1CreateReadWriteSessionIntentV2"];
1168
+ generateAppProofs?: boolean;
1110
1169
  };
1111
1170
  v1CreateReadWriteSessionResult: {
1112
1171
  /** @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 +1198,7 @@ export type definitions = {
1139
1198
  v1CreateSmartContractInterfaceIntent: {
1140
1199
  /** @description Corresponding contract address or program ID */
1141
1200
  smartContractAddress: string;
1142
- /** @description ABI/IDL as a JSON string */
1201
+ /** @description ABI/IDL as a JSON string. Limited to 400kb */
1143
1202
  smartContractInterface: string;
1144
1203
  type: definitions["v1SmartContractInterfaceType"];
1145
1204
  /** @description Human-readable name for a Smart Contract Interface. */
@@ -1155,6 +1214,7 @@ export type definitions = {
1155
1214
  /** @description Unique identifier for a given Organization. */
1156
1215
  organizationId: string;
1157
1216
  parameters: definitions["v1CreateSmartContractInterfaceIntent"];
1217
+ generateAppProofs?: boolean;
1158
1218
  };
1159
1219
  v1CreateSmartContractInterfaceResult: {
1160
1220
  /** @description The ID of the created Smart Contract Interface. */
@@ -1263,6 +1323,8 @@ export type definitions = {
1263
1323
  disableOtpEmailAuth?: boolean;
1264
1324
  /** @description Signed JWT containing a unique id, expiry, verification type, contact */
1265
1325
  verificationToken?: string;
1326
+ /** @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. */
1327
+ clientSignature?: definitions["v1ClientSignature"];
1266
1328
  };
1267
1329
  v1CreateSubOrganizationRequest: {
1268
1330
  /** @enum {string} */
@@ -1272,6 +1334,7 @@ export type definitions = {
1272
1334
  /** @description Unique identifier for a given Organization. */
1273
1335
  organizationId: string;
1274
1336
  parameters: definitions["v1CreateSubOrganizationIntentV7"];
1337
+ generateAppProofs?: boolean;
1275
1338
  };
1276
1339
  v1CreateSubOrganizationResult: {
1277
1340
  subOrganizationId: string;
@@ -1317,6 +1380,7 @@ export type definitions = {
1317
1380
  /** @description Unique identifier for a given Organization. */
1318
1381
  organizationId: string;
1319
1382
  parameters: definitions["v1CreateUserTagIntent"];
1383
+ generateAppProofs?: boolean;
1320
1384
  };
1321
1385
  v1CreateUserTagResult: {
1322
1386
  /** @description Unique identifier for a given User Tag. */
@@ -1344,6 +1408,7 @@ export type definitions = {
1344
1408
  /** @description Unique identifier for a given Organization. */
1345
1409
  organizationId: string;
1346
1410
  parameters: definitions["v1CreateUsersIntentV3"];
1411
+ generateAppProofs?: boolean;
1347
1412
  };
1348
1413
  v1CreateUsersResult: {
1349
1414
  /** @description A list of User IDs. */
@@ -1365,6 +1430,7 @@ export type definitions = {
1365
1430
  /** @description Unique identifier for a given Organization. */
1366
1431
  organizationId: string;
1367
1432
  parameters: definitions["v1CreateWalletAccountsIntent"];
1433
+ generateAppProofs?: boolean;
1368
1434
  };
1369
1435
  v1CreateWalletAccountsResult: {
1370
1436
  /** @description A list of derived addresses. */
@@ -1389,6 +1455,7 @@ export type definitions = {
1389
1455
  /** @description Unique identifier for a given Organization. */
1390
1456
  organizationId: string;
1391
1457
  parameters: definitions["v1CreateWalletIntent"];
1458
+ generateAppProofs?: boolean;
1392
1459
  };
1393
1460
  v1CreateWalletResult: {
1394
1461
  /** @description Unique identifier for a Wallet. */
@@ -1417,6 +1484,7 @@ export type definitions = {
1417
1484
  /** @description Unique identifier for a given Organization. */
1418
1485
  organizationId: string;
1419
1486
  parameters: definitions["v1DeleteApiKeysIntent"];
1487
+ generateAppProofs?: boolean;
1420
1488
  };
1421
1489
  v1DeleteApiKeysResult: {
1422
1490
  /** @description A list of API Key IDs. */
@@ -1436,6 +1504,7 @@ export type definitions = {
1436
1504
  /** @description Unique identifier for a given Organization. */
1437
1505
  organizationId: string;
1438
1506
  parameters: definitions["v1DeleteAuthenticatorsIntent"];
1507
+ generateAppProofs?: boolean;
1439
1508
  };
1440
1509
  v1DeleteAuthenticatorsResult: {
1441
1510
  /** @description Unique identifier for a given Authenticator. */
@@ -1453,6 +1522,7 @@ export type definitions = {
1453
1522
  /** @description Unique identifier for a given Organization. */
1454
1523
  organizationId: string;
1455
1524
  parameters: definitions["v1DeleteFiatOnRampCredentialIntent"];
1525
+ generateAppProofs?: boolean;
1456
1526
  };
1457
1527
  v1DeleteFiatOnRampCredentialResult: {
1458
1528
  /** @description Unique identifier of the Fiat On-Ramp credential that was deleted */
@@ -1470,6 +1540,7 @@ export type definitions = {
1470
1540
  /** @description Unique identifier for a given Organization. */
1471
1541
  organizationId: string;
1472
1542
  parameters: definitions["v1DeleteInvitationIntent"];
1543
+ generateAppProofs?: boolean;
1473
1544
  };
1474
1545
  v1DeleteInvitationResult: {
1475
1546
  /** @description Unique identifier for a given Invitation. */
@@ -1487,6 +1558,7 @@ export type definitions = {
1487
1558
  /** @description Unique identifier for a given Organization. */
1488
1559
  organizationId: string;
1489
1560
  parameters: definitions["v1DeleteOauth2CredentialIntent"];
1561
+ generateAppProofs?: boolean;
1490
1562
  };
1491
1563
  v1DeleteOauth2CredentialResult: {
1492
1564
  /** @description Unique identifier of the OAuth 2.0 credential that was deleted */
@@ -1506,6 +1578,7 @@ export type definitions = {
1506
1578
  /** @description Unique identifier for a given Organization. */
1507
1579
  organizationId: string;
1508
1580
  parameters: definitions["v1DeleteOauthProvidersIntent"];
1581
+ generateAppProofs?: boolean;
1509
1582
  };
1510
1583
  v1DeleteOauthProvidersResult: {
1511
1584
  /** @description A list of unique identifiers for Oauth Providers */
@@ -1531,6 +1604,7 @@ export type definitions = {
1531
1604
  /** @description Unique identifier for a given Organization. */
1532
1605
  organizationId: string;
1533
1606
  parameters: definitions["v1DeletePoliciesIntent"];
1607
+ generateAppProofs?: boolean;
1534
1608
  };
1535
1609
  v1DeletePoliciesResult: {
1536
1610
  /** @description A list of unique identifiers for the deleted policies. */
@@ -1548,6 +1622,7 @@ export type definitions = {
1548
1622
  /** @description Unique identifier for a given Organization. */
1549
1623
  organizationId: string;
1550
1624
  parameters: definitions["v1DeletePolicyIntent"];
1625
+ generateAppProofs?: boolean;
1551
1626
  };
1552
1627
  v1DeletePolicyResult: {
1553
1628
  /** @description Unique identifier for a given Policy. */
@@ -1565,6 +1640,7 @@ export type definitions = {
1565
1640
  /** @description Unique identifier for a given Organization. */
1566
1641
  organizationId: string;
1567
1642
  parameters: definitions["v1DeletePrivateKeyTagsIntent"];
1643
+ generateAppProofs?: boolean;
1568
1644
  };
1569
1645
  v1DeletePrivateKeyTagsResult: {
1570
1646
  /** @description A list of Private Key Tag IDs. */
@@ -1586,6 +1662,7 @@ export type definitions = {
1586
1662
  /** @description Unique identifier for a given Organization. */
1587
1663
  organizationId: string;
1588
1664
  parameters: definitions["v1DeletePrivateKeysIntent"];
1665
+ generateAppProofs?: boolean;
1589
1666
  };
1590
1667
  v1DeletePrivateKeysResult: {
1591
1668
  /** @description A list of private key unique identifiers that were removed */
@@ -1603,6 +1680,7 @@ export type definitions = {
1603
1680
  /** @description Unique identifier for a given Organization. */
1604
1681
  organizationId: string;
1605
1682
  parameters: definitions["v1DeleteSmartContractInterfaceIntent"];
1683
+ generateAppProofs?: boolean;
1606
1684
  };
1607
1685
  v1DeleteSmartContractInterfaceResult: {
1608
1686
  /** @description The ID of the deleted Smart Contract Interface. */
@@ -1620,6 +1698,7 @@ export type definitions = {
1620
1698
  /** @description Unique identifier for a given Organization. */
1621
1699
  organizationId: string;
1622
1700
  parameters: definitions["v1DeleteSubOrganizationIntent"];
1701
+ generateAppProofs?: boolean;
1623
1702
  };
1624
1703
  v1DeleteSubOrganizationResult: {
1625
1704
  /** @description Unique identifier of the sub organization that was removed */
@@ -1637,6 +1716,7 @@ export type definitions = {
1637
1716
  /** @description Unique identifier for a given Organization. */
1638
1717
  organizationId: string;
1639
1718
  parameters: definitions["v1DeleteUserTagsIntent"];
1719
+ generateAppProofs?: boolean;
1640
1720
  };
1641
1721
  v1DeleteUserTagsResult: {
1642
1722
  /** @description A list of User Tag IDs. */
@@ -1656,6 +1736,7 @@ export type definitions = {
1656
1736
  /** @description Unique identifier for a given Organization. */
1657
1737
  organizationId: string;
1658
1738
  parameters: definitions["v1DeleteUsersIntent"];
1739
+ generateAppProofs?: boolean;
1659
1740
  };
1660
1741
  v1DeleteUsersResult: {
1661
1742
  /** @description A list of User IDs. */
@@ -1675,6 +1756,7 @@ export type definitions = {
1675
1756
  /** @description Unique identifier for a given Organization. */
1676
1757
  organizationId: string;
1677
1758
  parameters: definitions["v1DeleteWalletAccountsIntent"];
1759
+ generateAppProofs?: boolean;
1678
1760
  };
1679
1761
  v1DeleteWalletAccountsResult: {
1680
1762
  /** @description A list of wallet account unique identifiers that were removed */
@@ -1694,6 +1776,7 @@ export type definitions = {
1694
1776
  /** @description Unique identifier for a given Organization. */
1695
1777
  organizationId: string;
1696
1778
  parameters: definitions["v1DeleteWalletsIntent"];
1779
+ generateAppProofs?: boolean;
1697
1780
  };
1698
1781
  v1DeleteWalletsResult: {
1699
1782
  /** @description A list of wallet unique identifiers that were removed */
@@ -1715,6 +1798,18 @@ export type definitions = {
1715
1798
  };
1716
1799
  /** @enum {string} */
1717
1800
  v1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1801
+ v1EmailAuthCustomizationParams: {
1802
+ /** @description The name of the application. This field is required and will be used in email notifications if an email template is not provided. */
1803
+ appName: string;
1804
+ /** @description A URL pointing to a logo in PNG format. Note this logo will be resized to fit into 340px x 124px. */
1805
+ logoUrl?: string;
1806
+ /** @description A template for the URL to be used in a magic link button, e.g. `https://dapp.xyz/%s`. The auth bundle will be interpolated into the `%s`. */
1807
+ magicLinkTemplate?: string;
1808
+ /** @description JSON object containing key/value pairs to be used with custom templates. */
1809
+ templateVariables?: string;
1810
+ /** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
1811
+ templateId?: string;
1812
+ };
1718
1813
  v1EmailAuthIntent: {
1719
1814
  /** @description Email of the authenticating user. */
1720
1815
  email: string;
@@ -1755,14 +1850,35 @@ export type definitions = {
1755
1850
  /** @description Optional custom email address to use as reply-to */
1756
1851
  replyToEmailAddress?: string;
1757
1852
  };
1853
+ v1EmailAuthIntentV3: {
1854
+ /** @description Email of the authenticating user. */
1855
+ email: string;
1856
+ /** @description Client-side public key generated by the user, to which the email auth bundle (credentials) will be encrypted. */
1857
+ targetPublicKey: string;
1858
+ /** @description Optional human-readable name for an API Key. If none provided, default to Email Auth - <Timestamp> */
1859
+ apiKeyName?: string;
1860
+ /** @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. */
1861
+ expirationSeconds?: string;
1862
+ /** @description Parameters for customizing emails. If not provided, the default email will be used. Note that app_name is required. */
1863
+ emailCustomization: definitions["v1EmailAuthCustomizationParams"];
1864
+ /** @description Invalidate all other previously generated Email Auth API keys */
1865
+ invalidateExisting?: boolean;
1866
+ /** @description Optional custom email address from which to send the email */
1867
+ sendFromEmailAddress?: string;
1868
+ /** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
1869
+ sendFromEmailSenderName?: string;
1870
+ /** @description Optional custom email address to use as reply-to */
1871
+ replyToEmailAddress?: string;
1872
+ };
1758
1873
  v1EmailAuthRequest: {
1759
1874
  /** @enum {string} */
1760
- type: "ACTIVITY_TYPE_EMAIL_AUTH_V2";
1875
+ type: "ACTIVITY_TYPE_EMAIL_AUTH_V3";
1761
1876
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1762
1877
  timestampMs: string;
1763
1878
  /** @description Unique identifier for a given Organization. */
1764
1879
  organizationId: string;
1765
- parameters: definitions["v1EmailAuthIntentV2"];
1880
+ parameters: definitions["v1EmailAuthIntentV3"];
1881
+ generateAppProofs?: boolean;
1766
1882
  };
1767
1883
  v1EmailAuthResult: {
1768
1884
  /** @description Unique identifier for the authenticating User. */
@@ -1782,6 +1898,16 @@ export type definitions = {
1782
1898
  /** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
1783
1899
  templateId?: string;
1784
1900
  };
1901
+ v1EmailCustomizationParamsV2: {
1902
+ /** @description A URL pointing to a logo in PNG format. Note this logo will be resized to fit into 340px x 124px. */
1903
+ logoUrl?: string;
1904
+ /** @description A template for the URL to be used in a magic link button, e.g. `https://dapp.xyz/%s`. The auth bundle will be interpolated into the `%s`. */
1905
+ magicLinkTemplate?: string;
1906
+ /** @description JSON object containing key/value pairs to be used with custom templates. */
1907
+ templateVariables?: string;
1908
+ /** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
1909
+ templateId?: string;
1910
+ };
1785
1911
  v1EnableAuthProxyIntent: {
1786
1912
  [key: string]: unknown;
1787
1913
  };
@@ -1806,6 +1932,7 @@ export type definitions = {
1806
1932
  /** @description Unique identifier for a given Organization. */
1807
1933
  organizationId: string;
1808
1934
  parameters: definitions["v1EthSendRawTransactionIntent"];
1935
+ generateAppProofs?: boolean;
1809
1936
  };
1810
1937
  v1EthSendRawTransactionResult: {
1811
1938
  /** @description The transaction hash of the sent transaction */
@@ -1820,23 +1947,23 @@ export type definitions = {
1820
1947
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
1821
1948
  * @enum {string}
1822
1949
  */
1823
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532";
1950
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
1824
1951
  /** @description Recipient address as a hex string with 0x prefix. */
1825
1952
  to: string;
1826
1953
  /** @description Amount of native asset to send in wei. */
1827
1954
  value?: string;
1828
1955
  /** @description Hex-encoded call data for contract interactions. */
1829
1956
  data?: string;
1830
- /** @description Transaction nonce. */
1831
- nonce: string;
1832
- /** @description Maximum amount of gas to use for this transaction. */
1833
- gasLimit: string;
1834
- /** @description Maximum total fee per gas unit (base fee + priority fee) in wei, for EIP-1559 transactions. */
1835
- maxFeePerGas: string;
1836
- /** @description Maximum priority fee (tip) per gas unit in wei, for EIP-1559 transactions. */
1837
- maxPriorityFeePerGas: string;
1838
- /** @description Unix timestamp after which the Gas Station meta-transaction is no longer valid. Only used when sponsor=true. */
1839
- deadline?: string;
1957
+ /** @description Transaction nonce, for EIP-1559 and Turnkey Gas Station authorizations. */
1958
+ nonce?: string;
1959
+ /** @description Maximum amount of gas to use for this transaction, for EIP-1559 transactions. */
1960
+ gasLimit?: string;
1961
+ /** @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. */
1962
+ maxFeePerGas?: string;
1963
+ /** @description Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
1964
+ maxPriorityFeePerGas?: string;
1965
+ /** @description The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
1966
+ gasStationNonce?: string;
1840
1967
  };
1841
1968
  v1EthSendTransactionRequest: {
1842
1969
  /** @enum {string} */
@@ -1846,10 +1973,15 @@ export type definitions = {
1846
1973
  /** @description Unique identifier for a given Organization. */
1847
1974
  organizationId: string;
1848
1975
  parameters: definitions["v1EthSendTransactionIntent"];
1976
+ generateAppProofs?: boolean;
1849
1977
  };
1850
1978
  v1EthSendTransactionResult: {
1851
- /** @description The transaction hash of the sent transaction */
1852
- transactionHash: string;
1979
+ /** @description The send_transaction_status ID associated with the transaction submission for sponsored transactions */
1980
+ sendTransactionStatusId: string;
1981
+ };
1982
+ v1EthSendTransactionStatus: {
1983
+ /** @description The Ethereum transaction hash, if available. */
1984
+ txHash?: string;
1853
1985
  };
1854
1986
  v1ExportPrivateKeyIntent: {
1855
1987
  /** @description Unique identifier for a given Private Key. */
@@ -1865,6 +1997,7 @@ export type definitions = {
1865
1997
  /** @description Unique identifier for a given Organization. */
1866
1998
  organizationId: string;
1867
1999
  parameters: definitions["v1ExportPrivateKeyIntent"];
2000
+ generateAppProofs?: boolean;
1868
2001
  };
1869
2002
  v1ExportPrivateKeyResult: {
1870
2003
  /** @description Unique identifier for a given Private Key. */
@@ -1886,6 +2019,7 @@ export type definitions = {
1886
2019
  /** @description Unique identifier for a given Organization. */
1887
2020
  organizationId: string;
1888
2021
  parameters: definitions["v1ExportWalletAccountIntent"];
2022
+ generateAppProofs?: boolean;
1889
2023
  };
1890
2024
  v1ExportWalletAccountResult: {
1891
2025
  /** @description Address to identify Wallet Account. */
@@ -1909,6 +2043,7 @@ export type definitions = {
1909
2043
  /** @description Unique identifier for a given Organization. */
1910
2044
  organizationId: string;
1911
2045
  parameters: definitions["v1ExportWalletIntent"];
2046
+ generateAppProofs?: boolean;
1912
2047
  };
1913
2048
  v1ExportWalletResult: {
1914
2049
  /** @description Unique identifier for a given Wallet. */
@@ -2040,12 +2175,51 @@ export type definitions = {
2040
2175
  /** @description Hex encoded ephemeral public key. */
2041
2176
  ephemeralKey: string;
2042
2177
  };
2178
+ v1GetGasUsageRequest: {
2179
+ /** @description Unique identifier for a given Organization. */
2180
+ organizationId: string;
2181
+ };
2182
+ v1GetGasUsageResponse: {
2183
+ /**
2184
+ * Format: int32
2185
+ * @description The window duration (in minutes) for the organization or sub-organization.
2186
+ */
2187
+ windowDurationMinutes: number;
2188
+ /** @description The window limit (in USD) for the organization or sub-organization. */
2189
+ windowLimitUsd: string;
2190
+ /** @description The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
2191
+ usageUsd: string;
2192
+ };
2043
2193
  v1GetLatestBootProofRequest: {
2044
2194
  /** @description Unique identifier for a given Organization. */
2045
2195
  organizationId: string;
2046
2196
  /** @description Name of enclave app. */
2047
2197
  appName: string;
2048
2198
  };
2199
+ v1GetNoncesRequest: {
2200
+ /** @description Unique identifier for a given Organization. */
2201
+ organizationId: string;
2202
+ /** @description The Ethereum address to query nonces for. */
2203
+ address: string;
2204
+ /** @description The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
2205
+ caip2: string;
2206
+ /** @description Whether to fetch the standard on-chain nonce. */
2207
+ nonce?: boolean;
2208
+ /** @description Whether to fetch the gas station nonce used for sponsored transactions. */
2209
+ gasStationNonce?: boolean;
2210
+ };
2211
+ v1GetNoncesResponse: {
2212
+ /**
2213
+ * Format: uint64
2214
+ * @description The standard on-chain nonce for the address, if requested.
2215
+ */
2216
+ nonce?: string;
2217
+ /**
2218
+ * Format: uint64
2219
+ * @description The gas station nonce for sponsored transactions, if requested.
2220
+ */
2221
+ gasStationNonce?: string;
2222
+ };
2049
2223
  v1GetOauth2CredentialRequest: {
2050
2224
  /** @description Unique identifier for a given Organization. */
2051
2225
  organizationId: string;
@@ -2138,6 +2312,20 @@ export type definitions = {
2138
2312
  /** @description A list of private keys. */
2139
2313
  privateKeys: definitions["v1PrivateKey"][];
2140
2314
  };
2315
+ v1GetSendTransactionStatusRequest: {
2316
+ /** @description Unique identifier for a given organization. */
2317
+ organizationId: string;
2318
+ /** @description The unique identifier of a send transaction request. */
2319
+ sendTransactionStatusId: string;
2320
+ };
2321
+ v1GetSendTransactionStatusResponse: {
2322
+ /** @description The current status of the send transaction. */
2323
+ txStatus: string;
2324
+ /** @description Ethereum-specific transaction status. */
2325
+ eth?: definitions["v1EthSendTransactionStatus"];
2326
+ /** @description The error encountered when broadcasting or confirming the transaction, if any. */
2327
+ txError?: string;
2328
+ };
2141
2329
  v1GetSmartContractInterfaceRequest: {
2142
2330
  /** @description Unique identifier for a given organization. */
2143
2331
  organizationId: string;
@@ -2146,7 +2334,7 @@ export type definitions = {
2146
2334
  };
2147
2335
  v1GetSmartContractInterfaceResponse: {
2148
2336
  /** @description Object to be used in conjunction with policies to guard transaction signing. */
2149
- smartContractInterface: definitions["v1SmartContractInterface"];
2337
+ smartContractInterface: definitions["externaldatav1SmartContractInterface"];
2150
2338
  };
2151
2339
  v1GetSmartContractInterfacesRequest: {
2152
2340
  /** @description Unique identifier for a given organization. */
@@ -2154,7 +2342,7 @@ export type definitions = {
2154
2342
  };
2155
2343
  v1GetSmartContractInterfacesResponse: {
2156
2344
  /** @description A list of smart contract interfaces. */
2157
- smartContractInterfaces: definitions["v1SmartContractInterface"][];
2345
+ smartContractInterfaces: definitions["externaldatav1SmartContractInterface"][];
2158
2346
  };
2159
2347
  v1GetSubOrgIdsRequest: {
2160
2348
  /** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
@@ -2284,6 +2472,7 @@ export type definitions = {
2284
2472
  /** @description Unique identifier for a given Organization. */
2285
2473
  organizationId: string;
2286
2474
  parameters: definitions["v1ImportPrivateKeyIntent"];
2475
+ generateAppProofs?: boolean;
2287
2476
  };
2288
2477
  v1ImportPrivateKeyResult: {
2289
2478
  /** @description Unique identifier for a Private Key. */
@@ -2309,6 +2498,7 @@ export type definitions = {
2309
2498
  /** @description Unique identifier for a given Organization. */
2310
2499
  organizationId: string;
2311
2500
  parameters: definitions["v1ImportWalletIntent"];
2501
+ generateAppProofs?: boolean;
2312
2502
  };
2313
2503
  v1ImportWalletResult: {
2314
2504
  /** @description Unique identifier for a Wallet. */
@@ -2348,6 +2538,7 @@ export type definitions = {
2348
2538
  /** @description Unique identifier for a given Organization. */
2349
2539
  organizationId: string;
2350
2540
  parameters: definitions["v1InitFiatOnRampIntent"];
2541
+ generateAppProofs?: boolean;
2351
2542
  };
2352
2543
  v1InitFiatOnRampResult: {
2353
2544
  /** @description Unique URL for a given fiat on-ramp flow. */
@@ -2369,6 +2560,7 @@ export type definitions = {
2369
2560
  /** @description Unique identifier for a given Organization. */
2370
2561
  organizationId: string;
2371
2562
  parameters: definitions["v1InitImportPrivateKeyIntent"];
2563
+ generateAppProofs?: boolean;
2372
2564
  };
2373
2565
  v1InitImportPrivateKeyResult: {
2374
2566
  /** @description Import bundle containing a public key and signature to use for importing client data. */
@@ -2386,6 +2578,7 @@ export type definitions = {
2386
2578
  /** @description Unique identifier for a given Organization. */
2387
2579
  organizationId: string;
2388
2580
  parameters: definitions["v1InitImportWalletIntent"];
2581
+ generateAppProofs?: boolean;
2389
2582
  };
2390
2583
  v1InitImportWalletResult: {
2391
2584
  /** @description Import bundle containing a public key and signature to use for importing client data. */
@@ -2421,7 +2614,7 @@ export type definitions = {
2421
2614
  otpLength?: number;
2422
2615
  /** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
2423
2616
  emailCustomization?: definitions["v1EmailCustomizationParams"];
2424
- /** @description Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
2617
+ /** @description Optional parameters for customizing SMS message. If not provided, the default SMS message will be used. */
2425
2618
  smsCustomization?: definitions["v1SmsCustomizationParams"];
2426
2619
  /** @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. */
2427
2620
  userIdentifier?: string;
@@ -2434,14 +2627,44 @@ export type definitions = {
2434
2627
  /** @description Optional custom email address to use as reply-to */
2435
2628
  replyToEmailAddress?: string;
2436
2629
  };
2630
+ v1InitOtpAuthIntentV3: {
2631
+ /** @description Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
2632
+ otpType: string;
2633
+ /** @description Email or phone number to send the OTP code to */
2634
+ contact: string;
2635
+ /**
2636
+ * Format: int32
2637
+ * @description Optional length of the OTP code. Default = 9
2638
+ */
2639
+ otpLength?: number;
2640
+ /** @description The name of the application. This field is required and will be used in email notifications if an email template is not provided. */
2641
+ appName: string;
2642
+ /** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
2643
+ emailCustomization?: definitions["v1EmailCustomizationParamsV2"];
2644
+ /** @description Optional parameters for customizing SMS message. If not provided, the default SMS message will be used. */
2645
+ smsCustomization?: definitions["v1SmsCustomizationParams"];
2646
+ /** @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. */
2647
+ userIdentifier?: string;
2648
+ /** @description Optional custom email address from which to send the OTP email */
2649
+ sendFromEmailAddress?: string;
2650
+ /** @description Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true */
2651
+ alphanumeric?: boolean;
2652
+ /** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
2653
+ sendFromEmailSenderName?: string;
2654
+ /** @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) */
2655
+ expirationSeconds?: string;
2656
+ /** @description Optional custom email address to use as reply-to */
2657
+ replyToEmailAddress?: string;
2658
+ };
2437
2659
  v1InitOtpAuthRequest: {
2438
2660
  /** @enum {string} */
2439
- type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V2";
2661
+ type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V3";
2440
2662
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2441
2663
  timestampMs: string;
2442
2664
  /** @description Unique identifier for a given Organization. */
2443
2665
  organizationId: string;
2444
- parameters: definitions["v1InitOtpAuthIntentV2"];
2666
+ parameters: definitions["v1InitOtpAuthIntentV3"];
2667
+ generateAppProofs?: boolean;
2445
2668
  };
2446
2669
  v1InitOtpAuthResult: {
2447
2670
  /** @description Unique identifier for an OTP authentication */
@@ -2478,14 +2701,44 @@ export type definitions = {
2478
2701
  /** @description Optional custom email address to use as reply-to */
2479
2702
  replyToEmailAddress?: string;
2480
2703
  };
2704
+ v1InitOtpIntentV2: {
2705
+ /** @description Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
2706
+ otpType: string;
2707
+ /** @description Email or phone number to send the OTP code to */
2708
+ contact: string;
2709
+ /**
2710
+ * Format: int32
2711
+ * @description Optional length of the OTP code. Default = 9
2712
+ */
2713
+ otpLength?: number;
2714
+ /** @description The name of the application. This field is required and will be used in email notifications if an email template is not provided. */
2715
+ appName: string;
2716
+ /** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
2717
+ emailCustomization?: definitions["v1EmailCustomizationParamsV2"];
2718
+ /** @description Optional parameters for customizing SMS message. If not provided, the default SMS message will be used. */
2719
+ smsCustomization?: definitions["v1SmsCustomizationParams"];
2720
+ /** @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. */
2721
+ userIdentifier?: string;
2722
+ /** @description Optional custom email address from which to send the OTP email */
2723
+ sendFromEmailAddress?: string;
2724
+ /** @description Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true */
2725
+ alphanumeric?: boolean;
2726
+ /** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
2727
+ sendFromEmailSenderName?: string;
2728
+ /** @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) */
2729
+ expirationSeconds?: string;
2730
+ /** @description Optional custom email address to use as reply-to */
2731
+ replyToEmailAddress?: string;
2732
+ };
2481
2733
  v1InitOtpRequest: {
2482
2734
  /** @enum {string} */
2483
- type: "ACTIVITY_TYPE_INIT_OTP";
2735
+ type: "ACTIVITY_TYPE_INIT_OTP_V2";
2484
2736
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2485
2737
  timestampMs: string;
2486
2738
  /** @description Unique identifier for a given Organization. */
2487
2739
  organizationId: string;
2488
- parameters: definitions["v1InitOtpIntent"];
2740
+ parameters: definitions["v1InitOtpIntentV2"];
2741
+ generateAppProofs?: boolean;
2489
2742
  };
2490
2743
  v1InitOtpResult: {
2491
2744
  /** @description Unique identifier for an OTP authentication */
@@ -2507,14 +2760,31 @@ export type definitions = {
2507
2760
  /** @description Optional custom email address to use as reply-to */
2508
2761
  replyToEmailAddress?: string;
2509
2762
  };
2763
+ v1InitUserEmailRecoveryIntentV2: {
2764
+ /** @description Email of the user starting recovery */
2765
+ email: string;
2766
+ /** @description Client-side public key generated by the user, to which the recovery bundle will be encrypted. */
2767
+ targetPublicKey: string;
2768
+ /** @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. */
2769
+ expirationSeconds?: string;
2770
+ /** @description Parameters for customizing emails. If not provided, the default email will be used. Note that `app_name` is required. */
2771
+ emailCustomization: definitions["v1EmailAuthCustomizationParams"];
2772
+ /** @description Optional custom email address from which to send the OTP email */
2773
+ sendFromEmailAddress?: string;
2774
+ /** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
2775
+ sendFromEmailSenderName?: string;
2776
+ /** @description Optional custom email address to use as reply-to */
2777
+ replyToEmailAddress?: string;
2778
+ };
2510
2779
  v1InitUserEmailRecoveryRequest: {
2511
2780
  /** @enum {string} */
2512
- type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY";
2781
+ type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2";
2513
2782
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2514
2783
  timestampMs: string;
2515
2784
  /** @description Unique identifier for a given Organization. */
2516
2785
  organizationId: string;
2517
- parameters: definitions["v1InitUserEmailRecoveryIntent"];
2786
+ parameters: definitions["v1InitUserEmailRecoveryIntentV2"];
2787
+ generateAppProofs?: boolean;
2518
2788
  };
2519
2789
  v1InitUserEmailRecoveryResult: {
2520
2790
  /** @description Unique identifier for the user being recovered. */
@@ -2629,6 +2899,11 @@ export type definitions = {
2629
2899
  createFiatOnRampCredentialIntent?: definitions["v1CreateFiatOnRampCredentialIntent"];
2630
2900
  updateFiatOnRampCredentialIntent?: definitions["v1UpdateFiatOnRampCredentialIntent"];
2631
2901
  deleteFiatOnRampCredentialIntent?: definitions["v1DeleteFiatOnRampCredentialIntent"];
2902
+ emailAuthIntentV3?: definitions["v1EmailAuthIntentV3"];
2903
+ initUserEmailRecoveryIntentV2?: definitions["v1InitUserEmailRecoveryIntentV2"];
2904
+ initOtpIntentV2?: definitions["v1InitOtpIntentV2"];
2905
+ initOtpAuthIntentV3?: definitions["v1InitOtpAuthIntentV3"];
2906
+ upsertGasUsageConfigIntent?: definitions["v1UpsertGasUsageConfigIntent"];
2632
2907
  };
2633
2908
  v1Invitation: {
2634
2909
  /** @description Unique identifier for a given Invitation object. */
@@ -2692,10 +2967,15 @@ export type definitions = {
2692
2967
  /** @description A list of user tags. */
2693
2968
  userTags: definitions["datav1Tag"][];
2694
2969
  };
2970
+ v1LoginUsage: {
2971
+ /** @description Public key for authentication */
2972
+ publicKey: string;
2973
+ };
2695
2974
  /** @enum {string} */
2696
2975
  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
2976
  v1NOOPCodegenAnchorResponse: {
2698
2977
  stamp: definitions["v1WebAuthnStamp"];
2978
+ tokenUsage?: definitions["v1TokenUsage"];
2699
2979
  };
2700
2980
  v1Oauth2AuthenticateIntent: {
2701
2981
  /** @description The OAuth 2.0 credential id whose client_id and client_secret will be used in the OAuth 2.0 flow */
@@ -2719,6 +2999,7 @@ export type definitions = {
2719
2999
  /** @description Unique identifier for a given Organization. */
2720
3000
  organizationId: string;
2721
3001
  parameters: definitions["v1Oauth2AuthenticateIntent"];
3002
+ generateAppProofs?: boolean;
2722
3003
  };
2723
3004
  v1Oauth2AuthenticateResult: {
2724
3005
  /** @description Base64 encoded OIDC token issued by Turnkey to be used with the LoginWithOAuth activity */
@@ -2770,6 +3051,7 @@ export type definitions = {
2770
3051
  /** @description Unique identifier for a given Organization. */
2771
3052
  organizationId: string;
2772
3053
  parameters: definitions["v1OauthLoginIntent"];
3054
+ generateAppProofs?: boolean;
2773
3055
  };
2774
3056
  v1OauthLoginResult: {
2775
3057
  /** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
@@ -2803,6 +3085,7 @@ export type definitions = {
2803
3085
  /** @description Unique identifier for a given Organization. */
2804
3086
  organizationId: string;
2805
3087
  parameters: definitions["v1OauthIntent"];
3088
+ generateAppProofs?: boolean;
2806
3089
  };
2807
3090
  v1OauthResult: {
2808
3091
  /** @description Unique identifier for the authenticating User. */
@@ -2849,6 +3132,7 @@ export type definitions = {
2849
3132
  /** @description Unique identifier for a given Organization. */
2850
3133
  organizationId: string;
2851
3134
  parameters: definitions["v1OtpAuthIntent"];
3135
+ generateAppProofs?: boolean;
2852
3136
  };
2853
3137
  v1OtpAuthResult: {
2854
3138
  /** @description Unique identifier for the authenticating User. */
@@ -2867,8 +3151,8 @@ export type definitions = {
2867
3151
  expirationSeconds?: string;
2868
3152
  /** @description Invalidate all other previously generated Login API keys */
2869
3153
  invalidateExisting?: boolean;
2870
- /** @description Optional signature associated with the public key passed into the verification step. This must be a hex-encoded ECDSA signature over the verification token. Only required if a public key was provided during the verification step. */
2871
- clientSignature?: string;
3154
+ /** @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. */
3155
+ clientSignature?: definitions["v1ClientSignature"];
2872
3156
  };
2873
3157
  v1OtpLoginRequest: {
2874
3158
  /** @enum {string} */
@@ -2878,6 +3162,7 @@ export type definitions = {
2878
3162
  /** @description Unique identifier for a given Organization. */
2879
3163
  organizationId: string;
2880
3164
  parameters: definitions["v1OtpLoginIntent"];
3165
+ generateAppProofs?: boolean;
2881
3166
  };
2882
3167
  v1OtpLoginResult: {
2883
3168
  /** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
@@ -2971,6 +3256,7 @@ export type definitions = {
2971
3256
  /** @description Unique identifier for a given Organization. */
2972
3257
  organizationId: string;
2973
3258
  parameters: definitions["v1RecoverUserIntent"];
3259
+ generateAppProofs?: boolean;
2974
3260
  };
2975
3261
  v1RecoverUserResult: {
2976
3262
  /** @description ID of the authenticator created. */
@@ -2988,6 +3274,7 @@ export type definitions = {
2988
3274
  /** @description Unique identifier for a given Organization. */
2989
3275
  organizationId: string;
2990
3276
  parameters: definitions["v1RejectActivityIntent"];
3277
+ generateAppProofs?: boolean;
2991
3278
  };
2992
3279
  v1RemoveOrganizationFeatureIntent: {
2993
3280
  /** @description Name of the feature to remove */
@@ -3001,6 +3288,7 @@ export type definitions = {
3001
3288
  /** @description Unique identifier for a given Organization. */
3002
3289
  organizationId: string;
3003
3290
  parameters: definitions["v1RemoveOrganizationFeatureIntent"];
3291
+ generateAppProofs?: boolean;
3004
3292
  };
3005
3293
  v1RemoveOrganizationFeatureResult: {
3006
3294
  /** @description Resulting list of organization features. */
@@ -3100,6 +3388,7 @@ export type definitions = {
3100
3388
  updateFiatOnRampCredentialResult?: definitions["v1UpdateFiatOnRampCredentialResult"];
3101
3389
  deleteFiatOnRampCredentialResult?: definitions["v1DeleteFiatOnRampCredentialResult"];
3102
3390
  ethSendTransactionResult?: definitions["v1EthSendTransactionResult"];
3391
+ upsertGasUsageConfigResult?: definitions["v1UpsertGasUsageConfigResult"];
3103
3392
  };
3104
3393
  v1RootUserParams: {
3105
3394
  /** @description Human-readable name for a User. */
@@ -3173,6 +3462,7 @@ export type definitions = {
3173
3462
  /** @description Unique identifier for a given Organization. */
3174
3463
  organizationId: string;
3175
3464
  parameters: definitions["v1SetOrganizationFeatureIntent"];
3465
+ generateAppProofs?: boolean;
3176
3466
  };
3177
3467
  v1SetOrganizationFeatureResult: {
3178
3468
  /** @description Resulting list of organization features. */
@@ -3206,6 +3496,7 @@ export type definitions = {
3206
3496
  /** @description Unique identifier for a given Organization. */
3207
3497
  organizationId: string;
3208
3498
  parameters: definitions["v1SignRawPayloadIntentV2"];
3499
+ generateAppProofs?: boolean;
3209
3500
  };
3210
3501
  v1SignRawPayloadResult: {
3211
3502
  /** @description Component of an ECSDA signature. */
@@ -3233,6 +3524,7 @@ export type definitions = {
3233
3524
  /** @description Unique identifier for a given Organization. */
3234
3525
  organizationId: string;
3235
3526
  parameters: definitions["v1SignRawPayloadsIntent"];
3527
+ generateAppProofs?: boolean;
3236
3528
  };
3237
3529
  v1SignRawPayloadsResult: {
3238
3530
  signatures?: definitions["v1SignRawPayloadResult"][];
@@ -3259,35 +3551,23 @@ export type definitions = {
3259
3551
  /** @description Unique identifier for a given Organization. */
3260
3552
  organizationId: string;
3261
3553
  parameters: definitions["v1SignTransactionIntentV2"];
3554
+ generateAppProofs?: boolean;
3262
3555
  };
3263
3556
  v1SignTransactionResult: {
3264
3557
  signedTransaction: string;
3265
3558
  };
3266
- /** @enum {string} */
3267
- v1SignatureScheme: "SIGNATURE_SCHEME_EPHEMERAL_KEY_P256";
3559
+ v1SignupUsage: {
3560
+ email?: string;
3561
+ phoneNumber?: string;
3562
+ apiKeys?: definitions["v1ApiKeyParamsV2"][];
3563
+ authenticators?: definitions["v1AuthenticatorParamsV2"][];
3564
+ oauthProviders?: definitions["v1OauthProviderParams"][];
3565
+ };
3268
3566
  v1SimpleClientExtensionResults: {
3269
3567
  appid?: boolean;
3270
3568
  appidExclude?: boolean;
3271
3569
  credProps?: definitions["v1CredPropsAuthenticationExtensionsClientOutputs"];
3272
3570
  };
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
3571
  v1SmartContractInterfaceReference: {
3292
3572
  smartContractInterfaceId?: string;
3293
3573
  smartContractAddress?: string;
@@ -3315,6 +3595,7 @@ export type definitions = {
3315
3595
  /** @description Unique identifier for a given Organization. */
3316
3596
  organizationId: string;
3317
3597
  parameters: definitions["v1StampLoginIntent"];
3598
+ generateAppProofs?: boolean;
3318
3599
  };
3319
3600
  v1StampLoginResult: {
3320
3601
  /** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
@@ -3336,6 +3617,14 @@ export type definitions = {
3336
3617
  v1TestRateLimitsResponse: {
3337
3618
  [key: string]: unknown;
3338
3619
  };
3620
+ v1TokenUsage: {
3621
+ /** @description Type of token usage */
3622
+ type: definitions["v1UsageType"];
3623
+ /** @description Unique identifier for the verification token */
3624
+ tokenId: string;
3625
+ signup?: definitions["v1SignupUsage"];
3626
+ login?: definitions["v1LoginUsage"];
3627
+ };
3339
3628
  /** @enum {string} */
3340
3629
  v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN";
3341
3630
  v1UpdateAllowedOriginsIntent: {
@@ -3358,7 +3647,7 @@ export type definitions = {
3358
3647
  emailAuthTemplateId?: string;
3359
3648
  /** @description Template ID for OTP SMS messages. */
3360
3649
  otpTemplateId?: string;
3361
- /** @description Overrides for auth-related email content. */
3650
+ /** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
3362
3651
  emailCustomizationParams?: definitions["v1EmailCustomizationParams"];
3363
3652
  /** @description Overrides for auth-related SMS content. */
3364
3653
  smsCustomizationParams?: definitions["v1SmsCustomizationParams"];
@@ -3417,6 +3706,7 @@ export type definitions = {
3417
3706
  /** @description Unique identifier for a given Organization. */
3418
3707
  organizationId: string;
3419
3708
  parameters: definitions["v1UpdateFiatOnRampCredentialIntent"];
3709
+ generateAppProofs?: boolean;
3420
3710
  };
3421
3711
  v1UpdateFiatOnRampCredentialResult: {
3422
3712
  /** @description Unique identifier of the Fiat On-Ramp credential that was updated */
@@ -3440,6 +3730,7 @@ export type definitions = {
3440
3730
  /** @description Unique identifier for a given Organization. */
3441
3731
  organizationId: string;
3442
3732
  parameters: definitions["v1UpdateOauth2CredentialIntent"];
3733
+ generateAppProofs?: boolean;
3443
3734
  };
3444
3735
  v1UpdateOauth2CredentialResult: {
3445
3736
  /** @description Unique identifier of the OAuth 2.0 credential that was updated */
@@ -3481,6 +3772,7 @@ export type definitions = {
3481
3772
  /** @description Unique identifier for a given Organization. */
3482
3773
  organizationId: string;
3483
3774
  parameters: definitions["v1UpdatePolicyIntentV2"];
3775
+ generateAppProofs?: boolean;
3484
3776
  };
3485
3777
  v1UpdatePolicyResult: {
3486
3778
  /** @description Unique identifier for a given Policy. */
@@ -3508,6 +3800,7 @@ export type definitions = {
3508
3800
  /** @description Unique identifier for a given Organization. */
3509
3801
  organizationId: string;
3510
3802
  parameters: definitions["v1UpdatePrivateKeyTagIntent"];
3803
+ generateAppProofs?: boolean;
3511
3804
  };
3512
3805
  v1UpdatePrivateKeyTagResult: {
3513
3806
  /** @description Unique identifier for a given Private Key Tag. */
@@ -3530,6 +3823,7 @@ export type definitions = {
3530
3823
  /** @description Unique identifier for a given Organization. */
3531
3824
  organizationId: string;
3532
3825
  parameters: definitions["v1UpdateRootQuorumIntent"];
3826
+ generateAppProofs?: boolean;
3533
3827
  };
3534
3828
  v1UpdateRootQuorumResult: {
3535
3829
  [key: string]: unknown;
@@ -3550,6 +3844,7 @@ export type definitions = {
3550
3844
  /** @description Unique identifier for a given Organization. */
3551
3845
  organizationId: string;
3552
3846
  parameters: definitions["v1UpdateUserEmailIntent"];
3847
+ generateAppProofs?: boolean;
3553
3848
  };
3554
3849
  v1UpdateUserEmailResult: {
3555
3850
  /** @description Unique identifier of the User whose email was updated. */
@@ -3581,6 +3876,7 @@ export type definitions = {
3581
3876
  /** @description Unique identifier for a given Organization. */
3582
3877
  organizationId: string;
3583
3878
  parameters: definitions["v1UpdateUserNameIntent"];
3879
+ generateAppProofs?: boolean;
3584
3880
  };
3585
3881
  v1UpdateUserNameResult: {
3586
3882
  /** @description Unique identifier of the User whose name was updated. */
@@ -3602,6 +3898,7 @@ export type definitions = {
3602
3898
  /** @description Unique identifier for a given Organization. */
3603
3899
  organizationId: string;
3604
3900
  parameters: definitions["v1UpdateUserPhoneNumberIntent"];
3901
+ generateAppProofs?: boolean;
3605
3902
  };
3606
3903
  v1UpdateUserPhoneNumberResult: {
3607
3904
  /** @description Unique identifier of the User whose phone number was updated. */
@@ -3615,6 +3912,7 @@ export type definitions = {
3615
3912
  /** @description Unique identifier for a given Organization. */
3616
3913
  organizationId: string;
3617
3914
  parameters: definitions["v1UpdateUserIntent"];
3915
+ generateAppProofs?: boolean;
3618
3916
  };
3619
3917
  v1UpdateUserResult: {
3620
3918
  /** @description A User ID. */
@@ -3638,6 +3936,7 @@ export type definitions = {
3638
3936
  /** @description Unique identifier for a given Organization. */
3639
3937
  organizationId: string;
3640
3938
  parameters: definitions["v1UpdateUserTagIntent"];
3939
+ generateAppProofs?: boolean;
3641
3940
  };
3642
3941
  v1UpdateUserTagResult: {
3643
3942
  /** @description Unique identifier for a given User Tag. */
@@ -3657,11 +3956,26 @@ export type definitions = {
3657
3956
  /** @description Unique identifier for a given Organization. */
3658
3957
  organizationId: string;
3659
3958
  parameters: definitions["v1UpdateWalletIntent"];
3959
+ generateAppProofs?: boolean;
3660
3960
  };
3661
3961
  v1UpdateWalletResult: {
3662
3962
  /** @description A Wallet ID. */
3663
3963
  walletId: string;
3664
3964
  };
3965
+ v1UpsertGasUsageConfigIntent: {
3966
+ /** @description Gas sponsorship USD limit for the billing organization window. */
3967
+ orgWindowLimitUsd: string;
3968
+ /** @description Gas sponsorship USD limit for sub-organizations under the billing organization. */
3969
+ subOrgWindowLimitUsd: string;
3970
+ /** @description Rolling sponsorship window duration, expressed in minutes. */
3971
+ windowDurationMinutes: string;
3972
+ };
3973
+ v1UpsertGasUsageConfigResult: {
3974
+ /** @description Unique identifier for the gas usage configuration that was created or updated. */
3975
+ gasUsageConfigId: string;
3976
+ };
3977
+ /** @enum {string} */
3978
+ v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
3665
3979
  v1User: {
3666
3980
  /** @description Unique identifier for a given User. */
3667
3981
  userId: string;
@@ -3742,6 +4056,7 @@ export type definitions = {
3742
4056
  /** @description Unique identifier for a given Organization. */
3743
4057
  organizationId: string;
3744
4058
  parameters: definitions["v1VerifyOtpIntent"];
4059
+ generateAppProofs?: boolean;
3745
4060
  };
3746
4061
  v1VerifyOtpResult: {
3747
4062
  /** @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 +4302,24 @@ export type operations = {
3987
4302
  };
3988
4303
  };
3989
4304
  };
4305
+ /** Get gas usage and gas limits for either the parent organization or a sub-organization. */
4306
+ PublicApiService_GetGasUsage: {
4307
+ parameters: {
4308
+ body: {
4309
+ body: definitions["v1GetGasUsageRequest"];
4310
+ };
4311
+ };
4312
+ responses: {
4313
+ /** A successful response. */
4314
+ 200: {
4315
+ schema: definitions["v1GetGasUsageResponse"];
4316
+ };
4317
+ /** An unexpected error response. */
4318
+ default: {
4319
+ schema: definitions["rpcStatus"];
4320
+ };
4321
+ };
4322
+ };
3990
4323
  /** Get the latest boot proof for a given enclave app name. */
3991
4324
  PublicApiService_GetLatestBootProof: {
3992
4325
  parameters: {
@@ -4005,6 +4338,24 @@ export type operations = {
4005
4338
  };
4006
4339
  };
4007
4340
  };
4341
+ /** 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. */
4342
+ PublicApiService_GetNonces: {
4343
+ parameters: {
4344
+ body: {
4345
+ body: definitions["v1GetNoncesRequest"];
4346
+ };
4347
+ };
4348
+ responses: {
4349
+ /** A successful response. */
4350
+ 200: {
4351
+ schema: definitions["v1GetNoncesResponse"];
4352
+ };
4353
+ /** An unexpected error response. */
4354
+ default: {
4355
+ schema: definitions["rpcStatus"];
4356
+ };
4357
+ };
4358
+ };
4008
4359
  /** Get details about an OAuth 2.0 credential. */
4009
4360
  PublicApiService_GetOauth2Credential: {
4010
4361
  parameters: {
@@ -4149,6 +4500,24 @@ export type operations = {
4149
4500
  };
4150
4501
  };
4151
4502
  };
4503
+ /** Get the status of a send transaction request. */
4504
+ PublicApiService_GetSendTransactionStatus: {
4505
+ parameters: {
4506
+ body: {
4507
+ body: definitions["v1GetSendTransactionStatusRequest"];
4508
+ };
4509
+ };
4510
+ responses: {
4511
+ /** A successful response. */
4512
+ 200: {
4513
+ schema: definitions["v1GetSendTransactionStatusResponse"];
4514
+ };
4515
+ /** An unexpected error response. */
4516
+ default: {
4517
+ schema: definitions["rpcStatus"];
4518
+ };
4519
+ };
4520
+ };
4152
4521
  /** Get details about a smart contract interface. */
4153
4522
  PublicApiService_GetSmartContractInterface: {
4154
4523
  parameters: {