@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 _headers, _lines;
13
+ var _Consumption_headers, _Consumption_lines;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Consumption = exports.ConsumptionFields = void 0;
18
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -24,16 +22,16 @@ var ConsumptionFields;
24
22
  class Consumption extends abstractEntity_1.AbstractEntity {
25
23
  constructor(consumptionResponse) {
26
24
  super(consumptionResponse);
27
- _headers.set(this, void 0);
28
- _lines.set(this, void 0);
29
- __classPrivateFieldSet(this, _headers, consumptionResponse[ConsumptionFields.COLUMN_HEADERS]);
30
- __classPrivateFieldSet(this, _lines, consumptionResponse[ConsumptionFields.COLUMN_LINES]);
25
+ _Consumption_headers.set(this, void 0);
26
+ _Consumption_lines.set(this, void 0);
27
+ __classPrivateFieldSet(this, _Consumption_headers, consumptionResponse[ConsumptionFields.COLUMN_HEADERS], "f");
28
+ __classPrivateFieldSet(this, _Consumption_lines, consumptionResponse[ConsumptionFields.COLUMN_LINES], "f");
31
29
  }
32
30
  get headers() {
33
- return __classPrivateFieldGet(this, _headers);
31
+ return __classPrivateFieldGet(this, _Consumption_headers, "f");
34
32
  }
35
33
  get lines() {
36
- return __classPrivateFieldGet(this, _lines);
34
+ return __classPrivateFieldGet(this, _Consumption_lines, "f");
37
35
  }
38
36
  toJSON() {
39
37
  return {
@@ -43,5 +41,5 @@ class Consumption extends abstractEntity_1.AbstractEntity {
43
41
  }
44
42
  }
45
43
  exports.Consumption = Consumption;
46
- _headers = new WeakMap(), _lines = new WeakMap();
44
+ _Consumption_headers = new WeakMap(), _Consumption_lines = new WeakMap();
47
45
  //# sourceMappingURL=consumption.js.map
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -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 _id, _companyId, _reseller, _firstname, _lastname, _email, _phone, _erpId, _type, _role, _status;
13
+ var _Contact_id, _Contact_companyId, _Contact_reseller, _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_erpId, _Contact_type, _Contact_role, _Contact_status;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Contact = exports.ContactFields = void 0;
18
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -33,61 +31,61 @@ var ContactFields;
33
31
  class Contact extends abstractEntity_1.AbstractEntity {
34
32
  constructor(contactDataInput) {
35
33
  super(contactDataInput);
36
- _id.set(this, void 0);
37
- _companyId.set(this, void 0);
38
- _reseller.set(this, void 0);
39
- _firstname.set(this, void 0);
40
- _lastname.set(this, void 0);
41
- _email.set(this, void 0);
42
- _phone.set(this, void 0);
43
- _erpId.set(this, void 0);
44
- _type.set(this, void 0);
45
- _role.set(this, void 0);
46
- _status.set(this, void 0);
47
- __classPrivateFieldSet(this, _id, contactDataInput[ContactFields.COLUMN_ID]);
48
- __classPrivateFieldSet(this, _companyId, contactDataInput[ContactFields.COLUMN_COMPANY_ID]);
49
- __classPrivateFieldSet(this, _reseller, contactDataInput[ContactFields.COLUMN_RESELLER]);
50
- __classPrivateFieldSet(this, _firstname, contactDataInput[ContactFields.COLUMN_FIRSTNAME]);
51
- __classPrivateFieldSet(this, _lastname, contactDataInput[ContactFields.COLUMN_LASTNAME]);
52
- __classPrivateFieldSet(this, _email, contactDataInput[ContactFields.COLUMN_EMAIL]);
53
- __classPrivateFieldSet(this, _phone, contactDataInput[ContactFields.COLUMN_PHONE]);
54
- __classPrivateFieldSet(this, _erpId, contactDataInput[ContactFields.COLUMN_ERP_ID]);
55
- __classPrivateFieldSet(this, _type, contactDataInput[ContactFields.COLUMN_TYPE]);
56
- __classPrivateFieldSet(this, _role, contactDataInput[ContactFields.COLUMN_ROLE]);
57
- __classPrivateFieldSet(this, _status, contactDataInput[ContactFields.COLUMN_STATUS]);
34
+ _Contact_id.set(this, void 0);
35
+ _Contact_companyId.set(this, void 0);
36
+ _Contact_reseller.set(this, void 0);
37
+ _Contact_firstname.set(this, void 0);
38
+ _Contact_lastname.set(this, void 0);
39
+ _Contact_email.set(this, void 0);
40
+ _Contact_phone.set(this, void 0);
41
+ _Contact_erpId.set(this, void 0);
42
+ _Contact_type.set(this, void 0);
43
+ _Contact_role.set(this, void 0);
44
+ _Contact_status.set(this, void 0);
45
+ __classPrivateFieldSet(this, _Contact_id, contactDataInput[ContactFields.COLUMN_ID], "f");
46
+ __classPrivateFieldSet(this, _Contact_companyId, contactDataInput[ContactFields.COLUMN_COMPANY_ID], "f");
47
+ __classPrivateFieldSet(this, _Contact_reseller, contactDataInput[ContactFields.COLUMN_RESELLER], "f");
48
+ __classPrivateFieldSet(this, _Contact_firstname, contactDataInput[ContactFields.COLUMN_FIRSTNAME], "f");
49
+ __classPrivateFieldSet(this, _Contact_lastname, contactDataInput[ContactFields.COLUMN_LASTNAME], "f");
50
+ __classPrivateFieldSet(this, _Contact_email, contactDataInput[ContactFields.COLUMN_EMAIL], "f");
51
+ __classPrivateFieldSet(this, _Contact_phone, contactDataInput[ContactFields.COLUMN_PHONE], "f");
52
+ __classPrivateFieldSet(this, _Contact_erpId, contactDataInput[ContactFields.COLUMN_ERP_ID], "f");
53
+ __classPrivateFieldSet(this, _Contact_type, contactDataInput[ContactFields.COLUMN_TYPE], "f");
54
+ __classPrivateFieldSet(this, _Contact_role, contactDataInput[ContactFields.COLUMN_ROLE], "f");
55
+ __classPrivateFieldSet(this, _Contact_status, contactDataInput[ContactFields.COLUMN_STATUS], "f");
58
56
  }
59
57
  get id() {
60
- return __classPrivateFieldGet(this, _id);
58
+ return __classPrivateFieldGet(this, _Contact_id, "f");
61
59
  }
62
60
  get companyId() {
63
- return __classPrivateFieldGet(this, _companyId);
61
+ return __classPrivateFieldGet(this, _Contact_companyId, "f");
64
62
  }
65
63
  get reseller() {
66
- return __classPrivateFieldGet(this, _reseller);
64
+ return __classPrivateFieldGet(this, _Contact_reseller, "f");
67
65
  }
68
66
  get firstname() {
69
- return __classPrivateFieldGet(this, _firstname);
67
+ return __classPrivateFieldGet(this, _Contact_firstname, "f");
70
68
  }
71
69
  get lastname() {
72
- return __classPrivateFieldGet(this, _lastname);
70
+ return __classPrivateFieldGet(this, _Contact_lastname, "f");
73
71
  }
74
72
  get email() {
75
- return __classPrivateFieldGet(this, _email);
73
+ return __classPrivateFieldGet(this, _Contact_email, "f");
76
74
  }
77
75
  get phone() {
78
- return __classPrivateFieldGet(this, _phone);
76
+ return __classPrivateFieldGet(this, _Contact_phone, "f");
79
77
  }
80
78
  get erpId() {
81
- return __classPrivateFieldGet(this, _erpId);
79
+ return __classPrivateFieldGet(this, _Contact_erpId, "f");
82
80
  }
83
81
  get type() {
84
- return __classPrivateFieldGet(this, _type);
82
+ return __classPrivateFieldGet(this, _Contact_type, "f");
85
83
  }
86
84
  get role() {
87
- return __classPrivateFieldGet(this, _role);
85
+ return __classPrivateFieldGet(this, _Contact_role, "f");
88
86
  }
89
87
  get status() {
90
- return __classPrivateFieldGet(this, _status);
88
+ return __classPrivateFieldGet(this, _Contact_status, "f");
91
89
  }
92
90
  toJSON() {
93
91
  return {
@@ -106,5 +104,5 @@ class Contact extends abstractEntity_1.AbstractEntity {
106
104
  }
107
105
  }
108
106
  exports.Contact = Contact;
109
- _id = new WeakMap(), _companyId = new WeakMap(), _reseller = new WeakMap(), _firstname = new WeakMap(), _lastname = new WeakMap(), _email = new WeakMap(), _phone = new WeakMap(), _erpId = new WeakMap(), _type = new WeakMap(), _role = new WeakMap(), _status = new WeakMap();
107
+ _Contact_id = new WeakMap(), _Contact_companyId = new WeakMap(), _Contact_reseller = new WeakMap(), _Contact_firstname = new WeakMap(), _Contact_lastname = new WeakMap(), _Contact_email = new WeakMap(), _Contact_phone = new WeakMap(), _Contact_erpId = new WeakMap(), _Contact_type = new WeakMap(), _Contact_role = new WeakMap(), _Contact_status = new WeakMap();
110
108
  //# sourceMappingURL=contact.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 _id;
13
+ var _ContactCreate_id;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.ContactCreate = exports.ContactCreateFields = void 0;
18
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -23,11 +21,11 @@ var ContactCreateFields;
23
21
  class ContactCreate extends abstractEntity_1.AbstractEntity {
24
22
  constructor(createContactResponse) {
25
23
  super(createContactResponse);
26
- _id.set(this, void 0);
27
- __classPrivateFieldSet(this, _id, createContactResponse[ContactCreateFields.COLUMN_ID]);
24
+ _ContactCreate_id.set(this, void 0);
25
+ __classPrivateFieldSet(this, _ContactCreate_id, createContactResponse[ContactCreateFields.COLUMN_ID], "f");
28
26
  }
29
27
  get id() {
30
- return __classPrivateFieldGet(this, _id);
28
+ return __classPrivateFieldGet(this, _ContactCreate_id, "f");
31
29
  }
32
30
  toJSON() {
33
31
  return {
@@ -36,5 +34,5 @@ class ContactCreate extends abstractEntity_1.AbstractEntity {
36
34
  }
37
35
  }
38
36
  exports.ContactCreate = ContactCreate;
39
- _id = new WeakMap();
37
+ _ContactCreate_id = new WeakMap();
40
38
  //# sourceMappingURL=contactCreate.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 _contactList;
13
+ var _ContactList_contactList;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.ContactList = void 0;
18
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -20,16 +18,16 @@ const contact_1 = require("./contact");
20
18
  class ContactList extends abstractEntity_1.AbstractEntity {
21
19
  constructor(contactListDataInput) {
22
20
  super(contactListDataInput);
23
- _contactList.set(this, void 0);
24
- __classPrivateFieldSet(this, _contactList, contactListDataInput.map((contact) => new contact_1.Contact(contact)));
21
+ _ContactList_contactList.set(this, void 0);
22
+ __classPrivateFieldSet(this, _ContactList_contactList, contactListDataInput.map((contact) => new contact_1.Contact(contact)), "f");
25
23
  }
26
24
  get contactList() {
27
- return __classPrivateFieldGet(this, _contactList);
25
+ return __classPrivateFieldGet(this, _ContactList_contactList, "f");
28
26
  }
29
27
  toJSON() {
30
28
  return this.contactList.map((contact) => contact.toJSON());
31
29
  }
32
30
  }
33
31
  exports.ContactList = ContactList;
34
- _contactList = new WeakMap();
32
+ _ContactList_contactList = new WeakMap();
35
33
  //# sourceMappingURL=contactList.js.map
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -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 _firstname, _lastname, _email, _phone, _syncPartnerContactRefId, _contactPersonId;
13
+ var _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_syncPartnerContactRefId, _Contact_contactPersonId;
16
14
  Object.defineProperty(exports, "__esModule", { value: true });
17
15
  exports.Contact = exports.ContactFields = void 0;
18
16
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -29,36 +27,36 @@ class Contact extends abstractEntity_1.AbstractEntity {
29
27
  constructor(getCustomersContactDataInput) {
30
28
  var _a;
31
29
  super(getCustomersContactDataInput);
32
- _firstname.set(this, void 0);
33
- _lastname.set(this, void 0);
34
- _email.set(this, void 0);
35
- _phone.set(this, void 0);
36
- _syncPartnerContactRefId.set(this, void 0);
37
- _contactPersonId.set(this, void 0);
38
- __classPrivateFieldSet(this, _firstname, getCustomersContactDataInput[ContactFields.COLUMN_FIRSTNAME]);
39
- __classPrivateFieldSet(this, _lastname, getCustomersContactDataInput[ContactFields.COLUMN_LASTNAME]);
40
- __classPrivateFieldSet(this, _email, getCustomersContactDataInput[ContactFields.COLUMN_EMAIL]);
41
- __classPrivateFieldSet(this, _phone, getCustomersContactDataInput[ContactFields.COLUMN_PHONE]);
42
- __classPrivateFieldSet(this, _syncPartnerContactRefId, (_a = getCustomersContactDataInput[ContactFields.COLUMN_SYNC_PARTNER_CONTACT_REF_ID]) !== null && _a !== void 0 ? _a : undefined);
43
- __classPrivateFieldSet(this, _contactPersonId, getCustomersContactDataInput[ContactFields.COLUMN_CONTACT_PERSON_ID]);
30
+ _Contact_firstname.set(this, void 0);
31
+ _Contact_lastname.set(this, void 0);
32
+ _Contact_email.set(this, void 0);
33
+ _Contact_phone.set(this, void 0);
34
+ _Contact_syncPartnerContactRefId.set(this, void 0);
35
+ _Contact_contactPersonId.set(this, void 0);
36
+ __classPrivateFieldSet(this, _Contact_firstname, getCustomersContactDataInput[ContactFields.COLUMN_FIRSTNAME], "f");
37
+ __classPrivateFieldSet(this, _Contact_lastname, getCustomersContactDataInput[ContactFields.COLUMN_LASTNAME], "f");
38
+ __classPrivateFieldSet(this, _Contact_email, getCustomersContactDataInput[ContactFields.COLUMN_EMAIL], "f");
39
+ __classPrivateFieldSet(this, _Contact_phone, getCustomersContactDataInput[ContactFields.COLUMN_PHONE], "f");
40
+ __classPrivateFieldSet(this, _Contact_syncPartnerContactRefId, (_a = getCustomersContactDataInput[ContactFields.COLUMN_SYNC_PARTNER_CONTACT_REF_ID]) !== null && _a !== void 0 ? _a : undefined, "f");
41
+ __classPrivateFieldSet(this, _Contact_contactPersonId, getCustomersContactDataInput[ContactFields.COLUMN_CONTACT_PERSON_ID], "f");
44
42
  }
45
43
  get FirstName() {
46
- return __classPrivateFieldGet(this, _firstname);
44
+ return __classPrivateFieldGet(this, _Contact_firstname, "f");
47
45
  }
48
46
  get LastName() {
49
- return __classPrivateFieldGet(this, _lastname);
47
+ return __classPrivateFieldGet(this, _Contact_lastname, "f");
50
48
  }
51
49
  get Email() {
52
- return __classPrivateFieldGet(this, _email);
50
+ return __classPrivateFieldGet(this, _Contact_email, "f");
53
51
  }
54
52
  get Phone() {
55
- return __classPrivateFieldGet(this, _phone);
53
+ return __classPrivateFieldGet(this, _Contact_phone, "f");
56
54
  }
57
55
  get SyncPartnerContactRefId() {
58
- return __classPrivateFieldGet(this, _syncPartnerContactRefId);
56
+ return __classPrivateFieldGet(this, _Contact_syncPartnerContactRefId, "f");
59
57
  }
60
58
  get ContactPersonID() {
61
- return __classPrivateFieldGet(this, _contactPersonId);
59
+ return __classPrivateFieldGet(this, _Contact_contactPersonId, "f");
62
60
  }
63
61
  toJSON() {
64
62
  return {
@@ -73,5 +71,5 @@ class Contact extends abstractEntity_1.AbstractEntity {
73
71
  }
74
72
  }
75
73
  exports.Contact = Contact;
76
- _firstname = new WeakMap(), _lastname = new WeakMap(), _email = new WeakMap(), _phone = new WeakMap(), _syncPartnerContactRefId = new WeakMap(), _contactPersonId = new WeakMap();
74
+ _Contact_firstname = new WeakMap(), _Contact_lastname = new WeakMap(), _Contact_email = new WeakMap(), _Contact_phone = new WeakMap(), _Contact_syncPartnerContactRefId = new WeakMap(), _Contact_contactPersonId = new WeakMap();
77
75
  //# sourceMappingURL=contact.js.map