@grvt/client 1.6.7 → 1.6.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 (110) hide show
  1. package/MDG/index.d.ts +9 -1
  2. package/MDG/index.js +20 -0
  3. package/interfaces/codegen/data.interface.d.ts +212 -8
  4. package/interfaces/codegen/enums/account-multiplier-metadata-type.d.ts +5 -0
  5. package/interfaces/codegen/enums/account-multiplier-metadata-type.js +14 -0
  6. package/interfaces/codegen/enums/cluster-config-type.d.ts +9 -1
  7. package/interfaces/codegen/enums/cluster-config-type.js +25 -1
  8. package/interfaces/codegen/enums/distribution-type.d.ts +9 -0
  9. package/interfaces/codegen/enums/distribution-type.js +26 -0
  10. package/interfaces/codegen/enums/epoch-point-boost-configuration-status.d.ts +5 -0
  11. package/interfaces/codegen/enums/epoch-point-boost-configuration-status.js +14 -0
  12. package/interfaces/codegen/enums/epoch-point-distribution-configuration-status.d.ts +5 -0
  13. package/interfaces/codegen/enums/epoch-point-distribution-configuration-status.js +14 -0
  14. package/interfaces/codegen/enums/funding-rate-aggregation-type.d.ts +7 -0
  15. package/interfaces/codegen/enums/funding-rate-aggregation-type.js +21 -0
  16. package/interfaces/codegen/enums/point-type.d.ts +6 -0
  17. package/interfaces/codegen/enums/point-type.js +17 -0
  18. package/interfaces/codegen/schema-maps/admin_reward_epoch.d.ts +2 -0
  19. package/interfaces/codegen/schema-maps/admin_reward_epoch.js +27 -0
  20. package/interfaces/codegen/schema-maps/admin_reward_epoch_metadata.d.ts +2 -0
  21. package/interfaces/codegen/schema-maps/admin_reward_epoch_metadata.js +14 -0
  22. package/interfaces/codegen/schema-maps/api_create_epoch_point_boost_configuration_request.d.ts +2 -0
  23. package/interfaces/codegen/schema-maps/api_create_epoch_point_boost_configuration_request.js +15 -0
  24. package/interfaces/codegen/schema-maps/api_create_epoch_point_boost_configuration_response.d.ts +2 -0
  25. package/interfaces/codegen/schema-maps/api_create_epoch_point_boost_configuration_response.js +12 -0
  26. package/interfaces/codegen/schema-maps/api_create_epoch_point_distribution_configuration_request.d.ts +2 -0
  27. package/interfaces/codegen/schema-maps/api_create_epoch_point_distribution_configuration_request.js +15 -0
  28. package/interfaces/codegen/schema-maps/api_create_epoch_point_distribution_configuration_response.d.ts +2 -0
  29. package/interfaces/codegen/schema-maps/api_create_epoch_point_distribution_configuration_response.js +12 -0
  30. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_boost_configuration_request.d.ts +2 -0
  31. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_boost_configuration_request.js +12 -0
  32. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_boost_configuration_response.d.ts +2 -0
  33. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_boost_configuration_response.js +12 -0
  34. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_distribution_configuration_request.d.ts +2 -0
  35. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_distribution_configuration_request.js +12 -0
  36. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_distribution_configuration_response.d.ts +2 -0
  37. package/interfaces/codegen/schema-maps/api_deactivate_epoch_point_distribution_configuration_response.js +12 -0
  38. package/interfaces/codegen/schema-maps/api_funding_history_comparison_request.d.ts +2 -0
  39. package/interfaces/codegen/schema-maps/api_funding_history_comparison_request.js +16 -0
  40. package/interfaces/codegen/schema-maps/api_funding_history_comparison_response.d.ts +2 -0
  41. package/interfaces/codegen/schema-maps/api_funding_history_comparison_response.js +15 -0
  42. package/interfaces/codegen/schema-maps/api_funding_rate.d.ts +2 -0
  43. package/interfaces/codegen/schema-maps/{funding_rate.js → api_funding_rate.js} +7 -5
  44. package/interfaces/codegen/schema-maps/api_funding_rate_request.js +4 -2
  45. package/interfaces/codegen/schema-maps/api_funding_rate_response.js +3 -3
  46. package/interfaces/codegen/schema-maps/api_get_epoch_point_boost_configuration_request.d.ts +2 -0
  47. package/interfaces/codegen/schema-maps/api_get_epoch_point_boost_configuration_request.js +12 -0
  48. package/interfaces/codegen/schema-maps/api_get_epoch_point_boost_configuration_response.d.ts +2 -0
  49. package/interfaces/codegen/schema-maps/api_get_epoch_point_boost_configuration_response.js +13 -0
  50. package/interfaces/codegen/schema-maps/api_get_epoch_point_distribution_configuration_request.d.ts +2 -0
  51. package/interfaces/codegen/schema-maps/api_get_epoch_point_distribution_configuration_request.js +12 -0
  52. package/interfaces/codegen/schema-maps/api_get_epoch_point_distribution_configuration_response.d.ts +2 -0
  53. package/interfaces/codegen/schema-maps/api_get_epoch_point_distribution_configuration_response.js +13 -0
  54. package/interfaces/codegen/schema-maps/api_inject_points_request.d.ts +2 -0
  55. package/interfaces/codegen/schema-maps/api_inject_points_request.js +15 -0
  56. package/interfaces/codegen/schema-maps/api_inject_points_response.d.ts +2 -0
  57. package/interfaces/codegen/schema-maps/api_inject_points_response.js +12 -0
  58. package/interfaces/codegen/schema-maps/api_list_epoch_point_boost_configuration_request.d.ts +2 -0
  59. package/interfaces/codegen/schema-maps/api_list_epoch_point_boost_configuration_request.js +14 -0
  60. package/interfaces/codegen/schema-maps/api_list_epoch_point_boost_configuration_response.d.ts +2 -0
  61. package/interfaces/codegen/schema-maps/api_list_epoch_point_boost_configuration_response.js +13 -0
  62. package/interfaces/codegen/schema-maps/api_list_epoch_point_distribution_configuration_request.d.ts +2 -0
  63. package/interfaces/codegen/schema-maps/api_list_epoch_point_distribution_configuration_request.js +14 -0
  64. package/interfaces/codegen/schema-maps/api_list_epoch_point_distribution_configuration_response.d.ts +2 -0
  65. package/interfaces/codegen/schema-maps/api_list_epoch_point_distribution_configuration_response.js +13 -0
  66. package/interfaces/codegen/schema-maps/api_live_funding_rate_comparison_request.d.ts +2 -0
  67. package/interfaces/codegen/schema-maps/api_live_funding_rate_comparison_request.js +12 -0
  68. package/interfaces/codegen/schema-maps/api_live_funding_rate_comparison_response.d.ts +2 -0
  69. package/interfaces/codegen/schema-maps/api_live_funding_rate_comparison_response.js +13 -0
  70. package/interfaces/codegen/schema-maps/api_manual_injected_point_history_request.d.ts +2 -0
  71. package/interfaces/codegen/schema-maps/api_manual_injected_point_history_request.js +18 -0
  72. package/interfaces/codegen/schema-maps/api_manual_injected_point_history_response.d.ts +2 -0
  73. package/interfaces/codegen/schema-maps/api_manual_injected_point_history_response.js +13 -0
  74. package/interfaces/codegen/schema-maps/api_vault_detail.js +4 -2
  75. package/interfaces/codegen/schema-maps/batch_create_account_multiplier_element.js +5 -2
  76. package/interfaces/codegen/schema-maps/detail_admin_reward_epoch.d.ts +2 -0
  77. package/interfaces/codegen/schema-maps/detail_admin_reward_epoch.js +22 -0
  78. package/interfaces/codegen/schema-maps/detail_admin_reward_epoch_response.d.ts +2 -0
  79. package/interfaces/codegen/schema-maps/detail_admin_reward_epoch_response.js +13 -0
  80. package/interfaces/codegen/schema-maps/epoch_point_boost_configuration.d.ts +2 -0
  81. package/interfaces/codegen/schema-maps/epoch_point_boost_configuration.js +27 -0
  82. package/interfaces/codegen/schema-maps/epoch_point_distribution_configuration.d.ts +2 -0
  83. package/interfaces/codegen/schema-maps/epoch_point_distribution_configuration.js +27 -0
  84. package/interfaces/codegen/schema-maps/exchange_funding_rate.d.ts +2 -0
  85. package/interfaces/codegen/schema-maps/exchange_funding_rate.js +14 -0
  86. package/interfaces/codegen/schema-maps/funding_history_comparison_entry.d.ts +2 -0
  87. package/interfaces/codegen/schema-maps/funding_history_comparison_entry.js +17 -0
  88. package/interfaces/codegen/schema-maps/injected_point_request_element.d.ts +2 -0
  89. package/interfaces/codegen/schema-maps/injected_point_request_element.js +14 -0
  90. package/interfaces/codegen/schema-maps/list_reward_epoch_response.d.ts +2 -0
  91. package/interfaces/codegen/schema-maps/list_reward_epoch_response.js +13 -0
  92. package/interfaces/codegen/schema-maps/live_funding_rate_comparison_entry.d.ts +2 -0
  93. package/interfaces/codegen/schema-maps/live_funding_rate_comparison_entry.js +21 -0
  94. package/interfaces/codegen/schema-maps/manual_point_distribution.d.ts +2 -0
  95. package/interfaces/codegen/schema-maps/manual_point_distribution.js +31 -0
  96. package/interfaces/codegen/schema-maps/manual_point_distribution_metadata.d.ts +2 -0
  97. package/interfaces/codegen/schema-maps/manual_point_distribution_metadata.js +16 -0
  98. package/interfaces/codegen/schema-maps/point_distribution_ratio.d.ts +2 -0
  99. package/interfaces/codegen/schema-maps/point_distribution_ratio.js +24 -0
  100. package/interfaces/codegen/schema-maps/reserve_point_information.d.ts +2 -0
  101. package/interfaces/codegen/schema-maps/reserve_point_information.js +14 -0
  102. package/interfaces/codegen/schema-maps/reward_account_multiplier.js +5 -2
  103. package/interfaces/codegen/schema-maps/reward_account_multiplier_metadata.d.ts +2 -0
  104. package/interfaces/codegen/schema-maps/reward_account_multiplier_metadata.js +18 -0
  105. package/interfaces/codegen/schema-maps/update_reward_epoch_request.d.ts +2 -0
  106. package/interfaces/codegen/schema-maps/update_reward_epoch_request.js +14 -0
  107. package/interfaces/codegen/schema-maps/update_reward_epoch_response.d.ts +2 -0
  108. package/interfaces/codegen/schema-maps/update_reward_epoch_response.js +13 -0
  109. package/package.json +1 -1
  110. package/interfaces/codegen/schema-maps/funding_rate.d.ts +0 -2
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPointTypeInt = exports.EPointType = void 0;
4
+ var EPointType;
5
+ (function (EPointType) {
6
+ // Ecosystem point type
7
+ EPointType["ECOSYSTEM"] = "ECOSYSTEM";
8
+ // Trader point type
9
+ EPointType["TRADER"] = "TRADER";
10
+ // Reward season two point type
11
+ EPointType["SECOND_SESSION"] = "SECOND_SESSION";
12
+ })(EPointType || (exports.EPointType = EPointType = {}));
13
+ exports.EPointTypeInt = Object.freeze({
14
+ [EPointType.ECOSYSTEM]: 1,
15
+ [EPointType.TRADER]: 2,
16
+ [EPointType.SECOND_SESSION]: 3
17
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const ADMIN_REWARD_EPOCH_MAP: SchemaPairMap;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADMIN_REWARD_EPOCH_MAP = void 0;
4
+ const admin_reward_epoch_metadata_1 = require("./admin_reward_epoch_metadata");
5
+ // Schema map for the 'ADMIN_REWARD_EPOCH' struct.
6
+ exports.ADMIN_REWARD_EPOCH_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ id: 'i',
9
+ epoch: 'e',
10
+ start_time: 'st',
11
+ end_time: 'et',
12
+ emitted_points: 'ep',
13
+ is_released: 'ir',
14
+ metadata: ['m', admin_reward_epoch_metadata_1.ADMIN_REWARD_EPOCH_METADATA_MAP.FULL_TO_LITE],
15
+ reserve_points: 'rp'
16
+ },
17
+ LITE_TO_FULL: {
18
+ i: 'id',
19
+ e: 'epoch',
20
+ st: 'start_time',
21
+ et: 'end_time',
22
+ ep: 'emitted_points',
23
+ ir: 'is_released',
24
+ m: ['metadata', admin_reward_epoch_metadata_1.ADMIN_REWARD_EPOCH_METADATA_MAP.LITE_TO_FULL],
25
+ rp: 'reserve_points'
26
+ }
27
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const ADMIN_REWARD_EPOCH_METADATA_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ADMIN_REWARD_EPOCH_METADATA_MAP = void 0;
4
+ // Schema map for the 'ADMIN_REWARD_EPOCH_METADATA' struct.
5
+ exports.ADMIN_REWARD_EPOCH_METADATA_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ total_trading_volume: 'tt',
8
+ visible_emitted_points: 've'
9
+ },
10
+ LITE_TO_FULL: {
11
+ tt: 'total_trading_volume',
12
+ ve: 'visible_emitted_points'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = void 0;
4
+ const point_distribution_ratio_1 = require("./point_distribution_ratio");
5
+ // Schema map for the 'API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST' struct.
6
+ exports.API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ epoch: 'e',
9
+ boost_percentage: ['bp', point_distribution_ratio_1.POINT_DISTRIBUTION_RATIO_MAP.FULL_TO_LITE]
10
+ },
11
+ LITE_TO_FULL: {
12
+ e: 'epoch',
13
+ bp: ['boost_percentage', point_distribution_ratio_1.POINT_DISTRIBUTION_RATIO_MAP.LITE_TO_FULL]
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE' struct.
5
+ exports.API_CREATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = void 0;
4
+ const point_distribution_ratio_1 = require("./point_distribution_ratio");
5
+ // Schema map for the 'API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST' struct.
6
+ exports.API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ start_epoch: 'se',
9
+ point_distribution_percentage: ['pd', point_distribution_ratio_1.POINT_DISTRIBUTION_RATIO_MAP.FULL_TO_LITE]
10
+ },
11
+ LITE_TO_FULL: {
12
+ se: 'start_epoch',
13
+ pd: ['point_distribution_percentage', point_distribution_ratio_1.POINT_DISTRIBUTION_RATIO_MAP.LITE_TO_FULL]
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE' struct.
5
+ exports.API_CREATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST' struct.
5
+ exports.API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE' struct.
5
+ exports.API_DEACTIVATE_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST' struct.
5
+ exports.API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE' struct.
5
+ exports.API_DEACTIVATE_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FUNDING_HISTORY_COMPARISON_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FUNDING_HISTORY_COMPARISON_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_FUNDING_HISTORY_COMPARISON_REQUEST' struct.
5
+ exports.API_FUNDING_HISTORY_COMPARISON_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ instrument: 'i',
8
+ agg_type: 'at',
9
+ num_intervals: 'ni'
10
+ },
11
+ LITE_TO_FULL: {
12
+ i: 'instrument',
13
+ at: 'agg_type',
14
+ ni: 'num_intervals'
15
+ }
16
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FUNDING_HISTORY_COMPARISON_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FUNDING_HISTORY_COMPARISON_RESPONSE_MAP = void 0;
4
+ const funding_history_comparison_entry_1 = require("./funding_history_comparison_entry");
5
+ // Schema map for the 'API_FUNDING_HISTORY_COMPARISON_RESPONSE' struct.
6
+ exports.API_FUNDING_HISTORY_COMPARISON_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ instrument: 'i',
9
+ entries: ['e', [funding_history_comparison_entry_1.FUNDING_HISTORY_COMPARISON_ENTRY_MAP.FULL_TO_LITE]]
10
+ },
11
+ LITE_TO_FULL: {
12
+ i: 'instrument',
13
+ e: ['entries', [funding_history_comparison_entry_1.FUNDING_HISTORY_COMPARISON_ENTRY_MAP.LITE_TO_FULL]]
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FUNDING_RATE_MAP: SchemaPairMap;
@@ -1,20 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FUNDING_RATE_MAP = void 0;
4
- // Schema map for the 'FUNDING_RATE' struct.
5
- exports.FUNDING_RATE_MAP = Object.freeze({
3
+ exports.API_FUNDING_RATE_MAP = void 0;
4
+ // Schema map for the 'API_FUNDING_RATE' struct.
5
+ exports.API_FUNDING_RATE_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  instrument: 'i',
8
8
  funding_rate: 'fr',
9
9
  funding_time: 'ft',
10
10
  mark_price: 'mp',
11
- funding_rate_8_h_avg: 'fr1'
11
+ funding_rate_8_h_avg: 'fr1',
12
+ funding_interval_hours: 'fi'
12
13
  },
13
14
  LITE_TO_FULL: {
14
15
  i: 'instrument',
15
16
  fr: 'funding_rate',
16
17
  ft: 'funding_time',
17
18
  mp: 'mark_price',
18
- fr1: 'funding_rate_8_h_avg'
19
+ fr1: 'funding_rate_8_h_avg',
20
+ fi: 'funding_interval_hours'
19
21
  }
20
22
  });
