@arrowsphere/api-client 3.421.0-rc-cpe-1 → 3.421.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/build/licenses/entities/company/companyFindResult.d.ts +25 -0
  3. package/build/licenses/entities/company/companyFindResult.js +11 -0
  4. package/build/licenses/index.d.ts +1 -0
  5. package/build/licenses/index.js +1 -0
  6. package/build/licenses/licensesClient.d.ts +42 -12
  7. package/build/licenses/licensesClient.js +9 -8
  8. package/build/quotes/index.d.ts +0 -9
  9. package/build/quotes/index.js +0 -9
  10. package/build/quotes/quotesClient.d.ts +0 -4
  11. package/build/quotes/quotesClient.js +0 -12
  12. package/package.json +1 -1
  13. package/build/quotes/entities/Quote.d.ts +0 -50
  14. package/build/quotes/entities/Quote.js +0 -125
  15. package/build/quotes/entities/QuoteLastVersion.d.ts +0 -16
  16. package/build/quotes/entities/QuoteLastVersion.js +0 -45
  17. package/build/quotes/entities/QuoteList.d.ts +0 -9
  18. package/build/quotes/entities/QuoteList.js +0 -33
  19. package/build/quotes/entities/QuoteProduct.d.ts +0 -55
  20. package/build/quotes/entities/QuoteProduct.js +0 -128
  21. package/build/quotes/entities/QuoteProductAssets.d.ts +0 -16
  22. package/build/quotes/entities/QuoteProductAssets.js +0 -45
  23. package/build/quotes/entities/QuoteProductPriceBand.d.ts +0 -32
  24. package/build/quotes/entities/QuoteProductPriceBand.js +0 -70
  25. package/build/quotes/entities/QuoteProductPrices.d.ts +0 -31
  26. package/build/quotes/entities/QuoteProductPrices.js +0 -80
  27. package/build/quotes/entities/QuoteProductProgram.d.ts +0 -16
  28. package/build/quotes/entities/QuoteProductProgram.js +0 -45
  29. package/build/quotes/entities/QuoteProductVendor.d.ts +0 -13
  30. package/build/quotes/entities/QuoteProductVendor.js +0 -38
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.421.0] - 2026.11.04
7
+ ### Added
8
+ - [licenses] Add `resellerCompany` and `endCustomerCompany` filters, exclusion filters, keywords and sort to the `find` endpoint
9
+ - [licenses] `rates` keywords are now sent by `find`
10
+
6
11
  ## [3.420.0] - 2026.11.03
7
12
  ### Added
8
13
  - [licenses] Add `LETSCOPILOT_TENANT_ID` to `CompanyDetailKeyEnum`
@@ -0,0 +1,25 @@
1
+ import { DataKeywords, FiltersParameters, SortParameters } from '../../licensesClient';
2
+ export declare enum CompanyFindResultFields {
3
+ COMPANY_REF = "companyRef",
4
+ COMPANY_NAME = "companyName",
5
+ ACRONYM = "acronym",
6
+ ERP_ID = "erpId"
7
+ }
8
+ export declare type CompanyFiltersParameters = {
9
+ [CompanyFindResultFields.COMPANY_REF]?: FiltersParameters;
10
+ [CompanyFindResultFields.COMPANY_NAME]?: FiltersParameters;
11
+ [CompanyFindResultFields.ACRONYM]?: FiltersParameters;
12
+ [CompanyFindResultFields.ERP_ID]?: FiltersParameters;
13
+ };
14
+ export declare type CompanyDataKeywords = {
15
+ [CompanyFindResultFields.COMPANY_REF]?: DataKeywords;
16
+ [CompanyFindResultFields.COMPANY_NAME]?: DataKeywords;
17
+ [CompanyFindResultFields.ACRONYM]?: DataKeywords;
18
+ [CompanyFindResultFields.ERP_ID]?: DataKeywords;
19
+ };
20
+ export declare type CompanySortParameters = {
21
+ [CompanyFindResultFields.COMPANY_REF]?: SortParameters;
22
+ [CompanyFindResultFields.COMPANY_NAME]?: SortParameters;
23
+ [CompanyFindResultFields.ACRONYM]?: SortParameters;
24
+ [CompanyFindResultFields.ERP_ID]?: SortParameters;
25
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanyFindResultFields = void 0;
4
+ var CompanyFindResultFields;
5
+ (function (CompanyFindResultFields) {
6
+ CompanyFindResultFields["COMPANY_REF"] = "companyRef";
7
+ CompanyFindResultFields["COMPANY_NAME"] = "companyName";
8
+ CompanyFindResultFields["ACRONYM"] = "acronym";
9
+ CompanyFindResultFields["ERP_ID"] = "erpId";
10
+ })(CompanyFindResultFields = exports.CompanyFindResultFields || (exports.CompanyFindResultFields = {}));
11
+ //# sourceMappingURL=companyFindResult.js.map
@@ -1,3 +1,4 @@
1
+ export * from './entities/company/companyFindResult';
1
2
  export * from './entities/endCustomerOrganizationUnit/endCustomerOrganizationUnitFindResult';
2
3
  export * from './entities/event/licenseEvent';
3
4
  export * from './entities/event/licenseEventGraphQL';
@@ -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("./entities/company/companyFindResult"), exports);
17
18
  __exportStar(require("./entities/endCustomerOrganizationUnit/endCustomerOrganizationUnitFindResult"), exports);
18
19
  __exportStar(require("./entities/event/licenseEvent"), exports);
19
20
  __exportStar(require("./entities/event/licenseEventGraphQL"), exports);
@@ -24,7 +24,7 @@ import { CompanyTypeEnum, RateTypeEnum } from './entities/pricingRate/getPricing
24
24
  import { PartialResponse } from '../partialResponse';
25
25
  import { BulkBodyArgument, SpecialPriceRateActive } from './types/bulkArguments';
26
26
  import { EndCustomerOrganisationUnitDataKeywords, EndCustomerOrganizationUnitFiltersParameters, EndCustomerOrganizationUnitSortParameters } from './entities/endCustomerOrganizationUnit/endCustomerOrganizationUnitFindResult';
27
- import { RatesDataKeywords, RatesFiltersParameters, RatesSortParameters } from './entities/rates/rateFindResult';
27
+ import { RatesDataKeywords, RatesFiltersParameters, RatesSortParameters, RateFindResultDataSortParameters, RateFindResultDataKeywords } from './entities/rates/rateFindResult';
28
28
  import { GetLicensePricingRateParameters, GetLicensePricingRateResponse } from './types/pricingRate';
29
29
  import { ConsumptionDailyPrediction } from '../consumption';
30
30
  import { GetScheduledTasksResult } from './entities/schedule/getScheduledTasksResult';
@@ -35,6 +35,7 @@ import { PostLicenseAttachmentResult } from './entities/attachment/PostLicenseAt
35
35
  import { DynamicAttributesMappingResult } from './entities/license/dynamicMappingResult';
36
36
  import { GetLateRenewableLicensesResult } from './entities/lateRenewalLicense/getLateRenewableLicensesResult';
37
37
  import { ExecuteLateRenewPayload } from './entities/lateRenewalLicense/executeLateRenewPayload';
38
+ import { CompanyDataKeywords, CompanyFiltersParameters, CompanySortParameters } from './entities/company/companyFindResult';
38
39
  /**
39
40
  * Parameters passable to the request for refining search.
40
41
  */
@@ -140,21 +141,23 @@ export declare enum LicenseFindParameters {
140
141
  */
141
142
  FILTERS_LTE = "lte"
142
143
  }
