@chainstream-io/sdk 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +2 -2
  2. package/dist/esm/index.js +73 -74
  3. package/dist/esm/openapi/apis/BlockchainApi.js +61 -44
  4. package/dist/esm/openapi/apis/DefiSolanaMoonshotApi.js +67 -50
  5. package/dist/esm/openapi/apis/DefiSolanaPumpfunApi.js +38 -25
  6. package/dist/esm/openapi/apis/DexApi.js +205 -176
  7. package/dist/esm/openapi/apis/DexPoolApi.js +41 -28
  8. package/dist/esm/openapi/apis/EndpointApi.js +212 -175
  9. package/dist/esm/openapi/apis/IpfsApi.js +38 -25
  10. package/dist/esm/openapi/apis/JobsApi.js +65 -48
  11. package/dist/esm/openapi/apis/RankingApi.js +278 -249
  12. package/dist/esm/openapi/apis/RedPacketApi.js +294 -253
  13. package/dist/esm/openapi/apis/TokenApi.js +1145 -1056
  14. package/dist/esm/openapi/apis/TradeApi.js +233 -208
  15. package/dist/esm/openapi/apis/TransactionApi.js +42 -29
  16. package/dist/esm/openapi/apis/WalletApi.js +148 -123
  17. package/dist/esm/openapi/apis/WatchlistApi.js +41 -28
  18. package/dist/esm/openapi/runtime.js +119 -118
  19. package/dist/esm/stream/stream.js +36 -34
  20. package/dist/index.js +99 -96
  21. package/dist/openapi/apis/BlockchainApi.js +69 -48
  22. package/dist/openapi/apis/DefiSolanaMoonshotApi.js +74 -53
  23. package/dist/openapi/apis/DefiSolanaPumpfunApi.js +45 -28
  24. package/dist/openapi/apis/DexApi.js +217 -184
  25. package/dist/openapi/apis/DexPoolApi.js +49 -32
  26. package/dist/openapi/apis/EndpointApi.js +220 -179
  27. package/dist/openapi/apis/IpfsApi.js +44 -27
  28. package/dist/openapi/apis/JobsApi.js +72 -51
  29. package/dist/openapi/apis/RankingApi.js +306 -273
  30. package/dist/openapi/apis/RedPacketApi.js +305 -260
  31. package/dist/openapi/apis/TokenApi.js +1182 -1089
  32. package/dist/openapi/apis/TradeApi.js +256 -227
  33. package/dist/openapi/apis/TransactionApi.js +49 -32
  34. package/dist/openapi/apis/WalletApi.js +159 -130
  35. package/dist/openapi/apis/WatchlistApi.js +49 -32
  36. package/dist/openapi/apis/index.js +31 -15
  37. package/dist/openapi/index.js +19 -3
  38. package/dist/openapi/models/BlockchainDTO.js +12 -5
  39. package/dist/openapi/models/BlockchainLatestBlockDTO.js +12 -5
  40. package/dist/openapi/models/BooleanResultDTO.js +12 -5
  41. package/dist/openapi/models/CalculatePnlInput.js +12 -5
  42. package/dist/openapi/models/Candle.js +15 -8
  43. package/dist/openapi/models/ClaimRedPacketInput.js +12 -5
  44. package/dist/openapi/models/CreateEndpointInput.js +12 -5
  45. package/dist/openapi/models/CreateRedPacketInput.js +12 -5
  46. package/dist/openapi/models/CreateRedPacketReply.js +12 -5
  47. package/dist/openapi/models/CreateTokenInput.js +14 -6
  48. package/dist/openapi/models/CreateTokenReply.js +12 -5
  49. package/dist/openapi/models/DexDTO.js +12 -5
  50. package/dist/openapi/models/DexPage.js +15 -8
  51. package/dist/openapi/models/DexPoolDTO.js +12 -5
  52. package/dist/openapi/models/EndpointListResponse.js +15 -8
  53. package/dist/openapi/models/EndpointOperationResponse.js +12 -5
  54. package/dist/openapi/models/EndpointResponse.js +12 -5
  55. package/dist/openapi/models/EndpointSecretResponse.js +12 -5
  56. package/dist/openapi/models/FilterCondition.js +14 -6
  57. package/dist/openapi/models/GainersAndLosersDTO.js +12 -5
  58. package/dist/openapi/models/GainersAndLosersPage.js +15 -8
  59. package/dist/openapi/models/JobDTO.js +12 -5
  60. package/dist/openapi/models/JobStreamingDTO.js +12 -5
  61. package/dist/openapi/models/Link.js +14 -6
  62. package/dist/openapi/models/MoonshotCreateTokenInput.js +18 -10
  63. package/dist/openapi/models/MoonshotCreateTokenReply.js +12 -5
  64. package/dist/openapi/models/MoonshotSubmitCreateToken200Response.js +12 -5
  65. package/dist/openapi/models/MoonshotSubmitCreateTokenInput.js +12 -5
  66. package/dist/openapi/models/PumpCreateTokenInput.js +15 -7
  67. package/dist/openapi/models/PumpCreateTokenReply.js +12 -5
  68. package/dist/openapi/models/QuoteResponse.js +12 -5
  69. package/dist/openapi/models/RedPacketClaimDTO.js +14 -6
  70. package/dist/openapi/models/RedPacketClaimsPage.js +15 -8
  71. package/dist/openapi/models/RedPacketDTO.js +14 -6
  72. package/dist/openapi/models/RedPacketReply.js +12 -5
  73. package/dist/openapi/models/RedPacketSendTxInput.js +12 -5
  74. package/dist/openapi/models/RedPacketSendTxResponse.js +12 -5
  75. package/dist/openapi/models/RedPacketsPage.js +15 -8
  76. package/dist/openapi/models/Resolution.js +17 -9
  77. package/dist/openapi/models/SendTxInput.js +14 -6
  78. package/dist/openapi/models/SendTxResponse.js +12 -5
  79. package/dist/openapi/models/SwapInput.js +15 -7
  80. package/dist/openapi/models/SwapReply.js +12 -5
  81. package/dist/openapi/models/SwapRouteInput.js +15 -7
  82. package/dist/openapi/models/SwapRouteResponse.js +15 -8
  83. package/dist/openapi/models/Token.js +30 -23
  84. package/dist/openapi/models/TokenCreationDTO.js +14 -6
  85. package/dist/openapi/models/TokenCreationPage.js +15 -8
  86. package/dist/openapi/models/TokenCreatorsDTO.js +12 -5
  87. package/dist/openapi/models/TokenExtraDTO.js +12 -5
  88. package/dist/openapi/models/TokenHolder.js +12 -5
  89. package/dist/openapi/models/TokenHolderPage.js +15 -8
  90. package/dist/openapi/models/TokenListPage.js +15 -8
  91. package/dist/openapi/models/TokenMarketData.js +12 -5
  92. package/dist/openapi/models/TokenMetadata.js +21 -14
  93. package/dist/openapi/models/TokenPage.js +15 -8
  94. package/dist/openapi/models/TokenPriceDTO.js +12 -5
  95. package/dist/openapi/models/TokenPricePage.js +15 -8
  96. package/dist/openapi/models/TokenSocialMediasDTO.js +12 -5
  97. package/dist/openapi/models/TokenStat.js +12 -5
  98. package/dist/openapi/models/TopTradersDTO.js +12 -5
  99. package/dist/openapi/models/TopTradersPage.js +15 -8
  100. package/dist/openapi/models/TradeDetailDTO.js +12 -5
  101. package/dist/openapi/models/TradeEvent.js +15 -8
  102. package/dist/openapi/models/TradePage.js +15 -8
  103. package/dist/openapi/models/TradeType.js +17 -9
  104. package/dist/openapi/models/UpdateEndpointInput.js +12 -5
  105. package/dist/openapi/models/WalletBalanceDetailDTO.js +12 -5
  106. package/dist/openapi/models/WalletBalancesDTO.js +15 -8
  107. package/dist/openapi/models/WalletPnlDTO.js +12 -5
  108. package/dist/openapi/models/index.js +86 -70
  109. package/dist/openapi/runtime.js +153 -136
  110. package/dist/stream/index.js +19 -3
  111. package/dist/stream/stream.fields.js +11 -5
  112. package/dist/stream/stream.js +45 -39
  113. package/dist/stream/stream.model.js +13 -10
  114. package/package.json +3 -3
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,19 +12,25 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
14
- import { DexDTOFromJSON, DexDTOToJSON, } from './DexDTO';
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfDexPage = instanceOfDexPage;
17
+ exports.DexPageFromJSON = DexPageFromJSON;
18
+ exports.DexPageFromJSONTyped = DexPageFromJSONTyped;
19
+ exports.DexPageToJSON = DexPageToJSON;
20
+ exports.DexPageToJSONTyped = DexPageToJSONTyped;
21
+ const DexDTO_1 = require("./DexDTO");
15
22
  /**
16
23
  * Check if a given object implements the DexPage interface.
17
24
  */