@@ -8,13 +8,15 @@ exports.API_FUNDING_RATE_REQUEST_MAP = Object.freeze({
8
8
  start_time: 'st',
9
9
  end_time: 'et',
10
10
  limit: 'l',
11
- cursor: 'c'
11
+ cursor: 'c',
12
+ agg_type: 'at'
12
13
  },
13
14
  LITE_TO_FULL: {
14
15
  i: 'instrument',
15
16
  st: 'start_time',
16
17
  et: 'end_time',
17
18
  l: 'limit',
18
- c: 'cursor'
19
+ c: 'cursor',
20
+ at: 'agg_type'
19
21
  }
20
22
  });
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.API_FUNDING_RATE_RESPONSE_MAP = void 0;
4
- const funding_rate_1 = require("./funding_rate");
4
+ const api_funding_rate_1 = require("./api_funding_rate");
5
5
  // Schema map for the 'API_FUNDING_RATE_RESPONSE' struct.
6
6
  exports.API_FUNDING_RATE_RESPONSE_MAP = Object.freeze({
7
7
  FULL_TO_LITE: {
8
- result: ['r', [funding_rate_1.FUNDING_RATE_MAP.FULL_TO_LITE]],
8
+ result: ['r', [api_funding_rate_1.API_FUNDING_RATE_MAP.FULL_TO_LITE]],
9
9
  next: 'n'
10
10
  },
11
11
  LITE_TO_FULL: {
12
- r: ['result', [funding_rate_1.FUNDING_RATE_MAP.LITE_TO_FULL]],
12
+ r: ['result', [api_funding_rate_1.API_FUNDING_RATE_MAP.LITE_TO_FULL]],
13
13
  n: 'next'
14
14
  }
15
15
  });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_GET_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST' struct.
