@dfns/sdk 0.1.0-alpha.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.d.ts +53 -0
- package/baseAuthApi.js +39 -0
- package/codegen/ApiKeys/ApiKeysClient.d.ts +10 -0
- package/codegen/ApiKeys/ApiKeysClient.js +56 -0
- package/codegen/ApiKeys/DelegatedApiKeysClient.d.ts +13 -0
- package/codegen/ApiKeys/DelegatedApiKeysClient.js +88 -0
- package/codegen/ApiKeys/index.d.ts +3 -0
- package/codegen/ApiKeys/index.js +19 -0
- package/codegen/ApiKeys/types.d.ts +16 -0
- package/codegen/ApiKeys/types.js +2 -0
- package/codegen/Assets/AssetsClient.d.ts +14 -0
- package/codegen/Assets/AssetsClient.js +105 -0
- package/codegen/Assets/DelegatedAssetsClient.d.ts +18 -0
- package/codegen/Assets/DelegatedAssetsClient.js +152 -0
- package/codegen/Assets/index.d.ts +3 -0
- package/codegen/Assets/index.js +19 -0
- package/codegen/Assets/types.d.ts +39 -0
- package/codegen/Assets/types.js +2 -0
- package/codegen/Auth/AuthClient.d.ts +62 -0
- package/codegen/Auth/AuthClient.js +667 -0
- package/codegen/Auth/DelegatedAuthClient.d.ts +98 -0
- package/codegen/Auth/DelegatedAuthClient.js +1223 -0
- package/codegen/Auth/index.d.ts +3 -0
- package/codegen/Auth/index.js +19 -0
- package/codegen/Auth/types.d.ts +243 -0
- package/codegen/Auth/types.js +2 -0
- package/codegen/Callbacks/CallbacksClient.d.ts +12 -0
- package/codegen/Callbacks/CallbacksClient.js +78 -0
- package/codegen/Callbacks/DelegatedCallbacksClient.d.ts +15 -0
- package/codegen/Callbacks/DelegatedCallbacksClient.js +110 -0
- package/codegen/Callbacks/index.d.ts +3 -0
- package/codegen/Callbacks/index.js +19 -0
- package/codegen/Callbacks/types.d.ts +23 -0
- package/codegen/Callbacks/types.js +2 -0
- package/codegen/Permissions/DelegatedPermissionsClient.d.ts +28 -0
- package/codegen/Permissions/DelegatedPermissionsClient.js +297 -0
- package/codegen/Permissions/PermissionsClient.d.ts +19 -0
- package/codegen/Permissions/PermissionsClient.js +169 -0
- package/codegen/Permissions/index.d.ts +3 -0
- package/codegen/Permissions/index.js +19 -0
- package/codegen/Permissions/types.d.ts +71 -0
- package/codegen/Permissions/types.js +2 -0
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.d.ts +11 -0
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.js +62 -0
- package/codegen/PolicyExecution/PolicyExecutionClient.d.ts +9 -0
- package/codegen/PolicyExecution/PolicyExecutionClient.js +46 -0
- package/codegen/PolicyExecution/index.d.ts +3 -0
- package/codegen/PolicyExecution/index.js +19 -0
- package/codegen/PolicyExecution/types.d.ts +16 -0
- package/codegen/PolicyExecution/types.js +2 -0
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +31 -0
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +324 -0
- package/codegen/PolicyManagement/PolicyManagementClient.d.ts +21 -0
- package/codegen/PolicyManagement/PolicyManagementClient.js +185 -0
- package/codegen/PolicyManagement/index.d.ts +3 -0
- package/codegen/PolicyManagement/index.js +19 -0
- package/codegen/PolicyManagement/types.d.ts +91 -0
- package/codegen/PolicyManagement/types.js +2 -0
- package/codegen/PublicKeys/DelegatedPublicKeysClient.d.ts +21 -0
- package/codegen/PublicKeys/DelegatedPublicKeysClient.js +191 -0
- package/codegen/PublicKeys/PublicKeysClient.d.ts +16 -0
- package/codegen/PublicKeys/PublicKeysClient.js +130 -0
- package/codegen/PublicKeys/index.d.ts +3 -0
- package/codegen/PublicKeys/index.js +19 -0
- package/codegen/PublicKeys/types.d.ts +51 -0
- package/codegen/PublicKeys/types.js +2 -0
- package/codegen/Wallets/DelegatedWalletsClient.d.ts +26 -0
- package/codegen/Wallets/DelegatedWalletsClient.js +249 -0
- package/codegen/Wallets/WalletsClient.d.ts +21 -0
- package/codegen/Wallets/WalletsClient.js +188 -0
- package/codegen/Wallets/index.d.ts +3 -0
- package/codegen/Wallets/index.js +19 -0
- package/codegen/Wallets/types.d.ts +87 -0
- package/codegen/Wallets/types.js +2 -0
- package/codegen/datamodel/ApiKeys/errors.d.ts +6 -0
- package/codegen/datamodel/ApiKeys/errors.js +15 -0
- package/codegen/datamodel/ApiKeys/index.d.ts +3 -0
- package/codegen/datamodel/ApiKeys/index.js +19 -0
- package/codegen/datamodel/ApiKeys/responses.d.ts +25 -0
- package/codegen/datamodel/ApiKeys/responses.js +2 -0
- package/codegen/datamodel/ApiKeys/types.d.ts +32 -0
- package/codegen/datamodel/ApiKeys/types.js +11 -0
- package/codegen/datamodel/Assets/errors.d.ts +11 -0
- package/codegen/datamodel/Assets/errors.js +17 -0
- package/codegen/datamodel/Assets/index.d.ts +3 -0
- package/codegen/datamodel/Assets/index.js +19 -0
- package/codegen/datamodel/Assets/responses.d.ts +45 -0
- package/codegen/datamodel/Assets/responses.js +2 -0
- package/codegen/datamodel/Assets/types.d.ts +225 -0
- package/codegen/datamodel/Assets/types.js +75 -0
- package/codegen/datamodel/Auth/index.d.ts +2 -0
- package/codegen/datamodel/Auth/index.js +18 -0
- package/codegen/datamodel/Auth/responses.d.ts +348 -0
- package/codegen/datamodel/Auth/responses.js +2 -0
- package/codegen/datamodel/Auth/types.d.ts +610 -0
- package/codegen/datamodel/Auth/types.js +127 -0
- package/codegen/datamodel/Callbacks/index.d.ts +2 -0
- package/codegen/datamodel/Callbacks/index.js +18 -0
- package/codegen/datamodel/Callbacks/responses.d.ts +36 -0
- package/codegen/datamodel/Callbacks/responses.js +2 -0
- package/codegen/datamodel/Callbacks/types.d.ts +43 -0
- package/codegen/datamodel/Callbacks/types.js +39 -0
- package/codegen/datamodel/Foundations/errors.d.ts +121 -0
- package/codegen/datamodel/Foundations/errors.js +169 -0
- package/codegen/datamodel/Foundations/index.d.ts +2 -0
- package/codegen/datamodel/Foundations/index.js +18 -0
- package/codegen/datamodel/Foundations/types.d.ts +9754 -0
- package/codegen/datamodel/Foundations/types.js +57741 -0
- package/codegen/datamodel/Permissions/index.d.ts +2 -0
- package/codegen/datamodel/Permissions/index.js +18 -0
- package/codegen/datamodel/Permissions/responses.d.ts +75 -0
- package/codegen/datamodel/Permissions/responses.js +2 -0
- package/codegen/datamodel/Permissions/types.d.ts +106 -0
- package/codegen/datamodel/Permissions/types.js +65 -0
- package/codegen/datamodel/PolicyExecution/errors.d.ts +11 -0
- package/codegen/datamodel/PolicyExecution/errors.js +17 -0
- package/codegen/datamodel/PolicyExecution/index.d.ts +3 -0
- package/codegen/datamodel/PolicyExecution/index.js +19 -0
- package/codegen/datamodel/PolicyExecution/responses.d.ts +17 -0
- package/codegen/datamodel/PolicyExecution/responses.js +2 -0
- package/codegen/datamodel/PolicyExecution/types.d.ts +45 -0
- package/codegen/datamodel/PolicyExecution/types.js +15 -0
- package/codegen/datamodel/PolicyManagement/index.d.ts +2 -0
- package/codegen/datamodel/PolicyManagement/index.js +18 -0
- package/codegen/datamodel/PolicyManagement/responses.d.ts +83 -0
- package/codegen/datamodel/PolicyManagement/responses.js +2 -0
- package/codegen/datamodel/PolicyManagement/types.d.ts +252 -0
- package/codegen/datamodel/PolicyManagement/types.js +81 -0
- package/codegen/datamodel/PublicKeys/index.d.ts +2 -0
- package/codegen/datamodel/PublicKeys/index.js +18 -0
- package/codegen/datamodel/PublicKeys/responses.d.ts +56 -0
- package/codegen/datamodel/PublicKeys/responses.js +2 -0
- package/codegen/datamodel/PublicKeys/types.d.ts +222 -0
- package/codegen/datamodel/PublicKeys/types.js +59 -0
- package/codegen/datamodel/Wallets/index.d.ts +2 -0
- package/codegen/datamodel/Wallets/index.js +18 -0
- package/codegen/datamodel/Wallets/responses.d.ts +77 -0
- package/codegen/datamodel/Wallets/responses.js +2 -0
- package/codegen/datamodel/Wallets/types.d.ts +261 -0
- package/codegen/datamodel/Wallets/types.js +89 -0
- package/dfnsApiClient.d.ts +27 -0
- package/dfnsApiClient.js +45 -0
- package/dfnsAuthenticator.d.ts +11 -0
- package/dfnsAuthenticator.js +18 -0
- package/dfnsDelegatedApiClient.d.ts +24 -0
- package/dfnsDelegatedApiClient.js +41 -0
- package/dfnsError.d.ts +5 -0
- package/dfnsError.js +11 -0
- package/index.d.ts +3 -0
- package/index.js +19 -0
- package/package.json +11 -0
- package/signer.d.ts +47 -0
- package/signer.js +2 -0
- package/utils/base64.d.ts +3 -0
- package/utils/base64.js +20 -0
- package/utils/fetch.d.ts +12 -0
- package/utils/fetch.js +89 -0
- package/utils/nonce.d.ts +1 -0
- package/utils/nonce.js +12 -0
- package/utils/url.d.ts +4 -0
- package/utils/url.js +15 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { BadRequestError, EntityNotFoundError, ForbiddenError, UnauthorizedError } from '../Foundations';
|
|
2
|
+
import { AccessTokenInfoWithPublicKey, AppInfoWithPublicKey, AvailableOrg, CredentialInfo, GenericSuccessMessage, UserAccessTokenInformation, UserActionSignature, UserCredentialChallenge, UserInfo, UserLogin, UserLoginChallenge, UserRecoveryChallenge, UserRegistration, UserRegistrationChallenge } from './types';
|
|
3
|
+
export type CreateDelegatedUserRegistrationSuccess = UserRegistrationChallenge;
|
|
4
|
+
export type CreateDelegatedUserRegistrationError = {
|
|
5
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
6
|
+
};
|
|
7
|
+
export type CreateDelegatedUserRegistrationResponse = CreateDelegatedUserRegistrationSuccess | CreateDelegatedUserRegistrationError;
|
|
8
|
+
export type CreateUserRegistrationChallengeSuccess = UserRegistrationChallenge;
|
|
9
|
+
export type CreateUserRegistrationChallengeError = {
|
|
10
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
11
|
+
};
|
|
12
|
+
export type CreateUserRegistrationChallengeResponse = CreateUserRegistrationChallengeSuccess | CreateUserRegistrationChallengeError;
|
|
13
|
+
export type CreateUserRegistrationSuccess = UserRegistration;
|
|
14
|
+
export type CreateUserRegistrationError = {
|
|
15
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
16
|
+
};
|
|
17
|
+
export type CreateUserRegistrationResponse = CreateUserRegistrationSuccess | CreateUserRegistrationError;
|
|
18
|
+
export type CreateUserLoginChallengeSuccess = UserLoginChallenge;
|
|
19
|
+
export type CreateUserLoginChallengeError = {
|
|
20
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
21
|
+
};
|
|
22
|
+
export type CreateUserLoginChallengeResponse = CreateUserLoginChallengeSuccess | CreateUserLoginChallengeError;
|
|
23
|
+
export type CreateUserLoginSuccess = UserLogin;
|
|
24
|
+
export type CreateUserLoginError = {
|
|
25
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
26
|
+
};
|
|
27
|
+
export type CreateUserLoginResponse = CreateUserLoginSuccess | CreateUserLoginError;
|
|
28
|
+
export type CreateDelegatedUserLoginSuccess = UserLogin;
|
|
29
|
+
export type CreateDelegatedUserLoginError = {
|
|
30
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
31
|
+
};
|
|
32
|
+
export type CreateDelegatedUserLoginResponse = CreateDelegatedUserLoginSuccess | CreateDelegatedUserLoginError;
|
|
33
|
+
export type CreateUserActionSignatureChallengeSuccess = UserLoginChallenge;
|
|
34
|
+
export type CreateUserActionSignatureChallengeError = {
|
|
35
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
36
|
+
};
|
|
37
|
+
export type CreateUserActionSignatureChallengeResponse = CreateUserActionSignatureChallengeSuccess | CreateUserActionSignatureChallengeError;
|
|
38
|
+
export type CreateUserActionSignatureSuccess = UserActionSignature;
|
|
39
|
+
export type CreateUserActionSignatureError = {
|
|
40
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
41
|
+
};
|
|
42
|
+
export type CreateUserActionSignatureResponse = CreateUserActionSignatureSuccess | CreateUserActionSignatureError;
|
|
43
|
+
export type ResendUserRegistrationEmailSuccess = GenericSuccessMessage;
|
|
44
|
+
export type ResendUserRegistrationEmailError = {
|
|
45
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
46
|
+
};
|
|
47
|
+
export type ResendUserRegistrationEmailResponse = ResendUserRegistrationEmailSuccess | ResendUserRegistrationEmailError;
|
|
48
|
+
export type CreateUserCredentialChallengeSuccess = UserCredentialChallenge;
|
|
49
|
+
export type CreateUserCredentialChallengeError = {
|
|
50
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
51
|
+
};
|
|
52
|
+
export type CreateUserCredentialChallengeResponse = CreateUserCredentialChallengeSuccess | CreateUserCredentialChallengeError;
|
|
53
|
+
export type CreateUserCredentialSuccess = CredentialInfo;
|
|
54
|
+
export type CreateUserCredentialError = {
|
|
55
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
56
|
+
};
|
|
57
|
+
export type CreateUserCredentialResponse = CreateUserCredentialSuccess | CreateUserCredentialError;
|
|
58
|
+
export type ActivateCredentialSuccess = GenericSuccessMessage;
|
|
59
|
+
export type ActivateCredentialError = {
|
|
60
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
61
|
+
};
|
|
62
|
+
export type ActivateCredentialResponse = ActivateCredentialSuccess | ActivateCredentialError;
|
|
63
|
+
export type DeactivateCredentialSuccess = GenericSuccessMessage;
|
|
64
|
+
export type DeactivateCredentialError = {
|
|
65
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
66
|
+
};
|
|
67
|
+
export type DeactivateCredentialResponse = DeactivateCredentialSuccess | DeactivateCredentialError;
|
|
68
|
+
export type ListUserCredentialsSuccess = {
|
|
69
|
+
items: CredentialInfo[];
|
|
70
|
+
};
|
|
71
|
+
export type ListUserCredentialsError = {
|
|
72
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
73
|
+
};
|
|
74
|
+
export type ListUserCredentialsResponse = ListUserCredentialsSuccess | ListUserCredentialsError;
|
|
75
|
+
export type CreateCodeLoginChallengeSuccess = UserLoginChallenge;
|
|
76
|
+
export type CreateCodeLoginChallengeError = {
|
|
77
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
78
|
+
};
|
|
79
|
+
export type CreateCodeLoginChallengeResponse = CreateCodeLoginChallengeSuccess | CreateCodeLoginChallengeError;
|
|
80
|
+
export type CreateCodeLoginSuccess = GenericSuccessMessage;
|
|
81
|
+
export type CreateCodeLoginError = {
|
|
82
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
83
|
+
};
|
|
84
|
+
export type CreateCodeLoginResponse = CreateCodeLoginSuccess | CreateCodeLoginError;
|
|
85
|
+
export type CreateUserLoginFromCodeSuccess = UserLogin;
|
|
86
|
+
export type CreateUserLoginFromCodeError = {
|
|
87
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
88
|
+
};
|
|
89
|
+
export type CreateUserLoginFromCodeResponse = CreateUserLoginFromCodeSuccess | CreateUserLoginFromCodeError;
|
|
90
|
+
export type CreateUserActionSignatureFromCodeSuccess = UserActionSignature;
|
|
91
|
+
export type CreateUserActionSignatureFromCodeError = {
|
|
92
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
93
|
+
};
|
|
94
|
+
export type CreateUserActionSignatureFromCodeResponse = CreateUserActionSignatureFromCodeSuccess | CreateUserActionSignatureFromCodeError;
|
|
95
|
+
export type CreateCodeUserActionSignatureChallengeSuccess = UserLoginChallenge;
|
|
96
|
+
export type CreateCodeUserActionSignatureChallengeError = {
|
|
97
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
98
|
+
};
|
|
99
|
+
export type CreateCodeUserActionSignatureChallengeResponse = CreateCodeUserActionSignatureChallengeSuccess | CreateCodeUserActionSignatureChallengeError;
|
|
100
|
+
export type CreateCodeUserActionSignatureSuccess = GenericSuccessMessage;
|
|
101
|
+
export type CreateCodeUserActionSignatureError = {
|
|
102
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
103
|
+
};
|
|
104
|
+
export type CreateCodeUserActionSignatureResponse = CreateCodeUserActionSignatureSuccess | CreateCodeUserActionSignatureError;
|
|
105
|
+
export type CreateAvailableOrgListSuccess = {
|
|
106
|
+
items: AvailableOrg[];
|
|
107
|
+
};
|
|
108
|
+
export type CreateAvailableOrgListError = {
|
|
109
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
110
|
+
};
|
|
111
|
+
export type CreateAvailableOrgListResponse = CreateAvailableOrgListSuccess | CreateAvailableOrgListError;
|
|
112
|
+
export type ListPersonalAccessTokensSuccess = {
|
|
113
|
+
items: AccessTokenInfoWithPublicKey[];
|
|
114
|
+
};
|
|
115
|
+
export type ListPersonalAccessTokensError = {
|
|
116
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
117
|
+
};
|
|
118
|
+
export type ListPersonalAccessTokensResponse = ListPersonalAccessTokensSuccess | ListPersonalAccessTokensError;
|
|
119
|
+
export type CreatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
120
|
+
export type CreatePersonalAccessTokenError = {
|
|
121
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
122
|
+
};
|
|
123
|
+
export type CreatePersonalAccessTokenResponse = CreatePersonalAccessTokenSuccess | CreatePersonalAccessTokenError;
|
|
124
|
+
export type GetPersonalAccessTokensSuccess = AccessTokenInfoWithPublicKey;
|
|
125
|
+
export type GetPersonalAccessTokensError = {
|
|
126
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
127
|
+
};
|
|
128
|
+
export type GetPersonalAccessTokensResponse = GetPersonalAccessTokensSuccess | GetPersonalAccessTokensError;
|
|
129
|
+
export type UpdatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
130
|
+
export type UpdatePersonalAccessTokenError = {
|
|
131
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
132
|
+
};
|
|
133
|
+
export type UpdatePersonalAccessTokenResponse = UpdatePersonalAccessTokenSuccess | UpdatePersonalAccessTokenError;
|
|
134
|
+
export type ArchivePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
135
|
+
export type ArchivePersonalAccessTokenError = {
|
|
136
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
137
|
+
};
|
|
138
|
+
export type ArchivePersonalAccessTokenResponse = ArchivePersonalAccessTokenSuccess | ArchivePersonalAccessTokenError;
|
|
139
|
+
export type ActivatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
140
|
+
export type ActivatePersonalAccessTokenError = {
|
|
141
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
142
|
+
};
|
|
143
|
+
export type ActivatePersonalAccessTokenResponse = ActivatePersonalAccessTokenSuccess | ActivatePersonalAccessTokenError;
|
|
144
|
+
export type DeactivatePersonalAccessTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
145
|
+
export type DeactivatePersonalAccessTokenError = {
|
|
146
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
147
|
+
};
|
|
148
|
+
export type DeactivatePersonalAccessTokenResponse = DeactivatePersonalAccessTokenSuccess | DeactivatePersonalAccessTokenError;
|
|
149
|
+
export type ListServiceAccountsSuccess = {
|
|
150
|
+
items: UserAccessTokenInformation[];
|
|
151
|
+
};
|
|
152
|
+
export type ListServiceAccountsError = {
|
|
153
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
154
|
+
};
|
|
155
|
+
export type ListServiceAccountsResponse = ListServiceAccountsSuccess | ListServiceAccountsError;
|
|
156
|
+
export type CreateServiceAccountSuccess = UserAccessTokenInformation;
|
|
157
|
+
export type CreateServiceAccountError = {
|
|
158
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
159
|
+
};
|
|
160
|
+
export type CreateServiceAccountResponse = CreateServiceAccountSuccess | CreateServiceAccountError;
|
|
161
|
+
export type GetServiceAccountSuccess = UserAccessTokenInformation;
|
|
162
|
+
export type GetServiceAccountError = {
|
|
163
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
164
|
+
};
|
|
165
|
+
export type GetServiceAccountResponse = GetServiceAccountSuccess | GetServiceAccountError;
|
|
166
|
+
export type UpdateServiceAccountSuccess = UserAccessTokenInformation;
|
|
167
|
+
export type UpdateServiceAccountError = {
|
|
168
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
169
|
+
};
|
|
170
|
+
export type UpdateServiceAccountResponse = UpdateServiceAccountSuccess | UpdateServiceAccountError;
|
|
171
|
+
export type ArchiveServiceAccountSuccess = UserAccessTokenInformation;
|
|
172
|
+
export type ArchiveServiceAccountError = {
|
|
173
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
174
|
+
};
|
|
175
|
+
export type ArchiveServiceAccountResponse = ArchiveServiceAccountSuccess | ArchiveServiceAccountError;
|
|
176
|
+
export type ActivateServiceAccountSuccess = UserAccessTokenInformation;
|
|
177
|
+
export type ActivateServiceAccountError = {
|
|
178
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
179
|
+
};
|
|
180
|
+
export type ActivateServiceAccountResponse = ActivateServiceAccountSuccess | ActivateServiceAccountError;
|
|
181
|
+
export type DeactivateServiceAccountSuccess = UserAccessTokenInformation;
|
|
182
|
+
export type DeactivateServiceAccountError = {
|
|
183
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
184
|
+
};
|
|
185
|
+
export type DeactivateServiceAccountResponse = DeactivateServiceAccountSuccess | DeactivateServiceAccountError;
|
|
186
|
+
export type ListServiceAccountTokensSuccess = {
|
|
187
|
+
items: AccessTokenInfoWithPublicKey[];
|
|
188
|
+
};
|
|
189
|
+
export type ListServiceAccountTokensError = {
|
|
190
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
191
|
+
};
|
|
192
|
+
export type ListServiceAccountTokensResponse = ListServiceAccountTokensSuccess | ListServiceAccountTokensError;
|
|
193
|
+
export type CreateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
194
|
+
export type CreateServiceAccountTokenError = {
|
|
195
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
196
|
+
};
|
|
197
|
+
export type CreateServiceAccountTokenResponse = CreateServiceAccountTokenSuccess | CreateServiceAccountTokenError;
|
|
198
|
+
export type GetServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
199
|
+
export type GetServiceAccountTokenError = {
|
|
200
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
201
|
+
};
|
|
202
|
+
export type GetServiceAccountTokenResponse = GetServiceAccountTokenSuccess | GetServiceAccountTokenError;
|
|
203
|
+
export type UpdateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
204
|
+
export type UpdateServiceAccountTokenError = {
|
|
205
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
206
|
+
};
|
|
207
|
+
export type UpdateServiceAccountTokenResponse = UpdateServiceAccountTokenSuccess | UpdateServiceAccountTokenError;
|
|
208
|
+
export type ArchiveServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
209
|
+
export type ArchiveServiceAccountTokenError = {
|
|
210
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
211
|
+
};
|
|
212
|
+
export type ArchiveServiceAccountTokenResponse = ArchiveServiceAccountTokenSuccess | ArchiveServiceAccountTokenError;
|
|
213
|
+
export type ActivateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
214
|
+
export type ActivateServiceAccountTokenError = {
|
|
215
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
216
|
+
};
|
|
217
|
+
export type ActivateServiceAccountTokenResponse = ActivateServiceAccountTokenSuccess | ActivateServiceAccountTokenError;
|
|
218
|
+
export type DeactivateServiceAccountTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
219
|
+
export type DeactivateServiceAccountTokenError = {
|
|
220
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
221
|
+
};
|
|
222
|
+
export type DeactivateServiceAccountTokenResponse = DeactivateServiceAccountTokenSuccess | DeactivateServiceAccountTokenError;
|
|
223
|
+
export type ListUsersSuccess = {
|
|
224
|
+
items: UserInfo[];
|
|
225
|
+
};
|
|
226
|
+
export type ListUsersError = {
|
|
227
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
228
|
+
};
|
|
229
|
+
export type ListUsersResponse = ListUsersSuccess | ListUsersError;
|
|
230
|
+
export type CreateUserSuccess = UserInfo;
|
|
231
|
+
export type CreateUserError = {
|
|
232
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
233
|
+
};
|
|
234
|
+
export type CreateUserResponse = CreateUserSuccess | CreateUserError;
|
|
235
|
+
export type GetUserSuccess = UserInfo;
|
|
236
|
+
export type GetUserError = {
|
|
237
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
238
|
+
};
|
|
239
|
+
export type GetUserResponse = GetUserSuccess | GetUserError;
|
|
240
|
+
export type UpdateUserSuccess = UserInfo;
|
|
241
|
+
export type UpdateUserError = {
|
|
242
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
243
|
+
};
|
|
244
|
+
export type UpdateUserResponse = UpdateUserSuccess | UpdateUserError;
|
|
245
|
+
export type ArchiveUserSuccess = UserInfo;
|
|
246
|
+
export type ArchiveUserError = {
|
|
247
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
248
|
+
};
|
|
249
|
+
export type ArchiveUserResponse = ArchiveUserSuccess | ArchiveUserError;
|
|
250
|
+
export type ActivateUserSuccess = UserInfo;
|
|
251
|
+
export type ActivateUserError = {
|
|
252
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
253
|
+
};
|
|
254
|
+
export type ActivateUserResponse = ActivateUserSuccess | ActivateUserError;
|
|
255
|
+
export type DeactivateUserSuccess = UserInfo;
|
|
256
|
+
export type DeactivateUserError = {
|
|
257
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
258
|
+
};
|
|
259
|
+
export type DeactivateUserResponse = DeactivateUserSuccess | DeactivateUserError;
|
|
260
|
+
export type ListApplicationsSuccess = {
|
|
261
|
+
items: AppInfoWithPublicKey[];
|
|
262
|
+
};
|
|
263
|
+
export type ListApplicationsError = {
|
|
264
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
265
|
+
};
|
|
266
|
+
export type ListApplicationsResponse = ListApplicationsSuccess | ListApplicationsError;
|
|
267
|
+
export type CreateApplicationSuccess = AppInfoWithPublicKey;
|
|
268
|
+
export type CreateApplicationError = {
|
|
269
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
270
|
+
};
|
|
271
|
+
export type CreateApplicationResponse = CreateApplicationSuccess | CreateApplicationError;
|
|
272
|
+
export type GetApplicationSuccess = AppInfoWithPublicKey;
|
|
273
|
+
export type GetApplicationError = {
|
|
274
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
275
|
+
};
|
|
276
|
+
export type GetApplicationResponse = GetApplicationSuccess | GetApplicationError;
|
|
277
|
+
export type UpdateApplicationSuccess = AppInfoWithPublicKey;
|
|
278
|
+
export type UpdateApplicationError = {
|
|
279
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
280
|
+
};
|
|
281
|
+
export type UpdateApplicationResponse = UpdateApplicationSuccess | UpdateApplicationError;
|
|
282
|
+
export type ArchiveApplicationSuccess = AppInfoWithPublicKey;
|
|
283
|
+
export type ArchiveApplicationError = {
|
|
284
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
285
|
+
};
|
|
286
|
+
export type ArchiveApplicationResponse = ArchiveApplicationSuccess | ArchiveApplicationError;
|
|
287
|
+
export type ActivateApplicationSuccess = AppInfoWithPublicKey;
|
|
288
|
+
export type ActivateApplicationError = {
|
|
289
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
290
|
+
};
|
|
291
|
+
export type ActivateApplicationResponse = ActivateApplicationSuccess | ActivateApplicationError;
|
|
292
|
+
export type DeactivateApplicationSuccess = AppInfoWithPublicKey;
|
|
293
|
+
export type DeactivateApplicationError = {
|
|
294
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
295
|
+
};
|
|
296
|
+
export type DeactivateApplicationResponse = DeactivateApplicationSuccess | DeactivateApplicationError;
|
|
297
|
+
export type ListApplicationTokensSuccess = {
|
|
298
|
+
items: AccessTokenInfoWithPublicKey[];
|
|
299
|
+
};
|
|
300
|
+
export type ListApplicationTokensError = {
|
|
301
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
302
|
+
};
|
|
303
|
+
export type ListApplicationTokensResponse = ListApplicationTokensSuccess | ListApplicationTokensError;
|
|
304
|
+
export type CreateApplicationTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
305
|
+
export type CreateApplicationTokenError = {
|
|
306
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
307
|
+
};
|
|
308
|
+
export type CreateApplicationTokenResponse = CreateApplicationTokenSuccess | CreateApplicationTokenError;
|
|
309
|
+
export type GetApplicationTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
310
|
+
export type GetApplicationTokenError = {
|
|
311
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
312
|
+
};
|
|
313
|
+
export type GetApplicationTokenResponse = GetApplicationTokenSuccess | GetApplicationTokenError;
|
|
314
|
+
export type UpdateApplicationTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
315
|
+
export type UpdateApplicationTokenError = {
|
|
316
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
317
|
+
};
|
|
318
|
+
export type UpdateApplicationTokenResponse = UpdateApplicationTokenSuccess | UpdateApplicationTokenError;
|
|
319
|
+
export type ArchiveApplicationTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
320
|
+
export type ArchiveApplicationTokenError = {
|
|
321
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
322
|
+
};
|
|
323
|
+
export type ArchiveApplicationTokenResponse = ArchiveApplicationTokenSuccess | ArchiveApplicationTokenError;
|
|
324
|
+
export type ActivateApplicationTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
325
|
+
export type ActivateApplicationTokenError = {
|
|
326
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
327
|
+
};
|
|
328
|
+
export type ActivateApplicationTokenResponse = ActivateApplicationTokenSuccess | ActivateApplicationTokenError;
|
|
329
|
+
export type DeactivateApplicationTokenSuccess = AccessTokenInfoWithPublicKey;
|
|
330
|
+
export type DeactivateApplicationTokenError = {
|
|
331
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
332
|
+
};
|
|
333
|
+
export type DeactivateApplicationTokenResponse = DeactivateApplicationTokenSuccess | DeactivateApplicationTokenError;
|
|
334
|
+
export type CreateUserRecoveryChallengeSuccess = UserRecoveryChallenge;
|
|
335
|
+
export type CreateUserRecoveryChallengeError = {
|
|
336
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
337
|
+
};
|
|
338
|
+
export type CreateUserRecoveryChallengeResponse = CreateUserRecoveryChallengeSuccess | CreateUserRecoveryChallengeError;
|
|
339
|
+
export type CreateUserRecoveryCodeSuccess = GenericSuccessMessage;
|
|
340
|
+
export type CreateUserRecoveryCodeError = {
|
|
341
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
342
|
+
};
|
|
343
|
+
export type CreateUserRecoveryCodeResponse = CreateUserRecoveryCodeSuccess | CreateUserRecoveryCodeError;
|
|
344
|
+
export type CreateUserRecoverySuccess = UserRegistration;
|
|
345
|
+
export type CreateUserRecoveryError = {
|
|
346
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
347
|
+
};
|
|
348
|
+
export type CreateUserRecoveryResponse = CreateUserRecoverySuccess | CreateUserRecoveryError;
|