@chainstream-io/sdk 0.1.6 → 0.1.8
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/README.md +2 -2
- package/dist/esm/index.js +74 -73
- package/dist/esm/openapi/apis/BlockchainApi.js +44 -61
- package/dist/esm/openapi/apis/DefiSolanaMoonshotApi.js +50 -67
- package/dist/esm/openapi/apis/DefiSolanaPumpfunApi.js +25 -38
- package/dist/esm/openapi/apis/DexApi.js +176 -205
- package/dist/esm/openapi/apis/DexPoolApi.js +28 -41
- package/dist/esm/openapi/apis/EndpointApi.js +175 -212
- package/dist/esm/openapi/apis/IpfsApi.js +25 -38
- package/dist/esm/openapi/apis/JobsApi.js +48 -65
- package/dist/esm/openapi/apis/RankingApi.js +249 -278
- package/dist/esm/openapi/apis/RedPacketApi.js +253 -294
- package/dist/esm/openapi/apis/TokenApi.js +1056 -1145
- package/dist/esm/openapi/apis/TradeApi.js +208 -233
- package/dist/esm/openapi/apis/TransactionApi.js +29 -42
- package/dist/esm/openapi/apis/WalletApi.js +123 -148
- package/dist/esm/openapi/apis/WatchlistApi.js +28 -41
- package/dist/esm/openapi/runtime.js +118 -119
- package/dist/esm/stream/stream.js +34 -36
- package/dist/index.js +96 -99
- package/dist/openapi/apis/BlockchainApi.js +48 -69
- package/dist/openapi/apis/DefiSolanaMoonshotApi.js +53 -74
- package/dist/openapi/apis/DefiSolanaPumpfunApi.js +28 -45
- package/dist/openapi/apis/DexApi.js +184 -217
- package/dist/openapi/apis/DexPoolApi.js +32 -49
- package/dist/openapi/apis/EndpointApi.js +179 -220
- package/dist/openapi/apis/IpfsApi.js +27 -44
- package/dist/openapi/apis/JobsApi.js +51 -72
- package/dist/openapi/apis/RankingApi.js +273 -306
- package/dist/openapi/apis/RedPacketApi.js +260 -305
- package/dist/openapi/apis/TokenApi.js +1089 -1182
- package/dist/openapi/apis/TradeApi.js +227 -256
- package/dist/openapi/apis/TransactionApi.js +32 -49
- package/dist/openapi/apis/WalletApi.js +130 -159
- package/dist/openapi/apis/WatchlistApi.js +32 -49
- package/dist/openapi/apis/index.js +15 -31
- package/dist/openapi/index.js +3 -19
- package/dist/openapi/models/BlockchainDTO.js +5 -12
- package/dist/openapi/models/BlockchainLatestBlockDTO.js +5 -12
- package/dist/openapi/models/BooleanResultDTO.js +5 -12
- package/dist/openapi/models/CalculatePnlInput.js +5 -12
- package/dist/openapi/models/Candle.js +8 -15
- package/dist/openapi/models/ClaimRedPacketInput.js +5 -12
- package/dist/openapi/models/CreateEndpointInput.js +5 -12
- package/dist/openapi/models/CreateRedPacketInput.js +5 -12
- package/dist/openapi/models/CreateRedPacketReply.js +5 -12
- package/dist/openapi/models/CreateTokenInput.js +6 -14
- package/dist/openapi/models/CreateTokenReply.js +5 -12
- package/dist/openapi/models/DexDTO.js +5 -12
- package/dist/openapi/models/DexPage.js +8 -15
- package/dist/openapi/models/DexPoolDTO.js +5 -12
- package/dist/openapi/models/EndpointListResponse.js +8 -15
- package/dist/openapi/models/EndpointOperationResponse.js +5 -12
- package/dist/openapi/models/EndpointResponse.js +5 -12
- package/dist/openapi/models/EndpointSecretResponse.js +5 -12
- package/dist/openapi/models/FilterCondition.js +6 -14
- package/dist/openapi/models/GainersAndLosersDTO.js +5 -12
- package/dist/openapi/models/GainersAndLosersPage.js +8 -15
- package/dist/openapi/models/JobDTO.js +5 -12
- package/dist/openapi/models/JobStreamingDTO.js +5 -12
- package/dist/openapi/models/Link.js +6 -14
- package/dist/openapi/models/MoonshotCreateTokenInput.js +10 -18
- package/dist/openapi/models/MoonshotCreateTokenReply.js +5 -12
- package/dist/openapi/models/MoonshotSubmitCreateToken200Response.js +5 -12
- package/dist/openapi/models/MoonshotSubmitCreateTokenInput.js +5 -12
- package/dist/openapi/models/PumpCreateTokenInput.js +7 -15
- package/dist/openapi/models/PumpCreateTokenReply.js +5 -12
- package/dist/openapi/models/QuoteResponse.js +5 -12
- package/dist/openapi/models/RedPacketClaimDTO.js +6 -14
- package/dist/openapi/models/RedPacketClaimsPage.js +8 -15
- package/dist/openapi/models/RedPacketDTO.js +6 -14
- package/dist/openapi/models/RedPacketReply.js +5 -12
- package/dist/openapi/models/RedPacketSendTxInput.js +5 -12
- package/dist/openapi/models/RedPacketSendTxResponse.js +5 -12
- package/dist/openapi/models/RedPacketsPage.js +8 -15
- package/dist/openapi/models/Resolution.js +9 -17
- package/dist/openapi/models/SendTxInput.js +6 -14
- package/dist/openapi/models/SendTxResponse.js +5 -12
- package/dist/openapi/models/SwapInput.js +7 -15
- package/dist/openapi/models/SwapReply.js +5 -12
- package/dist/openapi/models/SwapRouteInput.js +7 -15
- package/dist/openapi/models/SwapRouteResponse.js +8 -15
- package/dist/openapi/models/Token.js +23 -30
- package/dist/openapi/models/TokenCreationDTO.js +6 -14
- package/dist/openapi/models/TokenCreationPage.js +8 -15
- package/dist/openapi/models/TokenCreatorsDTO.js +5 -12
- package/dist/openapi/models/TokenExtraDTO.js +5 -12
- package/dist/openapi/models/TokenHolder.js +5 -12
- package/dist/openapi/models/TokenHolderPage.js +8 -15
- package/dist/openapi/models/TokenListPage.js +8 -15
- package/dist/openapi/models/TokenMarketData.js +5 -12
- package/dist/openapi/models/TokenMetadata.js +14 -21
- package/dist/openapi/models/TokenPage.js +8 -15
- package/dist/openapi/models/TokenPriceDTO.js +5 -12
- package/dist/openapi/models/TokenPricePage.js +8 -15
- package/dist/openapi/models/TokenSocialMediasDTO.js +5 -12
- package/dist/openapi/models/TokenStat.js +5 -12
- package/dist/openapi/models/TopTradersDTO.js +5 -12
- package/dist/openapi/models/TopTradersPage.js +8 -15
- package/dist/openapi/models/TradeDetailDTO.js +5 -12
- package/dist/openapi/models/TradeEvent.js +8 -15
- package/dist/openapi/models/TradePage.js +8 -15
- package/dist/openapi/models/TradeType.js +9 -17
- package/dist/openapi/models/UpdateEndpointInput.js +5 -12
- package/dist/openapi/models/WalletBalanceDetailDTO.js +5 -12
- package/dist/openapi/models/WalletBalancesDTO.js +8 -15
- package/dist/openapi/models/WalletPnlDTO.js +5 -12
- package/dist/openapi/models/index.js +70 -86
- package/dist/openapi/runtime.js +136 -153
- package/dist/stream/index.js +3 -19
- package/dist/stream/stream.fields.js +5 -11
- package/dist/stream/stream.js +39 -45
- package/dist/stream/stream.model.js +10 -13
- package/package.json +4 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,24 +11,17 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
exports.MoonshotCreateTokenInputMigrationDexEnum = exports.MoonshotCreateTokenInputDexEnum = void 0;
|
|
17
|
-
exports.instanceOfMoonshotCreateTokenInput = instanceOfMoonshotCreateTokenInput;
|
|
18
|
-
exports.MoonshotCreateTokenInputFromJSON = MoonshotCreateTokenInputFromJSON;
|
|
19
|
-
exports.MoonshotCreateTokenInputFromJSONTyped = MoonshotCreateTokenInputFromJSONTyped;
|
|
20
|
-
exports.MoonshotCreateTokenInputToJSON = MoonshotCreateTokenInputToJSON;
|
|
21
|
-
exports.MoonshotCreateTokenInputToJSONTyped = MoonshotCreateTokenInputToJSONTyped;
|
|
22
|
-
const Link_1 = require("./Link");
|
|
14
|
+
import { LinkFromJSON, LinkToJSON, } from './Link';
|
|
23
15
|
/**
|
|
24
16
|
* @export
|
|
25
17
|
*/
|
|
26
|
-
|
|
18
|
+
export const MoonshotCreateTokenInputDexEnum = {
|
|
27
19
|
Moonshot: 'moonshot'
|
|
28
20
|
};
|
|
29
21
|
/**
|
|
30
22
|
* @export
|
|
31
23
|
*/
|
|
32
|
-
|
|
24
|
+
export const MoonshotCreateTokenInputMigrationDexEnum = {
|
|
33
25
|
Raydium: 'RAYDIUM',
|
|
34
26
|
Meteora: 'METEORA',
|
|
35
27
|
Uniswap: 'UNISWAP'
|
|
@@ -37,7 +29,7 @@ exports.MoonshotCreateTokenInputMigrationDexEnum = {
|
|
|
37
29
|
/**
|
|
38
30
|
* Check if a given object implements the MoonshotCreateTokenInput interface.
|
|
39
31
|
*/
|
|
40
|
-
function instanceOfMoonshotCreateTokenInput(value) {
|
|
32
|
+
export function instanceOfMoonshotCreateTokenInput(value) {
|
|
41
33
|
if (!('dex' in value) || value['dex'] === undefined)
|
|
42
34
|
return false;
|
|
43
35
|
if (!('userAddress' in value) || value['userAddress'] === undefined)
|
|
@@ -58,10 +50,10 @@ function instanceOfMoonshotCreateTokenInput(value) {
|
|
|
58
50
|
return false;
|
|
59
51
|
return true;
|
|
60
52
|
}
|
|
61
|
-
function MoonshotCreateTokenInputFromJSON(json) {
|
|
53
|
+
export function MoonshotCreateTokenInputFromJSON(json) {
|
|
62
54
|
return MoonshotCreateTokenInputFromJSONTyped(json, false);
|
|
63
55
|
}
|
|
64
|
-
function MoonshotCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
export function MoonshotCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
65
57
|
if (json == null) {
|
|
66
58
|
return json;
|
|
67
59
|
}
|
|
@@ -74,15 +66,15 @@ function MoonshotCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
66
|
'migrationDex': json['migrationDex'],
|
|
75
67
|
'icon': json['icon'],
|
|
76
68
|
'description': json['description'],
|
|
77
|
-
'links': (json['links'].map(
|
|
69
|
+
'links': (json['links'].map(LinkFromJSON)),
|
|
78
70
|
'banner': json['banner'] == null ? undefined : json['banner'],
|
|
79
71
|
'tokenAmount': json['tokenAmount'],
|
|
80
72
|
};
|
|
81
73
|
}
|
|
82
|
-
function MoonshotCreateTokenInputToJSON(json) {
|
|
74
|
+
export function MoonshotCreateTokenInputToJSON(json) {
|
|
83
75
|
return MoonshotCreateTokenInputToJSONTyped(json, false);
|
|
84
76
|
}
|
|
85
|
-
function MoonshotCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
77
|
+
export function MoonshotCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
86
78
|
if (value == null) {
|
|
87
79
|
return value;
|
|
88
80
|
}
|
|
@@ -95,7 +87,7 @@ function MoonshotCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
95
87
|
'migrationDex': value['migrationDex'],
|
|
96
88
|
'icon': value['icon'],
|
|
97
89
|
'description': value['description'],
|
|
98
|
-
'links': (value['links'].map(
|
|
90
|
+
'links': (value['links'].map(LinkToJSON)),
|
|
99
91
|
'banner': value['banner'],
|
|
100
92
|
'tokenAmount': value['tokenAmount'],
|
|
101
93
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,26 +11,20 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfMoonshotCreateTokenReply = instanceOfMoonshotCreateTokenReply;
|
|
17
|
-
exports.MoonshotCreateTokenReplyFromJSON = MoonshotCreateTokenReplyFromJSON;
|
|
18
|
-
exports.MoonshotCreateTokenReplyFromJSONTyped = MoonshotCreateTokenReplyFromJSONTyped;
|
|
19
|
-
exports.MoonshotCreateTokenReplyToJSON = MoonshotCreateTokenReplyToJSON;
|
|
20
|
-
exports.MoonshotCreateTokenReplyToJSONTyped = MoonshotCreateTokenReplyToJSONTyped;
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the MoonshotCreateTokenReply interface.
|
|
23
16
|
*/
|
|
24
|
-
function instanceOfMoonshotCreateTokenReply(value) {
|
|
17
|
+
export function instanceOfMoonshotCreateTokenReply(value) {
|
|
25
18
|
if (!('serializedTx' in value) || value['serializedTx'] === undefined)
|
|
26
19
|
return false;
|
|
27
20
|
if (!('extra' in value) || value['extra'] === undefined)
|
|
28
21
|
return false;
|
|
29
22
|
return true;
|
|
30
23
|
}
|
|
31
|
-
function MoonshotCreateTokenReplyFromJSON(json) {
|
|
24
|
+
export function MoonshotCreateTokenReplyFromJSON(json) {
|
|
32
25
|
return MoonshotCreateTokenReplyFromJSONTyped(json, false);
|
|
33
26
|
}
|
|
34
|
-
function MoonshotCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
export function MoonshotCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
28
|
if (json == null) {
|
|
36
29
|
return json;
|
|
37
30
|
}
|
|
@@ -40,10 +33,10 @@ function MoonshotCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
33
|
'extra': json['extra'],
|
|
41
34
|
};
|
|
42
35
|
}
|
|
43
|
-
function MoonshotCreateTokenReplyToJSON(json) {
|
|
36
|
+
export function MoonshotCreateTokenReplyToJSON(json) {
|
|
44
37
|
return MoonshotCreateTokenReplyToJSONTyped(json, false);
|
|
45
38
|
}
|
|
46
|
-
function MoonshotCreateTokenReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
export function MoonshotCreateTokenReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
40
|
if (value == null) {
|
|
48
41
|
return value;
|
|
49
42
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,22 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfMoonshotSubmitCreateToken200Response = instanceOfMoonshotSubmitCreateToken200Response;
|
|
17
|
-
exports.MoonshotSubmitCreateToken200ResponseFromJSON = MoonshotSubmitCreateToken200ResponseFromJSON;
|
|
18
|
-
exports.MoonshotSubmitCreateToken200ResponseFromJSONTyped = MoonshotSubmitCreateToken200ResponseFromJSONTyped;
|
|
19
|
-
exports.MoonshotSubmitCreateToken200ResponseToJSON = MoonshotSubmitCreateToken200ResponseToJSON;
|
|
20
|
-
exports.MoonshotSubmitCreateToken200ResponseToJSONTyped = MoonshotSubmitCreateToken200ResponseToJSONTyped;
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the MoonshotSubmitCreateToken200Response interface.
|
|
23
16
|
*/
|
|
24
|
-
function instanceOfMoonshotSubmitCreateToken200Response(value) {
|
|
17
|
+
export function instanceOfMoonshotSubmitCreateToken200Response(value) {
|
|
25
18
|
return true;
|
|
26
19
|
}
|
|
27
|
-
function MoonshotSubmitCreateToken200ResponseFromJSON(json) {
|
|
20
|
+
export function MoonshotSubmitCreateToken200ResponseFromJSON(json) {
|
|
28
21
|
return MoonshotSubmitCreateToken200ResponseFromJSONTyped(json, false);
|
|
29
22
|
}
|
|
30
|
-
function MoonshotSubmitCreateToken200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function MoonshotSubmitCreateToken200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
24
|
if (json == null) {
|
|
32
25
|
return json;
|
|
33
26
|
}
|
|
@@ -36,10 +29,10 @@ function MoonshotSubmitCreateToken200ResponseFromJSONTyped(json, ignoreDiscrimin
|
|
|
36
29
|
'slot': json['slot'] == null ? undefined : json['slot'],
|
|
37
30
|
};
|
|
38
31
|
}
|
|
39
|
-
function MoonshotSubmitCreateToken200ResponseToJSON(json) {
|
|
32
|
+
export function MoonshotSubmitCreateToken200ResponseToJSON(json) {
|
|
40
33
|
return MoonshotSubmitCreateToken200ResponseToJSONTyped(json, false);
|
|
41
34
|
}
|
|
42
|
-
function MoonshotSubmitCreateToken200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
export function MoonshotSubmitCreateToken200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
36
|
if (value == null) {
|
|
44
37
|
return value;
|
|
45
38
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,24 +11,18 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfMoonshotSubmitCreateTokenInput = instanceOfMoonshotSubmitCreateTokenInput;
|
|
17
|
-
exports.MoonshotSubmitCreateTokenInputFromJSON = MoonshotSubmitCreateTokenInputFromJSON;
|
|
18
|
-
exports.MoonshotSubmitCreateTokenInputFromJSONTyped = MoonshotSubmitCreateTokenInputFromJSONTyped;
|
|
19
|
-
exports.MoonshotSubmitCreateTokenInputToJSON = MoonshotSubmitCreateTokenInputToJSON;
|
|
20
|
-
exports.MoonshotSubmitCreateTokenInputToJSONTyped = MoonshotSubmitCreateTokenInputToJSONTyped;
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the MoonshotSubmitCreateTokenInput interface.
|
|
23
16
|
*/
|
|
24
|
-
function instanceOfMoonshotSubmitCreateTokenInput(value) {
|
|
17
|
+
export function instanceOfMoonshotSubmitCreateTokenInput(value) {
|
|
25
18
|
if (!('signedTx' in value) || value['signedTx'] === undefined)
|
|
26
19
|
return false;
|
|
27
20
|
return true;
|
|
28
21
|
}
|
|
29
|
-
function MoonshotSubmitCreateTokenInputFromJSON(json) {
|
|
22
|
+
export function MoonshotSubmitCreateTokenInputFromJSON(json) {
|
|
30
23
|
return MoonshotSubmitCreateTokenInputFromJSONTyped(json, false);
|
|
31
24
|
}
|
|
32
|
-
function MoonshotSubmitCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
export function MoonshotSubmitCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
26
|
if (json == null) {
|
|
34
27
|
return json;
|
|
35
28
|
}
|
|
@@ -38,10 +31,10 @@ function MoonshotSubmitCreateTokenInputFromJSONTyped(json, ignoreDiscriminator)
|
|
|
38
31
|
'extra': json['extra'] == null ? undefined : json['extra'],
|
|
39
32
|
};
|
|
40
33
|
}
|
|
41
|
-
function MoonshotSubmitCreateTokenInputToJSON(json) {
|
|
34
|
+
export function MoonshotSubmitCreateTokenInputToJSON(json) {
|
|
42
35
|
return MoonshotSubmitCreateTokenInputToJSONTyped(json, false);
|
|
43
36
|
}
|
|
44
|
-
function MoonshotSubmitCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
export function MoonshotSubmitCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
38
|
if (value == null) {
|
|
46
39
|
return value;
|
|
47
40
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,30 +11,23 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PumpCreateTokenInputMigrationDexEnum = exports.PumpCreateTokenInputDexEnum = void 0;
|
|
17
|
-
exports.instanceOfPumpCreateTokenInput = instanceOfPumpCreateTokenInput;
|
|
18
|
-
exports.PumpCreateTokenInputFromJSON = PumpCreateTokenInputFromJSON;
|
|
19
|
-
exports.PumpCreateTokenInputFromJSONTyped = PumpCreateTokenInputFromJSONTyped;
|
|
20
|
-
exports.PumpCreateTokenInputToJSON = PumpCreateTokenInputToJSON;
|
|
21
|
-
exports.PumpCreateTokenInputToJSONTyped = PumpCreateTokenInputToJSONTyped;
|
|
22
14
|
/**
|
|
23
15
|
* @export
|
|
24
16
|
*/
|
|
25
|
-
|
|
17
|
+
export const PumpCreateTokenInputDexEnum = {
|
|
26
18
|
Pumpfun: 'pumpfun'
|
|
27
19
|
};
|
|
28
20
|
/**
|
|
29
21
|
* @export
|
|
30
22
|
*/
|
|
31
|
-
|
|
23
|
+
export const PumpCreateTokenInputMigrationDexEnum = {
|
|
32
24
|
Raydium: 'RAYDIUM',
|
|
33
25
|
Meteora: 'METEORA'
|
|
34
26
|
};
|
|
35
27
|
/**
|
|
36
28
|
* Check if a given object implements the PumpCreateTokenInput interface.
|
|
37
29
|
*/
|
|
38
|
-
function instanceOfPumpCreateTokenInput(value) {
|
|
30
|
+
export function instanceOfPumpCreateTokenInput(value) {
|
|
39
31
|
if (!('dex' in value) || value['dex'] === undefined)
|
|
40
32
|
return false;
|
|
41
33
|
if (!('userAddress' in value) || value['userAddress'] === undefined)
|
|
@@ -54,10 +46,10 @@ function instanceOfPumpCreateTokenInput(value) {
|
|
|
54
46
|
return false;
|
|
55
47
|
return true;
|
|
56
48
|
}
|
|
57
|
-
function PumpCreateTokenInputFromJSON(json) {
|
|
49
|
+
export function PumpCreateTokenInputFromJSON(json) {
|
|
58
50
|
return PumpCreateTokenInputFromJSONTyped(json, false);
|
|
59
51
|
}
|
|
60
|
-
function PumpCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
export function PumpCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
53
|
if (json == null) {
|
|
62
54
|
return json;
|
|
63
55
|
}
|
|
@@ -76,10 +68,10 @@ function PumpCreateTokenInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
68
|
'description': json['description'],
|
|
77
69
|
};
|
|
78
70
|
}
|
|
79
|
-
function PumpCreateTokenInputToJSON(json) {
|
|
71
|
+
export function PumpCreateTokenInputToJSON(json) {
|
|
80
72
|
return PumpCreateTokenInputToJSONTyped(json, false);
|
|
81
73
|
}
|
|
82
|
-
function PumpCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
export function PumpCreateTokenInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
83
75
|
if (value == null) {
|
|
84
76
|
return value;
|
|
85
77
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,24 +11,18 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfPumpCreateTokenReply = instanceOfPumpCreateTokenReply;
|
|
17
|
-
exports.PumpCreateTokenReplyFromJSON = PumpCreateTokenReplyFromJSON;
|
|
18
|
-
exports.PumpCreateTokenReplyFromJSONTyped = PumpCreateTokenReplyFromJSONTyped;
|
|
19
|
-
exports.PumpCreateTokenReplyToJSON = PumpCreateTokenReplyToJSON;
|
|
20
|
-
exports.PumpCreateTokenReplyToJSONTyped = PumpCreateTokenReplyToJSONTyped;
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the PumpCreateTokenReply interface.
|
|
23
16
|
*/
|
|
24
|
-
function instanceOfPumpCreateTokenReply(value) {
|
|
17
|
+
export function instanceOfPumpCreateTokenReply(value) {
|
|
25
18
|
if (!('serializedTx' in value) || value['serializedTx'] === undefined)
|
|
26
19
|
return false;
|
|
27
20
|
return true;
|
|
28
21
|
}
|
|
29
|
-
function PumpCreateTokenReplyFromJSON(json) {
|
|
22
|
+
export function PumpCreateTokenReplyFromJSON(json) {
|
|
30
23
|
return PumpCreateTokenReplyFromJSONTyped(json, false);
|
|
31
24
|
}
|
|
32
|
-
function PumpCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
export function PumpCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
26
|
if (json == null) {
|
|
34
27
|
return json;
|
|
35
28
|
}
|
|
@@ -38,10 +31,10 @@ function PumpCreateTokenReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
31
|
'extra': json['extra'] == null ? undefined : json['extra'],
|
|
39
32
|
};
|
|
40
33
|
}
|
|
41
|
-
function PumpCreateTokenReplyToJSON(json) {
|
|
34
|
+
export function PumpCreateTokenReplyToJSON(json) {
|
|
42
35
|
return PumpCreateTokenReplyToJSONTyped(json, false);
|
|
43
36
|
}
|
|
44
|
-
function PumpCreateTokenReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
export function PumpCreateTokenReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
38
|
if (value == null) {
|
|
46
39
|
return value;
|
|
47
40
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,22 +11,16 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfQuoteResponse = instanceOfQuoteResponse;
|
|
17
|
-
exports.QuoteResponseFromJSON = QuoteResponseFromJSON;
|
|
18
|
-
exports.QuoteResponseFromJSONTyped = QuoteResponseFromJSONTyped;
|
|
19
|
-
exports.QuoteResponseToJSON = QuoteResponseToJSON;
|
|
20
|
-
exports.QuoteResponseToJSONTyped = QuoteResponseToJSONTyped;
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the QuoteResponse interface.
|
|
23
16
|
*/
|
|
24
|
-
function instanceOfQuoteResponse(value) {
|
|
17
|
+
export function instanceOfQuoteResponse(value) {
|
|
25
18
|
return true;
|
|
26
19
|
}
|
|
27
|
-
function QuoteResponseFromJSON(json) {
|
|
20
|
+
export function QuoteResponseFromJSON(json) {
|
|
28
21
|
return QuoteResponseFromJSONTyped(json, false);
|
|
29
22
|
}
|
|
30
|
-
function QuoteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
export function QuoteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
24
|
if (json == null) {
|
|
32
25
|
return json;
|
|
33
26
|
}
|
|
@@ -40,10 +33,10 @@ function QuoteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
33
|
'fee': json['fee'] == null ? undefined : json['fee'],
|
|
41
34
|
};
|
|
42
35
|
}
|
|
43
|
-
function QuoteResponseToJSON(json) {
|
|
36
|
+
export function QuoteResponseToJSON(json) {
|
|
44
37
|
return QuoteResponseToJSONTyped(json, false);
|
|
45
38
|
}
|
|
46
|
-
function QuoteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
export function QuoteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
40
|
if (value == null) {
|
|
48
41
|
return value;
|
|
49
42
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,17 +11,10 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.RedPacketClaimDTOChainEnum = void 0;
|
|
17
|
-
exports.instanceOfRedPacketClaimDTO = instanceOfRedPacketClaimDTO;
|
|
18
|
-
exports.RedPacketClaimDTOFromJSON = RedPacketClaimDTOFromJSON;
|
|
19
|
-
exports.RedPacketClaimDTOFromJSONTyped = RedPacketClaimDTOFromJSONTyped;
|
|
20
|
-
exports.RedPacketClaimDTOToJSON = RedPacketClaimDTOToJSON;
|
|
21
|
-
exports.RedPacketClaimDTOToJSONTyped = RedPacketClaimDTOToJSONTyped;
|
|
22
14
|
/**
|
|
23
15
|
* @export
|
|
24
16
|
*/
|
|
25
|
-
|
|
17
|
+
export const RedPacketClaimDTOChainEnum = {
|
|
26
18
|
Sol: 'sol',
|
|
27
19
|
Base: 'base',
|
|
28
20
|
Bsc: 'bsc',
|
|
@@ -37,7 +29,7 @@ exports.RedPacketClaimDTOChainEnum = {
|
|
|
37
29
|
/**
|
|
38
30
|
* Check if a given object implements the RedPacketClaimDTO interface.
|
|
39
31
|
*/
|
|
40
|
-
function instanceOfRedPacketClaimDTO(value) {
|
|
32
|
+
export function instanceOfRedPacketClaimDTO(value) {
|
|
41
33
|
if (!('packetId' in value) || value['packetId'] === undefined)
|
|
42
34
|
return false;
|
|
43
35
|
if (!('chain' in value) || value['chain'] === undefined)
|
|
@@ -56,10 +48,10 @@ function instanceOfRedPacketClaimDTO(value) {
|
|
|
56
48
|
return false;
|
|
57
49
|
return true;
|
|
58
50
|
}
|
|
59
|
-
function RedPacketClaimDTOFromJSON(json) {
|
|
51
|
+
export function RedPacketClaimDTOFromJSON(json) {
|
|
60
52
|
return RedPacketClaimDTOFromJSONTyped(json, false);
|
|
61
53
|
}
|
|
62
|
-
function RedPacketClaimDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
export function RedPacketClaimDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
63
55
|
if (json == null) {
|
|
64
56
|
return json;
|
|
65
57
|
}
|
|
@@ -74,10 +66,10 @@ function RedPacketClaimDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
66
|
'txHash': json['txHash'],
|
|
75
67
|
};
|
|
76
68
|
}
|
|
77
|
-
function RedPacketClaimDTOToJSON(json) {
|
|
69
|
+
export function RedPacketClaimDTOToJSON(json) {
|
|
78
70
|
return RedPacketClaimDTOToJSONTyped(json, false);
|
|
79
71
|
}
|
|
80
|
-
function RedPacketClaimDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
+
export function RedPacketClaimDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
81
73
|
if (value == null) {
|
|
82
74
|
return value;
|
|
83
75
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,17 +11,11 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
exports.instanceOfRedPacketClaimsPage = instanceOfRedPacketClaimsPage;
|
|
17
|
-
exports.RedPacketClaimsPageFromJSON = RedPacketClaimsPageFromJSON;
|
|
18
|
-
exports.RedPacketClaimsPageFromJSONTyped = RedPacketClaimsPageFromJSONTyped;
|
|
19
|
-
exports.RedPacketClaimsPageToJSON = RedPacketClaimsPageToJSON;
|
|
20
|
-
exports.RedPacketClaimsPageToJSONTyped = RedPacketClaimsPageToJSONTyped;
|
|
21
|
-
const RedPacketClaimDTO_1 = require("./RedPacketClaimDTO");
|
|
14
|
+
import { RedPacketClaimDTOFromJSON, RedPacketClaimDTOToJSON, } from './RedPacketClaimDTO';
|
|
22
15
|
/**
|
|
23
16
|
* Check if a given object implements the RedPacketClaimsPage interface.
|
|
24
17
|
*/
|
|
25
|
-
function instanceOfRedPacketClaimsPage(value) {
|
|
18
|
+
export function instanceOfRedPacketClaimsPage(value) {
|
|
26
19
|
if (!('total' in value) || value['total'] === undefined)
|
|
27
20
|
return false;
|
|
28
21
|
if (!('hasNextPage' in value) || value['hasNextPage'] === undefined)
|
|
@@ -35,10 +28,10 @@ function instanceOfRedPacketClaimsPage(value) {
|
|
|
35
28
|
return false;
|
|
36
29
|
return true;
|
|
37
30
|
}
|
|
38
|
-
function RedPacketClaimsPageFromJSON(json) {
|
|
31
|
+
export function RedPacketClaimsPageFromJSON(json) {
|
|
39
32
|
return RedPacketClaimsPageFromJSONTyped(json, false);
|
|
40
33
|
}
|
|
41
|
-
function RedPacketClaimsPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
export function RedPacketClaimsPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
35
|
if (json == null) {
|
|
43
36
|
return json;
|
|
44
37
|
}
|
|
@@ -47,13 +40,13 @@ function RedPacketClaimsPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
40
|
'hasNextPage': json['hasNextPage'],
|
|
48
41
|
'startCursor': json['startCursor'],
|
|
49
42
|
'endCursor': json['endCursor'],
|
|
50
|
-
'records': (json['records'].map(
|
|
43
|
+
'records': (json['records'].map(RedPacketClaimDTOFromJSON)),
|
|
51
44
|
};
|
|
52
45
|
}
|
|
53
|
-
function RedPacketClaimsPageToJSON(json) {
|
|
46
|
+
export function RedPacketClaimsPageToJSON(json) {
|
|
54
47
|
return RedPacketClaimsPageToJSONTyped(json, false);
|
|
55
48
|
}
|
|
56
|
-
function RedPacketClaimsPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
export function RedPacketClaimsPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
50
|
if (value == null) {
|
|
58
51
|
return value;
|
|
59
52
|
}
|
|
@@ -62,6 +55,6 @@ function RedPacketClaimsPageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
55
|
'hasNextPage': value['hasNextPage'],
|
|
63
56
|
'startCursor': value['startCursor'],
|
|
64
57
|
'endCursor': value['endCursor'],
|
|
65
|
-
'records': (value['records'].map(
|
|
58
|
+
'records': (value['records'].map(RedPacketClaimDTOToJSON)),
|
|
66
59
|
};
|
|
67
60
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,17 +11,10 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.RedPacketDTOChainEnum = void 0;
|
|
17
|
-
exports.instanceOfRedPacketDTO = instanceOfRedPacketDTO;
|
|
18
|
-
exports.RedPacketDTOFromJSON = RedPacketDTOFromJSON;
|
|
19
|
-
exports.RedPacketDTOFromJSONTyped = RedPacketDTOFromJSONTyped;
|
|
20
|
-
exports.RedPacketDTOToJSON = RedPacketDTOToJSON;
|
|
21
|
-
exports.RedPacketDTOToJSONTyped = RedPacketDTOToJSONTyped;
|
|
22
14
|
/**
|
|
23
15
|
* @export
|
|
24
16
|
*/
|
|
25
|
-
|
|
17
|
+
export const RedPacketDTOChainEnum = {
|
|
26
18
|
Sol: 'sol',
|
|
27
19
|
Base: 'base',
|
|
28
20
|
Bsc: 'bsc',
|
|
@@ -37,7 +29,7 @@ exports.RedPacketDTOChainEnum = {
|
|
|
37
29
|
/**
|
|
38
30
|
* Check if a given object implements the RedPacketDTO interface.
|
|
39
31
|
*/
|
|
40
|
-
function instanceOfRedPacketDTO(value) {
|
|
32
|
+
export function instanceOfRedPacketDTO(value) {
|
|
41
33
|
if (!('chain' in value) || value['chain'] === undefined)
|
|
42
34
|
return false;
|
|
43
35
|
if (!('id' in value) || value['id'] === undefined)
|
|
@@ -74,10 +66,10 @@ function instanceOfRedPacketDTO(value) {
|
|
|
74
66
|
return false;
|
|
75
67
|
return true;
|
|
76
68
|
}
|
|
77
|
-
function RedPacketDTOFromJSON(json) {
|
|
69
|
+
export function RedPacketDTOFromJSON(json) {
|
|
78
70
|
return RedPacketDTOFromJSONTyped(json, false);
|
|
79
71
|
}
|
|
80
|
-
function RedPacketDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
72
|
+
export function RedPacketDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
81
73
|
if (json == null) {
|
|
82
74
|
return json;
|
|
83
75
|
}
|
|
@@ -101,10 +93,10 @@ function RedPacketDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
101
93
|
'refundedAmount': json['refundedAmount'],
|
|
102
94
|
};
|
|
103
95
|
}
|
|
104
|
-
function RedPacketDTOToJSON(json) {
|
|
96
|
+
export function RedPacketDTOToJSON(json) {
|
|
105
97
|
return RedPacketDTOToJSONTyped(json, false);
|
|
106
98
|
}
|
|
107
|
-
function RedPacketDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
|
+
export function RedPacketDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
108
100
|
if (value == null) {
|
|
109
101
|
return value;
|
|
110
102
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,24 +11,18 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfRedPacketReply = instanceOfRedPacketReply;
|
|
17
|
-
exports.RedPacketReplyFromJSON = RedPacketReplyFromJSON;
|
|
18
|
-
exports.RedPacketReplyFromJSONTyped = RedPacketReplyFromJSONTyped;
|
|
19
|
-
exports.RedPacketReplyToJSON = RedPacketReplyToJSON;
|
|
20
|
-
exports.RedPacketReplyToJSONTyped = RedPacketReplyToJSONTyped;
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the RedPacketReply interface.
|
|
23
16
|
*/
|
|
24
|
-
function instanceOfRedPacketReply(value) {
|
|
17
|
+
export function instanceOfRedPacketReply(value) {
|
|
25
18
|
if (!('txSerialize' in value) || value['txSerialize'] === undefined)
|
|
26
19
|
return false;
|
|
27
20
|
return true;
|
|
28
21
|
}
|
|
29
|
-
function RedPacketReplyFromJSON(json) {
|
|
22
|
+
export function RedPacketReplyFromJSON(json) {
|
|
30
23
|
return RedPacketReplyFromJSONTyped(json, false);
|
|
31
24
|
}
|
|
32
|
-
function RedPacketReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
export function RedPacketReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
26
|
if (json == null) {
|
|
34
27
|
return json;
|
|
35
28
|
}
|
|
@@ -37,10 +30,10 @@ function RedPacketReplyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
30
|
'txSerialize': json['txSerialize'],
|
|
38
31
|
};
|
|
39
32
|
}
|
|
40
|
-
function RedPacketReplyToJSON(json) {
|
|
33
|
+
export function RedPacketReplyToJSON(json) {
|
|
41
34
|
return RedPacketReplyToJSONTyped(json, false);
|
|
42
35
|
}
|
|
43
|
-
function RedPacketReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
export function RedPacketReplyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
37
|
if (value == null) {
|
|
45
38
|
return value;
|
|
46
39
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,24 +11,18 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfRedPacketSendTxInput = instanceOfRedPacketSendTxInput;
|
|
17
|
-
exports.RedPacketSendTxInputFromJSON = RedPacketSendTxInputFromJSON;
|
|
18
|
-
exports.RedPacketSendTxInputFromJSONTyped = RedPacketSendTxInputFromJSONTyped;
|
|
19
|
-
exports.RedPacketSendTxInputToJSON = RedPacketSendTxInputToJSON;
|
|
20
|
-
exports.RedPacketSendTxInputToJSONTyped = RedPacketSendTxInputToJSONTyped;
|
|
21
14
|
/**
|
|
22
15
|
* Check if a given object implements the RedPacketSendTxInput interface.
|
|
23
16
|
*/
|
|
24
|
-
function instanceOfRedPacketSendTxInput(value) {
|
|
17
|
+
export function instanceOfRedPacketSendTxInput(value) {
|
|
25
18
|
if (!('signedTx' in value) || value['signedTx'] === undefined)
|
|
26
19
|
return false;
|
|
27
20
|
return true;
|
|
28
21
|
}
|
|
29
|
-
function RedPacketSendTxInputFromJSON(json) {
|
|
22
|
+
export function RedPacketSendTxInputFromJSON(json) {
|
|
30
23
|
return RedPacketSendTxInputFromJSONTyped(json, false);
|
|
31
24
|
}
|
|
32
|
-
function RedPacketSendTxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
export function RedPacketSendTxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
26
|
if (json == null) {
|
|
34
27
|
return json;
|
|
35
28
|
}
|
|
@@ -37,10 +30,10 @@ function RedPacketSendTxInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
30
|
'signedTx': json['signedTx'],
|
|
38
31
|
};
|
|
39
32
|
}
|
|
40
|
-
function RedPacketSendTxInputToJSON(json) {
|
|
33
|
+
export function RedPacketSendTxInputToJSON(json) {
|
|
41
34
|
return RedPacketSendTxInputToJSONTyped(json, false);
|
|
42
35
|
}
|
|
43
|
-
function RedPacketSendTxInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
export function RedPacketSendTxInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
37
|
if (value == null) {
|
|
45
38
|
return value;
|
|
46
39
|
}
|