@arrowsphere/api-client 3.413.0-rc.mel.2 → 3.414.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,9 +3,13 @@
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.413.0] - 2026.10.23
6
+ ## [3.414.0] - 2026.10.23
7
7
  ### Added
8
- - [supportCenter] Add `extraDescriptionInfo` to `CreateIssuePayload` (`IssueExtraDescriptionInfoType`, `IssueExtraDescriptionInfoNameEnum`, `IssueExtraDescriptionInfoImpactEnum`, `IssueExtraDescriptionInfoUrgencyEnum`, `IssueExtraDescriptionInfoAvailabilityEnum`)
8
+ - [cart] Add `endCustomer` to cart `Item` (`EndCustomer`: `reference` and Microsoft `vendorInfo`)
9
+
10
+ ## [3.413.0] - 2026.10.22
11
+ ### Added
12
+ - [licenses] Add `erp` to PriceBand `identifiers`
9
13
 
10
14
  ## [3.412.0] - 2026.10.21
11
15
  ### Added
@@ -0,0 +1,32 @@
1
+ import { AbstractEntity } from '../../abstractEntity';
2
+ export declare enum EndCustomerMicrosoftFields {
3
+ HAS_MICROSOFT_PROGRAM = "hasMicrosoftProgram",
4
+ IS_MCA_VALIDATED = "isMcaValidated",
5
+ IS_PROVISIONED = "isProvisioned"
6
+ }
7
+ export declare enum EndCustomerVendorInfoFields {
8
+ MICROSOFT = "microsoft"
9
+ }
10
+ export declare enum EndCustomerFields {
11
+ REFERENCE = "reference",
12
+ VENDOR_INFO = "vendorInfo"
13
+ }
14
+ export declare type EndCustomerMicrosoftType = {
15
+ [EndCustomerMicrosoftFields.HAS_MICROSOFT_PROGRAM]?: boolean | undefined;
16
+ [EndCustomerMicrosoftFields.IS_MCA_VALIDATED]?: boolean | undefined;
17
+ [EndCustomerMicrosoftFields.IS_PROVISIONED]?: boolean | undefined;
18
+ };
19
+ export declare type EndCustomerVendorInfoType = {
20
+ [EndCustomerVendorInfoFields.MICROSOFT]?: EndCustomerMicrosoftType | undefined;
21
+ };
22
+ export declare type CartEndCustomerType = {
23
+ [EndCustomerFields.REFERENCE]?: string | undefined;
24
+ [EndCustomerFields.VENDOR_INFO]?: EndCustomerVendorInfoType | undefined;
25
+ };
26
+ export declare class EndCustomer extends AbstractEntity<CartEndCustomerType> {
27
+ #private;
28
+ constructor(endCustomerResponse: CartEndCustomerType);
29
+ get reference(): string | undefined;
30
+ get vendorInfo(): EndCustomerVendorInfoType | undefined;
31
+ toJSON(): CartEndCustomerType;
32
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
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;
7
+ };
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);
12
+ };
13
+ var _EndCustomer_reference, _EndCustomer_vendorInfo;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.EndCustomer = exports.EndCustomerFields = exports.EndCustomerVendorInfoFields = exports.EndCustomerMicrosoftFields = void 0;
16
+ const abstractEntity_1 = require("../../abstractEntity");
17
+ var EndCustomerMicrosoftFields;
18
+ (function (EndCustomerMicrosoftFields) {
19
+ EndCustomerMicrosoftFields["HAS_MICROSOFT_PROGRAM"] = "hasMicrosoftProgram";
20
+ EndCustomerMicrosoftFields["IS_MCA_VALIDATED"] = "isMcaValidated";
21
+ EndCustomerMicrosoftFields["IS_PROVISIONED"] = "isProvisioned";
22
+ })(EndCustomerMicrosoftFields = exports.EndCustomerMicrosoftFields || (exports.EndCustomerMicrosoftFields = {}));
23
+ var EndCustomerVendorInfoFields;
24
+ (function (EndCustomerVendorInfoFields) {
25
+ EndCustomerVendorInfoFields["MICROSOFT"] = "microsoft";
26
+ })(EndCustomerVendorInfoFields = exports.EndCustomerVendorInfoFields || (exports.EndCustomerVendorInfoFields = {}));
27
+ var EndCustomerFields;
28
+ (function (EndCustomerFields) {
29
+ EndCustomerFields["REFERENCE"] = "reference";
30
+ EndCustomerFields["VENDOR_INFO"] = "vendorInfo";
31
+ })(EndCustomerFields = exports.EndCustomerFields || (exports.EndCustomerFields = {}));
32
+ class EndCustomer extends abstractEntity_1.AbstractEntity {
33
+ constructor(endCustomerResponse) {
34
+ super(endCustomerResponse);
35
+ _EndCustomer_reference.set(this, void 0);
36
+ _EndCustomer_vendorInfo.set(this, void 0);
37
+ __classPrivateFieldSet(this, _EndCustomer_reference, endCustomerResponse[EndCustomerFields.REFERENCE], "f");
38
+ __classPrivateFieldSet(this, _EndCustomer_vendorInfo, endCustomerResponse[EndCustomerFields.VENDOR_INFO], "f");
39
+ }
40
+ get reference() {
41
+ return __classPrivateFieldGet(this, _EndCustomer_reference, "f");
42
+ }
43
+ get vendorInfo() {
44
+ return __classPrivateFieldGet(this, _EndCustomer_vendorInfo, "f");
45
+ }
46
+ toJSON() {
47
+ return {
48
+ [EndCustomerFields.REFERENCE]: this.reference,
49
+ [EndCustomerFields.VENDOR_INFO]: this.vendorInfo,
50
+ };
51
+ }
52
+ }
53
+ exports.EndCustomer = EndCustomer;
54
+ _EndCustomer_reference = new WeakMap(), _EndCustomer_vendorInfo = new WeakMap();
55
+ //# sourceMappingURL=endCustomer.js.map
@@ -1,3 +1,4 @@
1
+ export * from './endCustomer';
1
2
  export * from './item';
