@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,110 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BadRequestError,
|
|
3
|
+
EntityNotFoundError,
|
|
4
|
+
ForbiddenError,
|
|
5
|
+
UnauthorizedError,
|
|
6
|
+
} from '../Foundations'
|
|
7
|
+
import { CallbackEvent, CallbackSubscription } from './types'
|
|
8
|
+
|
|
9
|
+
// Response for CreateCallbackSubscription
|
|
10
|
+
|
|
11
|
+
export type CreateCallbackSubscriptionSuccess = CallbackSubscription
|
|
12
|
+
|
|
13
|
+
export type CreateCallbackSubscriptionError = {
|
|
14
|
+
error:
|
|
15
|
+
| BadRequestError
|
|
16
|
+
| UnauthorizedError
|
|
17
|
+
| ForbiddenError
|
|
18
|
+
| BadRequestError
|
|
19
|
+
| EntityNotFoundError
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type CreateCallbackSubscriptionResponse =
|
|
23
|
+
| CreateCallbackSubscriptionSuccess
|
|
24
|
+
| CreateCallbackSubscriptionError
|
|
25
|
+
|
|
26
|
+
// Response for GetCallbackSubscriptionById
|
|
27
|
+
|
|
28
|
+
export type GetCallbackSubscriptionByIdSuccess = CallbackSubscription
|
|
29
|
+
|
|
30
|
+
export type GetCallbackSubscriptionByIdError = {
|
|
31
|
+
error:
|
|
32
|
+
| EntityNotFoundError
|
|
33
|
+
| UnauthorizedError
|
|
34
|
+
| ForbiddenError
|
|
35
|
+
| BadRequestError
|
|
36
|
+
| EntityNotFoundError
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type GetCallbackSubscriptionByIdResponse =
|
|
40
|
+
| GetCallbackSubscriptionByIdSuccess
|
|
41
|
+
| GetCallbackSubscriptionByIdError
|
|
42
|
+
|
|
43
|
+
// Response for ListCallbackSubscriptions
|
|
44
|
+
|
|
45
|
+
export type ListCallbackSubscriptionsSuccess = {
|
|
46
|
+
items: CallbackSubscription[]
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type ListCallbackSubscriptionsError = {
|
|
50
|
+
error:
|
|
51
|
+
| UnauthorizedError
|
|
52
|
+
| ForbiddenError
|
|
53
|
+
| BadRequestError
|
|
54
|
+
| EntityNotFoundError
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type ListCallbackSubscriptionsResponse =
|
|
58
|
+
| ListCallbackSubscriptionsSuccess
|
|
59
|
+
| ListCallbackSubscriptionsError
|
|
60
|
+
|
|
61
|
+
// Response for ArchiveCallbackSubscription
|
|
62
|
+
|
|
63
|
+
export type ArchiveCallbackSubscriptionSuccess = CallbackSubscription
|
|
64
|
+
|
|
65
|
+
export type ArchiveCallbackSubscriptionError = {
|
|
66
|
+
error:
|
|
67
|
+
| UnauthorizedError
|
|
68
|
+
| ForbiddenError
|
|
69
|
+
| BadRequestError
|
|
70
|
+
| EntityNotFoundError
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type ArchiveCallbackSubscriptionResponse =
|
|
74
|
+
| ArchiveCallbackSubscriptionSuccess
|
|
75
|
+
| ArchiveCallbackSubscriptionError
|
|
76
|
+
|
|
77
|
+
// Response for GetCallbackEventById
|
|
78
|
+
|
|
79
|
+
export type GetCallbackEventByIdSuccess = CallbackEvent
|
|
80
|
+
|
|
81
|
+
export type GetCallbackEventByIdError = {
|
|
82
|
+
error:
|
|
83
|
+
| EntityNotFoundError
|
|
84
|
+
| UnauthorizedError
|
|
85
|
+
| ForbiddenError
|
|
86
|
+
| BadRequestError
|
|
87
|
+
| EntityNotFoundError
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type GetCallbackEventByIdResponse =
|
|
91
|
+
| GetCallbackEventByIdSuccess
|
|
92
|
+
| GetCallbackEventByIdError
|
|
93
|
+
|
|
94
|
+
// Response for ListCallbackEvents
|
|
95
|
+
|
|
96
|
+
export type ListCallbackEventsSuccess = {
|
|
97
|
+
items: CallbackEvent[]
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type ListCallbackEventsError = {
|
|
101
|
+
error:
|
|
102
|
+
| UnauthorizedError
|
|
103
|
+
| ForbiddenError
|
|
104
|
+
| BadRequestError
|
|
105
|
+
| EntityNotFoundError
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type ListCallbackEventsResponse =
|
|
109
|
+
| ListCallbackEventsSuccess
|
|
110
|
+
| ListCallbackEventsError
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { DocumentSnapshot, EntityId, IsoDatetime } from '../Foundations'
|
|
2
|
+
|
|
3
|
+
// FIXME: Missing documentation for CallbackEvent
|
|
4
|
+
export type CallbackEvent = {
|
|
5
|
+
// FIXME: Missing documentation for id
|
|
6
|
+
id: EntityId
|
|
7
|
+
|
|
8
|
+
// FIXME: Missing documentation for orgId
|
|
9
|
+
orgId: EntityId
|
|
10
|
+
|
|
11
|
+
// FIXME: Missing documentation for externalId
|
|
12
|
+
externalId?: string
|
|
13
|
+
|
|
14
|
+
// FIXME: Missing documentation for callbackSubscriptionId
|
|
15
|
+
callbackSubscriptionId: EntityId
|
|
16
|
+
|
|
17
|
+
// FIXME: Missing documentation for kind
|
|
18
|
+
kind: CallbackEventKind
|
|
19
|
+
|
|
20
|
+
// FIXME: Missing documentation for documentSnapshot
|
|
21
|
+
documentSnapshot: DocumentSnapshot
|
|
22
|
+
|
|
23
|
+
// FIXME: Missing documentation for dateCreated
|
|
24
|
+
dateCreated: IsoDatetime
|
|
25
|
+
|
|
26
|
+
// FIXME: Missing documentation for status
|
|
27
|
+
status: CallbackEventStatus
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// FIXME: Missing documentation for CallbackSubscription
|
|
31
|
+
export type CallbackSubscription = {
|
|
32
|
+
// FIXME: Missing documentation for id
|
|
33
|
+
id: EntityId
|
|
34
|
+
|
|
35
|
+
// FIXME: Missing documentation for orgId
|
|
36
|
+
orgId: EntityId
|
|
37
|
+
|
|
38
|
+
// FIXME: Missing documentation for externalId
|
|
39
|
+
externalId?: string
|
|
40
|
+
|
|
41
|
+
// FIXME: Missing documentation for eventKind
|
|
42
|
+
eventKind: CallbackEventKind
|
|
43
|
+
|
|
44
|
+
// FIXME: Missing documentation for url
|
|
45
|
+
url: string
|
|
46
|
+
|
|
47
|
+
// FIXME: Missing documentation for status
|
|
48
|
+
status: CallbackSubscriptionStatus
|
|
49
|
+
|
|
50
|
+
// FIXME: Missing documentation for dateCreated
|
|
51
|
+
dateCreated: IsoDatetime
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// FIXME: Missing documentation for CreateCallbackSubscriptionInput
|
|
55
|
+
export type CreateCallbackSubscriptionInput = {
|
|
56
|
+
// FIXME: Missing documentation for externalId
|
|
57
|
+
externalId?: string
|
|
58
|
+
|
|
59
|
+
// FIXME: Missing documentation for eventKind
|
|
60
|
+
eventKind: CallbackEventKind
|
|
61
|
+
|
|
62
|
+
// FIXME: Missing documentation for url
|
|
63
|
+
url: string
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// FIXME: Missing documentation for CallbackEventKind
|
|
67
|
+
export enum CallbackEventKind {
|
|
68
|
+
// FIXME: Missing documentation for PaymentInitiated
|
|
69
|
+
PaymentInitiated = 'PaymentInitiated',
|
|
70
|
+
// FIXME: Missing documentation for PaymentExecuted
|
|
71
|
+
PaymentExecuted = 'PaymentExecuted',
|
|
72
|
+
// FIXME: Missing documentation for PaymentConfirmed
|
|
73
|
+
PaymentConfirmed = 'PaymentConfirmed',
|
|
74
|
+
// FIXME: Missing documentation for PaymentReceived
|
|
75
|
+
PaymentReceived = 'PaymentReceived',
|
|
76
|
+
// FIXME: Missing documentation for TransactionBroadcasted
|
|
77
|
+
TransactionBroadcasted = 'TransactionBroadcasted',
|
|
78
|
+
// FIXME: Missing documentation for WalletCreated
|
|
79
|
+
WalletCreated = 'WalletCreated',
|
|
80
|
+
// FIXME: Missing documentation for PolicyActivated
|
|
81
|
+
PolicyActivated = 'PolicyActivated',
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// FIXME: Missing documentation for CallbackEventStatus
|
|
85
|
+
export enum CallbackEventStatus {
|
|
86
|
+
// FIXME: Missing documentation for Sent
|
|
87
|
+
Sent = 'Sent',
|
|
88
|
+
// FIXME: Missing documentation for Failed
|
|
89
|
+
Failed = 'Failed',
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// FIXME: Missing documentation for CallbackSubscriptionStatus
|
|
93
|
+
export enum CallbackSubscriptionStatus {
|
|
94
|
+
// FIXME: Missing documentation for Enabled
|
|
95
|
+
Enabled = 'Enabled',
|
|
96
|
+
// FIXME: Missing documentation for Disabled
|
|
97
|
+
Disabled = 'Disabled',
|
|
98
|
+
// FIXME: Missing documentation for Archived
|
|
99
|
+
Archived = 'Archived',
|
|
100
|
+
}
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
export class DfnsError extends Error {
|
|
2
|
+
name: string = 'DfnsError'
|
|
3
|
+
|
|
4
|
+
errorName: string = ''
|
|
5
|
+
httpStatus: number = 500
|
|
6
|
+
shouldTriggerInvestigation: boolean = false
|
|
7
|
+
serviceName: string = 'SERVICE_NOT_DEFINED'
|
|
8
|
+
causes?: string[] = []
|
|
9
|
+
isDfnsError: boolean = true
|
|
10
|
+
|
|
11
|
+
constructor(
|
|
12
|
+
message: string,
|
|
13
|
+
serviceName: string,
|
|
14
|
+
causes: string[] = [],
|
|
15
|
+
shouldTriggerInvestigation: boolean = true
|
|
16
|
+
) {
|
|
17
|
+
super(message)
|
|
18
|
+
|
|
19
|
+
this.serviceName = serviceName || (process.env.SERVICE_NAME as string)
|
|
20
|
+
this.shouldTriggerInvestigation = shouldTriggerInvestigation
|
|
21
|
+
this.causes = causes
|
|
22
|
+
|
|
23
|
+
if (typeof serviceName !== 'string') {
|
|
24
|
+
this.serviceName = 'SERVICE_NOT_DEFINED'
|
|
25
|
+
this.shouldTriggerInvestigation = true
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
toErrorObject() {
|
|
30
|
+
const stackTrace = this.stack || ''
|
|
31
|
+
return {
|
|
32
|
+
name: this.name,
|
|
33
|
+
errorName: this.errorName,
|
|
34
|
+
serviceName: this.serviceName,
|
|
35
|
+
message: this.message,
|
|
36
|
+
causes: this.causes,
|
|
37
|
+
shouldTriggerInvestigation: this.shouldTriggerInvestigation,
|
|
38
|
+
httpStatus: this.httpStatus,
|
|
39
|
+
stackTrace,
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
toString() {
|
|
44
|
+
return JSON.stringify(this.toErrorObject())
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export class ServiceUnavailableError extends DfnsError {
|
|
48
|
+
name: string = 'ServiceUnavailableError'
|
|
49
|
+
// FIXME: Missing documentation for serviceName
|
|
50
|
+
serviceName: string
|
|
51
|
+
|
|
52
|
+
// FIXME: Missing documentation for message
|
|
53
|
+
message: string
|
|
54
|
+
|
|
55
|
+
// FIXME: Missing documentation for causes
|
|
56
|
+
causes?: string[]
|
|
57
|
+
|
|
58
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
59
|
+
shouldTriggerInvestigaton: boolean
|
|
60
|
+
|
|
61
|
+
// FIXME: Missing documentation for isDfnsError
|
|
62
|
+
isDfnsError: boolean = true
|
|
63
|
+
|
|
64
|
+
// FIXME: Missing documentation for httpStatus
|
|
65
|
+
httpStatus: number = 503
|
|
66
|
+
|
|
67
|
+
// FIXME: Missing documentation for errorName
|
|
68
|
+
errorName: string = 'Service Unavailable'
|
|
69
|
+
}
|
|
70
|
+
export class NotImplementedError extends DfnsError {
|
|
71
|
+
name: string = 'NotImplementedError'
|
|
72
|
+
// FIXME: Missing documentation for serviceName
|
|
73
|
+
serviceName: string
|
|
74
|
+
|
|
75
|
+
// FIXME: Missing documentation for message
|
|
76
|
+
message: string
|
|
77
|
+
|
|
78
|
+
// FIXME: Missing documentation for causes
|
|
79
|
+
causes?: string[]
|
|
80
|
+
|
|
81
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
82
|
+
shouldTriggerInvestigaton: boolean
|
|
83
|
+
|
|
84
|
+
// FIXME: Missing documentation for isDfnsError
|
|
85
|
+
isDfnsError: boolean = true
|
|
86
|
+
|
|
87
|
+
// FIXME: Missing documentation for httpStatus
|
|
88
|
+
httpStatus: number = 501
|
|
89
|
+
|
|
90
|
+
// FIXME: Missing documentation for errorName
|
|
91
|
+
errorName: string = 'Not Implemented'
|
|
92
|
+
}
|
|
93
|
+
export class InternalServerError extends DfnsError {
|
|
94
|
+
name: string = 'InternalServerError'
|
|
95
|
+
// FIXME: Missing documentation for serviceName
|
|
96
|
+
serviceName: string
|
|
97
|
+
|
|
98
|
+
// FIXME: Missing documentation for message
|
|
99
|
+
message: string
|
|
100
|
+
|
|
101
|
+
// FIXME: Missing documentation for causes
|
|
102
|
+
causes?: string[]
|
|
103
|
+
|
|
104
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
105
|
+
shouldTriggerInvestigaton: boolean
|
|
106
|
+
|
|
107
|
+
// FIXME: Missing documentation for isDfnsError
|
|
108
|
+
isDfnsError: boolean = true
|
|
109
|
+
|
|
110
|
+
// FIXME: Missing documentation for httpStatus
|
|
111
|
+
httpStatus: number = 500
|
|
112
|
+
|
|
113
|
+
// FIXME: Missing documentation for errorName
|
|
114
|
+
errorName: string = 'Internal Server Error'
|
|
115
|
+
}
|
|
116
|
+
export class UnprocessableContentError extends DfnsError {
|
|
117
|
+
name: string = 'UnprocessableContentError'
|
|
118
|
+
// FIXME: Missing documentation for serviceName
|
|
119
|
+
serviceName: string
|
|
120
|
+
|
|
121
|
+
// FIXME: Missing documentation for message
|
|
122
|
+
message: string
|
|
123
|
+
|
|
124
|
+
// FIXME: Missing documentation for causes
|
|
125
|
+
causes?: string[]
|
|
126
|
+
|
|
127
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
128
|
+
shouldTriggerInvestigaton: boolean
|
|
129
|
+
|
|
130
|
+
// FIXME: Missing documentation for isDfnsError
|
|
131
|
+
isDfnsError: boolean = true
|
|
132
|
+
|
|
133
|
+
// FIXME: Missing documentation for httpStatus
|
|
134
|
+
httpStatus: number = 422
|
|
135
|
+
|
|
136
|
+
// FIXME: Missing documentation for errorName
|
|
137
|
+
errorName: string = 'Unprocessable Content'
|
|
138
|
+
}
|
|
139
|
+
export class EntityExpiredError extends DfnsError {
|
|
140
|
+
name: string = 'EntityExpiredError'
|
|
141
|
+
// FIXME: Missing documentation for serviceName
|
|
142
|
+
serviceName: string
|
|
143
|
+
|
|
144
|
+
// FIXME: Missing documentation for message
|
|
145
|
+
message: string
|
|
146
|
+
|
|
147
|
+
// FIXME: Missing documentation for causes
|
|
148
|
+
causes?: string[]
|
|
149
|
+
|
|
150
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
151
|
+
shouldTriggerInvestigaton: boolean
|
|
152
|
+
|
|
153
|
+
// FIXME: Missing documentation for isDfnsError
|
|
154
|
+
isDfnsError: boolean = true
|
|
155
|
+
|
|
156
|
+
// FIXME: Missing documentation for httpStatus
|
|
157
|
+
httpStatus: number = 410
|
|
158
|
+
|
|
159
|
+
// FIXME: Missing documentation for errorName
|
|
160
|
+
errorName: string = 'Resource Expired'
|
|
161
|
+
}
|
|
162
|
+
export class DuplicateError extends DfnsError {
|
|
163
|
+
name: string = 'DuplicateError'
|
|
164
|
+
// FIXME: Missing documentation for serviceName
|
|
165
|
+
serviceName: string
|
|
166
|
+
|
|
167
|
+
// FIXME: Missing documentation for message
|
|
168
|
+
message: string
|
|
169
|
+
|
|
170
|
+
// FIXME: Missing documentation for causes
|
|
171
|
+
causes?: string[]
|
|
172
|
+
|
|
173
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
174
|
+
shouldTriggerInvestigaton: boolean
|
|
175
|
+
|
|
176
|
+
// FIXME: Missing documentation for isDfnsError
|
|
177
|
+
isDfnsError: boolean = true
|
|
178
|
+
|
|
179
|
+
// FIXME: Missing documentation for httpStatus
|
|
180
|
+
httpStatus: number = 409
|
|
181
|
+
|
|
182
|
+
// FIXME: Missing documentation for errorName
|
|
183
|
+
errorName: string = 'Duplicate'
|
|
184
|
+
}
|
|
185
|
+
export class EntityNotFoundError extends DfnsError {
|
|
186
|
+
name: string = 'EntityNotFoundError'
|
|
187
|
+
// FIXME: Missing documentation for serviceName
|
|
188
|
+
serviceName: string
|
|
189
|
+
|
|
190
|
+
// FIXME: Missing documentation for message
|
|
191
|
+
message: string
|
|
192
|
+
|
|
193
|
+
// FIXME: Missing documentation for causes
|
|
194
|
+
causes?: string[]
|
|
195
|
+
|
|
196
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
197
|
+
shouldTriggerInvestigaton: boolean
|
|
198
|
+
|
|
199
|
+
// FIXME: Missing documentation for isDfnsError
|
|
200
|
+
isDfnsError: boolean = true
|
|
201
|
+
|
|
202
|
+
// FIXME: Missing documentation for httpStatus
|
|
203
|
+
httpStatus: number = 404
|
|
204
|
+
|
|
205
|
+
// FIXME: Missing documentation for errorName
|
|
206
|
+
errorName: string = 'Not Found'
|
|
207
|
+
}
|
|
208
|
+
export class ForbiddenError extends DfnsError {
|
|
209
|
+
name: string = 'ForbiddenError'
|
|
210
|
+
// FIXME: Missing documentation for serviceName
|
|
211
|
+
serviceName: string
|
|
212
|
+
|
|
213
|
+
// FIXME: Missing documentation for message
|
|
214
|
+
message: string
|
|
215
|
+
|
|
216
|
+
// FIXME: Missing documentation for causes
|
|
217
|
+
causes?: string[]
|
|
218
|
+
|
|
219
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
220
|
+
shouldTriggerInvestigaton: boolean
|
|
221
|
+
|
|
222
|
+
// FIXME: Missing documentation for isDfnsError
|
|
223
|
+
isDfnsError: boolean = true
|
|
224
|
+
|
|
225
|
+
// FIXME: Missing documentation for httpStatus
|
|
226
|
+
httpStatus: number = 403
|
|
227
|
+
|
|
228
|
+
// FIXME: Missing documentation for errorName
|
|
229
|
+
errorName: string = 'Access To Resource Not Allowed'
|
|
230
|
+
}
|
|
231
|
+
export class PaymentRequiredError extends DfnsError {
|
|
232
|
+
name: string = 'PaymentRequiredError'
|
|
233
|
+
// FIXME: Missing documentation for serviceName
|
|
234
|
+
serviceName: string
|
|
235
|
+
|
|
236
|
+
// FIXME: Missing documentation for message
|
|
237
|
+
message: string
|
|
238
|
+
|
|
239
|
+
// FIXME: Missing documentation for causes
|
|
240
|
+
causes?: string[]
|
|
241
|
+
|
|
242
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
243
|
+
shouldTriggerInvestigaton: boolean
|
|
244
|
+
|
|
245
|
+
// FIXME: Missing documentation for isDfnsError
|
|
246
|
+
isDfnsError: boolean = true
|
|
247
|
+
|
|
248
|
+
// FIXME: Missing documentation for httpStatus
|
|
249
|
+
httpStatus: number = 402
|
|
250
|
+
|
|
251
|
+
// FIXME: Missing documentation for errorName
|
|
252
|
+
errorName: string = 'Payment Required'
|
|
253
|
+
}
|
|
254
|
+
export class UnauthorizedError extends DfnsError {
|
|
255
|
+
name: string = 'UnauthorizedError'
|
|
256
|
+
// FIXME: Missing documentation for serviceName
|
|
257
|
+
serviceName: string
|
|
258
|
+
|
|
259
|
+
// FIXME: Missing documentation for message
|
|
260
|
+
message: string
|
|
261
|
+
|
|
262
|
+
// FIXME: Missing documentation for causes
|
|
263
|
+
causes?: string[]
|
|
264
|
+
|
|
265
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
266
|
+
shouldTriggerInvestigaton: boolean
|
|
267
|
+
|
|
268
|
+
// FIXME: Missing documentation for isDfnsError
|
|
269
|
+
isDfnsError: boolean = true
|
|
270
|
+
|
|
271
|
+
// FIXME: Missing documentation for httpStatus
|
|
272
|
+
httpStatus: number = 401
|
|
273
|
+
|
|
274
|
+
// FIXME: Missing documentation for errorName
|
|
275
|
+
errorName: string = 'Unauthorized'
|
|
276
|
+
}
|
|
277
|
+
export class BadRequestError extends DfnsError {
|
|
278
|
+
name: string = 'BadRequestError'
|
|
279
|
+
// FIXME: Missing documentation for serviceName
|
|
280
|
+
serviceName: string
|
|
281
|
+
|
|
282
|
+
// FIXME: Missing documentation for message
|
|
283
|
+
message: string
|
|
284
|
+
|
|
285
|
+
// FIXME: Missing documentation for causes
|
|
286
|
+
causes?: string[]
|
|
287
|
+
|
|
288
|
+
// FIXME: Missing documentation for shouldTriggerInvestigaton
|
|
289
|
+
shouldTriggerInvestigaton: boolean
|
|
290
|
+
|
|
291
|
+
// FIXME: Missing documentation for isDfnsError
|
|
292
|
+
isDfnsError: boolean = true
|
|
293
|
+
|
|
294
|
+
// FIXME: Missing documentation for httpStatus
|
|
295
|
+
httpStatus: number = 400
|
|
296
|
+
|
|
297
|
+
// FIXME: Missing documentation for errorName
|
|
298
|
+
errorName: string = 'Bad Request'
|
|
299
|
+
}
|