@arrowsphere/api-client 3.27.0 → 3.28.0-rc.bdj.3

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 (145) hide show
  1. package/README.md +12 -0
  2. package/build/AbstractHttpClient.d.ts +36 -0
  3. package/build/AbstractHttpClient.js +65 -0
  4. package/build/abstractClient.d.ts +2 -19
  5. package/build/abstractClient.js +3 -22
  6. package/build/abstractEntity.js +14 -16
  7. package/build/abstractGraphQLClient.d.ts +4 -14
  8. package/build/abstractGraphQLClient.js +32 -24
  9. package/build/axiosSingleton.js +2 -2
  10. package/build/campaign/entities/campaign/banners/banners.js +32 -34
  11. package/build/campaign/entities/campaign/campaign.js +51 -53
  12. package/build/campaign/entities/campaign/landingPage/landingPage.js +24 -26
  13. package/build/campaign/entities/campaign/landingPage/landingPageBody.js +35 -37
  14. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +29 -31
  15. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +23 -25
  16. package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +29 -31
  17. package/build/campaign/entities/campaign/rules/rules.js +29 -31
  18. package/build/campaign/entities/campaignAssets/assets/assets.js +17 -19
  19. package/build/campaign/entities/campaignAssets/campaignAssets.js +14 -16
  20. package/build/campaign/entities/v2/campaign/banner/banner.js +32 -34
  21. package/build/campaign/entities/v2/campaign/campaign.js +48 -50
  22. package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +24 -26
  23. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +34 -36
  24. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +20 -22
  25. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +32 -34
  26. package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +32 -34
  27. package/build/campaign/entities/v2/campaignList.js +14 -16
  28. package/build/campaign/index.js +5 -1
  29. package/build/cart/entities/index.js +5 -1
  30. package/build/cart/entities/item.js +26 -28
  31. package/build/cart/entities/itemList.js +14 -16
  32. package/build/cart/index.js +5 -1
  33. package/build/catalog/catalogGraphQLClient.d.ts +2 -0
  34. package/build/catalog/catalogGraphQLClient.js +14 -1
  35. package/build/catalog/index.d.ts +2 -0
  36. package/build/catalog/index.js +7 -1
  37. package/build/catalog/types/catalogGraphQLQueries.d.ts +12 -0
  38. package/build/catalog/types/catalogGraphQLQueries.js +3 -0
  39. package/build/catalog/types/catalogGraphQLSchemas.d.ts +30 -0
  40. package/build/catalog/types/catalogGraphQLSchemas.js +4 -0
  41. package/build/catalog/types/catalogGraphQLTypes.js +1 -0
  42. package/build/catalog/types/queryArguments.d.ts +41 -0
  43. package/build/catalog/types/queryArguments.js +10 -0
  44. package/build/consumption/entities/bi/consumptionBI.js +28 -30
  45. package/build/consumption/entities/bi/period/period.js +17 -19
  46. package/build/consumption/entities/bi/top/top.js +23 -25
  47. package/build/consumption/entities/consumption/consumption.js +17 -19
  48. package/build/consumption/index.js +5 -1
  49. package/build/contact/entities/contact.js +44 -46
  50. package/build/contact/entities/contactCreate.js +14 -16
  51. package/build/contact/entities/contactList.js +14 -16
  52. package/build/contact/index.js +5 -1
  53. package/build/customers/entities/customers/contact/contact.js +29 -31
  54. package/build/customers/entities/customers/customer.js +71 -73
  55. package/build/customers/entities/customers/customerContact/customerContact.js +38 -40
  56. package/build/customers/entities/customers/customerContact/customerContactList.js +14 -16
  57. package/build/customers/entities/customers/details/details.js +29 -31
  58. package/build/customers/entities/dataCustomers.js +14 -16
  59. package/build/customers/entities/dataInvitation.js +29 -31
  60. package/build/customers/entities/invitations/company/company.js +14 -16
  61. package/build/customers/entities/invitations/contact/invitationContact.js +26 -28
  62. package/build/customers/index.js +5 -1
  63. package/build/exception/exception-handlers/HandleHttpExceptionOutput.d.ts +3 -0
  64. package/build/exception/exception-handlers/HandleHttpExceptionOutput.js +3 -0
  65. package/build/exception/exception-handlers/Hooks.d.ts +3 -0
  66. package/build/exception/exception-handlers/Hooks.js +3 -0
  67. package/build/exception/exception-handlers/HttpExceptionHandler.d.ts +10 -0
  68. package/build/exception/exception-handlers/HttpExceptionHandler.js +3 -0
  69. package/build/exception/exception-handlers/index.d.ts +3 -0
  70. package/build/exception/exception-handlers/index.js +20 -0
  71. package/build/exception/index.js +5 -1
  72. package/build/exception/publicApiClientException.d.ts +2 -1
  73. package/build/exception/publicApiClientException.js +2 -1
  74. package/build/general/entities/whoAmI.js +59 -61
  75. package/build/general/index.js +5 -1
  76. package/build/getResult.js +21 -23
  77. package/build/index.d.ts +1 -0
  78. package/build/index.js +6 -1
  79. package/build/licenses/entities/filterFindResult.js +17 -19
  80. package/build/licenses/entities/findResult.js +36 -38
  81. package/build/licenses/entities/getLicense/actionMessagesGetResult.js +26 -28
  82. package/build/licenses/entities/getLicense/actionsGetResult.js +41 -43
  83. package/build/licenses/entities/getLicense/buySellFindResult.js +17 -19
  84. package/build/licenses/entities/getLicense/licenseGetResult.js +105 -107
  85. package/build/licenses/entities/getLicense/licensePriceGetResult.js +20 -22
  86. package/build/licenses/entities/getLicense/orderGetResult.js +17 -19
  87. package/build/licenses/entities/getResult/getLicenseResult.js +14 -16
  88. package/build/licenses/entities/history/actionHistoryResult.js +23 -25
  89. package/build/licenses/entities/history/licenceHistoryResult.js +14 -16
  90. package/build/licenses/entities/license/activeSeatsFindResult.js +17 -19
  91. package/build/licenses/entities/license/configFindResult.js +20 -22
  92. package/build/licenses/entities/license/licenseFindResult.js +134 -136
  93. package/build/licenses/entities/license/priceFindResult.js +26 -28
  94. package/build/licenses/entities/license/warningFindResult.js +17 -19
  95. package/build/licenses/entities/offer/actionFlagsFindResult.js +20 -22
  96. package/build/licenses/entities/offer/offerFindResult.js +32 -34
  97. package/build/licenses/entities/offer/priceBandFindResult.js +35 -37
  98. package/build/licenses/entities/offer/priceband/billingFindResult.js +20 -22
  99. package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +14 -16
  100. package/build/licenses/entities/offer/priceband/identifiersFindResult.js +14 -16
  101. package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +26 -28
  102. package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +20 -22
  103. package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +17 -19
  104. package/build/licenses/index.js +5 -1
  105. package/build/orders/entities/dataListOrders.js +14 -16
  106. package/build/orders/entities/orders/order.js +39 -41
  107. package/build/orders/entities/orders/partner/partner.js +17 -19
  108. package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +14 -16
  109. package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +14 -16
  110. package/build/orders/entities/orders/products/prices/productPrices.js +32 -34
  111. package/build/orders/entities/orders/products/products.js +56 -58
  112. package/build/orders/entities/orders/products/program/productProgram.js +14 -16
  113. package/build/orders/entities/referenceLink.js +17 -19
  114. package/build/orders/index.js +5 -1
  115. package/build/pagination.js +29 -31
  116. package/build/security/index.js +5 -1
  117. package/build/security/register/entity/registrationLink.js +14 -16
  118. package/build/security/register/index.js +5 -1
  119. package/build/security/standards/entities/checks/checks.js +17 -19
  120. package/build/security/standards/entities/checks/securityChecks.js +38 -40
  121. package/build/security/standards/entities/resources/resources.js +26 -28
  122. package/build/security/standards/entities/resources/securityResources.js +17 -19
  123. package/build/security/standards/entities/standards/securityStandards.js +29 -31
  124. package/build/security/standards/entities/standards/standards.js +17 -19
  125. package/build/security/standards/index.js +5 -1
  126. package/build/securityScore/index.d.ts +2 -0
  127. package/build/securityScore/index.js +19 -0
  128. package/build/securityScore/securityScoreGraphQLClient.d.ts +17 -0
  129. package/build/securityScore/securityScoreGraphQLClient.js +35 -0
  130. package/build/securityScore/types/queryArguments.d.ts +108 -0
  131. package/build/securityScore/types/queryArguments.js +93 -0
  132. package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +50 -0
  133. package/build/securityScore/types/securityScoreGraphQLQueries.js +3 -0
  134. package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +173 -0
  135. package/build/securityScore/types/securityScoreGraphQLTypes.js +3 -0
  136. package/build/shared/index.js +5 -1
  137. package/build/subscriptions/entities/subscription.js +56 -58
  138. package/build/subscriptions/entities/subscriptionsListResult.js +39 -41
  139. package/build/subscriptions/index.js +5 -1
  140. package/build/supportCenter/entities/issue/attachment.js +27 -29
  141. package/build/supportCenter/entities/issue/comment.js +29 -31
  142. package/build/supportCenter/entities/issue/issue.js +106 -108
  143. package/build/supportCenter/entities/topic.js +30 -32
  144. package/build/supportCenter/index.js +5 -1
  145. 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 _locations, _roles, _marketplaces, _subscriptions, _resellers, _endCustomers;
