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

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 (134) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/abstractClient.d.ts +8 -1
  3. package/build/abstractEntity.js +16 -14
  4. package/build/axiosSingleton.js +2 -2
  5. package/build/campaign/entities/campaign/banners/banners.js +34 -32
  6. package/build/campaign/entities/campaign/campaign.js +53 -51
  7. package/build/campaign/entities/campaign/landingPage/landingPage.js +26 -24
  8. package/build/campaign/entities/campaign/landingPage/landingPageBody.js +37 -35
  9. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +31 -29
  10. package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +25 -23
  11. package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +31 -29
  12. package/build/campaign/entities/campaign/rules/rules.js +31 -29
  13. package/build/campaign/entities/campaignAssets/assets/assets.js +19 -17
  14. package/build/campaign/entities/campaignAssets/campaignAssets.js +16 -14
  15. package/build/campaign/entities/v2/campaign/banner/banner.js +34 -32
  16. package/build/campaign/entities/v2/campaign/campaign.js +50 -48
  17. package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +26 -24
  18. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +36 -34
  19. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +22 -20
  20. package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +34 -32
  21. package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +34 -32
  22. package/build/campaign/entities/v2/campaignList.js +16 -14
  23. package/build/campaign/index.js +1 -5
  24. package/build/cart/entities/index.js +1 -5
  25. package/build/cart/entities/item.js +28 -26
  26. package/build/cart/entities/itemList.js +16 -14
  27. package/build/cart/index.js +1 -5
  28. package/build/catalog/catalogGraphQLClient.d.ts +0 -2
  29. package/build/catalog/catalogGraphQLClient.js +1 -7
  30. package/build/catalog/index.js +1 -5
  31. package/build/catalog/types/catalogGraphQLTypes.js +0 -1
  32. package/build/consumption/entities/bi/consumptionBI.js +30 -28
  33. package/build/consumption/entities/bi/period/period.js +19 -17
  34. package/build/consumption/entities/bi/top/top.js +25 -23
  35. package/build/consumption/entities/consumption/consumption.js +19 -17
  36. package/build/consumption/index.js +1 -5
  37. package/build/contact/entities/contact.js +46 -44
  38. package/build/contact/entities/contactCreate.js +16 -14
  39. package/build/contact/entities/contactList.js +16 -14
  40. package/build/contact/index.js +1 -5
  41. package/build/customers/entities/customers/contact/contact.js +31 -29
  42. package/build/customers/entities/customers/customer.js +73 -71
  43. package/build/customers/entities/customers/customerContact/customerContact.js +40 -38
  44. package/build/customers/entities/customers/customerContact/customerContactList.js +16 -14
  45. package/build/customers/entities/customers/details/details.js +31 -29
  46. package/build/customers/entities/dataCustomers.js +16 -14
  47. package/build/customers/entities/dataInvitation.js +31 -29
  48. package/build/customers/entities/invitations/company/company.js +16 -14
  49. package/build/customers/entities/invitations/contact/invitationContact.js +28 -26
  50. package/build/customers/index.js +1 -5
  51. package/build/exception/index.js +1 -5
  52. package/build/general/entities/whoAmI.js +61 -59
  53. package/build/general/index.js +1 -5
  54. package/build/getResult.js +23 -21
  55. package/build/index.d.ts +1 -0
  56. package/build/index.js +2 -5
  57. package/build/licenses/entities/filterFindResult.js +19 -17
  58. package/build/licenses/entities/findResult.js +38 -36
  59. package/build/licenses/entities/getLicense/actionMessagesGetResult.js +28 -26
  60. package/build/licenses/entities/getLicense/actionsGetResult.js +43 -41
  61. package/build/licenses/entities/getLicense/buySellFindResult.js +19 -17
  62. package/build/licenses/entities/getLicense/licenseGetResult.js +107 -105
  63. package/build/licenses/entities/getLicense/licensePriceGetResult.js +22 -20
  64. package/build/licenses/entities/getLicense/orderGetResult.js +19 -17
  65. package/build/licenses/entities/getResult/getLicenseResult.js +16 -14
  66. package/build/licenses/entities/history/actionHistoryResult.js +25 -23
  67. package/build/licenses/entities/history/licenceHistoryResult.js +16 -14
  68. package/build/licenses/entities/license/activeSeatsFindResult.js +19 -17
  69. package/build/licenses/entities/license/configFindResult.js +22 -20
  70. package/build/licenses/entities/license/licenseFindResult.js +136 -134
  71. package/build/licenses/entities/license/priceFindResult.js +28 -26
  72. package/build/licenses/entities/license/warningFindResult.js +19 -17
  73. package/build/licenses/entities/offer/actionFlagsFindResult.js +22 -20
  74. package/build/licenses/entities/offer/offerFindResult.js +34 -32
  75. package/build/licenses/entities/offer/priceBandFindResult.js +37 -35
  76. package/build/licenses/entities/offer/priceband/billingFindResult.js +22 -20
  77. package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +16 -14
  78. package/build/licenses/entities/offer/priceband/identifiersFindResult.js +16 -14
  79. package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +28 -26
  80. package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +22 -20
  81. package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +19 -17
  82. package/build/licenses/index.js +1 -5
  83. package/build/orders/entities/dataListOrders.js +16 -14
  84. package/build/orders/entities/orders/order.js +41 -39
  85. package/build/orders/entities/orders/partner/partner.js +19 -17
  86. package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +16 -14
  87. package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +16 -14
  88. package/build/orders/entities/orders/products/prices/productPrices.js +34 -32
  89. package/build/orders/entities/orders/products/products.js +58 -56
  90. package/build/orders/entities/orders/products/program/productProgram.js +16 -14
  91. package/build/orders/entities/referenceLink.js +19 -17
  92. package/build/orders/index.js +1 -5
  93. package/build/pagination.js +31 -29
  94. package/build/publicApiClient.d.ts +2 -0
  95. package/build/publicApiClient.js +7 -0
  96. package/build/security/index.js +1 -5
  97. package/build/security/register/entity/registrationLink.js +16 -14
  98. package/build/security/register/index.js +1 -5
  99. package/build/security/standards/entities/checks/checks.js +19 -17
  100. package/build/security/standards/entities/checks/securityChecks.js +40 -38
  101. package/build/security/standards/entities/resources/resources.js +28 -26
  102. package/build/security/standards/entities/resources/securityResources.js +19 -17
  103. package/build/security/standards/entities/standards/securityStandards.js +31 -29
  104. package/build/security/standards/entities/standards/standards.js +19 -17
  105. package/build/security/standards/index.js +1 -5
  106. package/build/shared/index.js +1 -5
  107. package/build/subscriptions/entities/subscription.js +58 -56
  108. package/build/subscriptions/entities/subscriptionsListResult.js +41 -39
  109. package/build/subscriptions/index.js +1 -5
  110. package/build/supportCenter/entities/issue/attachment.d.ts +29 -0
  111. package/build/supportCenter/entities/issue/attachment.js +76 -0
  112. package/build/supportCenter/entities/issue/comment.d.ts +30 -0
  113. package/build/supportCenter/entities/issue/comment.js +82 -0
  114. package/build/supportCenter/entities/issue/issue.d.ts +142 -0
  115. package/build/supportCenter/entities/issue/issue.js +315 -0
  116. package/build/supportCenter/entities/topic.d.ts +32 -0
  117. package/build/supportCenter/entities/topic.js +83 -0
  118. package/build/supportCenter/index.d.ts +8 -0
  119. package/build/supportCenter/index.js +21 -0
  120. package/build/supportCenter/payloads/attachment.d.ts +6 -0
  121. package/build/supportCenter/payloads/attachment.js +4 -0
  122. package/build/supportCenter/payloads/comment.d.ts +6 -0
  123. package/build/supportCenter/payloads/comment.js +4 -0
  124. package/build/supportCenter/payloads/issue.d.ts +32 -0
  125. package/build/supportCenter/payloads/issue.js +16 -0
  126. package/build/supportCenter/supportCenterClient.d.ts +42 -0
  127. package/build/supportCenter/supportCenterClient.js +68 -0
  128. package/package.json +3 -6
  129. package/build/catalog/types/catalogGraphQLQueries.d.ts +0 -12
  130. package/build/catalog/types/catalogGraphQLQueries.js +0 -3
  131. package/build/catalog/types/catalogGraphQLSchemas.d.ts +0 -30
  132. package/build/catalog/types/catalogGraphQLSchemas.js +0 -4
  133. package/build/catalog/types/queryArguments.d.ts +0 -42
  134. package/build/catalog/types/queryArguments.js +0 -9
