@monaco-protocol/client-v2 0.0.96-develop → 0.0.98-dev-wak

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 (31) hide show
  1. package/dist/apis/APIKeyManagementApi.d.ts +6 -6
  2. package/dist/apis/APIKeyManagementApi.js +10 -10
  3. package/dist/apis/AppManagementApi.d.ts +15 -0
  4. package/dist/apis/AppManagementApi.js +41 -0
  5. package/dist/apis/WalletAPIKeyManagementApi.d.ts +55 -0
  6. package/dist/apis/WalletAPIKeyManagementApi.js +140 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AppPermissionRequest.d.ts +7 -6
  10. package/dist/models/AppPermissionRequest.js +8 -7
  11. package/dist/models/BalanceUpdateRequest.d.ts +1 -1
  12. package/dist/models/BalanceUpdateRequest.js +3 -1
  13. package/dist/models/CreateAPIKeyRequest.d.ts +2 -2
  14. package/dist/models/CreateAPIKeyRequest.js +3 -1
  15. package/dist/models/CreateWalletAPIKeyRequest.d.ts +32 -0
  16. package/dist/models/CreateWalletAPIKeyRequest.js +50 -0
  17. package/dist/models/DeactivateWalletAPIKeyRequest.d.ts +32 -0
  18. package/dist/models/DeactivateWalletAPIKeyRequest.js +50 -0
  19. package/dist/models/UpdateAppCommissionRateRequest.d.ts +1 -1
  20. package/dist/models/UpdateAppCommissionRateRequest.js +3 -1
  21. package/dist/models/WalletAPIKey.d.ts +68 -0
  22. package/dist/models/WalletAPIKey.js +60 -0
  23. package/dist/models/WalletAPIKeyResponse.d.ts +40 -0
  24. package/dist/models/WalletAPIKeyResponse.js +52 -0
  25. package/dist/models/index.d.ts +3 -0
  26. package/dist/models/index.js +3 -0
  27. package/package.json +1 -1
  28. package/dist/apis/PricesApi.d.ts +0 -61
  29. package/dist/apis/PricesApi.js +0 -110
  30. package/dist/models/PagedMarketWithPricesResponse.d.ts +0 -96
  31. package/dist/models/PagedMarketWithPricesResponse.js +0 -76
@@ -1,76 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Monaco API
6
- * A RESTful API that allows you to interact with the Monaco Exchange. Provides endpoints for managing Events, Markets, Sessions, Wallets and Orders. To interact with the API, a client must have an App Id and an API Key to authenticate and create a session.
7
- *
8
- * The version of the OpenAPI document: 0.1
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfPagedMarketWithPricesResponse = instanceOfPagedMarketWithPricesResponse;
17
- exports.PagedMarketWithPricesResponseFromJSON = PagedMarketWithPricesResponseFromJSON;
18
- exports.PagedMarketWithPricesResponseFromJSONTyped = PagedMarketWithPricesResponseFromJSONTyped;
19
- exports.PagedMarketWithPricesResponseToJSON = PagedMarketWithPricesResponseToJSON;
20
- exports.PagedMarketWithPricesResponseToJSONTyped = PagedMarketWithPricesResponseToJSONTyped;
21
- const MarketOutcomeSummary_1 = require("./MarketOutcomeSummary");
22
- const Meta_1 = require("./Meta");
23
- const CategorySummary_1 = require("./CategorySummary");
24
- const EventSummary_1 = require("./EventSummary");
25
- const SubcategorySummary_1 = require("./SubcategorySummary");
26
- const Market_1 = require("./Market");
27
- const MarketLiquidities_1 = require("./MarketLiquidities");
28
- const MarketTypeSummary_1 = require("./MarketTypeSummary");
29
- const EventGroupSummary_1 = require("./EventGroupSummary");
30
- const EventParticipant_1 = require("./EventParticipant");
31
- /**
32
- * Check if a given object implements the PagedMarketWithPricesResponse interface.
33
- */
34
- function instanceOfPagedMarketWithPricesResponse(value) {
35
- return true;
36
- }
37
- function PagedMarketWithPricesResponseFromJSON(json) {
38
- return PagedMarketWithPricesResponseFromJSONTyped(json, false);
39
- }
40
- function PagedMarketWithPricesResponseFromJSONTyped(json, ignoreDiscriminator) {
41
- if (json == null) {
42
- return json;
43
- }
44
- return {
45
- 'meta': json['_meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['_meta']),
46
- 'markets': json['markets'] == null ? undefined : (json['markets'].map(Market_1.MarketFromJSON)),
47
- 'marketTypes': json['marketTypes'] == null ? undefined : (json['marketTypes'].map(MarketTypeSummary_1.MarketTypeSummaryFromJSON)),
48
- 'marketOutcomes': json['marketOutcomes'] == null ? undefined : (json['marketOutcomes'].map(MarketOutcomeSummary_1.MarketOutcomeSummaryFromJSON)),
49
- 'events': json['events'] == null ? undefined : (json['events'].map(EventSummary_1.EventSummaryFromJSON)),
50
- 'eventGroups': json['eventGroups'] == null ? undefined : (json['eventGroups'].map(EventGroupSummary_1.EventGroupSummaryFromJSON)),
51
- 'subcategories': json['subcategories'] == null ? undefined : (json['subcategories'].map(SubcategorySummary_1.SubcategorySummaryFromJSON)),
52
- 'categories': json['categories'] == null ? undefined : (json['categories'].map(CategorySummary_1.CategorySummaryFromJSON)),
53
- 'prices': json['prices'] == null ? undefined : (json['prices'].map(MarketLiquidities_1.MarketLiquiditiesFromJSON)),
54
- 'participants': json['participants'] == null ? undefined : (json['participants'].map(EventParticipant_1.EventParticipantFromJSON)),
55
- };
56
- }
57
- function PagedMarketWithPricesResponseToJSON(json) {
58
- return PagedMarketWithPricesResponseToJSONTyped(json, false);
59
- }
60
- function PagedMarketWithPricesResponseToJSONTyped(value, ignoreDiscriminator = false) {
61
- if (value == null) {
62
- return value;
63
- }
64
- return {
65
- '_meta': (0, Meta_1.MetaToJSON)(value['meta']),
66
- 'markets': value['markets'] == null ? undefined : (value['markets'].map(Market_1.MarketToJSON)),
67
- 'marketTypes': value['marketTypes'] == null ? undefined : (value['marketTypes'].map(MarketTypeSummary_1.MarketTypeSummaryToJSON)),
68
- 'marketOutcomes': value['marketOutcomes'] == null ? undefined : (value['marketOutcomes'].map(MarketOutcomeSummary_1.MarketOutcomeSummaryToJSON)),
69
- 'events': value['events'] == null ? undefined : (value['events'].map(EventSummary_1.EventSummaryToJSON)),
70
- 'eventGroups': value['eventGroups'] == null ? undefined : (value['eventGroups'].map(EventGroupSummary_1.EventGroupSummaryToJSON)),
71
- 'subcategories': value['subcategories'] == null ? undefined : (value['subcategories'].map(SubcategorySummary_1.SubcategorySummaryToJSON)),
72
- 'categories': value['categories'] == null ? undefined : (value['categories'].map(CategorySummary_1.CategorySummaryToJSON)),
73
- 'prices': value['prices'] == null ? undefined : (value['prices'].map(MarketLiquidities_1.MarketLiquiditiesToJSON)),
74
- 'participants': value['participants'] == null ? undefined : (value['participants'].map(EventParticipant_1.EventParticipantToJSON)),
75
- };
76
- }