@turnkey/core 1.0.0-beta.5 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.MD +3 -1
  2. package/dist/__clients__/core.d.ts +118 -30
  3. package/dist/__clients__/core.d.ts.map +1 -1
  4. package/dist/__clients__/core.js +362 -102
  5. package/dist/__clients__/core.js.map +1 -1
  6. package/dist/__clients__/core.mjs +364 -104
  7. package/dist/__clients__/core.mjs.map +1 -1
  8. package/dist/__generated__/sdk-client-base.d.ts +17 -0
  9. package/dist/__generated__/sdk-client-base.d.ts.map +1 -1
  10. package/dist/__generated__/sdk-client-base.js +256 -5
  11. package/dist/__generated__/sdk-client-base.js.map +1 -1
  12. package/dist/__generated__/sdk-client-base.mjs +256 -5
  13. package/dist/__generated__/sdk-client-base.mjs.map +1 -1
  14. package/dist/__generated__/version.d.ts +1 -1
  15. package/dist/__generated__/version.d.ts.map +1 -1
  16. package/dist/__generated__/version.js +1 -1
  17. package/dist/__generated__/version.mjs +1 -1
  18. package/dist/__inputs__/public_api.types.d.ts +373 -23
  19. package/dist/__inputs__/public_api.types.d.ts.map +1 -1
  20. package/dist/__polyfills__/jest.setup.webcrypto.d.ts +2 -0
  21. package/dist/__polyfills__/jest.setup.webcrypto.d.ts.map +1 -0
  22. package/dist/__stampers__/api/base.d.ts +11 -5
  23. package/dist/__stampers__/api/base.d.ts.map +1 -1
  24. package/dist/__stampers__/api/base.js +32 -10
  25. package/dist/__stampers__/api/base.js.map +1 -1
  26. package/dist/__stampers__/api/base.mjs +32 -10
  27. package/dist/__stampers__/api/base.mjs.map +1 -1
  28. package/dist/__stampers__/api/web/stamper.d.ts.map +1 -1
  29. package/dist/__stampers__/api/web/stamper.js +2 -4
  30. package/dist/__stampers__/api/web/stamper.js.map +1 -1
  31. package/dist/__stampers__/api/web/stamper.mjs +2 -4
  32. package/dist/__stampers__/api/web/stamper.mjs.map +1 -1
  33. package/dist/__types__/base.d.ts +3 -1
  34. package/dist/__types__/base.d.ts.map +1 -1
  35. package/dist/__types__/base.js.map +1 -1
  36. package/dist/__types__/base.mjs.map +1 -1
  37. package/dist/__wallet__/base.d.ts.map +1 -1
  38. package/dist/__wallet__/base.js +6 -6
  39. package/dist/__wallet__/base.js.map +1 -1
  40. package/dist/__wallet__/base.mjs +2 -2
  41. package/dist/__wallet__/base.mjs.map +1 -1
  42. package/dist/__wallet__/stamper.d.ts.map +1 -1
  43. package/dist/__wallet__/stamper.js +7 -6
  44. package/dist/__wallet__/stamper.js.map +1 -1
  45. package/dist/__wallet__/stamper.mjs +8 -7
  46. package/dist/__wallet__/stamper.mjs.map +1 -1
  47. package/dist/__wallet__/wallet-connect/base.js +5 -6
  48. package/dist/__wallet__/wallet-connect/base.js.map +1 -1
  49. package/dist/__wallet__/wallet-connect/base.mjs +1 -2
  50. package/dist/__wallet__/wallet-connect/base.mjs.map +1 -1
  51. package/dist/__wallet__/web/native/solana.js +1 -2
  52. package/dist/__wallet__/web/native/solana.js.map +1 -1
  53. package/dist/__wallet__/web/native/solana.mjs +1 -2
  54. package/dist/__wallet__/web/native/solana.mjs.map +1 -1
  55. package/dist/utils.d.ts +33 -6
  56. package/dist/utils.d.ts.map +1 -1
  57. package/dist/utils.js +160 -18
  58. package/dist/utils.js.map +1 -1
  59. package/dist/utils.mjs +156 -21
  60. package/dist/utils.mjs.map +1 -1
  61. package/package.json +10 -10