5
+ exports.API_GET_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e'
8
+ },
9
+ LITE_TO_FULL: {
10
+ e: 'epoch'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ const epoch_point_boost_configuration_1 = require("./epoch_point_boost_configuration");
5
+ // Schema map for the 'API_GET_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE' struct.
6
+ exports.API_GET_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', epoch_point_boost_configuration_1.EPOCH_POINT_BOOST_CONFIGURATION_MAP.FULL_TO_LITE]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', epoch_point_boost_configuration_1.EPOCH_POINT_BOOST_CONFIGURATION_MAP.LITE_TO_FULL]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST' struct.
5
+ exports.API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e'
8
+ },
9
+ LITE_TO_FULL: {
10
+ e: 'epoch'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ const epoch_point_distribution_configuration_1 = require("./epoch_point_distribution_configuration");
5
+ // Schema map for the 'API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE' struct.
6
+ exports.API_GET_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', epoch_point_distribution_configuration_1.EPOCH_POINT_DISTRIBUTION_CONFIGURATION_MAP.FULL_TO_LITE]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', epoch_point_distribution_configuration_1.EPOCH_POINT_DISTRIBUTION_CONFIGURATION_MAP.LITE_TO_FULL]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_INJECT_POINTS_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_INJECT_POINTS_REQUEST_MAP = void 0;
4
+ const injected_point_request_element_1 = require("./injected_point_request_element");
5
+ // Schema map for the 'API_INJECT_POINTS_REQUEST' struct.
6
+ exports.API_INJECT_POINTS_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ injections: ['i', [injected_point_request_element_1.INJECTED_POINT_REQUEST_ELEMENT_MAP.FULL_TO_LITE]],
9
+ reason: 'r'
10
+ },
11
+ LITE_TO_FULL: {
12
+ i: ['injections', [injected_point_request_element_1.INJECTED_POINT_REQUEST_ELEMENT_MAP.LITE_TO_FULL]],
13
+ r: 'reason'
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_INJECT_POINTS_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_INJECT_POINTS_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_INJECT_POINTS_RESPONSE' struct.
5
+ exports.API_INJECT_POINTS_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ success: 's'
8
+ },
9
+ LITE_TO_FULL: {
10
+ s: 'success'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST' struct.
5
+ exports.API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e',
8
+ status: 's'
9
+ },
10
+ LITE_TO_FULL: {
11
+ e: 'epoch',
12
+ s: 'status'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ const epoch_point_boost_configuration_1 = require("./epoch_point_boost_configuration");
5
+ // Schema map for the 'API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE' struct.
6
+ exports.API_LIST_EPOCH_POINT_BOOST_CONFIGURATION_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [epoch_point_boost_configuration_1.EPOCH_POINT_BOOST_CONFIGURATION_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [epoch_point_boost_configuration_1.EPOCH_POINT_BOOST_CONFIGURATION_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST' struct.
5
+ exports.API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ start_epoch: 'se',
8
+ status: 's'
9
+ },
10
+ LITE_TO_FULL: {
11
+ se: 'start_epoch',
12
+ s: 'status'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = void 0;
4
+ const epoch_point_distribution_configuration_1 = require("./epoch_point_distribution_configuration");
5
+ // Schema map for the 'API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE' struct.
6
+ exports.API_LIST_EPOCH_POINT_DISTRIBUTION_CONFIGURATION_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [epoch_point_distribution_configuration_1.EPOCH_POINT_DISTRIBUTION_CONFIGURATION_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [epoch_point_distribution_configuration_1.EPOCH_POINT_DISTRIBUTION_CONFIGURATION_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_LIVE_FUNDING_RATE_COMPARISON_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_LIVE_FUNDING_RATE_COMPARISON_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_LIVE_FUNDING_RATE_COMPARISON_REQUEST' struct.
5
+ exports.API_LIVE_FUNDING_RATE_COMPARISON_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ agg_type: 'at'
8
+ },
9
+ LITE_TO_FULL: {
10
+ at: 'agg_type'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_LIVE_FUNDING_RATE_COMPARISON_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_LIVE_FUNDING_RATE_COMPARISON_RESPONSE_MAP = void 0;
4
+ const live_funding_rate_comparison_entry_1 = require("./live_funding_rate_comparison_entry");
5
+ // Schema map for the 'API_LIVE_FUNDING_RATE_COMPARISON_RESPONSE' struct.
6
+ exports.API_LIVE_FUNDING_RATE_COMPARISON_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ entries: ['e', [live_funding_rate_comparison_entry_1.LIVE_FUNDING_RATE_COMPARISON_ENTRY_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ e: ['entries', [live_funding_rate_comparison_entry_1.LIVE_FUNDING_RATE_COMPARISON_ENTRY_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_MANUAL_INJECTED_POINT_HISTORY_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_MANUAL_INJECTED_POINT_HISTORY_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_MANUAL_INJECTED_POINT_HISTORY_REQUEST' struct.
5
+ exports.API_MANUAL_INJECTED_POINT_HISTORY_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e',
8
+ off_chain_account_id: 'oc',
9
+ page: 'p',
10
+ limit: 'l'
11
+ },
12
+ LITE_TO_FULL: {
13
+ e: 'epoch',
14
+ oc: 'off_chain_account_id',
15
+ p: 'page',
16
+ l: 'limit'
17
+ }
18
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_MANUAL_INJECTED_POINT_HISTORY_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_MANUAL_INJECTED_POINT_HISTORY_RESPONSE_MAP = void 0;
4
+ const manual_point_distribution_1 = require("./manual_point_distribution");
5
+ // Schema map for the 'API_MANUAL_INJECTED_POINT_HISTORY_RESPONSE' struct.
6
+ exports.API_MANUAL_INJECTED_POINT_HISTORY_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [manual_point_distribution_1.MANUAL_POINT_DISTRIBUTION_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [manual_point_distribution_1.MANUAL_POINT_DISTRIBUTION_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -12,7 +12,8 @@ exports.API_VAULT_DETAIL_MAP = Object.freeze({
12
12
  total_supply_lp_tokens: 'ts',
13
13
  last_cross_exchange_equity_attest_timestamp: 'lc',
14
14
  is_vault_locked: 'iv',
15
- is_cross_exchange: 'ic'
15
+ is_cross_exchange: 'ic',
16
+ is_ungated: 'iu'
16
17
  },
17
18
  LITE_TO_FULL: {
18
19
  vi: 'vault_id',
@@ -23,6 +24,7 @@ exports.API_VAULT_DETAIL_MAP = Object.freeze({
23
24
  ts: 'total_supply_lp_tokens',
24
25
  lc: 'last_cross_exchange_equity_attest_timestamp',
25
26
  iv: 'is_vault_locked',
26
- ic: 'is_cross_exchange'
27
+ ic: 'is_cross_exchange',
28
+ iu: 'is_ungated'
27
29
  }
28
30
  });