18
- export function instanceOfDexPage(value) {
25
+ function instanceOfDexPage(value) {
19
26
  if (!('data' in value) || value['data'] === undefined)
20
27
  return false;
21
28
  return true;
22
29
  }
23
- export function DexPageFromJSON(json) {
30
+ function DexPageFromJSON(json) {
24
31
  return DexPageFromJSONTyped(json, false);
25
32
  }
26
- export function DexPageFromJSONTyped(json, ignoreDiscriminator) {
33
+ function DexPageFromJSONTyped(json, ignoreDiscriminator) {
27
34
  if (json == null) {
28
35
  return json;
29
36
  }
@@ -33,13 +40,13 @@ export function DexPageFromJSONTyped(json, ignoreDiscriminator) {
33
40
  'startCursor': json['startCursor'] == null ? undefined : json['startCursor'],
34
41
  'endCursor': json['endCursor'] == null ? undefined : json['endCursor'],
35
42
  'total': json['total'] == null ? undefined : json['total'],
36
- 'data': (json['data'].map(DexDTOFromJSON)),
43
+ 'data': (json['data'].map(DexDTO_1.DexDTOFromJSON)),
37
44
  };
38
45
  }
39
- export function DexPageToJSON(json) {
46
+ function DexPageToJSON(json) {
40
47
  return DexPageToJSONTyped(json, false);
41
48
  }
42
- export function DexPageToJSONTyped(value, ignoreDiscriminator = false) {
49
+ function DexPageToJSONTyped(value, ignoreDiscriminator = false) {
43
50
  if (value == null) {
44
51
  return value;
45
52
  }
@@ -49,6 +56,6 @@ export function DexPageToJSONTyped(value, ignoreDiscriminator = false) {
49
56
  'startCursor': value['startCursor'],
50
57
  'endCursor': value['endCursor'],
51
58
  'total': value['total'],
52
- 'data': (value['data'].map(DexDTOToJSON)),
59
+ 'data': (value['data'].map(DexDTO_1.DexDTOToJSON)),
53
60
  };
54
61
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,10 +12,16 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfDexPoolDTO = instanceOfDexPoolDTO;
17
+ exports.DexPoolDTOFromJSON = DexPoolDTOFromJSON;
18
+ exports.DexPoolDTOFromJSONTyped = DexPoolDTOFromJSONTyped;
19
+ exports.DexPoolDTOToJSON = DexPoolDTOToJSON;
20
+ exports.DexPoolDTOToJSONTyped = DexPoolDTOToJSONTyped;
14
21
  /**
15
22
  * Check if a given object implements the DexPoolDTO interface.
16
23
  */
17
- export function instanceOfDexPoolDTO(value) {
24
+ function instanceOfDexPoolDTO(value) {
18
25
  if (!('chain' in value) || value['chain'] === undefined)
19
26
  return false;
20
27
  if (!('poolAddress' in value) || value['poolAddress'] === undefined)
@@ -25,10 +32,10 @@ export function instanceOfDexPoolDTO(value) {
25
32
  return false;
26
33
  return true;
27
34
  }
28
- export function DexPoolDTOFromJSON(json) {
35
+ function DexPoolDTOFromJSON(json) {
29
36
  return DexPoolDTOFromJSONTyped(json, false);
30
37
  }
31
- export function DexPoolDTOFromJSONTyped(json, ignoreDiscriminator) {
38
+ function DexPoolDTOFromJSONTyped(json, ignoreDiscriminator) {
32
39
  if (json == null) {
33
40
  return json;
34
41
  }
@@ -45,10 +52,10 @@ export function DexPoolDTOFromJSONTyped(json, ignoreDiscriminator) {
45
52
  'tvlInSol': json['tvlInSol'] == null ? undefined : json['tvlInSol'],
46
53
  };
47
54
  }
48
- export function DexPoolDTOToJSON(json) {
55
+ function DexPoolDTOToJSON(json) {
49
56
  return DexPoolDTOToJSONTyped(json, false);
50
57
  }
51
- export function DexPoolDTOToJSONTyped(value, ignoreDiscriminator = false) {
58
+ function DexPoolDTOToJSONTyped(value, ignoreDiscriminator = false) {
52
59
  if (value == null) {
53
60
  return value;
54
61
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,36 +12,42 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
14
- import { EndpointResponseFromJSON, EndpointResponseToJSON, } from './EndpointResponse';
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfEndpointListResponse = instanceOfEndpointListResponse;
17
+ exports.EndpointListResponseFromJSON = EndpointListResponseFromJSON;
18
+ exports.EndpointListResponseFromJSONTyped = EndpointListResponseFromJSONTyped;
19
+ exports.EndpointListResponseToJSON = EndpointListResponseToJSON;
20
+ exports.EndpointListResponseToJSONTyped = EndpointListResponseToJSONTyped;
21
+ const EndpointResponse_1 = require("./EndpointResponse");
15
22
  /**
16
23
  * Check if a given object implements the EndpointListResponse interface.
17
24
  */
18
- export function instanceOfEndpointListResponse(value) {
25
+ function instanceOfEndpointListResponse(value) {
19
26
  return true;
20
27
  }
21
- export function EndpointListResponseFromJSON(json) {
28
+ function EndpointListResponseFromJSON(json) {
22
29
  return EndpointListResponseFromJSONTyped(json, false);
23
30
  }
24
- export function EndpointListResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ function EndpointListResponseFromJSONTyped(json, ignoreDiscriminator) {
25
32
  if (json == null) {
26
33
  return json;
27
34
  }
28
35
  return {
29
- 'data': json['data'] == null ? undefined : (json['data'].map(EndpointResponseFromJSON)),
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(EndpointResponse_1.EndpointResponseFromJSON)),
30
37
  'done': json['done'] == null ? undefined : json['done'],
31
38
  'iterator': json['iterator'] == null ? undefined : json['iterator'],
32
39
  'prevIterator': json['prevIterator'] == null ? undefined : json['prevIterator'],
33
40
  };
34
41
  }
35
- export function EndpointListResponseToJSON(json) {
42
+ function EndpointListResponseToJSON(json) {
36
43
  return EndpointListResponseToJSONTyped(json, false);
37
44
  }
38
- export function EndpointListResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ function EndpointListResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
46
  if (value == null) {
40
47
  return value;
41
48
  }
42
49
  return {
43
- 'data': value['data'] == null ? undefined : (value['data'].map(EndpointResponseToJSON)),
50
+ 'data': value['data'] == null ? undefined : (value['data'].map(EndpointResponse_1.EndpointResponseToJSON)),
44
51
  'done': value['done'],
45
52
  'iterator': value['iterator'],
46
53
  'prevIterator': value['prevIterator'],
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,16 +12,22 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfEndpointOperationResponse = instanceOfEndpointOperationResponse;
17
+ exports.EndpointOperationResponseFromJSON = EndpointOperationResponseFromJSON;
18
+ exports.EndpointOperationResponseFromJSONTyped = EndpointOperationResponseFromJSONTyped;
19
+ exports.EndpointOperationResponseToJSON = EndpointOperationResponseToJSON;
20
+ exports.EndpointOperationResponseToJSONTyped = EndpointOperationResponseToJSONTyped;
14
21
  /**
15
22
  * Check if a given object implements the EndpointOperationResponse interface.
16
23
  */
17
- export function instanceOfEndpointOperationResponse(value) {
24
+ function instanceOfEndpointOperationResponse(value) {
18
25
  return true;
19
26
  }
20
- export function EndpointOperationResponseFromJSON(json) {
27
+ function EndpointOperationResponseFromJSON(json) {
21
28
  return EndpointOperationResponseFromJSONTyped(json, false);
22
29
  }
23
- export function EndpointOperationResponseFromJSONTyped(json, ignoreDiscriminator) {
30
+ function EndpointOperationResponseFromJSONTyped(json, ignoreDiscriminator) {
24
31
  if (json == null) {
25
32
  return json;
26
33
  }
@@ -28,10 +35,10 @@ export function EndpointOperationResponseFromJSONTyped(json, ignoreDiscriminator
28
35
  'success': json['success'] == null ? undefined : json['success'],
29
36
  };
30
37
  }
31
- export function EndpointOperationResponseToJSON(json) {
38
+ function EndpointOperationResponseToJSON(json) {
32
39
  return EndpointOperationResponseToJSONTyped(json, false);
33
40
  }
34
- export function EndpointOperationResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
+ function EndpointOperationResponseToJSONTyped(value, ignoreDiscriminator = false) {
35
42
  if (value == null) {
36
43
  return value;
37
44
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,16 +12,22 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfEndpointResponse = instanceOfEndpointResponse;
17
+ exports.EndpointResponseFromJSON = EndpointResponseFromJSON;
18
+ exports.EndpointResponseFromJSONTyped = EndpointResponseFromJSONTyped;
19
+ exports.EndpointResponseToJSON = EndpointResponseToJSON;
20
+ exports.EndpointResponseToJSONTyped = EndpointResponseToJSONTyped;
14
21
  /**
15
22
  * Check if a given object implements the EndpointResponse interface.
16
23
  */
17
- export function instanceOfEndpointResponse(value) {
24
+ function instanceOfEndpointResponse(value) {
18
25
  return true;
19
26
  }
20
- export function EndpointResponseFromJSON(json) {
27
+ function EndpointResponseFromJSON(json) {
21
28
  return EndpointResponseFromJSONTyped(json, false);
22
29
  }
23
- export function EndpointResponseFromJSONTyped(json, ignoreDiscriminator) {
30
+ function EndpointResponseFromJSONTyped(json, ignoreDiscriminator) {
24
31
  if (json == null) {
25
32
  return json;
26
33
  }
@@ -38,10 +45,10 @@ export function EndpointResponseFromJSONTyped(json, ignoreDiscriminator) {
38
45
  'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
39
46
  };
40
47
  }
41
- export function EndpointResponseToJSON(json) {
48
+ function EndpointResponseToJSON(json) {
42
49
  return EndpointResponseToJSONTyped(json, false);
43
50
  }
44
- export function EndpointResponseToJSONTyped(value, ignoreDiscriminator = false) {
51
+ function EndpointResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
52
  if (value == null) {
46
53
  return value;
47
54
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,16 +12,22 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfEndpointSecretResponse = instanceOfEndpointSecretResponse;
17
+ exports.EndpointSecretResponseFromJSON = EndpointSecretResponseFromJSON;
18
+ exports.EndpointSecretResponseFromJSONTyped = EndpointSecretResponseFromJSONTyped;
19
+ exports.EndpointSecretResponseToJSON = EndpointSecretResponseToJSON;
20
+ exports.EndpointSecretResponseToJSONTyped = EndpointSecretResponseToJSONTyped;
14
21
  /**
15
22
  * Check if a given object implements the EndpointSecretResponse interface.
16
23
  */
17
- export function instanceOfEndpointSecretResponse(value) {
24
+ function instanceOfEndpointSecretResponse(value) {
18
25
  return true;
19
26
  }
20
- export function EndpointSecretResponseFromJSON(json) {
27
+ function EndpointSecretResponseFromJSON(json) {
21
28
  return EndpointSecretResponseFromJSONTyped(json, false);
22
29
  }
23
- export function EndpointSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
30
+ function EndpointSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
24
31
  if (json == null) {
25
32
  return json;
26
33
  }
@@ -28,10 +35,10 @@ export function EndpointSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
28
35
  'secret': json['secret'] == null ? undefined : json['secret'],
29
36
  };
30
37
  }
31
- export function EndpointSecretResponseToJSON(json) {
38
+ function EndpointSecretResponseToJSON(json) {
32
39
  return EndpointSecretResponseToJSONTyped(json, false);
33
40
  }
34
- export function EndpointSecretResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
+ function EndpointSecretResponseToJSONTyped(value, ignoreDiscriminator = false) {
35
42
  if (value == null) {
36
43
  return value;
37
44
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,10 +12,17 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.FilterConditionFieldEnum = void 0;
17
+ exports.instanceOfFilterCondition = instanceOfFilterCondition;
18
+ exports.FilterConditionFromJSON = FilterConditionFromJSON;
19
+ exports.FilterConditionFromJSONTyped = FilterConditionFromJSONTyped;
20
+ exports.FilterConditionToJSON = FilterConditionToJSON;
21
+ exports.FilterConditionToJSONTyped = FilterConditionToJSONTyped;
14
22
  /**
15
23
  * @export
16
24
  */
17
- export const FilterConditionFieldEnum = {
25
+ exports.FilterConditionFieldEnum = {
18
26
  MarketDataPriceInUsd: 'marketData.priceInUsd',
19
27
  StatsPriceChangeRatioInUsd1m: 'stats.priceChangeRatioInUsd1m',
20
28
  StatsPriceChangeRatioInUsd5m: 'stats.priceChangeRatioInUsd5m',
@@ -64,13 +72,13 @@ export const FilterConditionFieldEnum = {
64
72
  /**
65
73
  * Check if a given object implements the FilterCondition interface.
66
74
  */
67
- export function instanceOfFilterCondition(value) {
75
+ function instanceOfFilterCondition(value) {
68
76
  return true;
69
77
  }
70
- export function FilterConditionFromJSON(json) {
78
+ function FilterConditionFromJSON(json) {
71
79
  return FilterConditionFromJSONTyped(json, false);
72
80
  }
73
- export function FilterConditionFromJSONTyped(json, ignoreDiscriminator) {
81
+ function FilterConditionFromJSONTyped(json, ignoreDiscriminator) {
74
82
  if (json == null) {
75
83
  return json;
76
84
  }
@@ -80,10 +88,10 @@ export function FilterConditionFromJSONTyped(json, ignoreDiscriminator) {
80
88
  'max': json['max'] == null ? undefined : json['max'],
81
89
  };
82
90
  }
83
- export function FilterConditionToJSON(json) {
91
+ function FilterConditionToJSON(json) {
84
92
  return FilterConditionToJSONTyped(json, false);
85
93
  }
86
- export function FilterConditionToJSONTyped(value, ignoreDiscriminator = false) {
94
+ function FilterConditionToJSONTyped(value, ignoreDiscriminator = false) {
87
95
  if (value == null) {
88
96
  return value;
89
97
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,10 +12,16 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGainersAndLosersDTO = instanceOfGainersAndLosersDTO;
17
+ exports.GainersAndLosersDTOFromJSON = GainersAndLosersDTOFromJSON;
18
+ exports.GainersAndLosersDTOFromJSONTyped = GainersAndLosersDTOFromJSONTyped;
19
+ exports.GainersAndLosersDTOToJSON = GainersAndLosersDTOToJSON;
20
+ exports.GainersAndLosersDTOToJSONTyped = GainersAndLosersDTOToJSONTyped;
14
21
  /**
15
22
  * Check if a given object implements the GainersAndLosersDTO interface.
16
23
  */
17
- export function instanceOfGainersAndLosersDTO(value) {
24
+ function instanceOfGainersAndLosersDTO(value) {
18
25
  if (!('address' in value) || value['address'] === undefined)
19
26
  return false;
20
27
  if (!('pnl' in value) || value['pnl'] === undefined)
@@ -25,10 +32,10 @@ export function instanceOfGainersAndLosersDTO(value) {
25
32
  return false;
26
33
  return true;
27
34
  }
28
- export function GainersAndLosersDTOFromJSON(json) {
35
+ function GainersAndLosersDTOFromJSON(json) {
29
36
  return GainersAndLosersDTOFromJSONTyped(json, false);
30
37
  }
31
- export function GainersAndLosersDTOFromJSONTyped(json, ignoreDiscriminator) {
38
+ function GainersAndLosersDTOFromJSONTyped(json, ignoreDiscriminator) {
32
39
  if (json == null) {
33
40
  return json;
34
41
  }
@@ -39,10 +46,10 @@ export function GainersAndLosersDTOFromJSONTyped(json, ignoreDiscriminator) {
39
46
  'volume': json['volume'],
40
47
  };
41
48
  }
42
- export function GainersAndLosersDTOToJSON(json) {
49
+ function GainersAndLosersDTOToJSON(json) {
43
50
  return GainersAndLosersDTOToJSONTyped(json, false);
44
51
  }
45
- export function GainersAndLosersDTOToJSONTyped(value, ignoreDiscriminator = false) {
52
+ function GainersAndLosersDTOToJSONTyped(value, ignoreDiscriminator = false) {
46
53
  if (value == null) {
47
54
  return value;
48
55
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,19 +12,25 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
14
- import { GainersAndLosersDTOFromJSON, GainersAndLosersDTOToJSON, } from './GainersAndLosersDTO';
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGainersAndLosersPage = instanceOfGainersAndLosersPage;
17
+ exports.GainersAndLosersPageFromJSON = GainersAndLosersPageFromJSON;
18
+ exports.GainersAndLosersPageFromJSONTyped = GainersAndLosersPageFromJSONTyped;
19
+ exports.GainersAndLosersPageToJSON = GainersAndLosersPageToJSON;
20
+ exports.GainersAndLosersPageToJSONTyped = GainersAndLosersPageToJSONTyped;
21
+ const GainersAndLosersDTO_1 = require("./GainersAndLosersDTO");
15
22
  /**
16
23
  * Check if a given object implements the GainersAndLosersPage interface.
17
24
  */
18
- export function instanceOfGainersAndLosersPage(value) {
25
+ function instanceOfGainersAndLosersPage(value) {
19
26
  if (!('data' in value) || value['data'] === undefined)
20
27
  return false;
21
28
  return true;
22
29
  }
23
- export function GainersAndLosersPageFromJSON(json) {
30
+ function GainersAndLosersPageFromJSON(json) {
24
31
  return GainersAndLosersPageFromJSONTyped(json, false);
25
32
  }
26
- export function GainersAndLosersPageFromJSONTyped(json, ignoreDiscriminator) {
33
+ function GainersAndLosersPageFromJSONTyped(json, ignoreDiscriminator) {
27
34
  if (json == null) {
28
35
  return json;
29
36
  }
@@ -33,13 +40,13 @@ export function GainersAndLosersPageFromJSONTyped(json, ignoreDiscriminator) {
33
40
  'startCursor': json['startCursor'] == null ? undefined : json['startCursor'],
34
41
  'endCursor': json['endCursor'] == null ? undefined : json['endCursor'],
35
42
  'total': json['total'] == null ? undefined : json['total'],
36
- 'data': (json['data'].map(GainersAndLosersDTOFromJSON)),
43
+ 'data': (json['data'].map(GainersAndLosersDTO_1.GainersAndLosersDTOFromJSON)),
37
44
  };
38
45
  }
39
- export function GainersAndLosersPageToJSON(json) {
46
+ function GainersAndLosersPageToJSON(json) {
40
47
  return GainersAndLosersPageToJSONTyped(json, false);
41
48
  }
42
- export function GainersAndLosersPageToJSONTyped(value, ignoreDiscriminator = false) {
49
+ function GainersAndLosersPageToJSONTyped(value, ignoreDiscriminator = false) {
43
50
  if (value == null) {
44
51
  return value;
45
52
  }
@@ -49,6 +56,6 @@ export function GainersAndLosersPageToJSONTyped(value, ignoreDiscriminator = fal
49
56
  'startCursor': value['startCursor'],
50
57
  'endCursor': value['endCursor'],
51
58
  'total': value['total'],
52
- 'data': (value['data'].map(GainersAndLosersDTOToJSON)),
59
+ 'data': (value['data'].map(GainersAndLosersDTO_1.GainersAndLosersDTOToJSON)),
53
60
  };
54
61
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,20 +12,26 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfJobDTO = instanceOfJobDTO;
17
+ exports.JobDTOFromJSON = JobDTOFromJSON;
18
+ exports.JobDTOFromJSONTyped = JobDTOFromJSONTyped;
19
+ exports.JobDTOToJSON = JobDTOToJSON;
20
+ exports.JobDTOToJSONTyped = JobDTOToJSONTyped;
14
21
  /**
15
22
  * Check if a given object implements the JobDTO interface.
16
23
  */
17
- export function instanceOfJobDTO(value) {
24
+ function instanceOfJobDTO(value) {
18
25
  if (!('state' in value) || value['state'] === undefined)
19
26
  return false;
20
27
  if (!('result' in value) || value['result'] === undefined)
21
28
  return false;
22
29
  return true;
23
30
  }
24
- export function JobDTOFromJSON(json) {
31
+ function JobDTOFromJSON(json) {
25
32
  return JobDTOFromJSONTyped(json, false);
26
33
  }
27
- export function JobDTOFromJSONTyped(json, ignoreDiscriminator) {
34
+ function JobDTOFromJSONTyped(json, ignoreDiscriminator) {
28
35
  if (json == null) {
29
36
  return json;
30
37
  }
@@ -33,10 +40,10 @@ export function JobDTOFromJSONTyped(json, ignoreDiscriminator) {
33
40
  'result': json['result'],
34
41
  };
35
42
  }
36
- export function JobDTOToJSON(json) {
43
+ function JobDTOToJSON(json) {
37
44
  return JobDTOToJSONTyped(json, false);
38
45
  }
39
- export function JobDTOToJSONTyped(value, ignoreDiscriminator = false) {
46
+ function JobDTOToJSONTyped(value, ignoreDiscriminator = false) {
40
47
  if (value == null) {
41
48
  return value;
42
49
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,20 +12,26 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfJobStreamingDTO = instanceOfJobStreamingDTO;
17
+ exports.JobStreamingDTOFromJSON = JobStreamingDTOFromJSON;
18
+ exports.JobStreamingDTOFromJSONTyped = JobStreamingDTOFromJSONTyped;
19
+ exports.JobStreamingDTOToJSON = JobStreamingDTOToJSON;
20
+ exports.JobStreamingDTOToJSONTyped = JobStreamingDTOToJSONTyped;
14
21
  /**
15
22
  * Check if a given object implements the JobStreamingDTO interface.
16
23
  */
17
- export function instanceOfJobStreamingDTO(value) {
24
+ function instanceOfJobStreamingDTO(value) {
18
25
  if (!('id' in value) || value['id'] === undefined)
19
26
  return false;
20
27
  if (!('data' in value) || value['data'] === undefined)
21
28
  return false;
22
29
  return true;
23
30
  }
24
- export function JobStreamingDTOFromJSON(json) {
31
+ function JobStreamingDTOFromJSON(json) {
25
32
  return JobStreamingDTOFromJSONTyped(json, false);
26
33
  }
27
- export function JobStreamingDTOFromJSONTyped(json, ignoreDiscriminator) {
34
+ function JobStreamingDTOFromJSONTyped(json, ignoreDiscriminator) {
28
35
  if (json == null) {
29
36
  return json;
30
37
  }
@@ -33,10 +40,10 @@ export function JobStreamingDTOFromJSONTyped(json, ignoreDiscriminator) {
33
40
  'data': json['data'],
34
41
  };
35
42
  }
36
- export function JobStreamingDTOToJSON(json) {
43
+ function JobStreamingDTOToJSON(json) {
37
44
  return JobStreamingDTOToJSONTyped(json, false);
38
45
  }
39
- export function JobStreamingDTOToJSONTyped(value, ignoreDiscriminator = false) {
46
+ function JobStreamingDTOToJSONTyped(value, ignoreDiscriminator = false) {
40
47
  if (value == null) {
41
48
  return value;
42
49
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /* tslint:disable */
2
3
  /* eslint-disable */
3
4
  /**
@@ -11,10 +12,17 @@
11
12
  * https://openapi-generator.tech
12
13
  * Do not edit the class manually.
13
14
  */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LinkLabelEnum = void 0;
17
+ exports.instanceOfLink = instanceOfLink;
18
+ exports.LinkFromJSON = LinkFromJSON;
19
+ exports.LinkFromJSONTyped = LinkFromJSONTyped;
20
+ exports.LinkToJSON = LinkToJSON;
21
+ exports.LinkToJSONTyped = LinkToJSONTyped;
14
22
  /**
15
23
  * @export
16
24
  */
17
- export const LinkLabelEnum = {
25
+ exports.LinkLabelEnum = {
18
26
  Website: 'website',
19
27
  Twitter: 'twitter',
20
28
  Telegram: 'telegram',
@@ -23,17 +31,17 @@ export const LinkLabelEnum = {
23
31
  /**
24
32
  * Check if a given object implements the Link interface.
25
33
  */
26
- export function instanceOfLink(value) {
34
+ function instanceOfLink(value) {
27
35
  if (!('url' in value) || value['url'] === undefined)
28
36
  return false;
29
37
  if (!('label' in value) || value['label'] === undefined)
30
38
  return false;
31
39
  return true;
32
40
  }
33
- export function LinkFromJSON(json) {
41
+ function LinkFromJSON(json) {
34
42
  return LinkFromJSONTyped(json, false);
35
43
  }
36
- export function LinkFromJSONTyped(json, ignoreDiscriminator) {
44
+ function LinkFromJSONTyped(json, ignoreDiscriminator) {
37
45
  if (json == null) {
38
46
  return json;
39
47
  }
@@ -42,10 +50,10 @@ export function LinkFromJSONTyped(json, ignoreDiscriminator) {
42
50
  'label': json['label'],
43
51
  };
44
52
  }
45
- export function LinkToJSON(json) {
53
+ function LinkToJSON(json) {
46
54
  return LinkToJSONTyped(json, false);
47
55
  }
48
- export function LinkToJSONTyped(value, ignoreDiscriminator = false) {
56
+ function LinkToJSONTyped(value, ignoreDiscriminator = false) {
49
57
  if (value == null) {
50
58
  return value;
51
59
  }