@dynamic-labs/sdk-api 0.73.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/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
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasTransactionBroadcastEvmProgress = require('./WaasTransactionBroadcastEvmProgress.cjs');
|
|
7
|
+
var WaasTransactionBroadcastSvmProgress = require('./WaasTransactionBroadcastSvmProgress.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function WaasTransactionBroadcastProgressDetailFromJSON(json) {
|
|
11
|
+
return WaasTransactionBroadcastProgressDetailFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function WaasTransactionBroadcastProgressDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'evm': !runtime.exists(json, 'evm') ? undefined : WaasTransactionBroadcastEvmProgress.WaasTransactionBroadcastEvmProgressFromJSON(json['evm']),
|
|
19
|
+
'svm': !runtime.exists(json, 'svm') ? undefined : WaasTransactionBroadcastSvmProgress.WaasTransactionBroadcastSvmProgressFromJSON(json['svm']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function WaasTransactionBroadcastProgressDetailToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'evm': WaasTransactionBroadcastEvmProgress.WaasTransactionBroadcastEvmProgressToJSON(value.evm),
|
|
31
|
+
'svm': WaasTransactionBroadcastSvmProgress.WaasTransactionBroadcastSvmProgressToJSON(value.svm),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.WaasTransactionBroadcastProgressDetailFromJSON = WaasTransactionBroadcastProgressDetailFromJSON;
|
|
36
|
+
exports.WaasTransactionBroadcastProgressDetailFromJSONTyped = WaasTransactionBroadcastProgressDetailFromJSONTyped;
|
|
37
|
+
exports.WaasTransactionBroadcastProgressDetailToJSON = WaasTransactionBroadcastProgressDetailToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { WaasTransactionBroadcastEvmProgress } from './WaasTransactionBroadcastEvmProgress';
|
|
13
|
+
import { WaasTransactionBroadcastSvmProgress } from './WaasTransactionBroadcastSvmProgress';
|
|
14
|
+
/**
|
|
15
|
+
* The same progress in the chain's own units.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WaasTransactionBroadcastProgressDetail
|
|
18
|
+
*/
|
|
19
|
+
export interface WaasTransactionBroadcastProgressDetail {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {WaasTransactionBroadcastEvmProgress}
|
|
23
|
+
* @memberof WaasTransactionBroadcastProgressDetail
|
|
24
|
+
*/
|
|
25
|
+
evm?: WaasTransactionBroadcastEvmProgress;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WaasTransactionBroadcastSvmProgress}
|
|
29
|
+
* @memberof WaasTransactionBroadcastProgressDetail
|
|
30
|
+
*/
|
|
31
|
+
svm?: WaasTransactionBroadcastSvmProgress;
|
|
32
|
+
}
|
|
33
|
+
export declare function WaasTransactionBroadcastProgressDetailFromJSON(json: any): WaasTransactionBroadcastProgressDetail;
|
|
34
|
+
export declare function WaasTransactionBroadcastProgressDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionBroadcastProgressDetail;
|
|
35
|
+
export declare function WaasTransactionBroadcastProgressDetailToJSON(value?: WaasTransactionBroadcastProgressDetail | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasTransactionBroadcastEvmProgressFromJSON, WaasTransactionBroadcastEvmProgressToJSON } from './WaasTransactionBroadcastEvmProgress.js';
|
|
3
|
+
import { WaasTransactionBroadcastSvmProgressFromJSON, WaasTransactionBroadcastSvmProgressToJSON } from './WaasTransactionBroadcastSvmProgress.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function WaasTransactionBroadcastProgressDetailFromJSON(json) {
|
|
7
|
+
return WaasTransactionBroadcastProgressDetailFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function WaasTransactionBroadcastProgressDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'evm': !exists(json, 'evm') ? undefined : WaasTransactionBroadcastEvmProgressFromJSON(json['evm']),
|
|
15
|
+
'svm': !exists(json, 'svm') ? undefined : WaasTransactionBroadcastSvmProgressFromJSON(json['svm']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function WaasTransactionBroadcastProgressDetailToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'evm': WaasTransactionBroadcastEvmProgressToJSON(value.evm),
|
|
27
|
+
'svm': WaasTransactionBroadcastSvmProgressToJSON(value.svm),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { WaasTransactionBroadcastProgressDetailFromJSON, WaasTransactionBroadcastProgressDetailFromJSONTyped, WaasTransactionBroadcastProgressDetailToJSON };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Why a transaction failed or stalled. Tolerate values you do not recognise.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.WaasTransactionBroadcastReason = void 0;
|
|
24
|
+
(function (WaasTransactionBroadcastReason) {
|
|
25
|
+
WaasTransactionBroadcastReason["NeverSent"] = "never_sent";
|
|
26
|
+
WaasTransactionBroadcastReason["Rejected"] = "rejected";
|
|
27
|
+
WaasTransactionBroadcastReason["Expired"] = "expired";
|
|
28
|
+
WaasTransactionBroadcastReason["Replaced"] = "replaced";
|
|
29
|
+
WaasTransactionBroadcastReason["NonceGap"] = "nonce_gap";
|
|
30
|
+
WaasTransactionBroadcastReason["CeremonyFailed"] = "ceremony_failed";
|
|
31
|
+
WaasTransactionBroadcastReason["AssemblyFailed"] = "assembly_failed";
|
|
32
|
+
WaasTransactionBroadcastReason["InsufficientFunds"] = "insufficient_funds";
|
|
33
|
+
WaasTransactionBroadcastReason["BroadcasterStopped"] = "broadcaster_stopped";
|
|
34
|
+
WaasTransactionBroadcastReason["BroadcasterFailed"] = "broadcaster_failed";
|
|
35
|
+
})(exports.WaasTransactionBroadcastReason || (exports.WaasTransactionBroadcastReason = {}));
|
|
36
|
+
function WaasTransactionBroadcastReasonFromJSON(json) {
|
|
37
|
+
return WaasTransactionBroadcastReasonFromJSONTyped(json);
|
|
38
|
+
}
|
|
39
|
+
function WaasTransactionBroadcastReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
function WaasTransactionBroadcastReasonToJSON(value) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
exports.WaasTransactionBroadcastReasonFromJSON = WaasTransactionBroadcastReasonFromJSON;
|
|
47
|
+
exports.WaasTransactionBroadcastReasonFromJSONTyped = WaasTransactionBroadcastReasonFromJSONTyped;
|
|
48
|
+
exports.WaasTransactionBroadcastReasonToJSON = WaasTransactionBroadcastReasonToJSON;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare enum
|
|
17
|
+
export declare enum WaasTransactionBroadcastReason {
|
|
18
18
|
NeverSent = "never_sent",
|
|
19
19
|
Rejected = "rejected",
|
|
20
20
|
Expired = "expired",
|
|
@@ -26,6 +26,6 @@ export declare enum WaasTransactionSendReason {
|
|
|
26
26
|
BroadcasterStopped = "broadcaster_stopped",
|
|
27
27
|
BroadcasterFailed = "broadcaster_failed"
|
|
28
28
|
}
|
|
29
|
-
export declare function
|
|
30
|
-
export declare function
|
|
31
|
-
export declare function
|
|
29
|
+
export declare function WaasTransactionBroadcastReasonFromJSON(json: any): WaasTransactionBroadcastReason;
|
|
30
|
+
export declare function WaasTransactionBroadcastReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionBroadcastReason;
|
|
31
|
+
export declare function WaasTransactionBroadcastReasonToJSON(value?: WaasTransactionBroadcastReason | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Why a transaction failed or stalled. Tolerate values you do not recognise.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var WaasTransactionBroadcastReason;
|
|
20
|
+
(function (WaasTransactionBroadcastReason) {
|
|
21
|
+
WaasTransactionBroadcastReason["NeverSent"] = "never_sent";
|
|
22
|
+
WaasTransactionBroadcastReason["Rejected"] = "rejected";
|
|
23
|
+
WaasTransactionBroadcastReason["Expired"] = "expired";
|
|
24
|
+
WaasTransactionBroadcastReason["Replaced"] = "replaced";
|
|
25
|
+
WaasTransactionBroadcastReason["NonceGap"] = "nonce_gap";
|
|
26
|
+
WaasTransactionBroadcastReason["CeremonyFailed"] = "ceremony_failed";
|
|
27
|
+
WaasTransactionBroadcastReason["AssemblyFailed"] = "assembly_failed";
|
|
28
|
+
WaasTransactionBroadcastReason["InsufficientFunds"] = "insufficient_funds";
|
|
29
|
+
WaasTransactionBroadcastReason["BroadcasterStopped"] = "broadcaster_stopped";
|
|
30
|
+
WaasTransactionBroadcastReason["BroadcasterFailed"] = "broadcaster_failed";
|
|
31
|
+
})(WaasTransactionBroadcastReason || (WaasTransactionBroadcastReason = {}));
|
|
32
|
+
function WaasTransactionBroadcastReasonFromJSON(json) {
|
|
33
|
+
return WaasTransactionBroadcastReasonFromJSONTyped(json);
|
|
34
|
+
}
|
|
35
|
+
function WaasTransactionBroadcastReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
function WaasTransactionBroadcastReasonToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { WaasTransactionBroadcastReason, WaasTransactionBroadcastReasonFromJSON, WaasTransactionBroadcastReasonFromJSONTyped, WaasTransactionBroadcastReasonToJSON };
|
package/src/models/{WaasTransactionSendSvmProgress.cjs → WaasTransactionBroadcastSvmProgress.cjs}
RENAMED
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var WaasSvmCommitment = require('./WaasSvmCommitment.cjs');
|
|
6
6
|
|
|
7
7
|
/* tslint:disable */
|
|
8
|
-
function
|
|
9
|
-
return
|
|
8
|
+
function WaasTransactionBroadcastSvmProgressFromJSON(json) {
|
|
9
|
+
return WaasTransactionBroadcastSvmProgressFromJSONTyped(json);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function WaasTransactionBroadcastSvmProgressFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
12
|
if ((json === undefined) || (json === null)) {
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
@@ -17,7 +17,7 @@ function WaasTransactionSendSvmProgressFromJSONTyped(json, ignoreDiscriminator)
|
|
|
17
17
|
'requiredCommitment': WaasSvmCommitment.WaasSvmCommitmentFromJSON(json['requiredCommitment']),
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function WaasTransactionBroadcastSvmProgressToJSON(value) {
|
|
21
21
|
if (value === undefined) {
|
|
22
22
|
return undefined;
|
|
23
23
|
}
|
|
@@ -30,6 +30,6 @@ function WaasTransactionSendSvmProgressToJSON(value) {
|
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
33
|
+
exports.WaasTransactionBroadcastSvmProgressFromJSON = WaasTransactionBroadcastSvmProgressFromJSON;
|
|
34
|
+
exports.WaasTransactionBroadcastSvmProgressFromJSONTyped = WaasTransactionBroadcastSvmProgressFromJSONTyped;
|
|
35
|
+
exports.WaasTransactionBroadcastSvmProgressToJSON = WaasTransactionBroadcastSvmProgressToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { WaasSvmCommitment } from './WaasSvmCommitment';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasTransactionBroadcastSvmProgress
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasTransactionBroadcastSvmProgress {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {WaasSvmCommitment}
|
|
22
|
+
* @memberof WaasTransactionBroadcastSvmProgress
|
|
23
|
+
*/
|
|
24
|
+
commitment: WaasSvmCommitment;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {WaasSvmCommitment}
|
|
28
|
+
* @memberof WaasTransactionBroadcastSvmProgress
|
|
29
|
+
*/
|
|
30
|
+
requiredCommitment: WaasSvmCommitment;
|
|
31
|
+
}
|
|
32
|
+
export declare function WaasTransactionBroadcastSvmProgressFromJSON(json: any): WaasTransactionBroadcastSvmProgress;
|
|
33
|
+
export declare function WaasTransactionBroadcastSvmProgressFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasTransactionBroadcastSvmProgress;
|
|
34
|
+
export declare function WaasTransactionBroadcastSvmProgressToJSON(value?: WaasTransactionBroadcastSvmProgress | null): any;
|
package/src/models/{WaasTransactionSendSvmProgress.js → WaasTransactionBroadcastSvmProgress.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { WaasSvmCommitmentFromJSON, WaasSvmCommitmentToJSON } from './WaasSvmCommitment.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
|
-
function
|
|
5
|
-
return
|
|
4
|
+
function WaasTransactionBroadcastSvmProgressFromJSON(json) {
|
|
5
|
+
return WaasTransactionBroadcastSvmProgressFromJSONTyped(json);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function WaasTransactionBroadcastSvmProgressFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
8
|
if ((json === undefined) || (json === null)) {
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
@@ -13,7 +13,7 @@ function WaasTransactionSendSvmProgressFromJSONTyped(json, ignoreDiscriminator)
|
|
|
13
13
|
'requiredCommitment': WaasSvmCommitmentFromJSON(json['requiredCommitment']),
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function WaasTransactionBroadcastSvmProgressToJSON(value) {
|
|
17
17
|
if (value === undefined) {
|
|
18
18
|
return undefined;
|
|
19
19
|
}
|
|
@@ -26,4 +26,4 @@ function WaasTransactionSendSvmProgressToJSON(value) {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export {
|
|
29
|
+
export { WaasTransactionBroadcastSvmProgressFromJSON, WaasTransactionBroadcastSvmProgressFromJSONTyped, WaasTransactionBroadcastSvmProgressToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -865,6 +865,12 @@ export * from './VisitorsResponse';
|
|
|
865
865
|
export * from './WaasAuthenticateResponse';
|
|
866
866
|
export * from './WaasAuthenticateResponseEncodedJwts';
|
|
867
867
|
export * from './WaasBackupOptionsEnum';
|
|
868
|
+
export * from './WaasBroadcastEvmFee';
|
|
869
|
+
export * from './WaasBroadcastEvmTransaction';
|
|
870
|
+
export * from './WaasBroadcastStatus';
|
|
871
|
+
export * from './WaasBroadcastSvmCosignerSignature';
|
|
872
|
+
export * from './WaasBroadcastSvmTransaction';
|
|
873
|
+
export * from './WaasBroadcastTransaction';
|
|
868
874
|
export * from './WaasChainEnum';
|
|
869
875
|
export * from './WaasDelegateSignMessageRequest';
|
|
870
876
|
export * from './WaasDelegatedAccessEncryptionPublicKeyType';
|
|
@@ -893,23 +899,25 @@ export * from './WaasPolicyRuleWhen';
|
|
|
893
899
|
export * from './WaasPolicyRuleWhenInitiatorRole';
|
|
894
900
|
export * from './WaasPolicyRuleWhenMinValue';
|
|
895
901
|
export * from './WaasPolicyUpdateRequest';
|
|
896
|
-
export * from './WaasSendEvmFee';
|
|
897
|
-
export * from './WaasSendEvmTransaction';
|
|
898
|
-
export * from './WaasSendSvmCosignerSignature';
|
|
899
|
-
export * from './WaasSendSvmTransaction';
|
|
900
|
-
export * from './WaasSendTransaction';
|
|
901
902
|
export * from './WaasShareSet';
|
|
902
903
|
export * from './WaasSignAndBroadcastRequest';
|
|
903
904
|
export * from './WaasSignerPolicyLayerUpdateRequest';
|
|
904
905
|
export * from './WaasSignerPolicyLayerUpdateRequestAllOf';
|
|
905
906
|
export * from './WaasSvmCommitment';
|
|
907
|
+
export * from './WaasTransactionBroadcast';
|
|
908
|
+
export * from './WaasTransactionBroadcastAttempt';
|
|
906
909
|
export * from './WaasTransactionBroadcastError';
|
|
907
910
|
export * from './WaasTransactionBroadcastErrorPayload';
|
|
911
|
+
export * from './WaasTransactionBroadcastEvmProgress';
|
|
908
912
|
export * from './WaasTransactionBroadcastOptions';
|
|
913
|
+
export * from './WaasTransactionBroadcastProgress';
|
|
914
|
+
export * from './WaasTransactionBroadcastProgressDetail';
|
|
915
|
+
export * from './WaasTransactionBroadcastReason';
|
|
909
916
|
export * from './WaasTransactionBroadcastRequest';
|
|
910
917
|
export * from './WaasTransactionBroadcastResponse';
|
|
911
918
|
export * from './WaasTransactionBroadcastStatus';
|
|
912
919
|
export * from './WaasTransactionBroadcastSubmissionState';
|
|
920
|
+
export * from './WaasTransactionBroadcastSvmProgress';
|
|
913
921
|
export * from './WaasTransactionEncoding';
|
|
914
922
|
export * from './WaasTransactionReviewConfigRequest';
|
|
915
923
|
export * from './WaasTransactionReviewConfigResponse';
|
|
@@ -923,14 +931,6 @@ export * from './WaasTransactionReviewTestResponseResponse';
|
|
|
923
931
|
export * from './WaasTransactionReviewTestResponseResponseParsed';
|
|
924
932
|
export * from './WaasTransactionReviewTestResponseResponseSignature';
|
|
925
933
|
export * from './WaasTransactionReviewTestScenario';
|
|
926
|
-
export * from './WaasTransactionSend';
|
|
927
|
-
export * from './WaasTransactionSendAttempt';
|
|
928
|
-
export * from './WaasTransactionSendEvmProgress';
|
|
929
|
-
export * from './WaasTransactionSendProgress';
|
|
930
|
-
export * from './WaasTransactionSendProgressDetail';
|
|
931
|
-
export * from './WaasTransactionSendReason';
|
|
932
|
-
export * from './WaasTransactionSendStatus';
|
|
933
|
-
export * from './WaasTransactionSendSvmProgress';
|
|
934
934
|
export * from './WaasVerifyApiKeyErrorResponse';
|
|
935
935
|
export * from './WaasVerifyApiKeyResponse';
|
|
936
936
|
export * from './WaasWallet';
|
|
@@ -1,33 +0,0 @@
|
|
|
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 WaasSendSvmCosignerSignature
|
|
16
|
-
*/
|
|
17
|
-
export interface WaasSendSvmCosignerSignature {
|
|
18
|
-
/**
|
|
19
|
-
* The co-signer's public key, base58.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof WaasSendSvmCosignerSignature
|
|
22
|
-
*/
|
|
23
|
-
publicKey: string;
|
|
24
|
-
/**
|
|
25
|
-
* The co-signer's signature over the transaction, base58.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof WaasSendSvmCosignerSignature
|
|
28
|
-
*/
|
|
29
|
-
signature: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function WaasSendSvmCosignerSignatureFromJSON(json: any): WaasSendSvmCosignerSignature;
|
|
32
|
-
export declare function WaasSendSvmCosignerSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasSendSvmCosignerSignature;
|
|
33
|
-
export declare function WaasSendSvmCosignerSignatureToJSON(value?: WaasSendSvmCosignerSignature | null): any;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
var WaasSendSvmCosignerSignature = require('./WaasSendSvmCosignerSignature.cjs');
|
|
7
|
-
|
|
8
|
-
/* tslint:disable */
|
|
9
|
-
function WaasSendSvmTransactionFromJSON(json) {
|
|
10
|
-
return WaasSendSvmTransactionFromJSONTyped(json);
|
|
11
|
-
}
|
|
12
|
-
function WaasSendSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
-
if ((json === undefined) || (json === null)) {
|
|
14
|
-
return json;
|
|
15
|
-
}
|
|
16
|
-
return {
|
|
17
|
-
'serializedTransactions': json['serializedTransactions'],
|
|
18
|
-
'cosignerSignatures': !runtime.exists(json, 'cosignerSignatures') ? undefined : (json['cosignerSignatures'].map(WaasSendSvmCosignerSignature.WaasSendSvmCosignerSignatureFromJSON)),
|
|
19
|
-
'skipPreflight': !runtime.exists(json, 'skipPreflight') ? undefined : json['skipPreflight'],
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function WaasSendSvmTransactionToJSON(value) {
|
|
23
|
-
if (value === undefined) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
if (value === null) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'serializedTransactions': value.serializedTransactions,
|
|
31
|
-
'cosignerSignatures': value.cosignerSignatures === undefined ? undefined : (value.cosignerSignatures.map(WaasSendSvmCosignerSignature.WaasSendSvmCosignerSignatureToJSON)),
|
|
32
|
-
'skipPreflight': value.skipPreflight,
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
exports.WaasSendSvmTransactionFromJSON = WaasSendSvmTransactionFromJSON;
|
|
37
|
-
exports.WaasSendSvmTransactionFromJSONTyped = WaasSendSvmTransactionFromJSONTyped;
|
|
38
|
-
exports.WaasSendSvmTransactionToJSON = WaasSendSvmTransactionToJSON;
|
|
@@ -1,40 +0,0 @@
|
|
|
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 { WaasSendSvmCosignerSignature } from './WaasSendSvmCosignerSignature';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface WaasSendSvmTransaction
|
|
17
|
-
*/
|
|
18
|
-
export interface WaasSendSvmTransaction {
|
|
19
|
-
/**
|
|
20
|
-
* Exactly one Solana transaction, base64-encoded.
|
|
21
|
-
* @type {Array<string>}
|
|
22
|
-
* @memberof WaasSendSvmTransaction
|
|
23
|
-
*/
|
|
24
|
-
serializedTransactions: Array<string>;
|
|
25
|
-
/**
|
|
26
|
-
* Signatures from the transaction's other required signers. Dynamic adds only the wallet's own; a missing one is rejected with `missing_cosigner`.
|
|
27
|
-
* @type {Array<WaasSendSvmCosignerSignature>}
|
|
28
|
-
* @memberof WaasSendSvmTransaction
|
|
29
|
-
*/
|
|
30
|
-
cosignerSignatures?: Array<WaasSendSvmCosignerSignature>;
|
|
31
|
-
/**
|
|
32
|
-
* Skip the network's pre-send simulation.
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof WaasSendSvmTransaction
|
|
35
|
-
*/
|
|
36
|
-
skipPreflight?: boolean;
|
|
37
|
-
}
|
|
38
|
-
export declare function WaasSendSvmTransactionFromJSON(json: any): WaasSendSvmTransaction;
|
|
39
|
-
export declare function WaasSendSvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasSendSvmTransaction;
|
|
40
|
-
export declare function WaasSendSvmTransactionToJSON(value?: WaasSendSvmTransaction | null): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
var WaasSendEvmTransaction = require('./WaasSendEvmTransaction.cjs');
|
|
7
|
-
var WaasSendSvmTransaction = require('./WaasSendSvmTransaction.cjs');
|
|
8
|
-
|
|
9
|
-
/* tslint:disable */
|
|
10
|
-
function WaasSendTransactionFromJSON(json) {
|
|
11
|
-
return WaasSendTransactionFromJSONTyped(json);
|
|
12
|
-
}
|
|
13
|
-
function WaasSendTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
-
if ((json === undefined) || (json === null)) {
|
|
15
|
-
return json;
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
'evm': !runtime.exists(json, 'evm') ? undefined : WaasSendEvmTransaction.WaasSendEvmTransactionFromJSON(json['evm']),
|
|
19
|
-
'svm': !runtime.exists(json, 'svm') ? undefined : WaasSendSvmTransaction.WaasSendSvmTransactionFromJSON(json['svm']),
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function WaasSendTransactionToJSON(value) {
|
|
23
|
-
if (value === undefined) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
if (value === null) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'evm': WaasSendEvmTransaction.WaasSendEvmTransactionToJSON(value.evm),
|
|
31
|
-
'svm': WaasSendSvmTransaction.WaasSendSvmTransactionToJSON(value.svm),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
exports.WaasSendTransactionFromJSON = WaasSendTransactionFromJSON;
|
|
36
|
-
exports.WaasSendTransactionFromJSONTyped = WaasSendTransactionFromJSONTyped;
|
|
37
|
-
exports.WaasSendTransactionToJSON = WaasSendTransactionToJSON;
|
|
@@ -1,35 +0,0 @@
|
|
|
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 { WaasSendEvmTransaction } from './WaasSendEvmTransaction';
|
|
13
|
-
import { WaasSendSvmTransaction } from './WaasSendSvmTransaction';
|
|
14
|
-
/**
|
|
15
|
-
* One transaction, for the wallet's chain. Both `evm` and `svm` together are rejected with `multiple_transactions`.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface WaasSendTransaction
|
|
18
|
-
*/
|
|
19
|
-
export interface WaasSendTransaction {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {WaasSendEvmTransaction}
|
|
23
|
-
* @memberof WaasSendTransaction
|
|
24
|
-
*/
|
|
25
|
-
evm?: WaasSendEvmTransaction;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {WaasSendSvmTransaction}
|
|
29
|
-
* @memberof WaasSendTransaction
|
|
30
|
-
*/
|
|
31
|
-
svm?: WaasSendSvmTransaction;
|
|
32
|
-
}
|
|
33
|
-
export declare function WaasSendTransactionFromJSON(json: any): WaasSendTransaction;
|
|
34
|
-
export declare function WaasSendTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasSendTransaction;
|
|
35
|
-
export declare function WaasSendTransactionToJSON(value?: WaasSendTransaction | null): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { exists } from '../runtime.js';
|
|
2
|
-
import { WaasSendEvmTransactionFromJSON, WaasSendEvmTransactionToJSON } from './WaasSendEvmTransaction.js';
|
|
3
|
-
import { WaasSendSvmTransactionFromJSON, WaasSendSvmTransactionToJSON } from './WaasSendSvmTransaction.js';
|
|
4
|
-
|
|
5
|
-
/* tslint:disable */
|
|
6
|
-
function WaasSendTransactionFromJSON(json) {
|
|
7
|
-
return WaasSendTransactionFromJSONTyped(json);
|
|
8
|
-
}
|
|
9
|
-
function WaasSendTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
-
if ((json === undefined) || (json === null)) {
|
|
11
|
-
return json;
|
|
12
|
-
}
|
|
13
|
-
return {
|
|
14
|
-
'evm': !exists(json, 'evm') ? undefined : WaasSendEvmTransactionFromJSON(json['evm']),
|
|
15
|
-
'svm': !exists(json, 'svm') ? undefined : WaasSendSvmTransactionFromJSON(json['svm']),
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function WaasSendTransactionToJSON(value) {
|
|
19
|
-
if (value === undefined) {
|
|
20
|
-
return undefined;
|
|
21
|
-
}
|
|
22
|
-
if (value === null) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'evm': WaasSendEvmTransactionToJSON(value.evm),
|
|
27
|
-
'svm': WaasSendSvmTransactionToJSON(value.svm),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { WaasSendTransactionFromJSON, WaasSendTransactionFromJSONTyped, WaasSendTransactionToJSON };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
var WaasSendEvmFee = require('./WaasSendEvmFee.cjs');
|
|
7
|
-
|
|
8
|
-
/* tslint:disable */
|
|
9
|
-
function WaasTransactionSendAttemptFromJSON(json) {
|
|
10
|
-
return WaasTransactionSendAttemptFromJSONTyped(json);
|
|
11
|
-
}
|
|
12
|
-
function WaasTransactionSendAttemptFromJSONTyped(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 : WaasSendEvmFee.WaasSendEvmFeeFromJSON(json['fee']),
|
|
19
|
-
'blockExplorerUrls': !runtime.exists(json, 'blockExplorerUrls') ? undefined : json['blockExplorerUrls'],
|
|
20
|
-
'live': json['live'],
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
function WaasTransactionSendAttemptToJSON(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': WaasSendEvmFee.WaasSendEvmFeeToJSON(value.fee),
|
|
33
|
-
'blockExplorerUrls': value.blockExplorerUrls,
|
|
34
|
-
'live': value.live,
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
exports.WaasTransactionSendAttemptFromJSON = WaasTransactionSendAttemptFromJSON;
|
|
39
|
-
exports.WaasTransactionSendAttemptFromJSONTyped = WaasTransactionSendAttemptFromJSONTyped;
|
|
40
|
-
exports.WaasTransactionSendAttemptToJSON = WaasTransactionSendAttemptToJSON;
|