@dynamic-labs/sdk-api 0.73.0 → 0.75.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 +6 -3
- package/src/apis/FlowAnalyticsApi.d.ts +1 -0
- package/src/apis/FlowAnalyticsApi.js +6 -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,46 @@
|
|
|
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
|
+
* Where the transaction has got to. `stalled` means nobody is pushing it any more and it can return to `confirming`. Tolerate values you do not recognise.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.WaasBroadcastStatus = void 0;
|
|
24
|
+
(function (WaasBroadcastStatus) {
|
|
25
|
+
WaasBroadcastStatus["PendingSignature"] = "pending_signature";
|
|
26
|
+
WaasBroadcastStatus["Signed"] = "signed";
|
|
27
|
+
WaasBroadcastStatus["Broadcasting"] = "broadcasting";
|
|
28
|
+
WaasBroadcastStatus["Confirming"] = "confirming";
|
|
29
|
+
WaasBroadcastStatus["Stalled"] = "stalled";
|
|
30
|
+
WaasBroadcastStatus["Completed"] = "completed";
|
|
31
|
+
WaasBroadcastStatus["Reverted"] = "reverted";
|
|
32
|
+
WaasBroadcastStatus["Failed"] = "failed";
|
|
33
|
+
})(exports.WaasBroadcastStatus || (exports.WaasBroadcastStatus = {}));
|
|
34
|
+
function WaasBroadcastStatusFromJSON(json) {
|
|
35
|
+
return WaasBroadcastStatusFromJSONTyped(json);
|
|
36
|
+
}
|
|
37
|
+
function WaasBroadcastStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
function WaasBroadcastStatusToJSON(value) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
exports.WaasBroadcastStatusFromJSON = WaasBroadcastStatusFromJSON;
|
|
45
|
+
exports.WaasBroadcastStatusFromJSONTyped = WaasBroadcastStatusFromJSONTyped;
|
|
46
|
+
exports.WaasBroadcastStatusToJSON = WaasBroadcastStatusToJSON;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare enum
|
|
17
|
+
export declare enum WaasBroadcastStatus {
|
|
18
18
|
PendingSignature = "pending_signature",
|
|
19
19
|
Signed = "signed",
|
|
20
20
|
Broadcasting = "broadcasting",
|
|
@@ -24,6 +24,6 @@ export declare enum WaasTransactionSendStatus {
|
|
|
24
24
|
Reverted = "reverted",
|
|
25
25
|
Failed = "failed"
|
|
26
26
|
}
|
|
27
|
-
export declare function
|
|
28
|
-
export declare function
|
|
29
|
-
export declare function
|
|
27
|
+
export declare function WaasBroadcastStatusFromJSON(json: any): WaasBroadcastStatus;
|
|
28
|
+
export declare function WaasBroadcastStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasBroadcastStatus;
|
|
29
|
+
export declare function WaasBroadcastStatusToJSON(value?: WaasBroadcastStatus | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* Where the transaction has got to. `stalled` means nobody is pushing it any more and it can return to `confirming`. Tolerate values you do not recognise.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var WaasBroadcastStatus;
|
|
20
|
+
(function (WaasBroadcastStatus) {
|
|
21
|
+
WaasBroadcastStatus["PendingSignature"] = "pending_signature";
|
|
22
|
+
WaasBroadcastStatus["Signed"] = "signed";
|
|
23
|
+
WaasBroadcastStatus["Broadcasting"] = "broadcasting";
|
|
24
|
+
WaasBroadcastStatus["Confirming"] = "confirming";
|
|
25
|
+
WaasBroadcastStatus["Stalled"] = "stalled";
|
|
26
|
+
WaasBroadcastStatus["Completed"] = "completed";
|
|
27
|
+
WaasBroadcastStatus["Reverted"] = "reverted";
|
|
28
|
+
WaasBroadcastStatus["Failed"] = "failed";
|
|
29
|
+
})(WaasBroadcastStatus || (WaasBroadcastStatus = {}));
|
|
30
|
+
function WaasBroadcastStatusFromJSON(json) {
|
|
31
|
+
return WaasBroadcastStatusFromJSONTyped(json);
|
|
32
|
+
}
|
|
33
|
+
function WaasBroadcastStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
function WaasBroadcastStatusToJSON(value) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { WaasBroadcastStatus, WaasBroadcastStatusFromJSON, WaasBroadcastStatusFromJSONTyped, WaasBroadcastStatusToJSON };
|
package/src/models/{WaasSendSvmCosignerSignature.cjs → WaasBroadcastSvmCosignerSignature.cjs}
RENAMED
|
@@ -15,10 +15,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
15
15
|
* https://openapi-generator.tech
|
|
16
16
|
* Do not edit the class manually.
|
|
17
17
|
*/
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function WaasBroadcastSvmCosignerSignatureFromJSON(json) {
|
|
19
|
+
return WaasBroadcastSvmCosignerSignatureFromJSONTyped(json);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function WaasBroadcastSvmCosignerSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
22
|
if ((json === undefined) || (json === null)) {
|
|
23
23
|
return json;
|
|
24
24
|
}
|
|
@@ -27,7 +27,7 @@ function WaasSendSvmCosignerSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'signature': json['signature'],
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function WaasBroadcastSvmCosignerSignatureToJSON(value) {
|
|
31
31
|
if (value === undefined) {
|
|
32
32
|
return undefined;
|
|
33
33
|
}
|
|
@@ -40,6 +40,6 @@ function WaasSendSvmCosignerSignatureToJSON(value) {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
43
|
+
exports.WaasBroadcastSvmCosignerSignatureFromJSON = WaasBroadcastSvmCosignerSignatureFromJSON;
|
|
44
|
+
exports.WaasBroadcastSvmCosignerSignatureFromJSONTyped = WaasBroadcastSvmCosignerSignatureFromJSONTyped;
|
|
45
|
+
exports.WaasBroadcastSvmCosignerSignatureToJSON = WaasBroadcastSvmCosignerSignatureToJSON;
|
|
@@ -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 WaasBroadcastSvmCosignerSignature
|
|
16
|
+
*/
|
|
17
|
+
export interface WaasBroadcastSvmCosignerSignature {
|
|
18
|
+
/**
|
|
19
|
+
* The co-signer's public key, base58.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WaasBroadcastSvmCosignerSignature
|
|
22
|
+
*/
|
|
23
|
+
publicKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* The co-signer's signature over the transaction, base58.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WaasBroadcastSvmCosignerSignature
|
|
28
|
+
*/
|
|
29
|
+
signature: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function WaasBroadcastSvmCosignerSignatureFromJSON(json: any): WaasBroadcastSvmCosignerSignature;
|
|
32
|
+
export declare function WaasBroadcastSvmCosignerSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasBroadcastSvmCosignerSignature;
|
|
33
|
+
export declare function WaasBroadcastSvmCosignerSignatureToJSON(value?: WaasBroadcastSvmCosignerSignature | null): any;
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
function WaasBroadcastSvmCosignerSignatureFromJSON(json) {
|
|
15
|
+
return WaasBroadcastSvmCosignerSignatureFromJSONTyped(json);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function WaasBroadcastSvmCosignerSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
18
|
if ((json === undefined) || (json === null)) {
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
@@ -23,7 +23,7 @@ function WaasSendSvmCosignerSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
'signature': json['signature'],
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function WaasBroadcastSvmCosignerSignatureToJSON(value) {
|
|
27
27
|
if (value === undefined) {
|
|
28
28
|
return undefined;
|
|
29
29
|
}
|
|
@@ -36,4 +36,4 @@ function WaasSendSvmCosignerSignatureToJSON(value) {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { WaasBroadcastSvmCosignerSignatureFromJSON, WaasBroadcastSvmCosignerSignatureFromJSONTyped, WaasBroadcastSvmCosignerSignatureToJSON };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasBroadcastSvmCosignerSignature = require('./WaasBroadcastSvmCosignerSignature.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WaasBroadcastSvmTransactionFromJSON(json) {
|
|
10
|
+
return WaasBroadcastSvmTransactionFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WaasBroadcastSvmTransactionFromJSONTyped(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(WaasBroadcastSvmCosignerSignature.WaasBroadcastSvmCosignerSignatureFromJSON)),
|
|
19
|
+
'skipPreflight': !runtime.exists(json, 'skipPreflight') ? undefined : json['skipPreflight'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function WaasBroadcastSvmTransactionToJSON(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(WaasBroadcastSvmCosignerSignature.WaasBroadcastSvmCosignerSignatureToJSON)),
|
|
32
|
+
'skipPreflight': value.skipPreflight,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.WaasBroadcastSvmTransactionFromJSON = WaasBroadcastSvmTransactionFromJSON;
|
|
37
|
+
exports.WaasBroadcastSvmTransactionFromJSONTyped = WaasBroadcastSvmTransactionFromJSONTyped;
|
|
38
|
+
exports.WaasBroadcastSvmTransactionToJSON = WaasBroadcastSvmTransactionToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { WaasBroadcastSvmCosignerSignature } from './WaasBroadcastSvmCosignerSignature';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasBroadcastSvmTransaction
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasBroadcastSvmTransaction {
|
|
19
|
+
/**
|
|
20
|
+
* Exactly one Solana transaction, base64-encoded.
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof WaasBroadcastSvmTransaction
|
|
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<WaasBroadcastSvmCosignerSignature>}
|
|
28
|
+
* @memberof WaasBroadcastSvmTransaction
|
|
29
|
+
*/
|
|
30
|
+
cosignerSignatures?: Array<WaasBroadcastSvmCosignerSignature>;
|
|
31
|
+
/**
|
|
32
|
+
* Skip the network's pre-broadcast simulation.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof WaasBroadcastSvmTransaction
|
|
35
|
+
*/
|
|
36
|
+
skipPreflight?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare function WaasBroadcastSvmTransactionFromJSON(json: any): WaasBroadcastSvmTransaction;
|
|
39
|
+
export declare function WaasBroadcastSvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasBroadcastSvmTransaction;
|
|
40
|
+
export declare function WaasBroadcastSvmTransactionToJSON(value?: WaasBroadcastSvmTransaction | null): any;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { WaasBroadcastSvmCosignerSignatureFromJSON, WaasBroadcastSvmCosignerSignatureToJSON } from './WaasBroadcastSvmCosignerSignature.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
-
function
|
|
6
|
-
return
|
|
5
|
+
function WaasBroadcastSvmTransactionFromJSON(json) {
|
|
6
|
+
return WaasBroadcastSvmTransactionFromJSONTyped(json);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function WaasBroadcastSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
9
|
if ((json === undefined) || (json === null)) {
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'serializedTransactions': json['serializedTransactions'],
|
|
14
|
-
'cosignerSignatures': !exists(json, 'cosignerSignatures') ? undefined : (json['cosignerSignatures'].map(
|
|
14
|
+
'cosignerSignatures': !exists(json, 'cosignerSignatures') ? undefined : (json['cosignerSignatures'].map(WaasBroadcastSvmCosignerSignatureFromJSON)),
|
|
15
15
|
'skipPreflight': !exists(json, 'skipPreflight') ? undefined : json['skipPreflight'],
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function WaasBroadcastSvmTransactionToJSON(value) {
|
|
19
19
|
if (value === undefined) {
|
|
20
20
|
return undefined;
|
|
21
21
|
}
|
|
@@ -24,9 +24,9 @@ function WaasSendSvmTransactionToJSON(value) {
|
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
26
|
'serializedTransactions': value.serializedTransactions,
|
|
27
|
-
'cosignerSignatures': value.cosignerSignatures === undefined ? undefined : (value.cosignerSignatures.map(
|
|
27
|
+
'cosignerSignatures': value.cosignerSignatures === undefined ? undefined : (value.cosignerSignatures.map(WaasBroadcastSvmCosignerSignatureToJSON)),
|
|
28
28
|
'skipPreflight': value.skipPreflight,
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { WaasBroadcastSvmTransactionFromJSON, WaasBroadcastSvmTransactionFromJSONTyped, WaasBroadcastSvmTransactionToJSON };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasBroadcastEvmTransaction = require('./WaasBroadcastEvmTransaction.cjs');
|
|
7
|
+
var WaasBroadcastSvmTransaction = require('./WaasBroadcastSvmTransaction.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function WaasBroadcastTransactionFromJSON(json) {
|
|
11
|
+
return WaasBroadcastTransactionFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function WaasBroadcastTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'evm': !runtime.exists(json, 'evm') ? undefined : WaasBroadcastEvmTransaction.WaasBroadcastEvmTransactionFromJSON(json['evm']),
|
|
19
|
+
'svm': !runtime.exists(json, 'svm') ? undefined : WaasBroadcastSvmTransaction.WaasBroadcastSvmTransactionFromJSON(json['svm']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function WaasBroadcastTransactionToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'evm': WaasBroadcastEvmTransaction.WaasBroadcastEvmTransactionToJSON(value.evm),
|
|
31
|
+
'svm': WaasBroadcastSvmTransaction.WaasBroadcastSvmTransactionToJSON(value.svm),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.WaasBroadcastTransactionFromJSON = WaasBroadcastTransactionFromJSON;
|
|
36
|
+
exports.WaasBroadcastTransactionFromJSONTyped = WaasBroadcastTransactionFromJSONTyped;
|
|
37
|
+
exports.WaasBroadcastTransactionToJSON = WaasBroadcastTransactionToJSON;
|
|
@@ -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 { WaasBroadcastEvmTransaction } from './WaasBroadcastEvmTransaction';
|
|
13
|
+
import { WaasBroadcastSvmTransaction } from './WaasBroadcastSvmTransaction';
|
|
14
|
+
/**
|
|
15
|
+
* One transaction, for the wallet's chain. Both `evm` and `svm` together are rejected with `multiple_transactions`.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WaasBroadcastTransaction
|
|
18
|
+
*/
|
|
19
|
+
export interface WaasBroadcastTransaction {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {WaasBroadcastEvmTransaction}
|
|
23
|
+
* @memberof WaasBroadcastTransaction
|
|
24
|
+
*/
|
|
25
|
+
evm?: WaasBroadcastEvmTransaction;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WaasBroadcastSvmTransaction}
|
|
29
|
+
* @memberof WaasBroadcastTransaction
|
|
30
|
+
*/
|
|
31
|
+
svm?: WaasBroadcastSvmTransaction;
|
|
32
|
+
}
|
|
33
|
+
export declare function WaasBroadcastTransactionFromJSON(json: any): WaasBroadcastTransaction;
|
|
34
|
+
export declare function WaasBroadcastTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasBroadcastTransaction;
|
|
35
|
+
export declare function WaasBroadcastTransactionToJSON(value?: WaasBroadcastTransaction | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasBroadcastEvmTransactionFromJSON, WaasBroadcastEvmTransactionToJSON } from './WaasBroadcastEvmTransaction.js';
|
|
3
|
+
import { WaasBroadcastSvmTransactionFromJSON, WaasBroadcastSvmTransactionToJSON } from './WaasBroadcastSvmTransaction.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function WaasBroadcastTransactionFromJSON(json) {
|
|
7
|
+
return WaasBroadcastTransactionFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function WaasBroadcastTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'evm': !exists(json, 'evm') ? undefined : WaasBroadcastEvmTransactionFromJSON(json['evm']),
|
|
15
|
+
'svm': !exists(json, 'svm') ? undefined : WaasBroadcastSvmTransactionFromJSON(json['svm']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function WaasBroadcastTransactionToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'evm': WaasBroadcastEvmTransactionToJSON(value.evm),
|
|
27
|
+
'svm': WaasBroadcastSvmTransactionToJSON(value.svm),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { WaasBroadcastTransactionFromJSON, WaasBroadcastTransactionFromJSONTyped, WaasBroadcastTransactionToJSON };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var WaasBroadcastTransaction = require('./WaasBroadcastTransaction.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function WaasSignAndBroadcastRequestFromJSON(json) {
|
|
@@ -14,7 +14,7 @@ function WaasSignAndBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
return json;
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
|
-
'transaction':
|
|
17
|
+
'transaction': WaasBroadcastTransaction.WaasBroadcastTransactionFromJSON(json['transaction']),
|
|
18
18
|
'requestedCertainty': !runtime.exists(json, 'requestedCertainty') ? undefined : json['requestedCertainty'],
|
|
19
19
|
'externalReference': !runtime.exists(json, 'externalReference') ? undefined : json['externalReference'],
|
|
20
20
|
'roomIds': !runtime.exists(json, 'roomIds') ? undefined : json['roomIds'],
|
|
@@ -29,7 +29,7 @@ function WaasSignAndBroadcastRequestToJSON(value) {
|
|
|
29
29
|
return null;
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
|
-
'transaction':
|
|
32
|
+
'transaction': WaasBroadcastTransaction.WaasBroadcastTransactionToJSON(value.transaction),
|
|
33
33
|
'requestedCertainty': value.requestedCertainty,
|
|
34
34
|
'externalReference': value.externalReference,
|
|
35
35
|
'roomIds': value.roomIds,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { WaasBroadcastTransaction } from './WaasBroadcastTransaction';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import { WaasSendTransaction } from './WaasSendTransaction';
|
|
|
18
18
|
export interface WaasSignAndBroadcastRequest {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {WaasBroadcastTransaction}
|
|
22
22
|
* @memberof WaasSignAndBroadcastRequest
|
|
23
23
|
*/
|
|
24
|
-
transaction:
|
|
24
|
+
transaction: WaasBroadcastTransaction;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { WaasBroadcastTransactionFromJSON, WaasBroadcastTransactionToJSON } from './WaasBroadcastTransaction.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function WaasSignAndBroadcastRequestFromJSON(json) {
|
|
@@ -10,7 +10,7 @@ function WaasSignAndBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
|
-
'transaction':
|
|
13
|
+
'transaction': WaasBroadcastTransactionFromJSON(json['transaction']),
|
|
14
14
|
'requestedCertainty': !exists(json, 'requestedCertainty') ? undefined : json['requestedCertainty'],
|
|
15
15
|
'externalReference': !exists(json, 'externalReference') ? undefined : json['externalReference'],
|
|
16
16
|
'roomIds': !exists(json, 'roomIds') ? undefined : json['roomIds'],
|
|
@@ -25,7 +25,7 @@ function WaasSignAndBroadcastRequestToJSON(value) {
|
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'transaction':
|
|
28
|
+
'transaction': WaasBroadcastTransactionToJSON(value.transaction),
|
|
29
29
|
'requestedCertainty': value.requestedCertainty,
|
|
30
30
|
'externalReference': value.externalReference,
|
|
31
31
|
'roomIds': value.roomIds,
|
|
@@ -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;
|