@arrowsphere/api-client 3.26.0 → 3.27.0-rc.bjp.1

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 (118) hide show
  1. package/build/abstractEntity.js +14 -16
  2. package/build/abstractGraphQLClient.d.ts +2 -1
  3. package/build/abstractGraphQLClient.js +32 -7
  4. package/build/axiosSingleton.js +2 -2
  5. package/build/campaign/entities/campaign/banners/banners.js +32 -34
  6. package/build/campaign/entities/campaign/campaign.js +51 -53
  7. package/build/campaign/entities/campaign/landingPage/landingPage.js +24 -26
  8. package/build/campaign/entities/campaign/landingPage/landingPageBody.js +35 -37
  9. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +29 -31
  10. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +23 -25
  11. package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +29 -31
  12. package/build/campaign/entities/campaign/rules/rules.js +29 -31
  13. package/build/campaign/entities/campaignAssets/assets/assets.js +17 -19
  14. package/build/campaign/entities/campaignAssets/campaignAssets.js +14 -16
  15. package/build/campaign/entities/v2/campaign/banner/banner.js +32 -34
  16. package/build/campaign/entities/v2/campaign/campaign.js +48 -50
  17. package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +24 -26
  18. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +34 -36
  19. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +20 -22
  20. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +32 -34
  21. package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +32 -34
  22. package/build/campaign/entities/v2/campaignList.js +14 -16
  23. package/build/campaign/index.js +5 -1
  24. package/build/cart/entities/index.js +5 -1
  25. package/build/cart/entities/item.js +26 -28
  26. package/build/cart/entities/itemList.js +14 -16
  27. package/build/cart/index.js +5 -1
  28. package/build/catalog/catalogGraphQLClient.d.ts +2 -0
  29. package/build/catalog/catalogGraphQLClient.js +4 -1
  30. package/build/catalog/index.js +5 -1
  31. package/build/catalog/types/catalogGraphQLQueries.d.ts +12 -0
  32. package/build/catalog/types/catalogGraphQLQueries.js +3 -0
  33. package/build/catalog/types/catalogGraphQLSchemas.d.ts +30 -0
  34. package/build/catalog/types/catalogGraphQLSchemas.js +4 -0
  35. package/build/catalog/types/catalogGraphQLTypes.js +1 -0
  36. package/build/catalog/types/queryArguments.d.ts +42 -0
  37. package/build/catalog/types/queryArguments.js +9 -0
  38. package/build/consumption/entities/bi/consumptionBI.js +28 -30
  39. package/build/consumption/entities/bi/period/period.js +17 -19
  40. package/build/consumption/entities/bi/top/top.js +23 -25
  41. package/build/consumption/entities/consumption/consumption.js +17 -19
  42. package/build/consumption/index.js +5 -1
  43. package/build/contact/entities/contact.js +44 -46
  44. package/build/contact/entities/contactCreate.js +14 -16
  45. package/build/contact/entities/contactList.js +14 -16
  46. package/build/contact/index.js +5 -1
  47. package/build/customers/entities/customers/contact/contact.js +29 -31
  48. package/build/customers/entities/customers/customer.js +71 -73
  49. package/build/customers/entities/customers/customerContact/customerContact.js +38 -40
  50. package/build/customers/entities/customers/customerContact/customerContactList.js +14 -16
  51. package/build/customers/entities/customers/details/details.js +29 -31
  52. package/build/customers/entities/dataCustomers.js +14 -16
  53. package/build/customers/entities/dataInvitation.js +29 -31
  54. package/build/customers/entities/invitations/company/company.js +14 -16
  55. package/build/customers/entities/invitations/contact/invitationContact.js +26 -28
  56. package/build/customers/index.js +5 -1
  57. package/build/exception/index.js +5 -1
  58. package/build/general/entities/whoAmI.js +59 -61
  59. package/build/general/index.js +5 -1
  60. package/build/getResult.js +21 -23
  61. package/build/index.js +5 -1
  62. package/build/licenses/entities/filterFindResult.js +17 -19
  63. package/build/licenses/entities/findResult.js +36 -38
  64. package/build/licenses/entities/getLicense/actionMessagesGetResult.js +26 -28
  65. package/build/licenses/entities/getLicense/actionsGetResult.js +41 -43
  66. package/build/licenses/entities/getLicense/buySellFindResult.js +17 -19
  67. package/build/licenses/entities/getLicense/licenseGetResult.js +105 -107
  68. package/build/licenses/entities/getLicense/licensePriceGetResult.js +20 -22
  69. package/build/licenses/entities/getLicense/orderGetResult.js +17 -19
  70. package/build/licenses/entities/getResult/getLicenseResult.js +14 -16
  71. package/build/licenses/entities/history/actionHistoryResult.js +23 -25
  72. package/build/licenses/entities/history/licenceHistoryResult.js +14 -16
  73. package/build/licenses/entities/license/activeSeatsFindResult.js +17 -19
  74. package/build/licenses/entities/license/configFindResult.js +20 -22
  75. package/build/licenses/entities/license/licenseFindResult.js +134 -136
  76. package/build/licenses/entities/license/priceFindResult.js +26 -28
  77. package/build/licenses/entities/license/warningFindResult.js +17 -19
  78. package/build/licenses/entities/offer/actionFlagsFindResult.js +20 -22
  79. package/build/licenses/entities/offer/offerFindResult.js +32 -34
  80. package/build/licenses/entities/offer/priceBandFindResult.js +35 -37
  81. package/build/licenses/entities/offer/priceband/billingFindResult.js +20 -22
  82. package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +14 -16
  83. package/build/licenses/entities/offer/priceband/identifiersFindResult.js +14 -16
  84. package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +26 -28
  85. package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +20 -22
  86. package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +17 -19
  87. package/build/licenses/index.js +5 -1
  88. package/build/orders/entities/dataListOrders.js +14 -16
  89. package/build/orders/entities/orders/order.js +39 -41
  90. package/build/orders/entities/orders/partner/partner.js +17 -19
  91. package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +14 -16
  92. package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +14 -16
  93. package/build/orders/entities/orders/products/prices/productPrices.js +32 -34
  94. package/build/orders/entities/orders/products/products.js +56 -58
  95. package/build/orders/entities/orders/products/program/productProgram.js +14 -16
  96. package/build/orders/entities/referenceLink.js +17 -19
  97. package/build/orders/index.js +5 -1
  98. package/build/pagination.js +29 -31
  99. package/build/security/index.js +5 -1
  100. package/build/security/register/entity/registrationLink.js +14 -16
  101. package/build/security/register/index.js +5 -1
  102. package/build/security/standards/entities/checks/checks.js +17 -19
  103. package/build/security/standards/entities/checks/securityChecks.js +38 -40
  104. package/build/security/standards/entities/resources/resources.js +26 -28
  105. package/build/security/standards/entities/resources/securityResources.js +17 -19
  106. package/build/security/standards/entities/standards/securityStandards.js +29 -31
  107. package/build/security/standards/entities/standards/standards.js +17 -19
  108. package/build/security/standards/index.js +5 -1
  109. package/build/shared/index.js +5 -1
  110. package/build/subscriptions/entities/subscription.js +56 -58
  111. package/build/subscriptions/entities/subscriptionsListResult.js +39 -41
  112. package/build/subscriptions/index.js +5 -1
  113. package/build/supportCenter/entities/issue/attachment.js +27 -29
  114. package/build/supportCenter/entities/issue/comment.js +29 -31
  115. package/build/supportCenter/entities/issue/issue.js +106 -108
  116. package/build/supportCenter/entities/topic.js +30 -32
  117. package/build/supportCenter/index.js +5 -1
  118. package/package.json +5 -3
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _results, _filters, _client, _postData, _parameters, _currentPage, _totalPage, _nbResults;
13
+ var _FindResult_results, _FindResult_filters, _FindResult_client, _FindResult_postData, _FindResult_parameters, _FindResult_currentPage, _FindResult_totalPage, _FindResult_nbResults;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.FindResult = void 0;
18
16
  const licenseFindResult_1 = require("./license/licenseFindResult");