13
+ var _Rules_locations, _Rules_roles, _Rules_marketplaces, _Rules_subscriptions, _Rules_resellers, _Rules_endCustomers;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Rules = exports.RulesFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -28,36 +26,36 @@ var RulesFields;
28
26
  class Rules extends abstractEntity_1.AbstractEntity {
29
27
  constructor(rulesInput) {
30
28
  super(rulesInput);
31
- _locations.set(this, void 0);
32
- _roles.set(this, void 0);
33
- _marketplaces.set(this, void 0);
34
- _subscriptions.set(this, void 0);
35
- _resellers.set(this, void 0);
36
- _endCustomers.set(this, void 0);
37
- __classPrivateFieldSet(this, _locations, rulesInput[RulesFields.COLUMN_LOCATIONS]);
38
- __classPrivateFieldSet(this, _roles, rulesInput[RulesFields.COLUMN_ROLES]);
39
- __classPrivateFieldSet(this, _marketplaces, rulesInput[RulesFields.COLUMN_MARKETPLACES]);
40
- __classPrivateFieldSet(this, _subscriptions, rulesInput[RulesFields.COLUMN_SUBSCRIPTIONS]);
41
- __classPrivateFieldSet(this, _resellers, rulesInput[RulesFields.COLUMN_RESELLERS]);
42
- __classPrivateFieldSet(this, _endCustomers, rulesInput[RulesFields.COLUMN_END_CUSTOMERS]);
29
+ _Rules_locations.set(this, void 0);
30
+ _Rules_roles.set(this, void 0);
31
+ _Rules_marketplaces.set(this, void 0);
32
+ _Rules_subscriptions.set(this, void 0);
33
+ _Rules_resellers.set(this, void 0);
34
+ _Rules_endCustomers.set(this, void 0);
35
+ __classPrivateFieldSet(this, _Rules_locations, rulesInput[RulesFields.COLUMN_LOCATIONS], "f");
36
+ __classPrivateFieldSet(this, _Rules_roles, rulesInput[RulesFields.COLUMN_ROLES], "f");
37
+ __classPrivateFieldSet(this, _Rules_marketplaces, rulesInput[RulesFields.COLUMN_MARKETPLACES], "f");
38
+ __classPrivateFieldSet(this, _Rules_subscriptions, rulesInput[RulesFields.COLUMN_SUBSCRIPTIONS], "f");
39
+ __classPrivateFieldSet(this, _Rules_resellers, rulesInput[RulesFields.COLUMN_RESELLERS], "f");
40
+ __classPrivateFieldSet(this, _Rules_endCustomers, rulesInput[RulesFields.COLUMN_END_CUSTOMERS], "f");
43
41
  }
44
42
  get locations() {
45
- return __classPrivateFieldGet(this, _locations);
43
+ return __classPrivateFieldGet(this, _Rules_locations, "f");
46
44
  }
47
45
  get roles() {
48
- return __classPrivateFieldGet(this, _roles);
46
+ return __classPrivateFieldGet(this, _Rules_roles, "f");
49
47
  }
50
48
  get marketplaces() {
51
- return __classPrivateFieldGet(this, _marketplaces);
49
+ return __classPrivateFieldGet(this, _Rules_marketplaces, "f");
52
50
  }
53
51
  get subscriptions() {
54
- return __classPrivateFieldGet(this, _subscriptions);
52
+ return __classPrivateFieldGet(this, _Rules_subscriptions, "f");
55
53
  }
56
54
  get resellers() {
57
- return __classPrivateFieldGet(this, _resellers);
55
+ return __classPrivateFieldGet(this, _Rules_resellers, "f");
58
56
  }
59
57
  get endCustomers() {
60
- return __classPrivateFieldGet(this, _endCustomers);
58
+ return __classPrivateFieldGet(this, _Rules_endCustomers, "f");
61
59
  }
62
60
  toJSON() {
63
61
  return {
@@ -71,5 +69,5 @@ class Rules extends abstractEntity_1.AbstractEntity {
71
69
  }
72
70
  }
73
71
  exports.Rules = Rules;
74
- _locations = new WeakMap(), _roles = new WeakMap(), _marketplaces = new WeakMap(), _subscriptions = new WeakMap(), _resellers = new WeakMap(), _endCustomers = new WeakMap();
72
+ _Rules_locations = new WeakMap(), _Rules_roles = new WeakMap(), _Rules_marketplaces = new WeakMap(), _Rules_subscriptions = new WeakMap(), _Rules_resellers = new WeakMap(), _Rules_endCustomers = new WeakMap();
75
73
  //# sourceMappingURL=rules.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 _uuid, _url;
13
+ var _Assets_uuid, _Assets_url;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Assets = exports.AssetsFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -24,16 +22,16 @@ var AssetsFields;
24
22
  class Assets extends abstractEntity_1.AbstractEntity {
25
23
  constructor(assetsInput) {
26
24
  super(assetsInput);
27
- _uuid.set(this, void 0);
28
- _url.set(this, void 0);
29
- __classPrivateFieldSet(this, _uuid, assetsInput[AssetsFields.COLUMN_UUID]);
30
- __classPrivateFieldSet(this, _url, assetsInput[AssetsFields.COLUMN_URL]);
25
+ _Assets_uuid.set(this, void 0);
26
+ _Assets_url.set(this, void 0);
27
+ __classPrivateFieldSet(this, _Assets_uuid, assetsInput[AssetsFields.COLUMN_UUID], "f");
28
+ __classPrivateFieldSet(this, _Assets_url, assetsInput[AssetsFields.COLUMN_URL], "f");
31
29
  }
32
30
  get uuid() {
33
- return __classPrivateFieldGet(this, _uuid);
31
+ return __classPrivateFieldGet(this, _Assets_uuid, "f");
34
32
  }
35
33
  get url() {
36
- return __classPrivateFieldGet(this, _url);
34
+ return __classPrivateFieldGet(this, _Assets_url, "f");
37
35
  }
38
36
  toJSON() {
39
37
  return {
@@ -43,5 +41,5 @@ class Assets extends abstractEntity_1.AbstractEntity {
43
41
  }
44
42
  }
45
43
  exports.Assets = Assets;
46
- _uuid = new WeakMap(), _url = new WeakMap();
44
+ _Assets_uuid = new WeakMap(), _Assets_url = new WeakMap();
47
45
  //# sourceMappingURL=assets.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 _assets;
13
+ var _CampaignAssets_assets;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.CampaignAssets = exports.CampaignAssetsFields = void 0;
18
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -24,11 +22,11 @@ var CampaignAssetsFields;
24
22
  class CampaignAssets extends abstractEntity_1.AbstractEntity {
25
23
  constructor(CampaignAssetsInput) {
26
24
  super(CampaignAssetsInput);
27
- _assets.set(this, void 0);
28
- __classPrivateFieldSet(this, _assets, CampaignAssetsInput[CampaignAssetsFields.COLUMN_ASSETS].map((asset) => new assets_1.Assets(asset)));
25
+ _CampaignAssets_assets.set(this, void 0);
26
+ __classPrivateFieldSet(this, _CampaignAssets_assets, CampaignAssetsInput[CampaignAssetsFields.COLUMN_ASSETS].map((asset) => new assets_1.Assets(asset)), "f");
29
27
  }
30
28
  get assets() {
31
- return __classPrivateFieldGet(this, _assets);
29
+ return __classPrivateFieldGet(this, _CampaignAssets_assets, "f");
32
30
  }
33
31
  toJSON() {
34
32
  return {
@@ -37,5 +35,5 @@ class CampaignAssets extends abstractEntity_1.AbstractEntity {
37
35
  }
38
36
  }
39
37
  exports.CampaignAssets = CampaignAssets;
40
- _assets = new WeakMap();
38
+ _CampaignAssets_assets = new WeakMap();
41
39
  //# sourceMappingURL=campaignAssets.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 _backgroundImageUuid, _type, _buttonPlacement, _buttonText, _text, _textColor, _backgroundColor;
13
+ var _BannerV2_backgroundImageUuid, _BannerV2_type, _BannerV2_buttonPlacement, _BannerV2_buttonText, _BannerV2_text, _BannerV2_textColor, _BannerV2_backgroundColor;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.BannerV2 = exports.BannerV2Fields = void 0;
18
16
  const abstractEntity_1 = require("../../../../../abstractEntity");
@@ -29,41 +27,41 @@ var BannerV2Fields;
29
27
  class BannerV2 extends abstractEntity_1.AbstractEntity {
30
28
  constructor(bannerInput) {
31
29
  super(bannerInput);
32
- _backgroundImageUuid.set(this, void 0);
33
- _type.set(this, void 0);
34
- _buttonPlacement.set(this, void 0);
35
- _buttonText.set(this, void 0);
36
- _text.set(this, void 0);
37
- _textColor.set(this, void 0);
38
- _backgroundColor.set(this, void 0);
39
- __classPrivateFieldSet(this, _backgroundImageUuid, bannerInput[BannerV2Fields.COLUMN_BACKGROUND_IMAGE_UUID]);
40
- __classPrivateFieldSet(this, _type, bannerInput[BannerV2Fields.COLUMN_TYPE]);
41
- __classPrivateFieldSet(this, _buttonPlacement, bannerInput[BannerV2Fields.COLUMN_BUTTON_PLACEMENT]);
42
- __classPrivateFieldSet(this, _buttonText, bannerInput[BannerV2Fields.COLUMN_BUTTON_TEXT]);
43
- __classPrivateFieldSet(this, _text, bannerInput[BannerV2Fields.COLUMN_TEXT]);
44
- __classPrivateFieldSet(this, _textColor, bannerInput[BannerV2Fields.COLUMN_TEXT_COLOR]);
45
- __classPrivateFieldSet(this, _backgroundColor, bannerInput[BannerV2Fields.COLUMN_BACKGROUND_COLOR]);
30
+ _BannerV2_backgroundImageUuid.set(this, void 0);
31
+ _BannerV2_type.set(this, void 0);
32
+ _BannerV2_buttonPlacement.set(this, void 0);
33
+ _BannerV2_buttonText.set(this, void 0);
34
+ _BannerV2_text.set(this, void 0);
35
+ _BannerV2_textColor.set(this, void 0);
36
+ _BannerV2_backgroundColor.set(this, void 0);
37
+ __classPrivateFieldSet(this, _BannerV2_backgroundImageUuid, bannerInput[BannerV2Fields.COLUMN_BACKGROUND_IMAGE_UUID], "f");
38
+ __classPrivateFieldSet(this, _BannerV2_type, bannerInput[BannerV2Fields.COLUMN_TYPE], "f");
39
+ __classPrivateFieldSet(this, _BannerV2_buttonPlacement, bannerInput[BannerV2Fields.COLUMN_BUTTON_PLACEMENT], "f");
40
+ __classPrivateFieldSet(this, _BannerV2_buttonText, bannerInput[BannerV2Fields.COLUMN_BUTTON_TEXT], "f");
41
+ __classPrivateFieldSet(this, _BannerV2_text, bannerInput[BannerV2Fields.COLUMN_TEXT], "f");
42
+ __classPrivateFieldSet(this, _BannerV2_textColor, bannerInput[BannerV2Fields.COLUMN_TEXT_COLOR], "f");
43
+ __classPrivateFieldSet(this, _BannerV2_backgroundColor, bannerInput[BannerV2Fields.COLUMN_BACKGROUND_COLOR], "f");
46
44
  }
47
45
  get backgroundImageUuid() {
48
- return __classPrivateFieldGet(this, _backgroundImageUuid);
46
+ return __classPrivateFieldGet(this, _BannerV2_backgroundImageUuid, "f");
49
47
  }
50
48
  get backgroundColor() {
51
- return __classPrivateFieldGet(this, _backgroundColor);
49
+ return __classPrivateFieldGet(this, _BannerV2_backgroundColor, "f");
52
50
  }
53
51
  get type() {
54
- return __classPrivateFieldGet(this, _type);
52
+ return __classPrivateFieldGet(this, _BannerV2_type, "f");
55
53
  }
56
54
  get buttonPlacement() {
57
- return __classPrivateFieldGet(this, _buttonPlacement);
55
+ return __classPrivateFieldGet(this, _BannerV2_buttonPlacement, "f");
58
56
  }
59
57
  get buttonText() {
60
- return __classPrivateFieldGet(this, _buttonText);
58
+ return __classPrivateFieldGet(this, _BannerV2_buttonText, "f");
61
59
  }
62
60
  get text() {
63
- return __classPrivateFieldGet(this, _text);
61
+ return __classPrivateFieldGet(this, _BannerV2_text, "f");
64
62
  }
65
63
  get textColor() {
66
- return __classPrivateFieldGet(this, _textColor);
64
+ return __classPrivateFieldGet(this, _BannerV2_textColor, "f");
67
65
  }
68
66
  toJSON() {
69
67
  return {
@@ -78,5 +76,5 @@ class BannerV2 extends abstractEntity_1.AbstractEntity {
78
76
  }
79
77
  }
80
78
  exports.BannerV2 = BannerV2;
81
- _backgroundImageUuid = new WeakMap(), _type = new WeakMap(), _buttonPlacement = new WeakMap(), _buttonText = new WeakMap(), _text = new WeakMap(), _textColor = new WeakMap(), _backgroundColor = new WeakMap();
79
+ _BannerV2_backgroundImageUuid = new WeakMap(), _BannerV2_type = new WeakMap(), _BannerV2_buttonPlacement = new WeakMap(), _BannerV2_buttonText = new WeakMap(), _BannerV2_text = new WeakMap(), _BannerV2_textColor = new WeakMap(), _BannerV2_backgroundColor = new WeakMap();
82
80
  //# sourceMappingURL=banner.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 _reference, _name, _category, _isActivated, _createdAt, _updatedAt, _deletedAt, _rules, _startDate, _endDate, _banner, _landingPage;
13
+ var _CampaignV2_reference, _CampaignV2_name, _CampaignV2_category, _CampaignV2_isActivated, _CampaignV2_createdAt, _CampaignV2_updatedAt, _CampaignV2_deletedAt, _CampaignV2_rules, _CampaignV2_startDate, _CampaignV2_endDate, _CampaignV2_banner, _CampaignV2_landingPage;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.CampaignV2 = exports.CampaignV2Fields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -37,68 +35,68 @@ var CampaignV2Fields;
37
35
  class CampaignV2 extends abstractEntity_1.AbstractEntity {
38
36
  constructor(campaignInput) {
39
37
  super(campaignInput);
40
- _reference.set(this, void 0);
41
- _name.set(this, void 0);
42
- _category.set(this, void 0);
43
- _isActivated.set(this, void 0);
44
- _createdAt.set(this, void 0);
45
- _updatedAt.set(this, void 0);
46
- _deletedAt.set(this, void 0);
47
- _rules.set(this, void 0);
48
- _startDate.set(this, void 0);
49
- _endDate.set(this, void 0);
50
- _banner.set(this, void 0);
51
- _landingPage.set(this, void 0);
52
- __classPrivateFieldSet(this, _reference, campaignInput[CampaignV2Fields.COLUMN_REFERENCE]);
53
- __classPrivateFieldSet(this, _name, campaignInput[CampaignV2Fields.COLUMN_NAME]);
54
- __classPrivateFieldSet(this, _category, campaignInput[CampaignV2Fields.COLUMN_CATEGORY]);
55
- __classPrivateFieldSet(this, _isActivated, campaignInput[CampaignV2Fields.COLUMN_IS_ACTIVATED]);
56
- __classPrivateFieldSet(this, _createdAt, campaignInput[CampaignV2Fields.COLUMN_CREATED_AT]);
57
- __classPrivateFieldSet(this, _updatedAt, campaignInput[CampaignV2Fields.COLUMN_UPDATED_AT]);
58
- __classPrivateFieldSet(this, _deletedAt, campaignInput[CampaignV2Fields.COLUMN_DELETED_AT]);
59
- __classPrivateFieldSet(this, _rules, campaignInput[CampaignV2Fields.COLUMN_RULES]
38
+ _CampaignV2_reference.set(this, void 0);
39
+ _CampaignV2_name.set(this, void 0);
40
+ _CampaignV2_category.set(this, void 0);
41
+ _CampaignV2_isActivated.set(this, void 0);
42
+ _CampaignV2_createdAt.set(this, void 0);
43
+ _CampaignV2_updatedAt.set(this, void 0);
44
+ _CampaignV2_deletedAt.set(this, void 0);
45
+ _CampaignV2_rules.set(this, void 0);
46
+ _CampaignV2_startDate.set(this, void 0);
47
+ _CampaignV2_endDate.set(this, void 0);
48
+ _CampaignV2_banner.set(this, void 0);
49
+ _CampaignV2_landingPage.set(this, void 0);
50
+ __classPrivateFieldSet(this, _CampaignV2_reference, campaignInput[CampaignV2Fields.COLUMN_REFERENCE], "f");
51
+ __classPrivateFieldSet(this, _CampaignV2_name, campaignInput[CampaignV2Fields.COLUMN_NAME], "f");
52
+ __classPrivateFieldSet(this, _CampaignV2_category, campaignInput[CampaignV2Fields.COLUMN_CATEGORY], "f");
53
+ __classPrivateFieldSet(this, _CampaignV2_isActivated, campaignInput[CampaignV2Fields.COLUMN_IS_ACTIVATED], "f");
54
+ __classPrivateFieldSet(this, _CampaignV2_createdAt, campaignInput[CampaignV2Fields.COLUMN_CREATED_AT], "f");
55
+ __classPrivateFieldSet(this, _CampaignV2_updatedAt, campaignInput[CampaignV2Fields.COLUMN_UPDATED_AT], "f");
56
+ __classPrivateFieldSet(this, _CampaignV2_deletedAt, campaignInput[CampaignV2Fields.COLUMN_DELETED_AT], "f");
57
+ __classPrivateFieldSet(this, _CampaignV2_rules, campaignInput[CampaignV2Fields.COLUMN_RULES]
60
58
  ? new rules_1.Rules(campaignInput[CampaignV2Fields.COLUMN_RULES])
61
- : undefined);
62
- __classPrivateFieldSet(this, _startDate, campaignInput[CampaignV2Fields.COLUMN_START_DATE]);
63
- __classPrivateFieldSet(this, _endDate, campaignInput[CampaignV2Fields.COLUMN_END_DATE]);
64
- __classPrivateFieldSet(this, _banner, new banner_1.BannerV2(campaignInput[CampaignV2Fields.COLUMN_BANNER]));
65
- __classPrivateFieldSet(this, _landingPage, new landingPage_1.LandingPageV2(campaignInput[CampaignV2Fields.COLUMN_LANDING_PAGE]));
59
+ : undefined, "f");
60
+ __classPrivateFieldSet(this, _CampaignV2_startDate, campaignInput[CampaignV2Fields.COLUMN_START_DATE], "f");
61
+ __classPrivateFieldSet(this, _CampaignV2_endDate, campaignInput[CampaignV2Fields.COLUMN_END_DATE], "f");
62
+ __classPrivateFieldSet(this, _CampaignV2_banner, new banner_1.BannerV2(campaignInput[CampaignV2Fields.COLUMN_BANNER]), "f");
63
+ __classPrivateFieldSet(this, _CampaignV2_landingPage, new landingPage_1.LandingPageV2(campaignInput[CampaignV2Fields.COLUMN_LANDING_PAGE]), "f");
66
64
  }
67
65
  get reference() {
68
- return __classPrivateFieldGet(this, _reference);
66
+ return __classPrivateFieldGet(this, _CampaignV2_reference, "f");
69
67
  }
70
68
  get name() {
71
- return __classPrivateFieldGet(this, _name);
69
+ return __classPrivateFieldGet(this, _CampaignV2_name, "f");
72
70
  }
73
71
  get category() {
74
- return __classPrivateFieldGet(this, _category);
72
+ return __classPrivateFieldGet(this, _CampaignV2_category, "f");
75
73
  }
76
74
  get isActivated() {
77
- return __classPrivateFieldGet(this, _isActivated);
75
+ return __classPrivateFieldGet(this, _CampaignV2_isActivated, "f");
78
76
  }
79
77
  get createdAt() {
80
- return __classPrivateFieldGet(this, _createdAt);
78
+ return __classPrivateFieldGet(this, _CampaignV2_createdAt, "f");
81
79
  }
82
80
  get updatedAt() {
83
- return __classPrivateFieldGet(this, _updatedAt);
81
+ return __classPrivateFieldGet(this, _CampaignV2_updatedAt, "f");
84
82
  }
85
83
  get deletedAt() {
86
- return __classPrivateFieldGet(this, _deletedAt);
84
+ return __classPrivateFieldGet(this, _CampaignV2_deletedAt, "f");
87
85
  }
88
86
  get rules() {
89
- return __classPrivateFieldGet(this, _rules);
87
+ return __classPrivateFieldGet(this, _CampaignV2_rules, "f");
90
88
  }
91
89
  get startDate() {
92
- return __classPrivateFieldGet(this, _startDate);
90
+ return __classPrivateFieldGet(this, _CampaignV2_startDate, "f");
93
91
  }
94
92
  get endDate() {
95
- return __classPrivateFieldGet(this, _endDate);
93
+ return __classPrivateFieldGet(this, _CampaignV2_endDate, "f");
96
94
  }
97
95
  get banner() {
98
- return __classPrivateFieldGet(this, _banner);
96
+ return __classPrivateFieldGet(this, _CampaignV2_banner, "f");
99
97
  }
100
98
  get landingPage() {
101
- return __classPrivateFieldGet(this, _landingPage);
99
+ return __classPrivateFieldGet(this, _CampaignV2_landingPage, "f");
102
100
  }
103
101
  toJSON() {
104
102
  var _a;
@@ -119,5 +117,5 @@ class CampaignV2 extends abstractEntity_1.AbstractEntity {
119
117
  }
120
118
  }
121
119
  exports.CampaignV2 = CampaignV2;
122
- _reference = new WeakMap(), _name = new WeakMap(), _category = new WeakMap(), _isActivated = new WeakMap(), _createdAt = new WeakMap(), _updatedAt = new WeakMap(), _deletedAt = new WeakMap(), _rules = new WeakMap(), _startDate = new WeakMap(), _endDate = new WeakMap(), _banner = new WeakMap(), _landingPage = new WeakMap();
120
+ _CampaignV2_reference = new WeakMap(), _CampaignV2_name = new WeakMap(), _CampaignV2_category = new WeakMap(), _CampaignV2_isActivated = new WeakMap(), _CampaignV2_createdAt = new WeakMap(), _CampaignV2_updatedAt = new WeakMap(), _CampaignV2_deletedAt = new WeakMap(), _CampaignV2_rules = new WeakMap(), _CampaignV2_startDate = new WeakMap(), _CampaignV2_endDate = new WeakMap(), _CampaignV2_banner = new WeakMap(), _CampaignV2_landingPage = new WeakMap();
123
121
  //# sourceMappingURL=campaign.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 _url, _header, _body, _footer;
13
+ var _LandingPageV2_url, _LandingPageV2_header, _LandingPageV2_body, _LandingPageV2_footer;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.LandingPageV2 = exports.LandingPageV2Fields = void 0;
18
16
  const abstractEntity_1 = require("../../../../../abstractEntity");
@@ -29,28 +27,28 @@ var LandingPageV2Fields;
29
27
  class LandingPageV2 extends abstractEntity_1.AbstractEntity {
30
28
  constructor(landingPageInput) {
31
29
  super(landingPageInput);
32
- _url.set(this, void 0);
33
- _header.set(this, void 0);
34
- _body.set(this, void 0);
35
- _footer.set(this, void 0);
36
- __classPrivateFieldSet(this, _url, landingPageInput[LandingPageV2Fields.COLUMN_URL]);
37
- __classPrivateFieldSet(this, _header, new landingPageHeader_1.LandingPageHeaderV2(landingPageInput[LandingPageV2Fields.COLUMN_HEADER]));
38
- __classPrivateFieldSet(this, _body, new landingPageBody_1.LandingPageBody(landingPageInput[LandingPageV2Fields.COLUMN_BODY]));
39
- __classPrivateFieldSet(this, _footer, landingPageInput[LandingPageV2Fields.COLUMN_FOOTER]
30
+ _LandingPageV2_url.set(this, void 0);
31
+ _LandingPageV2_header.set(this, void 0);
32
+ _LandingPageV2_body.set(this, void 0);
33
+ _LandingPageV2_footer.set(this, void 0);
34
+ __classPrivateFieldSet(this, _LandingPageV2_url, landingPageInput[LandingPageV2Fields.COLUMN_URL], "f");
35
+ __classPrivateFieldSet(this, _LandingPageV2_header, new landingPageHeader_1.LandingPageHeaderV2(landingPageInput[LandingPageV2Fields.COLUMN_HEADER]), "f");
36
+ __classPrivateFieldSet(this, _LandingPageV2_body, new landingPageBody_1.LandingPageBody(landingPageInput[LandingPageV2Fields.COLUMN_BODY]), "f");
37
+ __classPrivateFieldSet(this, _LandingPageV2_footer, landingPageInput[LandingPageV2Fields.COLUMN_FOOTER]
40
38
  ? new landingPageFooter_1.LandingPageFooterV2(landingPageInput[LandingPageV2Fields.COLUMN_FOOTER])
41
- : undefined);
39
+ : undefined, "f");
42
40
  }
43
41
  get url() {
44
- return __classPrivateFieldGet(this, _url);
42
+ return __classPrivateFieldGet(this, _LandingPageV2_url, "f");
45
43
  }
46
44
  get header() {
47
- return __classPrivateFieldGet(this, _header);
45
+ return __classPrivateFieldGet(this, _LandingPageV2_header, "f");
48
46
  }
49
47
  get body() {
50
- return __classPrivateFieldGet(this, _body);
48
+ return __classPrivateFieldGet(this, _LandingPageV2_body, "f");
51
49
  }
52
50
  get footer() {
53
- return __classPrivateFieldGet(this, _footer);
51
+ return __classPrivateFieldGet(this, _LandingPageV2_footer, "f");
54
52
  }
55
53
  toJSON() {
56
54
  var _a;
@@ -63,5 +61,5 @@ class LandingPageV2 extends abstractEntity_1.AbstractEntity {
63
61
  }
64
62
  }
65
63
  exports.LandingPageV2 = LandingPageV2;
66
- _url = new WeakMap(), _header = new WeakMap(), _body = new WeakMap(), _footer = new WeakMap();
64
+ _LandingPageV2_url = new WeakMap(), _LandingPageV2_header = new WeakMap(), _LandingPageV2_body = new WeakMap(), _LandingPageV2_footer = new WeakMap();
67
65
  //# sourceMappingURL=landingPage.js.map