@turnkey/http 2.10.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -1
- package/README.md +2 -4
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +120 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +200 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +200 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +12972 -2476
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +192 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +177 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +456 -10
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +2 -2
|
@@ -15,6 +15,10 @@ export type paths = {
|
|
|
15
15
|
/** Get details about API keys for a user */
|
|
16
16
|
post: operations["PublicApiService_GetApiKeys"];
|
|
17
17
|
};
|
|
18
|
+
"/public/v1/query/get_attestation": {
|
|
19
|
+
/** Get the attestation document corresponding to an enclave. */
|
|
20
|
+
post: operations["PublicApiService_GetAttestationDocument"];
|
|
21
|
+
};
|
|
18
22
|
"/public/v1/query/get_authenticator": {
|
|
19
23
|
/** Get details about an authenticator */
|
|
20
24
|
post: operations["PublicApiService_GetAuthenticator"];
|
|
@@ -23,10 +27,18 @@ export type paths = {
|
|
|
23
27
|
/** Get details about authenticators for a user */
|
|
24
28
|
post: operations["PublicApiService_GetAuthenticators"];
|
|
25
29
|
};
|
|
30
|
+
"/public/v1/query/get_oauth_providers": {
|
|
31
|
+
/** Get details about Oauth providers for a user */
|
|
32
|
+
post: operations["PublicApiService_GetOauthProviders"];
|
|
33
|
+
};
|
|
26
34
|
"/public/v1/query/get_organization": {
|
|
27
35
|
/** Get details about an Organization */
|
|
28
36
|
post: operations["PublicApiService_GetOrganization"];
|
|
29
37
|
};
|
|
38
|
+
"/public/v1/query/get_organization_configs": {
|
|
39
|
+
/** Get quorum settings and features for an organization */
|
|
40
|
+
post: operations["PublicApiService_GetOrganizationConfigs"];
|
|
41
|
+
};
|
|
30
42
|
"/public/v1/query/get_policy": {
|
|
31
43
|
/** Get details about a Policy */
|
|
32
44
|
post: operations["PublicApiService_GetPolicy"];
|
|
@@ -103,6 +115,10 @@ export type paths = {
|
|
|
103
115
|
/** Create Invitations to join an existing Organization */
|
|
104
116
|
post: operations["PublicApiService_CreateInvitations"];
|
|
105
117
|
};
|
|
118
|
+
"/public/v1/submit/create_oauth_providers": {
|
|
119
|
+
/** Creates Oauth providers for a specified user - BETA */
|
|
120
|
+
post: operations["PublicApiService_CreateOauthProviders"];
|
|
121
|
+
};
|
|
106
122
|
"/public/v1/submit/create_policies": {
|
|
107
123
|
/** Create new Policies */
|
|
108
124
|
post: operations["PublicApiService_CreatePolicies"];
|
|
@@ -119,6 +135,14 @@ export type paths = {
|
|
|
119
135
|
/** Create new Private Keys */
|
|
120
136
|
post: operations["PublicApiService_CreatePrivateKeys"];
|
|
121
137
|
};
|
|
138
|
+
"/public/v1/submit/create_read_only_session": {
|
|
139
|
+
/** Create a read only session for a user (valid for 1 hour) */
|
|
140
|
+
post: operations["PublicApiService_CreateReadOnlySession"];
|
|
141
|
+
};
|
|
142
|
+
"/public/v1/submit/create_read_write_session": {
|
|
143
|
+
/** Create a read write session for a user */
|
|
144
|
+
post: operations["PublicApiService_CreateReadWriteSession"];
|
|
145
|
+
};
|
|
122
146
|
"/public/v1/submit/create_sub_organization": {
|
|
123
147
|
/** Create a new Sub-Organization */
|
|
124
148
|
post: operations["PublicApiService_CreateSubOrganization"];
|
|
@@ -151,6 +175,10 @@ export type paths = {
|
|
|
151
175
|
/** Delete an existing Invitation */
|
|
152
176
|
post: operations["PublicApiService_DeleteInvitation"];
|
|
153
177
|
};
|
|
178
|
+
"/public/v1/submit/delete_oauth_providers": {
|
|
179
|
+
/** Removes Oauth providers for a specified user - BETA */
|
|
180
|
+
post: operations["PublicApiService_DeleteOauthProviders"];
|
|
181
|
+
};
|
|
154
182
|
"/public/v1/submit/delete_policy": {
|
|
155
183
|
/** Delete an existing Policy */
|
|
156
184
|
post: operations["PublicApiService_DeletePolicy"];
|
|
@@ -203,6 +231,10 @@ export type paths = {
|
|
|
203
231
|
/** Initializes a new email recovery */
|
|
204
232
|
post: operations["PublicApiService_InitUserEmailRecovery"];
|
|
205
233
|
};
|
|
234
|
+
"/public/v1/submit/oauth": {
|
|
235
|
+
/** Authenticate a user with an Oidc token (Oauth) - BETA */
|
|
236
|
+
post: operations["PublicApiService_Oauth"];
|
|
237
|
+
};
|
|
206
238
|
"/public/v1/submit/recover_user": {
|
|
207
239
|
/** Completes the process of recovering a user by adding an authenticator */
|
|
208
240
|
post: operations["PublicApiService_RecoverUser"];
|
|
@@ -355,6 +387,8 @@ export type definitions = {
|
|
|
355
387
|
canReject: boolean;
|
|
356
388
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
357
389
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
390
|
+
/** @description Failure reason of the intended action. */
|
|
391
|
+
failure?: definitions["rpcStatus"];
|
|
358
392
|
};
|
|
359
393
|
v1ActivityResponse: {
|
|
360
394
|
/** @description An action that can that can be taken within the Turnkey infrastructure. */
|
|
@@ -363,7 +397,7 @@ export type definitions = {
|
|
|
363
397
|
/** @enum {string} */
|
|
364
398
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
365
399
|
/** @enum {string} */
|
|
366
|
-
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";
|
|
400
|
+
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";
|
|
367
401
|
/** @enum {string} */
|
|
368
402
|
v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON";
|
|
369
403
|
v1ApiKey: {
|
|
@@ -381,6 +415,8 @@ export type definitions = {
|
|
|
381
415
|
*/
|
|
382
416
|
expirationSeconds?: string;
|
|
383
417
|
};
|
|
418
|
+
/** @enum {string} */
|
|
419
|
+
v1ApiKeyCurve: "API_KEY_CURVE_P256" | "API_KEY_CURVE_SECP256K1";
|
|
384
420
|
v1ApiKeyParams: {
|
|
385
421
|
/** @description Human-readable name for an API Key. */
|
|
386
422
|
apiKeyName: string;
|
|
@@ -389,6 +425,16 @@ export type definitions = {
|
|
|
389
425
|
/** @description Optional window (in seconds) indicating how long the API Key should last. */
|
|
390
426
|
expirationSeconds?: string;
|
|
391
427
|
};
|
|
428
|
+
v1ApiKeyParamsV2: {
|
|
429
|
+
/** @description Human-readable name for an API Key. */
|
|
430
|
+
apiKeyName: string;
|
|
431
|
+
/** @description The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
432
|
+
publicKey: string;
|
|
433
|
+
/** @description The curve type to be used for processing API key signatures. */
|
|
434
|
+
curveType: definitions["v1ApiKeyCurve"];
|
|
435
|
+
/** @description Optional window (in seconds) indicating how long the API Key should last. */
|
|
436
|
+
expirationSeconds?: string;
|
|
437
|
+
};
|
|
392
438
|
v1ApiOnlyUserParams: {
|
|
393
439
|
/** @description The name of the new API-only User. */
|
|
394
440
|
userName: string;
|
|
@@ -467,20 +513,30 @@ export type definitions = {
|
|
|
467
513
|
};
|
|
468
514
|
/** @enum {string} */
|
|
469
515
|
v1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
|
|
516
|
+
v1Config: {
|
|
517
|
+
features?: definitions["v1Feature"][];
|
|
518
|
+
quorum?: definitions["externaldatav1Quorum"];
|
|
519
|
+
};
|
|
470
520
|
v1CreateApiKeysIntent: {
|
|
471
521
|
/** @description A list of API Keys. */
|
|
472
522
|
apiKeys: definitions["v1ApiKeyParams"][];
|
|
473
523
|
/** @description Unique identifier for a given User. */
|
|
474
524
|
userId: string;
|
|
475
525
|
};
|
|
526
|
+
v1CreateApiKeysIntentV2: {
|
|
527
|
+
/** @description A list of API Keys. */
|
|
528
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
529
|
+
/** @description Unique identifier for a given User. */
|
|
530
|
+
userId: string;
|
|
531
|
+
};
|
|
476
532
|
v1CreateApiKeysRequest: {
|
|
477
533
|
/** @enum {string} */
|
|
478
|
-
type: "
|
|
534
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2";
|
|
479
535
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
480
536
|
timestampMs: string;
|
|
481
537
|
/** @description Unique identifier for a given Organization. */
|
|
482
538
|
organizationId: string;
|
|
483
|
-
parameters: definitions["
|
|
539
|
+
parameters: definitions["v1CreateApiKeysIntentV2"];
|
|
484
540
|
};
|
|
485
541
|
v1CreateApiKeysResult: {
|
|
486
542
|
/** @description A list of API Key IDs. */
|
|
@@ -545,6 +601,25 @@ export type definitions = {
|
|
|
545
601
|
/** @description A list of Invitation IDs */
|
|
546
602
|
invitationIds: string[];
|
|
547
603
|
};
|
|
604
|
+
v1CreateOauthProvidersIntent: {
|
|
605
|
+
/** @description The ID of the User to add an Oauth provider to */
|
|
606
|
+
userId: string;
|
|
607
|
+
/** @description A list of Oauth providers. */
|
|
608
|
+
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
609
|
+
};
|
|
610
|
+
v1CreateOauthProvidersRequest: {
|
|
611
|
+
/** @enum {string} */
|
|
612
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS";
|
|
613
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
614
|
+
timestampMs: string;
|
|
615
|
+
/** @description Unique identifier for a given Organization. */
|
|
616
|
+
organizationId: string;
|
|
617
|
+
parameters: definitions["v1CreateOauthProvidersIntent"];
|
|
618
|
+
};
|
|
619
|
+
v1CreateOauthProvidersResult: {
|
|
620
|
+
/** @description A list of unique identifiers for Oauth Providers */
|
|
621
|
+
providerIds: string[];
|
|
622
|
+
};
|
|
548
623
|
v1CreateOrganizationIntent: {
|
|
549
624
|
/** @description Human-readable name for an Organization. */
|
|
550
625
|
organizationName: string;
|
|
@@ -674,6 +749,68 @@ export type definitions = {
|
|
|
674
749
|
/** @description A list of Private Key IDs and addresses. */
|
|
675
750
|
privateKeys: definitions["v1PrivateKeyResult"][];
|
|
676
751
|
};
|
|
752
|
+
v1CreateReadOnlySessionIntent: {
|
|
753
|
+
[key: string]: unknown;
|
|
754
|
+
};
|
|
755
|
+
v1CreateReadOnlySessionRequest: {
|
|
756
|
+
/** @enum {string} */
|
|
757
|
+
type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION";
|
|
758
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
759
|
+
timestampMs: string;
|
|
760
|
+
/** @description Unique identifier for a given Organization. */
|
|
761
|
+
organizationId: string;
|
|
762
|
+
parameters: definitions["v1CreateReadOnlySessionIntent"];
|
|
763
|
+
};
|
|
764
|
+
v1CreateReadOnlySessionResult: {
|
|
765
|
+
/** @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. */
|
|
766
|
+
organizationId: string;
|
|
767
|
+
/** @description Human-readable name for an Organization. */
|
|
768
|
+
organizationName: string;
|
|
769
|
+
/** @description Unique identifier for a given User. */
|
|
770
|
+
userId: string;
|
|
771
|
+
/** @description Human-readable name for a User. */
|
|
772
|
+
username: string;
|
|
773
|
+
/** @description String representing a read only session */
|
|
774
|
+
session: string;
|
|
775
|
+
/**
|
|
776
|
+
* Format: uint64
|
|
777
|
+
* @description UTC timestamp in seconds representing the expiry time for the read only session.
|
|
778
|
+
*/
|
|
779
|
+
sessionExpiry: string;
|
|
780
|
+
};
|
|
781
|
+
v1CreateReadWriteSessionIntent: {
|
|
782
|
+
/** @description Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
783
|
+
targetPublicKey: string;
|
|
784
|
+
/** @description Email of the user to create a read write session for */
|
|
785
|
+
email: string;
|
|
786
|
+
/** @description Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
787
|
+
apiKeyName?: string;
|
|
788
|
+
/** @description Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used. */
|
|
789
|
+
expirationSeconds?: string;
|
|
790
|
+
};
|
|
791
|
+
v1CreateReadWriteSessionRequest: {
|
|
792
|
+
/** @enum {string} */
|
|
793
|
+
type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION";
|
|
794
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
795
|
+
timestampMs: string;
|
|
796
|
+
/** @description Unique identifier for a given Organization. */
|
|
797
|
+
organizationId: string;
|
|
798
|
+
parameters: definitions["v1CreateReadWriteSessionIntent"];
|
|
799
|
+
};
|
|
800
|
+
v1CreateReadWriteSessionResult: {
|
|
801
|
+
/** @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. */
|
|
802
|
+
organizationId: string;
|
|
803
|
+
/** @description Human-readable name for an Organization. */
|
|
804
|
+
organizationName: string;
|
|
805
|
+
/** @description Unique identifier for a given User. */
|
|
806
|
+
userId: string;
|
|
807
|
+
/** @description Human-readable name for a User. */
|
|
808
|
+
username: string;
|
|
809
|
+
/** @description Unique identifier for the created API key. */
|
|
810
|
+
apiKeyId: string;
|
|
811
|
+
/** @description HPKE encrypted credential bundle */
|
|
812
|
+
credentialBundle: string;
|
|
813
|
+
};
|
|
677
814
|
v1CreateSubOrganizationIntent: {
|
|
678
815
|
/** @description Name for this sub-organization */
|
|
679
816
|
name: string;
|
|
@@ -721,14 +858,31 @@ export type definitions = {
|
|
|
721
858
|
/** @description Disable email auth for the sub-organization */
|
|
722
859
|
disableEmailAuth?: boolean;
|
|
723
860
|
};
|
|
861
|
+
v1CreateSubOrganizationIntentV5: {
|
|
862
|
+
/** @description Name for this sub-organization */
|
|
863
|
+
subOrganizationName: string;
|
|
864
|
+
/** @description Root users to create within this sub-organization */
|
|
865
|
+
rootUsers: definitions["v1RootUserParamsV2"][];
|
|
866
|
+
/**
|
|
867
|
+
* Format: int32
|
|
868
|
+
* @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
|
|
869
|
+
*/
|
|
870
|
+
rootQuorumThreshold: number;
|
|
871
|
+
/** @description The wallet to create for the sub-organization */
|
|
872
|
+
wallet?: definitions["v1WalletParams"];
|
|
873
|
+
/** @description Disable email recovery for the sub-organization */
|
|
874
|
+
disableEmailRecovery?: boolean;
|
|
875
|
+
/** @description Disable email auth for the sub-organization */
|
|
876
|
+
disableEmailAuth?: boolean;
|
|
877
|
+
};
|
|
724
878
|
v1CreateSubOrganizationRequest: {
|
|
725
879
|
/** @enum {string} */
|
|
726
|
-
type: "
|
|
880
|
+
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5";
|
|
727
881
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
728
882
|
timestampMs: string;
|
|
729
883
|
/** @description Unique identifier for a given Organization. */
|
|
730
884
|
organizationId: string;
|
|
731
|
-
parameters: definitions["
|
|
885
|
+
parameters: definitions["v1CreateSubOrganizationIntentV5"];
|
|
732
886
|
};
|
|
733
887
|
v1CreateSubOrganizationResult: {
|
|
734
888
|
subOrganizationId: string;
|
|
@@ -745,6 +899,11 @@ export type definitions = {
|
|
|
745
899
|
wallet?: definitions["v1WalletResult"];
|
|
746
900
|
rootUserIds?: string[];
|
|
747
901
|
};
|
|
902
|
+
v1CreateSubOrganizationResultV5: {
|
|
903
|
+
subOrganizationId: string;
|
|
904
|
+
wallet?: definitions["v1WalletResult"];
|
|
905
|
+
rootUserIds?: string[];
|
|
906
|
+
};
|
|
748
907
|
v1CreateUserTagIntent: {
|
|
749
908
|
/** @description Human-readable name for a User Tag. */
|
|
750
909
|
userTagName: string;
|
|
@@ -836,7 +995,7 @@ export type definitions = {
|
|
|
836
995
|
rk: boolean;
|
|
837
996
|
};
|
|
838
997
|
/** @enum {string} */
|
|
839
|
-
v1CredentialType: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256" | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256";
|
|
998
|
+
v1CredentialType: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256" | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" | "CREDENTIAL_TYPE_API_KEY_SECP256K1" | "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256";
|
|
840
999
|
/** @enum {string} */
|
|
841
1000
|
v1Curve: "CURVE_SECP256K1" | "CURVE_ED25519";
|
|
842
1001
|
v1DeleteApiKeysIntent: {
|
|
@@ -894,6 +1053,25 @@ export type definitions = {
|
|
|
894
1053
|
/** @description Unique identifier for a given Invitation. */
|
|
895
1054
|
invitationId: string;
|
|
896
1055
|
};
|
|
1056
|
+
v1DeleteOauthProvidersIntent: {
|
|
1057
|
+
/** @description The ID of the User to remove an Oauth provider from */
|
|
1058
|
+
userId: string;
|
|
1059
|
+
/** @description Unique identifier for a given Provider. */
|
|
1060
|
+
providerIds: string[];
|
|
1061
|
+
};
|
|
1062
|
+
v1DeleteOauthProvidersRequest: {
|
|
1063
|
+
/** @enum {string} */
|
|
1064
|
+
type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS";
|
|
1065
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1066
|
+
timestampMs: string;
|
|
1067
|
+
/** @description Unique identifier for a given Organization. */
|
|
1068
|
+
organizationId: string;
|
|
1069
|
+
parameters: definitions["v1DeleteOauthProvidersIntent"];
|
|
1070
|
+
};
|
|
1071
|
+
v1DeleteOauthProvidersResult: {
|
|
1072
|
+
/** @description A list of unique identifiers for Oauth Providers */
|
|
1073
|
+
providerIds: string[];
|
|
1074
|
+
};
|
|
897
1075
|
v1DeleteOrganizationIntent: {
|
|
898
1076
|
/** @description Unique identifier for a given Organization. */
|
|
899
1077
|
organizationId: string;
|
|
@@ -1003,15 +1181,31 @@ export type definitions = {
|
|
|
1003
1181
|
expirationSeconds?: string;
|
|
1004
1182
|
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
1005
1183
|
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
1184
|
+
/** @description Invalidate all other previously generated Email Auth API keys */
|
|
1185
|
+
invalidateExisting?: boolean;
|
|
1186
|
+
};
|
|
1187
|
+
v1EmailAuthIntentV2: {
|
|
1188
|
+
/** @description Email of the authenticating user. */
|
|
1189
|
+
email: string;
|
|
1190
|
+
/** @description Client-side public key generated by the user, to which the email auth bundle (credentials) will be encrypted. */
|
|
1191
|
+
targetPublicKey: string;
|
|
1192
|
+
/** @description Optional human-readable name for an API Key. If none provided, default to Email Auth - <Timestamp> */
|
|
1193
|
+
apiKeyName?: string;
|
|
1194
|
+
/** @description Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used. */
|
|
1195
|
+
expirationSeconds?: string;
|
|
1196
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
1197
|
+
emailCustomization?: definitions["v1EmailCustomizationParams"];
|
|
1198
|
+
/** @description Invalidate all other previously generated Email Auth API keys */
|
|
1199
|
+
invalidateExisting?: boolean;
|
|
1006
1200
|
};
|
|
1007
1201
|
v1EmailAuthRequest: {
|
|
1008
1202
|
/** @enum {string} */
|
|
1009
|
-
type: "
|
|
1203
|
+
type: "ACTIVITY_TYPE_EMAIL_AUTH_V2";
|
|
1010
1204
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1011
1205
|
timestampMs: string;
|
|
1012
1206
|
/** @description Unique identifier for a given Organization. */
|
|
1013
1207
|
organizationId: string;
|
|
1014
|
-
parameters: definitions["
|
|
1208
|
+
parameters: definitions["v1EmailAuthIntentV2"];
|
|
1015
1209
|
};
|
|
1016
1210
|
v1EmailAuthResult: {
|
|
1017
1211
|
/** @description Unique identifier for the authenticating User. */
|
|
@@ -1142,6 +1336,19 @@ export type definitions = {
|
|
|
1142
1336
|
/** @description A list of API keys. */
|
|
1143
1337
|
apiKeys: definitions["v1ApiKey"][];
|
|
1144
1338
|
};
|
|
1339
|
+
v1GetAttestationDocumentRequest: {
|
|
1340
|
+
/** @description Unique identifier for a given Organization. */
|
|
1341
|
+
organizationId: string;
|
|
1342
|
+
/** @description The enclave type, one of: ump, notarizer, signer, evm-parser */
|
|
1343
|
+
enclaveType: string;
|
|
1344
|
+
};
|
|
1345
|
+
v1GetAttestationDocumentResponse: {
|
|
1346
|
+
/**
|
|
1347
|
+
* Format: byte
|
|
1348
|
+
* @description Raw (CBOR-encoded) attestation document
|
|
1349
|
+
*/
|
|
1350
|
+
attestationDocument: string;
|
|
1351
|
+
};
|
|
1145
1352
|
v1GetAuthenticatorRequest: {
|
|
1146
1353
|
/** @description Unique identifier for a given Organization. */
|
|
1147
1354
|
organizationId: string;
|
|
@@ -1162,6 +1369,24 @@ export type definitions = {
|
|
|
1162
1369
|
/** @description A list of authenticators. */
|
|
1163
1370
|
authenticators: definitions["v1Authenticator"][];
|
|
1164
1371
|
};
|
|
1372
|
+
v1GetOauthProvidersRequest: {
|
|
1373
|
+
/** @description Unique identifier for a given Organization. */
|
|
1374
|
+
organizationId: string;
|
|
1375
|
+
/** @description Unique identifier for a given User. */
|
|
1376
|
+
userId?: string;
|
|
1377
|
+
};
|
|
1378
|
+
v1GetOauthProvidersResponse: {
|
|
1379
|
+
/** @description A list of Oauth Providers */
|
|
1380
|
+
oauthProviders: definitions["v1OauthProvider"][];
|
|
1381
|
+
};
|
|
1382
|
+
v1GetOrganizationConfigsRequest: {
|
|
1383
|
+
/** @description Unique identifier for a given Organization. */
|
|
1384
|
+
organizationId: string;
|
|
1385
|
+
};
|
|
1386
|
+
v1GetOrganizationConfigsResponse: {
|
|
1387
|
+
/** @description Organization configs including quorum settings and organization features */
|
|
1388
|
+
configs: definitions["v1Config"];
|
|
1389
|
+
};
|
|
1165
1390
|
v1GetOrganizationRequest: {
|
|
1166
1391
|
/** @description Unique identifier for a given Organization. */
|
|
1167
1392
|
organizationId: string;
|
|
@@ -1209,7 +1434,7 @@ export type definitions = {
|
|
|
1209
1434
|
v1GetSubOrgIdsRequest: {
|
|
1210
1435
|
/** @description Unique identifier for the parent Organization. This is used to find sub-organizations within it. */
|
|
1211
1436
|
organizationId: string;
|
|
1212
|
-
/** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL' or 'PUBLIC_KEY' */
|
|
1437
|
+
/** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'OIDC_TOKEN' or 'PUBLIC_KEY' */
|
|
1213
1438
|
filterType?: string;
|
|
1214
1439
|
/** @description The value of the filter to apply for the specified type. For example, a specific email or name string. */
|
|
1215
1440
|
filterValue?: string;
|
|
@@ -1394,7 +1619,7 @@ export type definitions = {
|
|
|
1394
1619
|
userId: string;
|
|
1395
1620
|
};
|
|
1396
1621
|
v1Intent: {
|
|
1397
|
-
createOrganizationIntent
|
|
1622
|
+
createOrganizationIntent?: definitions["v1CreateOrganizationIntent"];
|
|
1398
1623
|
createAuthenticatorsIntent?: definitions["v1CreateAuthenticatorsIntent"];
|
|
1399
1624
|
createUsersIntent?: definitions["v1CreateUsersIntent"];
|
|
1400
1625
|
createPrivateKeysIntent?: definitions["v1CreatePrivateKeysIntent"];
|
|
@@ -1457,6 +1682,14 @@ export type definitions = {
|
|
|
1457
1682
|
importPrivateKeyIntent?: definitions["v1ImportPrivateKeyIntent"];
|
|
1458
1683
|
createPoliciesIntent?: definitions["v1CreatePoliciesIntent"];
|
|
1459
1684
|
signRawPayloadsIntent?: definitions["v1SignRawPayloadsIntent"];
|
|
1685
|
+
createReadOnlySessionIntent?: definitions["v1CreateReadOnlySessionIntent"];
|
|
1686
|
+
createOauthProvidersIntent?: definitions["v1CreateOauthProvidersIntent"];
|
|
1687
|
+
deleteOauthProvidersIntent?: definitions["v1DeleteOauthProvidersIntent"];
|
|
1688
|
+
createSubOrganizationIntentV5?: definitions["v1CreateSubOrganizationIntentV5"];
|
|
1689
|
+
oauthIntent?: definitions["v1OauthIntent"];
|
|
1690
|
+
createApiKeysIntentV2?: definitions["v1CreateApiKeysIntentV2"];
|
|
1691
|
+
createReadWriteSessionIntent?: definitions["v1CreateReadWriteSessionIntent"];
|
|
1692
|
+
emailAuthIntentV2?: definitions["v1EmailAuthIntentV2"];
|
|
1460
1693
|
};
|
|
1461
1694
|
v1Invitation: {
|
|
1462
1695
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -1511,6 +1744,55 @@ export type definitions = {
|
|
|
1511
1744
|
v1NOOPCodegenAnchorResponse: {
|
|
1512
1745
|
stamp: definitions["v1WebAuthnStamp"];
|
|
1513
1746
|
};
|
|
1747
|
+
v1OauthIntent: {
|
|
1748
|
+
/** @description Base64 encoded OIDC token */
|
|
1749
|
+
oidcToken: string;
|
|
1750
|
+
/** @description Client-side public key generated by the user, to which the oauth bundle (credentials) will be encrypted. */
|
|
1751
|
+
targetPublicKey: string;
|
|
1752
|
+
/** @description Optional human-readable name for an API Key. If none provided, default to Oauth - <Timestamp> */
|
|
1753
|
+
apiKeyName?: string;
|
|
1754
|
+
/** @description Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used. */
|
|
1755
|
+
expirationSeconds?: string;
|
|
1756
|
+
};
|
|
1757
|
+
v1OauthProvider: {
|
|
1758
|
+
/** @description Unique identifier for an OAuth Provider */
|
|
1759
|
+
providerId: string;
|
|
1760
|
+
/** @description Human-readable name to identify a Provider. */
|
|
1761
|
+
providerName: string;
|
|
1762
|
+
/** @description The URL at which to fetch the OIDC token signers */
|
|
1763
|
+
jwksUri: string;
|
|
1764
|
+
/** @description Expected audience ('aud' attribute of the signed token) which represents the app ID */
|
|
1765
|
+
audience: string;
|
|
1766
|
+
/** @description Expected subject ('sub' attribute of the signed token) which represents the user ID */
|
|
1767
|
+
subject: string;
|
|
1768
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
1769
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
1770
|
+
};
|
|
1771
|
+
v1OauthProviderParams: {
|
|
1772
|
+
/** @description Human-readable name to identify a Provider. */
|
|
1773
|
+
providerName: string;
|
|
1774
|
+
/** @description The URL at which to fetch the OIDC token signers */
|
|
1775
|
+
jwksUri: string;
|
|
1776
|
+
/** @description Base64 encoded OIDC token */
|
|
1777
|
+
oidcToken: string;
|
|
1778
|
+
};
|
|
1779
|
+
v1OauthRequest: {
|
|
1780
|
+
/** @enum {string} */
|
|
1781
|
+
type: "ACTIVITY_TYPE_OAUTH";
|
|
1782
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1783
|
+
timestampMs: string;
|
|
1784
|
+
/** @description Unique identifier for a given Organization. */
|
|
1785
|
+
organizationId: string;
|
|
1786
|
+
parameters: definitions["v1OauthIntent"];
|
|
1787
|
+
};
|
|
1788
|
+
v1OauthResult: {
|
|
1789
|
+
/** @description Unique identifier for the authenticating User. */
|
|
1790
|
+
userId: string;
|
|
1791
|
+
/** @description Unique identifier for the created API key. */
|
|
1792
|
+
apiKeyId: string;
|
|
1793
|
+
/** @description HPKE encrypted credential bundle */
|
|
1794
|
+
credentialBundle: string;
|
|
1795
|
+
};
|
|
1514
1796
|
/** @enum {string} */
|
|
1515
1797
|
v1Operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
1516
1798
|
v1OrganizationData: {
|
|
@@ -1698,6 +1980,12 @@ export type definitions = {
|
|
|
1698
1980
|
importPrivateKeyResult?: definitions["v1ImportPrivateKeyResult"];
|
|
1699
1981
|
createPoliciesResult?: definitions["v1CreatePoliciesResult"];
|
|
1700
1982
|
signRawPayloadsResult?: definitions["v1SignRawPayloadsResult"];
|
|
1983
|
+
createReadOnlySessionResult?: definitions["v1CreateReadOnlySessionResult"];
|
|
1984
|
+
createOauthProvidersResult?: definitions["v1CreateOauthProvidersResult"];
|
|
1985
|
+
deleteOauthProvidersResult?: definitions["v1DeleteOauthProvidersResult"];
|
|
1986
|
+
createSubOrganizationResultV5?: definitions["v1CreateSubOrganizationResultV5"];
|
|
1987
|
+
oauthResult?: definitions["v1OauthResult"];
|
|
1988
|
+
createReadWriteSessionResult?: definitions["v1CreateReadWriteSessionResult"];
|
|
1701
1989
|
};
|
|
1702
1990
|
v1RootUserParams: {
|
|
1703
1991
|
/** @description Human-readable name for a User. */
|
|
@@ -1709,6 +1997,18 @@ export type definitions = {
|
|
|
1709
1997
|
/** @description A list of Authenticator parameters. */
|
|
1710
1998
|
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
1711
1999
|
};
|
|
2000
|
+
v1RootUserParamsV2: {
|
|
2001
|
+
/** @description Human-readable name for a User. */
|
|
2002
|
+
userName: string;
|
|
2003
|
+
/** @description The user's email address. */
|
|
2004
|
+
userEmail?: string;
|
|
2005
|
+
/** @description A list of API Key parameters. */
|
|
2006
|
+
apiKeys: definitions["v1ApiKeyParams"][];
|
|
2007
|
+
/** @description A list of Authenticator parameters. */
|
|
2008
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
2009
|
+
/** @description A list of Oauth providers. */
|
|
2010
|
+
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
2011
|
+
};
|
|
1712
2012
|
v1Selector: {
|
|
1713
2013
|
subject?: string;
|
|
1714
2014
|
operator?: definitions["v1Operator"];
|
|
@@ -1999,6 +2299,8 @@ export type definitions = {
|
|
|
1999
2299
|
apiKeys: definitions["v1ApiKey"][];
|
|
2000
2300
|
/** @description A list of User Tag IDs. */
|
|
2001
2301
|
userTags: string[];
|
|
2302
|
+
/** @description A list of Oauth Providers. */
|
|
2303
|
+
oauthProviders: definitions["v1OauthProvider"][];
|
|
2002
2304
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
2003
2305
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
2004
2306
|
};
|
|
@@ -2171,6 +2473,24 @@ export type operations = {
|
|
|
2171
2473
|
};
|
|
2172
2474
|
};
|
|
2173
2475
|
};
|
|
2476
|
+
/** Get the attestation document corresponding to an enclave. */
|
|
2477
|
+
PublicApiService_GetAttestationDocument: {
|
|
2478
|
+
parameters: {
|
|
2479
|
+
body: {
|
|
2480
|
+
body: definitions["v1GetAttestationDocumentRequest"];
|
|
2481
|
+
};
|
|
2482
|
+
};
|
|
2483
|
+
responses: {
|
|
2484
|
+
/** A successful response. */
|
|
2485
|
+
200: {
|
|
2486
|
+
schema: definitions["v1GetAttestationDocumentResponse"];
|
|
2487
|
+
};
|
|
2488
|
+
/** An unexpected error response. */
|
|
2489
|
+
default: {
|
|
2490
|
+
schema: definitions["rpcStatus"];
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2493
|
+
};
|
|
2174
2494
|
/** Get details about an authenticator */
|
|
2175
2495
|
PublicApiService_GetAuthenticator: {
|
|
2176
2496
|
parameters: {
|
|
@@ -2207,6 +2527,24 @@ export type operations = {
|
|
|
2207
2527
|
};
|
|
2208
2528
|
};
|
|
2209
2529
|
};
|
|
2530
|
+
/** Get details about Oauth providers for a user */
|
|
2531
|
+
PublicApiService_GetOauthProviders: {
|
|
2532
|
+
parameters: {
|
|
2533
|
+
body: {
|
|
2534
|
+
body: definitions["v1GetOauthProvidersRequest"];
|
|
2535
|
+
};
|
|
2536
|
+
};
|
|
2537
|
+
responses: {
|
|
2538
|
+
/** A successful response. */
|
|
2539
|
+
200: {
|
|
2540
|
+
schema: definitions["v1GetOauthProvidersResponse"];
|
|
2541
|
+
};
|
|
2542
|
+
/** An unexpected error response. */
|
|
2543
|
+
default: {
|
|
2544
|
+
schema: definitions["rpcStatus"];
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
};
|
|
2210
2548
|
/** Get details about an Organization */
|
|
2211
2549
|
PublicApiService_GetOrganization: {
|
|
2212
2550
|
parameters: {
|
|
@@ -2225,6 +2563,24 @@ export type operations = {
|
|
|
2225
2563
|
};
|
|
2226
2564
|
};
|
|
2227
2565
|
};
|
|
2566
|
+
/** Get quorum settings and features for an organization */
|
|
2567
|
+
PublicApiService_GetOrganizationConfigs: {
|
|
2568
|
+
parameters: {
|
|
2569
|
+
body: {
|
|
2570
|
+
body: definitions["v1GetOrganizationConfigsRequest"];
|
|
2571
|
+
};
|
|
2572
|
+
};
|
|
2573
|
+
responses: {
|
|
2574
|
+
/** A successful response. */
|
|
2575
|
+
200: {
|
|
2576
|
+
schema: definitions["v1GetOrganizationConfigsResponse"];
|
|
2577
|
+
};
|
|
2578
|
+
/** An unexpected error response. */
|
|
2579
|
+
default: {
|
|
2580
|
+
schema: definitions["rpcStatus"];
|
|
2581
|
+
};
|
|
2582
|
+
};
|
|
2583
|
+
};
|
|
2228
2584
|
/** Get details about a Policy */
|
|
2229
2585
|
PublicApiService_GetPolicy: {
|
|
2230
2586
|
parameters: {
|
|
@@ -2567,6 +2923,24 @@ export type operations = {
|
|
|
2567
2923
|
};
|
|
2568
2924
|
};
|
|
2569
2925
|
};
|
|
2926
|
+
/** Creates Oauth providers for a specified user - BETA */
|
|
2927
|
+
PublicApiService_CreateOauthProviders: {
|
|
2928
|
+
parameters: {
|
|
2929
|
+
body: {
|
|
2930
|
+
body: definitions["v1CreateOauthProvidersRequest"];
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
responses: {
|
|
2934
|
+
/** A successful response. */
|
|
2935
|
+
200: {
|
|
2936
|
+
schema: definitions["v1ActivityResponse"];
|
|
2937
|
+
};
|
|
2938
|
+
/** An unexpected error response. */
|
|
2939
|
+
default: {
|
|
2940
|
+
schema: definitions["rpcStatus"];
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2570
2944
|
/** Create new Policies */
|
|
2571
2945
|
PublicApiService_CreatePolicies: {
|
|
2572
2946
|
parameters: {
|
|
@@ -2639,6 +3013,42 @@ export type operations = {
|
|
|
2639
3013
|
};
|
|
2640
3014
|
};
|
|
2641
3015
|
};
|
|
3016
|
+
/** Create a read only session for a user (valid for 1 hour) */
|
|
3017
|
+
PublicApiService_CreateReadOnlySession: {
|
|
3018
|
+
parameters: {
|
|
3019
|
+
body: {
|
|
3020
|
+
body: definitions["v1CreateReadOnlySessionRequest"];
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
3023
|
+
responses: {
|
|
3024
|
+
/** A successful response. */
|
|
3025
|
+
200: {
|
|
3026
|
+
schema: definitions["v1ActivityResponse"];
|
|
3027
|
+
};
|
|
3028
|
+
/** An unexpected error response. */
|
|
3029
|
+
default: {
|
|
3030
|
+
schema: definitions["rpcStatus"];
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
};
|
|
3034
|
+
/** Create a read write session for a user */
|
|
3035
|
+
PublicApiService_CreateReadWriteSession: {
|
|
3036
|
+
parameters: {
|
|
3037
|
+
body: {
|
|
3038
|
+
body: definitions["v1CreateReadWriteSessionRequest"];
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
responses: {
|
|
3042
|
+
/** A successful response. */
|
|
3043
|
+
200: {
|
|
3044
|
+
schema: definitions["v1ActivityResponse"];
|
|
3045
|
+
};
|
|
3046
|
+
/** An unexpected error response. */
|
|
3047
|
+
default: {
|
|
3048
|
+
schema: definitions["rpcStatus"];
|
|
3049
|
+
};
|
|
3050
|
+
};
|
|
3051
|
+
};
|
|
2642
3052
|
/** Create a new Sub-Organization */
|
|
2643
3053
|
PublicApiService_CreateSubOrganization: {
|
|
2644
3054
|
parameters: {
|
|
@@ -2783,6 +3193,24 @@ export type operations = {
|
|
|
2783
3193
|
};
|
|
2784
3194
|
};
|
|
2785
3195
|
};
|
|
3196
|
+
/** Removes Oauth providers for a specified user - BETA */
|
|
3197
|
+
PublicApiService_DeleteOauthProviders: {
|
|
3198
|
+
parameters: {
|
|
3199
|
+
body: {
|
|
3200
|
+
body: definitions["v1DeleteOauthProvidersRequest"];
|
|
3201
|
+
};
|
|
3202
|
+
};
|
|
3203
|
+
responses: {
|
|
3204
|
+
/** A successful response. */
|
|
3205
|
+
200: {
|
|
3206
|
+
schema: definitions["v1ActivityResponse"];
|
|
3207
|
+
};
|
|
3208
|
+
/** An unexpected error response. */
|
|
3209
|
+
default: {
|
|
3210
|
+
schema: definitions["rpcStatus"];
|
|
3211
|
+
};
|
|
3212
|
+
};
|
|
3213
|
+
};
|
|
2786
3214
|
/** Delete an existing Policy */
|
|
2787
3215
|
PublicApiService_DeletePolicy: {
|
|
2788
3216
|
parameters: {
|
|
@@ -3017,6 +3445,24 @@ export type operations = {
|
|
|
3017
3445
|
};
|
|
3018
3446
|
};
|
|
3019
3447
|
};
|
|
3448
|
+
/** Authenticate a user with an Oidc token (Oauth) - BETA */
|
|
3449
|
+
PublicApiService_Oauth: {
|
|
3450
|
+
parameters: {
|
|
3451
|
+
body: {
|
|
3452
|
+
body: definitions["v1OauthRequest"];
|
|
3453
|
+
};
|
|
3454
|
+
};
|
|
3455
|
+
responses: {
|
|
3456
|
+
/** A successful response. */
|
|
3457
|
+
200: {
|
|
3458
|
+
schema: definitions["v1ActivityResponse"];
|
|
3459
|
+
};
|
|
3460
|
+
/** An unexpected error response. */
|
|
3461
|
+
default: {
|
|
3462
|
+
schema: definitions["rpcStatus"];
|
|
3463
|
+
};
|
|
3464
|
+
};
|
|
3465
|
+
};
|
|
3020
3466
|
/** Completes the process of recovering a user by adding an authenticator */
|
|
3021
3467
|
PublicApiService_RecoverUser: {
|
|
3022
3468
|
parameters: {
|