@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.
- package/CHANGELOG.md +6 -0
- package/build/abstractClient.d.ts +8 -1
- package/build/abstractEntity.js +16 -14
- package/build/axiosSingleton.js +2 -2
- package/build/campaign/entities/campaign/banners/banners.js +34 -32
- package/build/campaign/entities/campaign/campaign.js +53 -51
- package/build/campaign/entities/campaign/landingPage/landingPage.js +26 -24
- package/build/campaign/entities/campaign/landingPage/landingPageBody.js +37 -35
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooter.js +31 -29
- package/build/campaign/entities/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +25 -23
- package/build/campaign/entities/campaign/landingPage/landingPageHeader.js +31 -29
- package/build/campaign/entities/campaign/rules/rules.js +31 -29
- package/build/campaign/entities/campaignAssets/assets/assets.js +19 -17
- package/build/campaign/entities/campaignAssets/campaignAssets.js +16 -14
- package/build/campaign/entities/v2/campaign/banner/banner.js +34 -32
- package/build/campaign/entities/v2/campaign/campaign.js +50 -48
- package/build/campaign/entities/v2/campaign/landingPage/landingPage.js +26 -24
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooter.js +36 -34
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeature.js +22 -20
- package/build/campaign/entities/v2/campaign/landingPage/landingPageFooter/landingPageFooterFeatureItem.js +34 -32
- package/build/campaign/entities/v2/campaign/landingPage/landingPageHeader.js +34 -32
- package/build/campaign/entities/v2/campaignList.js +16 -14
- package/build/campaign/index.js +1 -5
- package/build/cart/entities/index.js +1 -5
- package/build/cart/entities/item.js +28 -26
- package/build/cart/entities/itemList.js +16 -14
- package/build/cart/index.js +1 -5
- package/build/catalog/catalogGraphQLClient.d.ts +0 -2
- package/build/catalog/catalogGraphQLClient.js +1 -7
- package/build/catalog/index.js +1 -5
- package/build/catalog/types/catalogGraphQLTypes.js +0 -1
- package/build/consumption/entities/bi/consumptionBI.js +30 -28
- package/build/consumption/entities/bi/period/period.js +19 -17
- package/build/consumption/entities/bi/top/top.js +25 -23
- package/build/consumption/entities/consumption/consumption.js +19 -17
- package/build/consumption/index.js +1 -5
- package/build/contact/entities/contact.js +46 -44
- package/build/contact/entities/contactCreate.js +16 -14
- package/build/contact/entities/contactList.js +16 -14
- package/build/contact/index.js +1 -5
- package/build/customers/entities/customers/contact/contact.js +31 -29
- package/build/customers/entities/customers/customer.js +73 -71
- package/build/customers/entities/customers/customerContact/customerContact.js +40 -38
- package/build/customers/entities/customers/customerContact/customerContactList.js +16 -14
- package/build/customers/entities/customers/details/details.js +31 -29
- package/build/customers/entities/dataCustomers.js +16 -14
- package/build/customers/entities/dataInvitation.js +31 -29
- package/build/customers/entities/invitations/company/company.js +16 -14
- package/build/customers/entities/invitations/contact/invitationContact.js +28 -26
- package/build/customers/index.js +1 -5
- package/build/exception/index.js +1 -5
- package/build/general/entities/whoAmI.js +61 -59
- package/build/general/index.js +1 -5
- package/build/getResult.js +23 -21
- package/build/index.d.ts +1 -0
- package/build/index.js +2 -5
- package/build/licenses/entities/filterFindResult.js +19 -17
- package/build/licenses/entities/findResult.js +38 -36
- package/build/licenses/entities/getLicense/actionMessagesGetResult.js +28 -26
- package/build/licenses/entities/getLicense/actionsGetResult.js +43 -41
- package/build/licenses/entities/getLicense/buySellFindResult.js +19 -17
- package/build/licenses/entities/getLicense/licenseGetResult.js +107 -105
- package/build/licenses/entities/getLicense/licensePriceGetResult.js +22 -20
- package/build/licenses/entities/getLicense/orderGetResult.js +19 -17
- package/build/licenses/entities/getResult/getLicenseResult.js +16 -14
- package/build/licenses/entities/history/actionHistoryResult.js +25 -23
- package/build/licenses/entities/history/licenceHistoryResult.js +16 -14
- package/build/licenses/entities/license/activeSeatsFindResult.js +19 -17
- package/build/licenses/entities/license/configFindResult.js +22 -20
- package/build/licenses/entities/license/licenseFindResult.js +136 -134
- package/build/licenses/entities/license/priceFindResult.js +28 -26
- package/build/licenses/entities/license/warningFindResult.js +19 -17
- package/build/licenses/entities/offer/actionFlagsFindResult.js +22 -20
- package/build/licenses/entities/offer/offerFindResult.js +34 -32
- package/build/licenses/entities/offer/priceBandFindResult.js +37 -35
- package/build/licenses/entities/offer/priceband/billingFindResult.js +22 -20
- package/build/licenses/entities/offer/priceband/identifiers/arrowsphereFindResult.js +16 -14
- package/build/licenses/entities/offer/priceband/identifiersFindResult.js +16 -14
- package/build/licenses/entities/offer/priceband/priceBandActionFlagsFindResult.js +28 -26
- package/build/licenses/entities/offer/priceband/priceBandPriceFindResult.js +22 -20
- package/build/licenses/entities/offer/priceband/saleConstraintsFindResult.js +19 -17
- package/build/licenses/index.js +1 -5
- package/build/orders/entities/dataListOrders.js +16 -14
- package/build/orders/entities/orders/order.js +41 -39
- package/build/orders/entities/orders/partner/partner.js +19 -17
- package/build/orders/entities/orders/products/identifiers/productIdentifiers.js +16 -14
- package/build/orders/entities/orders/products/identifiers/vendor/identifiersVendor.js +16 -14
- package/build/orders/entities/orders/products/prices/productPrices.js +34 -32
- package/build/orders/entities/orders/products/products.js +58 -56
- package/build/orders/entities/orders/products/program/productProgram.js +16 -14
- package/build/orders/entities/referenceLink.js +19 -17
- package/build/orders/index.js +1 -5
- package/build/pagination.js +31 -29
- package/build/publicApiClient.d.ts +2 -0
- package/build/publicApiClient.js +7 -0
- package/build/security/index.js +1 -5
- package/build/security/register/entity/registrationLink.js +16 -14
- package/build/security/register/index.js +1 -5
- package/build/security/standards/entities/checks/checks.js +19 -17
- package/build/security/standards/entities/checks/securityChecks.js +40 -38
- package/build/security/standards/entities/resources/resources.js +28 -26
- package/build/security/standards/entities/resources/securityResources.js +19 -17
- package/build/security/standards/entities/standards/securityStandards.js +31 -29
- package/build/security/standards/entities/standards/standards.js +19 -17
- package/build/security/standards/index.js +1 -5
- package/build/shared/index.js +1 -5
- package/build/subscriptions/entities/subscription.js +58 -56
- package/build/subscriptions/entities/subscriptionsListResult.js +41 -39
- package/build/subscriptions/index.js +1 -5
- package/build/supportCenter/entities/issue/attachment.d.ts +29 -0
- package/build/supportCenter/entities/issue/attachment.js +76 -0
- package/build/supportCenter/entities/issue/comment.d.ts +30 -0
- package/build/supportCenter/entities/issue/comment.js +82 -0
- package/build/supportCenter/entities/issue/issue.d.ts +142 -0
- package/build/supportCenter/entities/issue/issue.js +315 -0
- package/build/supportCenter/entities/topic.d.ts +32 -0
- package/build/supportCenter/entities/topic.js +83 -0
- package/build/supportCenter/index.d.ts +8 -0
- package/build/supportCenter/index.js +21 -0
- package/build/supportCenter/payloads/attachment.d.ts +6 -0
- package/build/supportCenter/payloads/attachment.js +4 -0
- package/build/supportCenter/payloads/comment.d.ts +6 -0
- package/build/supportCenter/payloads/comment.js +4 -0
- package/build/supportCenter/payloads/issue.d.ts +32 -0
- package/build/supportCenter/payloads/issue.js +16 -0
- package/build/supportCenter/supportCenterClient.d.ts +42 -0
- package/build/supportCenter/supportCenterClient.js +68 -0
- package/package.json +3 -6
- package/build/catalog/types/catalogGraphQLQueries.d.ts +0 -12
- package/build/catalog/types/catalogGraphQLQueries.js +0 -3
- package/build/catalog/types/catalogGraphQLSchemas.d.ts +0 -30
- package/build/catalog/types/catalogGraphQLSchemas.js +0 -4
- package/build/catalog/types/queryArguments.d.ts +0 -42
- package/build/catalog/types/queryArguments.js +0 -9
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
__classPrivateFieldSet(this,
|
|
46
|
-
__classPrivateFieldSet(this,
|
|
47
|
-
__classPrivateFieldSet(this,
|
|
48
|
-
__classPrivateFieldSet(this,
|
|
49
|
-
__classPrivateFieldSet(this,
|
|
50
|
-
__classPrivateFieldSet(this,
|
|
51
|
-
__classPrivateFieldSet(this,
|
|
52
|
-
__classPrivateFieldSet(this,
|
|
53
|
-
__classPrivateFieldSet(this,
|
|
54
|
-
__classPrivateFieldSet(this,
|
|
55
|
-
__classPrivateFieldSet(this,
|
|
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,
|
|
60
|
+
return __classPrivateFieldGet(this, _id);
|
|
59
61
|
}
|
|
60
62
|
get companyId() {
|
|
61
|
-
return __classPrivateFieldGet(this,
|
|
63
|
+
return __classPrivateFieldGet(this, _companyId);
|
|
62
64
|
}
|
|
63
65
|
get reseller() {
|
|
64
|
-
return __classPrivateFieldGet(this,
|
|
66
|
+
return __classPrivateFieldGet(this, _reseller);
|
|
65
67
|
}
|
|
66
68
|
get firstname() {
|
|
67
|
-
return __classPrivateFieldGet(this,
|
|
69
|
+
return __classPrivateFieldGet(this, _firstname);
|
|
68
70
|
}
|
|
69
71
|
get lastname() {
|
|
70
|
-
return __classPrivateFieldGet(this,
|
|
72
|
+
return __classPrivateFieldGet(this, _lastname);
|
|
71
73
|
}
|
|
72
74
|
get email() {
|
|
73
|
-
return __classPrivateFieldGet(this,
|
|
75
|
+
return __classPrivateFieldGet(this, _email);
|
|
74
76
|
}
|
|
75
77
|
get phone() {
|
|
76
|
-
return __classPrivateFieldGet(this,
|
|
78
|
+
return __classPrivateFieldGet(this, _phone);
|
|
77
79
|
}
|
|
78
80
|
get erpId() {
|
|
79
|
-
return __classPrivateFieldGet(this,
|
|
81
|
+
return __classPrivateFieldGet(this, _erpId);
|
|
80
82
|
}
|
|
81
83
|
get type() {
|
|
82
|
-
return __classPrivateFieldGet(this,
|
|
84
|
+
return __classPrivateFieldGet(this, _type);
|
|
83
85
|
}
|
|
84
86
|
get role() {
|
|
85
|
-
return __classPrivateFieldGet(this,
|
|
87
|
+
return __classPrivateFieldGet(this, _role);
|
|
86
88
|
}
|
|
87
89
|
get status() {
|
|
88
|
-
return __classPrivateFieldGet(this,
|
|
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
|
-
|
|
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,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
25
|
-
__classPrivateFieldSet(this,
|
|
26
|
+
_id.set(this, void 0);
|
|
27
|
+
__classPrivateFieldSet(this, _id, createContactResponse[ContactCreateFields.COLUMN_ID]);
|
|
26
28
|
}
|
|
27
29
|
get id() {
|
|
28
|
-
return __classPrivateFieldGet(this,
|
|
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
|
-
|
|
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,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
22
|
-
__classPrivateFieldSet(this,
|
|
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,
|
|
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
|
-
|
|
34
|
+
_contactList = new WeakMap();
|
|
33
35
|
//# sourceMappingURL=contactList.js.map
|
package/build/contact/index.js
CHANGED
|
@@ -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
|
-
|
|
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,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
__classPrivateFieldSet(this,
|
|
37
|
-
__classPrivateFieldSet(this,
|
|
38
|
-
__classPrivateFieldSet(this,
|
|
39
|
-
__classPrivateFieldSet(this,
|
|
40
|
-
__classPrivateFieldSet(this,
|
|
41
|
-
__classPrivateFieldSet(this,
|
|
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,
|
|
46
|
+
return __classPrivateFieldGet(this, _firstname);
|
|
45
47
|
}
|
|
46
48
|
get LastName() {
|
|
47
|
-
return __classPrivateFieldGet(this,
|
|
49
|
+
return __classPrivateFieldGet(this, _lastname);
|
|
48
50
|
}
|
|
49
51
|
get Email() {
|
|
50
|
-
return __classPrivateFieldGet(this,
|
|
52
|
+
return __classPrivateFieldGet(this, _email);
|
|
51
53
|
}
|
|
52
54
|
get Phone() {
|
|
53
|
-
return __classPrivateFieldGet(this,
|
|
55
|
+
return __classPrivateFieldGet(this, _phone);
|
|
54
56
|
}
|
|
55
57
|
get SyncPartnerContactRefId() {
|
|
56
|
-
return __classPrivateFieldGet(this,
|
|
58
|
+
return __classPrivateFieldGet(this, _syncPartnerContactRefId);
|
|
57
59
|
}
|
|
58
60
|
get ContactPersonID() {
|
|
59
|
-
return __classPrivateFieldGet(this,
|
|
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
|
-
|
|
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,
|
|
3
|
-
if (
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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,
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
__classPrivateFieldSet(this,
|
|
66
|
-
__classPrivateFieldSet(this,
|
|
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,
|
|
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,
|
|
89
|
+
return __classPrivateFieldGet(this, _reference);
|
|
88
90
|
}
|
|
89
91
|
get CompanyName() {
|
|
90
|
-
return __classPrivateFieldGet(this,
|
|
92
|
+
return __classPrivateFieldGet(this, _companyName);
|
|
91
93
|
}
|
|
92
94
|
get PartnerCompanyId() {
|
|
93
|
-
return __classPrivateFieldGet(this,
|
|
95
|
+
return __classPrivateFieldGet(this, _partnerCompanyId);
|
|
94
96
|
}
|
|
95
97
|
get AddressLine1() {
|
|
96
|
-
return __classPrivateFieldGet(this,
|
|
98
|
+
return __classPrivateFieldGet(this, _addressLine1);
|
|
97
99
|
}
|
|
98
100
|
get AddressLine2() {
|
|
99
|
-
return __classPrivateFieldGet(this,
|
|
101
|
+
return __classPrivateFieldGet(this, _addressLine2);
|
|
100
102
|
}
|
|
101
103
|
get Zip() {
|
|
102
|
-
return __classPrivateFieldGet(this,
|
|
104
|
+
return __classPrivateFieldGet(this, _zip);
|
|
103
105
|
}
|
|
104
106
|
get City() {
|
|
105
|
-
return __classPrivateFieldGet(this,
|
|
107
|
+
return __classPrivateFieldGet(this, _city);
|
|
106
108
|
}
|
|
107
109
|
get CountryCode() {
|
|
108
|
-
return __classPrivateFieldGet(this,
|
|
110
|
+
return __classPrivateFieldGet(this, _countryCode);
|
|
109
111
|
}
|
|
110
112
|
get State() {
|
|
111
|
-
return __classPrivateFieldGet(this,
|
|
113
|
+
return __classPrivateFieldGet(this, _state);
|
|
112
114
|
}
|
|
113
115
|
get ReceptionPhone() {
|
|
114
|
-
return __classPrivateFieldGet(this,
|
|
116
|
+
return __classPrivateFieldGet(this, _receptionPhone);
|
|
115
117
|
}
|
|
116
118
|
get WebsiteUrl() {
|
|
117
|
-
return __classPrivateFieldGet(this,
|
|
119
|
+
return __classPrivateFieldGet(this, _websiteUrl);
|
|
118
120
|
}
|
|
119
121
|
get EmailContact() {
|
|
120
|
-
return __classPrivateFieldGet(this,
|
|
122
|
+
return __classPrivateFieldGet(this, _emailContact);
|
|
121
123
|
}
|
|
122
124
|
get Headcount() {
|
|
123
|
-
return __classPrivateFieldGet(this,
|
|
125
|
+
return __classPrivateFieldGet(this, _headcount);
|
|
124
126
|
}
|
|
125
127
|
get TaxNumber() {
|
|
126
|
-
return __classPrivateFieldGet(this,
|
|
128
|
+
return __classPrivateFieldGet(this, _taxNumber);
|
|
127
129
|
}
|
|
128
130
|
get Ref() {
|
|
129
|
-
return __classPrivateFieldGet(this,
|
|
131
|
+
return __classPrivateFieldGet(this, _ref);
|
|
130
132
|
}
|
|
131
133
|
get BillingId() {
|
|
132
|
-
return __classPrivateFieldGet(this,
|
|
134
|
+
return __classPrivateFieldGet(this, _billingId);
|
|
133
135
|
}
|
|
134
136
|
get InternalReference() {
|
|
135
|
-
return __classPrivateFieldGet(this,
|
|
137
|
+
return __classPrivateFieldGet(this, _internalReference);
|
|
136
138
|
}
|
|
137
139
|
get Contact() {
|
|
138
|
-
return __classPrivateFieldGet(this,
|
|
140
|
+
return __classPrivateFieldGet(this, _contact);
|
|
139
141
|
}
|
|
140
142
|
get Details() {
|
|
141
|
-
return __classPrivateFieldGet(this,
|
|
143
|
+
return __classPrivateFieldGet(this, _details);
|
|
142
144
|
}
|
|
143
145
|
get DeletedAt() {
|
|
144
|
-
return __classPrivateFieldGet(this,
|
|
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
|
-
|
|
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
|