@arrowsphere/api-client 3.367.0 → 3.368.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 CHANGED
@@ -3,13 +3,14 @@
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.367.0] - 2026.05.11
7
6
 
7
+ ## [3.368.0] - 2026.05.18
8
8
  ### Added
9
+ - [graphql-api] Add new field to PriceBandType: `promotionsPrices`
9
10
 
10
- - [Cart] Add `isBundle`, `bundleArrowSphereSku`, and `basePriceBands` fields to `ItemType` and `Item` entity
11
- - [Cart] Add `ItemBundleRequestType` for adding bundle items to cart
12
- - [Cart] Add `BASE_PRICE_BANDS` and `BUNDLE_ARROWSPHERE_SKU` to `ItemRequestFields` enum
11
+ ## [3.367.0] - 2026.05.11
12
+ ### Added
13
+ - [ItemData] Add field `attributesParameters` in itemData for quote & order
13
14
 
14
15
  ## [3.366.0] - 2026.05.11
15
16
  ### Added
@@ -5,8 +5,6 @@ import { GetPromotionCartListResult } from './entities/promotionList';
5
5
  import { GetPrerequisitesListResult } from './entities/prerequisiteList';
6
6
  export declare enum ItemRequestFields {
7
7
  ADDITIONAL_DATA = "additionalData",
8
- BASE_PRICE_BANDS = "basePriceBands",
9
- BUNDLE_ARROWSPHERE_SKU = "bundleArrowSphereSku",
10
8
  COTERM_PRICES = "cotermPrices",
11
9
  COTERM_PRICES_WITHOUT_PROMOTION = "cotermPricesWithoutPromotion",
12
10
  CURRENCY = "currency",
@@ -39,14 +37,7 @@ export declare type ItemRequestType = {
39
37
  [ItemRequestFields.ADDITIONAL_DATA]?: ItemAdditionalDataRequestType[];
40
38
  [ItemRequestFields.USERNAME]?: string;
41
39
  };
42
- export declare type ItemBundleRequestType = {
43
- [ItemRequestFields.BUNDLE_ARROWSPHERE_SKU]: string;
44
- [ItemRequestFields.OFFER_NAME]: string;
45
- [ItemRequestFields.QUANTITY]?: 1;
46
- [ItemRequestFields.BASE_PRICE_BANDS]: ItemRequestType[];
47
- [ItemRequestFields.ADDITIONAL_DATA]?: ItemAdditionalDataRequestType[];
48
- };
49
- export declare type ItemAddRequestType = ItemRequestType | ItemBundleRequestType;
40
+ export declare type ItemAddRequestType = ItemRequestType;
50
41
  export declare type ItemUpdateRequestType = {
51
42
  [ItemRequestFields.PRICE_BAND_ARROWSPHERE_SKU]: string;
52
43
  [ItemRequestFields.QUANTITY]: number;
@@ -9,8 +9,6 @@ const prerequisiteList_1 = require("./entities/prerequisiteList");
9
9
  var ItemRequestFields;
10
10
  (function (ItemRequestFields) {
11
11
  ItemRequestFields["ADDITIONAL_DATA"] = "additionalData";
12
- ItemRequestFields["BASE_PRICE_BANDS"] = "basePriceBands";
13
- ItemRequestFields["BUNDLE_ARROWSPHERE_SKU"] = "bundleArrowSphereSku";
14
12
  ItemRequestFields["COTERM_PRICES"] = "cotermPrices";
15
13
  ItemRequestFields["COTERM_PRICES_WITHOUT_PROMOTION"] = "cotermPricesWithoutPromotion";
16
14
  ItemRequestFields["CURRENCY"] = "currency";
@@ -13,13 +13,10 @@ export declare type PricingRuleType = {
13
13
  };
14
14
  export declare enum ItemFields {
15
15
  ADDITIONAL_DATA = "additionalData",
16
- BASE_PRICE_BANDS = "basePriceBands",
17
- BUNDLE_ARROWSPHERE_SKU = "bundleArrowSphereSku",
18
16
  COTERM_PRICES = "cotermPrices",
19
17
  COTERM_PRICES_WITHOUT_PROMOTION = "cotermPricesWithoutPromotion",
20
18
  CURRENCY = "currency",
21
19
  IS_ADDON = "isAddon",
22
- IS_BUNDLE = "isBundle",
23
20
  IS_TRIAL = "isTrial",
24
21
  ITEM_ID = "itemId",
25
22
  OFFER_NAME = "offerName",
@@ -35,7 +32,6 @@ export declare type ItemType = {
35
32
  [ItemFields.COTERM_PRICES_WITHOUT_PROMOTION]?: Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
36
33
  [ItemFields.CURRENCY]?: string;
37
34
  [ItemFields.IS_ADDON]?: boolean;
38
- [ItemFields.IS_BUNDLE]?: boolean | undefined;
39
35
  [ItemFields.IS_TRIAL]?: boolean;
40
36
  [ItemFields.ITEM_ID]: string;
41
37
  [ItemFields.OFFER_NAME]: string;
@@ -44,8 +40,6 @@ export declare type ItemType = {
44
40
  [ItemFields.PRICES_WITHOUT_PROMOTION]?: Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
45
41
  [ItemFields.QUANTITY]: number;
46
42
  [ItemFields.RULES]?: Record<string, PricingRuleType> | undefined;
47
- [ItemFields.BUNDLE_ARROWSPHERE_SKU]?: string | undefined;
48
- [ItemFields.BASE_PRICE_BANDS]?: ItemType[] | undefined;
49
43
  };
50
44
  export declare class Item extends AbstractEntity<ItemType> {
51
45
  #private;
@@ -55,7 +49,6 @@ export declare class Item extends AbstractEntity<ItemType> {
55
49
  get cotermPricesWithoutPromotion(): Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
56
50
  get currency(): string | undefined;
57
51
  get isAddon(): boolean | undefined;
58
- get isBundle(): boolean | undefined;
59
52
  get isTrial(): boolean | undefined;
60
53
  get itemId(): string;
61
54
  get offerName(): string;
@@ -64,7 +57,5 @@ export declare class Item extends AbstractEntity<ItemType> {
64
57
  get pricesWithoutPromotion(): Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
65
58
  get quantity(): number;
66
59
  get rules(): Record<string, PricingRuleType> | undefined;
67
- get bundleArrowSphereSku(): string | undefined;
68
- get basePriceBands(): Item[] | undefined;
69
60
  toJSON(): ItemType;
70
61
  }
@@ -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 _Item_additionalData, _Item_cotermPrices, _Item_cotermPricesWithoutPromotion, _Item_currency, _Item_isAddon, _Item_isBundle, _Item_isTrial, _Item_itemId, _Item_offerName, _Item_priceBandArrowsphereSku, _Item_prices, _Item_pricesWithoutPromotion, _Item_quantity, _Item_rules, _Item_bundleArrowSphereSku, _Item_basePriceBands;
13
+ var _Item_additionalData, _Item_cotermPrices, _Item_cotermPricesWithoutPromotion, _Item_currency, _Item_isAddon, _Item_isTrial, _Item_itemId, _Item_offerName, _Item_priceBandArrowsphereSku, _Item_prices, _Item_pricesWithoutPromotion, _Item_quantity, _Item_rules;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Item = exports.ItemFields = exports.ItemAdditionalDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -22,13 +22,10 @@ var ItemAdditionalDataFields;
22
22
  var ItemFields;
23
23
  (function (ItemFields) {
24
24
  ItemFields["ADDITIONAL_DATA"] = "additionalData";
25
- ItemFields["BASE_PRICE_BANDS"] = "basePriceBands";
26
- ItemFields["BUNDLE_ARROWSPHERE_SKU"] = "bundleArrowSphereSku";
27
25
  ItemFields["COTERM_PRICES"] = "cotermPrices";
28
26
  ItemFields["COTERM_PRICES_WITHOUT_PROMOTION"] = "cotermPricesWithoutPromotion";
29
27
  ItemFields["CURRENCY"] = "currency";
30
28
  ItemFields["IS_ADDON"] = "isAddon";
31
- ItemFields["IS_BUNDLE"] = "isBundle";
32
29
  ItemFields["IS_TRIAL"] = "isTrial";
33
30
  ItemFields["ITEM_ID"] = "itemId";
34
31
  ItemFields["OFFER_NAME"] = "offerName";
@@ -40,14 +37,12 @@ var ItemFields;
40
37
  })(ItemFields = exports.ItemFields || (exports.ItemFields = {}));
41
38
  class Item extends abstractEntity_1.AbstractEntity {
42
39
  constructor(itemResponse) {
43
- var _a;
44
40
  super(itemResponse);
45
41
  _Item_additionalData.set(this, void 0);
46
42
  _Item_cotermPrices.set(this, void 0);
47
43
  _Item_cotermPricesWithoutPromotion.set(this, void 0);
48
44
  _Item_currency.set(this, void 0);
49
45
  _Item_isAddon.set(this, void 0);
50
- _Item_isBundle.set(this, void 0);
51
46
  _Item_isTrial.set(this, void 0);
52
47
  _Item_itemId.set(this, void 0);
53
48
  _Item_offerName.set(this, void 0);
@@ -56,14 +51,11 @@ class Item extends abstractEntity_1.AbstractEntity {
56
51
  _Item_pricesWithoutPromotion.set(this, void 0);
57
52
  _Item_quantity.set(this, void 0);
58
53
  _Item_rules.set(this, void 0);
59
- _Item_bundleArrowSphereSku.set(this, void 0);
60
- _Item_basePriceBands.set(this, void 0);
61
54
  __classPrivateFieldSet(this, _Item_additionalData, itemResponse[ItemFields.ADDITIONAL_DATA], "f");
62
55
  __classPrivateFieldSet(this, _Item_cotermPrices, itemResponse[ItemFields.COTERM_PRICES], "f");
63
56
  __classPrivateFieldSet(this, _Item_cotermPricesWithoutPromotion, itemResponse[ItemFields.COTERM_PRICES_WITHOUT_PROMOTION], "f");
64
57
  __classPrivateFieldSet(this, _Item_currency, itemResponse[ItemFields.CURRENCY], "f");
65
58
  __classPrivateFieldSet(this, _Item_isAddon, itemResponse[ItemFields.IS_ADDON], "f");
66
- __classPrivateFieldSet(this, _Item_isBundle, itemResponse[ItemFields.IS_BUNDLE], "f");
67
59
  __classPrivateFieldSet(this, _Item_isTrial, itemResponse[ItemFields.IS_TRIAL], "f");
68
60
  __classPrivateFieldSet(this, _Item_itemId, itemResponse[ItemFields.ITEM_ID], "f");
69
61
  __classPrivateFieldSet(this, _Item_offerName, itemResponse[ItemFields.OFFER_NAME], "f");
@@ -72,8 +64,6 @@ class Item extends abstractEntity_1.AbstractEntity {
72
64
  __classPrivateFieldSet(this, _Item_pricesWithoutPromotion, itemResponse[ItemFields.PRICES_WITHOUT_PROMOTION], "f");
73
65
  __classPrivateFieldSet(this, _Item_quantity, itemResponse[ItemFields.QUANTITY], "f");
74
66
  __classPrivateFieldSet(this, _Item_rules, itemResponse[ItemFields.RULES], "f");
75
- __classPrivateFieldSet(this, _Item_bundleArrowSphereSku, itemResponse[ItemFields.BUNDLE_ARROWSPHERE_SKU], "f");
76
- __classPrivateFieldSet(this, _Item_basePriceBands, (_a = itemResponse[ItemFields.BASE_PRICE_BANDS]) === null || _a === void 0 ? void 0 : _a.map((band) => new Item(band)), "f");
77
67
  }
78
68
  get additionalData() {
79
69
  return __classPrivateFieldGet(this, _Item_additionalData, "f");
@@ -90,9 +80,6 @@ class Item extends abstractEntity_1.AbstractEntity {
90
80
  get isAddon() {
91
81
  return __classPrivateFieldGet(this, _Item_isAddon, "f");
92
82
  }
93
- get isBundle() {
94
- return __classPrivateFieldGet(this, _Item_isBundle, "f");
95
- }
96
83
  get isTrial() {
97
84
  return __classPrivateFieldGet(this, _Item_isTrial, "f");
98
85
  }
@@ -117,14 +104,7 @@ class Item extends abstractEntity_1.AbstractEntity {
117
104
  get rules() {
118
105
  return __classPrivateFieldGet(this, _Item_rules, "f");
119
106
  }
120
- get bundleArrowSphereSku() {
121
- return __classPrivateFieldGet(this, _Item_bundleArrowSphereSku, "f");
122
- }
123
- get basePriceBands() {
124
- return __classPrivateFieldGet(this, _Item_basePriceBands, "f");
125
- }
126
107
  toJSON() {
127
- var _a;
128
108
  return {
129
109
  [ItemFields.ADDITIONAL_DATA]: this.additionalData,
130
110
  [ItemFields.COTERM_PRICES]: this.cotermPrices,
@@ -132,7 +112,6 @@ class Item extends abstractEntity_1.AbstractEntity {
132
112
  .cotermPricesWithoutPromotion,
133
113
  [ItemFields.CURRENCY]: this.currency,
134
114
  [ItemFields.IS_ADDON]: this.isAddon,
135
- [ItemFields.IS_BUNDLE]: this.isBundle,
136
115
  [ItemFields.IS_TRIAL]: this.isTrial,
137
116
  [ItemFields.ITEM_ID]: this.itemId,
138
117
  [ItemFields.OFFER_NAME]: this.offerName,
@@ -141,11 +120,9 @@ class Item extends abstractEntity_1.AbstractEntity {
141
120
  [ItemFields.PRICES_WITHOUT_PROMOTION]: this.pricesWithoutPromotion,
142
121
  [ItemFields.QUANTITY]: this.quantity,
143
122
  [ItemFields.RULES]: this.rules,
144
- [ItemFields.BUNDLE_ARROWSPHERE_SKU]: this.bundleArrowSphereSku,
145
- [ItemFields.BASE_PRICE_BANDS]: (_a = this.basePriceBands) === null || _a === void 0 ? void 0 : _a.map((band) => band.toJSON()),
146
123
  };
147
124
  }
148
125
  }
149
126
  exports.Item = Item;
150
- _Item_additionalData = new WeakMap(), _Item_cotermPrices = new WeakMap(), _Item_cotermPricesWithoutPromotion = new WeakMap(), _Item_currency = new WeakMap(), _Item_isAddon = new WeakMap(), _Item_isBundle = new WeakMap(), _Item_isTrial = new WeakMap(), _Item_itemId = new WeakMap(), _Item_offerName = new WeakMap(), _Item_priceBandArrowsphereSku = new WeakMap(), _Item_prices = new WeakMap(), _Item_pricesWithoutPromotion = new WeakMap(), _Item_quantity = new WeakMap(), _Item_rules = new WeakMap(), _Item_bundleArrowSphereSku = new WeakMap(), _Item_basePriceBands = new WeakMap();
127
+ _Item_additionalData = new WeakMap(), _Item_cotermPrices = new WeakMap(), _Item_cotermPricesWithoutPromotion = new WeakMap(), _Item_currency = new WeakMap(), _Item_isAddon = new WeakMap(), _Item_isTrial = new WeakMap(), _Item_itemId = new WeakMap(), _Item_offerName = new WeakMap(), _Item_priceBandArrowsphereSku = new WeakMap(), _Item_prices = new WeakMap(), _Item_pricesWithoutPromotion = new WeakMap(), _Item_quantity = new WeakMap(), _Item_rules = new WeakMap();
151
128
  //# sourceMappingURL=item.js.map
@@ -1,4 +1,4 @@
1
- import { AttributesParameters, AttributeType, BundleBillingRuleType, ExchangeRateType, ExchangeRateValueType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, PromotionType, RelatedOfferType } from './catalogGraphQLTypes';
1
+ import { AttributesParameters, AttributeType, BundleBillingRuleType, ExchangeRateType, ExchangeRateValueType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, PromotionPricesFull, PromotionType, RelatedOfferType } from './catalogGraphQLTypes';
2
2
  import { Merge, Schema } from 'type-fest';
3
3
  export declare type PaginationSchema = Schema<PaginationType, boolean>;
4
4
  export declare type FiltersSchema = Schema<FiltersType, boolean>;
@@ -24,11 +24,15 @@ declare type MissingFieldsOfProductSchema = {
24
24
  };
25
25
  export declare type ProductSchema = Merge<Schema<ProductType, boolean>, MissingFieldsOfProductSchema>;
26
26
  declare type AttributeSchema = Schema<AttributeType, boolean>;
27
+ declare type PromotionPricesFullSchema = Merge<Schema<PromotionPricesFull, boolean>, {
28
+ attributes?: AttributeSchema;
29
+ }>;
27
30
  /**
28
31
  * Field of type array are not handled by Schema, they must be overwritten
29
32
  */
30
33
  declare type MissingFieldsOfPriceBandSchema = {
31
34
  attributes?: AttributeSchema;
35
+ promotionsPrices?: PromotionPricesFullSchema;
32
36
  };
33
37
  /**
34
38
  * No type corresponding
@@ -189,6 +189,7 @@ export declare type PriceBandType = {
189
189
  saleConstraints?: PriceBandSaleConstraintsType;
190
190
  uom?: UomType;
191
191
  promotionPrices?: PromotionPricesType;
192
+ promotionsPrices?: Array<PromotionPricesFull>;
192
193
  vendor?: VendorType;
193
194
  };
194
195
  export declare type PriceBandActionFlagsType = {
@@ -283,6 +284,10 @@ export declare type VendorPricingSourceType = {
283
284
  changeRate?: number;
284
285
  prices?: PricesType;
285
286
  };
287
+ export declare type PromotionPricesFull = Omit<PromotionType, 'billing'> & {
288
+ prices?: PricesType;
289
+ attributes?: Array<AttributeType>;
290
+ };
286
291
  export declare type PromotionType = {
287
292
  promotionId?: string;
288
293
  vendorSku?: string;
@@ -3,6 +3,7 @@ import { ContactsType } from './contact';
3
3
  import { GraphqlApiProgramType } from './program';
4
4
  import { QuoteVersion } from './quoteVersion';
5
5
  import { Comment } from './comment';
6
+ import { AttributesParameters } from '../../../catalog';
6
7
  export declare type EavType = {
7
8
  value?: string;
8
9
  };
@@ -42,6 +43,7 @@ export declare type QuoteItemType = {
42
43
  export declare type ItemData = {
43
44
  id?: string;
44
45
  attributes?: NameValueType[];
46
+ attributesParameters?: AttributesParameters[];
45
47
  isAddon?: boolean;
46
48
  isTrial?: boolean;
47
49
  arrowSubCategories?: string[];
@@ -59,15 +61,13 @@ export declare type ItemData = {
59
61
  arrowBuyPrice?: number;
60
62
  arrowCotermBuyPrice?: number;
61
63
  /**
62
- * this field will be delete shortly
63
64
  * Use 'partnerBuyPrice' instead.
64
- * @deprecated
65
+ * @deprecated this field will be deleted shortly
65
66
  */
66
67
  resellerBuyPrice?: number;
67
68
  /**
68
- * this field will be delete shortly
69
69
  * Use 'partnerCotermBuyPrice' instead.
70
- * @deprecated
70
+ * @deprecated this field will be deleted shortly
71
71
  */
72
72
  resellerCotermBuyPrice?: number;
73
73
  retailCotermBuyPrice?: number;
@@ -21,6 +21,7 @@ import { GraphqlApiEavType } from './entities/eav';
21
21
  import { GraphqlApiSupportLevel } from './entities/supportLevel';
22
22
  import { GraphqlApiProgramAgreementType } from './entities/programAgreement';
23
23
  import { GraphqlApiContributorRoleType, GraphqlApiStaffType } from './entities/contributor';
24
+ import { AttributesParameters } from '../../catalog';
24
25
  export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
25
26
  declare type MissingFieldsOfCompanySchema = {
26
27
  contacts?: ContactsSchema;
@@ -88,8 +89,10 @@ declare type MissingFieldsOfCountrySchema = {
88
89
  continent?: ContinentSchema;
89
90
  };
90
91
  declare type NameValueTypeSchema = Schema<NameValueType, boolean>;
92
+ declare type AttributesParametersSchema = Schema<AttributesParameters, boolean>;
91
93
  declare type MissingFieldsOfItemDataSchema = {
92
94
  attributes?: NameValueTypeSchema;
95
+ attributesParameters?: AttributesParametersSchema;
93
96
  };
94
97
  export declare type ItemDataSchema = Merge<Schema<ItemData, boolean>, MissingFieldsOfItemDataSchema>;
95
98
  export declare type QuoteSchema = Merge<Schema<QuoteType, boolean>, MissingFieldsOfQuoteSchema>;
@@ -1,8 +1,10 @@
1
1
  import { AbstractEntity } from '../../../abstractEntity';
2
2
  import { SaleConstraintsFindResult, SaleConstraintsFindResultData } from '../offer/priceband/saleConstraintsFindResult';
3
- import { AttributesParameterType } from '../../../catalog';
3
+ import { AttributesParameters } from '../../../catalog';
4
4
  export declare enum PriceBandDataFields {
5
+ COLUMN_BASE_ATTRIBUTES = "baseAttributes",
5
6
  COLUMN_ATTRIBUTES = "attributes",
7
+ COLUMN_ATTRIBUTES_PARAMETERS = "attributesParameters",
6
8
  COLUMN_BILLING = "billing",
7
9
  COLUMN_SALE_CONSTRAINTS = "saleConstraints"
8
10
  }
@@ -12,17 +14,20 @@ export declare type Billing = {
12
14
  export declare type PriceBandAttribute = {
13
15
  name: string;
14
16
  value: string;
15
- type?: AttributesParameterType;
16
17
  };
17
18
  export declare type PriceBandData = {
19
+ [PriceBandDataFields.COLUMN_BASE_ATTRIBUTES]?: PriceBandAttribute[];
18
20
  [PriceBandDataFields.COLUMN_ATTRIBUTES]?: PriceBandAttribute[];
21
+ [PriceBandDataFields.COLUMN_ATTRIBUTES_PARAMETERS]?: AttributesParameters[];
19
22
  [PriceBandDataFields.COLUMN_BILLING]?: Billing;
20
23
  [PriceBandDataFields.COLUMN_SALE_CONSTRAINTS]?: SaleConstraintsFindResultData;
21
24
  };
22
25
  export declare class PriceBandGetResult extends AbstractEntity<PriceBandData> {
23
26
  #private;
24
27
  constructor(data: PriceBandData);
28
+ get baseAttributes(): PriceBandAttribute[] | undefined;
25
29
  get attributes(): PriceBandAttribute[] | undefined;
30
+ get attributesParameters(): AttributesParameters[] | undefined;
26
31
  get billing(): Billing | undefined;
27
32
  get saleConstraints(): SaleConstraintsFindResult | undefined;
28
33
  toJSON(): PriceBandData;
@@ -10,32 +10,44 @@ 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 _PriceBandGetResult_attributes, _PriceBandGetResult_billing, _PriceBandGetResult_saleConstraints;
13
+ var _PriceBandGetResult_baseAttributes, _PriceBandGetResult_attributes, _PriceBandGetResult_attributesParameters, _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_BASE_ATTRIBUTES"] = "baseAttributes";
20
21
  PriceBandDataFields["COLUMN_ATTRIBUTES"] = "attributes";
22
+ PriceBandDataFields["COLUMN_ATTRIBUTES_PARAMETERS"] = "attributesParameters";
21
23
  PriceBandDataFields["COLUMN_BILLING"] = "billing";
22
24
  PriceBandDataFields["COLUMN_SALE_CONSTRAINTS"] = "saleConstraints";
23
25
  })(PriceBandDataFields = exports.PriceBandDataFields || (exports.PriceBandDataFields = {}));
24
26
  class PriceBandGetResult extends abstractEntity_1.AbstractEntity {
25
27
  constructor(data) {
26
28
  super(data);
29
+ _PriceBandGetResult_baseAttributes.set(this, void 0);
27
30
  _PriceBandGetResult_attributes.set(this, void 0);
31
+ _PriceBandGetResult_attributesParameters.set(this, void 0);
28
32
  _PriceBandGetResult_billing.set(this, void 0);
29
33
  _PriceBandGetResult_saleConstraints.set(this, void 0);
34
+ __classPrivateFieldSet(this, _PriceBandGetResult_baseAttributes, data[PriceBandDataFields.COLUMN_BASE_ATTRIBUTES], "f");
30
35
  __classPrivateFieldSet(this, _PriceBandGetResult_attributes, data[PriceBandDataFields.COLUMN_ATTRIBUTES], "f");
36
+ __classPrivateFieldSet(this, _PriceBandGetResult_attributesParameters, data[PriceBandDataFields.COLUMN_ATTRIBUTES_PARAMETERS], "f");
31
37
  __classPrivateFieldSet(this, _PriceBandGetResult_billing, data[PriceBandDataFields.COLUMN_BILLING], "f");
32
38
  __classPrivateFieldSet(this, _PriceBandGetResult_saleConstraints, data[PriceBandDataFields.COLUMN_SALE_CONSTRAINTS] !== undefined
33
39
  ? new saleConstraintsFindResult_1.SaleConstraintsFindResult(data[PriceBandDataFields.COLUMN_SALE_CONSTRAINTS])
34
40
  : undefined, "f");
35
41
  }
42
+ get baseAttributes() {
43
+ return __classPrivateFieldGet(this, _PriceBandGetResult_baseAttributes, "f");
44
+ }
36
45
  get attributes() {
37
46
  return __classPrivateFieldGet(this, _PriceBandGetResult_attributes, "f");
38
47
  }
48
+ get attributesParameters() {
49
+ return __classPrivateFieldGet(this, _PriceBandGetResult_attributesParameters, "f");
50
+ }
39
51
  get billing() {
40
52
  return __classPrivateFieldGet(this, _PriceBandGetResult_billing, "f");
41
53
  }
@@ -45,12 +57,15 @@ class PriceBandGetResult extends abstractEntity_1.AbstractEntity {
45
57
  toJSON() {
46
58
  var _a;
47
59
  return {
60
+ [PriceBandDataFields.COLUMN_BASE_ATTRIBUTES]: this.baseAttributes,
48
61
  [PriceBandDataFields.COLUMN_ATTRIBUTES]: this.attributes,
62
+ [PriceBandDataFields.COLUMN_ATTRIBUTES_PARAMETERS]: this
63
+ .attributesParameters,
49
64
  [PriceBandDataFields.COLUMN_BILLING]: this.billing,
50
65
  [PriceBandDataFields.COLUMN_SALE_CONSTRAINTS]: (_a = this.saleConstraints) === null || _a === void 0 ? void 0 : _a.toJSON(),
51
66
  };
52
67
  }
53
68
  }
54
69
  exports.PriceBandGetResult = PriceBandGetResult;
55
- _PriceBandGetResult_attributes = new WeakMap(), _PriceBandGetResult_billing = new WeakMap(), _PriceBandGetResult_saleConstraints = new WeakMap();
70
+ _PriceBandGetResult_baseAttributes = new WeakMap(), _PriceBandGetResult_attributes = new WeakMap(), _PriceBandGetResult_attributesParameters = new WeakMap(), _PriceBandGetResult_billing = new WeakMap(), _PriceBandGetResult_saleConstraints = new WeakMap();
56
71
  //# sourceMappingURL=priceBandGetResult.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.367.0",
7
+ "version": "3.368.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",