@dfns/sdk 0.2.2 → 0.2.3-rc.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.
- package/baseAuthApi.ts +236 -0
- package/codegen/Assets/AssetsClient.ts +137 -0
- package/codegen/Assets/DelegatedAssetsClient.ts +201 -0
- package/codegen/Assets/index.ts +3 -0
- package/codegen/Assets/types.ts +45 -0
- package/codegen/Auth/AuthClient.ts +729 -0
- package/codegen/Auth/DelegatedAuthClient.ts +1508 -0
- package/codegen/Auth/index.ts +3 -0
- package/codegen/Auth/types.ts +262 -0
- package/codegen/Blockchains/BlockchainsClient.ts +25 -0
- package/codegen/Blockchains/DelegatedBlockchainsClient.ts +25 -0
- package/codegen/Blockchains/index.ts +3 -0
- package/codegen/Blockchains/types.ts +8 -0
- package/codegen/Callbacks/CallbacksClient.ts +107 -0
- package/codegen/Callbacks/DelegatedCallbacksClient.ts +172 -0
- package/codegen/Callbacks/index.ts +3 -0
- package/codegen/Callbacks/{types.d.ts → types.ts} +26 -18
- package/codegen/Permissions/DelegatedPermissionsClient.ts +468 -0
- package/codegen/Permissions/PermissionsClient.ts +223 -0
- package/codegen/Permissions/index.ts +3 -0
- package/codegen/Permissions/types.ts +82 -0
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.ts +99 -0
- package/codegen/PolicyExecution/PolicyExecutionClient.ts +63 -0
- package/codegen/PolicyExecution/index.ts +3 -0
- package/codegen/PolicyExecution/types.ts +24 -0
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.ts +384 -0
- package/codegen/PolicyManagement/PolicyManagementClient.ts +205 -0
- package/codegen/PolicyManagement/index.ts +3 -0
- package/codegen/PolicyManagement/{types.d.ts → types.ts} +56 -40
- package/codegen/PublicKeys/DelegatedPublicKeysClient.ts +299 -0
- package/codegen/PublicKeys/PublicKeysClient.ts +179 -0
- package/codegen/PublicKeys/index.ts +3 -0
- package/codegen/PublicKeys/types.ts +68 -0
- package/codegen/Signers/DelegatedSignersClient.ts +22 -0
- package/codegen/Signers/SignersClient.ts +22 -0
- package/codegen/Signers/index.ts +3 -0
- package/codegen/Signers/types.ts +3 -0
- package/codegen/Wallets/DelegatedWalletsClient.ts +511 -0
- package/codegen/Wallets/WalletsClient.ts +310 -0
- package/codegen/Wallets/index.ts +3 -0
- package/codegen/Wallets/types.ts +137 -0
- package/codegen/datamodel/ApiKeys/errors.ts +9 -0
- package/codegen/datamodel/ApiKeys/index.ts +3 -0
- package/codegen/datamodel/ApiKeys/responses.ts +68 -0
- package/codegen/datamodel/ApiKeys/types.ts +81 -0
- package/codegen/datamodel/Assets/errors.ts +24 -0
- package/codegen/datamodel/Assets/index.ts +3 -0
- package/codegen/datamodel/Assets/responses.ts +146 -0
- package/codegen/datamodel/Assets/types.ts +417 -0
- package/codegen/datamodel/Auth/index.ts +2 -0
- package/codegen/datamodel/Auth/responses.ts +1110 -0
- package/codegen/datamodel/Auth/types.ts +1404 -0
- package/codegen/datamodel/BlockchainIndexing/index.ts +1 -0
- package/codegen/datamodel/BlockchainIndexing/{responses.d.ts → responses.ts} +10 -5
- package/codegen/datamodel/Blockchains/index.ts +2 -0
- package/codegen/datamodel/Blockchains/responses.ts +41 -0
- package/codegen/datamodel/Blockchains/types.ts +695 -0
- package/codegen/datamodel/Callbacks/index.ts +2 -0
- package/codegen/datamodel/Callbacks/responses.ts +110 -0
- package/codegen/datamodel/Callbacks/types.ts +100 -0
- package/codegen/datamodel/Foundations/errors.ts +299 -0
- package/codegen/datamodel/Foundations/index.ts +2 -0
- package/codegen/datamodel/Foundations/types.ts +57921 -0
- package/codegen/datamodel/Orgs/index.ts +2 -0
- package/codegen/datamodel/Orgs/responses.ts +104 -0
- package/codegen/datamodel/Orgs/types.ts +322 -0
- package/codegen/datamodel/Permissions/index.ts +2 -0
- package/codegen/datamodel/Permissions/responses.ts +258 -0
- package/codegen/datamodel/Permissions/types.ts +221 -0
- package/codegen/datamodel/PolicyExecution/errors.ts +24 -0
- package/codegen/datamodel/PolicyExecution/index.ts +3 -0
- package/codegen/datamodel/PolicyExecution/responses.ts +59 -0
- package/codegen/datamodel/PolicyExecution/types.ts +122 -0
- package/codegen/datamodel/PolicyManagement/index.ts +2 -0
- package/codegen/datamodel/PolicyManagement/responses.ts +255 -0
- package/codegen/datamodel/PolicyManagement/types.ts +711 -0
- package/codegen/datamodel/PublicKeys/index.ts +2 -0
- package/codegen/datamodel/PublicKeys/responses.ts +190 -0
- package/codegen/datamodel/PublicKeys/types.ts +558 -0
- package/codegen/datamodel/Signers/index.ts +2 -0
- package/codegen/datamodel/Signers/responses.ts +64 -0
- package/codegen/datamodel/Signers/types.ts +31 -0
- package/codegen/datamodel/Wallets/errors.ts +0 -0
- package/codegen/datamodel/Wallets/index.ts +2 -0
- package/codegen/datamodel/Wallets/responses.ts +318 -0
- package/codegen/datamodel/Wallets/types.ts +1268 -0
- package/dfnsApiClient.ts +76 -0
- package/dfnsAuthenticator.ts +59 -0
- package/dfnsDelegatedApiClient.ts +75 -0
- package/dfnsError.ts +5 -0
- package/generated/permissions/client.ts +125 -0
- package/generated/permissions/delegatedClient.ts +266 -0
- package/generated/permissions/index.ts +3 -0
- package/generated/permissions/types.ts +202 -0
- package/generated/policies/client.ts +110 -0
- package/generated/policies/delegatedClient.ts +223 -0
- package/generated/policies/index.ts +3 -0
- package/generated/policies/{types.d.ts → types.ts} +29 -17
- package/generated/signers/client.ts +22 -0
- package/generated/signers/delegatedClient.ts +23 -0
- package/generated/signers/index.ts +3 -0
- package/generated/signers/{types.d.ts → types.ts} +1 -0
- package/generated/wallets/client.ts +282 -0
- package/generated/wallets/delegatedClient.ts +507 -0
- package/generated/wallets/index.ts +3 -0
- package/generated/wallets/{types.d.ts → types.ts} +120 -48
- package/generated/webhooks/client.ts +124 -0
- package/generated/webhooks/delegatedClient.ts +237 -0
- package/generated/webhooks/index.ts +3 -0
- package/generated/webhooks/{types.d.ts → types.ts} +34 -16
- package/index.ts +7 -0
- package/package.json +1 -8
- package/project.json +14 -0
- package/signer.ts +60 -0
- package/store.ts +99 -0
- package/tsconfig.json +7 -0
- package/typedoc.json +21 -0
- package/types/policies.ts +1 -0
- package/types/signers.ts +1 -0
- package/types/wallets.ts +1 -0
- package/types/webhooks.ts +1 -0
- package/utils/base64.ts +19 -0
- package/utils/fetch.ts +130 -0
- package/utils/index.ts +4 -0
- package/utils/nonce.ts +12 -0
- package/utils/url.ts +19 -0
- package/baseAuthApi.d.ts +0 -113
- package/baseAuthApi.js +0 -97
- package/codegen/Assets/AssetsClient.d.ts +0 -13
- package/codegen/Assets/AssetsClient.js +0 -93
- package/codegen/Assets/DelegatedAssetsClient.d.ts +0 -16
- package/codegen/Assets/DelegatedAssetsClient.js +0 -124
- package/codegen/Assets/index.d.ts +0 -3
- package/codegen/Assets/index.js +0 -19
- package/codegen/Assets/types.d.ts +0 -37
- package/codegen/Assets/types.js +0 -2
- package/codegen/Auth/AuthClient.d.ts +0 -50
- package/codegen/Auth/AuthClient.js +0 -518
- package/codegen/Auth/DelegatedAuthClient.d.ts +0 -78
- package/codegen/Auth/DelegatedAuthClient.js +0 -936
- package/codegen/Auth/index.d.ts +0 -3
- package/codegen/Auth/index.js +0 -19
- package/codegen/Auth/types.d.ts +0 -177
- package/codegen/Auth/types.js +0 -2
- package/codegen/Blockchains/BlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/BlockchainsClient.js +0 -23
- package/codegen/Blockchains/DelegatedBlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/DelegatedBlockchainsClient.js +0 -23
- package/codegen/Blockchains/index.d.ts +0 -3
- package/codegen/Blockchains/index.js +0 -19
- package/codegen/Blockchains/types.d.ts +0 -6
- package/codegen/Blockchains/types.js +0 -2
- package/codegen/Callbacks/CallbacksClient.d.ts +0 -12
- package/codegen/Callbacks/CallbacksClient.js +0 -78
- package/codegen/Callbacks/DelegatedCallbacksClient.d.ts +0 -15
- package/codegen/Callbacks/DelegatedCallbacksClient.js +0 -110
- package/codegen/Callbacks/index.d.ts +0 -3
- package/codegen/Callbacks/index.js +0 -19
- package/codegen/Callbacks/types.js +0 -2
- package/codegen/Permissions/DelegatedPermissionsClient.d.ts +0 -27
- package/codegen/Permissions/DelegatedPermissionsClient.js +0 -284
- package/codegen/Permissions/PermissionsClient.d.ts +0 -18
- package/codegen/Permissions/PermissionsClient.js +0 -156
- package/codegen/Permissions/index.d.ts +0 -3
- package/codegen/Permissions/index.js +0 -19
- package/codegen/Permissions/types.d.ts +0 -62
- package/codegen/Permissions/types.js +0 -2
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.d.ts +0 -11
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.js +0 -61
- package/codegen/PolicyExecution/PolicyExecutionClient.d.ts +0 -9
- package/codegen/PolicyExecution/PolicyExecutionClient.js +0 -45
- package/codegen/PolicyExecution/index.d.ts +0 -3
- package/codegen/PolicyExecution/index.js +0 -19
- package/codegen/PolicyExecution/types.d.ts +0 -18
- package/codegen/PolicyExecution/types.js +0 -2
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +0 -25
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +0 -240
- package/codegen/PolicyManagement/PolicyManagementClient.d.ts +0 -18
- package/codegen/PolicyManagement/PolicyManagementClient.js +0 -146
- package/codegen/PolicyManagement/index.d.ts +0 -3
- package/codegen/PolicyManagement/index.js +0 -19
- package/codegen/PolicyManagement/types.js +0 -2
- package/codegen/PublicKeys/DelegatedPublicKeysClient.d.ts +0 -21
- package/codegen/PublicKeys/DelegatedPublicKeysClient.js +0 -189
- package/codegen/PublicKeys/PublicKeysClient.d.ts +0 -16
- package/codegen/PublicKeys/PublicKeysClient.js +0 -128
- package/codegen/PublicKeys/index.d.ts +0 -3
- package/codegen/PublicKeys/index.js +0 -19
- package/codegen/PublicKeys/types.d.ts +0 -51
- package/codegen/PublicKeys/types.js +0 -2
- package/codegen/Signers/DelegatedSignersClient.d.ts +0 -7
- package/codegen/Signers/DelegatedSignersClient.js +0 -22
- package/codegen/Signers/SignersClient.d.ts +0 -7
- package/codegen/Signers/SignersClient.js +0 -22
- package/codegen/Signers/index.d.ts +0 -3
- package/codegen/Signers/index.js +0 -19
- package/codegen/Signers/types.d.ts +0 -2
- package/codegen/Signers/types.js +0 -2
- package/codegen/Wallets/DelegatedWalletsClient.d.ts +0 -32
- package/codegen/Wallets/DelegatedWalletsClient.js +0 -325
- package/codegen/Wallets/WalletsClient.d.ts +0 -24
- package/codegen/Wallets/WalletsClient.js +0 -219
- package/codegen/Wallets/index.d.ts +0 -3
- package/codegen/Wallets/index.js +0 -19
- package/codegen/Wallets/types.d.ts +0 -101
- package/codegen/Wallets/types.js +0 -2
- package/codegen/datamodel/ApiKeys/errors.d.ts +0 -6
- package/codegen/datamodel/ApiKeys/errors.js +0 -15
- package/codegen/datamodel/ApiKeys/index.d.ts +0 -3
- package/codegen/datamodel/ApiKeys/index.js +0 -19
- package/codegen/datamodel/ApiKeys/responses.d.ts +0 -25
- package/codegen/datamodel/ApiKeys/responses.js +0 -2
- package/codegen/datamodel/ApiKeys/types.d.ts +0 -32
- package/codegen/datamodel/ApiKeys/types.js +0 -11
- package/codegen/datamodel/Assets/errors.d.ts +0 -11
- package/codegen/datamodel/Assets/errors.js +0 -17
- package/codegen/datamodel/Assets/index.d.ts +0 -3
- package/codegen/datamodel/Assets/index.js +0 -19
- package/codegen/datamodel/Assets/responses.d.ts +0 -47
- package/codegen/datamodel/Assets/responses.js +0 -2
- package/codegen/datamodel/Assets/types.d.ts +0 -225
- package/codegen/datamodel/Assets/types.js +0 -75
- package/codegen/datamodel/Auth/errors.js +0 -1
- package/codegen/datamodel/Auth/index.d.ts +0 -2
- package/codegen/datamodel/Auth/index.js +0 -18
- package/codegen/datamodel/Auth/responses.d.ts +0 -358
- package/codegen/datamodel/Auth/responses.js +0 -2
- package/codegen/datamodel/Auth/types.d.ts +0 -615
- package/codegen/datamodel/Auth/types.js +0 -127
- package/codegen/datamodel/BlockchainIndexing/errors.js +0 -1
- package/codegen/datamodel/BlockchainIndexing/index.d.ts +0 -1
- package/codegen/datamodel/BlockchainIndexing/index.js +0 -17
- package/codegen/datamodel/BlockchainIndexing/responses.js +0 -2
- package/codegen/datamodel/BlockchainIndexing/types.js +0 -1
- package/codegen/datamodel/Blockchains/errors.js +0 -1
- package/codegen/datamodel/Blockchains/index.d.ts +0 -2
- package/codegen/datamodel/Blockchains/index.js +0 -18
- package/codegen/datamodel/Blockchains/responses.d.ts +0 -12
- package/codegen/datamodel/Blockchains/responses.js +0 -2
- package/codegen/datamodel/Blockchains/types.d.ts +0 -270
- package/codegen/datamodel/Blockchains/types.js +0 -53
- package/codegen/datamodel/Callbacks/errors.js +0 -1
- package/codegen/datamodel/Callbacks/index.d.ts +0 -2
- package/codegen/datamodel/Callbacks/index.js +0 -18
- package/codegen/datamodel/Callbacks/responses.d.ts +0 -36
- package/codegen/datamodel/Callbacks/responses.js +0 -2
- package/codegen/datamodel/Callbacks/types.d.ts +0 -43
- package/codegen/datamodel/Callbacks/types.js +0 -39
- package/codegen/datamodel/Foundations/errors.d.ts +0 -131
- package/codegen/datamodel/Foundations/errors.js +0 -182
- package/codegen/datamodel/Foundations/index.d.ts +0 -2
- package/codegen/datamodel/Foundations/index.js +0 -18
- package/codegen/datamodel/Foundations/responses.js +0 -1
- package/codegen/datamodel/Foundations/types.d.ts +0 -9759
- package/codegen/datamodel/Foundations/types.js +0 -57755
- package/codegen/datamodel/Orgs/errors.js +0 -1
- package/codegen/datamodel/Orgs/index.d.ts +0 -2
- package/codegen/datamodel/Orgs/index.js +0 -18
- package/codegen/datamodel/Orgs/responses.d.ts +0 -45
- package/codegen/datamodel/Orgs/responses.js +0 -2
- package/codegen/datamodel/Orgs/types.d.ts +0 -240
- package/codegen/datamodel/Orgs/types.js +0 -39
- package/codegen/datamodel/Permissions/errors.js +0 -1
- package/codegen/datamodel/Permissions/index.d.ts +0 -2
- package/codegen/datamodel/Permissions/index.js +0 -18
- package/codegen/datamodel/Permissions/responses.d.ts +0 -75
- package/codegen/datamodel/Permissions/responses.js +0 -2
- package/codegen/datamodel/Permissions/types.d.ts +0 -93
- package/codegen/datamodel/Permissions/types.js +0 -43
- package/codegen/datamodel/PolicyExecution/errors.d.ts +0 -11
- package/codegen/datamodel/PolicyExecution/errors.js +0 -17
- package/codegen/datamodel/PolicyExecution/index.d.ts +0 -3
- package/codegen/datamodel/PolicyExecution/index.js +0 -19
- package/codegen/datamodel/PolicyExecution/responses.d.ts +0 -19
- package/codegen/datamodel/PolicyExecution/responses.js +0 -2
- package/codegen/datamodel/PolicyExecution/types.d.ts +0 -60
- package/codegen/datamodel/PolicyExecution/types.js +0 -17
- package/codegen/datamodel/PolicyManagement/errors.js +0 -1
- package/codegen/datamodel/PolicyManagement/index.d.ts +0 -2
- package/codegen/datamodel/PolicyManagement/index.js +0 -18
- package/codegen/datamodel/PolicyManagement/responses.d.ts +0 -83
- package/codegen/datamodel/PolicyManagement/responses.js +0 -2
- package/codegen/datamodel/PolicyManagement/types.d.ts +0 -391
- package/codegen/datamodel/PolicyManagement/types.js +0 -95
- package/codegen/datamodel/PublicKeys/errors.js +0 -1
- package/codegen/datamodel/PublicKeys/index.d.ts +0 -2
- package/codegen/datamodel/PublicKeys/index.js +0 -18
- package/codegen/datamodel/PublicKeys/responses.d.ts +0 -56
- package/codegen/datamodel/PublicKeys/responses.js +0 -2
- package/codegen/datamodel/PublicKeys/types.d.ts +0 -223
- package/codegen/datamodel/PublicKeys/types.js +0 -59
- package/codegen/datamodel/Signers/errors.js +0 -1
- package/codegen/datamodel/Signers/index.d.ts +0 -2
- package/codegen/datamodel/Signers/index.js +0 -18
- package/codegen/datamodel/Signers/responses.d.ts +0 -27
- package/codegen/datamodel/Signers/responses.js +0 -2
- package/codegen/datamodel/Signers/types.d.ts +0 -21
- package/codegen/datamodel/Signers/types.js +0 -2
- package/codegen/datamodel/Wallets/errors.js +0 -1
- package/codegen/datamodel/Wallets/index.d.ts +0 -2
- package/codegen/datamodel/Wallets/index.js +0 -18
- package/codegen/datamodel/Wallets/responses.d.ts +0 -92
- package/codegen/datamodel/Wallets/responses.js +0 -2
- package/codegen/datamodel/Wallets/types.d.ts +0 -677
- package/codegen/datamodel/Wallets/types.js +0 -251
- package/dfnsApiClient.d.ts +0 -39
- package/dfnsApiClient.js +0 -63
- package/dfnsAuthenticator.d.ts +0 -17
- package/dfnsAuthenticator.js +0 -29
- package/dfnsDelegatedApiClient.d.ts +0 -38
- package/dfnsDelegatedApiClient.js +0 -63
- package/dfnsError.d.ts +0 -5
- package/dfnsError.js +0 -11
- package/generated/policies/client.d.ts +0 -13
- package/generated/policies/client.js +0 -92
- package/generated/policies/delegatedClient.d.ts +0 -18
- package/generated/policies/delegatedClient.js +0 -153
- package/generated/policies/index.d.ts +0 -3
- package/generated/policies/index.js +0 -19
- package/generated/policies/types.js +0 -2
- package/generated/signers/client.d.ts +0 -7
- package/generated/signers/client.js +0 -22
- package/generated/signers/delegatedClient.d.ts +0 -7
- package/generated/signers/delegatedClient.js +0 -22
- package/generated/signers/index.d.ts +0 -3
- package/generated/signers/index.js +0 -19
- package/generated/signers/types.js +0 -2
- package/generated/wallets/client.d.ts +0 -25
- package/generated/wallets/client.js +0 -228
- package/generated/wallets/delegatedClient.d.ts +0 -34
- package/generated/wallets/delegatedClient.js +0 -349
- package/generated/wallets/index.d.ts +0 -3
- package/generated/wallets/index.js +0 -19
- package/generated/wallets/types.js +0 -2
- package/generated/webhooks/client.d.ts +0 -14
- package/generated/webhooks/client.js +0 -103
- package/generated/webhooks/delegatedClient.d.ts +0 -19
- package/generated/webhooks/delegatedClient.js +0 -164
- package/generated/webhooks/index.d.ts +0 -3
- package/generated/webhooks/index.js +0 -19
- package/generated/webhooks/types.js +0 -2
- package/index.d.ts +0 -7
- package/index.js +0 -23
- package/signer.d.ts +0 -52
- package/signer.js +0 -2
- package/store.d.ts +0 -79
- package/store.js +0 -2
- package/types/policies.d.ts +0 -1
- package/types/policies.js +0 -17
- package/types/signers.d.ts +0 -1
- package/types/signers.js +0 -17
- package/types/wallets.d.ts +0 -1
- package/types/wallets.js +0 -17
- package/types/webhooks.d.ts +0 -1
- package/types/webhooks.js +0 -17
- package/utils/base64.d.ts +0 -3
- package/utils/base64.js +0 -20
- package/utils/fetch.d.ts +0 -12
- package/utils/fetch.js +0 -94
- package/utils/index.d.ts +0 -4
- package/utils/index.js +0 -20
- package/utils/nonce.d.ts +0 -1
- package/utils/nonce.js +0 -12
- package/utils/url.d.ts +0 -4
- package/utils/url.js +0 -16
- /package/{codegen/datamodel/Auth/errors.d.ts → README.md} +0 -0
- /package/codegen/datamodel/{BlockchainIndexing/errors.d.ts → Auth/errors.ts} +0 -0
- /package/codegen/datamodel/BlockchainIndexing/{types.d.ts → errors.ts} +0 -0
- /package/codegen/datamodel/{Blockchains/errors.d.ts → BlockchainIndexing/types.ts} +0 -0
- /package/codegen/datamodel/{Callbacks/errors.d.ts → Blockchains/errors.ts} +0 -0
- /package/codegen/datamodel/{Foundations/responses.d.ts → Callbacks/errors.ts} +0 -0
- /package/codegen/datamodel/{Orgs/errors.d.ts → Foundations/responses.ts} +0 -0
- /package/codegen/datamodel/{Permissions/errors.d.ts → Orgs/errors.ts} +0 -0
- /package/codegen/datamodel/{PolicyManagement/errors.d.ts → Permissions/errors.ts} +0 -0
- /package/codegen/datamodel/{PublicKeys/errors.d.ts → PolicyManagement/errors.ts} +0 -0
- /package/codegen/datamodel/{Signers/errors.d.ts → PublicKeys/errors.ts} +0 -0
- /package/codegen/datamodel/{Wallets/errors.d.ts → Signers/errors.ts} +0 -0
|
@@ -0,0 +1,1110 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BadRequestError,
|
|
3
|
+
EntityNotFoundError,
|
|
4
|
+
ForbiddenError,
|
|
5
|
+
UnauthorizedError,
|
|
6
|
+
} from '../Foundations'
|
|
7
|
+
import {
|
|
8
|
+
AccessTokenInfoWithPublicKey,
|
|
9
|
+
AppInfoWithPublicKey,
|
|
10
|
+
AvailableOrg,
|
|
11
|
+
CredentialInfo,
|
|
12
|
+
GenericSuccessMessage,
|
|
13
|
+
UserAccessTokenInformation,
|
|
14
|
+
UserActionSignature,
|
|
15
|
+
UserCredentialChallenge,
|
|
16
|
+
UserInfo,
|
|
17
|
+
UserLogin,
|
|
18
|
+
UserLoginChallenge,
|
|
19
|
+
UserRecoveryChallenge,
|
|
20
|
+
UserRegistration,
|
|
21
|
+
UserRegistrationChallenge,
|
|
22
|
+
} from './types'
|
|
23
|
+
|
|
24
|
+
// Response for CreateDelegatedUserRegistration
|
|
25
|
+
|
|
26
|
+
export type CreateDelegatedUserRegistrationSuccess = UserRegistrationChallenge
|
|
27
|
+
|
|
28
|
+
export type CreateDelegatedUserRegistrationError = {
|
|
29
|
+
error:
|
|
30
|
+
| UnauthorizedError
|
|
31
|
+
| ForbiddenError
|
|
32
|
+
| BadRequestError
|
|
33
|
+
| EntityNotFoundError
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type CreateDelegatedUserRegistrationResponse =
|
|
37
|
+
| CreateDelegatedUserRegistrationSuccess
|
|
38
|
+
| CreateDelegatedUserRegistrationError
|
|
39
|
+
|
|
40
|
+
// Response for CreateUserRegistrationChallenge
|
|
41
|
+
|
|
42
|
+
export type CreateUserRegistrationChallengeSuccess = UserRegistrationChallenge
|
|
43
|
+
|
|
44
|
+
export type CreateUserRegistrationChallengeError = {
|
|
45
|
+
error:
|
|
46
|
+
| UnauthorizedError
|
|
47
|
+
| ForbiddenError
|
|
48
|
+
| BadRequestError
|
|
49
|
+
| EntityNotFoundError
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type CreateUserRegistrationChallengeResponse =
|
|
53
|
+
| CreateUserRegistrationChallengeSuccess
|
|
54
|
+
| CreateUserRegistrationChallengeError
|
|
55
|
+
|
|
56
|
+
// Response for CreateUserRegistration
|
|
57
|
+
|
|
58
|
+
export type CreateUserRegistrationSuccess = UserRegistration
|
|
59
|
+
|
|
60
|
+
export type CreateUserRegistrationError = {
|
|
61
|
+
error:
|
|
62
|
+
| UnauthorizedError
|
|
63
|
+
| ForbiddenError
|
|
64
|
+
| BadRequestError
|
|
65
|
+
| EntityNotFoundError
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export type CreateUserRegistrationResponse =
|
|
69
|
+
| CreateUserRegistrationSuccess
|
|
70
|
+
| CreateUserRegistrationError
|
|
71
|
+
|
|
72
|
+
// Response for CreateUserLoginChallenge
|
|
73
|
+
|
|
74
|
+
export type CreateUserLoginChallengeSuccess = UserLoginChallenge
|
|
75
|
+
|
|
76
|
+
export type CreateUserLoginChallengeError = {
|
|
77
|
+
error:
|
|
78
|
+
| UnauthorizedError
|
|
79
|
+
| ForbiddenError
|
|
80
|
+
| BadRequestError
|
|
81
|
+
| EntityNotFoundError
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type CreateUserLoginChallengeResponse =
|
|
85
|
+
| CreateUserLoginChallengeSuccess
|
|
86
|
+
| CreateUserLoginChallengeError
|
|
87
|
+
|
|
88
|
+
// Response for CreateUserLogin
|
|
89
|
+
|
|
90
|
+
export type CreateUserLoginSuccess = UserLogin
|
|
91
|
+
|
|
92
|
+
export type CreateUserLoginError = {
|
|
93
|
+
error:
|
|
94
|
+
| UnauthorizedError
|
|
95
|
+
| ForbiddenError
|
|
96
|
+
| BadRequestError
|
|
97
|
+
| EntityNotFoundError
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type CreateUserLoginResponse =
|
|
101
|
+
| CreateUserLoginSuccess
|
|
102
|
+
| CreateUserLoginError
|
|
103
|
+
|
|
104
|
+
// Response for CreateDelegatedUserLogin
|
|
105
|
+
|
|
106
|
+
export type CreateDelegatedUserLoginSuccess = UserLogin
|
|
107
|
+
|
|
108
|
+
export type CreateDelegatedUserLoginError = {
|
|
109
|
+
error:
|
|
110
|
+
| UnauthorizedError
|
|
111
|
+
| ForbiddenError
|
|
112
|
+
| BadRequestError
|
|
113
|
+
| EntityNotFoundError
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type CreateDelegatedUserLoginResponse =
|
|
117
|
+
| CreateDelegatedUserLoginSuccess
|
|
118
|
+
| CreateDelegatedUserLoginError
|
|
119
|
+
|
|
120
|
+
// Response for CreateUserActionSignatureChallenge
|
|
121
|
+
|
|
122
|
+
export type CreateUserActionSignatureChallengeSuccess = UserLoginChallenge
|
|
123
|
+
|
|
124
|
+
export type CreateUserActionSignatureChallengeError = {
|
|
125
|
+
error:
|
|
126
|
+
| UnauthorizedError
|
|
127
|
+
| ForbiddenError
|
|
128
|
+
| BadRequestError
|
|
129
|
+
| EntityNotFoundError
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export type CreateUserActionSignatureChallengeResponse =
|
|
133
|
+
| CreateUserActionSignatureChallengeSuccess
|
|
134
|
+
| CreateUserActionSignatureChallengeError
|
|
135
|
+
|
|
136
|
+
// Response for CreateUserActionSignature
|
|
137
|
+
|
|
138
|
+
export type CreateUserActionSignatureSuccess = UserActionSignature
|
|
139
|
+
|
|
140
|
+
export type CreateUserActionSignatureError = {
|
|
141
|
+
error:
|
|
142
|
+
| UnauthorizedError
|
|
143
|
+
| ForbiddenError
|
|
144
|
+
| BadRequestError
|
|
145
|
+
| EntityNotFoundError
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export type CreateUserActionSignatureResponse =
|
|
149
|
+
| CreateUserActionSignatureSuccess
|
|
150
|
+
| CreateUserActionSignatureError
|
|
151
|
+
|
|
152
|
+
// Response for ResendUserRegistrationEmail
|
|
153
|
+
|
|
154
|
+
export type ResendUserRegistrationEmailSuccess = GenericSuccessMessage
|
|
155
|
+
|
|
156
|
+
export type ResendUserRegistrationEmailError = {
|
|
157
|
+
error:
|
|
158
|
+
| UnauthorizedError
|
|
159
|
+
| ForbiddenError
|
|
160
|
+
| BadRequestError
|
|
161
|
+
| EntityNotFoundError
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export type ResendUserRegistrationEmailResponse =
|
|
165
|
+
| ResendUserRegistrationEmailSuccess
|
|
166
|
+
| ResendUserRegistrationEmailError
|
|
167
|
+
|
|
168
|
+
// Response for CreateUserCredentialChallenge
|
|
169
|
+
|
|
170
|
+
export type CreateUserCredentialChallengeSuccess = UserCredentialChallenge
|
|
171
|
+
|
|
172
|
+
export type CreateUserCredentialChallengeError = {
|
|
173
|
+
error:
|
|
174
|
+
| UnauthorizedError
|
|
175
|
+
| ForbiddenError
|
|
176
|
+
| BadRequestError
|
|
177
|
+
| EntityNotFoundError
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export type CreateUserCredentialChallengeResponse =
|
|
181
|
+
| CreateUserCredentialChallengeSuccess
|
|
182
|
+
| CreateUserCredentialChallengeError
|
|
183
|
+
|
|
184
|
+
// Response for CreateUserCredential
|
|
185
|
+
|
|
186
|
+
export type CreateUserCredentialSuccess = CredentialInfo
|
|
187
|
+
|
|
188
|
+
export type CreateUserCredentialError = {
|
|
189
|
+
error:
|
|
190
|
+
| UnauthorizedError
|
|
191
|
+
| ForbiddenError
|
|
192
|
+
| BadRequestError
|
|
193
|
+
| EntityNotFoundError
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export type CreateUserCredentialResponse =
|
|
197
|
+
| CreateUserCredentialSuccess
|
|
198
|
+
| CreateUserCredentialError
|
|
199
|
+
|
|
200
|
+
// Response for ActivateCredential
|
|
201
|
+
|
|
202
|
+
export type ActivateCredentialSuccess = GenericSuccessMessage
|
|
203
|
+
|
|
204
|
+
export type ActivateCredentialError = {
|
|
205
|
+
error:
|
|
206
|
+
| UnauthorizedError
|
|
207
|
+
| ForbiddenError
|
|
208
|
+
| BadRequestError
|
|
209
|
+
| EntityNotFoundError
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export type ActivateCredentialResponse =
|
|
213
|
+
| ActivateCredentialSuccess
|
|
214
|
+
| ActivateCredentialError
|
|
215
|
+
|
|
216
|
+
// Response for DeactivateCredential
|
|
217
|
+
|
|
218
|
+
export type DeactivateCredentialSuccess = GenericSuccessMessage
|
|
219
|
+
|
|
220
|
+
export type DeactivateCredentialError = {
|
|
221
|
+
error:
|
|
222
|
+
| UnauthorizedError
|
|
223
|
+
| ForbiddenError
|
|
224
|
+
| BadRequestError
|
|
225
|
+
| EntityNotFoundError
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export type DeactivateCredentialResponse =
|
|
229
|
+
| DeactivateCredentialSuccess
|
|
230
|
+
| DeactivateCredentialError
|
|
231
|
+
|
|
232
|
+
// Response for ListUserCredentials
|
|
233
|
+
|
|
234
|
+
export type ListUserCredentialsSuccess = {
|
|
235
|
+
items: CredentialInfo[]
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type ListUserCredentialsError = {
|
|
239
|
+
error:
|
|
240
|
+
| UnauthorizedError
|
|
241
|
+
| ForbiddenError
|
|
242
|
+
| BadRequestError
|
|
243
|
+
| EntityNotFoundError
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export type ListUserCredentialsResponse =
|
|
247
|
+
| ListUserCredentialsSuccess
|
|
248
|
+
| ListUserCredentialsError
|
|
249
|
+
|
|
250
|
+
// Response for CreateCodeLoginChallenge
|
|
251
|
+
|
|
252
|
+
export type CreateCodeLoginChallengeSuccess = UserLoginChallenge
|
|
253
|
+
|
|
254
|
+
export type CreateCodeLoginChallengeError = {
|
|
255
|
+
error:
|
|
256
|
+
| UnauthorizedError
|
|
257
|
+
| ForbiddenError
|
|
258
|
+
| BadRequestError
|
|
259
|
+
| EntityNotFoundError
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type CreateCodeLoginChallengeResponse =
|
|
263
|
+
| CreateCodeLoginChallengeSuccess
|
|
264
|
+
| CreateCodeLoginChallengeError
|
|
265
|
+
|
|
266
|
+
// Response for CreateCodeLogin
|
|
267
|
+
|
|
268
|
+
export type CreateCodeLoginSuccess = GenericSuccessMessage
|
|
269
|
+
|
|
270
|
+
export type CreateCodeLoginError = {
|
|
271
|
+
error:
|
|
272
|
+
| UnauthorizedError
|
|
273
|
+
| ForbiddenError
|
|
274
|
+
| BadRequestError
|
|
275
|
+
| EntityNotFoundError
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export type CreateCodeLoginResponse =
|
|
279
|
+
| CreateCodeLoginSuccess
|
|
280
|
+
| CreateCodeLoginError
|
|
281
|
+
|
|
282
|
+
// Response for CreateUserLoginFromCode
|
|
283
|
+
|
|
284
|
+
export type CreateUserLoginFromCodeSuccess = UserLogin
|
|
285
|
+
|
|
286
|
+
export type CreateUserLoginFromCodeError = {
|
|
287
|
+
error:
|
|
288
|
+
| UnauthorizedError
|
|
289
|
+
| ForbiddenError
|
|
290
|
+
| BadRequestError
|
|
291
|
+
| EntityNotFoundError
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type CreateUserLoginFromCodeResponse =
|
|
295
|
+
| CreateUserLoginFromCodeSuccess
|
|
296
|
+
| CreateUserLoginFromCodeError
|
|
297
|
+
|
|
298
|
+
// Response for CreateUserActionSignatureFromCode
|
|
299
|
+
|
|
300
|
+
export type CreateUserActionSignatureFromCodeSuccess = UserActionSignature
|
|
301
|
+
|
|
302
|
+
export type CreateUserActionSignatureFromCodeError = {
|
|
303
|
+
error:
|
|
304
|
+
| UnauthorizedError
|
|
305
|
+
| ForbiddenError
|
|
306
|
+
| BadRequestError
|
|
307
|
+
| EntityNotFoundError
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export type CreateUserActionSignatureFromCodeResponse =
|
|
311
|
+
| CreateUserActionSignatureFromCodeSuccess
|
|
312
|
+
| CreateUserActionSignatureFromCodeError
|
|
313
|
+
|
|
314
|
+
// Response for CreateCodeUserActionSignatureChallenge
|
|
315
|
+
|
|
316
|
+
export type CreateCodeUserActionSignatureChallengeSuccess = UserLoginChallenge
|
|
317
|
+
|
|
318
|
+
export type CreateCodeUserActionSignatureChallengeError = {
|
|
319
|
+
error:
|
|
320
|
+
| UnauthorizedError
|
|
321
|
+
| ForbiddenError
|
|
322
|
+
| BadRequestError
|
|
323
|
+
| EntityNotFoundError
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type CreateCodeUserActionSignatureChallengeResponse =
|
|
327
|
+
| CreateCodeUserActionSignatureChallengeSuccess
|
|
328
|
+
| CreateCodeUserActionSignatureChallengeError
|
|
329
|
+
|
|
330
|
+
// Response for CreateCodeUserActionSignature
|
|
331
|
+
|
|
332
|
+
export type CreateCodeUserActionSignatureSuccess = GenericSuccessMessage
|
|
333
|
+
|
|
334
|
+
export type CreateCodeUserActionSignatureError = {
|
|
335
|
+
error:
|
|
336
|
+
| UnauthorizedError
|
|
337
|
+
| ForbiddenError
|
|
338
|
+
| BadRequestError
|
|
339
|
+
| EntityNotFoundError
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type CreateCodeUserActionSignatureResponse =
|
|
343
|
+
| CreateCodeUserActionSignatureSuccess
|
|
344
|
+
| CreateCodeUserActionSignatureError
|
|
345
|
+
|
|
346
|
+
// Response for CreateAvailableOrgList
|
|
347
|
+
|
|
348
|
+
export type CreateAvailableOrgListSuccess = {
|
|
349
|
+
items: AvailableOrg[]
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export type CreateAvailableOrgListError = {
|
|
353
|
+
error:
|
|
354
|
+
| UnauthorizedError
|
|
355
|
+
| ForbiddenError
|
|
356
|
+
| BadRequestError
|
|
357
|
+
| EntityNotFoundError
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export type CreateAvailableOrgListResponse =
|
|
361
|
+
| CreateAvailableOrgListSuccess
|
|
362
|
+
| CreateAvailableOrgListError
|
|
363
|
+
|
|
364
|
+
// Response for ListPersonalAccessTokens
|
|
365
|
+
|
|
366
|
+
export type ListPersonalAccessTokensSuccess = {
|
|
367
|
+
items: AccessTokenInfoWithPublicKey[]
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type ListPersonalAccessTokensError = {
|
|
371
|
+
error:
|
|
372
|
+
| UnauthorizedError
|
|
373
|
+
| ForbiddenError
|
|
374
|
+
| BadRequestError
|
|
375
|
+
| EntityNotFoundError
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type ListPersonalAccessTokensResponse =
|
|
379
|
+
| ListPersonalAccessTokensSuccess
|
|
380
|
+
| ListPersonalAccessTokensError
|
|
381
|
+
|
|
382
|
+
// Response for CreatePersonalAccessToken
|
|
383
|
+
|
|
384
|
+
export type CreatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey
|
|
385
|
+
|
|
386
|
+
export type CreatePersonalAccessTokenError = {
|
|
387
|
+
error:
|
|
388
|
+
| UnauthorizedError
|
|
389
|
+
| ForbiddenError
|
|
390
|
+
| BadRequestError
|
|
391
|
+
| EntityNotFoundError
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type CreatePersonalAccessTokenResponse =
|
|
395
|
+
| CreatePersonalAccessTokenSuccess
|
|
396
|
+
| CreatePersonalAccessTokenError
|
|
397
|
+
|
|
398
|
+
// Response for GetPersonalAccessTokens
|
|
399
|
+
|
|
400
|
+
export type GetPersonalAccessTokensSuccess = AccessTokenInfoWithPublicKey
|
|
401
|
+
|
|
402
|
+
export type GetPersonalAccessTokensError = {
|
|
403
|
+
error:
|
|
404
|
+
| UnauthorizedError
|
|
405
|
+
| ForbiddenError
|
|
406
|
+
| BadRequestError
|
|
407
|
+
| EntityNotFoundError
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type GetPersonalAccessTokensResponse =
|
|
411
|
+
| GetPersonalAccessTokensSuccess
|
|
412
|
+
| GetPersonalAccessTokensError
|
|
413
|
+
|
|
414
|
+
// Response for UpdatePersonalAccessToken
|
|
415
|
+
|
|
416
|
+
export type UpdatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey
|
|
417
|
+
|
|
418
|
+
export type UpdatePersonalAccessTokenError = {
|
|
419
|
+
error:
|
|
420
|
+
| UnauthorizedError
|
|
421
|
+
| ForbiddenError
|
|
422
|
+
| BadRequestError
|
|
423
|
+
| EntityNotFoundError
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export type UpdatePersonalAccessTokenResponse =
|
|
427
|
+
| UpdatePersonalAccessTokenSuccess
|
|
428
|
+
| UpdatePersonalAccessTokenError
|
|
429
|
+
|
|
430
|
+
// Response for ArchivePersonalAccessToken
|
|
431
|
+
|
|
432
|
+
export type ArchivePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey
|
|
433
|
+
|
|
434
|
+
export type ArchivePersonalAccessTokenError = {
|
|
435
|
+
error:
|
|
436
|
+
| UnauthorizedError
|
|
437
|
+
| ForbiddenError
|
|
438
|
+
| BadRequestError
|
|
439
|
+
| EntityNotFoundError
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export type ArchivePersonalAccessTokenResponse =
|
|
443
|
+
| ArchivePersonalAccessTokenSuccess
|
|
444
|
+
| ArchivePersonalAccessTokenError
|
|
445
|
+
|
|
446
|
+
// Response for ActivatePersonalAccessToken
|
|
447
|
+
|
|
448
|
+
export type ActivatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey
|
|
449
|
+
|
|
450
|
+
export type ActivatePersonalAccessTokenError = {
|
|
451
|
+
error:
|
|
452
|
+
| UnauthorizedError
|
|
453
|
+
| ForbiddenError
|
|
454
|
+
| BadRequestError
|
|
455
|
+
| EntityNotFoundError
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export type ActivatePersonalAccessTokenResponse =
|
|
459
|
+
| ActivatePersonalAccessTokenSuccess
|
|
460
|
+
| ActivatePersonalAccessTokenError
|
|
461
|
+
|
|
462
|
+
// Response for DeactivatePersonalAccessToken
|
|
463
|
+
|
|
464
|
+
export type DeactivatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey
|
|
465
|
+
|
|
466
|
+
export type DeactivatePersonalAccessTokenError = {
|
|
467
|
+
error:
|
|
468
|
+
| UnauthorizedError
|
|
469
|
+
| ForbiddenError
|
|
470
|
+
| BadRequestError
|
|
471
|
+
| EntityNotFoundError
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export type DeactivatePersonalAccessTokenResponse =
|
|
475
|
+
| DeactivatePersonalAccessTokenSuccess
|
|
476
|
+
| DeactivatePersonalAccessTokenError
|
|
477
|
+
|
|
478
|
+
// Response for ListServiceAccounts
|
|
479
|
+
|
|
480
|
+
export type ListServiceAccountsSuccess = {
|
|
481
|
+
items: UserAccessTokenInformation[]
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export type ListServiceAccountsError = {
|
|
485
|
+
error:
|
|
486
|
+
| UnauthorizedError
|
|
487
|
+
| ForbiddenError
|
|
488
|
+
| BadRequestError
|
|
489
|
+
| EntityNotFoundError
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export type ListServiceAccountsResponse =
|
|
493
|
+
| ListServiceAccountsSuccess
|
|
494
|
+
| ListServiceAccountsError
|
|
495
|
+
|
|
496
|
+
// Response for CreateServiceAccount
|
|
497
|
+
|
|
498
|
+
export type CreateServiceAccountSuccess = UserAccessTokenInformation
|
|
499
|
+
|
|
500
|
+
export type CreateServiceAccountError = {
|
|
501
|
+
error:
|
|
502
|
+
| UnauthorizedError
|
|
503
|
+
| ForbiddenError
|
|
504
|
+
| BadRequestError
|
|
505
|
+
| EntityNotFoundError
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export type CreateServiceAccountResponse =
|
|
509
|
+
| CreateServiceAccountSuccess
|
|
510
|
+
| CreateServiceAccountError
|
|
511
|
+
|
|
512
|
+
// Response for GetServiceAccount
|
|
513
|
+
|
|
514
|
+
export type GetServiceAccountSuccess = UserAccessTokenInformation
|
|
515
|
+
|
|
516
|
+
export type GetServiceAccountError = {
|
|
517
|
+
error:
|
|
518
|
+
| UnauthorizedError
|
|
519
|
+
| ForbiddenError
|
|
520
|
+
| BadRequestError
|
|
521
|
+
| EntityNotFoundError
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type GetServiceAccountResponse =
|
|
525
|
+
| GetServiceAccountSuccess
|
|
526
|
+
| GetServiceAccountError
|
|
527
|
+
|
|
528
|
+
// Response for UpdateServiceAccount
|
|
529
|
+
|
|
530
|
+
export type UpdateServiceAccountSuccess = UserAccessTokenInformation
|
|
531
|
+
|
|
532
|
+
export type UpdateServiceAccountError = {
|
|
533
|
+
error:
|
|
534
|
+
| UnauthorizedError
|
|
535
|
+
| ForbiddenError
|
|
536
|
+
| BadRequestError
|
|
537
|
+
| EntityNotFoundError
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export type UpdateServiceAccountResponse =
|
|
541
|
+
| UpdateServiceAccountSuccess
|
|
542
|
+
| UpdateServiceAccountError
|
|
543
|
+
|
|
544
|
+
// Response for ArchiveServiceAccount
|
|
545
|
+
|
|
546
|
+
export type ArchiveServiceAccountSuccess = UserAccessTokenInformation
|
|
547
|
+
|
|
548
|
+
export type ArchiveServiceAccountError = {
|
|
549
|
+
error:
|
|
550
|
+
| UnauthorizedError
|
|
551
|
+
| ForbiddenError
|
|
552
|
+
| BadRequestError
|
|
553
|
+
| EntityNotFoundError
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type ArchiveServiceAccountResponse =
|
|
557
|
+
| ArchiveServiceAccountSuccess
|
|
558
|
+
| ArchiveServiceAccountError
|
|
559
|
+
|
|
560
|
+
// Response for ActivateServiceAccount
|
|
561
|
+
|
|
562
|
+
export type ActivateServiceAccountSuccess = UserAccessTokenInformation
|
|
563
|
+
|
|
564
|
+
export type ActivateServiceAccountError = {
|
|
565
|
+
error:
|
|
566
|
+
| UnauthorizedError
|
|
567
|
+
| ForbiddenError
|
|
568
|
+
| BadRequestError
|
|
569
|
+
| EntityNotFoundError
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export type ActivateServiceAccountResponse =
|
|
573
|
+
| ActivateServiceAccountSuccess
|
|
574
|
+
| ActivateServiceAccountError
|
|
575
|
+
|
|
576
|
+
// Response for DeactivateServiceAccount
|
|
577
|
+
|
|
578
|
+
export type DeactivateServiceAccountSuccess = UserAccessTokenInformation
|
|
579
|
+
|
|
580
|
+
export type DeactivateServiceAccountError = {
|
|
581
|
+
error:
|
|
582
|
+
| UnauthorizedError
|
|
583
|
+
| ForbiddenError
|
|
584
|
+
| BadRequestError
|
|
585
|
+
| EntityNotFoundError
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type DeactivateServiceAccountResponse =
|
|
589
|
+
| DeactivateServiceAccountSuccess
|
|
590
|
+
| DeactivateServiceAccountError
|
|
591
|
+
|
|
592
|
+
// Response for ListServiceAccountTokens
|
|
593
|
+
|
|
594
|
+
export type ListServiceAccountTokensSuccess = {
|
|
595
|
+
items: AccessTokenInfoWithPublicKey[]
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export type ListServiceAccountTokensError = {
|
|
599
|
+
error:
|
|
600
|
+
| UnauthorizedError
|
|
601
|
+
| ForbiddenError
|
|
602
|
+
| BadRequestError
|
|
603
|
+
| EntityNotFoundError
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export type ListServiceAccountTokensResponse =
|
|
607
|
+
| ListServiceAccountTokensSuccess
|
|
608
|
+
| ListServiceAccountTokensError
|
|
609
|
+
|
|
610
|
+
// Response for CreateServiceAccountToken
|
|
611
|
+
|
|
612
|
+
export type CreateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey
|
|
613
|
+
|
|
614
|
+
export type CreateServiceAccountTokenError = {
|
|
615
|
+
error:
|
|
616
|
+
| UnauthorizedError
|
|
617
|
+
| ForbiddenError
|
|
618
|
+
| BadRequestError
|
|
619
|
+
| EntityNotFoundError
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export type CreateServiceAccountTokenResponse =
|
|
623
|
+
| CreateServiceAccountTokenSuccess
|
|
624
|
+
| CreateServiceAccountTokenError
|
|
625
|
+
|
|
626
|
+
// Response for GetServiceAccountToken
|
|
627
|
+
|
|
628
|
+
export type GetServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey
|
|
629
|
+
|
|
630
|
+
export type GetServiceAccountTokenError = {
|
|
631
|
+
error:
|
|
632
|
+
| UnauthorizedError
|
|
633
|
+
| ForbiddenError
|
|
634
|
+
| BadRequestError
|
|
635
|
+
| EntityNotFoundError
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export type GetServiceAccountTokenResponse =
|
|
639
|
+
| GetServiceAccountTokenSuccess
|
|
640
|
+
| GetServiceAccountTokenError
|
|
641
|
+
|
|
642
|
+
// Response for UpdateServiceAccountToken
|
|
643
|
+
|
|
644
|
+
export type UpdateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey
|
|
645
|
+
|
|
646
|
+
export type UpdateServiceAccountTokenError = {
|
|
647
|
+
error:
|
|
648
|
+
| UnauthorizedError
|
|
649
|
+
| ForbiddenError
|
|
650
|
+
| BadRequestError
|
|
651
|
+
| EntityNotFoundError
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export type UpdateServiceAccountTokenResponse =
|
|
655
|
+
| UpdateServiceAccountTokenSuccess
|
|
656
|
+
| UpdateServiceAccountTokenError
|
|
657
|
+
|
|
658
|
+
// Response for ArchiveServiceAccountToken
|
|
659
|
+
|
|
660
|
+
export type ArchiveServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey
|
|
661
|
+
|
|
662
|
+
export type ArchiveServiceAccountTokenError = {
|
|
663
|
+
error:
|
|
664
|
+
| UnauthorizedError
|
|
665
|
+
| ForbiddenError
|
|
666
|
+
| BadRequestError
|
|
667
|
+
| EntityNotFoundError
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export type ArchiveServiceAccountTokenResponse =
|
|
671
|
+
| ArchiveServiceAccountTokenSuccess
|
|
672
|
+
| ArchiveServiceAccountTokenError
|
|
673
|
+
|
|
674
|
+
// Response for ActivateServiceAccountToken
|
|
675
|
+
|
|
676
|
+
export type ActivateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey
|
|
677
|
+
|
|
678
|
+
export type ActivateServiceAccountTokenError = {
|
|
679
|
+
error:
|
|
680
|
+
| UnauthorizedError
|
|
681
|
+
| ForbiddenError
|
|
682
|
+
| BadRequestError
|
|
683
|
+
| EntityNotFoundError
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export type ActivateServiceAccountTokenResponse =
|
|
687
|
+
| ActivateServiceAccountTokenSuccess
|
|
688
|
+
| ActivateServiceAccountTokenError
|
|
689
|
+
|
|
690
|
+
// Response for DeactivateServiceAccountToken
|
|
691
|
+
|
|
692
|
+
export type DeactivateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey
|
|
693
|
+
|
|
694
|
+
export type DeactivateServiceAccountTokenError = {
|
|
695
|
+
error:
|
|
696
|
+
| UnauthorizedError
|
|
697
|
+
| ForbiddenError
|
|
698
|
+
| BadRequestError
|
|
699
|
+
| EntityNotFoundError
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export type DeactivateServiceAccountTokenResponse =
|
|
703
|
+
| DeactivateServiceAccountTokenSuccess
|
|
704
|
+
| DeactivateServiceAccountTokenError
|
|
705
|
+
|
|
706
|
+
// Response for ListUsers
|
|
707
|
+
|
|
708
|
+
export type ListUsersSuccess = {
|
|
709
|
+
items: UserInfo[]
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
export type ListUsersError = {
|
|
713
|
+
error:
|
|
714
|
+
| UnauthorizedError
|
|
715
|
+
| ForbiddenError
|
|
716
|
+
| BadRequestError
|
|
717
|
+
| EntityNotFoundError
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export type ListUsersResponse = ListUsersSuccess | ListUsersError
|
|
721
|
+
|
|
722
|
+
// Response for CreateUser
|
|
723
|
+
|
|
724
|
+
export type CreateUserSuccess = UserInfo
|
|
725
|
+
|
|
726
|
+
export type CreateUserError = {
|
|
727
|
+
error:
|
|
728
|
+
| UnauthorizedError
|
|
729
|
+
| ForbiddenError
|
|
730
|
+
| BadRequestError
|
|
731
|
+
| EntityNotFoundError
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export type CreateUserResponse = CreateUserSuccess | CreateUserError
|
|
735
|
+
|
|
736
|
+
// Response for GetUser
|
|
737
|
+
|
|
738
|
+
export type GetUserSuccess = UserInfo
|
|
739
|
+
|
|
740
|
+
export type GetUserError = {
|
|
741
|
+
error:
|
|
742
|
+
| UnauthorizedError
|
|
743
|
+
| ForbiddenError
|
|
744
|
+
| BadRequestError
|
|
745
|
+
| EntityNotFoundError
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export type GetUserResponse = GetUserSuccess | GetUserError
|
|
749
|
+
|
|
750
|
+
// Response for UpdateUser
|
|
751
|
+
|
|
752
|
+
export type UpdateUserSuccess = UserInfo
|
|
753
|
+
|
|
754
|
+
export type UpdateUserError = {
|
|
755
|
+
error:
|
|
756
|
+
| UnauthorizedError
|
|
757
|
+
| ForbiddenError
|
|
758
|
+
| BadRequestError
|
|
759
|
+
| EntityNotFoundError
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export type UpdateUserResponse = UpdateUserSuccess | UpdateUserError
|
|
763
|
+
|
|
764
|
+
// Response for ArchiveUser
|
|
765
|
+
|
|
766
|
+
export type ArchiveUserSuccess = UserInfo
|
|
767
|
+
|
|
768
|
+
export type ArchiveUserError = {
|
|
769
|
+
error:
|
|
770
|
+
| UnauthorizedError
|
|
771
|
+
| ForbiddenError
|
|
772
|
+
| BadRequestError
|
|
773
|
+
| EntityNotFoundError
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
export type ArchiveUserResponse = ArchiveUserSuccess | ArchiveUserError
|
|
777
|
+
|
|
778
|
+
// Response for ActivateUser
|
|
779
|
+
|
|
780
|
+
export type ActivateUserSuccess = UserInfo
|
|
781
|
+
|
|
782
|
+
export type ActivateUserError = {
|
|
783
|
+
error:
|
|
784
|
+
| UnauthorizedError
|
|
785
|
+
| ForbiddenError
|
|
786
|
+
| BadRequestError
|
|
787
|
+
| EntityNotFoundError
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export type ActivateUserResponse = ActivateUserSuccess | ActivateUserError
|
|
791
|
+
|
|
792
|
+
// Response for DeactivateUser
|
|
793
|
+
|
|
794
|
+
export type DeactivateUserSuccess = UserInfo
|
|
795
|
+
|
|
796
|
+
export type DeactivateUserError = {
|
|
797
|
+
error:
|
|
798
|
+
| UnauthorizedError
|
|
799
|
+
| ForbiddenError
|
|
800
|
+
| BadRequestError
|
|
801
|
+
| EntityNotFoundError
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export type DeactivateUserResponse = DeactivateUserSuccess | DeactivateUserError
|
|
805
|
+
|
|
806
|
+
// Response for ListApplications
|
|
807
|
+
|
|
808
|
+
export type ListApplicationsSuccess = {
|
|
809
|
+
items: AppInfoWithPublicKey[]
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export type ListApplicationsError = {
|
|
813
|
+
error:
|
|
814
|
+
| UnauthorizedError
|
|
815
|
+
| ForbiddenError
|
|
816
|
+
| BadRequestError
|
|
817
|
+
| EntityNotFoundError
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export type ListApplicationsResponse =
|
|
821
|
+
| ListApplicationsSuccess
|
|
822
|
+
| ListApplicationsError
|
|
823
|
+
|
|
824
|
+
// Response for CreateApplication
|
|
825
|
+
|
|
826
|
+
export type CreateApplicationSuccess = AppInfoWithPublicKey
|
|
827
|
+
|
|
828
|
+
export type CreateApplicationError = {
|
|
829
|
+
error:
|
|
830
|
+
| UnauthorizedError
|
|
831
|
+
| ForbiddenError
|
|
832
|
+
| BadRequestError
|
|
833
|
+
| EntityNotFoundError
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
export type CreateApplicationResponse =
|
|
837
|
+
| CreateApplicationSuccess
|
|
838
|
+
| CreateApplicationError
|
|
839
|
+
|
|
840
|
+
// Response for GetApplication
|
|
841
|
+
|
|
842
|
+
export type GetApplicationSuccess = AppInfoWithPublicKey
|
|
843
|
+
|
|
844
|
+
export type GetApplicationError = {
|
|
845
|
+
error:
|
|
846
|
+
| UnauthorizedError
|
|
847
|
+
| ForbiddenError
|
|
848
|
+
| BadRequestError
|
|
849
|
+
| EntityNotFoundError
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
export type GetApplicationResponse = GetApplicationSuccess | GetApplicationError
|
|
853
|
+
|
|
854
|
+
// Response for UpdateApplication
|
|
855
|
+
|
|
856
|
+
export type UpdateApplicationSuccess = AppInfoWithPublicKey
|
|
857
|
+
|
|
858
|
+
export type UpdateApplicationError = {
|
|
859
|
+
error:
|
|
860
|
+
| UnauthorizedError
|
|
861
|
+
| ForbiddenError
|
|
862
|
+
| BadRequestError
|
|
863
|
+
| EntityNotFoundError
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export type UpdateApplicationResponse =
|
|
867
|
+
| UpdateApplicationSuccess
|
|
868
|
+
| UpdateApplicationError
|
|
869
|
+
|
|
870
|
+
// Response for ArchiveApplication
|
|
871
|
+
|
|
872
|
+
export type ArchiveApplicationSuccess = AppInfoWithPublicKey
|
|
873
|
+
|
|
874
|
+
export type ArchiveApplicationError = {
|
|
875
|
+
error:
|
|
876
|
+
| UnauthorizedError
|
|
877
|
+
| ForbiddenError
|
|
878
|
+
| BadRequestError
|
|
879
|
+
| EntityNotFoundError
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
export type ArchiveApplicationResponse =
|
|
883
|
+
| ArchiveApplicationSuccess
|
|
884
|
+
| ArchiveApplicationError
|
|
885
|
+
|
|
886
|
+
// Response for ActivateApplication
|
|
887
|
+
|
|
888
|
+
export type ActivateApplicationSuccess = AppInfoWithPublicKey
|
|
889
|
+
|
|
890
|
+
export type ActivateApplicationError = {
|
|
891
|
+
error:
|
|
892
|
+
| UnauthorizedError
|
|
893
|
+
| ForbiddenError
|
|
894
|
+
| BadRequestError
|
|
895
|
+
| EntityNotFoundError
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
export type ActivateApplicationResponse =
|
|
899
|
+
| ActivateApplicationSuccess
|
|
900
|
+
| ActivateApplicationError
|
|
901
|
+
|
|
902
|
+
// Response for DeactivateApplication
|
|
903
|
+
|
|
904
|
+
export type DeactivateApplicationSuccess = AppInfoWithPublicKey
|
|
905
|
+
|
|
906
|
+
export type DeactivateApplicationError = {
|
|
907
|
+
error:
|
|
908
|
+
| UnauthorizedError
|
|
909
|
+
| ForbiddenError
|
|
910
|
+
| BadRequestError
|
|
911
|
+
| EntityNotFoundError
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
export type DeactivateApplicationResponse =
|
|
915
|
+
| DeactivateApplicationSuccess
|
|
916
|
+
| DeactivateApplicationError
|
|
917
|
+
|
|
918
|
+
// Response for ListApplicationTokens
|
|
919
|
+
|
|
920
|
+
export type ListApplicationTokensSuccess = {
|
|
921
|
+
items: AccessTokenInfoWithPublicKey[]
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
export type ListApplicationTokensError = {
|
|
925
|
+
error:
|
|
926
|
+
| UnauthorizedError
|
|
927
|
+
| ForbiddenError
|
|
928
|
+
| BadRequestError
|
|
929
|
+
| EntityNotFoundError
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
export type ListApplicationTokensResponse =
|
|
933
|
+
| ListApplicationTokensSuccess
|
|
934
|
+
| ListApplicationTokensError
|
|
935
|
+
|
|
936
|
+
// Response for CreateApplicationToken
|
|
937
|
+
|
|
938
|
+
export type CreateApplicationTokenSuccess = AccessTokenInfoWithPublicKey
|
|
939
|
+
|
|
940
|
+
export type CreateApplicationTokenError = {
|
|
941
|
+
error:
|
|
942
|
+
| UnauthorizedError
|
|
943
|
+
| ForbiddenError
|
|
944
|
+
| BadRequestError
|
|
945
|
+
| EntityNotFoundError
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export type CreateApplicationTokenResponse =
|
|
949
|
+
| CreateApplicationTokenSuccess
|
|
950
|
+
| CreateApplicationTokenError
|
|
951
|
+
|
|
952
|
+
// Response for GetApplicationToken
|
|
953
|
+
|
|
954
|
+
export type GetApplicationTokenSuccess = AccessTokenInfoWithPublicKey
|
|
955
|
+
|
|
956
|
+
export type GetApplicationTokenError = {
|
|
957
|
+
error:
|
|
958
|
+
| UnauthorizedError
|
|
959
|
+
| ForbiddenError
|
|
960
|
+
| BadRequestError
|
|
961
|
+
| EntityNotFoundError
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export type GetApplicationTokenResponse =
|
|
965
|
+
| GetApplicationTokenSuccess
|
|
966
|
+
| GetApplicationTokenError
|
|
967
|
+
|
|
968
|
+
// Response for UpdateApplicationToken
|
|
969
|
+
|
|
970
|
+
export type UpdateApplicationTokenSuccess = AccessTokenInfoWithPublicKey
|
|
971
|
+
|
|
972
|
+
export type UpdateApplicationTokenError = {
|
|
973
|
+
error:
|
|
974
|
+
| UnauthorizedError
|
|
975
|
+
| ForbiddenError
|
|
976
|
+
| BadRequestError
|
|
977
|
+
| EntityNotFoundError
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export type UpdateApplicationTokenResponse =
|
|
981
|
+
| UpdateApplicationTokenSuccess
|
|
982
|
+
| UpdateApplicationTokenError
|
|
983
|
+
|
|
984
|
+
// Response for ArchiveApplicationToken
|
|
985
|
+
|
|
986
|
+
export type ArchiveApplicationTokenSuccess = AccessTokenInfoWithPublicKey
|
|
987
|
+
|
|
988
|
+
export type ArchiveApplicationTokenError = {
|
|
989
|
+
error:
|
|
990
|
+
| UnauthorizedError
|
|
991
|
+
| ForbiddenError
|
|
992
|
+
| BadRequestError
|
|
993
|
+
| EntityNotFoundError
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
export type ArchiveApplicationTokenResponse =
|
|
997
|
+
| ArchiveApplicationTokenSuccess
|
|
998
|
+
| ArchiveApplicationTokenError
|
|
999
|
+
|
|
1000
|
+
// Response for ActivateApplicationToken
|
|
1001
|
+
|
|
1002
|
+
export type ActivateApplicationTokenSuccess = AccessTokenInfoWithPublicKey
|
|
1003
|
+
|
|
1004
|
+
export type ActivateApplicationTokenError = {
|
|
1005
|
+
error:
|
|
1006
|
+
| UnauthorizedError
|
|
1007
|
+
| ForbiddenError
|
|
1008
|
+
| BadRequestError
|
|
1009
|
+
| EntityNotFoundError
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
export type ActivateApplicationTokenResponse =
|
|
1013
|
+
| ActivateApplicationTokenSuccess
|
|
1014
|
+
| ActivateApplicationTokenError
|
|
1015
|
+
|
|
1016
|
+
// Response for DeactivateApplicationToken
|
|
1017
|
+
|
|
1018
|
+
export type DeactivateApplicationTokenSuccess = AccessTokenInfoWithPublicKey
|
|
1019
|
+
|
|
1020
|
+
export type DeactivateApplicationTokenError = {
|
|
1021
|
+
error:
|
|
1022
|
+
| UnauthorizedError
|
|
1023
|
+
| ForbiddenError
|
|
1024
|
+
| BadRequestError
|
|
1025
|
+
| EntityNotFoundError
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export type DeactivateApplicationTokenResponse =
|
|
1029
|
+
| DeactivateApplicationTokenSuccess
|
|
1030
|
+
| DeactivateApplicationTokenError
|
|
1031
|
+
|
|
1032
|
+
// Response for CreateUserRecoveryChallenge
|
|
1033
|
+
|
|
1034
|
+
export type CreateUserRecoveryChallengeSuccess = UserRecoveryChallenge
|
|
1035
|
+
|
|
1036
|
+
export type CreateUserRecoveryChallengeError = {
|
|
1037
|
+
error:
|
|
1038
|
+
| UnauthorizedError
|
|
1039
|
+
| ForbiddenError
|
|
1040
|
+
| BadRequestError
|
|
1041
|
+
| EntityNotFoundError
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
export type CreateUserRecoveryChallengeResponse =
|
|
1045
|
+
| CreateUserRecoveryChallengeSuccess
|
|
1046
|
+
| CreateUserRecoveryChallengeError
|
|
1047
|
+
|
|
1048
|
+
// Response for CreateUserRecoveryCode
|
|
1049
|
+
|
|
1050
|
+
export type CreateUserRecoveryCodeSuccess = GenericSuccessMessage
|
|
1051
|
+
|
|
1052
|
+
export type CreateUserRecoveryCodeError = {
|
|
1053
|
+
error:
|
|
1054
|
+
| UnauthorizedError
|
|
1055
|
+
| ForbiddenError
|
|
1056
|
+
| BadRequestError
|
|
1057
|
+
| EntityNotFoundError
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
export type CreateUserRecoveryCodeResponse =
|
|
1061
|
+
| CreateUserRecoveryCodeSuccess
|
|
1062
|
+
| CreateUserRecoveryCodeError
|
|
1063
|
+
|
|
1064
|
+
// Response for CreateUserRecovery
|
|
1065
|
+
|
|
1066
|
+
export type CreateUserRecoverySuccess = UserRegistration
|
|
1067
|
+
|
|
1068
|
+
export type CreateUserRecoveryError = {
|
|
1069
|
+
error:
|
|
1070
|
+
| UnauthorizedError
|
|
1071
|
+
| ForbiddenError
|
|
1072
|
+
| BadRequestError
|
|
1073
|
+
| EntityNotFoundError
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export type CreateUserRecoveryResponse =
|
|
1077
|
+
| CreateUserRecoverySuccess
|
|
1078
|
+
| CreateUserRecoveryError
|
|
1079
|
+
|
|
1080
|
+
// Response for RestartDelegatedUserRegistration
|
|
1081
|
+
|
|
1082
|
+
export type RestartDelegatedUserRegistrationSuccess = UserRegistrationChallenge
|
|
1083
|
+
|
|
1084
|
+
export type RestartDelegatedUserRegistrationError = {
|
|
1085
|
+
error:
|
|
1086
|
+
| UnauthorizedError
|
|
1087
|
+
| ForbiddenError
|
|
1088
|
+
| BadRequestError
|
|
1089
|
+
| EntityNotFoundError
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
export type RestartDelegatedUserRegistrationResponse =
|
|
1093
|
+
| RestartDelegatedUserRegistrationSuccess
|
|
1094
|
+
| RestartDelegatedUserRegistrationError
|
|
1095
|
+
|
|
1096
|
+
// Response for CreateDelegatedUserRecovery
|
|
1097
|
+
|
|
1098
|
+
export type CreateDelegatedUserRecoverySuccess = UserRecoveryChallenge
|
|
1099
|
+
|
|
1100
|
+
export type CreateDelegatedUserRecoveryError = {
|
|
1101
|
+
error:
|
|
1102
|
+
| UnauthorizedError
|
|
1103
|
+
| ForbiddenError
|
|
1104
|
+
| BadRequestError
|
|
1105
|
+
| EntityNotFoundError
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export type CreateDelegatedUserRecoveryResponse =
|
|
1109
|
+
| CreateDelegatedUserRecoverySuccess
|
|
1110
|
+
| CreateDelegatedUserRecoveryError
|