@arrowsphere/api-client 3.126.0 → 3.128.0-rc.bdj.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/build/catalog/types/catalogGraphQLSchemas.d.ts +1 -0
- package/build/customers/testAddCustomer.d.ts +1 -0
- package/build/customers/testAddCustomer.js +40 -0
- package/build/customers/testUpdateCustomer.d.ts +1 -0
- package/build/customers/testUpdateCustomer.js +40 -0
- package/build/graphqlApi/types/entities/order.d.ts +3 -0
- package/build/graphqlApi/types/entities/specialPriceRate.d.ts +2 -0
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +4 -0
- package/build/graphqlApi/types/graphqlApiQueries.js +1 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +2 -0
- package/build/licenses/entities/getLicense/licenseGetResult.d.ts +3 -0
- package/build/licenses/entities/getLicense/licenseGetResult.js +9 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [3.127.0] - 2024.07.16
|
|
7
|
+
|
|
8
|
+
### Modified
|
|
9
|
+
- [licenses] Provide classification getting a license
|
|
10
|
+
|
|
6
11
|
## [3.126.0] - 2024.07.04
|
|
7
12
|
|
|
8
13
|
### Modified
|
|
@@ -14,6 +14,7 @@ declare type MissingFieldsOfProductSchema = {
|
|
|
14
14
|
attributesParameters?: AttributesParametersSchema;
|
|
15
15
|
baseOfferPrimaries?: IdentifiersSchema;
|
|
16
16
|
conversionOfferPrimaries?: IdentifiersSchema;
|
|
17
|
+
defaultPriceBand?: PriceBandSchema;
|
|
17
18
|
relatedOffers?: RelatedOfferSchema;
|
|
18
19
|
priceBand?: PriceBandSchema;
|
|
19
20
|
promotions?: PromotionSchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const publicApiClient_1 = __importDefault(require("../publicApiClient"));
|
|
7
|
+
const contact_1 = require("./entities/customers/contact/contact");
|
|
8
|
+
const customer_1 = require("./entities/customers/customer");
|
|
9
|
+
const customerContact_1 = require("./entities/customers/customerContact/customerContact");
|
|
10
|
+
const publicApiClient = new publicApiClient_1.default();
|
|
11
|
+
const customersClient = publicApiClient.getCustomersClient();
|
|
12
|
+
customersClient
|
|
13
|
+
.setUrl('https://dev2.arrowxsp.com/index.php/api')
|
|
14
|
+
.setApiKey('FvyZsYPSPafxZcPcN4Qj2vlYbqZvt4MU')
|
|
15
|
+
.setHeaders({ partnerRef: 'XSP17727' });
|
|
16
|
+
const i = 7;
|
|
17
|
+
const payload = {
|
|
18
|
+
[customer_1.CustomerFields.COLUMN_COMPANY_NAME]: ``,
|
|
19
|
+
[customer_1.CustomerFields.COLUMN_ADDRESS_LINE_1]: '175 Av de Lattre de Tassigny',
|
|
20
|
+
[customer_1.CustomerFields.COLUMN_ZIP]: '93800',
|
|
21
|
+
[customer_1.CustomerFields.COLUMN_CITY]: 'EPINAY SUR SEINE',
|
|
22
|
+
[customer_1.CustomerFields.COLUMN_COUNTRY_CODE]: 'FR',
|
|
23
|
+
[customer_1.CustomerFields.COLUMN_RECEPTION_PHONE]: '0175831253',
|
|
24
|
+
[customer_1.CustomerFields.COLUMN_WEBSITE_URL]: 'www.adyl-it.com',
|
|
25
|
+
[customer_1.CustomerFields.COLUMN_EMAIL_CONTACT]: `baiss${i}@adyl-it.com`,
|
|
26
|
+
[customer_1.CustomerFields.COLUMN_CONTACT]: {
|
|
27
|
+
[contact_1.ContactFields.COLUMN_FIRSTNAME]: `Baiss ${i}`,
|
|
28
|
+
[contact_1.ContactFields.COLUMN_LASTNAME]: `Djo ${i}`,
|
|
29
|
+
[contact_1.ContactFields.COLUMN_EMAIL]: `baiss${i}@adyl-it.com`,
|
|
30
|
+
[contact_1.ContactFields.COLUMN_PHONE]: `0175831253`,
|
|
31
|
+
[contact_1.ContactFields.COLUMN_TYPE]: customerContact_1.CustomerContactTypeEnum.OPERATIONS,
|
|
32
|
+
[contact_1.ContactFields.COLUMN_ROLE]: customerContact_1.CustomerContactRoleEnum.PRIMARY,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
const handler = async () => {
|
|
36
|
+
const response = await customersClient.createCustomer(payload);
|
|
37
|
+
console.log(response);
|
|
38
|
+
};
|
|
39
|
+
(async () => await handler())();
|
|
40
|
+
//# sourceMappingURL=testAddCustomer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const publicApiClient_1 = __importDefault(require("../publicApiClient"));
|
|
7
|
+
const contact_1 = require("./entities/customers/contact/contact");
|
|
8
|
+
const customer_1 = require("./entities/customers/customer");
|
|
9
|
+
const customerContact_1 = require("./entities/customers/customerContact/customerContact");
|
|
10
|
+
const publicApiClient = new publicApiClient_1.default();
|
|
11
|
+
const customersClient = publicApiClient.getCustomersClient();
|
|
12
|
+
customersClient
|
|
13
|
+
.setUrl('https://dev2.arrowxsp.com/index.php/api')
|
|
14
|
+
.setApiKey('FvyZsYPSPafxZcPcN4Qj2vlYbqZvt4MU')
|
|
15
|
+
.setHeaders({ partnerRef: 'XSP17727' });
|
|
16
|
+
const i = 3;
|
|
17
|
+
const payload = {
|
|
18
|
+
[customer_1.CustomerFields.COLUMN_COMPANY_NAME]: `Company Test ${i}`,
|
|
19
|
+
[customer_1.CustomerFields.COLUMN_ADDRESS_LINE_1]: '175 Av de Lattre de Tassigny',
|
|
20
|
+
[customer_1.CustomerFields.COLUMN_ZIP]: '93800',
|
|
21
|
+
[customer_1.CustomerFields.COLUMN_CITY]: 'EPINAY SUR SEINE',
|
|
22
|
+
[customer_1.CustomerFields.COLUMN_COUNTRY_CODE]: 'FR',
|
|
23
|
+
[customer_1.CustomerFields.COLUMN_RECEPTION_PHONE]: '0175831253',
|
|
24
|
+
[customer_1.CustomerFields.COLUMN_WEBSITE_URL]: 'www.adyl-it.com',
|
|
25
|
+
[customer_1.CustomerFields.COLUMN_EMAIL_CONTACT]: `baiss${i}@adyl-it.com`,
|
|
26
|
+
[customer_1.CustomerFields.COLUMN_CONTACT]: {
|
|
27
|
+
[contact_1.ContactFields.COLUMN_FIRSTNAME]: `Baiss ${i}`,
|
|
28
|
+
[contact_1.ContactFields.COLUMN_LASTNAME]: `Djo ${i}`,
|
|
29
|
+
[contact_1.ContactFields.COLUMN_EMAIL]: `baiss${i}@adyl-it.com`,
|
|
30
|
+
[contact_1.ContactFields.COLUMN_PHONE]: `0175831253`,
|
|
31
|
+
[contact_1.ContactFields.COLUMN_TYPE]: customerContact_1.CustomerContactTypeEnum.OPERATIONS,
|
|
32
|
+
[contact_1.ContactFields.COLUMN_ROLE]: customerContact_1.CustomerContactRoleEnum.PRIMARY,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
const handler = async () => {
|
|
36
|
+
const response = await customersClient.updateCustomer('XSP1175402', payload);
|
|
37
|
+
console.log(response);
|
|
38
|
+
};
|
|
39
|
+
(async () => await handler())();
|
|
40
|
+
//# sourceMappingURL=testUpdateCustomer.js.map
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { PartnerType } from './company';
|
|
1
2
|
import { SpecialPriceRateType } from './specialPriceRate';
|
|
2
3
|
export declare type OrdersType = {
|
|
3
4
|
id?: number;
|
|
4
5
|
items?: OrderItemsType[];
|
|
6
|
+
partner?: PartnerType;
|
|
5
7
|
};
|
|
6
8
|
export declare type OrderItemsType = {
|
|
7
9
|
id?: number;
|
|
10
|
+
order?: OrdersType;
|
|
8
11
|
priceRates?: SpecialPriceRateType[];
|
|
9
12
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CompanyTypeType } from './company';
|
|
2
|
+
import { OrderItemsType } from './order';
|
|
2
3
|
export declare type SpecialPriceRateType = {
|
|
3
4
|
id?: number;
|
|
4
5
|
createdAt?: string;
|
|
@@ -6,6 +7,7 @@ export declare type SpecialPriceRateType = {
|
|
|
6
7
|
rate?: number;
|
|
7
8
|
startedAt?: string;
|
|
8
9
|
companyType?: CompanyTypeType;
|
|
10
|
+
orderItem?: OrderItemsType;
|
|
9
11
|
type?: SubscriptionRateType;
|
|
10
12
|
};
|
|
11
13
|
export declare type SubscriptionRateType = {
|
|
@@ -4,6 +4,7 @@ import { LicenseBudgetType } from './entities/licenseBudget';
|
|
|
4
4
|
import { PartnertagType } from './entities/partnertag';
|
|
5
5
|
import { SubscribedProgramType } from './entities/program';
|
|
6
6
|
import { QuoteType } from './entities/quote';
|
|
7
|
+
import { SpecialPriceRateType } from './entities/specialPriceRate';
|
|
7
8
|
import { SubscriptionType } from './entities/subscription';
|
|
8
9
|
import { UserHistoryType, UserType } from './entities/user';
|
|
9
10
|
import { WorkgroupType } from './entities/workgroup';
|
|
@@ -120,6 +121,7 @@ export declare enum SelectDataField {
|
|
|
120
121
|
PARTNER = "partner",
|
|
121
122
|
PARTNERTAG = "partnertag",
|
|
122
123
|
QUOTE = "quote",
|
|
124
|
+
SPECIAL_PRICE_RATE = "specialPriceRate",
|
|
123
125
|
SUBSCRIBED_PROGRAM = "subscribedProgram",
|
|
124
126
|
SUBSCRIPTION = "subscription",
|
|
125
127
|
USER = "user",
|
|
@@ -142,6 +144,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
142
144
|
[SelectDataField.PARTNER]?: PartnerType[];
|
|
143
145
|
[SelectDataField.PARTNERTAG]?: PartnertagType[];
|
|
144
146
|
[SelectDataField.QUOTE]?: QuoteType[];
|
|
147
|
+
[SelectDataField.SPECIAL_PRICE_RATE]?: SpecialPriceRateType[];
|
|
145
148
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType[];
|
|
146
149
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
|
|
147
150
|
[SelectDataField.USER]?: UserType[];
|
|
@@ -190,6 +193,7 @@ export declare type SelectOneResponseDataType = {
|
|
|
190
193
|
[SelectDataField.PARTNER]?: PartnerType;
|
|
191
194
|
[SelectDataField.PARTNERTAG]?: PartnertagType;
|
|
192
195
|
[SelectDataField.QUOTE]?: QuoteType;
|
|
196
|
+
[SelectDataField.SPECIAL_PRICE_RATE]?: SpecialPriceRateType;
|
|
193
197
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType;
|
|
194
198
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType;
|
|
195
199
|
[SelectDataField.USER]?: UserType;
|
|
@@ -98,6 +98,7 @@ var SelectDataField;
|
|
|
98
98
|
SelectDataField["PARTNER"] = "partner";
|
|
99
99
|
SelectDataField["PARTNERTAG"] = "partnertag";
|
|
100
100
|
SelectDataField["QUOTE"] = "quote";
|
|
101
|
+
SelectDataField["SPECIAL_PRICE_RATE"] = "specialPriceRate";
|
|
101
102
|
SelectDataField["SUBSCRIBED_PROGRAM"] = "subscribedProgram";
|
|
102
103
|
SelectDataField["SUBSCRIPTION"] = "subscription";
|
|
103
104
|
SelectDataField["USER"] = "user";
|
|
@@ -102,6 +102,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
102
102
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
103
103
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
104
104
|
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
105
|
+
[SelectDataField.SPECIAL_PRICE_RATE]?: SpecialPriceRateSchema;
|
|
105
106
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
106
107
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
107
108
|
[SelectDataField.USER]?: UserSchema;
|
|
@@ -121,6 +122,7 @@ export declare type SelectOneResponseDataSchema = {
|
|
|
121
122
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
122
123
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
123
124
|
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
125
|
+
[SelectDataField.SPECIAL_PRICE_RATE]?: SpecialPriceRateSchema;
|
|
124
126
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
125
127
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
126
128
|
[SelectDataField.USER]?: UserSchema;
|
|
@@ -14,6 +14,7 @@ import { RelationGetData, RelationGetResult } from './relationGetResult';
|
|
|
14
14
|
import { ConfigFindResult, ConfigFindResultData } from '../license/configFindResult';
|
|
15
15
|
import { WarningFindResult, WarningFindResultData } from '../license/warningFindResult';
|
|
16
16
|
export declare enum LicenseGetFields {
|
|
17
|
+
COLUMN_CLASSIFICATION = "classification",
|
|
17
18
|
COLUMN_LICENSE_ID = "license_id",
|
|
18
19
|
COLUMN_PARENT_LICENSE_ID = "parent_license_id",
|
|
19
20
|
COLUMN_FRIENDLY_NAME = "friendlyName",
|
|
@@ -64,6 +65,7 @@ export declare enum LicenseGetFields {
|
|
|
64
65
|
COLUMN_WARNINGS = "warnings"
|
|
65
66
|
}
|
|
66
67
|
export declare type LicenseGetData = {
|
|
68
|
+
[LicenseGetFields.COLUMN_CLASSIFICATION]: string;
|
|
67
69
|
[LicenseGetFields.COLUMN_LICENSE_ID]: string;
|
|
68
70
|
[LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: string | null;
|
|
69
71
|
[LicenseGetFields.COLUMN_FRIENDLY_NAME]: string | null;
|
|
@@ -116,6 +118,7 @@ export declare type LicenseGetData = {
|
|
|
116
118
|
export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
117
119
|
#private;
|
|
118
120
|
constructor(licenseGetDataInput: LicenseGetData);
|
|
121
|
+
get classification(): string;
|
|
119
122
|
get id(): string;
|
|
120
123
|
get parentLicenseId(): string | null;
|
|
121
124
|
get friendlyName(): string | null;
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
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
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _LicenseGetResult_license_id, _LicenseGetResult_parent_license_id, _LicenseGetResult_friendlyName, _LicenseGetResult_customer_ref, _LicenseGetResult_state, _LicenseGetResult_statusCode, _LicenseGetResult_isTrial, _LicenseGetResult_isAddon, _LicenseGetResult_service_ref, _LicenseGetResult_sku, _LicenseGetResult_name, _LicenseGetResult_seats, _LicenseGetResult_activeSeats, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_marketplace, _LicenseGetResult_message, _LicenseGetResult_actions, _LicenseGetResult_actionMessages, _LicenseGetResult_order_reference, _LicenseGetResult_order, _LicenseGetResult_vendor_license_id, _LicenseGetResult_periodicity, _LicenseGetResult_periodicityCode, _LicenseGetResult_term, _LicenseGetResult_termCode, _LicenseGetResult_category, _LicenseGetResult_program, _LicenseGetResult_associatedSubscriptionProgram, _LicenseGetResult_price, _LicenseGetResult_arrowSubCategories, _LicenseGetResult_nextRenewalDate, _LicenseGetResult_promotion, _LicenseGetResult_assets, _LicenseGetResult_vendorBillingId, _LicenseGetResult_extraData, _LicenseGetResult_priceBand, _LicenseGetResult_vendorCode, _LicenseGetResult_vendor_code, _LicenseGetResult_vendorSku, _LicenseGetResult_rates, _LicenseGetResult_organizationUnitId, _LicenseGetResult_relation, _LicenseGetResult_marketSegment, _LicenseGetResult_configs, _LicenseGetResult_warnings;
|
|
13
|
+
var _LicenseGetResult_classification, _LicenseGetResult_license_id, _LicenseGetResult_parent_license_id, _LicenseGetResult_friendlyName, _LicenseGetResult_customer_ref, _LicenseGetResult_state, _LicenseGetResult_statusCode, _LicenseGetResult_isTrial, _LicenseGetResult_isAddon, _LicenseGetResult_service_ref, _LicenseGetResult_sku, _LicenseGetResult_name, _LicenseGetResult_seats, _LicenseGetResult_activeSeats, _LicenseGetResult_security, _LicenseGetResult_activation_datetime, _LicenseGetResult_expiry_datetime, _LicenseGetResult_autoRenew, _LicenseGetResult_marketplace, _LicenseGetResult_message, _LicenseGetResult_actions, _LicenseGetResult_actionMessages, _LicenseGetResult_order_reference, _LicenseGetResult_order, _LicenseGetResult_vendor_license_id, _LicenseGetResult_periodicity, _LicenseGetResult_periodicityCode, _LicenseGetResult_term, _LicenseGetResult_termCode, _LicenseGetResult_category, _LicenseGetResult_program, _LicenseGetResult_associatedSubscriptionProgram, _LicenseGetResult_price, _LicenseGetResult_arrowSubCategories, _LicenseGetResult_nextRenewalDate, _LicenseGetResult_promotion, _LicenseGetResult_assets, _LicenseGetResult_vendorBillingId, _LicenseGetResult_extraData, _LicenseGetResult_priceBand, _LicenseGetResult_vendorCode, _LicenseGetResult_vendor_code, _LicenseGetResult_vendorSku, _LicenseGetResult_rates, _LicenseGetResult_organizationUnitId, _LicenseGetResult_relation, _LicenseGetResult_marketSegment, _LicenseGetResult_configs, _LicenseGetResult_warnings;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.LicenseGetResult = exports.LicenseGetFields = void 0;
|
|
16
16
|
const actionsGetResult_1 = require("./actionsGetResult");
|
|
@@ -30,6 +30,7 @@ const configFindResult_1 = require("../license/configFindResult");
|
|
|
30
30
|
const warningFindResult_1 = require("../license/warningFindResult");
|
|
31
31
|
var LicenseGetFields;
|
|
32
32
|
(function (LicenseGetFields) {
|
|
33
|
+
LicenseGetFields["COLUMN_CLASSIFICATION"] = "classification";
|
|
33
34
|
LicenseGetFields["COLUMN_LICENSE_ID"] = "license_id";
|
|
34
35
|
LicenseGetFields["COLUMN_PARENT_LICENSE_ID"] = "parent_license_id";
|
|
35
36
|
LicenseGetFields["COLUMN_FRIENDLY_NAME"] = "friendlyName";
|
|
@@ -83,6 +84,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
83
84
|
constructor(licenseGetDataInput) {
|
|
84
85
|
var _a, _b, _c, _d, _e;
|
|
85
86
|
super(licenseGetDataInput);
|
|
87
|
+
_LicenseGetResult_classification.set(this, void 0);
|
|
86
88
|
_LicenseGetResult_license_id.set(this, void 0);
|
|
87
89
|
_LicenseGetResult_parent_license_id.set(this, void 0);
|
|
88
90
|
_LicenseGetResult_friendlyName.set(this, void 0);
|
|
@@ -131,6 +133,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
131
133
|
_LicenseGetResult_marketSegment.set(this, void 0);
|
|
132
134
|
_LicenseGetResult_configs.set(this, void 0);
|
|
133
135
|
_LicenseGetResult_warnings.set(this, void 0);
|
|
136
|
+
__classPrivateFieldSet(this, _LicenseGetResult_classification, licenseGetDataInput[LicenseGetFields.COLUMN_CLASSIFICATION], "f");
|
|
134
137
|
__classPrivateFieldSet(this, _LicenseGetResult_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_LICENSE_ID], "f");
|
|
135
138
|
__classPrivateFieldSet(this, _LicenseGetResult_parent_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_PARENT_LICENSE_ID], "f");
|
|
136
139
|
__classPrivateFieldSet(this, _LicenseGetResult_friendlyName, licenseGetDataInput[LicenseGetFields.COLUMN_FRIENDLY_NAME], "f");
|
|
@@ -194,6 +197,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
194
197
|
__classPrivateFieldSet(this, _LicenseGetResult_configs, (_d = licenseGetDataInput[LicenseGetFields.COLUMN_CONFIGS]) === null || _d === void 0 ? void 0 : _d.map((configData) => new configFindResult_1.ConfigFindResult(configData)), "f");
|
|
195
198
|
__classPrivateFieldSet(this, _LicenseGetResult_warnings, (_e = licenseGetDataInput[LicenseGetFields.COLUMN_WARNINGS]) === null || _e === void 0 ? void 0 : _e.map((warningData) => new warningFindResult_1.WarningFindResult(warningData)), "f");
|
|
196
199
|
}
|
|
200
|
+
get classification() {
|
|
201
|
+
return __classPrivateFieldGet(this, _LicenseGetResult_classification, "f");
|
|
202
|
+
}
|
|
197
203
|
get id() {
|
|
198
204
|
return __classPrivateFieldGet(this, _LicenseGetResult_license_id, "f");
|
|
199
205
|
}
|
|
@@ -344,6 +350,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
344
350
|
toJSON() {
|
|
345
351
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
346
352
|
return {
|
|
353
|
+
[LicenseGetFields.COLUMN_CLASSIFICATION]: this.classification,
|
|
347
354
|
[LicenseGetFields.COLUMN_LICENSE_ID]: this.id,
|
|
348
355
|
[LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: this.parentLicenseId,
|
|
349
356
|
[LicenseGetFields.COLUMN_FRIENDLY_NAME]: this.friendlyName,
|
|
@@ -397,5 +404,5 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
397
404
|
}
|
|
398
405
|
}
|
|
399
406
|
exports.LicenseGetResult = LicenseGetResult;
|
|
400
|
-
_LicenseGetResult_license_id = new WeakMap(), _LicenseGetResult_parent_license_id = new WeakMap(), _LicenseGetResult_friendlyName = new WeakMap(), _LicenseGetResult_customer_ref = new WeakMap(), _LicenseGetResult_state = new WeakMap(), _LicenseGetResult_statusCode = new WeakMap(), _LicenseGetResult_isTrial = new WeakMap(), _LicenseGetResult_isAddon = new WeakMap(), _LicenseGetResult_service_ref = new WeakMap(), _LicenseGetResult_sku = new WeakMap(), _LicenseGetResult_name = new WeakMap(), _LicenseGetResult_seats = new WeakMap(), _LicenseGetResult_activeSeats = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_marketplace = new WeakMap(), _LicenseGetResult_message = new WeakMap(), _LicenseGetResult_actions = new WeakMap(), _LicenseGetResult_actionMessages = new WeakMap(), _LicenseGetResult_order_reference = new WeakMap(), _LicenseGetResult_order = new WeakMap(), _LicenseGetResult_vendor_license_id = new WeakMap(), _LicenseGetResult_periodicity = new WeakMap(), _LicenseGetResult_periodicityCode = new WeakMap(), _LicenseGetResult_term = new WeakMap(), _LicenseGetResult_termCode = new WeakMap(), _LicenseGetResult_category = new WeakMap(), _LicenseGetResult_program = new WeakMap(), _LicenseGetResult_associatedSubscriptionProgram = new WeakMap(), _LicenseGetResult_price = new WeakMap(), _LicenseGetResult_arrowSubCategories = new WeakMap(), _LicenseGetResult_nextRenewalDate = new WeakMap(), _LicenseGetResult_promotion = new WeakMap(), _LicenseGetResult_assets = new WeakMap(), _LicenseGetResult_vendorBillingId = new WeakMap(), _LicenseGetResult_extraData = new WeakMap(), _LicenseGetResult_priceBand = new WeakMap(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_vendor_code = new WeakMap(), _LicenseGetResult_vendorSku = new WeakMap(), _LicenseGetResult_rates = new WeakMap(), _LicenseGetResult_organizationUnitId = new WeakMap(), _LicenseGetResult_relation = new WeakMap(), _LicenseGetResult_marketSegment = new WeakMap(), _LicenseGetResult_configs = new WeakMap(), _LicenseGetResult_warnings = new WeakMap();
|
|
407
|
+
_LicenseGetResult_classification = new WeakMap(), _LicenseGetResult_license_id = new WeakMap(), _LicenseGetResult_parent_license_id = new WeakMap(), _LicenseGetResult_friendlyName = new WeakMap(), _LicenseGetResult_customer_ref = new WeakMap(), _LicenseGetResult_state = new WeakMap(), _LicenseGetResult_statusCode = new WeakMap(), _LicenseGetResult_isTrial = new WeakMap(), _LicenseGetResult_isAddon = new WeakMap(), _LicenseGetResult_service_ref = new WeakMap(), _LicenseGetResult_sku = new WeakMap(), _LicenseGetResult_name = new WeakMap(), _LicenseGetResult_seats = new WeakMap(), _LicenseGetResult_activeSeats = new WeakMap(), _LicenseGetResult_security = new WeakMap(), _LicenseGetResult_activation_datetime = new WeakMap(), _LicenseGetResult_expiry_datetime = new WeakMap(), _LicenseGetResult_autoRenew = new WeakMap(), _LicenseGetResult_marketplace = new WeakMap(), _LicenseGetResult_message = new WeakMap(), _LicenseGetResult_actions = new WeakMap(), _LicenseGetResult_actionMessages = new WeakMap(), _LicenseGetResult_order_reference = new WeakMap(), _LicenseGetResult_order = new WeakMap(), _LicenseGetResult_vendor_license_id = new WeakMap(), _LicenseGetResult_periodicity = new WeakMap(), _LicenseGetResult_periodicityCode = new WeakMap(), _LicenseGetResult_term = new WeakMap(), _LicenseGetResult_termCode = new WeakMap(), _LicenseGetResult_category = new WeakMap(), _LicenseGetResult_program = new WeakMap(), _LicenseGetResult_associatedSubscriptionProgram = new WeakMap(), _LicenseGetResult_price = new WeakMap(), _LicenseGetResult_arrowSubCategories = new WeakMap(), _LicenseGetResult_nextRenewalDate = new WeakMap(), _LicenseGetResult_promotion = new WeakMap(), _LicenseGetResult_assets = new WeakMap(), _LicenseGetResult_vendorBillingId = new WeakMap(), _LicenseGetResult_extraData = new WeakMap(), _LicenseGetResult_priceBand = new WeakMap(), _LicenseGetResult_vendorCode = new WeakMap(), _LicenseGetResult_vendor_code = new WeakMap(), _LicenseGetResult_vendorSku = new WeakMap(), _LicenseGetResult_rates = new WeakMap(), _LicenseGetResult_organizationUnitId = new WeakMap(), _LicenseGetResult_relation = new WeakMap(), _LicenseGetResult_marketSegment = new WeakMap(), _LicenseGetResult_configs = new WeakMap(), _LicenseGetResult_warnings = new WeakMap();
|
|
401
408
|
//# sourceMappingURL=licenseGetResult.js.map
|
package/package.json
CHANGED