@arrowsphere/api-client 3.27.0 → 3.28.0-rc.bdj.2
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 +1 -0
- package/build/AbstractHttpClient.d.ts +35 -0
- package/build/AbstractHttpClient.js +64 -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 -16
- 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/index.js +5 -1
- 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/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 +72 -0
- package/build/securityScore/types/queryArguments.js +57 -0
- package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +43 -0
- package/build/securityScore/types/securityScoreGraphQLQueries.js +3 -0
- package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +144 -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 _IssueAttachment_id, _IssueAttachment_fileName, _IssueAttachment_mimeType, _IssueAttachment_content, _IssueAttachments_list;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.IssueAttachments = exports.IssueAttachment = exports.IssueAttachmentFields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -26,26 +24,26 @@ var IssueAttachmentFields;
|
|
|
26
24
|
class IssueAttachment extends abstractEntity_1.AbstractEntity {
|
|
27
25
|
constructor(input) {
|
|
28
26
|
super(input);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
__classPrivateFieldSet(this,
|
|
34
|
-
__classPrivateFieldSet(this,
|
|
35
|
-
__classPrivateFieldSet(this,
|
|
36
|
-
__classPrivateFieldSet(this,
|
|
27
|
+
_IssueAttachment_id.set(this, void 0);
|
|
28
|
+
_IssueAttachment_fileName.set(this, void 0);
|
|
29
|
+
_IssueAttachment_mimeType.set(this, void 0);
|
|
30
|
+
_IssueAttachment_content.set(this, void 0);
|
|
31
|
+
__classPrivateFieldSet(this, _IssueAttachment_id, input[IssueAttachmentFields.COLUMN_ID], "f");
|
|
32
|
+
__classPrivateFieldSet(this, _IssueAttachment_fileName, input[IssueAttachmentFields.COLUMN_FILE_NAME], "f");
|
|
33
|
+
__classPrivateFieldSet(this, _IssueAttachment_mimeType, input[IssueAttachmentFields.COLUMN_MIME_TYPE], "f");
|
|
34
|
+
__classPrivateFieldSet(this, _IssueAttachment_content, input[IssueAttachmentFields.COLUMN_CONTENT], "f");
|
|
37
35
|
}
|
|
38
36
|
get id() {
|
|
39
|
-
return __classPrivateFieldGet(this,
|
|
37
|
+
return __classPrivateFieldGet(this, _IssueAttachment_id, "f");
|
|
40
38
|
}
|
|
41
39
|
get fileName() {
|
|
42
|
-
return __classPrivateFieldGet(this,
|
|
40
|
+
return __classPrivateFieldGet(this, _IssueAttachment_fileName, "f");
|
|
43
41
|
}
|
|
44
42
|
get mimeType() {
|
|
45
|
-
return __classPrivateFieldGet(this,
|
|
43
|
+
return __classPrivateFieldGet(this, _IssueAttachment_mimeType, "f");
|
|
46
44
|
}
|
|
47
45
|
get content() {
|
|
48
|
-
return __classPrivateFieldGet(this,
|
|
46
|
+
return __classPrivateFieldGet(this, _IssueAttachment_content, "f");
|
|
49
47
|
}
|
|
50
48
|
toJSON() {
|
|
51
49
|
return {
|
|
@@ -57,20 +55,20 @@ class IssueAttachment extends abstractEntity_1.AbstractEntity {
|
|
|
57
55
|
}
|
|
58
56
|
}
|
|
59
57
|
exports.IssueAttachment = IssueAttachment;
|
|
60
|
-
|
|
58
|
+
_IssueAttachment_id = new WeakMap(), _IssueAttachment_fileName = new WeakMap(), _IssueAttachment_mimeType = new WeakMap(), _IssueAttachment_content = new WeakMap();
|
|
61
59
|
class IssueAttachments extends abstractEntity_1.AbstractEntity {
|
|
62
60
|
constructor(input) {
|
|
63
61
|
super(input);
|
|
64
|
-
|
|
65
|
-
__classPrivateFieldSet(this,
|
|
62
|
+
_IssueAttachments_list.set(this, void 0);
|
|
63
|
+
__classPrivateFieldSet(this, _IssueAttachments_list, input.map((item) => new IssueAttachment(item)), "f");
|
|
66
64
|
}
|
|
67
65
|
get list() {
|
|
68
|
-
return __classPrivateFieldGet(this,
|
|
66
|
+
return __classPrivateFieldGet(this, _IssueAttachments_list, "f");
|
|
69
67
|
}
|
|
70
68
|
toJSON() {
|
|
71
69
|
return this.list.map((item) => item.toJSON());
|
|
72
70
|
}
|
|
73
71
|
}
|
|
74
72
|
exports.IssueAttachments = IssueAttachments;
|
|
75
|
-
|
|
73
|
+
_IssueAttachments_list = new WeakMap();
|
|
76
74
|
//# sourceMappingURL=attachment.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 _IssueComment_id, _IssueComment_body, _IssueComment_date, _IssueComment_createdBy, _IssueComments_list;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.IssueComments = exports.IssueComment = exports.IssueCommentFields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -27,30 +25,30 @@ var IssueCommentFields;
|
|
|
27
25
|
class IssueComment extends abstractEntity_1.AbstractEntity {
|
|
28
26
|
constructor(input) {
|
|
29
27
|
super(input);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
__classPrivateFieldSet(this,
|
|
35
|
-
__classPrivateFieldSet(this,
|
|
36
|
-
__classPrivateFieldSet(this,
|
|
28
|
+
_IssueComment_id.set(this, void 0);
|
|
29
|
+
_IssueComment_body.set(this, void 0);
|
|
30
|
+
_IssueComment_date.set(this, void 0);
|
|
31
|
+
_IssueComment_createdBy.set(this, void 0);
|
|
32
|
+
__classPrivateFieldSet(this, _IssueComment_id, input[IssueCommentFields.COLUMN_ID], "f");
|
|
33
|
+
__classPrivateFieldSet(this, _IssueComment_body, input[IssueCommentFields.COLUMN_BODY], "f");
|
|
34
|
+
__classPrivateFieldSet(this, _IssueComment_date, input[IssueCommentFields.COLUMN_DATE]
|
|
37
35
|
? new Date(input[IssueCommentFields.COLUMN_DATE])
|
|
38
|
-
: undefined);
|
|
39
|
-
__classPrivateFieldSet(this,
|
|
36
|
+
: undefined, "f");
|
|
37
|
+
__classPrivateFieldSet(this, _IssueComment_createdBy, input[IssueCommentFields.COLUMN_CREATED_BY]
|
|
40
38
|
? new issue_1.IssueCreatedBy(input[IssueCommentFields.COLUMN_CREATED_BY])
|
|
41
|
-
: undefined);
|
|
39
|
+
: undefined, "f");
|
|
42
40
|
}
|
|
43
41
|
get id() {
|
|
44
|
-
return __classPrivateFieldGet(this,
|
|
42
|
+
return __classPrivateFieldGet(this, _IssueComment_id, "f");
|
|
45
43
|
}
|
|
46
44
|
get body() {
|
|
47
|
-
return __classPrivateFieldGet(this,
|
|
45
|
+
return __classPrivateFieldGet(this, _IssueComment_body, "f");
|
|
48
46
|
}
|
|
49
47
|
get date() {
|
|
50
|
-
return __classPrivateFieldGet(this,
|
|
48
|
+
return __classPrivateFieldGet(this, _IssueComment_date, "f");
|
|
51
49
|
}
|
|
52
50
|
get createdBy() {
|
|
53
|
-
return __classPrivateFieldGet(this,
|
|
51
|
+
return __classPrivateFieldGet(this, _IssueComment_createdBy, "f");
|
|
54
52
|
}
|
|
55
53
|
toJSON() {
|
|
56
54
|
var _a, _b;
|
|
@@ -63,20 +61,20 @@ class IssueComment extends abstractEntity_1.AbstractEntity {
|
|
|
63
61
|
}
|
|
64
62
|
}
|
|
65
63
|
exports.IssueComment = IssueComment;
|
|
66
|
-
|
|
64
|
+
_IssueComment_id = new WeakMap(), _IssueComment_body = new WeakMap(), _IssueComment_date = new WeakMap(), _IssueComment_createdBy = new WeakMap();
|
|
67
65
|
class IssueComments extends abstractEntity_1.AbstractEntity {
|
|
68
66
|
constructor(input) {
|
|
69
67
|
super(input);
|
|
70
|
-
|
|
71
|
-
__classPrivateFieldSet(this,
|
|
68
|
+
_IssueComments_list.set(this, void 0);
|
|
69
|
+
__classPrivateFieldSet(this, _IssueComments_list, input.map((item) => new IssueComment(item)), "f");
|
|
72
70
|
}
|
|
73
71
|
get list() {
|
|
74
|
-
return __classPrivateFieldGet(this,
|
|
72
|
+
return __classPrivateFieldGet(this, _IssueComments_list, "f");
|
|
75
73
|
}
|
|
76
74
|
toJSON() {
|
|
77
75
|
return this.list.map((item) => item.toJSON());
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
78
|
exports.IssueComments = IssueComments;
|
|
81
|
-
|
|
79
|
+
_IssueComments_list = new WeakMap();
|
|
82
80
|
//# sourceMappingURL=comment.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 _IssueOffer_sku, _IssueOffer_name, _IssueOffer_vendor, _IssueCreatedBy_email, _IssueCreatedBy_firstName, _IssueCreatedBy_lastName, _IssueCreatedBy_phone, _IssueSupportPlan_sku, _IssueSupportPlan_label, _IssueSupportPlan_sourcePortal, _IssueAdditionalData_name, _IssueAdditionalData_value, _Issue_id, _Issue_title, _Issue_description, _Issue_topicId, _Issue_endCustomerRef, _Issue_language, _Issue_offer, _Issue_priority, _Issue_status, _Issue_createdBy, _Issue_supportPlan, _Issue_program, _Issue_additionalData, _Issue_created, _Issue_updated, _Issues_list;
|
|
16
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
15
|
exports.Issues = exports.Issue = exports.IssueAdditionalData = exports.IssueSupportPlan = exports.IssueCreatedBy = exports.IssueOffer = exports.IssueStatusesType = exports.IssueAdditionalDataFields = exports.IssueSupportPlanFields = exports.IssueCreatedByFields = exports.IssueOfferFields = exports.IssueFields = void 0;
|
|
18
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -70,21 +68,21 @@ var IssueStatusesType;
|
|
|
70
68
|
class IssueOffer extends abstractEntity_1.AbstractEntity {
|
|
71
69
|
constructor(input) {
|
|
72
70
|
super(input);
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
__classPrivateFieldSet(this,
|
|
77
|
-
__classPrivateFieldSet(this,
|
|
78
|
-
__classPrivateFieldSet(this,
|
|
71
|
+
_IssueOffer_sku.set(this, void 0);
|
|
72
|
+
_IssueOffer_name.set(this, void 0);
|
|
73
|
+
_IssueOffer_vendor.set(this, void 0);
|
|
74
|
+
__classPrivateFieldSet(this, _IssueOffer_sku, input[IssueOfferFields.COLUMN_SKU], "f");
|
|
75
|
+
__classPrivateFieldSet(this, _IssueOffer_name, input[IssueOfferFields.COLUMN_NAME], "f");
|
|
76
|
+
__classPrivateFieldSet(this, _IssueOffer_vendor, input[IssueOfferFields.COLUMN_VENDOR], "f");
|
|
79
77
|
}
|
|
80
78
|
get sku() {
|
|
81
|
-
return __classPrivateFieldGet(this,
|
|
79
|
+
return __classPrivateFieldGet(this, _IssueOffer_sku, "f");
|
|
82
80
|
}
|
|
83
81
|
get name() {
|
|
84
|
-
return __classPrivateFieldGet(this,
|
|
82
|
+
return __classPrivateFieldGet(this, _IssueOffer_name, "f");
|
|
85
83
|
}
|
|
86
84
|
get vendor() {
|
|
87
|
-
return __classPrivateFieldGet(this,
|
|
85
|
+
return __classPrivateFieldGet(this, _IssueOffer_vendor, "f");
|
|
88
86
|
}
|
|
89
87
|
toJSON() {
|
|
90
88
|
return {
|
|
@@ -95,30 +93,30 @@ class IssueOffer extends abstractEntity_1.AbstractEntity {
|
|
|
95
93
|
}
|
|
96
94
|
}
|
|
97
95
|
exports.IssueOffer = IssueOffer;
|
|
98
|
-
|
|
96
|
+
_IssueOffer_sku = new WeakMap(), _IssueOffer_name = new WeakMap(), _IssueOffer_vendor = new WeakMap();
|
|
99
97
|
class IssueCreatedBy extends abstractEntity_1.AbstractEntity {
|
|
100
98
|
constructor(input) {
|
|
101
99
|
super(input);
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
__classPrivateFieldSet(this,
|
|
107
|
-
__classPrivateFieldSet(this,
|
|
108
|
-
__classPrivateFieldSet(this,
|
|
109
|
-
__classPrivateFieldSet(this,
|
|
100
|
+
_IssueCreatedBy_email.set(this, void 0);
|
|
101
|
+
_IssueCreatedBy_firstName.set(this, void 0);
|
|
102
|
+
_IssueCreatedBy_lastName.set(this, void 0);
|
|
103
|
+
_IssueCreatedBy_phone.set(this, void 0);
|
|
104
|
+
__classPrivateFieldSet(this, _IssueCreatedBy_email, input[IssueCreatedByFields.COLUMN_EMAIL], "f");
|
|
105
|
+
__classPrivateFieldSet(this, _IssueCreatedBy_firstName, input[IssueCreatedByFields.COLUMN_FIRST_NAME], "f");
|
|
106
|
+
__classPrivateFieldSet(this, _IssueCreatedBy_lastName, input[IssueCreatedByFields.COLUMN_LAST_NAME], "f");
|
|
107
|
+
__classPrivateFieldSet(this, _IssueCreatedBy_phone, input[IssueCreatedByFields.COLUMN_PHONE], "f");
|
|
110
108
|
}
|
|
111
109
|
get email() {
|
|
112
|
-
return __classPrivateFieldGet(this,
|
|
110
|
+
return __classPrivateFieldGet(this, _IssueCreatedBy_email, "f");
|
|
113
111
|
}
|
|
114
112
|
get firstName() {
|
|
115
|
-
return __classPrivateFieldGet(this,
|
|
113
|
+
return __classPrivateFieldGet(this, _IssueCreatedBy_firstName, "f");
|
|
116
114
|
}
|
|
117
115
|
get lastName() {
|
|
118
|
-
return __classPrivateFieldGet(this,
|
|
116
|
+
return __classPrivateFieldGet(this, _IssueCreatedBy_lastName, "f");
|
|
119
117
|
}
|
|
120
118
|
get phone() {
|
|
121
|
-
return __classPrivateFieldGet(this,
|
|
119
|
+
return __classPrivateFieldGet(this, _IssueCreatedBy_phone, "f");
|
|
122
120
|
}
|
|
123
121
|
toJSON() {
|
|
124
122
|
return {
|
|
@@ -130,25 +128,25 @@ class IssueCreatedBy extends abstractEntity_1.AbstractEntity {
|
|
|
130
128
|
}
|
|
131
129
|
}
|
|
132
130
|
exports.IssueCreatedBy = IssueCreatedBy;
|
|
133
|
-
|
|
131
|
+
_IssueCreatedBy_email = new WeakMap(), _IssueCreatedBy_firstName = new WeakMap(), _IssueCreatedBy_lastName = new WeakMap(), _IssueCreatedBy_phone = new WeakMap();
|
|
134
132
|
class IssueSupportPlan extends abstractEntity_1.AbstractEntity {
|
|
135
133
|
constructor(input) {
|
|
136
134
|
super(input);
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
__classPrivateFieldSet(this,
|
|
141
|
-
__classPrivateFieldSet(this,
|
|
142
|
-
__classPrivateFieldSet(this,
|
|
135
|
+
_IssueSupportPlan_sku.set(this, void 0);
|
|
136
|
+
_IssueSupportPlan_label.set(this, void 0);
|
|
137
|
+
_IssueSupportPlan_sourcePortal.set(this, void 0);
|
|
138
|
+
__classPrivateFieldSet(this, _IssueSupportPlan_sku, input[IssueSupportPlanFields.COLUMN_SKU], "f");
|
|
139
|
+
__classPrivateFieldSet(this, _IssueSupportPlan_label, input[IssueSupportPlanFields.COLUMN_LABEL], "f");
|
|
140
|
+
__classPrivateFieldSet(this, _IssueSupportPlan_sourcePortal, input[IssueSupportPlanFields.COLUMN_SOURCE_PORTAL], "f");
|
|
143
141
|
}
|
|
144
142
|
get sku() {
|
|
145
|
-
return __classPrivateFieldGet(this,
|
|
143
|
+
return __classPrivateFieldGet(this, _IssueSupportPlan_sku, "f");
|
|
146
144
|
}
|
|
147
145
|
get label() {
|
|
148
|
-
return __classPrivateFieldGet(this,
|
|
146
|
+
return __classPrivateFieldGet(this, _IssueSupportPlan_label, "f");
|
|
149
147
|
}
|
|
150
148
|
get sourcePortal() {
|
|
151
|
-
return __classPrivateFieldGet(this,
|
|
149
|
+
return __classPrivateFieldGet(this, _IssueSupportPlan_sourcePortal, "f");
|
|
152
150
|
}
|
|
153
151
|
toJSON() {
|
|
154
152
|
return {
|
|
@@ -159,20 +157,20 @@ class IssueSupportPlan extends abstractEntity_1.AbstractEntity {
|
|
|
159
157
|
}
|
|
160
158
|
}
|
|
161
159
|
exports.IssueSupportPlan = IssueSupportPlan;
|
|
162
|
-
|
|
160
|
+
_IssueSupportPlan_sku = new WeakMap(), _IssueSupportPlan_label = new WeakMap(), _IssueSupportPlan_sourcePortal = new WeakMap();
|
|
163
161
|
class IssueAdditionalData extends abstractEntity_1.AbstractEntity {
|
|
164
162
|
constructor(input) {
|
|
165
163
|
super(input);
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
__classPrivateFieldSet(this,
|
|
169
|
-
__classPrivateFieldSet(this,
|
|
164
|
+
_IssueAdditionalData_name.set(this, void 0);
|
|
165
|
+
_IssueAdditionalData_value.set(this, void 0);
|
|
166
|
+
__classPrivateFieldSet(this, _IssueAdditionalData_name, input[IssueAdditionalDataFields.COLUMN_NAME], "f");
|
|
167
|
+
__classPrivateFieldSet(this, _IssueAdditionalData_value, input[IssueAdditionalDataFields.COLUMN_VALUE], "f");
|
|
170
168
|
}
|
|
171
169
|
get name() {
|
|
172
|
-
return __classPrivateFieldGet(this,
|
|
170
|
+
return __classPrivateFieldGet(this, _IssueAdditionalData_name, "f");
|
|
173
171
|
}
|
|
174
172
|
get value() {
|
|
175
|
-
return __classPrivateFieldGet(this,
|
|
173
|
+
return __classPrivateFieldGet(this, _IssueAdditionalData_value, "f");
|
|
176
174
|
}
|
|
177
175
|
toJSON() {
|
|
178
176
|
return {
|
|
@@ -182,97 +180,97 @@ class IssueAdditionalData extends abstractEntity_1.AbstractEntity {
|
|
|
182
180
|
}
|
|
183
181
|
}
|
|
184
182
|
exports.IssueAdditionalData = IssueAdditionalData;
|
|
185
|
-
|
|
183
|
+
_IssueAdditionalData_name = new WeakMap(), _IssueAdditionalData_value = new WeakMap();
|
|
186
184
|
class Issue extends abstractEntity_1.AbstractEntity {
|
|
187
185
|
constructor(input) {
|
|
188
186
|
super(input);
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
__classPrivateFieldSet(this,
|
|
205
|
-
__classPrivateFieldSet(this,
|
|
206
|
-
__classPrivateFieldSet(this,
|
|
207
|
-
__classPrivateFieldSet(this,
|
|
208
|
-
__classPrivateFieldSet(this,
|
|
209
|
-
__classPrivateFieldSet(this,
|
|
210
|
-
__classPrivateFieldSet(this,
|
|
187
|
+
_Issue_id.set(this, void 0);
|
|
188
|
+
_Issue_title.set(this, void 0);
|
|
189
|
+
_Issue_description.set(this, void 0);
|
|
190
|
+
_Issue_topicId.set(this, void 0);
|
|
191
|
+
_Issue_endCustomerRef.set(this, void 0);
|
|
192
|
+
_Issue_language.set(this, void 0);
|
|
193
|
+
_Issue_offer.set(this, void 0);
|
|
194
|
+
_Issue_priority.set(this, void 0);
|
|
195
|
+
_Issue_status.set(this, void 0);
|
|
196
|
+
_Issue_createdBy.set(this, void 0);
|
|
197
|
+
_Issue_supportPlan.set(this, void 0);
|
|
198
|
+
_Issue_program.set(this, void 0);
|
|
199
|
+
_Issue_additionalData.set(this, void 0);
|
|
200
|
+
_Issue_created.set(this, void 0);
|
|
201
|
+
_Issue_updated.set(this, void 0);
|
|
202
|
+
__classPrivateFieldSet(this, _Issue_id, input[IssueFields.COLUMN_ID], "f");
|
|
203
|
+
__classPrivateFieldSet(this, _Issue_title, input[IssueFields.COLUMN_TITLE], "f");
|
|
204
|
+
__classPrivateFieldSet(this, _Issue_description, input[IssueFields.COLUMN_DESCRIPTION], "f");
|
|
205
|
+
__classPrivateFieldSet(this, _Issue_topicId, input[IssueFields.COLUMN_TOPIC_ID], "f");
|
|
206
|
+
__classPrivateFieldSet(this, _Issue_endCustomerRef, input[IssueFields.COLUMN_END_CUSTOMER_REF], "f");
|
|
207
|
+
__classPrivateFieldSet(this, _Issue_language, input[IssueFields.COLUMN_LANGUAGE], "f");
|
|
208
|
+
__classPrivateFieldSet(this, _Issue_offer, input[IssueFields.COLUMN_OFFER]
|
|
211
209
|
? new IssueOffer(input[IssueFields.COLUMN_OFFER])
|
|
212
|
-
: undefined);
|
|
213
|
-
__classPrivateFieldSet(this,
|
|
214
|
-
__classPrivateFieldSet(this,
|
|
215
|
-
__classPrivateFieldSet(this,
|
|
210
|
+
: undefined, "f");
|
|
211
|
+
__classPrivateFieldSet(this, _Issue_priority, input[IssueFields.COLUMN_PRIORITY], "f");
|
|
212
|
+
__classPrivateFieldSet(this, _Issue_status, input[IssueFields.COLUMN_STATUS], "f");
|
|
213
|
+
__classPrivateFieldSet(this, _Issue_createdBy, input[IssueFields.COLUMN_CREATED_BY]
|
|
216
214
|
? new IssueCreatedBy(input[IssueFields.COLUMN_CREATED_BY])
|
|
217
|
-
: undefined);
|
|
218
|
-
__classPrivateFieldSet(this,
|
|
215
|
+
: undefined, "f");
|
|
216
|
+
__classPrivateFieldSet(this, _Issue_supportPlan, input[IssueFields.COLUMN_SUPPORT_PLAN]
|
|
219
217
|
? new IssueSupportPlan(input[IssueFields.COLUMN_SUPPORT_PLAN])
|
|
220
|
-
: undefined);
|
|
221
|
-
__classPrivateFieldSet(this,
|
|
222
|
-
__classPrivateFieldSet(this,
|
|
218
|
+
: undefined, "f");
|
|
219
|
+
__classPrivateFieldSet(this, _Issue_program, input[IssueFields.COLUMN_PROGRAM], "f");
|
|
220
|
+
__classPrivateFieldSet(this, _Issue_additionalData, input[IssueFields.COLUMN_ADDITIONAL_DATA]
|
|
223
221
|
? input[IssueFields.COLUMN_ADDITIONAL_DATA].map((item) => new IssueAdditionalData(item))
|
|
224
|
-
: undefined);
|
|
225
|
-
__classPrivateFieldSet(this,
|
|
222
|
+
: undefined, "f");
|
|
223
|
+
__classPrivateFieldSet(this, _Issue_created, input[IssueFields.COLUMN_CREATED]
|
|
226
224
|
? new Date(input[IssueFields.COLUMN_CREATED])
|
|
227
|
-
: undefined);
|
|
228
|
-
__classPrivateFieldSet(this,
|
|
225
|
+
: undefined, "f");
|
|
226
|
+
__classPrivateFieldSet(this, _Issue_updated, input[IssueFields.COLUMN_UPDATED]
|
|
229
227
|
? new Date(input[IssueFields.COLUMN_UPDATED])
|
|
230
|
-
: undefined);
|
|
228
|
+
: undefined, "f");
|
|
231
229
|
}
|
|
232
230
|
get id() {
|
|
233
|
-
return __classPrivateFieldGet(this,
|
|
231
|
+
return __classPrivateFieldGet(this, _Issue_id, "f");
|
|
234
232
|
}
|
|
235
233
|
get title() {
|
|
236
|
-
return __classPrivateFieldGet(this,
|
|
234
|
+
return __classPrivateFieldGet(this, _Issue_title, "f");
|
|
237
235
|
}
|
|
238
236
|
get description() {
|
|
239
|
-
return __classPrivateFieldGet(this,
|
|
237
|
+
return __classPrivateFieldGet(this, _Issue_description, "f");
|
|
240
238
|
}
|
|
241
239
|
get topicId() {
|
|
242
|
-
return __classPrivateFieldGet(this,
|
|
240
|
+
return __classPrivateFieldGet(this, _Issue_topicId, "f");
|
|
243
241
|
}
|
|
244
242
|
get endCustomerRef() {
|
|
245
|
-
return __classPrivateFieldGet(this,
|
|
243
|
+
return __classPrivateFieldGet(this, _Issue_endCustomerRef, "f");
|
|
246
244
|
}
|
|
247
245
|
get language() {
|
|
248
|
-
return __classPrivateFieldGet(this,
|
|
246
|
+
return __classPrivateFieldGet(this, _Issue_language, "f");
|
|
249
247
|
}
|
|
250
248
|
get offer() {
|
|
251
|
-
return __classPrivateFieldGet(this,
|
|
249
|
+
return __classPrivateFieldGet(this, _Issue_offer, "f");
|
|
252
250
|
}
|
|
253
251
|
get priority() {
|
|
254
|
-
return __classPrivateFieldGet(this,
|
|
252
|
+
return __classPrivateFieldGet(this, _Issue_priority, "f");
|
|
255
253
|
}
|
|
256
254
|
get status() {
|
|
257
|
-
return __classPrivateFieldGet(this,
|
|
255
|
+
return __classPrivateFieldGet(this, _Issue_status, "f");
|
|
258
256
|
}
|
|
259
257
|
get createdBy() {
|
|
260
|
-
return __classPrivateFieldGet(this,
|
|
258
|
+
return __classPrivateFieldGet(this, _Issue_createdBy, "f");
|
|
261
259
|
}
|
|
262
260
|
get supportPlan() {
|
|
263
|
-
return __classPrivateFieldGet(this,
|
|
261
|
+
return __classPrivateFieldGet(this, _Issue_supportPlan, "f");
|
|
264
262
|
}
|
|
265
263
|
get program() {
|
|
266
|
-
return __classPrivateFieldGet(this,
|
|
264
|
+
return __classPrivateFieldGet(this, _Issue_program, "f");
|
|
267
265
|
}
|
|
268
266
|
get additionalData() {
|
|
269
|
-
return __classPrivateFieldGet(this,
|
|
267
|
+
return __classPrivateFieldGet(this, _Issue_additionalData, "f");
|
|
270
268
|
}
|
|
271
269
|
get created() {
|
|
272
|
-
return __classPrivateFieldGet(this,
|
|
270
|
+
return __classPrivateFieldGet(this, _Issue_created, "f");
|
|
273
271
|
}
|
|
274
272
|
get updated() {
|
|
275
|
-
return __classPrivateFieldGet(this,
|
|
273
|
+
return __classPrivateFieldGet(this, _Issue_updated, "f");
|
|
276
274
|
}
|
|
277
275
|
toJSON() {
|
|
278
276
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -296,20 +294,20 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
296
294
|
}
|
|
297
295
|
}
|
|
298
296
|
exports.Issue = Issue;
|
|
299
|
-
|
|
297
|
+
_Issue_id = new WeakMap(), _Issue_title = new WeakMap(), _Issue_description = new WeakMap(), _Issue_topicId = new WeakMap(), _Issue_endCustomerRef = new WeakMap(), _Issue_language = new WeakMap(), _Issue_offer = new WeakMap(), _Issue_priority = new WeakMap(), _Issue_status = new WeakMap(), _Issue_createdBy = new WeakMap(), _Issue_supportPlan = new WeakMap(), _Issue_program = new WeakMap(), _Issue_additionalData = new WeakMap(), _Issue_created = new WeakMap(), _Issue_updated = new WeakMap();
|
|
300
298
|
class Issues extends abstractEntity_1.AbstractEntity {
|
|
301
299
|
constructor(input) {
|
|
302
300
|
super(input);
|
|
303
|
-
|
|
304
|
-
__classPrivateFieldSet(this,
|
|
301
|
+
_Issues_list.set(this, void 0);
|
|
302
|
+
__classPrivateFieldSet(this, _Issues_list, input.map((item) => new Issue(item)), "f");
|
|
305
303
|
}
|
|
306
304
|
get list() {
|
|
307
|
-
return __classPrivateFieldGet(this,
|
|
305
|
+
return __classPrivateFieldGet(this, _Issues_list, "f");
|
|
308
306
|
}
|
|
309
307
|
toJSON() {
|
|
310
308
|
return this.list.map((item) => item.toJSON());
|
|
311
309
|
}
|
|
312
310
|
}
|
|
313
311
|
exports.Issues = Issues;
|
|
314
|
-
|
|
312
|
+
_Issues_list = new WeakMap();
|
|
315
313
|
//# sourceMappingURL=issue.js.map
|