@@ -1,16 +1,18 @@
1
1
  "use strict";
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;
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;
7
8
  };
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);
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);
12
14
  };
13
- var _Contact_id, _Contact_companyId, _Contact_reseller, _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_erpId, _Contact_type, _Contact_role, _Contact_status;
15
+ var _id, _companyId, _reseller, _firstname, _lastname, _email, _phone, _erpId, _type, _role, _status;
14
16
  Object.defineProperty(exports, "__esModule", { value: true });
15
17
  exports.Contact = exports.ContactFields = void 0;
16
18
  const abstractEntity_1 = require("../../abstractEntity");
@@ -31,61 +33,61 @@ var ContactFields;
31
33
  class Contact extends abstractEntity_1.AbstractEntity {
32
34
  constructor(contactDataInput) {
33
35
  super(contactDataInput);
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");
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]);
56
58
  }
57
59
  get id() {
58
- return __classPrivateFieldGet(this, _Contact_id, "f");
60
+ return __classPrivateFieldGet(this, _id);
59
61
  }
60
62
  get companyId() {
61
- return __classPrivateFieldGet(this, _Contact_companyId, "f");
63
+ return __classPrivateFieldGet(this, _companyId);
62
64
  }
63
65
  get reseller() {
64
- return __classPrivateFieldGet(this, _Contact_reseller, "f");
66
+ return __classPrivateFieldGet(this, _reseller);
65
67
  }