@@ -27,6 +27,18 @@ export type paths = {
27
27
  /** Get details about authenticators for a user. */
28
28
  post: operations["PublicApiService_GetAuthenticators"];
29
29
  };
30
+ "/public/v1/query/get_boot_proof": {
31
+ /** Get the boot proof for a given ephemeral key. */
32
+ post: operations["PublicApiService_GetBootProof"];
33
+ };
34
+ "/public/v1/query/get_latest_boot_proof": {
35
+ /** Get the latest boot proof for a given enclave app name. */
36
+ post: operations["PublicApiService_GetLatestBootProof"];
37
+ };
38
+ "/public/v1/query/get_oauth2_credential": {
39
+ /** Get details about an OAuth 2.0 credential. */
40
+ post: operations["PublicApiService_GetOauth2Credential"];
41
+ };
30
42
  "/public/v1/query/get_oauth_providers": {
31
43
  /** Get details about Oauth providers for a user. */
32
44
  post: operations["PublicApiService_GetOauthProviders"];
@@ -71,6 +83,10 @@ export type paths = {
71
83
  /** List all activities within an organization. */
72
84
  post: operations["PublicApiService_GetActivities"];
73
85
  };
86
+ "/public/v1/query/list_oauth2_credentials": {
87
+ /** List all OAuth 2.0 credentials within an organization. */
88
+ post: operations["PublicApiService_ListOauth2Credentials"];
89
+ };
74
90
  "/public/v1/query/list_policies": {
75
91
  /** List all policies within an organization. */
76
92
  post: operations["PublicApiService_GetPolicies"];
@@ -135,6 +151,10 @@ export type paths = {
135
151
  /** Create invitations to join an existing organization. */
136
152
  post: operations["PublicApiService_CreateInvitations"];
137
153
  };
154
+ "/public/v1/submit/create_oauth2_credential": {
155
+ /** Enable authentication for end users with an OAuth 2.0 provider */
156
+ post: operations["PublicApiService_CreateOauth2Credential"];
157
+ };
138
158
  "/public/v1/submit/create_oauth_providers": {
139
159
  /** Create Oauth providers for a specified user. */
140
160
  post: operations["PublicApiService_CreateOauthProviders"];
@@ -199,6 +219,10 @@ export type paths = {
199
219
  /** Delete an existing invitation. */
200
220
  post: operations["PublicApiService_DeleteInvitation"];
201
221
  };
222
+ "/public/v1/submit/delete_oauth2_credential": {
223
+ /** Disable authentication for end users with an OAuth 2.0 provider */
224
+ post: operations["PublicApiService_DeleteOauth2Credential"];
225
+ };
202
226
  "/public/v1/submit/delete_oauth_providers": {
203
227
  /** Remove Oauth providers for a specified user. */
204
228
  post: operations["PublicApiService_DeleteOauthProviders"];
@@ -287,6 +311,10 @@ export type paths = {
287
311
  /** Authenticate a user with an OIDC token (Oauth). */
288
312
  post: operations["PublicApiService_Oauth"];
289
313
  };
314
+ "/public/v1/submit/oauth2_authenticate": {
315
+ /** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities */
316
+ post: operations["PublicApiService_Oauth2Authenticate"];
317
+ };
290
318
  "/public/v1/submit/oauth_login": {
291
319
  /** Create an Oauth session for a user. */
292
320
  post: operations["PublicApiService_OauthLogin"];
@@ -331,6 +359,10 @@ export type paths = {
331
359
  /** Create a session for a user through stamping client side (API key, wallet client, or passkey client). */
332
360
  post: operations["PublicApiService_StampLogin"];
333
361
  };
362
+ "/public/v1/submit/update_oauth2_credential": {
363
+ /** Update an OAuth 2.0 provider credential */
364
+ post: operations["PublicApiService_UpdateOauth2Credential"];
365
+ };
334
366
  "/public/v1/submit/update_policy": {
335
367
  /** Update an existing policy. */
336
368
  post: operations["PublicApiService_UpdatePolicy"];
@@ -453,7 +485,7 @@ export type definitions = {
453
485
  /** @description Unique identifier for the Vote associated with this policy evaluation. */
454
486
  voteId: string;
455
487
  /** @description Detailed evaluation result for each Policy that was run. */
456
- policyEvaluations: definitions["privateumpv1PolicyEvaluation"][];
488
+ policyEvaluations: definitions["immutablecommonv1PolicyEvaluation"][];
457
489
  createdAt: definitions["externaldatav1Timestamp"];
458
490
  };
459
491
  externaldatav1Address: {
@@ -474,24 +506,6 @@ export type definitions = {
474
506
  /** @description Unique identifiers of quorum set members. */
475
507
  userIds: string[];
476
508
  };
477
- externaldatav1SmartContractInterface: {
478
- /** @description The Organization the Smart Contract Interface belongs to. */
479
- organizationId: string;
480
- /** @description Unique identifier for a given Smart Contract Interface (ABI or IDL). */
481
- smartContractInterfaceId: string;
482
- /** @description The address corresponding to the Smart Contract or Program. */
483
- smartContractAddress: string;
484
- /** @description The JSON corresponding to the Smart Contract Interface (ABI or IDL). */
485
- smartContractInterface: string;
486
- /** @description The type corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
487
- type: string;
488
- /** @description The label corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
489
- label: string;
490
- /** @description The notes corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
491
- notes: string;
492
- createdAt: definitions["externaldatav1Timestamp"];
493
- updatedAt: definitions["externaldatav1Timestamp"];
494
- };
495
509
  externaldatav1Timestamp: {
496
510
  seconds: string;
497
511
  nanos: string;
@@ -500,7 +514,7 @@ export type definitions = {
500
514
  format?: definitions["v1AddressFormat"];
501
515
  address?: string;
502
516
  };
503
- privateumpv1PolicyEvaluation: {
517
+ immutablecommonv1PolicyEvaluation: {
504
518
  policyId?: string;
505
519
  outcome?: definitions["v1Outcome"];
506
520
  };
@@ -570,7 +584,7 @@ export type definitions = {
570
584
  /** @enum {string} */
571
585
  v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
572
586
  /** @enum {string} */
573
- 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";
587
+ 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";
574
588
  /** @enum {string} */
575
589
  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";
576
590
  v1ApiKey: {
@@ -678,6 +692,26 @@ export type definitions = {
678
692
  };
679
693
  /** @enum {string} */
680
694
  v1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
695
+ v1BootProof: {
696
+ /** @description The hex encoded Ephemeral Public Key. */
697
+ ephemeralPublicKeyHex: string;
698
+ /** @description The DER encoded COSE Sign1 struct Attestation doc. */
699
+ awsAttestationDocB64: string;
700
+ /** @description The borsch serialized base64 encoded Manifest. */
701
+ qosManifestB64: string;
702
+ /** @description The borsch serialized base64 encoded Manifest Envelope. */
703
+ qosManifestEnvelopeB64: string;
704
+ /** @description The label under which the enclave app was deployed. */
705
+ deploymentLabel: string;
706
+ /** @description Name of the enclave app */
707
+ enclaveApp: string;
708
+ /** @description Owner of the app i.e. 'tkhq' */
709
+ owner: string;
710
+ createdAt: definitions["externaldatav1Timestamp"];
711
+ };
712
+ v1BootProofResponse: {
713
+ bootProof: definitions["v1BootProof"];
714
+ };
681
715
  v1Config: {
682
716
  features?: definitions["v1Feature"][];
683
717
  quorum?: definitions["externaldatav1Quorum"];
@@ -766,6 +800,27 @@ export type definitions = {
766
800
  /** @description A list of Invitation IDs */
767
801
  invitationIds: string[];
768
802
  };
803
+ v1CreateOauth2CredentialIntent: {
804
+ /** @description The OAuth 2.0 provider */
805
+ provider: definitions["v1Oauth2Provider"];
806
+ /** @description The Client ID issued by the OAuth 2.0 provider */
807
+ clientId: string;
808
+ /** @description The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */
809
+ encryptedClientSecret: string;
810
+ };
811
+ v1CreateOauth2CredentialRequest: {
812
+ /** @enum {string} */
813
+ type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL";
814
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
815
+ timestampMs: string;
816
+ /** @description Unique identifier for a given Organization. */
817
+ organizationId: string;
818
+ parameters: definitions["v1CreateOauth2CredentialIntent"];
819
+ };
820
+ v1CreateOauth2CredentialResult: {
821
+ /** @description Unique identifier of the OAuth 2.0 credential that was created */
822
+ oauth2CredentialId: string;
823
+ };
769
824
  v1CreateOauthProvidersIntent: {
770
825
  /** @description The ID of the User to add an Oauth provider to */
771
826
  userId: string;
@@ -1322,6 +1377,23 @@ export type definitions = {
1322
1377
  /** @description Unique identifier for a given Invitation. */
1323
1378
  invitationId: string;
1324
1379
  };
1380
+ v1DeleteOauth2CredentialIntent: {
1381
+ /** @description The ID of the OAuth 2.0 credential to delete */
1382
+ oauth2CredentialId: string;
1383
+ };
1384
+ v1DeleteOauth2CredentialRequest: {
1385
+ /** @enum {string} */
1386
+ type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL";
1387
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1388
+ timestampMs: string;
1389
+ /** @description Unique identifier for a given Organization. */
1390
+ organizationId: string;
1391
+ parameters: definitions["v1DeleteOauth2CredentialIntent"];
1392
+ };
1393
+ v1DeleteOauth2CredentialResult: {
1394
+ /** @description Unique identifier of the OAuth 2.0 credential that was deleted */
1395
+ oauth2CredentialId: string;
1396
+ };
1325
1397
  v1DeleteOauthProvidersIntent: {
1326
1398
  /** @description The ID of the User to remove an Oauth provider from */
1327
1399
  userId: string;
@@ -1737,6 +1809,27 @@ export type definitions = {
1737
1809
  /** @description A list of authenticators. */
1738
1810
  authenticators: definitions["v1Authenticator"][];
1739
1811
  };
1812
+ v1GetBootProofRequest: {
1813
+ /** @description Unique identifier for a given Organization. */
1814
+ organizationId: string;
1815
+ /** @description Hex encoded ephemeral public key. */
1816
+ ephemeralKey: string;
1817
+ };
1818
+ v1GetLatestBootProofRequest: {
1819
+ /** @description Unique identifier for a given Organization. */
1820
+ organizationId: string;
1821
+ /** @description Name of enclave app. */
1822
+ appName: string;
1823
+ };
1824
+ v1GetOauth2CredentialRequest: {
1825
+ /** @description Unique identifier for a given Organization. */
1826
+ organizationId: string;
1827
+ /** @description Unique identifier for a given OAuth 2.0 Credential. */
1828
+ oauth2CredentialId: string;
1829
+ };
1830
+ v1GetOauth2CredentialResponse: {
1831
+ oauth2Credential: definitions["v1Oauth2Credential"];
1832
+ };
1740
1833
  v1GetOauthProvidersRequest: {
1741
1834
  /** @description Unique identifier for a given organization. */
1742
1835
  organizationId: string;
@@ -1816,7 +1909,7 @@ export type definitions = {
1816
1909
  };
1817
1910
  v1GetSmartContractInterfaceResponse: {
1818
1911
  /** @description Object to be used in conjunction with policies to guard transaction signing. */
1819
- smartContractInterface: definitions["externaldatav1SmartContractInterface"];
1912
+ smartContractInterface: definitions["v1SmartContractInterface"];
1820
1913
  };
1821
1914
  v1GetSmartContractInterfacesRequest: {
1822
1915
  /** @description Unique identifier for a given organization. */
@@ -1824,7 +1917,7 @@ export type definitions = {
1824
1917
  };
1825
1918
  v1GetSmartContractInterfacesResponse: {
1826
1919
  /** @description A list of smart contract interfaces. */
1827
- smartContractInterfaces: definitions["externaldatav1SmartContractInterface"][];
1920
+ smartContractInterfaces: definitions["v1SmartContractInterface"][];
1828
1921
  };
1829
1922
  v1GetSubOrgIdsRequest: {
1830
1923
  /** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
@@ -2007,6 +2100,8 @@ export type definitions = {
2007
2100
  countrySubdivisionCode?: string;
2008
2101
  /** @description Optional flag to indicate whether to use the sandbox mode to simulate transactions for the on-ramp provider. Default is false. */
2009
2102
  sandboxMode?: boolean;
2103
+ /** @description Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled. */
2104
+ urlForSignature?: string;
2010
2105
  };
2011
2106
  v1InitFiatOnRampRequest: {
2012
2107
  /** @enum {string} */
@@ -2022,6 +2117,8 @@ export type definitions = {
2022
2117
  onRampUrl: string;
2023
2118
  /** @description Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow. */
2024
2119
  onRampTransactionId: string;
2120
+ /** @description Optional signature of the MoonPay Widget URL. The signature is generated if the Init Fiat On Ramp intent includes the urlForSignature field. The signature can be used to initialize the MoonPay SDKs when URL signing is enabled for your project. */
2121
+ onRampUrlSignature?: string;
2025
2122
  };
2026
2123
  v1InitImportPrivateKeyIntent: {
2027
2124
  /** @description The ID of the User importing a Private Key. */
@@ -2278,6 +2375,10 @@ export type definitions = {
2278
2375
  enableAuthProxyIntent?: definitions["v1EnableAuthProxyIntent"];
2279
2376
  disableAuthProxyIntent?: definitions["v1DisableAuthProxyIntent"];
2280
2377
  updateAuthProxyConfigIntent?: definitions["v1UpdateAuthProxyConfigIntent"];
2378
+ createOauth2CredentialIntent?: definitions["v1CreateOauth2CredentialIntent"];
2379
+ updateOauth2CredentialIntent?: definitions["v1UpdateOauth2CredentialIntent"];
2380
+ deleteOauth2CredentialIntent?: definitions["v1DeleteOauth2CredentialIntent"];
2381
+ oauth2AuthenticateIntent?: definitions["v1Oauth2AuthenticateIntent"];
2281
2382
  };
2282
2383
  v1Invitation: {
2283
2384
  /** @description Unique identifier for a given Invitation object. */
@@ -2311,6 +2412,13 @@ export type definitions = {
2311
2412
  };
2312
2413
  /** @enum {string} */
2313
2414
  v1InvitationStatus: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
2415
+ v1ListOauth2CredentialsRequest: {
2416
+ /** @description Unique identifier for a given Organization. */
2417
+ organizationId: string;
2418
+ };
2419
+ v1ListOauth2CredentialsResponse: {
2420
+ oauth2Credentials: definitions["v1Oauth2Credential"][];
2421
+ };
2314
2422
  v1ListPrivateKeyTagsRequest: {
2315
2423
  /** @description Unique identifier for a given organization. */
2316
2424
  organizationId: string;
@@ -2332,6 +2440,47 @@ export type definitions = {
2332
2440
  v1NOOPCodegenAnchorResponse: {
2333
2441
  stamp: definitions["v1WebAuthnStamp"];
2334
2442
  };
2443
+ v1Oauth2AuthenticateIntent: {
2444
+ /** @description The OAuth 2.0 credential id whose client_id and client_secret will be used in the OAuth 2.0 flow */
2445
+ oauth2CredentialId: string;
2446
+ /** @description The auth_code provided by the OAuth 2.0 provider to the end user to be exchanged for a Bearer token in the OAuth 2.0 flow */
2447
+ authCode: string;
2448
+ /** @description The URI the user is redirected to after they have authenticated with the OAuth 2.0 provider */
2449
+ redirectUri: string;
2450
+ /** @description The code verifier used by OAuth 2.0 PKCE providers */
2451
+ codeVerifier: string;
2452
+ /** @description An optional nonce used by the client to prevent replay/substitution of an ID token */
2453
+ nonce?: string;
2454
+ };
2455
+ v1Oauth2AuthenticateRequest: {
2456
+ /** @enum {string} */
2457
+ type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE";
2458
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2459
+ timestampMs: string;
2460
+ /** @description Unique identifier for a given Organization. */
2461
+ organizationId: string;
2462
+ parameters: definitions["v1Oauth2AuthenticateIntent"];
2463
+ };
2464
+ v1Oauth2AuthenticateResult: {
2465
+ /** @description Base64 encoded OIDC token issued by Turnkey to be used with the LoginWithOAuth activity */
2466
+ oidcToken: string;
2467
+ };
2468
+ v1Oauth2Credential: {
2469
+ /** @description Unique identifier for a given OAuth 2.0 Credential. */
2470
+ oauth2CredentialId: string;
2471
+ /** @description Unique identifier for an Organization. */
2472
+ organizationId: string;
2473
+ /** @description The provider for a given OAuth 2.0 Credential. */
2474
+ provider: definitions["v1Oauth2Provider"];
2475
+ /** @description The client id for a given OAuth 2.0 Credential. */
2476
+ clientId: string;
2477
+ /** @description The encrypted client secret for a given OAuth 2.0 Credential encrypted to the TLS Fetcher quorum key. */
2478
+ encryptedClientSecret: string;
2479
+ createdAt: definitions["externaldatav1Timestamp"];
2480
+ updatedAt: definitions["externaldatav1Timestamp"];
2481
+ };
2482
+ /** @enum {string} */
2483
+ v1Oauth2Provider: "OAUTH2_PROVIDER_X" | "OAUTH2_PROVIDER_DISCORD";
2335
2484
  v1OauthIntent: {
2336
2485
  /** @description Base64 encoded OIDC token */
2337
2486
  oidcToken: string;
@@ -2679,6 +2828,10 @@ export type definitions = {
2679
2828
  enableAuthProxyResult?: definitions["v1EnableAuthProxyResult"];
2680
2829
  disableAuthProxyResult?: definitions["v1DisableAuthProxyResult"];
2681
2830
  updateAuthProxyConfigResult?: definitions["v1UpdateAuthProxyConfigResult"];
2831
+ createOauth2CredentialResult?: definitions["v1CreateOauth2CredentialResult"];
2832
+ updateOauth2CredentialResult?: definitions["v1UpdateOauth2CredentialResult"];
2833
+ deleteOauth2CredentialResult?: definitions["v1DeleteOauth2CredentialResult"];
2834
+ oauth2AuthenticateResult?: definitions["v1Oauth2AuthenticateResult"];
2682
2835
  };
2683
2836
  v1RootUserParams: {
2684
2837
  /** @description Human-readable name for a User. */
@@ -2847,6 +3000,24 @@ export type definitions = {
2847
3000
  appidExclude?: boolean;
2848
3001
  credProps?: definitions["v1CredPropsAuthenticationExtensionsClientOutputs"];
2849
3002
  };
3003
+ v1SmartContractInterface: {
3004
+ /** @description The Organization the Smart Contract Interface belongs to. */
3005
+ organizationId: string;
3006
+ /** @description Unique identifier for a given Smart Contract Interface (ABI or IDL). */
3007
+ smartContractInterfaceId: string;
3008
+ /** @description The address corresponding to the Smart Contract or Program. */
3009
+ smartContractAddress: string;
3010
+ /** @description The JSON corresponding to the Smart Contract Interface (ABI or IDL). */
3011
+ smartContractInterface: string;
3012
+ /** @description The type corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
3013
+ type: string;
3014
+ /** @description The label corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
3015
+ label: string;
3016
+ /** @description The notes corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA). */
3017
+ notes: string;
3018
+ createdAt: definitions["externaldatav1Timestamp"];
3019
+ updatedAt: definitions["externaldatav1Timestamp"];
3020
+ };
2850
3021
  v1SmartContractInterfaceReference: {
2851
3022
  smartContractInterfaceId?: string;
2852
3023
  smartContractAddress?: string;
@@ -2950,6 +3121,29 @@ export type definitions = {
2950
3121
  /** @description Unique identifier for a given User. (representing the turnkey signer user id) */
2951
3122
  configId?: string;
2952
3123
  };
3124
+ v1UpdateOauth2CredentialIntent: {
3125
+ /** @description The ID of the OAuth 2.0 credential to update */
3126
+ oauth2CredentialId: string;
3127
+ /** @description The OAuth 2.0 provider */
3128
+ provider: definitions["v1Oauth2Provider"];
3129
+ /** @description The Client ID issued by the OAuth 2.0 provider */
3130
+ clientId: string;
3131
+ /** @description The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */
3132
+ encryptedClientSecret: string;
3133
+ };
3134
+ v1UpdateOauth2CredentialRequest: {
3135
+ /** @enum {string} */
3136
+ type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL";
3137
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3138
+ timestampMs: string;
3139
+ /** @description Unique identifier for a given Organization. */
3140
+ organizationId: string;
3141
+ parameters: definitions["v1UpdateOauth2CredentialIntent"];
3142
+ };
3143
+ v1UpdateOauth2CredentialResult: {
3144
+ /** @description Unique identifier of the OAuth 2.0 credential that was updated */
3145
+ oauth2CredentialId: string;
3146
+ };
2953
3147
  v1UpdatePolicyIntent: {
2954
3148
  /** @description Unique identifier for a given Policy. */
2955
3149
  policyId: string;
@@ -3323,6 +3517,18 @@ export type definitions = {
3323
3517
  * @description List of enabled social login providers (e.g., 'apple', 'google', 'facebook')
3324
3518
  */
3325
3519
  enabledSocialProviders?: string[];
3520
+ /**
3521
+ * Oauth Client IDs
3522
+ * @description Mapping of social login providers to their Oauth client IDs.
3523
+ */
3524
+ oauthClientIds?: {
3525
+ [key: string]: string;
3526
+ };
3527
+ /**
3528
+ * Oauth Redirect URL
3529
+ * @description Oauth redirect URL to be used for social login flows.
3530
+ */
3531
+ oauthRedirectUrl?: string;
3326
3532
  };
3327
3533
  v1WalletParams: {
3328
3534
  /** @description Human-readable name for a Wallet. */
@@ -3460,6 +3666,60 @@ export type operations = {
3460
3666
  };
3461
3667
  };
3462
3668
  };
3669
+ /** Get the boot proof for a given ephemeral key. */
3670
+ PublicApiService_GetBootProof: {
3671
+ parameters: {
3672
+ body: {
3673
+ body: definitions["v1GetBootProofRequest"];
3674
+ };
3675
+ };
3676
+ responses: {
3677
+ /** A successful response. */
3678
+ 200: {
3679
+ schema: definitions["v1BootProofResponse"];
3680
+ };
3681
+ /** An unexpected error response. */
3682
+ default: {
3683
+ schema: definitions["rpcStatus"];
3684
+ };
3685
+ };
3686
+ };
3687
+ /** Get the latest boot proof for a given enclave app name. */
3688
+ PublicApiService_GetLatestBootProof: {
3689
+ parameters: {
3690
+ body: {
3691
+ body: definitions["v1GetLatestBootProofRequest"];
3692
+ };
3693
+ };
3694
+ responses: {
3695
+ /** A successful response. */
3696
+ 200: {
3697
+ schema: definitions["v1BootProofResponse"];
3698
+ };
3699
+ /** An unexpected error response. */
3700
+ default: {
3701
+ schema: definitions["rpcStatus"];
3702
+ };
3703
+ };
3704
+ };
3705
+ /** Get details about an OAuth 2.0 credential. */
3706
+ PublicApiService_GetOauth2Credential: {
3707
+ parameters: {
3708
+ body: {
3709
+ body: definitions["v1GetOauth2CredentialRequest"];
3710
+ };
3711
+ };
3712
+ responses: {
3713
+ /** A successful response. */
3714
+ 200: {
3715
+ schema: definitions["v1GetOauth2CredentialResponse"];
3716
+ };
3717
+ /** An unexpected error response. */
3718
+ default: {
3719
+ schema: definitions["rpcStatus"];
3720
+ };
3721
+ };
3722
+ };
3463
3723
  /** Get details about Oauth providers for a user. */
3464
3724
  PublicApiService_GetOauthProviders: {
3465
3725
  parameters: {
@@ -3658,6 +3918,24 @@ export type operations = {
3658
3918
  };
3659
3919
  };
3660
3920
  };
3921
+ /** List all OAuth 2.0 credentials within an organization. */
3922
+ PublicApiService_ListOauth2Credentials: {
3923
+ parameters: {
3924
+ body: {
3925
+ body: definitions["v1ListOauth2CredentialsRequest"];
3926
+ };
3927
+ };
3928
+ responses: {
3929
+ /** A successful response. */
3930
+ 200: {
3931
+ schema: definitions["v1ListOauth2CredentialsResponse"];
3932
+ };
3933
+ /** An unexpected error response. */
3934
+ default: {
3935
+ schema: definitions["rpcStatus"];
3936
+ };
3937
+ };
3938
+ };
3661
3939
  /** List all policies within an organization. */
3662
3940
  PublicApiService_GetPolicies: {
3663
3941
  parameters: {
@@ -3946,6 +4224,24 @@ export type operations = {
3946
4224
  };
3947
4225
  };
3948
4226
  };
4227
+ /** Enable authentication for end users with an OAuth 2.0 provider */
4228
+ PublicApiService_CreateOauth2Credential: {
4229
+ parameters: {
4230
+ body: {
4231
+ body: definitions["v1CreateOauth2CredentialRequest"];
4232
+ };
4233
+ };
4234
+ responses: {
4235
+ /** A successful response. */
4236
+ 200: {
4237
+ schema: definitions["v1ActivityResponse"];
4238
+ };
4239
+ /** An unexpected error response. */
4240
+ default: {
4241
+ schema: definitions["rpcStatus"];
4242
+ };
4243
+ };
4244
+ };
3949
4245
  /** Create Oauth providers for a specified user. */
3950
4246
  PublicApiService_CreateOauthProviders: {
3951
4247
  parameters: {
@@ -4234,6 +4530,24 @@ export type operations = {
4234
4530
  };
4235
4531
  };
4236
4532
  };
4533
+ /** Disable authentication for end users with an OAuth 2.0 provider */
4534
+ PublicApiService_DeleteOauth2Credential: {
4535
+ parameters: {
4536
+ body: {
4537
+ body: definitions["v1DeleteOauth2CredentialRequest"];
4538
+ };
4539
+ };
4540
+ responses: {
4541
+ /** A successful response. */
4542
+ 200: {
4543
+ schema: definitions["v1ActivityResponse"];
4544
+ };
4545
+ /** An unexpected error response. */
4546
+ default: {
4547
+ schema: definitions["rpcStatus"];
4548
+ };
4549
+ };
4550
+ };
4237
4551
  /** Remove Oauth providers for a specified user. */
4238
4552
  PublicApiService_DeleteOauthProviders: {
4239
4553
  parameters: {
@@ -4630,6 +4944,24 @@ export type operations = {
4630
4944
  };
4631
4945
  };
4632
4946
  };
4947
+ /** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities */
4948
+ PublicApiService_Oauth2Authenticate: {
4949
+ parameters: {
4950
+ body: {
4951
+ body: definitions["v1Oauth2AuthenticateRequest"];
4952
+ };
4953
+ };
4954
+ responses: {
4955
+ /** A successful response. */
4956
+ 200: {
4957
+ schema: definitions["v1ActivityResponse"];
4958
+ };
4959
+ /** An unexpected error response. */
4960
+ default: {
4961
+ schema: definitions["rpcStatus"];
4962
+ };
4963
+ };
4964
+ };
4633
4965
  /** Create an Oauth session for a user. */
4634
4966
  PublicApiService_OauthLogin: {
4635
4967
  parameters: {
@@ -4828,6 +5160,24 @@ export type operations = {
4828
5160
  };
4829
5161
  };
4830
5162
  };
5163
+ /** Update an OAuth 2.0 provider credential */
5164
+ PublicApiService_UpdateOauth2Credential: {
5165
+ parameters: {
5166
+ body: {
5167
+ body: definitions["v1UpdateOauth2CredentialRequest"];
5168
+ };
5169
+ };
5170
+ responses: {
5171
+ /** A successful response. */
5172
+ 200: {
5173
+ schema: definitions["v1ActivityResponse"];
5174
+ };
5175
+ /** An unexpected error response. */
5176
+ default: {
5177
+ schema: definitions["rpcStatus"];
5178
+ };
5179
+ };
5180
+ };
4831
5181
  /** Update an existing policy. */
4832
5182
  PublicApiService_UpdatePolicy: {
4833
5183
  parameters: {