143
- export declare type BaseParameters<LicenseType, OfferType, endCustomerOrganizationUnitType, RatesType> = {
144
+ export declare type BaseParameters<LicenseType, OfferType, endCustomerOrganizationUnitType, RatesType, resellerCompanyType, endCustomerCompanyType> = {
144
145
  license?: LicenseType;
145
146
  offer?: OfferType;
146
147
  endCustomerOrganizationUnit?: endCustomerOrganizationUnitType;
147
148
  rates?: RatesType;
149
+ resellerCompany?: resellerCompanyType;
150
+ endCustomerCompany?: endCustomerCompanyType;
148
151
  };
149
152
  export declare type AttachFileToLicenseParameters = {
150
153
  name: string;
151
154
  fileEncoded: string;
152
155
  };
153
- export declare type LicenseSortParameters = BaseParameters<LicenceFindDataSortParameters, OfferFindResultDataSortParameters, EndCustomerOrganizationUnitSortParameters, RatesSortParameters>;
156
+ export declare type LicenseSortParameters = BaseParameters<LicenceFindDataSortParameters, OfferFindResultDataSortParameters, EndCustomerOrganizationUnitSortParameters, RatesSortParameters, CompanySortParameters, CompanySortParameters>;
154
157
  export declare type LicenseCompareParameters = {
155
158
  [field: string]: unknown;
156
159
  };
157
- export declare type LicenseFiltersParameters = BaseParameters<LicenceFindDataFiltersParameters, OfferFindResultDataFiltersParameters, EndCustomerOrganizationUnitFiltersParameters, RatesFiltersParameters>;
160
+ export declare type LicenseFiltersParameters = BaseParameters<LicenceFindDataFiltersParameters, OfferFindResultDataFiltersParameters, EndCustomerOrganizationUnitFiltersParameters, RatesFiltersParameters, CompanyFiltersParameters, CompanyFiltersParameters>;
158
161
  /**
159
162
  * List of keywords to search with.
160
163
  */
@@ -170,6 +173,8 @@ export declare type LicenseKeywordsParameters = {
170
173
  offer?: OfferFindResultDataKeywords;
171
174
  endCustomerOrganizationUnit?: EndCustomerOrganisationUnitDataKeywords;
172
175
  rates?: RatesDataKeywords;
176
+ resellerCompany?: CompanyDataKeywords;
177
+ endCustomerCompany?: CompanyDataKeywords;
173
178
  };
174
179
  export declare type LicenseRawKeywordsParametersLicence = {
175
180
  [field: string]: DataKeywords | ActiveSeatsFindResultDataKeywords | ConfigFindResultDataKeywords | WarningFindResultDataKeywords | PriceFindResultDataKeywords | SecurityFindResultDataKeywords | undefined;
@@ -177,6 +182,23 @@ export declare type LicenseRawKeywordsParametersLicence = {
177
182
  export declare type LicenseRawKeywordsParametersOffer = {
178
183
  [field: string]: DataKeywords | ActionFlagsFindResultDataKeywords | PriceBandFindResultDataKeywords | undefined;
179
184
  };
185
+ export declare type LicenseRawKeywordsParametersEndCustomerOrganizationUnit = {
186
+ [field: string]: DataKeywords | undefined;
187
+ };
188
+ export declare type LicenseRawKeywordsParametersRates = {
189
+ [field: string]: DataKeywords | RateFindResultDataKeywords | undefined;
190
+ };
191
+ export declare type LicenseRawKeywordsParametersCompany = {
192
+ [field: string]: DataKeywords | undefined;
193
+ };
194
+ export declare type LicenseRawKeywordsParameters = {
195
+ license?: LicenseRawKeywordsParametersLicence;
196
+ offer?: LicenseRawKeywordsParametersOffer;
197
+ endCustomerOrganizationUnit?: LicenseRawKeywordsParametersEndCustomerOrganizationUnit;
198
+ rates?: LicenseRawKeywordsParametersRates;
199
+ resellerCompany?: LicenseRawKeywordsParametersCompany;
200
+ endCustomerCompany?: LicenseRawKeywordsParametersCompany;
201
+ };
180
202
  export declare type SortParameters = LicenseFindParameters.SORT_ASCENDING | LicenseFindParameters.SORT_DESCENDING;
181
203
  export declare type LicenseRawSortParametersLicense = {
182
204
  [field: string]: SortParameters | ActiveSeatsFindResultDataSortParameters | ConfigFindResultDataSortParameters | WarningFindResultDataSortParameters | PriceFindResutDataSortParameters | SecurityFindResultDataSortParameters | undefined;
@@ -187,6 +209,20 @@ export declare type LicenseRawSortParametersOffer = {
187
209
  export declare type LicenseRawSortParametersEndCustomerOrganizationUnit = {
188
210
  [field: string]: SortParameters | undefined;
189
211
  };
212
+ export declare type LicenseRawSortParametersRates = {
213
+ [field: string]: SortParameters | RateFindResultDataSortParameters | undefined;
214
+ };
215
+ export declare type LicenseRawSortParametersCompany = {
216
+ [field: string]: SortParameters | undefined;
217
+ };
218
+ export declare type LicenseRawSortParameters = {
219
+ license?: LicenseRawSortParametersLicense;
220
+ offer?: LicenseRawSortParametersOffer;
221
+ endCustomerOrganizationUnit?: LicenseRawSortParametersEndCustomerOrganizationUnit;
222
+ rates?: LicenseRawSortParametersRates;
223
+ resellerCompany?: LicenseRawSortParametersCompany;
224
+ endCustomerCompany?: LicenseRawSortParametersCompany;
225
+ };
190
226
  export declare type FiltersCompareValue = {
191
227
  [LicenseFindParameters.FILTERS_GT]?: string | number;
192
228
  [LicenseFindParameters.FILTERS_GTE]?: string | number;
@@ -217,16 +253,10 @@ export declare type LicenseFindRawPayload = {
217
253
  [LicenseFindParameters.DATA_AGGREGATION]?: string[];
218
254
  [LicenseFindParameters.DATA_COMPARE]?: LicenseRawCompareParameters;
219
255
  [LicenseFindParameters.DATA_KEYWORD]?: string;
220
- [LicenseFindParameters.DATA_KEYWORDS]?: {
221
- license?: LicenseRawKeywordsParametersLicence;
222
- offer?: LicenseRawKeywordsParametersOffer;
223
- };
256
+ [LicenseFindParameters.DATA_KEYWORDS]?: LicenseRawKeywordsParameters;
224
257
  [LicenseFindParameters.DATA_FILTERS]?: LicenseRawFiltersParameters;
225
258
  [LicenseFindParameters.DATA_EXCLUSION_FILTERS]?: LicenseRawFiltersParameters;
226
- [LicenseFindParameters.DATA_SORT]?: {
227
- license?: LicenseRawSortParametersLicense;
228
- offer?: LicenseRawSortParametersOffer;
229
- };
259
+ [LicenseFindParameters.DATA_SORT]?: LicenseRawSortParameters;
230
260
  [LicenseFindParameters.DATA_HIGHLIGHT]?: boolean;
231
261
  };
232
262
  export declare type UpdateLicenseData = {
@@ -296,14 +296,9 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
296
296
  ...this.createKeywords(postData.keywords, 'license'),
297
297
  ...this.createKeywords(postData.keywords, 'offer'),
298
298
  ...this.createKeywords(postData.keywords, 'endCustomerOrganizationUnit'),
299
- };
300
- }
301
- if (postData.keywords) {
302
- // Flatten with prefix for each type of keyword (license and offer)
303
- rawLicensePayload.keywords = {
304
- ...this.createKeywords(postData.keywords, 'license'),
305
- ...this.createKeywords(postData.keywords, 'offer'),
306
- ...this.createKeywords(postData.keywords, 'endCustomerOrganizationUnit'),
299
+ ...this.createKeywords(postData.keywords, 'rates'),
300
+ ...this.createKeywords(postData.keywords, 'resellerCompany'),
301
+ ...this.createKeywords(postData.keywords, 'endCustomerCompany'),
307
302
  };
308
303
  }
309
304
  if (postData.filters) {
@@ -313,6 +308,8 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
313
308
  ...this.createFilters(postData.filters, 'offer'),
314
309
  ...this.createFilters(postData.filters, 'endCustomerOrganizationUnit'),
315
310
  ...this.createFilters(postData.filters, 'rates'),
311
+ ...this.createFilters(postData.filters, 'resellerCompany'),
312
+ ...this.createFilters(postData.filters, 'endCustomerCompany'),
316
313
  };
317
314
  }
318
315
  if (postData.exclusionFilters) {
@@ -322,6 +319,8 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
322
319
  ...this.createFilters(postData.exclusionFilters, 'offer'),
323
320
  ...this.createFilters(postData.exclusionFilters, 'endCustomerOrganizationUnit'),
324
321
  ...this.createFilters(postData.exclusionFilters, 'rates'),
322
+ ...this.createFilters(postData.exclusionFilters, 'resellerCompany'),
323
+ ...this.createFilters(postData.exclusionFilters, 'endCustomerCompany'),
325
324
  };
326
325
  }
327
326
  if (postData.sort) {
@@ -331,6 +330,8 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
331
330
  ...this.createFilters(postData.sort, 'offer'),
332
331
  ...this.createFilters(postData.sort, 'endCustomerOrganizationUnit'),
333
332
  ...this.createFilters(postData.sort, 'rates'),
333
+ ...this.createFilters(postData.sort, 'resellerCompany'),
334
+ ...this.createFilters(postData.sort, 'endCustomerCompany'),
334
335
  };
335
336
  }
336
337
  const response = await this.findRaw(rawLicensePayload, parameters);
@@ -1,10 +1 @@
1
1
  export * from './quotesClient';
2
- export * from './entities/Quote';
3
- export * from './entities/QuoteLastVersion';
4
- export * from './entities/QuoteProduct';
5
- export * from './entities/QuoteProductAssets';
6
- export * from './entities/QuoteProductPriceBand';
7
- export * from './entities/QuoteProductProgram';
8
- export * from './entities/QuoteProductPrices';
9
- export * from './entities/QuoteProductVendor';
10
- export * from './entities/QuoteList';
@@ -15,13 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./quotesClient"), exports);
18
- __exportStar(require("./entities/Quote"), exports);
19
- __exportStar(require("./entities/QuoteLastVersion"), exports);
20
- __exportStar(require("./entities/QuoteProduct"), exports);
21
- __exportStar(require("./entities/QuoteProductAssets"), exports);
22
- __exportStar(require("./entities/QuoteProductPriceBand"), exports);
23
- __exportStar(require("./entities/QuoteProductProgram"), exports);
24
- __exportStar(require("./entities/QuoteProductPrices"), exports);
25
- __exportStar(require("./entities/QuoteProductVendor"), exports);
26
- __exportStar(require("./entities/QuoteList"), exports);
27
18
  //# sourceMappingURL=index.js.map
@@ -3,8 +3,6 @@ import { GetResult } from '../getResult';
3
3
  import { QuoteRequest } from './entities/QuoteRequest';
4
4
  import { PutQuoteResult } from './entities/PutQuoteResult';
5
5
  import { QuoteComments } from './entities/QuoteComments';
6
- import { Quote } from './entities/Quote';
7
- import { QuoteList } from './entities/QuoteList';
8
6
  export declare type RequestQuoteRequestType = {
9
7
  agreeToReceiveCommunications: boolean;
10
8
  agreeSharingInformation: boolean;
@@ -67,8 +65,6 @@ export declare type CreateCommentType = {
67
65
  };
68
66
  export declare class QuotesClient extends AbstractRestfulClient {
69
67
  protected basePath: string;
70
- listQuotes(perPage?: number, page?: number, parameters?: Parameters): Promise<GetResult<QuoteList>>;
71
- getQuote(reference: string): Promise<GetResult<Quote>>;
72
68
  requestQuote(postData: RequestQuoteRequestType, parameters?: Parameters): Promise<GetResult<QuoteRequest>>;
73
69
  requestQuoteForVendor(vendor: string, postData: RequestQuoteIbmRequestType, parameters?: Parameters): Promise<void>;
74
70
  deleteQuote(quoteReference: string, parameters?: Parameters): Promise<void>;
@@ -6,23 +6,11 @@ const getResult_1 = require("../getResult");
6
6
  const QuoteRequest_1 = require("./entities/QuoteRequest");
7
7
  const PutQuoteResult_1 = require("./entities/PutQuoteResult");
8
8
  const QuoteComments_1 = require("./entities/QuoteComments");
9
- const Quote_1 = require("./entities/Quote");
10
- const QuoteList_1 = require("./entities/QuoteList");
11
9
  class QuotesClient extends abstractRestfulClient_1.AbstractRestfulClient {
12
10
  constructor() {
13
11
  super(...arguments);
14
12
  this.basePath = '/quotes';
15
13
  }
16
- async listQuotes(perPage = 25, page = 1, parameters = {}) {
17
- this.path = '';
18
- this.setPerPage(perPage);
19
- this.setPage(page);
20
- return new getResult_1.GetResult(QuoteList_1.QuoteList, await this.get(parameters));
21
- }
22
- async getQuote(reference) {
23
- this.path = `/${reference}`;
24
- return new getResult_1.GetResult(Quote_1.Quote, await this.get());
25
- }
26
14
  async requestQuote(postData, parameters = {}) {
27
15
  this.path = '/request';
28
16
  return new getResult_1.GetResult(QuoteRequest_1.QuoteRequest, await this.post(postData, parameters));
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.421.0-rc-cpe-1",
7
+ "version": "3.421.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",
@@ -1,50 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { OrderPartner, OrderPartnerType } from '../../orders/entities/orders/partner/partner';
3
- import { ReferenceLink, ReferenceLinkType } from '../../orders/entities/referenceLink';
4
- import { QuoteLastVersion, QuoteLastVersionData } from './QuoteLastVersion';
5
- import { QuoteProduct, QuoteProductData } from './QuoteProduct';
6
- export declare enum QuoteFields {
7
- CUSTOMER = "customer",
8
- DATE_CREATION = "dateCreation",
9
- DATE_END = "dateEnd",
10
- DATE_UPDATE = "dateUpdate",
11
- END_CUSTOMER_PO_NUMBER = "endCustomerPONumber",
12
- LAST_VERSION = "lastVersion",
13
- PARTNER = "partner",
14
- PO_NUMBER = "ponumber",
15
- PRODUCTS = "products",
16
- QUOTE_REFERENCE = "quoteReference",
17
- REFERENCE = "reference",
18
- STATUS = "status"
19
- }
20
- export declare type QuoteData = {
21
- [QuoteFields.CUSTOMER]?: ReferenceLinkType;
22
- [QuoteFields.DATE_CREATION]: string;
23
- [QuoteFields.DATE_END]?: string;
24
- [QuoteFields.DATE_UPDATE]: string;
25
- [QuoteFields.END_CUSTOMER_PO_NUMBER]?: string;
26
- [QuoteFields.LAST_VERSION]?: QuoteLastVersionData;
27
- [QuoteFields.PARTNER]?: OrderPartnerType;
28
- [QuoteFields.PO_NUMBER]?: string;
29
- [QuoteFields.PRODUCTS]: QuoteProductData[];
30
- [QuoteFields.QUOTE_REFERENCE]: string;
31
- [QuoteFields.REFERENCE]: string;
32
- [QuoteFields.STATUS]: string;
33
- };
34
- export declare class Quote extends AbstractEntity<QuoteData> {
35
- #private;
36
- constructor(data: QuoteData);
37
- get customer(): ReferenceLink | undefined;
38
- get dateCreation(): string;
39
- get dateEnd(): string | undefined;
40
- get dateUpdate(): string;
41
- get endCustomerPONumber(): string | undefined;
42
- get lastVersion(): QuoteLastVersion | undefined;
43
- get partner(): OrderPartner | undefined;
44
- get ponumber(): string | undefined;
45
- get products(): QuoteProduct[];
46
- get quoteReference(): string;
47
- get reference(): string;
48
- get status(): string;
49
- toJSON(): QuoteData;
50
- }
@@ -1,125 +0,0 @@
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 _Quote_customer, _Quote_dateCreation, _Quote_dateEnd, _Quote_dateUpdate, _Quote_endCustomerPONumber, _Quote_lastVersion, _Quote_partner, _Quote_ponumber, _Quote_products, _Quote_quoteReference, _Quote_reference, _Quote_status;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Quote = exports.QuoteFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const partner_1 = require("../../orders/entities/orders/partner/partner");
18
- const referenceLink_1 = require("../../orders/entities/referenceLink");
19
- const QuoteLastVersion_1 = require("./QuoteLastVersion");
20
- const QuoteProduct_1 = require("./QuoteProduct");
21
- var QuoteFields;
22
- (function (QuoteFields) {
23
- QuoteFields["CUSTOMER"] = "customer";
24
- QuoteFields["DATE_CREATION"] = "dateCreation";
25
- QuoteFields["DATE_END"] = "dateEnd";
26
- QuoteFields["DATE_UPDATE"] = "dateUpdate";
27
- QuoteFields["END_CUSTOMER_PO_NUMBER"] = "endCustomerPONumber";
28
- QuoteFields["LAST_VERSION"] = "lastVersion";
29
- QuoteFields["PARTNER"] = "partner";
30
- QuoteFields["PO_NUMBER"] = "ponumber";
31
- QuoteFields["PRODUCTS"] = "products";
32
- QuoteFields["QUOTE_REFERENCE"] = "quoteReference";
33
- QuoteFields["REFERENCE"] = "reference";
34
- QuoteFields["STATUS"] = "status";
35
- })(QuoteFields = exports.QuoteFields || (exports.QuoteFields = {}));
36
- class Quote extends abstractEntity_1.AbstractEntity {
37
- constructor(data) {
38
- super(data);
39
- _Quote_customer.set(this, void 0);
40
- _Quote_dateCreation.set(this, void 0);
41
- _Quote_dateEnd.set(this, void 0);
42
- _Quote_dateUpdate.set(this, void 0);
43
- _Quote_endCustomerPONumber.set(this, void 0);
44
- _Quote_lastVersion.set(this, void 0);
45
- _Quote_partner.set(this, void 0);
46
- _Quote_ponumber.set(this, void 0);
47
- _Quote_products.set(this, void 0);
48
- _Quote_quoteReference.set(this, void 0);
49
- _Quote_reference.set(this, void 0);
50
- _Quote_status.set(this, void 0);
51
- const customer = data[QuoteFields.CUSTOMER];
52
- __classPrivateFieldSet(this, _Quote_customer, customer ? new referenceLink_1.ReferenceLink(customer) : undefined, "f");
53
- __classPrivateFieldSet(this, _Quote_dateCreation, data[QuoteFields.DATE_CREATION], "f");
54
- __classPrivateFieldSet(this, _Quote_dateEnd, data[QuoteFields.DATE_END], "f");
55
- __classPrivateFieldSet(this, _Quote_dateUpdate, data[QuoteFields.DATE_UPDATE], "f");
56
- __classPrivateFieldSet(this, _Quote_endCustomerPONumber, data[QuoteFields.END_CUSTOMER_PO_NUMBER], "f");
57
- const lastVersion = data[QuoteFields.LAST_VERSION];
58
- __classPrivateFieldSet(this, _Quote_lastVersion, lastVersion
59
- ? new QuoteLastVersion_1.QuoteLastVersion(lastVersion)
60
- : undefined, "f");
61
- const partner = data[QuoteFields.PARTNER];
62
- __classPrivateFieldSet(this, _Quote_partner, partner ? new partner_1.OrderPartner(partner) : undefined, "f");
63
- __classPrivateFieldSet(this, _Quote_ponumber, data[QuoteFields.PO_NUMBER], "f");
64
- __classPrivateFieldSet(this, _Quote_products, data[QuoteFields.PRODUCTS].map((product) => new QuoteProduct_1.QuoteProduct(product)), "f");
65
- __classPrivateFieldSet(this, _Quote_quoteReference, data[QuoteFields.QUOTE_REFERENCE], "f");
66
- __classPrivateFieldSet(this, _Quote_reference, data[QuoteFields.REFERENCE], "f");
67
- __classPrivateFieldSet(this, _Quote_status, data[QuoteFields.STATUS], "f");
68
- }
69
- get customer() {
70
- return __classPrivateFieldGet(this, _Quote_customer, "f");
71
- }
72
- get dateCreation() {
73
- return __classPrivateFieldGet(this, _Quote_dateCreation, "f");
74
- }
75
- get dateEnd() {
76
- return __classPrivateFieldGet(this, _Quote_dateEnd, "f");
77
- }
78
- get dateUpdate() {
79
- return __classPrivateFieldGet(this, _Quote_dateUpdate, "f");
80
- }
81
- get endCustomerPONumber() {
82
- return __classPrivateFieldGet(this, _Quote_endCustomerPONumber, "f");
83
- }
84
- get lastVersion() {
85
- return __classPrivateFieldGet(this, _Quote_lastVersion, "f");
86
- }
87
- get partner() {
88
- return __classPrivateFieldGet(this, _Quote_partner, "f");
89
- }
90
- get ponumber() {
91
- return __classPrivateFieldGet(this, _Quote_ponumber, "f");
92
- }
93
- get products() {
94
- return __classPrivateFieldGet(this, _Quote_products, "f");
95
- }
96
- get quoteReference() {
97
- return __classPrivateFieldGet(this, _Quote_quoteReference, "f");
98
- }
99
- get reference() {
100
- return __classPrivateFieldGet(this, _Quote_reference, "f");
101
- }
102
- get status() {
103
- return __classPrivateFieldGet(this, _Quote_status, "f");
104
- }
105
- toJSON() {
106
- var _a, _b, _c;
107
- return {
108
- [QuoteFields.CUSTOMER]: (_a = this.customer) === null || _a === void 0 ? void 0 : _a.toJSON(),
109
- [QuoteFields.DATE_CREATION]: this.dateCreation,
110
- [QuoteFields.DATE_END]: this.dateEnd,
111
- [QuoteFields.DATE_UPDATE]: this.dateUpdate,
112
- [QuoteFields.END_CUSTOMER_PO_NUMBER]: this.endCustomerPONumber,
113
- [QuoteFields.LAST_VERSION]: (_b = this.lastVersion) === null || _b === void 0 ? void 0 : _b.toJSON(),
114
- [QuoteFields.PARTNER]: (_c = this.partner) === null || _c === void 0 ? void 0 : _c.toJSON(),
115
- [QuoteFields.PO_NUMBER]: this.ponumber,
116
- [QuoteFields.PRODUCTS]: this.products.map((product) => product.toJSON()),
117
- [QuoteFields.QUOTE_REFERENCE]: this.quoteReference,
118
- [QuoteFields.REFERENCE]: this.reference,
119
- [QuoteFields.STATUS]: this.status,
120
- };
121
- }
122
- }
123
- exports.Quote = Quote;
124
- _Quote_customer = new WeakMap(), _Quote_dateCreation = new WeakMap(), _Quote_dateEnd = new WeakMap(), _Quote_dateUpdate = new WeakMap(), _Quote_endCustomerPONumber = new WeakMap(), _Quote_lastVersion = new WeakMap(), _Quote_partner = new WeakMap(), _Quote_ponumber = new WeakMap(), _Quote_products = new WeakMap(), _Quote_quoteReference = new WeakMap(), _Quote_reference = new WeakMap(), _Quote_status = new WeakMap();
125
- //# sourceMappingURL=Quote.js.map
@@ -1,16 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum QuoteLastVersionFields {
3
- DATE_UPDATE = "dateUpdate",
4
- VERSION = "version"
5
- }
6
- export declare type QuoteLastVersionData = {
7
- [QuoteLastVersionFields.DATE_UPDATE]?: string;
8
- [QuoteLastVersionFields.VERSION]?: number;
9
- };
10
- export declare class QuoteLastVersion extends AbstractEntity<QuoteLastVersionData> {
11
- #private;
12
- constructor(data: QuoteLastVersionData);
13
- get dateUpdate(): string | undefined;
14
- get version(): number | undefined;
15
- toJSON(): QuoteLastVersionData;
16
- }
@@ -1,45 +0,0 @@
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 _QuoteLastVersion_dateUpdate, _QuoteLastVersion_version;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteLastVersion = exports.QuoteLastVersionFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var QuoteLastVersionFields;
18
- (function (QuoteLastVersionFields) {
19
- QuoteLastVersionFields["DATE_UPDATE"] = "dateUpdate";
20
- QuoteLastVersionFields["VERSION"] = "version";
21
- })(QuoteLastVersionFields = exports.QuoteLastVersionFields || (exports.QuoteLastVersionFields = {}));
22
- class QuoteLastVersion extends abstractEntity_1.AbstractEntity {
23
- constructor(data) {
24
- super(data);
25
- _QuoteLastVersion_dateUpdate.set(this, void 0);
26
- _QuoteLastVersion_version.set(this, void 0);
27
- __classPrivateFieldSet(this, _QuoteLastVersion_dateUpdate, data[QuoteLastVersionFields.DATE_UPDATE], "f");
28
- __classPrivateFieldSet(this, _QuoteLastVersion_version, data[QuoteLastVersionFields.VERSION], "f");
29
- }
30
- get dateUpdate() {
31
- return __classPrivateFieldGet(this, _QuoteLastVersion_dateUpdate, "f");
32
- }
33
- get version() {
34
- return __classPrivateFieldGet(this, _QuoteLastVersion_version, "f");
35
- }
36
- toJSON() {
37
- return {
38
- [QuoteLastVersionFields.DATE_UPDATE]: this.dateUpdate,
39
- [QuoteLastVersionFields.VERSION]: this.version,
40
- };
41
- }
42
- }
43
- exports.QuoteLastVersion = QuoteLastVersion;
44
- _QuoteLastVersion_dateUpdate = new WeakMap(), _QuoteLastVersion_version = new WeakMap();
45
- //# sourceMappingURL=QuoteLastVersion.js.map
@@ -1,9 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { Quote, QuoteData } from './Quote';
3
- export declare type QuoteListData = Array<QuoteData>;
4
- export declare class QuoteList extends AbstractEntity<QuoteListData> {
5
- #private;
6
- constructor(data: QuoteListData);
7
- get quotes(): Array<Quote>;
8
- toJSON(): QuoteListData;
9
- }
@@ -1,33 +0,0 @@
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 _QuoteList_quotes;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteList = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const Quote_1 = require("./Quote");
18
- class QuoteList extends abstractEntity_1.AbstractEntity {
19
- constructor(data) {
20
- super(data);
21
- _QuoteList_quotes.set(this, void 0);
22
- __classPrivateFieldSet(this, _QuoteList_quotes, data.map((quote) => new Quote_1.Quote(quote)), "f");
23
- }
24
- get quotes() {
25
- return __classPrivateFieldGet(this, _QuoteList_quotes, "f");
26
- }
27
- toJSON() {
28
- return this.quotes.map((quote) => quote.toJSON());
29
- }
30
- }
31
- exports.QuoteList = QuoteList;
32
- _QuoteList_quotes = new WeakMap();
33
- //# sourceMappingURL=QuoteList.js.map
@@ -1,55 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { ReferenceLink, ReferenceLinkType } from '../../orders/entities/referenceLink';
3
- import { QuoteProductAssets, QuoteProductAssetsData } from './QuoteProductAssets';
4
- import { QuoteProductPriceBand, QuoteProductPriceBandData } from './QuoteProductPriceBand';
5
- import { QuoteProductPrices, QuoteProductPricesData } from './QuoteProductPrices';
6
- import { QuoteProductProgram, QuoteProductProgramData } from './QuoteProductProgram';
7
- import { QuoteProductVendor, QuoteProductVendorData } from './QuoteProductVendor';
8
- export declare enum QuoteProductFields {
9
- ARROW_SUB_CATEGORIES = "arrowSubCategories",
10
- ASSETS = "assets",
11
- CLASSIFICATION = "classification",
12
- IS_ADDON = "isAddon",
13
- IS_TRIAL = "isTrial",
14
- LICENSE = "license",
15
- NAME = "name",
16
- PRICE_BAND = "priceBand",
17
- PRICES = "prices",
18
- PROGRAM = "program",
19
- QUANTITY = "quantity",
20
- SKU = "sku",
21
- VENDOR = "vendor"
22
- }
23
- export declare type QuoteProductData = {
24
- [QuoteProductFields.ARROW_SUB_CATEGORIES]: string[];
25
- [QuoteProductFields.ASSETS]: QuoteProductAssetsData;
26
- [QuoteProductFields.CLASSIFICATION]: string;
27
- [QuoteProductFields.IS_ADDON]: boolean;
28
- [QuoteProductFields.IS_TRIAL]: boolean;
29
- [QuoteProductFields.LICENSE]: ReferenceLinkType;
30
- [QuoteProductFields.NAME]: string;
31
- [QuoteProductFields.PRICE_BAND]: QuoteProductPriceBandData;
32
- [QuoteProductFields.PRICES]: QuoteProductPricesData;
33
- [QuoteProductFields.PROGRAM]: QuoteProductProgramData;
34
- [QuoteProductFields.QUANTITY]: number;
35
- [QuoteProductFields.SKU]: string;
36
- [QuoteProductFields.VENDOR]: QuoteProductVendorData;
37
- };
38
- export declare class QuoteProduct extends AbstractEntity<QuoteProductData> {
39
- #private;
40
- constructor(data: QuoteProductData);
41
- get arrowSubCategories(): string[];
42
- get assets(): QuoteProductAssets;
43
- get classification(): string;
44
- get isAddon(): boolean;
45
- get isTrial(): boolean;
46
- get license(): ReferenceLink;
47
- get name(): string;
48
- get priceBand(): QuoteProductPriceBand;
49
- get prices(): QuoteProductPrices;
50
- get program(): QuoteProductProgram;
51
- get quantity(): number;
52
- get sku(): string;
53
- get vendor(): QuoteProductVendor;
54
- toJSON(): QuoteProductData;
55
- }
@@ -1,128 +0,0 @@
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 _QuoteProduct_arrowSubCategories, _QuoteProduct_assets, _QuoteProduct_classification, _QuoteProduct_isAddon, _QuoteProduct_isTrial, _QuoteProduct_license, _QuoteProduct_name, _QuoteProduct_priceBand, _QuoteProduct_prices, _QuoteProduct_program, _QuoteProduct_quantity, _QuoteProduct_sku, _QuoteProduct_vendor;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteProduct = exports.QuoteProductFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const referenceLink_1 = require("../../orders/entities/referenceLink");
18
- const QuoteProductAssets_1 = require("./QuoteProductAssets");
19
- const QuoteProductPriceBand_1 = require("./QuoteProductPriceBand");
20
- const QuoteProductPrices_1 = require("./QuoteProductPrices");
21
- const QuoteProductProgram_1 = require("./QuoteProductProgram");
22
- const QuoteProductVendor_1 = require("./QuoteProductVendor");
23
- var QuoteProductFields;
24
- (function (QuoteProductFields) {
25
- QuoteProductFields["ARROW_SUB_CATEGORIES"] = "arrowSubCategories";
26
- QuoteProductFields["ASSETS"] = "assets";
27
- QuoteProductFields["CLASSIFICATION"] = "classification";
28
- QuoteProductFields["IS_ADDON"] = "isAddon";
29
- QuoteProductFields["IS_TRIAL"] = "isTrial";
30
- QuoteProductFields["LICENSE"] = "license";
31
- QuoteProductFields["NAME"] = "name";
32
- QuoteProductFields["PRICE_BAND"] = "priceBand";
33
- QuoteProductFields["PRICES"] = "prices";
34
- QuoteProductFields["PROGRAM"] = "program";
35
- QuoteProductFields["QUANTITY"] = "quantity";
36
- QuoteProductFields["SKU"] = "sku";
37
- QuoteProductFields["VENDOR"] = "vendor";
38
- })(QuoteProductFields = exports.QuoteProductFields || (exports.QuoteProductFields = {}));
39
- class QuoteProduct extends abstractEntity_1.AbstractEntity {
40
- constructor(data) {
41
- super(data);
42
- _QuoteProduct_arrowSubCategories.set(this, void 0);
43
- _QuoteProduct_assets.set(this, void 0);
44
- _QuoteProduct_classification.set(this, void 0);
45
- _QuoteProduct_isAddon.set(this, void 0);
46
- _QuoteProduct_isTrial.set(this, void 0);
47
- _QuoteProduct_license.set(this, void 0);
48
- _QuoteProduct_name.set(this, void 0);
49
- _QuoteProduct_priceBand.set(this, void 0);
50
- _QuoteProduct_prices.set(this, void 0);
51
- _QuoteProduct_program.set(this, void 0);
52
- _QuoteProduct_quantity.set(this, void 0);
53
- _QuoteProduct_sku.set(this, void 0);
54
- _QuoteProduct_vendor.set(this, void 0);
55
- __classPrivateFieldSet(this, _QuoteProduct_arrowSubCategories, data[QuoteProductFields.ARROW_SUB_CATEGORIES], "f");
56
- __classPrivateFieldSet(this, _QuoteProduct_assets, new QuoteProductAssets_1.QuoteProductAssets(data[QuoteProductFields.ASSETS]), "f");
57
- __classPrivateFieldSet(this, _QuoteProduct_classification, data[QuoteProductFields.CLASSIFICATION], "f");
58
- __classPrivateFieldSet(this, _QuoteProduct_isAddon, data[QuoteProductFields.IS_ADDON], "f");
59
- __classPrivateFieldSet(this, _QuoteProduct_isTrial, data[QuoteProductFields.IS_TRIAL], "f");
60
- __classPrivateFieldSet(this, _QuoteProduct_license, new referenceLink_1.ReferenceLink(data[QuoteProductFields.LICENSE]), "f");
61
- __classPrivateFieldSet(this, _QuoteProduct_name, data[QuoteProductFields.NAME], "f");
62
- __classPrivateFieldSet(this, _QuoteProduct_priceBand, new QuoteProductPriceBand_1.QuoteProductPriceBand(data[QuoteProductFields.PRICE_BAND]), "f");
63
- __classPrivateFieldSet(this, _QuoteProduct_prices, new QuoteProductPrices_1.QuoteProductPrices(data[QuoteProductFields.PRICES]), "f");
64
- __classPrivateFieldSet(this, _QuoteProduct_program, new QuoteProductProgram_1.QuoteProductProgram(data[QuoteProductFields.PROGRAM]), "f");
65
- __classPrivateFieldSet(this, _QuoteProduct_quantity, data[QuoteProductFields.QUANTITY], "f");
66
- __classPrivateFieldSet(this, _QuoteProduct_sku, data[QuoteProductFields.SKU], "f");
67
- __classPrivateFieldSet(this, _QuoteProduct_vendor, new QuoteProductVendor_1.QuoteProductVendor(data[QuoteProductFields.VENDOR]), "f");
68
- }
69
- get arrowSubCategories() {
70
- return __classPrivateFieldGet(this, _QuoteProduct_arrowSubCategories, "f");
71
- }
72
- get assets() {
73
- return __classPrivateFieldGet(this, _QuoteProduct_assets, "f");
74
- }
75
- get classification() {
76
- return __classPrivateFieldGet(this, _QuoteProduct_classification, "f");
77
- }
78
- get isAddon() {
79
- return __classPrivateFieldGet(this, _QuoteProduct_isAddon, "f");
80
- }
81
- get isTrial() {
82
- return __classPrivateFieldGet(this, _QuoteProduct_isTrial, "f");
83
- }
84
- get license() {
85
- return __classPrivateFieldGet(this, _QuoteProduct_license, "f");
86
- }
87
- get name() {
88
- return __classPrivateFieldGet(this, _QuoteProduct_name, "f");
89
- }
90
- get priceBand() {
91
- return __classPrivateFieldGet(this, _QuoteProduct_priceBand, "f");
92
- }
93
- get prices() {
94
- return __classPrivateFieldGet(this, _QuoteProduct_prices, "f");
95
- }
96
- get program() {
97
- return __classPrivateFieldGet(this, _QuoteProduct_program, "f");
98
- }
99
- get quantity() {
100
- return __classPrivateFieldGet(this, _QuoteProduct_quantity, "f");
101
- }
102
- get sku() {
103
- return __classPrivateFieldGet(this, _QuoteProduct_sku, "f");
104
- }
105
- get vendor() {
106
- return __classPrivateFieldGet(this, _QuoteProduct_vendor, "f");
107
- }
108
- toJSON() {
109
- return {
110
- [QuoteProductFields.ARROW_SUB_CATEGORIES]: this.arrowSubCategories,
111
- [QuoteProductFields.ASSETS]: this.assets.toJSON(),
112
- [QuoteProductFields.CLASSIFICATION]: this.classification,
113
- [QuoteProductFields.IS_ADDON]: this.isAddon,
114
- [QuoteProductFields.IS_TRIAL]: this.isTrial,
115
- [QuoteProductFields.LICENSE]: this.license.toJSON(),
116
- [QuoteProductFields.NAME]: this.name,
117
- [QuoteProductFields.PRICE_BAND]: this.priceBand.toJSON(),
118
- [QuoteProductFields.PRICES]: this.prices.toJSON(),
119
- [QuoteProductFields.PROGRAM]: this.program.toJSON(),
120
- [QuoteProductFields.QUANTITY]: this.quantity,
121
- [QuoteProductFields.SKU]: this.sku,
122
- [QuoteProductFields.VENDOR]: this.vendor.toJSON(),
123
- };
124
- }
125
- }
126
- exports.QuoteProduct = QuoteProduct;
127
- _QuoteProduct_arrowSubCategories = new WeakMap(), _QuoteProduct_assets = new WeakMap(), _QuoteProduct_classification = new WeakMap(), _QuoteProduct_isAddon = new WeakMap(), _QuoteProduct_isTrial = new WeakMap(), _QuoteProduct_license = new WeakMap(), _QuoteProduct_name = new WeakMap(), _QuoteProduct_priceBand = new WeakMap(), _QuoteProduct_prices = new WeakMap(), _QuoteProduct_program = new WeakMap(), _QuoteProduct_quantity = new WeakMap(), _QuoteProduct_sku = new WeakMap(), _QuoteProduct_vendor = new WeakMap();
128
- //# sourceMappingURL=QuoteProduct.js.map
@@ -1,16 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum QuoteProductAssetsFields {
3
- MAIN_LOGO_URL = "mainLogoUrl",
4
- SQUARE_LOGO_URL = "squareLogoUrl"
5
- }
6
- export declare type QuoteProductAssetsData = {
7
- [QuoteProductAssetsFields.MAIN_LOGO_URL]: string | null;
8
- [QuoteProductAssetsFields.SQUARE_LOGO_URL]: string | null;
9
- };
10
- export declare class QuoteProductAssets extends AbstractEntity<QuoteProductAssetsData> {
11
- #private;
12
- constructor(data: QuoteProductAssetsData);
13
- get mainLogoUrl(): string | null;
14
- get squareLogoUrl(): string | null;
15
- toJSON(): QuoteProductAssetsData;
16
- }
@@ -1,45 +0,0 @@
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 _QuoteProductAssets_mainLogoUrl, _QuoteProductAssets_squareLogoUrl;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteProductAssets = exports.QuoteProductAssetsFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var QuoteProductAssetsFields;
18
- (function (QuoteProductAssetsFields) {
19
- QuoteProductAssetsFields["MAIN_LOGO_URL"] = "mainLogoUrl";
20
- QuoteProductAssetsFields["SQUARE_LOGO_URL"] = "squareLogoUrl";
21
- })(QuoteProductAssetsFields = exports.QuoteProductAssetsFields || (exports.QuoteProductAssetsFields = {}));
22
- class QuoteProductAssets extends abstractEntity_1.AbstractEntity {
23
- constructor(data) {
24
- super(data);
25
- _QuoteProductAssets_mainLogoUrl.set(this, void 0);
26
- _QuoteProductAssets_squareLogoUrl.set(this, void 0);
27
- __classPrivateFieldSet(this, _QuoteProductAssets_mainLogoUrl, data[QuoteProductAssetsFields.MAIN_LOGO_URL], "f");
28
- __classPrivateFieldSet(this, _QuoteProductAssets_squareLogoUrl, data[QuoteProductAssetsFields.SQUARE_LOGO_URL], "f");
29
- }
30
- get mainLogoUrl() {
31
- return __classPrivateFieldGet(this, _QuoteProductAssets_mainLogoUrl, "f");
32
- }
33
- get squareLogoUrl() {
34
- return __classPrivateFieldGet(this, _QuoteProductAssets_squareLogoUrl, "f");
35
- }
36
- toJSON() {
37
- return {
38
- [QuoteProductAssetsFields.MAIN_LOGO_URL]: this.mainLogoUrl,
39
- [QuoteProductAssetsFields.SQUARE_LOGO_URL]: this.squareLogoUrl,
40
- };
41
- }
42
- }
43
- exports.QuoteProductAssets = QuoteProductAssets;
44
- _QuoteProductAssets_mainLogoUrl = new WeakMap(), _QuoteProductAssets_squareLogoUrl = new WeakMap();
45
- //# sourceMappingURL=QuoteProductAssets.js.map
@@ -1,32 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum QuoteProductPriceBandFields {
3
- IDENTIFIERS = "identifiers"
4
- }
5
- export declare enum QuoteProductPriceBandIdentifiersFields {
6
- ARROWSPHERE = "arrowsphere",
7
- ERP = "erp",
8
- VENDOR = "vendor"
9
- }
10
- export declare enum QuoteProductPriceBandSkuFields {
11
- SKU = "sku"
12
- }
13
- export declare type QuoteProductPriceBandIdentifiersData = {
14
- [QuoteProductPriceBandIdentifiersFields.ARROWSPHERE]: {
15
- [QuoteProductPriceBandSkuFields.SKU]: string;
16
- };
17
- [QuoteProductPriceBandIdentifiersFields.ERP]: {
18
- [QuoteProductPriceBandSkuFields.SKU]: string;
19
- };
20
- [QuoteProductPriceBandIdentifiersFields.VENDOR]: {
21
- [QuoteProductPriceBandSkuFields.SKU]?: string;
22
- };
23
- };
24
- export declare type QuoteProductPriceBandData = {
25
- [QuoteProductPriceBandFields.IDENTIFIERS]: QuoteProductPriceBandIdentifiersData;
26
- };
27
- export declare class QuoteProductPriceBand extends AbstractEntity<QuoteProductPriceBandData> {
28
- #private;
29
- constructor(data: QuoteProductPriceBandData);
30
- get identifiers(): QuoteProductPriceBandIdentifiersData;
31
- toJSON(): QuoteProductPriceBandData;
32
- }
@@ -1,70 +0,0 @@
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 _QuoteProductPriceBand_identifiers;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteProductPriceBand = exports.QuoteProductPriceBandSkuFields = exports.QuoteProductPriceBandIdentifiersFields = exports.QuoteProductPriceBandFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var QuoteProductPriceBandFields;
18
- (function (QuoteProductPriceBandFields) {
19
- QuoteProductPriceBandFields["IDENTIFIERS"] = "identifiers";
20
- })(QuoteProductPriceBandFields = exports.QuoteProductPriceBandFields || (exports.QuoteProductPriceBandFields = {}));
21
- var QuoteProductPriceBandIdentifiersFields;
22
- (function (QuoteProductPriceBandIdentifiersFields) {
23
- QuoteProductPriceBandIdentifiersFields["ARROWSPHERE"] = "arrowsphere";
24
- QuoteProductPriceBandIdentifiersFields["ERP"] = "erp";
25
- QuoteProductPriceBandIdentifiersFields["VENDOR"] = "vendor";
26
- })(QuoteProductPriceBandIdentifiersFields = exports.QuoteProductPriceBandIdentifiersFields || (exports.QuoteProductPriceBandIdentifiersFields = {}));
27
- var QuoteProductPriceBandSkuFields;
28
- (function (QuoteProductPriceBandSkuFields) {
29
- QuoteProductPriceBandSkuFields["SKU"] = "sku";
30
- })(QuoteProductPriceBandSkuFields = exports.QuoteProductPriceBandSkuFields || (exports.QuoteProductPriceBandSkuFields = {}));
31
- class QuoteProductPriceBand extends abstractEntity_1.AbstractEntity {
32
- constructor(data) {
33
- super(data);
34
- _QuoteProductPriceBand_identifiers.set(this, void 0);
35
- const identifiers = data[QuoteProductPriceBandFields.IDENTIFIERS];
36
- __classPrivateFieldSet(this, _QuoteProductPriceBand_identifiers, {
37
- [QuoteProductPriceBandIdentifiersFields.ARROWSPHERE]: {
38
- [QuoteProductPriceBandSkuFields.SKU]: identifiers[QuoteProductPriceBandIdentifiersFields.ARROWSPHERE][QuoteProductPriceBandSkuFields.SKU],
39
- },
40
- [QuoteProductPriceBandIdentifiersFields.ERP]: {
41
- [QuoteProductPriceBandSkuFields.SKU]: identifiers[QuoteProductPriceBandIdentifiersFields.ERP][QuoteProductPriceBandSkuFields.SKU],
42
- },
43
- [QuoteProductPriceBandIdentifiersFields.VENDOR]: {
44
- [QuoteProductPriceBandSkuFields.SKU]: identifiers[QuoteProductPriceBandIdentifiersFields.VENDOR][QuoteProductPriceBandSkuFields.SKU],
45
- },
46
- }, "f");
47
- }
48
- get identifiers() {
49
- return __classPrivateFieldGet(this, _QuoteProductPriceBand_identifiers, "f");
50
- }
51
- toJSON() {
52
- return {
53
- [QuoteProductPriceBandFields.IDENTIFIERS]: {
54
- [QuoteProductPriceBandIdentifiersFields.ARROWSPHERE]: {
55
- [QuoteProductPriceBandSkuFields.SKU]: this.identifiers.arrowsphere
56
- .sku,
57
- },
58
- [QuoteProductPriceBandIdentifiersFields.ERP]: {
59
- [QuoteProductPriceBandSkuFields.SKU]: this.identifiers.erp.sku,
60
- },
61
- [QuoteProductPriceBandIdentifiersFields.VENDOR]: {
62
- [QuoteProductPriceBandSkuFields.SKU]: this.identifiers.vendor.sku,
63
- },
64
- },
65
- };
66
- }
67
- }
68
- exports.QuoteProductPriceBand = QuoteProductPriceBand;
69
- _QuoteProductPriceBand_identifiers = new WeakMap();
70
- //# sourceMappingURL=QuoteProductPriceBand.js.map
@@ -1,31 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum QuoteProductPricesFields {
3
- BUY = "buy",
4
- CURRENCY = "currency",
5
- PERIODICITY = "periodicity",
6
- PERIODICITY_CODE = "periodicityCode",
7
- SELL = "sell",
8
- TERM = "term",
9
- TERM_CODE = "termCode"
10
- }
11
- export declare type QuoteProductPricesData = {
12
- [QuoteProductPricesFields.BUY]: number;
13
- [QuoteProductPricesFields.CURRENCY]: string;
14
- [QuoteProductPricesFields.PERIODICITY]: string;
15
- [QuoteProductPricesFields.PERIODICITY_CODE]: number;
16
- [QuoteProductPricesFields.SELL]: number;
17
- [QuoteProductPricesFields.TERM]: string;
18
- [QuoteProductPricesFields.TERM_CODE]: number;
19
- };
20
- export declare class QuoteProductPrices extends AbstractEntity<QuoteProductPricesData> {
21
- #private;
22
- constructor(data: QuoteProductPricesData);
23
- get buy(): number;
24
- get currency(): string;
25
- get periodicity(): string;
26
- get periodicityCode(): number;
27
- get sell(): number;
28
- get term(): string;
29
- get termCode(): number;
30
- toJSON(): QuoteProductPricesData;
31
- }
@@ -1,80 +0,0 @@
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 _QuoteProductPrices_buy, _QuoteProductPrices_currency, _QuoteProductPrices_periodicity, _QuoteProductPrices_periodicityCode, _QuoteProductPrices_sell, _QuoteProductPrices_term, _QuoteProductPrices_termCode;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteProductPrices = exports.QuoteProductPricesFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var QuoteProductPricesFields;
18
- (function (QuoteProductPricesFields) {
19
- QuoteProductPricesFields["BUY"] = "buy";
20
- QuoteProductPricesFields["CURRENCY"] = "currency";
21
- QuoteProductPricesFields["PERIODICITY"] = "periodicity";
22
- QuoteProductPricesFields["PERIODICITY_CODE"] = "periodicityCode";
23
- QuoteProductPricesFields["SELL"] = "sell";
24
- QuoteProductPricesFields["TERM"] = "term";
25
- QuoteProductPricesFields["TERM_CODE"] = "termCode";
26
- })(QuoteProductPricesFields = exports.QuoteProductPricesFields || (exports.QuoteProductPricesFields = {}));
27
- class QuoteProductPrices extends abstractEntity_1.AbstractEntity {
28
- constructor(data) {
29
- super(data);
30
- _QuoteProductPrices_buy.set(this, void 0);
31
- _QuoteProductPrices_currency.set(this, void 0);
32
- _QuoteProductPrices_periodicity.set(this, void 0);
33
- _QuoteProductPrices_periodicityCode.set(this, void 0);
34
- _QuoteProductPrices_sell.set(this, void 0);
35
- _QuoteProductPrices_term.set(this, void 0);
36
- _QuoteProductPrices_termCode.set(this, void 0);
37
- __classPrivateFieldSet(this, _QuoteProductPrices_buy, data[QuoteProductPricesFields.BUY], "f");
38
- __classPrivateFieldSet(this, _QuoteProductPrices_currency, data[QuoteProductPricesFields.CURRENCY], "f");
39
- __classPrivateFieldSet(this, _QuoteProductPrices_periodicity, data[QuoteProductPricesFields.PERIODICITY], "f");
40
- __classPrivateFieldSet(this, _QuoteProductPrices_periodicityCode, data[QuoteProductPricesFields.PERIODICITY_CODE], "f");
41
- __classPrivateFieldSet(this, _QuoteProductPrices_sell, data[QuoteProductPricesFields.SELL], "f");
42
- __classPrivateFieldSet(this, _QuoteProductPrices_term, data[QuoteProductPricesFields.TERM], "f");
43
- __classPrivateFieldSet(this, _QuoteProductPrices_termCode, data[QuoteProductPricesFields.TERM_CODE], "f");
44
- }
45
- get buy() {
46
- return __classPrivateFieldGet(this, _QuoteProductPrices_buy, "f");
47
- }
48
- get currency() {
49
- return __classPrivateFieldGet(this, _QuoteProductPrices_currency, "f");
50
- }
51
- get periodicity() {
52
- return __classPrivateFieldGet(this, _QuoteProductPrices_periodicity, "f");
53
- }
54
- get periodicityCode() {
55
- return __classPrivateFieldGet(this, _QuoteProductPrices_periodicityCode, "f");
56
- }
57
- get sell() {
58
- return __classPrivateFieldGet(this, _QuoteProductPrices_sell, "f");
59
- }
60
- get term() {
61
- return __classPrivateFieldGet(this, _QuoteProductPrices_term, "f");
62
- }
63
- get termCode() {
64
- return __classPrivateFieldGet(this, _QuoteProductPrices_termCode, "f");
65
- }
66
- toJSON() {
67
- return {
68
- [QuoteProductPricesFields.BUY]: this.buy,
69
- [QuoteProductPricesFields.CURRENCY]: this.currency,
70
- [QuoteProductPricesFields.PERIODICITY]: this.periodicity,
71
- [QuoteProductPricesFields.PERIODICITY_CODE]: this.periodicityCode,
72
- [QuoteProductPricesFields.SELL]: this.sell,
73
- [QuoteProductPricesFields.TERM]: this.term,
74
- [QuoteProductPricesFields.TERM_CODE]: this.termCode,
75
- };
76
- }
77
- }
78
- exports.QuoteProductPrices = QuoteProductPrices;
79
- _QuoteProductPrices_buy = new WeakMap(), _QuoteProductPrices_currency = new WeakMap(), _QuoteProductPrices_periodicity = new WeakMap(), _QuoteProductPrices_periodicityCode = new WeakMap(), _QuoteProductPrices_sell = new WeakMap(), _QuoteProductPrices_term = new WeakMap(), _QuoteProductPrices_termCode = new WeakMap();
80
- //# sourceMappingURL=QuoteProductPrices.js.map
@@ -1,16 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum QuoteProductProgramFields {
3
- INTERNAL_NAME = "internalName",
4
- LEGACY_CODE = "legacyCode"
5
- }
6
- export declare type QuoteProductProgramData = {
7
- [QuoteProductProgramFields.INTERNAL_NAME]?: string;
8
- [QuoteProductProgramFields.LEGACY_CODE]: string;
9
- };
10
- export declare class QuoteProductProgram extends AbstractEntity<QuoteProductProgramData> {
11
- #private;
12
- constructor(data: QuoteProductProgramData);
13
- get internalName(): string | undefined;
14
- get legacyCode(): string;
15
- toJSON(): QuoteProductProgramData;
16
- }
@@ -1,45 +0,0 @@
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 _QuoteProductProgram_internalName, _QuoteProductProgram_legacyCode;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteProductProgram = exports.QuoteProductProgramFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var QuoteProductProgramFields;
18
- (function (QuoteProductProgramFields) {
19
- QuoteProductProgramFields["INTERNAL_NAME"] = "internalName";
20
- QuoteProductProgramFields["LEGACY_CODE"] = "legacyCode";
21
- })(QuoteProductProgramFields = exports.QuoteProductProgramFields || (exports.QuoteProductProgramFields = {}));
22
- class QuoteProductProgram extends abstractEntity_1.AbstractEntity {
23
- constructor(data) {
24
- super(data);
25
- _QuoteProductProgram_internalName.set(this, void 0);
26
- _QuoteProductProgram_legacyCode.set(this, void 0);
27
- __classPrivateFieldSet(this, _QuoteProductProgram_internalName, data[QuoteProductProgramFields.INTERNAL_NAME], "f");
28
- __classPrivateFieldSet(this, _QuoteProductProgram_legacyCode, data[QuoteProductProgramFields.LEGACY_CODE], "f");
29
- }
30
- get internalName() {
31
- return __classPrivateFieldGet(this, _QuoteProductProgram_internalName, "f");
32
- }
33
- get legacyCode() {
34
- return __classPrivateFieldGet(this, _QuoteProductProgram_legacyCode, "f");
35
- }
36
- toJSON() {
37
- return {
38
- [QuoteProductProgramFields.INTERNAL_NAME]: this.internalName,
39
- [QuoteProductProgramFields.LEGACY_CODE]: this.legacyCode,
40
- };
41
- }
42
- }
43
- exports.QuoteProductProgram = QuoteProductProgram;
44
- _QuoteProductProgram_internalName = new WeakMap(), _QuoteProductProgram_legacyCode = new WeakMap();
45
- //# sourceMappingURL=QuoteProductProgram.js.map
@@ -1,13 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum QuoteProductVendorFields {
3
- NAME = "name"
4
- }
5
- export declare type QuoteProductVendorData = {
6
- [QuoteProductVendorFields.NAME]: string;
7
- };
8
- export declare class QuoteProductVendor extends AbstractEntity<QuoteProductVendorData> {
9
- #private;
10
- constructor(data: QuoteProductVendorData);
11
- get name(): string;
12
- toJSON(): QuoteProductVendorData;
13
- }
@@ -1,38 +0,0 @@
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 _QuoteProductVendor_name;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.QuoteProductVendor = exports.QuoteProductVendorFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var QuoteProductVendorFields;
18
- (function (QuoteProductVendorFields) {
19
- QuoteProductVendorFields["NAME"] = "name";
20
- })(QuoteProductVendorFields = exports.QuoteProductVendorFields || (exports.QuoteProductVendorFields = {}));
21
- class QuoteProductVendor extends abstractEntity_1.AbstractEntity {
22
- constructor(data) {
23
- super(data);
24
- _QuoteProductVendor_name.set(this, void 0);
25
- __classPrivateFieldSet(this, _QuoteProductVendor_name, data[QuoteProductVendorFields.NAME], "f");
26
- }
27
- get name() {
28
- return __classPrivateFieldGet(this, _QuoteProductVendor_name, "f");
29
- }
30
- toJSON() {
31
- return {
32
- [QuoteProductVendorFields.NAME]: this.name,
33
- };
34
- }
35
- }
36
- exports.QuoteProductVendor = QuoteProductVendor;
37
- _QuoteProductVendor_name = new WeakMap();
38
- //# sourceMappingURL=QuoteProductVendor.js.map