@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.
- package/README.md +12 -0
- package/build/AbstractHttpClient.d.ts +36 -0
- package/build/AbstractHttpClient.js +65 -0
- package/build/abstractClient.d.ts +2 -19
- package/build/abstractClient.js +3 -22
- package/build/abstractEntity.js +14 -16
- package/build/abstractGraphQLClient.d.ts +4 -14
- package/build/abstractGraphQLClient.js +32 -24
- package/build/axiosSingleton.js +2 -2
- package/build/campaign/entities/campaign/banners/banners.js +32 -34
- package/build/campaign/entities/campaign/campaign.js +51 -53
- package/build/campaign/entities/campaign/landingPage/landingPage.js +24 -26
- package/build/campaign/entities/campaign/landingPage/landingPageBody.js +35 -37
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +29 -31
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +23 -25
- package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +29 -31
- package/build/campaign/entities/campaign/rules/rules.js +29 -31
- package/build/campaign/entities/campaignAssets/assets/assets.js +17 -19
- package/build/campaign/entities/campaignAssets/campaignAssets.js +14 -16
- package/build/campaign/entities/v2/campaign/banner/banner.js +32 -34
- package/build/campaign/entities/v2/campaign/campaign.js +48 -50
- package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +24 -26
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +34 -36
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +20 -22
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +32 -34
- package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +32 -34
- package/build/campaign/entities/v2/campaignList.js +14 -16
- package/build/campaign/index.js +5 -1
- package/build/cart/entities/index.js +5 -1
- package/build/cart/entities/item.js +26 -28
- package/build/cart/entities/itemList.js +14 -16
- package/build/cart/index.js +5 -1
- package/build/catalog/catalogGraphQLClient.d.ts +2 -0
- package/build/catalog/catalogGraphQLClient.js +14 -1
- package/build/catalog/index.d.ts +2 -0
- package/build/catalog/index.js +7 -1
- package/build/catalog/types/catalogGraphQLQueries.d.ts +12 -0
- package/build/catalog/types/catalogGraphQLQueries.js +3 -0
- package/build/catalog/types/catalogGraphQLSchemas.d.ts +30 -0
- package/build/catalog/types/catalogGraphQLSchemas.js +4 -0
- package/build/catalog/types/catalogGraphQLTypes.js +1 -0
- package/build/catalog/types/queryArguments.d.ts +41 -0
- package/build/catalog/types/queryArguments.js +10 -0
- package/build/consumption/entities/bi/consumptionBI.js +28 -30
- package/build/consumption/entities/bi/period/period.js +17 -19
- package/build/consumption/entities/bi/top/top.js +23 -25
- package/build/consumption/entities/consumption/consumption.js +17 -19
- package/build/consumption/index.js +5 -1
- package/build/contact/entities/contact.js +44 -46
- package/build/contact/entities/contactCreate.js +14 -16
- package/build/contact/entities/contactList.js +14 -16
- package/build/contact/index.js +5 -1
- package/build/customers/entities/customers/contact/contact.js +29 -31
- package/build/customers/entities/customers/customer.js +71 -73
- package/build/customers/entities/customers/customerContact/customerContact.js +38 -40
- package/build/customers/entities/customers/customerContact/customerContactList.js +14 -16
- package/build/customers/entities/customers/details/details.js +29 -31
- package/build/customers/entities/dataCustomers.js +14 -16
- package/build/customers/entities/dataInvitation.js +29 -31
- package/build/customers/entities/invitations/company/company.js +14 -16
- package/build/customers/entities/invitations/contact/invitationContact.js +26 -28
- package/build/customers/index.js +5 -1
- package/build/exception/exception-handlers/HandleHttpExceptionOutput.d.ts +3 -0
- package/build/exception/exception-handlers/HandleHttpExceptionOutput.js +3 -0
- package/build/exception/exception-handlers/Hooks.d.ts +3 -0
- package/build/exception/exception-handlers/Hooks.js +3 -0
- package/build/exception/exception-handlers/HttpExceptionHandler.d.ts +10 -0
- package/build/exception/exception-handlers/HttpExceptionHandler.js +3 -0
- package/build/exception/exception-handlers/index.d.ts +3 -0
- package/build/exception/exception-handlers/index.js +20 -0
- package/build/exception/index.js +5 -1
- package/build/exception/publicApiClientException.d.ts +2 -1
- package/build/exception/publicApiClientException.js +2 -1
- package/build/general/entities/whoAmI.js +59 -61
- package/build/general/index.js +5 -1
- package/build/getResult.js +21 -23
- package/build/index.d.ts +1 -0
- package/build/index.js +6 -1
- package/build/licenses/entities/filterFindResult.js +17 -19
- package/build/licenses/entities/findResult.js +36 -38
- package/build/licenses/entities/getLicense/actionMessagesGetResult.js +26 -28
- package/build/licenses/entities/getLicense/actionsGetResult.js +41 -43
- package/build/licenses/entities/getLicense/buySellFindResult.js +17 -19
- package/build/licenses/entities/getLicense/licenseGetResult.js +105 -107
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +20 -22
- package/build/licenses/entities/getLicense/orderGetResult.js +17 -19
- package/build/licenses/entities/getResult/getLicenseResult.js +14 -16
- package/build/licenses/entities/history/actionHistoryResult.js +23 -25
- package/build/licenses/entities/history/licenceHistoryResult.js +14 -16
- package/build/licenses/entities/license/activeSeatsFindResult.js +17 -19
- package/build/licenses/entities/license/configFindResult.js +20 -22
- package/build/licenses/entities/license/licenseFindResult.js +134 -136
- package/build/licenses/entities/license/priceFindResult.js +26 -28
- package/build/licenses/entities/license/warningFindResult.js +17 -19
- package/build/licenses/entities/offer/actionFlagsFindResult.js +20 -22
- package/build/licenses/entities/offer/offerFindResult.js +32 -34
- package/build/licenses/entities/offer/priceBandFindResult.js +35 -37
- package/build/licenses/entities/offer/priceband/billingFindResult.js +20 -22
- package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +14 -16
- package/build/licenses/entities/offer/priceband/identifiersFindResult.js +14 -16
- package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +26 -28
- package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +20 -22
- package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +17 -19
- package/build/licenses/index.js +5 -1
- package/build/orders/entities/dataListOrders.js +14 -16
- package/build/orders/entities/orders/order.js +39 -41
- package/build/orders/entities/orders/partner/partner.js +17 -19
- package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +14 -16
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +14 -16
- package/build/orders/entities/orders/products/prices/productPrices.js +32 -34
- package/build/orders/entities/orders/products/products.js +56 -58
- package/build/orders/entities/orders/products/program/productProgram.js +14 -16
- package/build/orders/entities/referenceLink.js +17 -19
- package/build/orders/index.js +5 -1
- package/build/pagination.js +29 -31
- package/build/security/index.js +5 -1
- package/build/security/register/entity/registrationLink.js +14 -16
- package/build/security/register/index.js +5 -1
- package/build/security/standards/entities/checks/checks.js +17 -19
- package/build/security/standards/entities/checks/securityChecks.js +38 -40
- package/build/security/standards/entities/resources/resources.js +26 -28
- package/build/security/standards/entities/resources/securityResources.js +17 -19
- package/build/security/standards/entities/standards/securityStandards.js +29 -31
- package/build/security/standards/entities/standards/standards.js +17 -19
- package/build/security/standards/index.js +5 -1
- package/build/securityScore/index.d.ts +2 -0
- package/build/securityScore/index.js +19 -0
- package/build/securityScore/securityScoreGraphQLClient.d.ts +17 -0
- package/build/securityScore/securityScoreGraphQLClient.js +35 -0
- package/build/securityScore/types/queryArguments.d.ts +108 -0
- package/build/securityScore/types/queryArguments.js +93 -0
- package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +50 -0
- package/build/securityScore/types/securityScoreGraphQLQueries.js +3 -0
- package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +173 -0
- package/build/securityScore/types/securityScoreGraphQLTypes.js +3 -0
- package/build/shared/index.js +5 -1
- package/build/subscriptions/entities/subscription.js +56 -58
- package/build/subscriptions/entities/subscriptionsListResult.js +39 -41
- package/build/subscriptions/index.js +5 -1
- package/build/supportCenter/entities/issue/attachment.js +27 -29
- package/build/supportCenter/entities/issue/comment.js +29 -31
- package/build/supportCenter/entities/issue/issue.js +106 -108
- package/build/supportCenter/entities/topic.js +30 -32
- package/build/supportCenter/index.js +5 -1
- package/package.json +5 -3
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
27
|
-
__classPrivateFieldSet(this,
|
|
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,
|
|
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
|
-
|
|
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,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
24
|
-
__classPrivateFieldSet(this,
|
|
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,
|
|
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
|
-
|
|
32
|
+
_ContactList_contactList = new WeakMap();
|
|
35
33
|
//# sourceMappingURL=contactList.js.map
|
package/build/contact/index.js
CHANGED
|
@@ -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.
|
|
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,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
__classPrivateFieldSet(this,
|
|
39
|
-
__classPrivateFieldSet(this,
|
|
40
|
-
__classPrivateFieldSet(this,
|
|
41
|
-
__classPrivateFieldSet(this,
|
|
42
|
-
__classPrivateFieldSet(this,
|
|
43
|
-
__classPrivateFieldSet(this,
|
|
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,
|
|
44
|
+
return __classPrivateFieldGet(this, _Contact_firstname, "f");
|
|
47
45
|
}
|
|
48
46
|
get LastName() {
|
|
49
|
-
return __classPrivateFieldGet(this,
|
|
47
|
+
return __classPrivateFieldGet(this, _Contact_lastname, "f");
|
|
50
48
|
}
|
|
51
49
|
get Email() {
|
|
52
|
-
return __classPrivateFieldGet(this,
|
|
50
|
+
return __classPrivateFieldGet(this, _Contact_email, "f");
|
|
53
51
|
}
|
|
54
52
|
get Phone() {
|
|
55
|
-
return __classPrivateFieldGet(this,
|
|
53
|
+
return __classPrivateFieldGet(this, _Contact_phone, "f");
|
|
56
54
|
}
|
|
57
55
|
get SyncPartnerContactRefId() {
|
|
58
|
-
return __classPrivateFieldGet(this,
|
|
56
|
+
return __classPrivateFieldGet(this, _Contact_syncPartnerContactRefId, "f");
|
|
59
57
|
}
|
|
60
58
|
get ContactPersonID() {
|
|
61
|
-
return __classPrivateFieldGet(this,
|
|
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
|
-
|
|
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
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
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
|
|
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;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.Customer = exports.CustomerFields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -44,106 +42,106 @@ var CustomerFields;
|
|
|
44
42
|
class Customer extends abstractEntity_1.AbstractEntity {
|
|
45
43
|
constructor(getCustomersDataInput) {
|
|
46
44
|
super(getCustomersDataInput);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
__classPrivateFieldSet(this,
|
|
68
|
-
__classPrivateFieldSet(this,
|
|
69
|
-
__classPrivateFieldSet(this,
|
|
70
|
-
__classPrivateFieldSet(this,
|
|
71
|
-
__classPrivateFieldSet(this,
|
|
72
|
-
__classPrivateFieldSet(this,
|
|
73
|
-
__classPrivateFieldSet(this,
|
|
74
|
-
__classPrivateFieldSet(this,
|
|
75
|
-
__classPrivateFieldSet(this,
|
|
76
|
-
__classPrivateFieldSet(this,
|
|
77
|
-
__classPrivateFieldSet(this,
|
|
78
|
-
__classPrivateFieldSet(this,
|
|
79
|
-
__classPrivateFieldSet(this,
|
|
80
|
-
__classPrivateFieldSet(this,
|
|
81
|
-
__classPrivateFieldSet(this,
|
|
82
|
-
__classPrivateFieldSet(this,
|
|
83
|
-
__classPrivateFieldSet(this,
|
|
84
|
-
__classPrivateFieldSet(this,
|
|
85
|
-
__classPrivateFieldSet(this,
|
|
86
|
-
__classPrivateFieldSet(this,
|
|
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");
|
|
87
85
|
}
|
|
88
86
|
get Reference() {
|
|
89
|
-
return __classPrivateFieldGet(this,
|
|
87
|
+
return __classPrivateFieldGet(this, _Customer_reference, "f");
|
|
90
88
|
}
|
|
91
89
|
get CompanyName() {
|
|
92
|
-
return __classPrivateFieldGet(this,
|
|
90
|
+
return __classPrivateFieldGet(this, _Customer_companyName, "f");
|
|
93
91
|
}
|
|
94
92
|
get PartnerCompanyId() {
|
|
95
|
-
return __classPrivateFieldGet(this,
|
|
93
|
+
return __classPrivateFieldGet(this, _Customer_partnerCompanyId, "f");
|
|
96
94
|
}
|
|
97
95
|
get AddressLine1() {
|
|
98
|
-
return __classPrivateFieldGet(this,
|
|
96
|
+
return __classPrivateFieldGet(this, _Customer_addressLine1, "f");
|
|
99
97
|
}
|
|
100
98
|
get AddressLine2() {
|
|
101
|
-
return __classPrivateFieldGet(this,
|
|
99
|
+
return __classPrivateFieldGet(this, _Customer_addressLine2, "f");
|
|
102
100
|
}
|
|
103
101
|
get Zip() {
|
|
104
|
-
return __classPrivateFieldGet(this,
|
|
102
|
+
return __classPrivateFieldGet(this, _Customer_zip, "f");
|
|
105
103
|
}
|
|
106
104
|
get City() {
|
|
107
|
-
return __classPrivateFieldGet(this,
|
|
105
|
+
return __classPrivateFieldGet(this, _Customer_city, "f");
|
|
108
106
|
}
|
|
109
107
|
get CountryCode() {
|
|
110
|
-
return __classPrivateFieldGet(this,
|
|
108
|
+
return __classPrivateFieldGet(this, _Customer_countryCode, "f");
|
|
111
109
|
}
|
|
112
110
|
get State() {
|
|
113
|
-
return __classPrivateFieldGet(this,
|
|
111
|
+
return __classPrivateFieldGet(this, _Customer_state, "f");
|
|
114
112
|
}
|
|
115
113
|
get ReceptionPhone() {
|
|
116
|
-
return __classPrivateFieldGet(this,
|
|
114
|
+
return __classPrivateFieldGet(this, _Customer_receptionPhone, "f");
|
|
117
115
|
}
|
|
118
116
|
get WebsiteUrl() {
|
|
119
|
-
return __classPrivateFieldGet(this,
|
|
117
|
+
return __classPrivateFieldGet(this, _Customer_websiteUrl, "f");
|
|
120
118
|
}
|
|
121
119
|
get EmailContact() {
|
|
122
|
-
return __classPrivateFieldGet(this,
|
|
120
|
+
return __classPrivateFieldGet(this, _Customer_emailContact, "f");
|
|
123
121
|
}
|
|
124
122
|
get Headcount() {
|
|
125
|
-
return __classPrivateFieldGet(this,
|
|
123
|
+
return __classPrivateFieldGet(this, _Customer_headcount, "f");
|
|
126
124
|
}
|
|
127
125
|
get TaxNumber() {
|
|
128
|
-
return __classPrivateFieldGet(this,
|
|
126
|
+
return __classPrivateFieldGet(this, _Customer_taxNumber, "f");
|
|
129
127
|
}
|
|
130
128
|
get Ref() {
|
|
131
|
-
return __classPrivateFieldGet(this,
|
|
129
|
+
return __classPrivateFieldGet(this, _Customer_ref, "f");
|
|
132
130
|
}
|
|
133
131
|
get BillingId() {
|
|
134
|
-
return __classPrivateFieldGet(this,
|
|
132
|
+
return __classPrivateFieldGet(this, _Customer_billingId, "f");
|
|
135
133
|
}
|
|
136
134
|
get InternalReference() {
|
|
137
|
-
return __classPrivateFieldGet(this,
|
|
135
|
+
return __classPrivateFieldGet(this, _Customer_internalReference, "f");
|
|
138
136
|
}
|
|
139
137
|
get Contact() {
|
|
140
|
-
return __classPrivateFieldGet(this,
|
|
138
|
+
return __classPrivateFieldGet(this, _Customer_contact, "f");
|
|
141
139
|
}
|
|
142
140
|
get Details() {
|
|
143
|
-
return __classPrivateFieldGet(this,
|
|
141
|
+
return __classPrivateFieldGet(this, _Customer_details, "f");
|
|
144
142
|
}
|
|
145
143
|
get DeletedAt() {
|
|
146
|
-
return __classPrivateFieldGet(this,
|
|
144
|
+
return __classPrivateFieldGet(this, _Customer_deletedAt, "f");
|
|
147
145
|
}
|
|
148
146
|
toJSON() {
|
|
149
147
|
return {
|
|
@@ -171,5 +169,5 @@ class Customer extends abstractEntity_1.AbstractEntity {
|
|
|
171
169
|
}
|
|
172
170
|
}
|
|
173
171
|
exports.Customer = Customer;
|
|
174
|
-
|
|
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();
|
|
175
173
|
//# sourceMappingURL=customer.js.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
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
|
|
13
|
+
var _CustomerContact_reference, _CustomerContact_firstName, _CustomerContact_lastName, _CustomerContact_email, _CustomerContact_phone, _CustomerContact_username, _CustomerContact_type, _CustomerContact_role, _CustomerContact_isActive;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.CustomerContact = exports.CustomerContactFields = exports.CustomerContactTypeEnum = exports.CustomerContactRoleEnum = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
@@ -46,51 +44,51 @@ var CustomerContactFields;
|
|
|
46
44
|
class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
47
45
|
constructor(getCustomerContactDataInput) {
|
|
48
46
|
super(getCustomerContactDataInput);
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
__classPrivateFieldSet(this,
|
|
59
|
-
__classPrivateFieldSet(this,
|
|
60
|
-
__classPrivateFieldSet(this,
|
|
61
|
-
__classPrivateFieldSet(this,
|
|
62
|
-
__classPrivateFieldSet(this,
|
|
63
|
-
__classPrivateFieldSet(this,
|
|
64
|
-
__classPrivateFieldSet(this,
|
|
65
|
-
__classPrivateFieldSet(this,
|
|
66
|
-
__classPrivateFieldSet(this,
|
|
47
|
+
_CustomerContact_reference.set(this, void 0);
|
|
48
|
+
_CustomerContact_firstName.set(this, void 0);
|
|
49
|
+
_CustomerContact_lastName.set(this, void 0);
|
|
50
|
+
_CustomerContact_email.set(this, void 0);
|
|
51
|
+
_CustomerContact_phone.set(this, void 0);
|
|
52
|
+
_CustomerContact_username.set(this, void 0);
|
|
53
|
+
_CustomerContact_type.set(this, void 0);
|
|
54
|
+
_CustomerContact_role.set(this, void 0);
|
|
55
|
+
_CustomerContact_isActive.set(this, void 0);
|
|
56
|
+
__classPrivateFieldSet(this, _CustomerContact_reference, getCustomerContactDataInput[CustomerContactFields.COLUMN_REFERENCE], "f");
|
|
57
|
+
__classPrivateFieldSet(this, _CustomerContact_firstName, getCustomerContactDataInput[CustomerContactFields.COLUMN_FIRST_NAME], "f");
|
|
58
|
+
__classPrivateFieldSet(this, _CustomerContact_lastName, getCustomerContactDataInput[CustomerContactFields.COLUMN_LAST_NAME], "f");
|
|
59
|
+
__classPrivateFieldSet(this, _CustomerContact_email, getCustomerContactDataInput[CustomerContactFields.COLUMN_EMAIL], "f");
|
|
60
|
+
__classPrivateFieldSet(this, _CustomerContact_phone, getCustomerContactDataInput[CustomerContactFields.COLUMN_PHONE], "f");
|
|
61
|
+
__classPrivateFieldSet(this, _CustomerContact_username, getCustomerContactDataInput[CustomerContactFields.COLUMN_USERNAME], "f");
|
|
62
|
+
__classPrivateFieldSet(this, _CustomerContact_type, getCustomerContactDataInput[CustomerContactFields.COLUMN_TYPE], "f");
|
|
63
|
+
__classPrivateFieldSet(this, _CustomerContact_role, getCustomerContactDataInput[CustomerContactFields.COLUMN_ROLE], "f");
|
|
64
|
+
__classPrivateFieldSet(this, _CustomerContact_isActive, getCustomerContactDataInput[CustomerContactFields.COLUMN_IS_ACTIVE], "f");
|
|
67
65
|
}
|
|
68
66
|
get reference() {
|
|
69
|
-
return __classPrivateFieldGet(this,
|
|
67
|
+
return __classPrivateFieldGet(this, _CustomerContact_reference, "f");
|
|
70
68
|
}
|
|
71
69
|
get firstName() {
|
|
72
|
-
return __classPrivateFieldGet(this,
|
|
70
|
+
return __classPrivateFieldGet(this, _CustomerContact_firstName, "f");
|
|
73
71
|
}
|
|
74
72
|
get lastName() {
|
|
75
|
-
return __classPrivateFieldGet(this,
|
|
73
|
+
return __classPrivateFieldGet(this, _CustomerContact_lastName, "f");
|
|
76
74
|
}
|
|
77
75
|
get email() {
|
|
78
|
-
return __classPrivateFieldGet(this,
|
|
76
|
+
return __classPrivateFieldGet(this, _CustomerContact_email, "f");
|
|
79
77
|
}
|
|
80
78
|
get phone() {
|
|
81
|
-
return __classPrivateFieldGet(this,
|
|
79
|
+
return __classPrivateFieldGet(this, _CustomerContact_phone, "f");
|
|
82
80
|
}
|
|
83
81
|
get username() {
|
|
84
|
-
return __classPrivateFieldGet(this,
|
|
82
|
+
return __classPrivateFieldGet(this, _CustomerContact_username, "f");
|
|
85
83
|
}
|
|
86
84
|
get type() {
|
|
87
|
-
return __classPrivateFieldGet(this,
|
|
85
|
+
return __classPrivateFieldGet(this, _CustomerContact_type, "f");
|
|
88
86
|
}
|
|
89
87
|
get role() {
|
|
90
|
-
return __classPrivateFieldGet(this,
|
|
88
|
+
return __classPrivateFieldGet(this, _CustomerContact_role, "f");
|
|
91
89
|
}
|
|
92
90
|
get isActive() {
|
|
93
|
-
return __classPrivateFieldGet(this,
|
|
91
|
+
return __classPrivateFieldGet(this, _CustomerContact_isActive, "f");
|
|
94
92
|
}
|
|
95
93
|
toJSON() {
|
|
96
94
|
return {
|
|
@@ -107,5 +105,5 @@ class CustomerContact extends abstractEntity_1.AbstractEntity {
|
|
|
107
105
|
}
|
|
108
106
|
}
|
|
109
107
|
exports.CustomerContact = CustomerContact;
|
|
110
|
-
|
|
108
|
+
_CustomerContact_reference = new WeakMap(), _CustomerContact_firstName = new WeakMap(), _CustomerContact_lastName = new WeakMap(), _CustomerContact_email = new WeakMap(), _CustomerContact_phone = new WeakMap(), _CustomerContact_username = new WeakMap(), _CustomerContact_type = new WeakMap(), _CustomerContact_role = new WeakMap(), _CustomerContact_isActive = new WeakMap();
|
|
111
109
|
//# sourceMappingURL=customerContact.js.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
10
|
-
if (!
|
|
11
|
-
|
|
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
|
|
13
|
+
var _CustomerContactList_customerContactList;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.CustomerContactList = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../../abstractEntity");
|
|
@@ -20,16 +18,16 @@ const customerContact_1 = require("./customerContact");
|
|
|
20
18
|
class CustomerContactList extends abstractEntity_1.AbstractEntity {
|
|
21
19
|
constructor(customerContactsDataInput) {
|
|
22
20
|
super(customerContactsDataInput);
|
|
23
|
-
|
|
24
|
-
__classPrivateFieldSet(this,
|
|
21
|
+
_CustomerContactList_customerContactList.set(this, void 0);
|
|
22
|
+
__classPrivateFieldSet(this, _CustomerContactList_customerContactList, customerContactsDataInput.map((customerContact) => new customerContact_1.CustomerContact(customerContact)), "f");
|
|
25
23
|
}
|
|
26
24
|
get customerContactList() {
|
|
27
|
-
return __classPrivateFieldGet(this,
|
|
25
|
+
return __classPrivateFieldGet(this, _CustomerContactList_customerContactList, "f");
|
|
28
26
|
}
|
|
29
27
|
toJSON() {
|
|
30
28
|
return this.customerContactList.map((customerContact) => customerContact.toJSON());
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
31
|
exports.CustomerContactList = CustomerContactList;
|
|
34
|
-
|
|
32
|
+
_CustomerContactList_customerContactList = new WeakMap();
|
|
35
33
|
//# sourceMappingURL=customerContactList.js.map
|