66
68
  get firstname() {
67
- return __classPrivateFieldGet(this, _Contact_firstname, "f");
69
+ return __classPrivateFieldGet(this, _firstname);
68
70
  }
69
71
  get lastname() {
70
- return __classPrivateFieldGet(this, _Contact_lastname, "f");
72
+ return __classPrivateFieldGet(this, _lastname);
71
73
  }
72
74
  get email() {
73
- return __classPrivateFieldGet(this, _Contact_email, "f");
75
+ return __classPrivateFieldGet(this, _email);
74
76
  }
75
77
  get phone() {
76
- return __classPrivateFieldGet(this, _Contact_phone, "f");
78
+ return __classPrivateFieldGet(this, _phone);
77
79
  }
78
80
  get erpId() {
79
- return __classPrivateFieldGet(this, _Contact_erpId, "f");
81
+ return __classPrivateFieldGet(this, _erpId);
80
82
  }
81
83
  get type() {
82
- return __classPrivateFieldGet(this, _Contact_type, "f");
84
+ return __classPrivateFieldGet(this, _type);
83
85
  }
84
86
  get role() {
85
- return __classPrivateFieldGet(this, _Contact_role, "f");
87
+ return __classPrivateFieldGet(this, _role);
86
88
  }
87
89
  get status() {
88
- return __classPrivateFieldGet(this, _Contact_status, "f");
90
+ return __classPrivateFieldGet(this, _status);
89
91
  }
90
92
  toJSON() {
91
93
  return {
@@ -104,5 +106,5 @@ class Contact extends abstractEntity_1.AbstractEntity {
104
106
  }
105
107
  }
106
108
  exports.Contact = Contact;
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();
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();
108
110
  //# sourceMappingURL=contact.js.map
@@ -1,16 +1,18 @@
1
1
  "use strict";
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;
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;
7
8
  };
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);
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);
12
14
  };
13
- var _ContactCreate_id;
15
+ var _id;
14
16
  Object.defineProperty(exports, "__esModule", { value: true });
15
17
  exports.ContactCreate = exports.ContactCreateFields = void 0;
16
18
  const abstractEntity_1 = require("../../abstractEntity");
