@arrowsphere/api-client 3.131.0 → 3.133.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 +11 -1
- package/build/graphqlApi/index.d.ts +1 -0
- package/build/graphqlApi/index.js +1 -0
- package/build/graphqlApi/types/entities/company.d.ts +1 -0
- package/build/graphqlApi/types/entities/quote.d.ts +4 -1
- package/build/graphqlApi/types/entities/quoteVersion.d.ts +8 -0
- package/build/graphqlApi/types/entities/quoteVersion.js +3 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +12 -1
- package/build/licenses/entities/getLicense/licenseGetResult.d.ts +3 -0
- package/build/licenses/entities/getLicense/licenseGetResult.js +10 -2
- package/build/licenses/entities/getLicense/priceBandGetResult.d.ts +10 -4
- package/build/licenses/entities/getLicense/priceBandGetResult.js +18 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,17 @@
|
|
|
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.
|
|
6
|
+
## [3.133.0] - 2024.08.13
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [quotes] Add lastVersion and version in quotes
|
|
10
|
+
|
|
11
|
+
## [3.132.0] - 2024.08.12
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- [licences] Provide information to process remaining credits
|
|
15
|
+
|
|
16
|
+
## [3.131.0] - 2024.08.12
|
|
7
17
|
|
|
8
18
|
### Added
|
|
9
19
|
- [licences] Add FindResultItem type
|
|
@@ -32,4 +32,5 @@ __exportStar(require("./types/entities/user"), exports);
|
|
|
32
32
|
__exportStar(require("./types/entities/vendor"), exports);
|
|
33
33
|
__exportStar(require("./types/entities/workgroup"), exports);
|
|
34
34
|
__exportStar(require("./graphqlApiClient"), exports);
|
|
35
|
+
__exportStar(require("./types/entities/quoteVersion"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ArrowCompanyType, EndCustomerType, PartnerType } from './company';
|
|
2
2
|
import { GraphqlApiProgramType } from './program';
|
|
3
|
+
import { QuoteVersion } from './quoteVersion';
|
|
3
4
|
export declare type EavType = {
|
|
4
5
|
value?: string;
|
|
5
6
|
};
|
|
@@ -11,20 +12,22 @@ export declare type QuoteType = {
|
|
|
11
12
|
endCustomer?: EndCustomerType;
|
|
12
13
|
items?: QuoteItemType[];
|
|
13
14
|
partner?: PartnerType;
|
|
15
|
+
versions?: QuoteVersion[];
|
|
14
16
|
promotionCode?: string;
|
|
15
17
|
reference?: string;
|
|
16
18
|
status?: string;
|
|
17
19
|
totalRecurringPrice?: number;
|
|
18
20
|
updatedAt?: string;
|
|
21
|
+
lastVersion?: QuoteVersion;
|
|
19
22
|
};
|
|
20
23
|
export declare type QuoteItemType = {
|
|
21
24
|
id?: number;
|
|
25
|
+
itemData?: ItemData;
|
|
22
26
|
name?: string;
|
|
23
27
|
program?: GraphqlApiProgramType;
|
|
24
28
|
reference?: string;
|
|
25
29
|
vendorName?: string;
|
|
26
30
|
vendorNamesSerialized?: string;
|
|
27
|
-
itemData?: ItemData;
|
|
28
31
|
};
|
|
29
32
|
export declare type ItemData = {
|
|
30
33
|
id?: string;
|
|
@@ -16,6 +16,7 @@ import { UserHistoryType, UserType } from './entities/user';
|
|
|
16
16
|
import { OrganizationUnitsType } from './entities/organizationUnit';
|
|
17
17
|
import { CurrencyType } from './entities/currency';
|
|
18
18
|
import { ItemData, QuoteItemType, QuoteType } from './entities/quote';
|
|
19
|
+
import { QuoteVersion } from './entities/quoteVersion';
|
|
19
20
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
20
21
|
declare type MissingFieldsOfCompanySchema = {
|
|
21
22
|
contacts?: ContactsSchema;
|
|
@@ -37,6 +38,7 @@ declare type MissingFieldsOfEndCustomerSchema = {
|
|
|
37
38
|
orders?: OrdersSchema;
|
|
38
39
|
partnerTags?: PartnertagSchema;
|
|
39
40
|
partner?: PartnerSchema;
|
|
41
|
+
country?: CountrySchema;
|
|
40
42
|
};
|
|
41
43
|
declare type MissingFieldsOfOrderItemSchema = {
|
|
42
44
|
priceRates?: SpecialPriceRateSchema;
|
|
@@ -59,12 +61,21 @@ declare type MissingFieldsOfQuoteSchema = {
|
|
|
59
61
|
endCustomer?: EndCustomerSchema;
|
|
60
62
|
items?: QuoteItemSchema;
|
|
61
63
|
partner?: PartnerSchema;
|
|
64
|
+
versions?: QuoteVersionSchema;
|
|
65
|
+
lastVersion?: QuoteVersionSchema;
|
|
62
66
|
};
|
|
63
67
|
declare type MissingFieldsOfQuoteItemSchema = {
|
|
64
68
|
program?: LicenseBudgetNotificationSchema;
|
|
65
69
|
itemData?: ItemDataSchema;
|
|
66
70
|
};
|
|
67
71
|
export declare type QuoteItemSchema = Merge<Schema<QuoteItemType, boolean>, MissingFieldsOfQuoteItemSchema>;
|
|
72
|
+
export declare type QuoteVersionSchema = Merge<Schema<QuoteVersion, boolean>, MissingFieldsOfQuoteVersionSchema>;
|
|
73
|
+
declare type MissingFieldsOfQuoteVersionSchema = {
|
|
74
|
+
items?: QuoteItemSchema;
|
|
75
|
+
};
|
|
76
|
+
declare type MissingFieldsOfCountrySchema = {
|
|
77
|
+
continent?: ContinentSchema;
|
|
78
|
+
};
|
|
68
79
|
export declare type ItemDataSchema = Schema<ItemData, boolean>;
|
|
69
80
|
export declare type QuoteSchema = Merge<Schema<QuoteType, boolean>, MissingFieldsOfQuoteSchema>;
|
|
70
81
|
export declare type ContactsSchema = Merge<Schema<ContactsType, boolean>, MissingFieldsOfContactSchema>;
|
|
@@ -77,7 +88,7 @@ export declare type PartnerSchema = Merge<Schema<PartnerType, boolean>, MissingF
|
|
|
77
88
|
export declare type ArrowCompanySchema = Merge<Schema<ArrowCompanyType, boolean>, MissingFieldsOfArrowCompanySchema>;
|
|
78
89
|
export declare type CompanyExtraInformationSchema = Schema<CompanyExtraInformation, boolean>;
|
|
79
90
|
export declare type ContinentSchema = Schema<ContinentType, boolean>;
|
|
80
|
-
export declare type CountrySchema = Schema<CountryType, boolean>;
|
|
91
|
+
export declare type CountrySchema = Merge<Schema<CountryType, boolean>, MissingFieldsOfCountrySchema>;
|
|
81
92
|
export declare type CurrencySchema = Schema<CurrencyType, boolean>;
|
|
82
93
|
export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
|
|
83
94
|
export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
|
|
@@ -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_ADDITIONAL_INFORMATION = "additional_information",
|
|
17
18
|
COLUMN_CLASSIFICATION = "classification",
|
|
18
19
|
COLUMN_LICENSE_ID = "license_id",
|
|
19
20
|
COLUMN_PARENT_LICENSE_ID = "parent_license_id",
|
|
@@ -65,6 +66,7 @@ export declare enum LicenseGetFields {
|
|
|
65
66
|
COLUMN_WARNINGS = "warnings"
|
|
66
67
|
}
|
|
67
68
|
export declare type LicenseGetData = {
|
|
69
|
+
[LicenseGetFields.COLUMN_ADDITIONAL_INFORMATION]?: Record<string, unknown>;
|
|
68
70
|
[LicenseGetFields.COLUMN_CLASSIFICATION]: string;
|
|
69
71
|
[LicenseGetFields.COLUMN_LICENSE_ID]: string;
|
|
70
72
|
[LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: string | null;
|
|
@@ -119,6 +121,7 @@ export declare class LicenseGetResult extends AbstractEntity<LicenseGetData> {
|
|
|
119
121
|
#private;
|
|
120
122
|
constructor(licenseGetDataInput: LicenseGetData);
|
|
121
123
|
get classification(): string;
|
|
124
|
+
get additionalInformation(): Record<string, unknown> | undefined;
|
|
122
125
|
get id(): string;
|
|
123
126
|
get parentLicenseId(): string | null;
|
|
124
127
|
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_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;
|
|
13
|
+
var _LicenseGetResult_additionalInformation, _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_ADDITIONAL_INFORMATION"] = "additional_information";
|
|
33
34
|
LicenseGetFields["COLUMN_CLASSIFICATION"] = "classification";
|
|
34
35
|
LicenseGetFields["COLUMN_LICENSE_ID"] = "license_id";
|
|
35
36
|
LicenseGetFields["COLUMN_PARENT_LICENSE_ID"] = "parent_license_id";
|
|
@@ -84,6 +85,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
84
85
|
constructor(licenseGetDataInput) {
|
|
85
86
|
var _a, _b, _c, _d, _e;
|
|
86
87
|
super(licenseGetDataInput);
|
|
88
|
+
_LicenseGetResult_additionalInformation.set(this, void 0);
|
|
87
89
|
_LicenseGetResult_classification.set(this, void 0);
|
|
88
90
|
_LicenseGetResult_license_id.set(this, void 0);
|
|
89
91
|
_LicenseGetResult_parent_license_id.set(this, void 0);
|
|
@@ -133,6 +135,7 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
133
135
|
_LicenseGetResult_marketSegment.set(this, void 0);
|
|
134
136
|
_LicenseGetResult_configs.set(this, void 0);
|
|
135
137
|
_LicenseGetResult_warnings.set(this, void 0);
|
|
138
|
+
__classPrivateFieldSet(this, _LicenseGetResult_additionalInformation, licenseGetDataInput[LicenseGetFields.COLUMN_ADDITIONAL_INFORMATION], "f");
|
|
136
139
|
__classPrivateFieldSet(this, _LicenseGetResult_classification, licenseGetDataInput[LicenseGetFields.COLUMN_CLASSIFICATION], "f");
|
|
137
140
|
__classPrivateFieldSet(this, _LicenseGetResult_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_LICENSE_ID], "f");
|
|
138
141
|
__classPrivateFieldSet(this, _LicenseGetResult_parent_license_id, licenseGetDataInput[LicenseGetFields.COLUMN_PARENT_LICENSE_ID], "f");
|
|
@@ -200,6 +203,9 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
200
203
|
get classification() {
|
|
201
204
|
return __classPrivateFieldGet(this, _LicenseGetResult_classification, "f");
|
|
202
205
|
}
|
|
206
|
+
get additionalInformation() {
|
|
207
|
+
return __classPrivateFieldGet(this, _LicenseGetResult_additionalInformation, "f");
|
|
208
|
+
}
|
|
203
209
|
get id() {
|
|
204
210
|
return __classPrivateFieldGet(this, _LicenseGetResult_license_id, "f");
|
|
205
211
|
}
|
|
@@ -350,6 +356,8 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
350
356
|
toJSON() {
|
|
351
357
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
352
358
|
return {
|
|
359
|
+
[LicenseGetFields.COLUMN_ADDITIONAL_INFORMATION]: this
|
|
360
|
+
.additionalInformation,
|
|
353
361
|
[LicenseGetFields.COLUMN_CLASSIFICATION]: this.classification,
|
|
354
362
|
[LicenseGetFields.COLUMN_LICENSE_ID]: this.id,
|
|
355
363
|
[LicenseGetFields.COLUMN_PARENT_LICENSE_ID]: this.parentLicenseId,
|
|
@@ -404,5 +412,5 @@ class LicenseGetResult extends abstractEntity_1.AbstractEntity {
|
|
|
404
412
|
}
|
|
405
413
|
}
|
|
406
414
|
exports.LicenseGetResult = LicenseGetResult;
|
|
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();
|
|
415
|
+
_LicenseGetResult_additionalInformation = new WeakMap(), _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();
|
|
408
416
|
//# sourceMappingURL=licenseGetResult.js.map
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
2
|
import { SaleConstraintsFindResult, SaleConstraintsFindResultData } from '../offer/priceband/saleConstraintsFindResult';
|
|
3
3
|
export declare enum PriceBandDataFields {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
COLUMN_ATTRIBUTES = "attributes",
|
|
5
|
+
COLUMN_BILLING = "billing",
|
|
6
|
+
COLUMN_SALE_CONSTRAINTS = "saleConstraints"
|
|
6
7
|
}
|
|
8
|
+
export declare type Billing = {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
7
11
|
export declare type PriceBandAttribute = {
|
|
8
12
|
name: string;
|
|
9
13
|
value: string;
|
|
10
14
|
};
|
|
11
15
|
export declare type PriceBandData = {
|
|
12
|
-
[PriceBandDataFields.COLUMN_SALE_CONTRAINSTS]?: SaleConstraintsFindResultData;
|
|
13
16
|
[PriceBandDataFields.COLUMN_ATTRIBUTES]?: PriceBandAttribute[];
|
|
17
|
+
[PriceBandDataFields.COLUMN_BILLING]?: Billing;
|
|
18
|
+
[PriceBandDataFields.COLUMN_SALE_CONSTRAINTS]?: SaleConstraintsFindResultData;
|
|
14
19
|
};
|
|
15
20
|
export declare class PriceBandGetResult extends AbstractEntity<PriceBandData> {
|
|
16
21
|
#private;
|
|
17
22
|
constructor(data: PriceBandData);
|
|
18
|
-
get saleConstraints(): SaleConstraintsFindResult | undefined;
|
|
19
23
|
get attributes(): PriceBandAttribute[] | undefined;
|
|
24
|
+
get billing(): Billing | undefined;
|
|
25
|
+
get saleConstraints(): SaleConstraintsFindResult | undefined;
|
|
20
26
|
toJSON(): PriceBandData;
|
|
21
27
|
}
|
|
@@ -10,40 +10,47 @@ 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
|
|
13
|
+
var _PriceBandGetResult_attributes, _PriceBandGetResult_billing, _PriceBandGetResult_saleConstraints;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.PriceBandGetResult = exports.PriceBandDataFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
17
|
const saleConstraintsFindResult_1 = require("../offer/priceband/saleConstraintsFindResult");
|
|
18
18
|
var PriceBandDataFields;
|
|
19
19
|
(function (PriceBandDataFields) {
|
|
20
|
-
PriceBandDataFields["COLUMN_SALE_CONTRAINSTS"] = "saleConstraints";
|
|
21
20
|
PriceBandDataFields["COLUMN_ATTRIBUTES"] = "attributes";
|
|
21
|
+
PriceBandDataFields["COLUMN_BILLING"] = "billing";
|
|
22
|
+
PriceBandDataFields["COLUMN_SALE_CONSTRAINTS"] = "saleConstraints";
|
|
22
23
|
})(PriceBandDataFields = exports.PriceBandDataFields || (exports.PriceBandDataFields = {}));
|
|
23
24
|
class PriceBandGetResult extends abstractEntity_1.AbstractEntity {
|
|
24
25
|
constructor(data) {
|
|
25
26
|
super(data);
|
|
26
|
-
_PriceBandGetResult_saleConstraints.set(this, void 0);
|
|
27
27
|
_PriceBandGetResult_attributes.set(this, void 0);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
: undefined, "f");
|
|
28
|
+
_PriceBandGetResult_billing.set(this, void 0);
|
|
29
|
+
_PriceBandGetResult_saleConstraints.set(this, void 0);
|
|
31
30
|
__classPrivateFieldSet(this, _PriceBandGetResult_attributes, data[PriceBandDataFields.COLUMN_ATTRIBUTES], "f");
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
__classPrivateFieldSet(this, _PriceBandGetResult_billing, data[PriceBandDataFields.COLUMN_BILLING], "f");
|
|
32
|
+
__classPrivateFieldSet(this, _PriceBandGetResult_saleConstraints, data[PriceBandDataFields.COLUMN_SALE_CONSTRAINTS] !== undefined
|
|
33
|
+
? new saleConstraintsFindResult_1.SaleConstraintsFindResult(data[PriceBandDataFields.COLUMN_SALE_CONSTRAINTS])
|
|
34
|
+
: undefined, "f");
|
|
35
35
|
}
|
|
36
36
|
get attributes() {
|
|
37
37
|
return __classPrivateFieldGet(this, _PriceBandGetResult_attributes, "f");
|
|
38
38
|
}
|
|
39
|
+
get billing() {
|
|
40
|
+
return __classPrivateFieldGet(this, _PriceBandGetResult_billing, "f");
|
|
41
|
+
}
|
|
42
|
+
get saleConstraints() {
|
|
43
|
+
return __classPrivateFieldGet(this, _PriceBandGetResult_saleConstraints, "f");
|
|
44
|
+
}
|
|
39
45
|
toJSON() {
|
|
40
46
|
var _a;
|
|
41
47
|
return {
|
|
42
|
-
[PriceBandDataFields.COLUMN_SALE_CONTRAINSTS]: (_a = this.saleConstraints) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
43
48
|
[PriceBandDataFields.COLUMN_ATTRIBUTES]: this.attributes,
|
|
49
|
+
[PriceBandDataFields.COLUMN_BILLING]: this.billing,
|
|
50
|
+
[PriceBandDataFields.COLUMN_SALE_CONSTRAINTS]: (_a = this.saleConstraints) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
44
51
|
};
|
|
45
52
|
}
|
|
46
53
|
}
|
|
47
54
|
exports.PriceBandGetResult = PriceBandGetResult;
|
|
48
|
-
|
|
55
|
+
_PriceBandGetResult_attributes = new WeakMap(), _PriceBandGetResult_billing = new WeakMap(), _PriceBandGetResult_saleConstraints = new WeakMap();
|
|
49
56
|
//# sourceMappingURL=priceBandGetResult.js.map
|
package/package.json
CHANGED