@dynamic-labs/sdk-api 0.72.0 → 0.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/AdminActionsApi.cjs +3 -3
- package/src/apis/AdminActionsApi.js +3 -3
- package/src/apis/AllowlistsApi.cjs +3 -3
- package/src/apis/AllowlistsApi.js +3 -3
- package/src/apis/AnalyticsApi.cjs +3 -3
- package/src/apis/AnalyticsApi.js +3 -3
- package/src/apis/AuthorizedClientsApi.cjs +3 -3
- package/src/apis/AuthorizedClientsApi.js +3 -3
- package/src/apis/BusinessAccountsApi.cjs +3 -3
- package/src/apis/BusinessAccountsApi.js +3 -3
- package/src/apis/CaptchaApi.cjs +3 -3
- package/src/apis/CaptchaApi.js +3 -3
- package/src/apis/ChainalysisApi.cjs +3 -3
- package/src/apis/ChainalysisApi.js +3 -3
- package/src/apis/ChainsApi.cjs +3 -3
- package/src/apis/ChainsApi.js +3 -3
- package/src/apis/CheckoutApi.cjs +3 -3
- package/src/apis/CheckoutApi.js +3 -3
- package/src/apis/ClientGrantApi.cjs +3 -3
- package/src/apis/ClientGrantApi.js +3 -3
- package/src/apis/CustomFieldsApi.cjs +3 -3
- package/src/apis/CustomFieldsApi.js +3 -3
- package/src/apis/CustomHostnamesApi.cjs +3 -3
- package/src/apis/CustomHostnamesApi.js +3 -3
- package/src/apis/CustomNetworksApi.cjs +3 -3
- package/src/apis/CustomNetworksApi.js +3 -3
- package/src/apis/DeeplinkUrlsApi.cjs +3 -3
- package/src/apis/DeeplinkUrlsApi.js +3 -3
- package/src/apis/EnvironmentsApi.cjs +3 -3
- package/src/apis/EnvironmentsApi.js +3 -3
- package/src/apis/EventsApi.cjs +3 -3
- package/src/apis/EventsApi.js +3 -3
- package/src/apis/ExchangesApi.cjs +3 -3
- package/src/apis/ExchangesApi.js +3 -3
- package/src/apis/ExportsApi.cjs +3 -3
- package/src/apis/ExportsApi.js +3 -3
- package/src/apis/ExternalJwtApi.cjs +3 -3
- package/src/apis/ExternalJwtApi.js +3 -3
- package/src/apis/FlowAnalyticsApi.cjs +3 -3
- package/src/apis/FlowAnalyticsApi.js +3 -3
- package/src/apis/GaslessApi.cjs +3 -3
- package/src/apis/GaslessApi.js +3 -3
- package/src/apis/GatesApi.cjs +3 -3
- package/src/apis/GatesApi.js +3 -3
- package/src/apis/GlobalWalletAccessControlApi.cjs +3 -3
- package/src/apis/GlobalWalletAccessControlApi.js +3 -3
- package/src/apis/GlobalWalletConnectionsApi.cjs +3 -3
- package/src/apis/GlobalWalletConnectionsApi.js +3 -3
- package/src/apis/GlobalWalletsApi.cjs +3 -3
- package/src/apis/GlobalWalletsApi.js +3 -3
- package/src/apis/InvitesApi.cjs +3 -3
- package/src/apis/InvitesApi.js +3 -3
- package/src/apis/KybApi.cjs +3 -3
- package/src/apis/KybApi.js +3 -3
- package/src/apis/MembersApi.cjs +3 -3
- package/src/apis/MembersApi.js +3 -3
- package/src/apis/MfaSettingsApi.cjs +3 -3
- package/src/apis/MfaSettingsApi.js +3 -3
- package/src/apis/NameServicesApi.cjs +3 -3
- package/src/apis/NameServicesApi.js +3 -3
- package/src/apis/OrganizationSettingsApi.cjs +3 -3
- package/src/apis/OrganizationSettingsApi.js +3 -3
- package/src/apis/OrganizationsApi.cjs +3 -3
- package/src/apis/OrganizationsApi.js +3 -3
- package/src/apis/OriginsApi.cjs +3 -3
- package/src/apis/OriginsApi.js +3 -3
- package/src/apis/ProjectsApi.cjs +3 -3
- package/src/apis/ProjectsApi.js +3 -3
- package/src/apis/ProvidersApi.cjs +3 -3
- package/src/apis/ProvidersApi.js +3 -3
- package/src/apis/SDKApi.cjs +29 -29
- package/src/apis/SDKApi.d.ts +19 -19
- package/src/apis/SDKApi.js +29 -29
- package/src/apis/SDKViewsApi.cjs +3 -3
- package/src/apis/SDKViewsApi.js +3 -3
- package/src/apis/ScreeningPoliciesApi.cjs +3 -3
- package/src/apis/ScreeningPoliciesApi.js +3 -3
- package/src/apis/ServerApi.cjs +20 -20
- package/src/apis/ServerApi.d.ts +13 -13
- package/src/apis/ServerApi.js +20 -20
- package/src/apis/SessionsApi.cjs +3 -3
- package/src/apis/SessionsApi.js +3 -3
- package/src/apis/TestAccountApi.cjs +3 -3
- package/src/apis/TestAccountApi.js +3 -3
- package/src/apis/TokensApi.cjs +3 -3
- package/src/apis/TokensApi.js +3 -3
- package/src/apis/UserApiTokensApi.cjs +3 -3
- package/src/apis/UserApiTokensApi.js +3 -3
- package/src/apis/UsersApi.cjs +3 -3
- package/src/apis/UsersApi.js +3 -3
- package/src/apis/VisitsApi.cjs +3 -3
- package/src/apis/VisitsApi.js +3 -3
- package/src/apis/WaasApi.cjs +20 -20
- package/src/apis/WaasApi.d.ts +13 -13
- package/src/apis/WaasApi.js +20 -20
- package/src/apis/WalletConnectApi.cjs +3 -3
- package/src/apis/WalletConnectApi.js +3 -3
- package/src/apis/WalletsApi.cjs +3 -3
- package/src/apis/WalletsApi.js +3 -3
- package/src/apis/WebhooksApi.cjs +3 -3
- package/src/apis/WebhooksApi.js +3 -3
- package/src/apis/YieldApi.cjs +3 -3
- package/src/apis/YieldApi.js +3 -3
- package/src/apis/ZendeskApi.cjs +3 -3
- package/src/apis/ZendeskApi.js +3 -3
- package/src/index.cjs +64 -64
- package/src/index.js +13 -13
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -2
- package/src/models/UnprocessableEntityErrorCode.d.ts +1 -2
- package/src/models/UnprocessableEntityErrorCode.js +1 -2
- package/src/models/{WaasSendEvmFee.cjs → WaasBroadcastEvmFee.cjs} +7 -7
- package/src/models/{WaasSendEvmFee.d.ts → WaasBroadcastEvmFee.d.ts} +8 -8
- package/src/models/{WaasSendEvmFee.js → WaasBroadcastEvmFee.js} +5 -5
- package/src/models/{WaasSendEvmTransaction.cjs → WaasBroadcastEvmTransaction.cjs} +10 -10
- package/src/models/{WaasSendEvmTransaction.d.ts → WaasBroadcastEvmTransaction.d.ts} +16 -16
- package/src/models/{WaasSendEvmTransaction.js → WaasBroadcastEvmTransaction.js} +8 -8
- package/src/models/WaasBroadcastStatus.cjs +46 -0
- package/src/models/{WaasTransactionSendStatus.d.ts → WaasBroadcastStatus.d.ts} +4 -4
- package/src/models/WaasBroadcastStatus.js +40 -0
- package/src/models/{WaasSendSvmCosignerSignature.cjs → WaasBroadcastSvmCosignerSignature.cjs} +7 -7
- package/src/models/WaasBroadcastSvmCosignerSignature.d.ts +33 -0
- package/src/models/{WaasSendSvmCosignerSignature.js → WaasBroadcastSvmCosignerSignature.js} +5 -5
- package/src/models/WaasBroadcastSvmTransaction.cjs +38 -0
- package/src/models/WaasBroadcastSvmTransaction.d.ts +40 -0
- package/src/models/{WaasSendSvmTransaction.js → WaasBroadcastSvmTransaction.js} +8 -8
- package/src/models/WaasBroadcastTransaction.cjs +37 -0
- package/src/models/WaasBroadcastTransaction.d.ts +35 -0
- package/src/models/WaasBroadcastTransaction.js +31 -0
- package/src/models/WaasPolicyRuleApprovalRequirements.cjs +0 -4
- package/src/models/WaasPolicyRuleApprovalRequirements.d.ts +0 -12
- package/src/models/WaasPolicyRuleApprovalRequirements.js +0 -4
- package/src/models/WaasSignAndBroadcastRequest.cjs +3 -3
- package/src/models/WaasSignAndBroadcastRequest.d.ts +3 -3
- package/src/models/WaasSignAndBroadcastRequest.js +3 -3
- package/src/models/{WaasTransactionSend.cjs → WaasTransactionBroadcast.cjs} +27 -27
- package/src/models/{WaasTransactionSend.d.ts → WaasTransactionBroadcast.d.ts} +41 -41
- package/src/models/{WaasTransactionSend.js → WaasTransactionBroadcast.js} +25 -25
- package/src/models/WaasTransactionBroadcastAttempt.cjs +40 -0
- package/src/models/WaasTransactionBroadcastAttempt.d.ts +46 -0
- package/src/models/{WaasTransactionSendAttempt.js → WaasTransactionBroadcastAttempt.js} +8 -8
- package/src/models/{WaasTransactionSendEvmProgress.cjs → WaasTransactionBroadcastEvmProgress.cjs} +7 -7
- package/src/models/WaasTransactionBroadcastEvmProgress.d.ts +33 -0
- package/src/models/{WaasTransactionSendEvmProgress.js → WaasTransactionBroadcastEvmProgress.js} +5 -5
- package/src/models/WaasTransactionBroadcastProgress.cjs +40 -0
- package/src/models/WaasTransactionBroadcastProgress.d.ts +46 -0
- package/src/models/WaasTransactionBroadcastProgress.js +34 -0
- package/src/models/WaasTransactionBroadcastProgressDetail.cjs +37 -0
- package/src/models/WaasTransactionBroadcastProgressDetail.d.ts +35 -0
- package/src/models/WaasTransactionBroadcastProgressDetail.js +31 -0
- package/src/models/WaasTransactionBroadcastReason.cjs +48 -0
- package/src/models/{WaasTransactionSendReason.d.ts → WaasTransactionBroadcastReason.d.ts} +4 -4
- package/src/models/WaasTransactionBroadcastReason.js +42 -0
- package/src/models/{WaasTransactionSendSvmProgress.cjs → WaasTransactionBroadcastSvmProgress.cjs} +7 -7
- package/src/models/WaasTransactionBroadcastSvmProgress.d.ts +34 -0
- package/src/models/{WaasTransactionSendSvmProgress.js → WaasTransactionBroadcastSvmProgress.js} +5 -5
- package/src/models/index.d.ts +13 -13
- package/src/models/WaasSendSvmCosignerSignature.d.ts +0 -33
- package/src/models/WaasSendSvmTransaction.cjs +0 -38
- package/src/models/WaasSendSvmTransaction.d.ts +0 -40
- package/src/models/WaasSendTransaction.cjs +0 -37
- package/src/models/WaasSendTransaction.d.ts +0 -35
- package/src/models/WaasSendTransaction.js +0 -31
- package/src/models/WaasTransactionSendAttempt.cjs +0 -40
- package/src/models/WaasTransactionSendAttempt.d.ts +0 -46
- package/src/models/WaasTransactionSendEvmProgress.d.ts +0 -33
- package/src/models/WaasTransactionSendProgress.cjs +0 -40
- package/src/models/WaasTransactionSendProgress.d.ts +0 -46
- package/src/models/WaasTransactionSendProgress.js +0 -34
- package/src/models/WaasTransactionSendProgressDetail.cjs +0 -37
- package/src/models/WaasTransactionSendProgressDetail.d.ts +0 -35
- package/src/models/WaasTransactionSendProgressDetail.js +0 -31
- package/src/models/WaasTransactionSendReason.cjs +0 -48
- package/src/models/WaasTransactionSendReason.js +0 -42
- package/src/models/WaasTransactionSendStatus.cjs +0 -46
- package/src/models/WaasTransactionSendStatus.js +0 -40
- package/src/models/WaasTransactionSendSvmProgress.d.ts +0 -34
|
@@ -4,33 +4,33 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var OpenRoomResponse = require('./OpenRoomResponse.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
7
|
+
var WaasBroadcastEvmFee = require('./WaasBroadcastEvmFee.cjs');
|
|
8
|
+
var WaasBroadcastStatus = require('./WaasBroadcastStatus.cjs');
|
|
9
|
+
var WaasTransactionBroadcastAttempt = require('./WaasTransactionBroadcastAttempt.cjs');
|
|
10
|
+
var WaasTransactionBroadcastProgress = require('./WaasTransactionBroadcastProgress.cjs');
|
|
11
|
+
var WaasTransactionBroadcastReason = require('./WaasTransactionBroadcastReason.cjs');
|
|
12
12
|
|
|
13
13
|
/* tslint:disable */
|
|
14
14
|
/**
|
|
15
15
|
* @export
|
|
16
16
|
* @enum {string}
|
|
17
17
|
*/
|
|
18
|
-
exports.
|
|
19
|
-
(function (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})(exports.
|
|
23
|
-
function
|
|
24
|
-
return
|
|
18
|
+
exports.WaasTransactionBroadcastChainTypeEnum = void 0;
|
|
19
|
+
(function (WaasTransactionBroadcastChainTypeEnum) {
|
|
20
|
+
WaasTransactionBroadcastChainTypeEnum["Evm"] = "evm";
|
|
21
|
+
WaasTransactionBroadcastChainTypeEnum["Svm"] = "svm";
|
|
22
|
+
})(exports.WaasTransactionBroadcastChainTypeEnum || (exports.WaasTransactionBroadcastChainTypeEnum = {}));
|
|
23
|
+
function WaasTransactionBroadcastFromJSON(json) {
|
|
24
|
+
return WaasTransactionBroadcastFromJSONTyped(json);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function WaasTransactionBroadcastFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
27
|
if ((json === undefined) || (json === null)) {
|
|
28
28
|
return json;
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
31
|
'transactionId': json['transactionId'],
|
|
32
|
-
'status':
|
|
33
|
-
'reason': !runtime.exists(json, 'reason') ? undefined :
|
|
32
|
+
'status': WaasBroadcastStatus.WaasBroadcastStatusFromJSON(json['status']),
|
|
33
|
+
'reason': !runtime.exists(json, 'reason') ? undefined : WaasTransactionBroadcastReason.WaasTransactionBroadcastReasonFromJSON(json['reason']),
|
|
34
34
|
'errorMessage': !runtime.exists(json, 'errorMessage') ? undefined : json['errorMessage'],
|
|
35
35
|
'revertReason': !runtime.exists(json, 'revertReason') ? undefined : json['revertReason'],
|
|
36
36
|
'chainType': json['chainType'],
|
|
@@ -40,16 +40,16 @@ function WaasTransactionSendFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'externalReference': !runtime.exists(json, 'externalReference') ? undefined : json['externalReference'],
|
|
41
41
|
'transactionHash': !runtime.exists(json, 'transactionHash') ? undefined : json['transactionHash'],
|
|
42
42
|
'blockExplorerUrls': !runtime.exists(json, 'blockExplorerUrls') ? undefined : json['blockExplorerUrls'],
|
|
43
|
-
'attempts': !runtime.exists(json, 'attempts') ? undefined : (json['attempts'].map(
|
|
43
|
+
'attempts': !runtime.exists(json, 'attempts') ? undefined : (json['attempts'].map(WaasTransactionBroadcastAttempt.WaasTransactionBroadcastAttemptFromJSON)),
|
|
44
44
|
'nonce': !runtime.exists(json, 'nonce') ? undefined : json['nonce'],
|
|
45
|
-
'replacementFee': !runtime.exists(json, 'replacementFee') ? undefined :
|
|
45
|
+
'replacementFee': !runtime.exists(json, 'replacementFee') ? undefined : WaasBroadcastEvmFee.WaasBroadcastEvmFeeFromJSON(json['replacementFee']),
|
|
46
46
|
'rooms': !runtime.exists(json, 'rooms') ? undefined : (json['rooms'].map(OpenRoomResponse.OpenRoomResponseFromJSON)),
|
|
47
|
-
'progress': !runtime.exists(json, 'progress') ? undefined :
|
|
47
|
+
'progress': !runtime.exists(json, 'progress') ? undefined : WaasTransactionBroadcastProgress.WaasTransactionBroadcastProgressFromJSON(json['progress']),
|
|
48
48
|
'requestedAt': (new Date(json['requestedAt'])),
|
|
49
49
|
'completedAt': !runtime.exists(json, 'completedAt') ? undefined : (new Date(json['completedAt'])),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function WaasTransactionBroadcastToJSON(value) {
|
|
53
53
|
if (value === undefined) {
|
|
54
54
|
return undefined;
|
|
55
55
|
}
|
|
@@ -58,8 +58,8 @@ function WaasTransactionSendToJSON(value) {
|
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
60
|
'transactionId': value.transactionId,
|
|
61
|
-
'status':
|
|
62
|
-
'reason':
|
|
61
|
+
'status': WaasBroadcastStatus.WaasBroadcastStatusToJSON(value.status),
|
|
62
|
+
'reason': WaasTransactionBroadcastReason.WaasTransactionBroadcastReasonToJSON(value.reason),
|
|
63
63
|
'errorMessage': value.errorMessage,
|
|
64
64
|
'revertReason': value.revertReason,
|
|
65
65
|
'chainType': value.chainType,
|
|
@@ -69,16 +69,16 @@ function WaasTransactionSendToJSON(value) {
|
|
|
69
69
|
'externalReference': value.externalReference,
|
|
70
70
|
'transactionHash': value.transactionHash,
|
|
71
71
|
'blockExplorerUrls': value.blockExplorerUrls,
|
|
72
|
-
'attempts': value.attempts === undefined ? undefined : (value.attempts.map(
|
|
72
|
+
'attempts': value.attempts === undefined ? undefined : (value.attempts.map(WaasTransactionBroadcastAttempt.WaasTransactionBroadcastAttemptToJSON)),
|
|
73
73
|
'nonce': value.nonce,
|
|
74
|
-
'replacementFee':
|
|
74
|
+
'replacementFee': WaasBroadcastEvmFee.WaasBroadcastEvmFeeToJSON(value.replacementFee),
|
|
75
75
|
'rooms': value.rooms === undefined ? undefined : (value.rooms.map(OpenRoomResponse.OpenRoomResponseToJSON)),
|
|
76
|
-
'progress':
|
|
76
|
+
'progress': WaasTransactionBroadcastProgress.WaasTransactionBroadcastProgressToJSON(value.progress),
|
|
77
77
|
'requestedAt': (value.requestedAt.toISOString()),
|
|
78
78
|
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt.toISOString()),
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
82
|
+
exports.WaasTransactionBroadcastFromJSON = WaasTransactionBroadcastFromJSON;
|
|
83
|
+
exports.WaasTransactionBroadcastFromJSONTyped = WaasTransactionBroadcastFromJSONTyped;
|
|
84
|
+
exports.WaasTransactionBroadcastToJSON = WaasTransactionBroadcastToJSON;
|
|
@@ -10,129 +10,129 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { OpenRoomResponse } from './OpenRoomResponse';
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
13
|
+
import { WaasBroadcastEvmFee } from './WaasBroadcastEvmFee';
|
|
14
|
+
import { WaasBroadcastStatus } from './WaasBroadcastStatus';
|
|
15
|
+
import { WaasTransactionBroadcastAttempt } from './WaasTransactionBroadcastAttempt';
|
|
16
|
+
import { WaasTransactionBroadcastProgress } from './WaasTransactionBroadcastProgress';
|
|
17
|
+
import { WaasTransactionBroadcastReason } from './WaasTransactionBroadcastReason';
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface WaasTransactionBroadcast
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface WaasTransactionBroadcast {
|
|
24
24
|
/**
|
|
25
25
|
* Dynamic's id for this transaction, the same on every event.
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof WaasTransactionBroadcast
|
|
28
28
|
*/
|
|
29
29
|
transactionId: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
33
|
-
* @memberof
|
|
32
|
+
* @type {WaasBroadcastStatus}
|
|
33
|
+
* @memberof WaasTransactionBroadcast
|
|
34
34
|
*/
|
|
35
|
-
status:
|
|
35
|
+
status: WaasBroadcastStatus;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
39
|
-
* @memberof
|
|
38
|
+
* @type {WaasTransactionBroadcastReason}
|
|
39
|
+
* @memberof WaasTransactionBroadcast
|
|
40
40
|
*/
|
|
41
|
-
reason?:
|
|
41
|
+
reason?: WaasTransactionBroadcastReason;
|
|
42
42
|
/**
|
|
43
43
|
* Human-readable detail on a `reverted` or `failed` transaction, written by Dynamic and never a raw provider or node error. For a log or a support ticket; branch on `reason` instead.
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof WaasTransactionBroadcast
|
|
46
46
|
*/
|
|
47
47
|
errorMessage?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The contract's own error, when the transaction landed and reverted. Public chain output, passed through untouched and capped in length.
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof WaasTransactionBroadcast
|
|
52
52
|
*/
|
|
53
53
|
revertReason?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof WaasTransactionBroadcast
|
|
58
58
|
*/
|
|
59
|
-
chainType:
|
|
59
|
+
chainType: WaasTransactionBroadcastChainTypeEnum;
|
|
60
60
|
/**
|
|
61
61
|
* An EVM chain id, or a Solana network id (101 mainnet, 103 devnet, 201 Eclipse).
|
|
62
62
|
* @type {string}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof WaasTransactionBroadcast
|
|
64
64
|
*/
|
|
65
65
|
chainId: string;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {string}
|
|
69
|
-
* @memberof
|
|
69
|
+
* @memberof WaasTransactionBroadcast
|
|
70
70
|
*/
|
|
71
71
|
walletAddress: string;
|
|
72
72
|
/**
|
|
73
73
|
* The key the transaction was requested with.
|
|
74
74
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
75
|
+
* @memberof WaasTransactionBroadcast
|
|
76
76
|
*/
|
|
77
77
|
idempotencyKey: string;
|
|
78
78
|
/**
|
|
79
79
|
* Your own label, as sent.
|
|
80
80
|
* @type {string}
|
|
81
|
-
* @memberof
|
|
81
|
+
* @memberof WaasTransactionBroadcast
|
|
82
82
|
*/
|
|
83
83
|
externalReference?: string;
|
|
84
84
|
/**
|
|
85
85
|
* The live attempt's hash, once it is signed.
|
|
86
86
|
* @type {string}
|
|
87
|
-
* @memberof
|
|
87
|
+
* @memberof WaasTransactionBroadcast
|
|
88
88
|
*/
|
|
89
89
|
transactionHash?: string;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @type {Array<string>}
|
|
93
|
-
* @memberof
|
|
93
|
+
* @memberof WaasTransactionBroadcast
|
|
94
94
|
*/
|
|
95
95
|
blockExplorerUrls?: Array<string>;
|
|
96
96
|
/**
|
|
97
97
|
* Every signed version of the transaction, cheapest first.
|
|
98
|
-
* @type {Array<
|
|
99
|
-
* @memberof
|
|
98
|
+
* @type {Array<WaasTransactionBroadcastAttempt>}
|
|
99
|
+
* @memberof WaasTransactionBroadcast
|
|
100
100
|
*/
|
|
101
|
-
attempts?: Array<
|
|
101
|
+
attempts?: Array<WaasTransactionBroadcastAttempt>;
|
|
102
102
|
/**
|
|
103
103
|
* EVM only. The transaction's nonce, the only safe one to reuse when replacing it.
|
|
104
104
|
* @type {string}
|
|
105
|
-
* @memberof
|
|
105
|
+
* @memberof WaasTransactionBroadcast
|
|
106
106
|
*/
|
|
107
107
|
nonce?: string | null;
|
|
108
108
|
/**
|
|
109
109
|
* EVM only, while the transaction is not final. The lowest fee a replacement at the same nonce would need to displace the live attempt.
|
|
110
|
-
* @type {
|
|
111
|
-
* @memberof
|
|
110
|
+
* @type {WaasBroadcastEvmFee}
|
|
111
|
+
* @memberof WaasTransactionBroadcast
|
|
112
112
|
*/
|
|
113
|
-
replacementFee?:
|
|
113
|
+
replacementFee?: WaasBroadcastEvmFee | null;
|
|
114
114
|
/**
|
|
115
115
|
* The signing rooms, one per attempt, while status is pending_signature.
|
|
116
116
|
* @type {Array<OpenRoomResponse>}
|
|
117
|
-
* @memberof
|
|
117
|
+
* @memberof WaasTransactionBroadcast
|
|
118
118
|
*/
|
|
119
119
|
rooms?: Array<OpenRoomResponse>;
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
122
|
-
* @type {
|
|
123
|
-
* @memberof
|
|
122
|
+
* @type {WaasTransactionBroadcastProgress}
|
|
123
|
+
* @memberof WaasTransactionBroadcast
|
|
124
124
|
*/
|
|
125
|
-
progress?:
|
|
125
|
+
progress?: WaasTransactionBroadcastProgress;
|
|
126
126
|
/**
|
|
127
127
|
*
|
|
128
128
|
* @type {Date}
|
|
129
|
-
* @memberof
|
|
129
|
+
* @memberof WaasTransactionBroadcast
|
|
130
130
|
*/
|
|
131
131
|
requestedAt: Date;
|
|
132
132
|
/**
|
|
133
133
|
* Present when the status is terminal.
|
|
134
134
|
* @type {Date}
|
|
135
|
-
* @memberof
|
|
135
|
+
* @memberof WaasTransactionBroadcast
|
|
136
136
|
*/
|
|
137
137
|
completedAt?: Date;
|
|
138
138
|
}
|
|
@@ -140,10 +140,10 @@ export interface WaasTransactionSend {
|
|
|
140
140
|
* @export
|
|
141
141
|
* @enum {string}
|
|
142
142
|
*/
|
|
143
|
-
export declare enum
|
|
143
|
+
export declare enum WaasTransactionBroadcastChainTypeEnum {
|
|
144
144
|
Evm = "evm",
|
|
145
145
|
Svm = "svm"
|
|
146
146
|
}
|
|
147
|
-
export declare function
|
|
148
|
-
export declare function
|
|
149
|
-
export declare function
|
|
147
|
+
export declare function WaasTransactionBroadcastFromJSON(json: any): WaasTransactionBroadcast;
|
|
148
|
+
export declare function WaasTransactionBroadcastFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionBroadcast;
|
|
149
|
+
export declare function WaasTransactionBroadcastToJSON(value?: WaasTransactionBroadcast | null): any;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { OpenRoomResponseFromJSON, OpenRoomResponseToJSON } from './OpenRoomResponse.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { WaasBroadcastEvmFeeFromJSON, WaasBroadcastEvmFeeToJSON } from './WaasBroadcastEvmFee.js';
|
|
4
|
+
import { WaasBroadcastStatusFromJSON, WaasBroadcastStatusToJSON } from './WaasBroadcastStatus.js';
|
|
5
|
+
import { WaasTransactionBroadcastAttemptFromJSON, WaasTransactionBroadcastAttemptToJSON } from './WaasTransactionBroadcastAttempt.js';
|
|
6
|
+
import { WaasTransactionBroadcastProgressFromJSON, WaasTransactionBroadcastProgressToJSON } from './WaasTransactionBroadcastProgress.js';
|
|
7
|
+
import { WaasTransactionBroadcastReasonFromJSON, WaasTransactionBroadcastReasonToJSON } from './WaasTransactionBroadcastReason.js';
|
|
8
8
|
|
|
9
9
|
/* tslint:disable */
|
|
10
10
|
/**
|
|
11
11
|
* @export
|
|
12
12
|
* @enum {string}
|
|
13
13
|
*/
|
|
14
|
-
var
|
|
15
|
-
(function (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})(
|
|
19
|
-
function
|
|
20
|
-
return
|
|
14
|
+
var WaasTransactionBroadcastChainTypeEnum;
|
|
15
|
+
(function (WaasTransactionBroadcastChainTypeEnum) {
|
|
16
|
+
WaasTransactionBroadcastChainTypeEnum["Evm"] = "evm";
|
|
17
|
+
WaasTransactionBroadcastChainTypeEnum["Svm"] = "svm";
|
|
18
|
+
})(WaasTransactionBroadcastChainTypeEnum || (WaasTransactionBroadcastChainTypeEnum = {}));
|
|
19
|
+
function WaasTransactionBroadcastFromJSON(json) {
|
|
20
|
+
return WaasTransactionBroadcastFromJSONTyped(json);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function WaasTransactionBroadcastFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
23
|
if ((json === undefined) || (json === null)) {
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'transactionId': json['transactionId'],
|
|
28
|
-
'status':
|
|
29
|
-
'reason': !exists(json, 'reason') ? undefined :
|
|
28
|
+
'status': WaasBroadcastStatusFromJSON(json['status']),
|
|
29
|
+
'reason': !exists(json, 'reason') ? undefined : WaasTransactionBroadcastReasonFromJSON(json['reason']),
|
|
30
30
|
'errorMessage': !exists(json, 'errorMessage') ? undefined : json['errorMessage'],
|
|
31
31
|
'revertReason': !exists(json, 'revertReason') ? undefined : json['revertReason'],
|
|
32
32
|
'chainType': json['chainType'],
|
|
@@ -36,16 +36,16 @@ function WaasTransactionSendFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'externalReference': !exists(json, 'externalReference') ? undefined : json['externalReference'],
|
|
37
37
|
'transactionHash': !exists(json, 'transactionHash') ? undefined : json['transactionHash'],
|
|
38
38
|
'blockExplorerUrls': !exists(json, 'blockExplorerUrls') ? undefined : json['blockExplorerUrls'],
|
|
39
|
-
'attempts': !exists(json, 'attempts') ? undefined : (json['attempts'].map(
|
|
39
|
+
'attempts': !exists(json, 'attempts') ? undefined : (json['attempts'].map(WaasTransactionBroadcastAttemptFromJSON)),
|
|
40
40
|
'nonce': !exists(json, 'nonce') ? undefined : json['nonce'],
|
|
41
|
-
'replacementFee': !exists(json, 'replacementFee') ? undefined :
|
|
41
|
+
'replacementFee': !exists(json, 'replacementFee') ? undefined : WaasBroadcastEvmFeeFromJSON(json['replacementFee']),
|
|
42
42
|
'rooms': !exists(json, 'rooms') ? undefined : (json['rooms'].map(OpenRoomResponseFromJSON)),
|
|
43
|
-
'progress': !exists(json, 'progress') ? undefined :
|
|
43
|
+
'progress': !exists(json, 'progress') ? undefined : WaasTransactionBroadcastProgressFromJSON(json['progress']),
|
|
44
44
|
'requestedAt': (new Date(json['requestedAt'])),
|
|
45
45
|
'completedAt': !exists(json, 'completedAt') ? undefined : (new Date(json['completedAt'])),
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function WaasTransactionBroadcastToJSON(value) {
|
|
49
49
|
if (value === undefined) {
|
|
50
50
|
return undefined;
|
|
51
51
|
}
|
|
@@ -54,8 +54,8 @@ function WaasTransactionSendToJSON(value) {
|
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
56
56
|
'transactionId': value.transactionId,
|
|
57
|
-
'status':
|
|
58
|
-
'reason':
|
|
57
|
+
'status': WaasBroadcastStatusToJSON(value.status),
|
|
58
|
+
'reason': WaasTransactionBroadcastReasonToJSON(value.reason),
|
|
59
59
|
'errorMessage': value.errorMessage,
|
|
60
60
|
'revertReason': value.revertReason,
|
|
61
61
|
'chainType': value.chainType,
|
|
@@ -65,14 +65,14 @@ function WaasTransactionSendToJSON(value) {
|
|
|
65
65
|
'externalReference': value.externalReference,
|
|
66
66
|
'transactionHash': value.transactionHash,
|
|
67
67
|
'blockExplorerUrls': value.blockExplorerUrls,
|
|
68
|
-
'attempts': value.attempts === undefined ? undefined : (value.attempts.map(
|
|
68
|
+
'attempts': value.attempts === undefined ? undefined : (value.attempts.map(WaasTransactionBroadcastAttemptToJSON)),
|
|
69
69
|
'nonce': value.nonce,
|
|
70
|
-
'replacementFee':
|
|
70
|
+
'replacementFee': WaasBroadcastEvmFeeToJSON(value.replacementFee),
|
|
71
71
|
'rooms': value.rooms === undefined ? undefined : (value.rooms.map(OpenRoomResponseToJSON)),
|
|
72
|
-
'progress':
|
|
72
|
+
'progress': WaasTransactionBroadcastProgressToJSON(value.progress),
|
|
73
73
|
'requestedAt': (value.requestedAt.toISOString()),
|
|
74
74
|
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt.toISOString()),
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export {
|
|
78
|
+
export { WaasTransactionBroadcastChainTypeEnum, WaasTransactionBroadcastFromJSON, WaasTransactionBroadcastFromJSONTyped, WaasTransactionBroadcastToJSON };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasBroadcastEvmFee = require('./WaasBroadcastEvmFee.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WaasTransactionBroadcastAttemptFromJSON(json) {
|
|
10
|
+
return WaasTransactionBroadcastAttemptFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WaasTransactionBroadcastAttemptFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'transactionHash': !runtime.exists(json, 'transactionHash') ? undefined : json['transactionHash'],
|
|
18
|
+
'fee': !runtime.exists(json, 'fee') ? undefined : WaasBroadcastEvmFee.WaasBroadcastEvmFeeFromJSON(json['fee']),
|
|
19
|
+
'blockExplorerUrls': !runtime.exists(json, 'blockExplorerUrls') ? undefined : json['blockExplorerUrls'],
|
|
20
|
+
'live': json['live'],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function WaasTransactionBroadcastAttemptToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'transactionHash': value.transactionHash,
|
|
32
|
+
'fee': WaasBroadcastEvmFee.WaasBroadcastEvmFeeToJSON(value.fee),
|
|
33
|
+
'blockExplorerUrls': value.blockExplorerUrls,
|
|
34
|
+
'live': value.live,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.WaasTransactionBroadcastAttemptFromJSON = WaasTransactionBroadcastAttemptFromJSON;
|
|
39
|
+
exports.WaasTransactionBroadcastAttemptFromJSONTyped = WaasTransactionBroadcastAttemptFromJSONTyped;
|
|
40
|
+
exports.WaasTransactionBroadcastAttemptToJSON = WaasTransactionBroadcastAttemptToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { WaasBroadcastEvmFee } from './WaasBroadcastEvmFee';
|
|
13
|
+
/**
|
|
14
|
+
* One signed version of the transaction, at one fee.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasTransactionBroadcastAttempt
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasTransactionBroadcastAttempt {
|
|
19
|
+
/**
|
|
20
|
+
* Present once this attempt is signed.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasTransactionBroadcastAttempt
|
|
23
|
+
*/
|
|
24
|
+
transactionHash?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {WaasBroadcastEvmFee}
|
|
28
|
+
* @memberof WaasTransactionBroadcastAttempt
|
|
29
|
+
*/
|
|
30
|
+
fee?: WaasBroadcastEvmFee;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof WaasTransactionBroadcastAttempt
|
|
35
|
+
*/
|
|
36
|
+
blockExplorerUrls?: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether this is the attempt currently sent. At most one is.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof WaasTransactionBroadcastAttempt
|
|
41
|
+
*/
|
|
42
|
+
live: boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare function WaasTransactionBroadcastAttemptFromJSON(json: any): WaasTransactionBroadcastAttempt;
|
|
45
|
+
export declare function WaasTransactionBroadcastAttemptFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionBroadcastAttempt;
|
|
46
|
+
export declare function WaasTransactionBroadcastAttemptToJSON(value?: WaasTransactionBroadcastAttempt | null): any;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { WaasBroadcastEvmFeeFromJSON, WaasBroadcastEvmFeeToJSON } from './WaasBroadcastEvmFee.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
-
function
|
|
6
|
-
return
|
|
5
|
+
function WaasTransactionBroadcastAttemptFromJSON(json) {
|
|
6
|
+
return WaasTransactionBroadcastAttemptFromJSONTyped(json);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function WaasTransactionBroadcastAttemptFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
9
|
if ((json === undefined) || (json === null)) {
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'transactionHash': !exists(json, 'transactionHash') ? undefined : json['transactionHash'],
|
|
14
|
-
'fee': !exists(json, 'fee') ? undefined :
|
|
14
|
+
'fee': !exists(json, 'fee') ? undefined : WaasBroadcastEvmFeeFromJSON(json['fee']),
|
|
15
15
|
'blockExplorerUrls': !exists(json, 'blockExplorerUrls') ? undefined : json['blockExplorerUrls'],
|
|
16
16
|
'live': json['live'],
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function WaasTransactionBroadcastAttemptToJSON(value) {
|
|
20
20
|
if (value === undefined) {
|
|
21
21
|
return undefined;
|
|
22
22
|
}
|
|
@@ -25,10 +25,10 @@ function WaasTransactionSendAttemptToJSON(value) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'transactionHash': value.transactionHash,
|
|
28
|
-
'fee':
|
|
28
|
+
'fee': WaasBroadcastEvmFeeToJSON(value.fee),
|
|
29
29
|
'blockExplorerUrls': value.blockExplorerUrls,
|
|
30
30
|
'live': value.live,
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { WaasTransactionBroadcastAttemptFromJSON, WaasTransactionBroadcastAttemptFromJSONTyped, WaasTransactionBroadcastAttemptToJSON };
|
package/src/models/{WaasTransactionSendEvmProgress.cjs → WaasTransactionBroadcastEvmProgress.cjs}
RENAMED
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
|
|
7
7
|
/* tslint:disable */
|
|
8
|
-
function
|
|
9
|
-
return
|
|
8
|
+
function WaasTransactionBroadcastEvmProgressFromJSON(json) {
|
|
9
|
+
return WaasTransactionBroadcastEvmProgressFromJSONTyped(json);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function WaasTransactionBroadcastEvmProgressFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
12
|
if ((json === undefined) || (json === null)) {
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
@@ -17,7 +17,7 @@ function WaasTransactionSendEvmProgressFromJSONTyped(json, ignoreDiscriminator)
|
|
|
17
17
|
'requiredConfirmations': !runtime.exists(json, 'requiredConfirmations') ? undefined : json['requiredConfirmations'],
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function WaasTransactionBroadcastEvmProgressToJSON(value) {
|
|
21
21
|
if (value === undefined) {
|
|
22
22
|
return undefined;
|
|
23
23
|
}
|
|
@@ -30,6 +30,6 @@ function WaasTransactionSendEvmProgressToJSON(value) {
|
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
33
|
+
exports.WaasTransactionBroadcastEvmProgressFromJSON = WaasTransactionBroadcastEvmProgressFromJSON;
|
|
34
|
+
exports.WaasTransactionBroadcastEvmProgressFromJSONTyped = WaasTransactionBroadcastEvmProgressFromJSONTyped;
|
|
35
|
+
exports.WaasTransactionBroadcastEvmProgressToJSON = WaasTransactionBroadcastEvmProgressToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WaasTransactionBroadcastEvmProgress
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasTransactionBroadcastEvmProgress {
|
|
18
|
+
/**
|
|
19
|
+
* Blocks on top of the one holding the transaction, counting that block.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof WaasTransactionBroadcastEvmProgress
|
|
22
|
+
*/
|
|
23
|
+
confirmations: number;
|
|
24
|
+
/**
|
|
25
|
+
* Confirmations needed. Absent when waiting for the chain's finalized block.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof WaasTransactionBroadcastEvmProgress
|
|
28
|
+
*/
|
|
29
|
+
requiredConfirmations?: number;
|
|
30
|
+
}
|
|
31
|
+
export declare function WaasTransactionBroadcastEvmProgressFromJSON(json: any): WaasTransactionBroadcastEvmProgress;
|
|
32
|
+
export declare function WaasTransactionBroadcastEvmProgressFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionBroadcastEvmProgress;
|
|
33
|
+
export declare function WaasTransactionBroadcastEvmProgressToJSON(value?: WaasTransactionBroadcastEvmProgress | null): any;
|
package/src/models/{WaasTransactionSendEvmProgress.js → WaasTransactionBroadcastEvmProgress.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
|
-
function
|
|
5
|
-
return
|
|
4
|
+
function WaasTransactionBroadcastEvmProgressFromJSON(json) {
|
|
5
|
+
return WaasTransactionBroadcastEvmProgressFromJSONTyped(json);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function WaasTransactionBroadcastEvmProgressFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
8
|
if ((json === undefined) || (json === null)) {
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
@@ -13,7 +13,7 @@ function WaasTransactionSendEvmProgressFromJSONTyped(json, ignoreDiscriminator)
|
|
|
13
13
|
'requiredConfirmations': !exists(json, 'requiredConfirmations') ? undefined : json['requiredConfirmations'],
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function WaasTransactionBroadcastEvmProgressToJSON(value) {
|
|
17
17
|
if (value === undefined) {
|
|
18
18
|
return undefined;
|
|
19
19
|
}
|
|
@@ -26,4 +26,4 @@ function WaasTransactionSendEvmProgressToJSON(value) {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export {
|
|
29
|
+
export { WaasTransactionBroadcastEvmProgressFromJSON, WaasTransactionBroadcastEvmProgressFromJSONTyped, WaasTransactionBroadcastEvmProgressToJSON };
|