@@ -21,11 +23,11 @@ var ContactCreateFields;
21
23
  class ContactCreate extends abstractEntity_1.AbstractEntity {
22
24
  constructor(createContactResponse) {
23
25
  super(createContactResponse);
24
- _ContactCreate_id.set(this, void 0);
25
- __classPrivateFieldSet(this, _ContactCreate_id, createContactResponse[ContactCreateFields.COLUMN_ID], "f");
26
+ _id.set(this, void 0);
27
+ __classPrivateFieldSet(this, _id, createContactResponse[ContactCreateFields.COLUMN_ID]);
26
28
  }
27
29
  get id() {
28
- return __classPrivateFieldGet(this, _ContactCreate_id, "f");
30
+ return __classPrivateFieldGet(this, _id);
29
31
  }
30
32
  toJSON() {
31
33
  return {
@@ -34,5 +36,5 @@ class ContactCreate extends abstractEntity_1.AbstractEntity {
34
36
  }
35
37
  }
36
38
  exports.ContactCreate = ContactCreate;
37
- _ContactCreate_id = new WeakMap();
39
+ _id = new WeakMap();
38
40
  //# sourceMappingURL=contactCreate.js.map
@@ -1,16 +1,18 @@
1
1
  "use strict";
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;
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;
7
8
  };
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);
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);
12
14
  };
13
- var _ContactList_contactList;
15
+ var _contactList;
14
16
  Object.defineProperty(exports, "__esModule", { value: true });
15
17
  exports.ContactList = void 0;
16
18
  const abstractEntity_1 = require("../../abstractEntity");
@@ -18,16 +20,16 @@ const contact_1 = require("./contact");
18
20
  class ContactList extends abstractEntity_1.AbstractEntity {
19
21
  constructor(contactListDataInput) {
20
22
  super(contactListDataInput);
21
- _ContactList_contactList.set(this, void 0);
22
- __classPrivateFieldSet(this, _ContactList_contactList, contactListDataInput.map((contact) => new contact_1.Contact(contact)), "f");
23
+ _contactList.set(this, void 0);
24
+ __classPrivateFieldSet(this, _contactList, contactListDataInput.map((contact) => new contact_1.Contact(contact)));
23
25
  }
24
26
  get contactList() {
25
- return __classPrivateFieldGet(this, _ContactList_contactList, "f");
27
+ return __classPrivateFieldGet(this, _contactList);
26
28
  }
27
29
  toJSON() {
28
30
  return this.contactList.map((contact) => contact.toJSON());
29
31
  }
30
32
  }
31
33
  exports.ContactList = ContactList;
32
- _ContactList_contactList = new WeakMap();
34
+ _contactList = new WeakMap();
33
35
  //# sourceMappingURL=contactList.js.map
@@ -1,11 +1,7 @@
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
- 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);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -1,16 +1,18 @@
1
1
  "use strict";
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;
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;
7
8
  };
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);
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);
12
14
  };
13
- var _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_syncPartnerContactRefId, _Contact_contactPersonId;
15
+ var _firstname, _lastname, _email, _phone, _syncPartnerContactRefId, _contactPersonId;
14
16
  Object.defineProperty(exports, "__esModule", { value: true });
15
17
  exports.Contact = exports.ContactFields = void 0;
16
18
  const abstractEntity_1 = require("../../../../abstractEntity");
@@ -27,36 +29,36 @@ class Contact extends abstractEntity_1.AbstractEntity {
27
29
  constructor(getCustomersContactDataInput) {
28
30
  var _a;
29
31
  super(getCustomersContactDataInput);
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");
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]);
42
44
  }
43
45
  get FirstName() {
44
- return __classPrivateFieldGet(this, _Contact_firstname, "f");
46
+ return __classPrivateFieldGet(this, _firstname);
45
47
  }
46
48
  get LastName() {
47
- return __classPrivateFieldGet(this, _Contact_lastname, "f");
49
+ return __classPrivateFieldGet(this, _lastname);
48
50
  }
49
51
  get Email() {
50
- return __classPrivateFieldGet(this, _Contact_email, "f");
52
+ return __classPrivateFieldGet(this, _email);
51
53
  }
