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