@@ -30,34 +28,34 @@ class FindResult extends abstractEntity_1.AbstractEntity {
30
28
  */
31
29
  constructor(data, client, postData = {}, parameters = {}) {
32
30
  super(data);
33
- _results.set(this, void 0);
34
- _filters.set(this, void 0);
35
- _client.set(this, void 0);
36
- _postData.set(this, void 0);
37
- _parameters.set(this, void 0);
38
- _currentPage.set(this, void 0);
39
- _totalPage.set(this, void 0);
40
- _nbResults.set(this, void 0);
41
- __classPrivateFieldSet(this, _client, client);
42
- __classPrivateFieldSet(this, _postData, postData);
43
- __classPrivateFieldSet(this, _parameters, parameters);
44
- __classPrivateFieldSet(this, _currentPage, data.pagination.currentPage);
45
- __classPrivateFieldSet(this, _totalPage, data.pagination.totalPage);
46
- __classPrivateFieldSet(this, _nbResults, data.pagination.total);
47
- __classPrivateFieldSet(this, _results, data.results.map((result) => ({
31
+ _FindResult_results.set(this, void 0);
32
+ _FindResult_filters.set(this, void 0);
33
+ _FindResult_client.set(this, void 0);
34
+ _FindResult_postData.set(this, void 0);
35
+ _FindResult_parameters.set(this, void 0);
36
+ _FindResult_currentPage.set(this, void 0);
37
+ _FindResult_totalPage.set(this, void 0);
38
+ _FindResult_nbResults.set(this, void 0);
39
+ __classPrivateFieldSet(this, _FindResult_client, client, "f");
40
+ __classPrivateFieldSet(this, _FindResult_postData, postData, "f");
41
+ __classPrivateFieldSet(this, _FindResult_parameters, parameters, "f");
42
+ __classPrivateFieldSet(this, _FindResult_currentPage, data.pagination.currentPage, "f");
43
+ __classPrivateFieldSet(this, _FindResult_totalPage, data.pagination.totalPage, "f");
44
+ __classPrivateFieldSet(this, _FindResult_nbResults, data.pagination.total, "f");
45
+ __classPrivateFieldSet(this, _FindResult_results, data.results.map((result) => ({
48
46
  license: new licenseFindResult_1.LicenseFindResult(result.license).toJSON(),
49
47
  offer: result.offer
50
48
  ? new offerFindResult_1.OfferFindResult(result.offer).toJSON()
51
49
  : undefined,
52
- })));
53
- __classPrivateFieldSet(this, _filters, data.filters.map((filter) => new filterFindResult_1.FilterFindResult(filter).toJSON()));
50
+ })), "f");
51
+ __classPrivateFieldSet(this, _FindResult_filters, data.filters.map((filter) => new filterFindResult_1.FilterFindResult(filter).toJSON()), "f");
54
52
  }
55
53
  /**
56
54
  * Gets all the licenses for the current page
57
55
  * @returns Generator|{@link LicenseFindResult}[]
58
56
  */
59
57
  *getResultsForCurrentPage() {
60
- yield* __classPrivateFieldGet(this, _results);
58
+ yield* __classPrivateFieldGet(this, _FindResult_results, "f");
61
59
  }
62
60
  /**
63
61
  * Gets all the licenses from the result, page per page.
@@ -68,11 +66,11 @@ class FindResult extends abstractEntity_1.AbstractEntity {
68
66
  // First yield the offers we already got in the response from the first page
69
67
  yield* this.getResultsForCurrentPage();
70
68
  // Then parse the other pages... if there are more
71
- let currentPage = __classPrivateFieldGet(this, _currentPage) + 1;
72
- let lastPage = __classPrivateFieldGet(this, _totalPage) < currentPage;
69
+ let currentPage = __classPrivateFieldGet(this, _FindResult_currentPage, "f") + 1;
70
+ let lastPage = __classPrivateFieldGet(this, _FindResult_totalPage, "f") < currentPage;
73
71
  while (!lastPage) {
74
- __classPrivateFieldGet(this, _client).setPage(currentPage);
75
- const data = await __classPrivateFieldGet(this, _client).findRaw(__classPrivateFieldGet(this, _postData), __classPrivateFieldGet(this, _parameters));
72
+ __classPrivateFieldGet(this, _FindResult_client, "f").setPage(currentPage);
73
+ const data = await __classPrivateFieldGet(this, _FindResult_client, "f").findRaw(__classPrivateFieldGet(this, _FindResult_postData, "f"), __classPrivateFieldGet(this, _FindResult_parameters, "f"));
76
74
  if (data.pagination.totalPage <= currentPage) {
77
75
  lastPage = true;
78
76
  }
@@ -91,13 +89,13 @@ class FindResult extends abstractEntity_1.AbstractEntity {
91
89
  return this.getResults();
92
90
  }
93
91
  get filters() {
94
- return __classPrivateFieldGet(this, _filters);
92
+ return __classPrivateFieldGet(this, _FindResult_filters, "f");
95
93
  }
96
94
  get nbResults() {
97
- return __classPrivateFieldGet(this, _nbResults);
95
+ return __classPrivateFieldGet(this, _FindResult_nbResults, "f");
98
96
  }
99
97
  get totalPage() {
100
- return __classPrivateFieldGet(this, _totalPage);
98
+ return __classPrivateFieldGet(this, _FindResult_totalPage, "f");
101
99
  }
102
100
  /**
103
101
  * Plain JSON object representation of the result entity.
@@ -113,5 +111,5 @@ class FindResult extends abstractEntity_1.AbstractEntity {
113
111
  }
114
112
  }
115
113
  exports.FindResult = FindResult;
116
- _results = new WeakMap(), _filters = new WeakMap(), _client = new WeakMap(), _postData = new WeakMap(), _parameters = new WeakMap(), _currentPage = new WeakMap(), _totalPage = new WeakMap(), _nbResults = new WeakMap();
114
+ _FindResult_results = new WeakMap(), _FindResult_filters = new WeakMap(), _FindResult_client = new WeakMap(), _FindResult_postData = new WeakMap(), _FindResult_parameters = new WeakMap(), _FindResult_currentPage = new WeakMap(), _FindResult_totalPage = new WeakMap(), _FindResult_nbResults = new WeakMap();
117
115
  //# sourceMappingURL=findResult.js.map
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _action, _message, _maxDecrease, _supportedUntil, _suspendDate;
13
+ var _ActionMessagesGetResult_action, _ActionMessagesGetResult_message, _ActionMessagesGetResult_maxDecrease, _ActionMessagesGetResult_supportedUntil, _ActionMessagesGetResult_suspendDate;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.ActionMessagesGetResult = exports.ActionMessagesGetResultFields = void 0;
18
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -27,31 +25,31 @@ var ActionMessagesGetResultFields;
27
25
  class ActionMessagesGetResult extends abstractEntity_1.AbstractEntity {
28
26
  constructor(data) {
29
27
  super(data);
30
- _action.set(this, void 0);
31
- _message.set(this, void 0);
32
- _maxDecrease.set(this, void 0);
33
- _supportedUntil.set(this, void 0);
34
- _suspendDate.set(this, void 0);
35
- __classPrivateFieldSet(this, _action, data[ActionMessagesGetResultFields.COLUMN_ACTION]);
36
- __classPrivateFieldSet(this, _message, data[ActionMessagesGetResultFields.COLUMN_MESSAGE]);
37
- __classPrivateFieldSet(this, _maxDecrease, data[ActionMessagesGetResultFields.COLUMN_MAX_DECREASE]);
38
- __classPrivateFieldSet(this, _supportedUntil, data[ActionMessagesGetResultFields.COLUMN_SUPPORTED_UNTIL]);
39
- __classPrivateFieldSet(this, _suspendDate, data[ActionMessagesGetResultFields.COLUMN_SUSPEND_DATE]);
28
+ _ActionMessagesGetResult_action.set(this, void 0);
29
+ _ActionMessagesGetResult_message.set(this, void 0);
30
+ _ActionMessagesGetResult_maxDecrease.set(this, void 0);
31
+ _ActionMessagesGetResult_supportedUntil.set(this, void 0);
32
+ _ActionMessagesGetResult_suspendDate.set(this, void 0);
33
+ __classPrivateFieldSet(this, _ActionMessagesGetResult_action, data[ActionMessagesGetResultFields.COLUMN_ACTION], "f");
34
+ __classPrivateFieldSet(this, _ActionMessagesGetResult_message, data[ActionMessagesGetResultFields.COLUMN_MESSAGE], "f");
35
+ __classPrivateFieldSet(this, _ActionMessagesGetResult_maxDecrease, data[ActionMessagesGetResultFields.COLUMN_MAX_DECREASE], "f");
36
+ __classPrivateFieldSet(this, _ActionMessagesGetResult_supportedUntil, data[ActionMessagesGetResultFields.COLUMN_SUPPORTED_UNTIL], "f");
37
+ __classPrivateFieldSet(this, _ActionMessagesGetResult_suspendDate, data[ActionMessagesGetResultFields.COLUMN_SUSPEND_DATE], "f");
40
38
  }
41
39
  get action() {
42
- return __classPrivateFieldGet(this, _action);
40
+ return __classPrivateFieldGet(this, _ActionMessagesGetResult_action, "f");
43
41
  }
44
42
  get message() {
45
- return __classPrivateFieldGet(this, _message);
43
+ return __classPrivateFieldGet(this, _ActionMessagesGetResult_message, "f");
46
44
  }
47
45
  get maxDecrease() {
48
- return __classPrivateFieldGet(this, _maxDecrease);
46
+ return __classPrivateFieldGet(this, _ActionMessagesGetResult_maxDecrease, "f");
49
47
  }
50
48
  get supportedUntil() {
51
- return __classPrivateFieldGet(this, _supportedUntil);
49
+ return __classPrivateFieldGet(this, _ActionMessagesGetResult_supportedUntil, "f");
52
50
  }
53
51
  get suspendDate() {
54
- return __classPrivateFieldGet(this, _suspendDate);
52
+ return __classPrivateFieldGet(this, _ActionMessagesGetResult_suspendDate, "f");
55
53
  }
56
54
  toJSON() {
57
55
  return {
@@ -65,5 +63,5 @@ class ActionMessagesGetResult extends abstractEntity_1.AbstractEntity {
65
63
  }
66
64
  }
67
65
  exports.ActionMessagesGetResult = ActionMessagesGetResult;
68
- _action = new WeakMap(), _message = new WeakMap(), _maxDecrease = new WeakMap(), _supportedUntil = new WeakMap(), _suspendDate = new WeakMap();
66
+ _ActionMessagesGetResult_action = new WeakMap(), _ActionMessagesGetResult_message = new WeakMap(), _ActionMessagesGetResult_maxDecrease = new WeakMap(), _ActionMessagesGetResult_supportedUntil = new WeakMap(), _ActionMessagesGetResult_suspendDate = new WeakMap();
69
67
  //# sourceMappingURL=actionMessagesGetResult.js.map
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _history, _update, _increaseSeats, _decreaseSeats, _addons_catalog, _suspend, _reactivate, _autoRenewOff, _autoRenewOn, _cancel;
13
+ var _ActionsGetResult_history, _ActionsGetResult_update, _ActionsGetResult_increaseSeats, _ActionsGetResult_decreaseSeats, _ActionsGetResult_addons_catalog, _ActionsGetResult_suspend, _ActionsGetResult_reactivate, _ActionsGetResult_autoRenewOff, _ActionsGetResult_autoRenewOn, _ActionsGetResult_cancel;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.ActionsGetResult = exports.ActionsGetFields = void 0;
18
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -32,56 +30,56 @@ var ActionsGetFields;
32
30
  class ActionsGetResult extends abstractEntity_1.AbstractEntity {
33
31
  constructor(data) {
34
32
  super(data);
35
- _history.set(this, void 0);
36
- _update.set(this, void 0);
37
- _increaseSeats.set(this, void 0);
38
- _decreaseSeats.set(this, void 0);
39
- _addons_catalog.set(this, void 0);
40
- _suspend.set(this, void 0);
41
- _reactivate.set(this, void 0);
42
- _autoRenewOff.set(this, void 0);
43
- _autoRenewOn.set(this, void 0);
44
- _cancel.set(this, void 0);
45
- __classPrivateFieldSet(this, _history, data[ActionsGetFields.COLUMN_HISTORY]);
46
- __classPrivateFieldSet(this, _update, data[ActionsGetFields.COLUMN_UPDATE]);
47
- __classPrivateFieldSet(this, _increaseSeats, data[ActionsGetFields.COLUMN_INCREASE_SEATS]);
48
- __classPrivateFieldSet(this, _decreaseSeats, data[ActionsGetFields.COLUMN_DECREASE_SEATS]);
49
- __classPrivateFieldSet(this, _addons_catalog, data[ActionsGetFields.COLUMN_ADDONS_CATALOG]);
50
- __classPrivateFieldSet(this, _suspend, data[ActionsGetFields.COLUMN_SUSPEND]);
51
- __classPrivateFieldSet(this, _reactivate, data[ActionsGetFields.COLUMN_REACTIVATE]);
52
- __classPrivateFieldSet(this, _autoRenewOff, data[ActionsGetFields.COLUMN_AUTO_RENEW_OFF]);
53
- __classPrivateFieldSet(this, _autoRenewOn, data[ActionsGetFields.COLUMN_AUTO_RENEW_ON]);
54
- __classPrivateFieldSet(this, _cancel, data[ActionsGetFields.COLUMN_CANCEL]);
33
+ _ActionsGetResult_history.set(this, void 0);
34
+ _ActionsGetResult_update.set(this, void 0);
35
+ _ActionsGetResult_increaseSeats.set(this, void 0);
36
+ _ActionsGetResult_decreaseSeats.set(this, void 0);
37
+ _ActionsGetResult_addons_catalog.set(this, void 0);
38
+ _ActionsGetResult_suspend.set(this, void 0);
39
+ _ActionsGetResult_reactivate.set(this, void 0);
40
+ _ActionsGetResult_autoRenewOff.set(this, void 0);
41
+ _ActionsGetResult_autoRenewOn.set(this, void 0);
42
+ _ActionsGetResult_cancel.set(this, void 0);
43
+ __classPrivateFieldSet(this, _ActionsGetResult_history, data[ActionsGetFields.COLUMN_HISTORY], "f");
44
+ __classPrivateFieldSet(this, _ActionsGetResult_update, data[ActionsGetFields.COLUMN_UPDATE], "f");
45
+ __classPrivateFieldSet(this, _ActionsGetResult_increaseSeats, data[ActionsGetFields.COLUMN_INCREASE_SEATS], "f");
46
+ __classPrivateFieldSet(this, _ActionsGetResult_decreaseSeats, data[ActionsGetFields.COLUMN_DECREASE_SEATS], "f");
47
+ __classPrivateFieldSet(this, _ActionsGetResult_addons_catalog, data[ActionsGetFields.COLUMN_ADDONS_CATALOG], "f");
48
+ __classPrivateFieldSet(this, _ActionsGetResult_suspend, data[ActionsGetFields.COLUMN_SUSPEND], "f");
49
+ __classPrivateFieldSet(this, _ActionsGetResult_reactivate, data[ActionsGetFields.COLUMN_REACTIVATE], "f");
50
+ __classPrivateFieldSet(this, _ActionsGetResult_autoRenewOff, data[ActionsGetFields.COLUMN_AUTO_RENEW_OFF], "f");
51
+ __classPrivateFieldSet(this, _ActionsGetResult_autoRenewOn, data[ActionsGetFields.COLUMN_AUTO_RENEW_ON], "f");
52
+ __classPrivateFieldSet(this, _ActionsGetResult_cancel, data[ActionsGetFields.COLUMN_CANCEL], "f");
55
53
  }
56
54
  get history() {
57
- return __classPrivateFieldGet(this, _history);
55
+ return __classPrivateFieldGet(this, _ActionsGetResult_history, "f");
58
56
  }
59
57
  get update() {
60
- return __classPrivateFieldGet(this, _update);
58
+ return __classPrivateFieldGet(this, _ActionsGetResult_update, "f");
61
59
  }
62
60
  get increaseSeats() {
63
- return __classPrivateFieldGet(this, _increaseSeats);
61
+ return __classPrivateFieldGet(this, _ActionsGetResult_increaseSeats, "f");
64
62
  }
65
63
  get decreaseSeats() {
66
- return __classPrivateFieldGet(this, _decreaseSeats);
64
+ return __classPrivateFieldGet(this, _ActionsGetResult_decreaseSeats, "f");
67
65
  }
68
66
  get addonsCatalog() {
69
- return __classPrivateFieldGet(this, _addons_catalog);
67
+ return __classPrivateFieldGet(this, _ActionsGetResult_addons_catalog, "f");
70
68
  }
71
69
  get suspend() {
72
- return __classPrivateFieldGet(this, _suspend);
70
+ return __classPrivateFieldGet(this, _ActionsGetResult_suspend, "f");
73
71
  }
74
72
  get reactivate() {
75
- return __classPrivateFieldGet(this, _reactivate);
73
+ return __classPrivateFieldGet(this, _ActionsGetResult_reactivate, "f");
76
74
  }
77
75
  get autoRenewOff() {
78
- return __classPrivateFieldGet(this, _autoRenewOff);
76
+ return __classPrivateFieldGet(this, _ActionsGetResult_autoRenewOff, "f");
79
77
  }
80
78
  get autoRenewOn() {
81
- return __classPrivateFieldGet(this, _autoRenewOn);
79
+ return __classPrivateFieldGet(this, _ActionsGetResult_autoRenewOn, "f");
82
80
  }
83
81
  get cancel() {
84
- return __classPrivateFieldGet(this, _cancel);
82
+ return __classPrivateFieldGet(this, _ActionsGetResult_cancel, "f");
85
83
  }
86
84
  toJSON() {
87
85
  return {
@@ -99,5 +97,5 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
99
97
  }
100
98
  }
101
99
  exports.ActionsGetResult = ActionsGetResult;
102
- _history = new WeakMap(), _update = new WeakMap(), _increaseSeats = new WeakMap(), _decreaseSeats = new WeakMap(), _addons_catalog = new WeakMap(), _suspend = new WeakMap(), _reactivate = new WeakMap(), _autoRenewOff = new WeakMap(), _autoRenewOn = new WeakMap(), _cancel = new WeakMap();
100
+ _ActionsGetResult_history = new WeakMap(), _ActionsGetResult_update = new WeakMap(), _ActionsGetResult_increaseSeats = new WeakMap(), _ActionsGetResult_decreaseSeats = new WeakMap(), _ActionsGetResult_addons_catalog = new WeakMap(), _ActionsGetResult_suspend = new WeakMap(), _ActionsGetResult_reactivate = new WeakMap(), _ActionsGetResult_autoRenewOff = new WeakMap(), _ActionsGetResult_autoRenewOn = new WeakMap(), _ActionsGetResult_cancel = new WeakMap();
103
101
  //# sourceMappingURL=actionsGetResult.js.map
@@ -1,18 +1,16 @@
1
1
  "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
3
- if (!privateMap.has(receiver)) {
4
- throw new TypeError("attempted to set private field on non-instance");
5
- }
6
- privateMap.set(receiver, value);
7
- return value;
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
8
7
  };
9
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) {
10
- if (!privateMap.has(receiver)) {
11
- throw new TypeError("attempted to get private field on non-instance");
12
- }
13
- return privateMap.get(receiver);
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
14
12
  };
15
- var _buy, _sell;
13
+ var _BuySellFindResult_buy, _BuySellFindResult_sell;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.BuySellFindResult = exports.BuySellFields = void 0;
18
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -24,16 +22,16 @@ var BuySellFields;
24
22
  class BuySellFindResult extends abstractEntity_1.AbstractEntity {
25
23
  constructor(data) {
26
24
  super(data);
27
- _buy.set(this, void 0);
28
- _sell.set(this, void 0);
29
- __classPrivateFieldSet(this, _buy, data[BuySellFields.COLUMN_BUY]);
30
- __classPrivateFieldSet(this, _sell, data[BuySellFields.COLUMN_SELL]);
25
+ _BuySellFindResult_buy.set(this, void 0);
26
+ _BuySellFindResult_sell.set(this, void 0);
27
+ __classPrivateFieldSet(this, _BuySellFindResult_buy, data[BuySellFields.COLUMN_BUY], "f");
28
+ __classPrivateFieldSet(this, _BuySellFindResult_sell, data[BuySellFields.COLUMN_SELL], "f");
31
29
  }
32
30
  get buy() {
33
- return __classPrivateFieldGet(this, _buy);
31
+ return __classPrivateFieldGet(this, _BuySellFindResult_buy, "f");
34
32
  }
35
33
  get sell() {
36
- return __classPrivateFieldGet(this, _sell);
34
+ return __classPrivateFieldGet(this, _BuySellFindResult_sell, "f");
37
35
  }
38
36
  toJSON() {
39
37
  return {
@@ -43,5 +41,5 @@ class BuySellFindResult extends abstractEntity_1.AbstractEntity {
43
41
  }
44
42
  }
45
43
  exports.BuySellFindResult = BuySellFindResult;
46
- _buy = new WeakMap(), _sell = new WeakMap();
44
+ _BuySellFindResult_buy = new WeakMap(), _BuySellFindResult_sell = new WeakMap();
47
45
  //# sourceMappingURL=buySellFindResult.js.map