52
54
  get Phone() {
53
- return __classPrivateFieldGet(this, _Contact_phone, "f");
55
+ return __classPrivateFieldGet(this, _phone);
54
56
  }
55
57
  get SyncPartnerContactRefId() {
56
- return __classPrivateFieldGet(this, _Contact_syncPartnerContactRefId, "f");
58
+ return __classPrivateFieldGet(this, _syncPartnerContactRefId);
57
59
  }
58
60
  get ContactPersonID() {
59
- return __classPrivateFieldGet(this, _Contact_contactPersonId, "f");
61
+ return __classPrivateFieldGet(this, _contactPersonId);
60
62
  }
61
63
  toJSON() {
62
64
  return {
@@ -71,5 +73,5 @@ class Contact extends abstractEntity_1.AbstractEntity {
71
73
  }
72
74
  }
73
75
  exports.Contact = Contact;
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();
76
+ _firstname = new WeakMap(), _lastname = new WeakMap(), _email = new WeakMap(), _phone = new WeakMap(), _syncPartnerContactRefId = new WeakMap(), _contactPersonId = new WeakMap();
75
77
  //# sourceMappingURL=contact.js.map
@@ -1,16 +1,18 @@
1
1
  "use strict";
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;
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;
7
8
  };
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);
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);
12
14
  };
13
- var _Customer_reference, _Customer_companyName, _Customer_partnerCompanyId, _Customer_addressLine1, _Customer_addressLine2, _Customer_zip, _Customer_city, _Customer_countryCode, _Customer_state, _Customer_receptionPhone, _Customer_websiteUrl, _Customer_emailContact, _Customer_headcount, _Customer_taxNumber, _Customer_ref, _Customer_billingId, _Customer_internalReference, _Customer_contact, _Customer_details, _Customer_deletedAt;
15
+ var _reference, _companyName, _partnerCompanyId, _addressLine1, _addressLine2, _zip, _city, _countryCode, _state, _receptionPhone, _websiteUrl, _emailContact, _headcount, _taxNumber, _ref, _billingId, _internalReference, _contact, _details, _deletedAt;
14
16
  Object.defineProperty(exports, "__esModule", { value: true });
15
17
  exports.Customer = exports.CustomerFields = void 0;
