@dfns/sdk 0.0.0-prealpha.9
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 +96 -0
- package/baseAuthApi.js +73 -0
- package/codegen/Assets/AssetsClient.d.ts +13 -0
- package/codegen/Assets/AssetsClient.js +94 -0
- package/codegen/Assets/DelegatedAssetsClient.d.ts +16 -0
- package/codegen/Assets/DelegatedAssetsClient.js +125 -0
- package/codegen/Assets/index.d.ts +3 -0
- package/codegen/Assets/index.js +19 -0
- package/codegen/Assets/types.d.ts +37 -0
- package/codegen/Assets/types.js +2 -0
- package/codegen/Auth/AuthClient.d.ts +48 -0
- package/codegen/Auth/AuthClient.js +494 -0
- package/codegen/Auth/DelegatedAuthClient.d.ts +74 -0
- package/codegen/Auth/DelegatedAuthClient.js +882 -0
- package/codegen/Auth/index.d.ts +3 -0
- package/codegen/Auth/index.js +19 -0
- package/codegen/Auth/types.d.ts +169 -0
- package/codegen/Auth/types.js +2 -0
- package/codegen/Blockchains/BlockchainsClient.d.ts +7 -0
- package/codegen/Blockchains/BlockchainsClient.js +23 -0
- package/codegen/Blockchains/DelegatedBlockchainsClient.d.ts +7 -0
- package/codegen/Blockchains/DelegatedBlockchainsClient.js +23 -0
- package/codegen/Blockchains/index.d.ts +3 -0
- package/codegen/Blockchains/index.js +19 -0
- package/codegen/Blockchains/types.d.ts +6 -0
- package/codegen/Blockchains/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 +27 -0
- package/codegen/Permissions/DelegatedPermissionsClient.js +285 -0
- package/codegen/Permissions/PermissionsClient.d.ts +18 -0
- package/codegen/Permissions/PermissionsClient.js +157 -0
- package/codegen/Permissions/index.d.ts +3 -0
- package/codegen/Permissions/index.js +19 -0
- package/codegen/Permissions/types.d.ts +62 -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 +18 -0
- package/codegen/PolicyExecution/types.js +2 -0
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +25 -0
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +241 -0
- package/codegen/PolicyManagement/PolicyManagementClient.d.ts +18 -0
- package/codegen/PolicyManagement/PolicyManagementClient.js +147 -0
- package/codegen/PolicyManagement/index.d.ts +3 -0
- package/codegen/PolicyManagement/index.js +19 -0
- package/codegen/PolicyManagement/types.d.ts +51 -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/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 +47 -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/Blockchains/index.d.ts +2 -0
- package/codegen/datamodel/Blockchains/index.js +18 -0
- package/codegen/datamodel/Blockchains/responses.d.ts +12 -0
- package/codegen/datamodel/Blockchains/responses.js +2 -0
- package/codegen/datamodel/Blockchains/types.d.ts +269 -0
- package/codegen/datamodel/Blockchains/types.js +53 -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 +9756 -0
- package/codegen/datamodel/Foundations/types.js +57753 -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 +93 -0
- package/codegen/datamodel/Permissions/types.js +43 -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 +19 -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 +212 -0
- package/codegen/datamodel/PolicyManagement/types.js +77 -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 +277 -0
- package/codegen/datamodel/Wallets/types.js +123 -0
- package/dfnsApiClient.d.ts +27 -0
- package/dfnsApiClient.js +45 -0
- package/dfnsAuthenticator.d.ts +17 -0
- package/dfnsAuthenticator.js +29 -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 +7 -0
- package/index.js +23 -0
- package/package.json +11 -0
- package/signer.d.ts +42 -0
- package/signer.js +2 -0
- package/store.d.ts +79 -0
- package/store.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,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthIdentityKind = exports.UserAuthKind = exports.AccessTokenKind = exports.ServerKind = exports.CredentialFactor = exports.FidoCredentialsTransportKind = exports.ApplicationKind = exports.AuthenticatorAttestationOptions = exports.AuthenticatorRequirementOptions = exports.UserKind = exports.CredentialKind = void 0;
|
|
4
|
+
// FIXME: Missing documentation for CredentialKind
|
|
5
|
+
var CredentialKind;
|
|
6
|
+
(function (CredentialKind) {
|
|
7
|
+
// FIXME: Missing documentation for Fido2
|
|
8
|
+
CredentialKind["Fido2"] = "Fido2";
|
|
9
|
+
// FIXME: Missing documentation for Key
|
|
10
|
+
CredentialKind["Key"] = "Key";
|
|
11
|
+
// FIXME: Missing documentation for Password
|
|
12
|
+
CredentialKind["Password"] = "Password";
|
|
13
|
+
// FIXME: Missing documentation for Totp
|
|
14
|
+
CredentialKind["Totp"] = "Totp";
|
|
15
|
+
// FIXME: Missing documentation for RecoveryKey
|
|
16
|
+
CredentialKind["RecoveryKey"] = "RecoveryKey";
|
|
17
|
+
})(CredentialKind = exports.CredentialKind || (exports.CredentialKind = {}));
|
|
18
|
+
// FIXME: Missing documentation for UserKind
|
|
19
|
+
var UserKind;
|
|
20
|
+
(function (UserKind) {
|
|
21
|
+
// FIXME: Missing documentation for CustomerEmployee
|
|
22
|
+
UserKind["CustomerEmployee"] = "CustomerEmployee";
|
|
23
|
+
// FIXME: Missing documentation for DfnsStaff
|
|
24
|
+
UserKind["DfnsStaff"] = "DfnsStaff";
|
|
25
|
+
// FIXME: Missing documentation for EndUser
|
|
26
|
+
UserKind["EndUser"] = "EndUser";
|
|
27
|
+
// FIXME: Missing documentation for Pat
|
|
28
|
+
UserKind["Pat"] = "Pat";
|
|
29
|
+
// FIXME: Missing documentation for Application
|
|
30
|
+
UserKind["Application"] = "Application";
|
|
31
|
+
// FIXME: Missing documentation for ServiceAccount
|
|
32
|
+
UserKind["ServiceAccount"] = "ServiceAccount";
|
|
33
|
+
})(UserKind = exports.UserKind || (exports.UserKind = {}));
|
|
34
|
+
// FIXME: Missing documentation for AuthenticatorRequirementOptions
|
|
35
|
+
var AuthenticatorRequirementOptions;
|
|
36
|
+
(function (AuthenticatorRequirementOptions) {
|
|
37
|
+
// FIXME: Missing documentation for required
|
|
38
|
+
AuthenticatorRequirementOptions["required"] = "required";
|
|
39
|
+
// FIXME: Missing documentation for preferred
|
|
40
|
+
AuthenticatorRequirementOptions["preferred"] = "preferred";
|
|
41
|
+
// FIXME: Missing documentation for discouraged
|
|
42
|
+
AuthenticatorRequirementOptions["discouraged"] = "discouraged";
|
|
43
|
+
})(AuthenticatorRequirementOptions = exports.AuthenticatorRequirementOptions || (exports.AuthenticatorRequirementOptions = {}));
|
|
44
|
+
// FIXME: Missing documentation for AuthenticatorAttestationOptions
|
|
45
|
+
var AuthenticatorAttestationOptions;
|
|
46
|
+
(function (AuthenticatorAttestationOptions) {
|
|
47
|
+
// FIXME: Missing documentation for none
|
|
48
|
+
AuthenticatorAttestationOptions["none"] = "none";
|
|
49
|
+
// FIXME: Missing documentation for indirect
|
|
50
|
+
AuthenticatorAttestationOptions["indirect"] = "indirect";
|
|
51
|
+
// FIXME: Missing documentation for direct
|
|
52
|
+
AuthenticatorAttestationOptions["direct"] = "direct";
|
|
53
|
+
// FIXME: Missing documentation for enterprise
|
|
54
|
+
AuthenticatorAttestationOptions["enterprise"] = "enterprise";
|
|
55
|
+
})(AuthenticatorAttestationOptions = exports.AuthenticatorAttestationOptions || (exports.AuthenticatorAttestationOptions = {}));
|
|
56
|
+
// FIXME: Missing documentation for ApplicationKind
|
|
57
|
+
var ApplicationKind;
|
|
58
|
+
(function (ApplicationKind) {
|
|
59
|
+
// FIXME: Missing documentation for ServerSideApplication
|
|
60
|
+
ApplicationKind["ServerSideApplication"] = "ServerSideApplication";
|
|
61
|
+
// FIXME: Missing documentation for ClientSideApplication
|
|
62
|
+
ApplicationKind["ClientSideApplication"] = "ClientSideApplication";
|
|
63
|
+
})(ApplicationKind = exports.ApplicationKind || (exports.ApplicationKind = {}));
|
|
64
|
+
// FIXME: Missing documentation for FidoCredentialsTransportKind
|
|
65
|
+
var FidoCredentialsTransportKind;
|
|
66
|
+
(function (FidoCredentialsTransportKind) {
|
|
67
|
+
// FIXME: Missing documentation for usb
|
|
68
|
+
FidoCredentialsTransportKind["usb"] = "usb";
|
|
69
|
+
// FIXME: Missing documentation for nfc
|
|
70
|
+
FidoCredentialsTransportKind["nfc"] = "nfc";
|
|
71
|
+
// FIXME: Missing documentation for ble
|
|
72
|
+
FidoCredentialsTransportKind["ble"] = "ble";
|
|
73
|
+
// FIXME: Missing documentation for internal
|
|
74
|
+
FidoCredentialsTransportKind["internal"] = "internal";
|
|
75
|
+
// FIXME: Missing documentation for hybrid
|
|
76
|
+
FidoCredentialsTransportKind["hybrid"] = "hybrid";
|
|
77
|
+
})(FidoCredentialsTransportKind = exports.FidoCredentialsTransportKind || (exports.FidoCredentialsTransportKind = {}));
|
|
78
|
+
// FIXME: Missing documentation for CredentialFactor
|
|
79
|
+
var CredentialFactor;
|
|
80
|
+
(function (CredentialFactor) {
|
|
81
|
+
// FIXME: Missing documentation for first
|
|
82
|
+
CredentialFactor["first"] = "first";
|
|
83
|
+
// FIXME: Missing documentation for second
|
|
84
|
+
CredentialFactor["second"] = "second";
|
|
85
|
+
// FIXME: Missing documentation for either
|
|
86
|
+
CredentialFactor["either"] = "either";
|
|
87
|
+
})(CredentialFactor = exports.CredentialFactor || (exports.CredentialFactor = {}));
|
|
88
|
+
// FIXME: Missing documentation for ServerKind
|
|
89
|
+
var ServerKind;
|
|
90
|
+
(function (ServerKind) {
|
|
91
|
+
// FIXME: Missing documentation for Api
|
|
92
|
+
ServerKind["Api"] = "Api";
|
|
93
|
+
// FIXME: Missing documentation for Staff
|
|
94
|
+
ServerKind["Staff"] = "Staff";
|
|
95
|
+
})(ServerKind = exports.ServerKind || (exports.ServerKind = {}));
|
|
96
|
+
// FIXME: Missing documentation for AccessTokenKind
|
|
97
|
+
var AccessTokenKind;
|
|
98
|
+
(function (AccessTokenKind) {
|
|
99
|
+
// FIXME: Missing documentation for ServiceAccount
|
|
100
|
+
AccessTokenKind["ServiceAccount"] = "ServiceAccount";
|
|
101
|
+
// FIXME: Missing documentation for Pat
|
|
102
|
+
AccessTokenKind["Pat"] = "Pat";
|
|
103
|
+
// FIXME: Missing documentation for Application
|
|
104
|
+
AccessTokenKind["Application"] = "Application";
|
|
105
|
+
})(AccessTokenKind = exports.AccessTokenKind || (exports.AccessTokenKind = {}));
|
|
106
|
+
// FIXME: Missing documentation for UserAuthKind
|
|
107
|
+
var UserAuthKind;
|
|
108
|
+
(function (UserAuthKind) {
|
|
109
|
+
// FIXME: Missing documentation for EndUser
|
|
110
|
+
UserAuthKind["EndUser"] = "EndUser";
|
|
111
|
+
// FIXME: Missing documentation for CustomerEmployee
|
|
112
|
+
UserAuthKind["CustomerEmployee"] = "CustomerEmployee";
|
|
113
|
+
// FIXME: Missing documentation for DfnsStaff
|
|
114
|
+
UserAuthKind["DfnsStaff"] = "DfnsStaff";
|
|
115
|
+
})(UserAuthKind = exports.UserAuthKind || (exports.UserAuthKind = {}));
|
|
116
|
+
// FIXME: Missing documentation for AuthIdentityKind
|
|
117
|
+
var AuthIdentityKind;
|
|
118
|
+
(function (AuthIdentityKind) {
|
|
119
|
+
// FIXME: Missing documentation for DfnsStaffIdentity
|
|
120
|
+
AuthIdentityKind["DfnsStaffIdentity"] = "DfnsStaffIdentity";
|
|
121
|
+
// FIXME: Missing documentation for OrgEmployeeIdentity
|
|
122
|
+
AuthIdentityKind["OrgEmployeeIdentity"] = "OrgEmployeeIdentity";
|
|
123
|
+
// FIXME: Missing documentation for OrgApiKeyIdentity
|
|
124
|
+
AuthIdentityKind["OrgApiKeyIdentity"] = "OrgApiKeyIdentity";
|
|
125
|
+
// FIXME: Missing documentation for DfnsService
|
|
126
|
+
AuthIdentityKind["DfnsService"] = "DfnsService";
|
|
127
|
+
})(AuthIdentityKind = exports.AuthIdentityKind || (exports.AuthIdentityKind = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./responses"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BadRequestError, EntityNotFoundError, ForbiddenError, UnauthorizedError } from '../Foundations';
|
|
2
|
+
import { CallViewFunctionResult, EvmFeeEstimates } from './types';
|
|
3
|
+
export type EvmBlockchainFeeSuccess = EvmFeeEstimates;
|
|
4
|
+
export type EvmBlockchainFeeError = {
|
|
5
|
+
error: ForbiddenError | UnauthorizedError | ForbiddenError | EntityNotFoundError;
|
|
6
|
+
};
|
|
7
|
+
export type EvmBlockchainFeeResponse = EvmBlockchainFeeSuccess | EvmBlockchainFeeError;
|
|
8
|
+
export type CallViewFunctionSuccess = CallViewFunctionResult;
|
|
9
|
+
export type CallViewFunctionError = {
|
|
10
|
+
error: EntityNotFoundError | BadRequestError | UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
11
|
+
};
|
|
12
|
+
export type CallViewFunctionResponse = CallViewFunctionSuccess | CallViewFunctionError;
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { Amount, BlockchainAddress, IntegerPositiveStrict, IsoDatetime } from '../Foundations';
|
|
2
|
+
export type BtcBlock = {
|
|
3
|
+
hash: string;
|
|
4
|
+
number: number;
|
|
5
|
+
timestamp: IsoDatetime;
|
|
6
|
+
transactions: BtcTransaction[];
|
|
7
|
+
};
|
|
8
|
+
export type BtcTransaction = {
|
|
9
|
+
hash: string;
|
|
10
|
+
blockNumber: number;
|
|
11
|
+
size: number;
|
|
12
|
+
weight: number;
|
|
13
|
+
locktime: number;
|
|
14
|
+
vins: BtcTransactionInput[];
|
|
15
|
+
vouts: BtcTransactionOutput[];
|
|
16
|
+
coinbase: boolean;
|
|
17
|
+
fee?: Amount;
|
|
18
|
+
};
|
|
19
|
+
export type BtcTransactionInput = {
|
|
20
|
+
hash: string;
|
|
21
|
+
index: number;
|
|
22
|
+
address?: BlockchainAddress;
|
|
23
|
+
value?: Amount;
|
|
24
|
+
};
|
|
25
|
+
export type BtcTransactionOutput = {
|
|
26
|
+
index: number;
|
|
27
|
+
address?: BlockchainAddress;
|
|
28
|
+
value: Amount;
|
|
29
|
+
};
|
|
30
|
+
export type EvmBlock = {
|
|
31
|
+
hash: string;
|
|
32
|
+
number: number;
|
|
33
|
+
timestamp: IsoDatetime;
|
|
34
|
+
transactions: EvmTransaction[];
|
|
35
|
+
};
|
|
36
|
+
export type EvmTransaction = {
|
|
37
|
+
hash: string;
|
|
38
|
+
blockNumber: number;
|
|
39
|
+
nonce: number;
|
|
40
|
+
from: BlockchainAddress;
|
|
41
|
+
to?: BlockchainAddress;
|
|
42
|
+
value: Amount;
|
|
43
|
+
data?: string;
|
|
44
|
+
gasLimit: Amount;
|
|
45
|
+
gasPrice?: Amount;
|
|
46
|
+
maxFeePerGas?: Amount;
|
|
47
|
+
maxPriorityFeePerGas?: Amount;
|
|
48
|
+
receipt?: EvmTransactionReceipt;
|
|
49
|
+
logs?: EvmLog[];
|
|
50
|
+
};
|
|
51
|
+
export type EvmTransactionReceipt = {
|
|
52
|
+
gasUsed: Amount;
|
|
53
|
+
effectiveGasPrice: Amount;
|
|
54
|
+
fee: Amount;
|
|
55
|
+
status: TransactionStatus;
|
|
56
|
+
error?: string;
|
|
57
|
+
};
|
|
58
|
+
export type Erc20Log = {
|
|
59
|
+
kind: EvmLogKind.Erc20;
|
|
60
|
+
index: number;
|
|
61
|
+
address: BlockchainAddress;
|
|
62
|
+
from: BlockchainAddress;
|
|
63
|
+
to: BlockchainAddress;
|
|
64
|
+
value: Amount;
|
|
65
|
+
};
|
|
66
|
+
export type Erc721Log = {
|
|
67
|
+
kind: EvmLogKind.Erc721;
|
|
68
|
+
index: number;
|
|
69
|
+
address: BlockchainAddress;
|
|
70
|
+
from: BlockchainAddress;
|
|
71
|
+
to: BlockchainAddress;
|
|
72
|
+
tokenId: string;
|
|
73
|
+
};
|
|
74
|
+
export type EvmUntypedLog = {
|
|
75
|
+
kind: EvmLogKind.Unknown;
|
|
76
|
+
index: number;
|
|
77
|
+
address: BlockchainAddress;
|
|
78
|
+
topics: string[];
|
|
79
|
+
data: string;
|
|
80
|
+
};
|
|
81
|
+
export type EvmFeeEstimates = {
|
|
82
|
+
safeLow: Eip1559Fee;
|
|
83
|
+
standard: Eip1559Fee;
|
|
84
|
+
fast: Eip1559Fee;
|
|
85
|
+
estimatedBaseFee: string;
|
|
86
|
+
blockNumber: IntegerPositiveStrict;
|
|
87
|
+
kind: FeeEstimationKind;
|
|
88
|
+
};
|
|
89
|
+
export type Eip1559Fee = {
|
|
90
|
+
maxPriorityFee: string;
|
|
91
|
+
maxFee: string;
|
|
92
|
+
};
|
|
93
|
+
export type CallViewFunctionInput = {
|
|
94
|
+
data: string;
|
|
95
|
+
contract: string;
|
|
96
|
+
};
|
|
97
|
+
export type CallViewFunctionResult = {
|
|
98
|
+
data: string;
|
|
99
|
+
};
|
|
100
|
+
export type TrxBlock = {
|
|
101
|
+
hash: string;
|
|
102
|
+
number: number;
|
|
103
|
+
timestamp: IsoDatetime;
|
|
104
|
+
transactions: TrxTransaction[];
|
|
105
|
+
};
|
|
106
|
+
export type TrxTransaction = {
|
|
107
|
+
hash: string;
|
|
108
|
+
blockNumber: number;
|
|
109
|
+
feeLimit?: Amount;
|
|
110
|
+
from: BlockchainAddress;
|
|
111
|
+
receipt: TrxReceipt;
|
|
112
|
+
};
|
|
113
|
+
export type TrxTransferTransaction = {
|
|
114
|
+
hash: string;
|
|
115
|
+
blockNumber: number;
|
|
116
|
+
feeLimit?: Amount;
|
|
117
|
+
from: BlockchainAddress;
|
|
118
|
+
receipt: TrxReceipt;
|
|
119
|
+
kind: TrxTransactionKind.TransferContract;
|
|
120
|
+
to: BlockchainAddress;
|
|
121
|
+
amount: Amount;
|
|
122
|
+
};
|
|
123
|
+
export type TrxTransferAssetTransaction = {
|
|
124
|
+
hash: string;
|
|
125
|
+
blockNumber: number;
|
|
126
|
+
feeLimit?: Amount;
|
|
127
|
+
from: BlockchainAddress;
|
|
128
|
+
receipt: TrxReceipt;
|
|
129
|
+
kind: TrxTransactionKind.TransferAssetContract;
|
|
130
|
+
asset: string;
|
|
131
|
+
to: BlockchainAddress;
|
|
132
|
+
amount: Amount;
|
|
133
|
+
};
|
|
134
|
+
export type TrxSmartContractTransaction = {
|
|
135
|
+
hash: string;
|
|
136
|
+
blockNumber: number;
|
|
137
|
+
feeLimit?: Amount;
|
|
138
|
+
from: BlockchainAddress;
|
|
139
|
+
receipt: TrxReceipt;
|
|
140
|
+
kind: TrxTransactionKind.TriggerSmartContract;
|
|
141
|
+
contract: BlockchainAddress;
|
|
142
|
+
data: string;
|
|
143
|
+
logs: EvmLog[];
|
|
144
|
+
};
|
|
145
|
+
export type TrxUntypedTransaction = {
|
|
146
|
+
hash: string;
|
|
147
|
+
blockNumber: number;
|
|
148
|
+
feeLimit?: Amount;
|
|
149
|
+
from: BlockchainAddress;
|
|
150
|
+
receipt: TrxReceipt;
|
|
151
|
+
kind: TrxTransactionKind;
|
|
152
|
+
parameters: Record<string, unknown>;
|
|
153
|
+
};
|
|
154
|
+
export type TrxReceipt = {
|
|
155
|
+
fee?: Amount;
|
|
156
|
+
energyFee?: Amount;
|
|
157
|
+
energyUsage?: Amount;
|
|
158
|
+
netFee?: Amount;
|
|
159
|
+
netUsage?: Amount;
|
|
160
|
+
status: TransactionStatus;
|
|
161
|
+
error?: string;
|
|
162
|
+
};
|
|
163
|
+
export type XrpBlock = {
|
|
164
|
+
hash: string;
|
|
165
|
+
number: number;
|
|
166
|
+
timestamp: IsoDatetime;
|
|
167
|
+
transactions: XrpTransaction[];
|
|
168
|
+
};
|
|
169
|
+
export type XrpTransaction = {
|
|
170
|
+
hash: string;
|
|
171
|
+
blockNumber: number;
|
|
172
|
+
account: BlockchainAddress;
|
|
173
|
+
fee: Amount;
|
|
174
|
+
status: TransactionStatus;
|
|
175
|
+
error?: string;
|
|
176
|
+
};
|
|
177
|
+
export type XrpPaymentTransaction = {
|
|
178
|
+
hash: string;
|
|
179
|
+
blockNumber: number;
|
|
180
|
+
account: BlockchainAddress;
|
|
181
|
+
fee: Amount;
|
|
182
|
+
status: TransactionStatus;
|
|
183
|
+
error?: string;
|
|
184
|
+
kind: XrpTransactionKind.Payment;
|
|
185
|
+
to: BlockchainAddress;
|
|
186
|
+
currency?: string;
|
|
187
|
+
issuer?: BlockchainAddress;
|
|
188
|
+
amount: Amount;
|
|
189
|
+
};
|
|
190
|
+
export type XrpUntypedTransaction = {
|
|
191
|
+
hash: string;
|
|
192
|
+
blockNumber: number;
|
|
193
|
+
account: BlockchainAddress;
|
|
194
|
+
fee: Amount;
|
|
195
|
+
status: TransactionStatus;
|
|
196
|
+
error?: string;
|
|
197
|
+
kind: XrpTransactionKind;
|
|
198
|
+
};
|
|
199
|
+
export type SolBlock = {
|
|
200
|
+
hash: string;
|
|
201
|
+
number: number;
|
|
202
|
+
timestamp: IsoDatetime;
|
|
203
|
+
transactions: SolTransaction[];
|
|
204
|
+
};
|
|
205
|
+
export type SolTransaction = {
|
|
206
|
+
hash: string;
|
|
207
|
+
blockNumber: number;
|
|
208
|
+
version: string;
|
|
209
|
+
from: BlockchainAddress;
|
|
210
|
+
instructions: SolInstruction[];
|
|
211
|
+
fee: Amount;
|
|
212
|
+
status: TransactionStatus;
|
|
213
|
+
error?: string;
|
|
214
|
+
};
|
|
215
|
+
export type SolInstruction = {
|
|
216
|
+
index: string;
|
|
217
|
+
program: BlockchainAddress;
|
|
218
|
+
};
|
|
219
|
+
export type SolSystemTransferInstruction = {
|
|
220
|
+
index: string;
|
|
221
|
+
program: BlockchainAddress;
|
|
222
|
+
kind: SolInstructionKind.SystemTransfer;
|
|
223
|
+
from: BlockchainAddress;
|
|
224
|
+
to: BlockchainAddress;
|
|
225
|
+
value: Amount;
|
|
226
|
+
};
|
|
227
|
+
export type SolTokenTransferInstruction = {
|
|
228
|
+
index: string;
|
|
229
|
+
program: BlockchainAddress;
|
|
230
|
+
kind: SolInstructionKind.TokenTransfer;
|
|
231
|
+
mint: BlockchainAddress;
|
|
232
|
+
from: BlockchainAddress;
|
|
233
|
+
fromTokenAccount: BlockchainAddress;
|
|
234
|
+
to: BlockchainAddress;
|
|
235
|
+
toTokenAccount: BlockchainAddress;
|
|
236
|
+
value: Amount;
|
|
237
|
+
};
|
|
238
|
+
export type SolUntypedInstruction = {
|
|
239
|
+
index: string;
|
|
240
|
+
program: BlockchainAddress;
|
|
241
|
+
accounts: BlockchainAddress[];
|
|
242
|
+
data: string;
|
|
243
|
+
};
|
|
244
|
+
export type EvmLog = Erc20Log | Erc721Log | EvmUntypedLog;
|
|
245
|
+
export declare enum EvmLogKind {
|
|
246
|
+
Unknown = "Unknown",
|
|
247
|
+
Erc20 = "Erc20",
|
|
248
|
+
Erc721 = "Erc721"
|
|
249
|
+
}
|
|
250
|
+
export declare enum TransactionStatus {
|
|
251
|
+
SUCCESS = "SUCCESS",
|
|
252
|
+
FAILED = "FAILED"
|
|
253
|
+
}
|
|
254
|
+
export declare enum TrxTransactionKind {
|
|
255
|
+
TransferContract = "TransferContract",
|
|
256
|
+
TransferAssetContract = "TransferAssetContract",
|
|
257
|
+
TriggerSmartContract = "TriggerSmartContract"
|
|
258
|
+
}
|
|
259
|
+
export declare enum XrpTransactionKind {
|
|
260
|
+
Payment = "Payment"
|
|
261
|
+
}
|
|
262
|
+
export declare enum SolInstructionKind {
|
|
263
|
+
SystemTransfer = "SystemTransfer",
|
|
264
|
+
TokenTransfer = "TokenTransfer"
|
|
265
|
+
}
|
|
266
|
+
export declare enum FeeEstimationKind {
|
|
267
|
+
Eip1559 = "Eip1559",
|
|
268
|
+
EthLegacy = "EthLegacy"
|
|
269
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeEstimationKind = exports.SolInstructionKind = exports.XrpTransactionKind = exports.TrxTransactionKind = exports.TransactionStatus = exports.EvmLogKind = void 0;
|
|
4
|
+
// FIXME: Missing documentation for EvmLogKind
|
|
5
|
+
var EvmLogKind;
|
|
6
|
+
(function (EvmLogKind) {
|
|
7
|
+
// FIXME: Missing documentation for Unknown
|
|
8
|
+
EvmLogKind["Unknown"] = "Unknown";
|
|
9
|
+
// FIXME: Missing documentation for Erc20
|
|
10
|
+
EvmLogKind["Erc20"] = "Erc20";
|
|
11
|
+
// FIXME: Missing documentation for Erc721
|
|
12
|
+
EvmLogKind["Erc721"] = "Erc721";
|
|
13
|
+
})(EvmLogKind = exports.EvmLogKind || (exports.EvmLogKind = {}));
|
|
14
|
+
// FIXME: Missing documentation for TransactionStatus
|
|
15
|
+
var TransactionStatus;
|
|
16
|
+
(function (TransactionStatus) {
|
|
17
|
+
// FIXME: Missing documentation for SUCCESS
|
|
18
|
+
TransactionStatus["SUCCESS"] = "SUCCESS";
|
|
19
|
+
// FIXME: Missing documentation for FAILED
|
|
20
|
+
TransactionStatus["FAILED"] = "FAILED";
|
|
21
|
+
})(TransactionStatus = exports.TransactionStatus || (exports.TransactionStatus = {}));
|
|
22
|
+
// FIXME: Missing documentation for TrxTransactionKind
|
|
23
|
+
var TrxTransactionKind;
|
|
24
|
+
(function (TrxTransactionKind) {
|
|
25
|
+
// FIXME: Missing documentation for TransferContract
|
|
26
|
+
TrxTransactionKind["TransferContract"] = "TransferContract";
|
|
27
|
+
// FIXME: Missing documentation for TransferAssetContract
|
|
28
|
+
TrxTransactionKind["TransferAssetContract"] = "TransferAssetContract";
|
|
29
|
+
// FIXME: Missing documentation for TriggerSmartContract
|
|
30
|
+
TrxTransactionKind["TriggerSmartContract"] = "TriggerSmartContract";
|
|
31
|
+
})(TrxTransactionKind = exports.TrxTransactionKind || (exports.TrxTransactionKind = {}));
|
|
32
|
+
// FIXME: Missing documentation for XrpTransactionKind
|
|
33
|
+
var XrpTransactionKind;
|
|
34
|
+
(function (XrpTransactionKind) {
|
|
35
|
+
// FIXME: Missing documentation for Payment
|
|
36
|
+
XrpTransactionKind["Payment"] = "Payment";
|
|
37
|
+
})(XrpTransactionKind = exports.XrpTransactionKind || (exports.XrpTransactionKind = {}));
|
|
38
|
+
// FIXME: Missing documentation for SolInstructionKind
|
|
39
|
+
var SolInstructionKind;
|
|
40
|
+
(function (SolInstructionKind) {
|
|
41
|
+
// FIXME: Missing documentation for SystemTransfer
|
|
42
|
+
SolInstructionKind["SystemTransfer"] = "SystemTransfer";
|
|
43
|
+
// FIXME: Missing documentation for TokenTransfer
|
|
44
|
+
SolInstructionKind["TokenTransfer"] = "TokenTransfer";
|
|
45
|
+
})(SolInstructionKind = exports.SolInstructionKind || (exports.SolInstructionKind = {}));
|
|
46
|
+
// FIXME: Missing documentation for FeeEstimationKind
|
|
47
|
+
var FeeEstimationKind;
|
|
48
|
+
(function (FeeEstimationKind) {
|
|
49
|
+
// FIXME: Missing documentation for Eip1559
|
|
50
|
+
FeeEstimationKind["Eip1559"] = "Eip1559";
|
|
51
|
+
// FIXME: Missing documentation for EthLegacy
|
|
52
|
+
FeeEstimationKind["EthLegacy"] = "EthLegacy";
|
|
53
|
+
})(FeeEstimationKind = exports.FeeEstimationKind || (exports.FeeEstimationKind = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./responses"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BadRequestError, EntityNotFoundError, ForbiddenError, UnauthorizedError } from '../Foundations';
|
|
2
|
+
import { CallbackEvent, CallbackSubscription } from './types';
|
|
3
|
+
export type CreateCallbackSubscriptionSuccess = CallbackSubscription;
|
|
4
|
+
export type CreateCallbackSubscriptionError = {
|
|
5
|
+
error: BadRequestError | UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
6
|
+
};
|
|
7
|
+
export type CreateCallbackSubscriptionResponse = CreateCallbackSubscriptionSuccess | CreateCallbackSubscriptionError;
|
|
8
|
+
export type GetCallbackSubscriptionByIdSuccess = CallbackSubscription;
|
|
9
|
+
export type GetCallbackSubscriptionByIdError = {
|
|
10
|
+
error: EntityNotFoundError | UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
11
|
+
};
|
|
12
|
+
export type GetCallbackSubscriptionByIdResponse = GetCallbackSubscriptionByIdSuccess | GetCallbackSubscriptionByIdError;
|
|
13
|
+
export type ListCallbackSubscriptionsSuccess = {
|
|
14
|
+
items: CallbackSubscription[];
|
|
15
|
+
};
|
|
16
|
+
export type ListCallbackSubscriptionsError = {
|
|
17
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
18
|
+
};
|
|
19
|
+
export type ListCallbackSubscriptionsResponse = ListCallbackSubscriptionsSuccess | ListCallbackSubscriptionsError;
|
|
20
|
+
export type ArchiveCallbackSubscriptionSuccess = CallbackSubscription;
|
|
21
|
+
export type ArchiveCallbackSubscriptionError = {
|
|
22
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
23
|
+
};
|
|
24
|
+
export type ArchiveCallbackSubscriptionResponse = ArchiveCallbackSubscriptionSuccess | ArchiveCallbackSubscriptionError;
|
|
25
|
+
export type GetCallbackEventByIdSuccess = CallbackEvent;
|
|
26
|
+
export type GetCallbackEventByIdError = {
|
|
27
|
+
error: EntityNotFoundError | UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
28
|
+
};
|
|
29
|
+
export type GetCallbackEventByIdResponse = GetCallbackEventByIdSuccess | GetCallbackEventByIdError;
|
|
30
|
+
export type ListCallbackEventsSuccess = {
|
|
31
|
+
items: CallbackEvent[];
|
|
32
|
+
};
|
|
33
|
+
export type ListCallbackEventsError = {
|
|
34
|
+
error: UnauthorizedError | ForbiddenError | BadRequestError | EntityNotFoundError;
|
|
35
|
+
};
|
|
36
|
+
export type ListCallbackEventsResponse = ListCallbackEventsSuccess | ListCallbackEventsError;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DocumentSnapshot, EntityId, IsoDatetime } from '../Foundations';
|
|
2
|
+
export type CallbackEvent = {
|
|
3
|
+
id: EntityId;
|
|
4
|
+
orgId: EntityId;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
callbackSubscriptionId: EntityId;
|
|
7
|
+
kind: CallbackEventKind;
|
|
8
|
+
documentSnapshot: DocumentSnapshot;
|
|
9
|
+
dateCreated: IsoDatetime;
|
|
10
|
+
status: CallbackEventStatus;
|
|
11
|
+
};
|
|
12
|
+
export type CallbackSubscription = {
|
|
13
|
+
id: EntityId;
|
|
14
|
+
orgId: EntityId;
|
|
15
|
+
externalId?: string;
|
|
16
|
+
eventKind: CallbackEventKind;
|
|
17
|
+
url: string;
|
|
18
|
+
status: CallbackSubscriptionStatus;
|
|
19
|
+
dateCreated: IsoDatetime;
|
|
20
|
+
};
|
|
21
|
+
export type CreateCallbackSubscriptionInput = {
|
|
22
|
+
externalId?: string;
|
|
23
|
+
eventKind: CallbackEventKind;
|
|
24
|
+
url: string;
|
|
25
|
+
};
|
|
26
|
+
export declare enum CallbackEventKind {
|
|
27
|
+
PaymentInitiated = "PaymentInitiated",
|
|
28
|
+
PaymentExecuted = "PaymentExecuted",
|
|
29
|
+
PaymentConfirmed = "PaymentConfirmed",
|
|
30
|
+
PaymentReceived = "PaymentReceived",
|
|
31
|
+
TransactionBroadcasted = "TransactionBroadcasted",
|
|
32
|
+
WalletCreated = "WalletCreated",
|
|
33
|
+
PolicyActivated = "PolicyActivated"
|
|
34
|
+
}
|
|
35
|
+
export declare enum CallbackEventStatus {
|
|
36
|
+
Sent = "Sent",
|
|
37
|
+
Failed = "Failed"
|
|
38
|
+
}
|
|
39
|
+
export declare enum CallbackSubscriptionStatus {
|
|
40
|
+
Enabled = "Enabled",
|
|
41
|
+
Disabled = "Disabled",
|
|
42
|
+
Archived = "Archived"
|
|
43
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallbackSubscriptionStatus = exports.CallbackEventStatus = exports.CallbackEventKind = void 0;
|
|
4
|
+
// FIXME: Missing documentation for CallbackEventKind
|
|
5
|
+
var CallbackEventKind;
|
|
6
|
+
(function (CallbackEventKind) {
|
|
7
|
+
// FIXME: Missing documentation for PaymentInitiated
|
|
8
|
+
CallbackEventKind["PaymentInitiated"] = "PaymentInitiated";
|
|
9
|
+
// FIXME: Missing documentation for PaymentExecuted
|
|
10
|
+
CallbackEventKind["PaymentExecuted"] = "PaymentExecuted";
|
|
11
|
+
// FIXME: Missing documentation for PaymentConfirmed
|
|
12
|
+
CallbackEventKind["PaymentConfirmed"] = "PaymentConfirmed";
|
|
13
|
+
// FIXME: Missing documentation for PaymentReceived
|
|
14
|
+
CallbackEventKind["PaymentReceived"] = "PaymentReceived";
|
|
15
|
+
// FIXME: Missing documentation for TransactionBroadcasted
|
|
16
|
+
CallbackEventKind["TransactionBroadcasted"] = "TransactionBroadcasted";
|
|
17
|
+
// FIXME: Missing documentation for WalletCreated
|
|
18
|
+
CallbackEventKind["WalletCreated"] = "WalletCreated";
|
|
19
|
+
// FIXME: Missing documentation for PolicyActivated
|
|
20
|
+
CallbackEventKind["PolicyActivated"] = "PolicyActivated";
|
|
21
|
+
})(CallbackEventKind = exports.CallbackEventKind || (exports.CallbackEventKind = {}));
|
|
22
|
+
// FIXME: Missing documentation for CallbackEventStatus
|
|
23
|
+
var CallbackEventStatus;
|
|
24
|
+
(function (CallbackEventStatus) {
|
|
25
|
+
// FIXME: Missing documentation for Sent
|
|
26
|
+
CallbackEventStatus["Sent"] = "Sent";
|
|
27
|
+
// FIXME: Missing documentation for Failed
|
|
28
|
+
CallbackEventStatus["Failed"] = "Failed";
|
|
29
|
+
})(CallbackEventStatus = exports.CallbackEventStatus || (exports.CallbackEventStatus = {}));
|
|
30
|
+
// FIXME: Missing documentation for CallbackSubscriptionStatus
|
|
31
|
+
var CallbackSubscriptionStatus;
|
|
32
|
+
(function (CallbackSubscriptionStatus) {
|
|
33
|
+
// FIXME: Missing documentation for Enabled
|
|
34
|
+
CallbackSubscriptionStatus["Enabled"] = "Enabled";
|
|
35
|
+
// FIXME: Missing documentation for Disabled
|
|
36
|
+
CallbackSubscriptionStatus["Disabled"] = "Disabled";
|
|
37
|
+
// FIXME: Missing documentation for Archived
|
|
38
|
+
CallbackSubscriptionStatus["Archived"] = "Archived";
|
|
39
|
+
})(CallbackSubscriptionStatus = exports.CallbackSubscriptionStatus || (exports.CallbackSubscriptionStatus = {}));
|