2
3
  export * from './itemList';
3
4
  export * from './cartItemListResult';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./endCustomer"), exports);
17
18
  __exportStar(require("./item"), exports);
18
19
  __exportStar(require("./itemList"), exports);
19
20
  __exportStar(require("./cartItemListResult"), exports);
@@ -1,4 +1,5 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
+ import { EndCustomer, CartEndCustomerType } from './endCustomer';
2
3
  export declare enum ItemAdditionalDataFields {
3
4
  NAME = "name",
4
5
  VALUE = "value"
@@ -18,6 +19,7 @@ export declare enum ItemFields {
18
19
  COTERM_PRICES = "cotermPrices",
19
20
  COTERM_PRICES_WITHOUT_PROMOTION = "cotermPricesWithoutPromotion",
20
21
  CURRENCY = "currency",
22
+ END_CUSTOMER = "endCustomer",
21
23
  IS_ADDON = "isAddon",
22
24
  IS_BUNDLE = "isBundle",
23
25
  IS_TRIAL = "isTrial",
@@ -36,6 +38,7 @@ export declare type ItemType = {
36
38
  [ItemFields.COTERM_PRICES]?: Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
37
39
  [ItemFields.COTERM_PRICES_WITHOUT_PROMOTION]?: Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
38
40
  [ItemFields.CURRENCY]?: string;
41
+ [ItemFields.END_CUSTOMER]?: CartEndCustomerType | undefined;
39
42
  [ItemFields.IS_ADDON]?: boolean;
40
43
  [ItemFields.IS_BUNDLE]?: boolean | undefined;
41
44
  [ItemFields.IS_TRIAL]?: boolean;
@@ -58,6 +61,7 @@ export declare class Item extends AbstractEntity<ItemType> {
58
61
  get cotermPrices(): Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
59
62
  get cotermPricesWithoutPromotion(): Record<'arrow' | 'partner' | 'endCustomer' | 'retail', number> | undefined;
60
63
  get currency(): string | undefined;
64
+ get endCustomer(): EndCustomer | undefined;
61
65
  get isAddon(): boolean | undefined;
62
66
  get isBundle(): boolean | undefined;
63
67
  get isTrial(): boolean | undefined;
@@ -10,10 +10,11 @@ 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_pricebandErpSku, _Item_pricebandVendorSku, _Item_prices, _Item_pricesWithoutPromotion, _Item_quantity, _Item_rules, _Item_bundleArrowSphereSku, _Item_basePriceBands;
13
+ var _Item_additionalData, _Item_cotermPrices, _Item_cotermPricesWithoutPromotion, _Item_currency, _Item_endCustomer, _Item_isAddon, _Item_isBundle, _Item_isTrial, _Item_itemId, _Item_offerName, _Item_priceBandArrowsphereSku, _Item_pricebandErpSku, _Item_pricebandVendorSku, _Item_prices, _Item_pricesWithoutPromotion, _Item_quantity, _Item_rules, _Item_bundleArrowSphereSku, _Item_basePriceBands;
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");
17
+ const endCustomer_1 = require("./endCustomer");
17
18
  var ItemAdditionalDataFields;
18
19
  (function (ItemAdditionalDataFields) {
19
20
  ItemAdditionalDataFields["NAME"] = "name";
@@ -27,6 +28,7 @@ var ItemFields;
27
28
  ItemFields["COTERM_PRICES"] = "cotermPrices";
28
29
  ItemFields["COTERM_PRICES_WITHOUT_PROMOTION"] = "cotermPricesWithoutPromotion";
29
30
  ItemFields["CURRENCY"] = "currency";
31
+ ItemFields["END_CUSTOMER"] = "endCustomer";
30
32
  ItemFields["IS_ADDON"] = "isAddon";
31
33
  ItemFields["IS_BUNDLE"] = "isBundle";
32
34
  ItemFields["IS_TRIAL"] = "isTrial";
@@ -48,6 +50,7 @@ class Item extends abstractEntity_1.AbstractEntity {
48
50
  _Item_cotermPrices.set(this, void 0);
49
51
  _Item_cotermPricesWithoutPromotion.set(this, void 0);
50
52
  _Item_currency.set(this, void 0);
53
+ _Item_endCustomer.set(this, void 0);
51
54
  _Item_isAddon.set(this, void 0);
52
55
  _Item_isBundle.set(this, void 0);
53
56
  _Item_isTrial.set(this, void 0);
@@ -66,6 +69,8 @@ class Item extends abstractEntity_1.AbstractEntity {
66
69
  __classPrivateFieldSet(this, _Item_cotermPrices, itemResponse[ItemFields.COTERM_PRICES], "f");
67
70
  __classPrivateFieldSet(this, _Item_cotermPricesWithoutPromotion, itemResponse[ItemFields.COTERM_PRICES_WITHOUT_PROMOTION], "f");
68
71
  __classPrivateFieldSet(this, _Item_currency, itemResponse[ItemFields.CURRENCY], "f");
72
+ const endCustomer = itemResponse[ItemFields.END_CUSTOMER];
73
+ __classPrivateFieldSet(this, _Item_endCustomer, endCustomer ? new endCustomer_1.EndCustomer(endCustomer) : undefined, "f");
69
74
  __classPrivateFieldSet(this, _Item_isAddon, itemResponse[ItemFields.IS_ADDON], "f");
70
75
  __classPrivateFieldSet(this, _Item_isBundle, itemResponse[ItemFields.IS_BUNDLE], "f");
71
76
  __classPrivateFieldSet(this, _Item_isTrial, itemResponse[ItemFields.IS_TRIAL], "f");
@@ -93,6 +98,9 @@ class Item extends abstractEntity_1.AbstractEntity {
93
98
  get currency() {
94
99
  return __classPrivateFieldGet(this, _Item_currency, "f");
95
100
  }
101
+ get endCustomer() {
102
+ return __classPrivateFieldGet(this, _Item_endCustomer, "f");
103
+ }
96
104
  get isAddon() {
97
105
  return __classPrivateFieldGet(this, _Item_isAddon, "f");
98
106
  }
@@ -136,13 +144,14 @@ class Item extends abstractEntity_1.AbstractEntity {
136
144
  return __classPrivateFieldGet(this, _Item_basePriceBands, "f");
137
145
  }
138
146
  toJSON() {
139
- var _a;
147
+ var _a, _b;
140
148
  return {
141
149
  [ItemFields.ADDITIONAL_DATA]: this.additionalData,
142
150
  [ItemFields.COTERM_PRICES]: this.cotermPrices,
143
151
  [ItemFields.COTERM_PRICES_WITHOUT_PROMOTION]: this
144
152
  .cotermPricesWithoutPromotion,
145
153
  [ItemFields.CURRENCY]: this.currency,
154
+ [ItemFields.END_CUSTOMER]: (_a = this.endCustomer) === null || _a === void 0 ? void 0 : _a.toJSON(),
146
155
  [ItemFields.IS_ADDON]: this.isAddon,
147
156
  [ItemFields.IS_BUNDLE]: this.isBundle,
148
157
  [ItemFields.IS_TRIAL]: this.isTrial,
@@ -156,10 +165,10 @@ class Item extends abstractEntity_1.AbstractEntity {
156
165
  [ItemFields.QUANTITY]: this.quantity,
157
166
  [ItemFields.RULES]: this.rules,
158
167
  [ItemFields.BUNDLE_ARROWSPHERE_SKU]: this.bundleArrowSphereSku,
159
- [ItemFields.BASE_PRICE_BANDS]: (_a = this.basePriceBands) === null || _a === void 0 ? void 0 : _a.map((band) => band.toJSON()),
168
+ [ItemFields.BASE_PRICE_BANDS]: (_b = this.basePriceBands) === null || _b === void 0 ? void 0 : _b.map((band) => band.toJSON()),
160
169
  };
161
170
  }
162
171
  }
163
172
  exports.Item = Item;
164
- _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_pricebandErpSku = new WeakMap(), _Item_pricebandVendorSku = 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();
173
+ _Item_additionalData = new WeakMap(), _Item_cotermPrices = new WeakMap(), _Item_cotermPricesWithoutPromotion = new WeakMap(), _Item_currency = new WeakMap(), _Item_endCustomer = 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_pricebandErpSku = new WeakMap(), _Item_pricebandVendorSku = 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();
165
174
  //# sourceMappingURL=item.js.map
@@ -89,6 +89,7 @@ class PriceBandFindResult extends abstractEntity_1.AbstractEntity {
89
89
  [identifiersFindResult_1.IdentifiersFindResultFields.COLUMN_ARROWSPHERE]: {
90
90
  [arrowsphereFindResult_1.ArrowsphereFindResultFields.COLUMN_SKU]: data[PriceBandFindResultFields.COLUMN_IDENTIFIERS][identifiersFindResult_1.IdentifiersFindResultFields.COLUMN_ARROWSPHERE][arrowsphereFindResult_1.ArrowsphereFindResultFields.COLUMN_SKU],
91
91
  },
92
+ [identifiersFindResult_1.IdentifiersFindResultFields.COLUMN_ERP]: data[PriceBandFindResultFields.COLUMN_IDENTIFIERS][identifiersFindResult_1.IdentifiersFindResultFields.COLUMN_ERP],
92
93
  };
93
94
  __classPrivateFieldSet(this, _PriceBandFindResult_identifiers, new identifiersFindResult_1.IdentifiersFindResult(identifiers), "f");
94
95
  __classPrivateFieldSet(this, _PriceBandFindResult_attributes, (_b = (_a = data[PriceBandFindResultFields.COLUMN_ATTRIBUTES]) === null || _a === void 0 ? void 0 : _a.map((attr) => new attributes_1.Attributes(attr))) !== null && _b !== void 0 ? _b : [], "f");
@@ -0,0 +1,25 @@
1
+ import { AbstractEntity } from '../../../../../abstractEntity';
2
+ import { Rules } from 'validatorjs';
3
+ import { DataKeywords, FiltersParameters, SortParameters } from '../../../../licensesClient';
4
+ export declare enum ErpFindResultFields {
5
+ COLUMN_SKU = "sku"
6
+ }
7
+ export declare type ErpFindResultData = {
8
+ [ErpFindResultFields.COLUMN_SKU]: string | null;
9
+ };
10
+ export declare type ErpFindResultDataKeywords = {
11
+ [ErpFindResultFields.COLUMN_SKU]?: DataKeywords;
12
+ };
13
+ export declare type ErpFindResultDataSortParameters = {
14
+ [ErpFindResultFields.COLUMN_SKU]?: SortParameters;
15
+ };
16
+ export declare type ErpFindResultDataFiltersParameters = {
17
+ [ErpFindResultFields.COLUMN_SKU]?: FiltersParameters;
18
+ };
19
+ export declare class ErpFindResult extends AbstractEntity<ErpFindResultData> {
20
+ #private;
21
+ protected VALIDATION_RULES: Rules;
22
+ constructor(data: ErpFindResultData);
23
+ get erpSku(): string | null;
24
+ toJSON(): ErpFindResultData;
25
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
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;
7
+ };
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);
12
+ };
13
+ var _ErpFindResult_erpSku;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ErpFindResult = exports.ErpFindResultFields = void 0;
16
+ const abstractEntity_1 = require("../../../../../abstractEntity");
17
+ var ErpFindResultFields;
18
+ (function (ErpFindResultFields) {
19
+ ErpFindResultFields["COLUMN_SKU"] = "sku";
20
+ })(ErpFindResultFields = exports.ErpFindResultFields || (exports.ErpFindResultFields = {}));
21
+ class ErpFindResult extends abstractEntity_1.AbstractEntity {
22
+ constructor(data) {
23
+ super(data);
24
+ this.VALIDATION_RULES = {
25
+ [ErpFindResultFields.COLUMN_SKU]: 'present',
26
+ };
27
+ _ErpFindResult_erpSku.set(this, void 0);
28
+ __classPrivateFieldSet(this, _ErpFindResult_erpSku, data[ErpFindResultFields.COLUMN_SKU], "f");
29
+ }
30
+ get erpSku() {
31
+ return __classPrivateFieldGet(this, _ErpFindResult_erpSku, "f");
32
+ }
33
+ toJSON() {
34
+ return {
35
+ [ErpFindResultFields.COLUMN_SKU]: this.erpSku,
36
+ };
37
+ }
38
+ }
39
+ exports.ErpFindResult = ErpFindResult;
40
+ _ErpFindResult_erpSku = new WeakMap();
41
+ //# sourceMappingURL=erpFindResult.js.map
@@ -1,25 +1,32 @@
1
1
  import { AbstractEntity } from '../../../../abstractEntity';
2
2
  import { Rules } from 'validatorjs';
3
3
  import { ArrowsphereFindResult, ArrowsphereFindResultData, ArrowsphereFindResultDataFiltersParameters, ArrowsphereFindResultDataKeywords, ArrowsphereFindResultDataSortParameters } from './identifiers/arrowsphereFindResult';
4
+ import { ErpFindResult, ErpFindResultData, ErpFindResultDataFiltersParameters, ErpFindResultDataKeywords, ErpFindResultDataSortParameters } from './identifiers/erpFindResult';
4
5
  export declare enum IdentifiersFindResultFields {
5
- COLUMN_ARROWSPHERE = "arrowsphere"
6
+ COLUMN_ARROWSPHERE = "arrowsphere",
7
+ COLUMN_ERP = "erp"
6
8
  }
7
9
  export declare type IdentifiersFindResultData = {
8
10
  [IdentifiersFindResultFields.COLUMN_ARROWSPHERE]: ArrowsphereFindResultData;
11
+ [IdentifiersFindResultFields.COLUMN_ERP]?: ErpFindResultData;
9
12
  };
10
13
  export declare type IdentifiersFindResultDataKeywords = {
11
14
  [IdentifiersFindResultFields.COLUMN_ARROWSPHERE]: ArrowsphereFindResultDataKeywords;
15
+ [IdentifiersFindResultFields.COLUMN_ERP]?: ErpFindResultDataKeywords;
12
16
  };
13
17
  export declare type IdentifiersFindResultDataSortParameters = {
14
18
  [IdentifiersFindResultFields.COLUMN_ARROWSPHERE]: ArrowsphereFindResultDataSortParameters;
19
+ [IdentifiersFindResultFields.COLUMN_ERP]?: ErpFindResultDataSortParameters;
15
20
  };
16
21
  export declare type IdentifiersFindResultDataFiltersParameters = {
17
22
  [IdentifiersFindResultFields.COLUMN_ARROWSPHERE]: ArrowsphereFindResultDataFiltersParameters;
23
+ [IdentifiersFindResultFields.COLUMN_ERP]?: ErpFindResultDataFiltersParameters;
18
24
  };
19
25
  export declare class IdentifiersFindResult extends AbstractEntity<IdentifiersFindResultData> {
20
26
  #private;
21
27
  protected VALIDATION_RULES: Rules;
22
28
  constructor(data: IdentifiersFindResultData);
23
29
  get arrowsphere(): ArrowsphereFindResult;
30
+ get erp(): ErpFindResult | undefined;
24
31
  toJSON(): IdentifiersFindResultData;
25
32
  }
@@ -10,14 +10,16 @@ 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 _IdentifiersFindResult_arrowsphere;
13
+ var _IdentifiersFindResult_arrowsphere, _IdentifiersFindResult_erp;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.IdentifiersFindResult = exports.IdentifiersFindResultFields = void 0;
16
16
  const abstractEntity_1 = require("../../../../abstractEntity");
17
17
  const arrowsphereFindResult_1 = require("./identifiers/arrowsphereFindResult");
18
+ const erpFindResult_1 = require("./identifiers/erpFindResult");
18
19
  var IdentifiersFindResultFields;
19
20
  (function (IdentifiersFindResultFields) {
20
21
  IdentifiersFindResultFields["COLUMN_ARROWSPHERE"] = "arrowsphere";
22
+ IdentifiersFindResultFields["COLUMN_ERP"] = "erp";
21
23
  })(IdentifiersFindResultFields = exports.IdentifiersFindResultFields || (exports.IdentifiersFindResultFields = {}));
22
24
  class IdentifiersFindResult extends abstractEntity_1.AbstractEntity {
23
25
  constructor(data) {
@@ -26,20 +28,34 @@ class IdentifiersFindResult extends abstractEntity_1.AbstractEntity {
26
28
  [IdentifiersFindResultFields.COLUMN_ARROWSPHERE]: 'present|array',
27
29
  };
28
30
  _IdentifiersFindResult_arrowsphere.set(this, void 0);
31
+ _IdentifiersFindResult_erp.set(this, void 0);
29
32
  const arrowsphere = {
30
33
  [arrowsphereFindResult_1.ArrowsphereFindResultFields.COLUMN_SKU]: data[IdentifiersFindResultFields.COLUMN_ARROWSPHERE][arrowsphereFindResult_1.ArrowsphereFindResultFields.COLUMN_SKU],
31
34
  };
32
35
  __classPrivateFieldSet(this, _IdentifiersFindResult_arrowsphere, new arrowsphereFindResult_1.ArrowsphereFindResult(arrowsphere), "f");
36
+ const erpData = data[IdentifiersFindResultFields.COLUMN_ERP];
37
+ if (erpData) {
38
+ const erp = {
39
+ [erpFindResult_1.ErpFindResultFields.COLUMN_SKU]: erpData[erpFindResult_1.ErpFindResultFields.COLUMN_SKU],
40
+ };
41
+ __classPrivateFieldSet(this, _IdentifiersFindResult_erp, new erpFindResult_1.ErpFindResult(erp), "f");
42
+ }
33
43
  }
34
44
  get arrowsphere() {
35
45
  return __classPrivateFieldGet(this, _IdentifiersFindResult_arrowsphere, "f");
36
46
  }
47
+ get erp() {
48
+ return __classPrivateFieldGet(this, _IdentifiersFindResult_erp, "f");
49
+ }
37
50
  toJSON() {
38
51
  return {
39
52
  [IdentifiersFindResultFields.COLUMN_ARROWSPHERE]: this.arrowsphere.toJSON(),
53
+ ...(this.erp
54
+ ? { [IdentifiersFindResultFields.COLUMN_ERP]: this.erp.toJSON() }
55
+ : {}),
40
56
  };
41
57
  }
42
58
  }
43
59
  exports.IdentifiersFindResult = IdentifiersFindResult;
44
- _IdentifiersFindResult_arrowsphere = new WeakMap();
60
+ _IdentifiersFindResult_arrowsphere = new WeakMap(), _IdentifiersFindResult_erp = new WeakMap();
45
61
  //# sourceMappingURL=identifiersFindResult.js.map
@@ -42,6 +42,7 @@ export * from './entities/offer/priceband/priceBandActionFlagsFindResult';
42
42
  export * from './entities/offer/priceband/priceBandPriceFindResult';
43
43
  export * from './entities/offer/priceband/saleConstraintsFindResult';
44
44
  export * from './entities/offer/priceband/identifiers/arrowsphereFindResult';
45
+ export * from './entities/offer/priceband/identifiers/erpFindResult';
45
46
  export * from './entities/schedule/getScheduleTaskResult';
46
47
  export * from './entities/schedule/getScheduledTasksResult';
47
48
  export * from './entities/schedule/scheduleTasksResult';
@@ -58,6 +58,7 @@ __exportStar(require("./entities/offer/priceband/priceBandActionFlagsFindResult"
58
58
  __exportStar(require("./entities/offer/priceband/priceBandPriceFindResult"), exports);
59
59
  __exportStar(require("./entities/offer/priceband/saleConstraintsFindResult"), exports);
60
60
  __exportStar(require("./entities/offer/priceband/identifiers/arrowsphereFindResult"), exports);
61
+ __exportStar(require("./entities/offer/priceband/identifiers/erpFindResult"), exports);
61
62
  __exportStar(require("./entities/schedule/getScheduleTaskResult"), exports);
62
63
  __exportStar(require("./entities/schedule/getScheduledTasksResult"), exports);
63
64
  __exportStar(require("./entities/schedule/scheduleTasksResult"), exports);
@@ -5,7 +5,6 @@ export declare enum IssueFields {
5
5
  COLUMN_CREATED_BY = "createdBy",
6
6
  COLUMN_DESCRIPTION = "description",
7
7
  COLUMN_END_CUSTOMER_REF = "endCustomerRef",
8
- COLUMN_EXTRA_DESCRIPTION_INFO = "extraDescriptionInfo",
9
8
  COLUMN_ID = "id",
10
9
  COLUMN_KEY = "key",
11
10
  COLUMN_LANGUAGE = "language",
@@ -21,7 +21,6 @@ var IssueFields;
21
21
  IssueFields["COLUMN_CREATED_BY"] = "createdBy";
22
22
  IssueFields["COLUMN_DESCRIPTION"] = "description";
23
23
  IssueFields["COLUMN_END_CUSTOMER_REF"] = "endCustomerRef";
24
- IssueFields["COLUMN_EXTRA_DESCRIPTION_INFO"] = "extraDescriptionInfo";
25
24
  IssueFields["COLUMN_ID"] = "id";
26
25
  IssueFields["COLUMN_KEY"] = "key";
27
26
  IssueFields["COLUMN_LANGUAGE"] = "language";
@@ -4,49 +4,11 @@ export declare enum IssueProgramsType {
4
4
  MSCSP = "MSCSP",
5
5
  ARWS_AMS = "ARWS-AMS"
6
6
  }
7
- export declare enum IssueExtraDescriptionInfoFields {
8
- COLUMN_NAME = "name",
9
- COLUMN_VALUE = "value"
10
- }
11
- export declare enum IssueExtraDescriptionInfoNameEnum {
12
- EXTRA_EMAIL = "EXTRA EMAIL",
13
- SUBSCRIPTION_ID = "SUBSCRIPTION ID",
14
- SUBSCRIPTION_ID_OR_LICENSE_REF = "SUBSCRIPTION ID or LICENSE REF",
15
- FRIENDLY_NAME = "FRIENDLY NAME",
16
- SUBSCRIPTION_FRIENDLY_NAME = "SUBSCRIPTION FRIENDLY NAME",
17
- IMPACT = "IMPACT",
18
- URGENCY = "URGENCY",
19
- AVAILABILITY = "AVAILABILITY",
20
- ENV_URL = "ENV URL",
21
- AZURE_RESOURCES = "AZURE RESOURCES",
22
- TROUBLESHOOTING = "TROUBLESHOOTING"
23
- }
24
- export declare enum IssueExtraDescriptionInfoImpactEnum {
25
- LOW = "Low",
26
- MEDIUM = "Medium",
27
- HIGH = "High",
28
- LOW_SINGLE_USER = "Low - Single user"
29
- }
30
- export declare enum IssueExtraDescriptionInfoUrgencyEnum {
31
- LOW = "Low",
32
- MEDIUM = "Medium",
33
- HIGH = "High",
34
- LOW_INCONVENIENT = "Low - Inconvenient"
35
- }
36
- export declare enum IssueExtraDescriptionInfoAvailabilityEnum {
37
- BUSINESS_HOURS = "Business hours",
38
- TWENTY_FOUR_SEVEN = "24/7"
39
- }
40
- export declare type IssueExtraDescriptionInfoType = {
41
- [IssueExtraDescriptionInfoFields.COLUMN_NAME]: IssueExtraDescriptionInfoNameEnum;
42
- [IssueExtraDescriptionInfoFields.COLUMN_VALUE]: string;
43
- };
44
7
  export declare type CreateIssuePayload = {
45
8
  [IssueFields.COLUMN_ADDITIONAL_DATA]?: Array<IssueAdditionalDataType>;
46
9
  [IssueFields.COLUMN_CREATED_BY]?: IssueCreatedByType;
47
10
  [IssueFields.COLUMN_DESCRIPTION]: string;
48
11
  [IssueFields.COLUMN_END_CUSTOMER_REF]?: string;
49
- [IssueFields.COLUMN_EXTRA_DESCRIPTION_INFO]?: Array<IssueExtraDescriptionInfoType>;
50
12
  [IssueFields.COLUMN_OFFER]?: IssueOfferType;
51
13
  [IssueFields.COLUMN_PROGRAM]: IssueProgramsType;
52
14
  [IssueFields.COLUMN_RESELLER]?: string;
@@ -1,50 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatusDetailsValueEnum = exports.IssueExtraDescriptionInfoAvailabilityEnum = exports.IssueExtraDescriptionInfoUrgencyEnum = exports.IssueExtraDescriptionInfoImpactEnum = exports.IssueExtraDescriptionInfoNameEnum = exports.IssueExtraDescriptionInfoFields = exports.IssueProgramsType = void 0;
3
+ exports.StatusDetailsValueEnum = exports.IssueProgramsType = void 0;
4
4
  const issue_1 = require("../entities/issue/issue");
5
5
  var IssueProgramsType;
6
6
  (function (IssueProgramsType) {
7
7
  IssueProgramsType["MSCSP"] = "MSCSP";
8
8
  IssueProgramsType["ARWS_AMS"] = "ARWS-AMS";
9
9
  })(IssueProgramsType = exports.IssueProgramsType || (exports.IssueProgramsType = {}));
10
- var IssueExtraDescriptionInfoFields;
11
- (function (IssueExtraDescriptionInfoFields) {
12
- IssueExtraDescriptionInfoFields["COLUMN_NAME"] = "name";
13
- IssueExtraDescriptionInfoFields["COLUMN_VALUE"] = "value";
14
- })(IssueExtraDescriptionInfoFields = exports.IssueExtraDescriptionInfoFields || (exports.IssueExtraDescriptionInfoFields = {}));
15
- var IssueExtraDescriptionInfoNameEnum;
16
- (function (IssueExtraDescriptionInfoNameEnum) {
17
- IssueExtraDescriptionInfoNameEnum["EXTRA_EMAIL"] = "EXTRA EMAIL";
18
- IssueExtraDescriptionInfoNameEnum["SUBSCRIPTION_ID"] = "SUBSCRIPTION ID";
19
- IssueExtraDescriptionInfoNameEnum["SUBSCRIPTION_ID_OR_LICENSE_REF"] = "SUBSCRIPTION ID or LICENSE REF";
20
- IssueExtraDescriptionInfoNameEnum["FRIENDLY_NAME"] = "FRIENDLY NAME";
21
- IssueExtraDescriptionInfoNameEnum["SUBSCRIPTION_FRIENDLY_NAME"] = "SUBSCRIPTION FRIENDLY NAME";
22
- IssueExtraDescriptionInfoNameEnum["IMPACT"] = "IMPACT";
23
- IssueExtraDescriptionInfoNameEnum["URGENCY"] = "URGENCY";
24
- IssueExtraDescriptionInfoNameEnum["AVAILABILITY"] = "AVAILABILITY";
25
- IssueExtraDescriptionInfoNameEnum["ENV_URL"] = "ENV URL";
26
- IssueExtraDescriptionInfoNameEnum["AZURE_RESOURCES"] = "AZURE RESOURCES";
27
- IssueExtraDescriptionInfoNameEnum["TROUBLESHOOTING"] = "TROUBLESHOOTING";
28
- })(IssueExtraDescriptionInfoNameEnum = exports.IssueExtraDescriptionInfoNameEnum || (exports.IssueExtraDescriptionInfoNameEnum = {}));
29
- var IssueExtraDescriptionInfoImpactEnum;
30
- (function (IssueExtraDescriptionInfoImpactEnum) {
31
- IssueExtraDescriptionInfoImpactEnum["LOW"] = "Low";
32
- IssueExtraDescriptionInfoImpactEnum["MEDIUM"] = "Medium";
33
- IssueExtraDescriptionInfoImpactEnum["HIGH"] = "High";
34
- IssueExtraDescriptionInfoImpactEnum["LOW_SINGLE_USER"] = "Low - Single user";
35
- })(IssueExtraDescriptionInfoImpactEnum = exports.IssueExtraDescriptionInfoImpactEnum || (exports.IssueExtraDescriptionInfoImpactEnum = {}));
36
- var IssueExtraDescriptionInfoUrgencyEnum;
37
- (function (IssueExtraDescriptionInfoUrgencyEnum) {
38
- IssueExtraDescriptionInfoUrgencyEnum["LOW"] = "Low";
39
- IssueExtraDescriptionInfoUrgencyEnum["MEDIUM"] = "Medium";
40
- IssueExtraDescriptionInfoUrgencyEnum["HIGH"] = "High";
41
- IssueExtraDescriptionInfoUrgencyEnum["LOW_INCONVENIENT"] = "Low - Inconvenient";
42
- })(IssueExtraDescriptionInfoUrgencyEnum = exports.IssueExtraDescriptionInfoUrgencyEnum || (exports.IssueExtraDescriptionInfoUrgencyEnum = {}));
43
- var IssueExtraDescriptionInfoAvailabilityEnum;
44
- (function (IssueExtraDescriptionInfoAvailabilityEnum) {
45
- IssueExtraDescriptionInfoAvailabilityEnum["BUSINESS_HOURS"] = "Business hours";
46
- IssueExtraDescriptionInfoAvailabilityEnum["TWENTY_FOUR_SEVEN"] = "24/7";
47
- })(IssueExtraDescriptionInfoAvailabilityEnum = exports.IssueExtraDescriptionInfoAvailabilityEnum || (exports.IssueExtraDescriptionInfoAvailabilityEnum = {}));
48
10
  var StatusDetailsValueEnum;
49
11
  (function (StatusDetailsValueEnum) {
50
12
  StatusDetailsValueEnum["RESOLVED"] = "RESOLVED";
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.413.0-rc.mel.2",
7
+ "version": "3.414.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",