16
18
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -42,106 +44,106 @@ var CustomerFields;
42
44
  class Customer extends abstractEntity_1.AbstractEntity {
43
45
  constructor(getCustomersDataInput) {
44
46
  super(getCustomersDataInput);
45
- _Customer_reference.set(this, void 0);
46
- _Customer_companyName.set(this, void 0);
47
- _Customer_partnerCompanyId.set(this, void 0);
48
- _Customer_addressLine1.set(this, void 0);
49
- _Customer_addressLine2.set(this, void 0);
50
- _Customer_zip.set(this, void 0);
51
- _Customer_city.set(this, void 0);
52
- _Customer_countryCode.set(this, void 0);
53
- _Customer_state.set(this, void 0);
54
- _Customer_receptionPhone.set(this, void 0);
55
- _Customer_websiteUrl.set(this, void 0);
56
- _Customer_emailContact.set(this, void 0);
57
- _Customer_headcount.set(this, void 0);
58
- _Customer_taxNumber.set(this, void 0);
59
- _Customer_ref.set(this, void 0);
60
- _Customer_billingId.set(this, void 0);
61
- _Customer_internalReference.set(this, void 0);
62
- _Customer_contact.set(this, void 0);
63
- _Customer_details.set(this, void 0);
64
- _Customer_deletedAt.set(this, void 0);
65
- __classPrivateFieldSet(this, _Customer_reference, getCustomersDataInput[CustomerFields.COLUMN_REFERENCE], "f");
66
- __classPrivateFieldSet(this, _Customer_companyName, getCustomersDataInput[CustomerFields.COLUMN_COMPANY_NAME], "f");
67
- __classPrivateFieldSet(this, _Customer_partnerCompanyId, getCustomersDataInput[CustomerFields.COLUMN_PARTNER_COMPANY_ID], "f");
68
- __classPrivateFieldSet(this, _Customer_addressLine1, getCustomersDataInput[CustomerFields.COLUMN_ADDRESS_LINE_1], "f");
69
- __classPrivateFieldSet(this, _Customer_addressLine2, getCustomersDataInput[CustomerFields.COLUMN_ADDRESS_LINE_2], "f");
70
- __classPrivateFieldSet(this, _Customer_zip, getCustomersDataInput[CustomerFields.COLUMN_ZIP], "f");
71
- __classPrivateFieldSet(this, _Customer_city, getCustomersDataInput[CustomerFields.COLUMN_CITY], "f");
72
- __classPrivateFieldSet(this, _Customer_countryCode, getCustomersDataInput[CustomerFields.COLUMN_COUNTRY_CODE], "f");
73
- __classPrivateFieldSet(this, _Customer_state, getCustomersDataInput[CustomerFields.COLUMN_STATE], "f");
74
- __classPrivateFieldSet(this, _Customer_receptionPhone, getCustomersDataInput[CustomerFields.COLUMN_RECEPTION_PHONE], "f");
75
- __classPrivateFieldSet(this, _Customer_websiteUrl, getCustomersDataInput[CustomerFields.COLUMN_WEBSITE_URL], "f");
76
- __classPrivateFieldSet(this, _Customer_emailContact, getCustomersDataInput[CustomerFields.COLUMN_EMAIL_CONTACT], "f");
77
- __classPrivateFieldSet(this, _Customer_headcount, getCustomersDataInput[CustomerFields.COLUMN_HEADCOUNT], "f");
78
- __classPrivateFieldSet(this, _Customer_taxNumber, getCustomersDataInput[CustomerFields.COLUMN_TAX_NUMBER], "f");
79
- __classPrivateFieldSet(this, _Customer_ref, getCustomersDataInput[CustomerFields.COLUMN_REF], "f");
80
- __classPrivateFieldSet(this, _Customer_billingId, getCustomersDataInput[CustomerFields.COLUMN_BILLING_ID], "f");
81
- __classPrivateFieldSet(this, _Customer_internalReference, getCustomersDataInput[CustomerFields.COLUMN_INTERNAL_REFERENCE], "f");
82
- __classPrivateFieldSet(this, _Customer_contact, new contact_1.Contact(getCustomersDataInput[CustomerFields.COLUMN_CONTACT]), "f");
83
- __classPrivateFieldSet(this, _Customer_details, new details_1.Details(getCustomersDataInput[CustomerFields.COLUMN_DETAILS]), "f");
84
- __classPrivateFieldSet(this, _Customer_deletedAt, getCustomersDataInput[CustomerFields.COLUMN_DELETED_AT], "f");
47
+ _reference.set(this, void 0);
48
+ _companyName.set(this, void 0);
49
+ _partnerCompanyId.set(this, void 0);
50
+ _addressLine1.set(this, void 0);
51
+ _addressLine2.set(this, void 0);
52
+ _zip.set(this, void 0);
53
+ _city.set(this, void 0);
54
+ _countryCode.set(this, void 0);
55
+ _state.set(this, void 0);
56
+ _receptionPhone.set(this, void 0);
57
+ _websiteUrl.set(this, void 0);
58
+ _emailContact.set(this, void 0);
59
+ _headcount.set(this, void 0);
60
+ _taxNumber.set(this, void 0);
61
+ _ref.set(this, void 0);
62
+ _billingId.set(this, void 0);
63
+ _internalReference.set(this, void 0);
64
+ _contact.set(this, void 0);
65
+ _details.set(this, void 0);
66
+ _deletedAt.set(this, void 0);
67
+ __classPrivateFieldSet(this, _reference, getCustomersDataInput[CustomerFields.COLUMN_REFERENCE]);
68
+ __classPrivateFieldSet(this, _companyName, getCustomersDataInput[CustomerFields.COLUMN_COMPANY_NAME]);
69
+ __classPrivateFieldSet(this, _partnerCompanyId, getCustomersDataInput[CustomerFields.COLUMN_PARTNER_COMPANY_ID]);
70
+ __classPrivateFieldSet(this, _addressLine1, getCustomersDataInput[CustomerFields.COLUMN_ADDRESS_LINE_1]);
71
+ __classPrivateFieldSet(this, _addressLine2, getCustomersDataInput[CustomerFields.COLUMN_ADDRESS_LINE_2]);
72
+ __classPrivateFieldSet(this, _zip, getCustomersDataInput[CustomerFields.COLUMN_ZIP]);
73
+ __classPrivateFieldSet(this, _city, getCustomersDataInput[CustomerFields.COLUMN_CITY]);
74
+ __classPrivateFieldSet(this, _countryCode, getCustomersDataInput[CustomerFields.COLUMN_COUNTRY_CODE]);
75
+ __classPrivateFieldSet(this, _state, getCustomersDataInput[CustomerFields.COLUMN_STATE]);
76
+ __classPrivateFieldSet(this, _receptionPhone, getCustomersDataInput[CustomerFields.COLUMN_RECEPTION_PHONE]);
77
+ __classPrivateFieldSet(this, _websiteUrl, getCustomersDataInput[CustomerFields.COLUMN_WEBSITE_URL]);
78
+ __classPrivateFieldSet(this, _emailContact, getCustomersDataInput[CustomerFields.COLUMN_EMAIL_CONTACT]);
79
+ __classPrivateFieldSet(this, _headcount, getCustomersDataInput[CustomerFields.COLUMN_HEADCOUNT]);
80
+ __classPrivateFieldSet(this, _taxNumber, getCustomersDataInput[CustomerFields.COLUMN_TAX_NUMBER]);
81
+ __classPrivateFieldSet(this, _ref, getCustomersDataInput[CustomerFields.COLUMN_REF]);
82
+ __classPrivateFieldSet(this, _billingId, getCustomersDataInput[CustomerFields.COLUMN_BILLING_ID]);
83
+ __classPrivateFieldSet(this, _internalReference, getCustomersDataInput[CustomerFields.COLUMN_INTERNAL_REFERENCE]);
84
+ __classPrivateFieldSet(this, _contact, new contact_1.Contact(getCustomersDataInput[CustomerFields.COLUMN_CONTACT]));
85
+ __classPrivateFieldSet(this, _details, new details_1.Details(getCustomersDataInput[CustomerFields.COLUMN_DETAILS]));
86
+ __classPrivateFieldSet(this, _deletedAt, getCustomersDataInput[CustomerFields.COLUMN_DELETED_AT]);
85
87
  }
86
88
  get Reference() {
87
- return __classPrivateFieldGet(this, _Customer_reference, "f");
89
+ return __classPrivateFieldGet(this, _reference);
88
90
  }
89
91
  get CompanyName() {
90
- return __classPrivateFieldGet(this, _Customer_companyName, "f");
92
+ return __classPrivateFieldGet(this, _companyName);
91
93
  }
92
94
  get PartnerCompanyId() {
93
- return __classPrivateFieldGet(this, _Customer_partnerCompanyId, "f");
95
+ return __classPrivateFieldGet(this, _partnerCompanyId);
94
96
  }
95
97
  get AddressLine1() {
96
- return __classPrivateFieldGet(this, _Customer_addressLine1, "f");
98
+ return __classPrivateFieldGet(this, _addressLine1);
97
99
  }
98
100
  get AddressLine2() {
99
- return __classPrivateFieldGet(this, _Customer_addressLine2, "f");
101
+ return __classPrivateFieldGet(this, _addressLine2);
100
102
  }
101
103
  get Zip() {
102
- return __classPrivateFieldGet(this, _Customer_zip, "f");
104
+ return __classPrivateFieldGet(this, _zip);
103
105
  }
104
106
  get City() {
105
- return __classPrivateFieldGet(this, _Customer_city, "f");
107
+ return __classPrivateFieldGet(this, _city);
106
108
  }
107
109
  get CountryCode() {
108
- return __classPrivateFieldGet(this, _Customer_countryCode, "f");
110
+ return __classPrivateFieldGet(this, _countryCode);
109
111
  }
110
112
  get State() {
111
- return __classPrivateFieldGet(this, _Customer_state, "f");
113
+ return __classPrivateFieldGet(this, _state);
112
114
  }
113
115
  get ReceptionPhone() {
114
- return __classPrivateFieldGet(this, _Customer_receptionPhone, "f");
116
+ return __classPrivateFieldGet(this, _receptionPhone);
115
117
  }
116
118
  get WebsiteUrl() {
117
- return __classPrivateFieldGet(this, _Customer_websiteUrl, "f");
119
+ return __classPrivateFieldGet(this, _websiteUrl);
118
120
  }
119
121
  get EmailContact() {
120
- return __classPrivateFieldGet(this, _Customer_emailContact, "f");
122
+ return __classPrivateFieldGet(this, _emailContact);
121
123
  }
122
124
  get Headcount() {
123
- return __classPrivateFieldGet(this, _Customer_headcount, "f");
125
+ return __classPrivateFieldGet(this, _headcount);
124
126
  }
125
127
  get TaxNumber() {
126
- return __classPrivateFieldGet(this, _Customer_taxNumber, "f");
128
+ return __classPrivateFieldGet(this, _taxNumber);
127
129
  }
128
130
  get Ref() {
129
- return __classPrivateFieldGet(this, _Customer_ref, "f");
131
+ return __classPrivateFieldGet(this, _ref);
130
132
  }
131
133
  get BillingId() {
132
- return __classPrivateFieldGet(this, _Customer_billingId, "f");
134
+ return __classPrivateFieldGet(this, _billingId);
133
135
  }
134
136
  get InternalReference() {
135
- return __classPrivateFieldGet(this, _Customer_internalReference, "f");
137
+ return __classPrivateFieldGet(this, _internalReference);
136
138
  }
137
139
  get Contact() {
138
- return __classPrivateFieldGet(this, _Customer_contact, "f");
140
+ return __classPrivateFieldGet(this, _contact);
139
141
  }
140
142
  get Details() {
141
- return __classPrivateFieldGet(this, _Customer_details, "f");
143
+ return __classPrivateFieldGet(this, _details);
142
144
  }
143
145
  get DeletedAt() {
144
- return __classPrivateFieldGet(this, _Customer_deletedAt, "f");
146
+ return __classPrivateFieldGet(this, _deletedAt);
145
147
  }
146
148
  toJSON() {
147
149
  return {
@@ -169,5 +171,5 @@ class Customer extends abstractEntity_1.AbstractEntity {
169
171
  }
170
172
  }
171
173
  exports.Customer = Customer;
172
- _Customer_reference = new WeakMap(), _Customer_companyName = new WeakMap(), _Customer_partnerCompanyId = new WeakMap(), _Customer_addressLine1 = new WeakMap(), _Customer_addressLine2 = new WeakMap(), _Customer_zip = new WeakMap(), _Customer_city = new WeakMap(), _Customer_countryCode = new WeakMap(), _Customer_state = new WeakMap(), _Customer_receptionPhone = new WeakMap(), _Customer_websiteUrl = new WeakMap(), _Customer_emailContact = new WeakMap(), _Customer_headcount = new WeakMap(), _Customer_taxNumber = new WeakMap(), _Customer_ref = new WeakMap(), _Customer_billingId = new WeakMap(), _Customer_internalReference = new WeakMap(), _Customer_contact = new WeakMap(), _Customer_details = new WeakMap(), _Customer_deletedAt = new WeakMap();
174
+ _reference = new WeakMap(), _companyName = new WeakMap(), _partnerCompanyId = new WeakMap(), _addressLine1 = new WeakMap(), _addressLine2 = new WeakMap(), _zip = new WeakMap(), _city = new WeakMap(), _countryCode = new WeakMap(), _state = new WeakMap(), _receptionPhone = new WeakMap(), _websiteUrl = new WeakMap(), _emailContact = new WeakMap(), _headcount = new WeakMap(), _taxNumber = new WeakMap(), _ref = new WeakMap(), _billingId = new WeakMap(), _internalReference = new WeakMap(), _contact = new WeakMap(), _details = new WeakMap(), _deletedAt = new WeakMap();
173
175
  //# sourceMappingURL=customer.js.map