@veloceapps/api 4.0.18 → 4.0.20

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.
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common/http'), require('@angular/core'), require('@veloce/core'), require('rxjs'), require('rxjs/operators'), require('lodash'), require('@angular/common'), require('moment')) :
3
3
  typeof define === 'function' && define.amd ? define('@veloce/api', ['exports', '@angular/common/http', '@angular/core', '@veloce/core', 'rxjs', 'rxjs/operators', 'lodash', '@angular/common', 'moment'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.veloce = global.veloce || {}, global.veloce.api = {}), global.ng.common.http, global.ng.core, global["@veloce/core"], global.rxjs, global.rxjs.operators, global.lodash, global.ng.common, global.moment));
5
- })(this, (function (exports, i5, i0, i1, rxjs, operators, _, common, moment_) { 'use strict';
5
+ })(this, (function (exports, i4, i0, i1, rxjs, operators, _, common, moment_) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -22,7 +22,7 @@
22
22
  return Object.freeze(n);
23
23
  }
24
24
 
25
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
25
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
26
26
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
27
27
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
28
28
  var ___namespace = /*#__PURE__*/_interopNamespace(_);
@@ -37,7 +37,7 @@
37
37
  return this.httpService.api(Object.assign({ method: 'get', url: "" + this.SERVICE_URL }, options));
38
38
  };
39
39
  AccountApiService.prototype.searchAccounts$ = function (searchParams, options) {
40
- var params = new i5.HttpParams({ fromObject: searchParams });
40
+ var params = new i4.HttpParams({ fromObject: searchParams });
41
41
  return this.httpService.api(Object.assign({ url: "" + this.SERVICE_URL, params: params }, options));
42
42
  };
43
43
  AccountApiService.prototype.getAccount$ = function (id, options) {
@@ -81,11 +81,11 @@
81
81
  this.baseHttpService = baseHttpService;
82
82
  this.serviceUrl = '/catalogs';
83
83
  this.fetchCatalogs$ = function (searchParams) {
84
- var params = new i5.HttpParams({ fromObject: Object.assign({}, searchParams) });
84
+ var params = new i4.HttpParams({ fromObject: Object.assign({}, searchParams) });
85
85
  return _this.baseHttpService.api({ url: "" + _this.serviceUrl, params: params });
86
86
  };
87
87
  this.searchCatalogs$ = function (searchParams, expression) {
88
- var params = new i5.HttpParams({ fromObject: Object.assign({}, searchParams) });
88
+ var params = new i4.HttpParams({ fromObject: Object.assign({}, searchParams) });
89
89
  return _this.baseHttpService.api({
90
90
  method: 'post',
91
91
  url: _this.serviceUrl + "/search",
@@ -204,7 +204,7 @@
204
204
  });
205
205
  };
206
206
  this.searchProductCandidates$ = function (catalogId, categoryId, expression, searchParams) {
207
- var params = new i5.HttpParams({ fromObject: Object.assign({}, searchParams) });
207
+ var params = new i4.HttpParams({ fromObject: Object.assign({}, searchParams) });
208
208
  return _this.baseHttpService.api({
209
209
  method: 'post',
210
210
  url: _this.serviceUrl + "/" + catalogId + "/categories/" + categoryId + "/candidates/search",
@@ -249,7 +249,7 @@
249
249
  });
250
250
  };
251
251
  CatalogApiService.prototype.searchCatalogs$ = function (searchParams, expression) {
252
- var params = new i5.HttpParams({ fromObject: searchParams });
252
+ var params = new i4.HttpParams({ fromObject: searchParams });
253
253
  return this.service.api({
254
254
  method: 'post',
255
255
  url: this.serviceUrl + "/search",
@@ -270,7 +270,7 @@
270
270
  });
271
271
  };
272
272
  CatalogApiService.prototype.fetchCatalogProducts$ = function (catalogId, searchParams, context) {
273
- var params = new i5.HttpParams({ fromObject: searchParams });
273
+ var params = new i4.HttpParams({ fromObject: searchParams });
274
274
  return this.service.api({
275
275
  method: 'post',
276
276
  url: this.serviceUrl + "/" + catalogId + "/products",
@@ -279,7 +279,7 @@
279
279
  });
280
280
  };
281
281
  CatalogApiService.prototype.fetchCategoryProducts$ = function (catalogId, categoryId, searchParams, context) {
282
- var params = new i5.HttpParams({ fromObject: searchParams });
282
+ var params = new i4.HttpParams({ fromObject: searchParams });
283
283
  return this.service.api({
284
284
  method: 'post',
285
285
  url: this.serviceUrl + "/" + catalogId + "/categories/" + categoryId + "/products",
@@ -288,7 +288,7 @@
288
288
  });
289
289
  };
290
290
  CatalogApiService.prototype.searchCategoryProducts$ = function (catalogId, categoryId, searchParams, searchCriteria, context) {
291
- var params = new i5.HttpParams({ fromObject: searchParams });
291
+ var params = new i4.HttpParams({ fromObject: searchParams });
292
292
  return this.service.api({
293
293
  method: 'post',
294
294
  url: this.serviceUrl + "/" + catalogId + "/categories/" + categoryId + "/products/search",
@@ -300,7 +300,7 @@
300
300
  });
301
301
  };
302
302
  CatalogApiService.prototype.fetchEligibleProducts$ = function (searchParams, context) {
303
- var params = new i5.HttpParams({ fromObject: searchParams });
303
+ var params = new i4.HttpParams({ fromObject: searchParams });
304
304
  return this.service.api({
305
305
  method: 'post',
306
306
  url: this.serviceUrl + "/products",
@@ -309,7 +309,7 @@
309
309
  });
310
310
  };
311
311
  CatalogApiService.prototype.fetchProducts$ = function (searchParams) {
312
- var params = new i5.HttpParams({ fromObject: searchParams });
312
+ var params = new i4.HttpParams({ fromObject: searchParams });
313
313
  return this.service.api({
314
314
  method: 'get',
315
315
  url: this.serviceUrl + "/products",
@@ -909,7 +909,7 @@
909
909
  }());
910
910
 
911
911
  var LineItemDTO = /** @class */ (function () {
912
- function LineItemDTO(id, activated, attributes, attributeDomains, cfgStatus, chargeGroupItems, chargeItems, domainComputations, lineItems, messages, name, optionalCharges, pending, portDomains, properties, qty, totalPrices, type, integrationId, productId, port, parentId, assetId, openOrderLineItemId, productName, rootId, actionCode, serviceStartDate, effectiveDate, effectiveStartDate, startDate, endDate, priceListId, planId, sellingFrequencyUnit, sellingFrequencyDuration, offeringId, offeringItemId, offeringInstanceId, rampInstanceId, enableRamp, configurable, requiresApprovals) {
912
+ function LineItemDTO(id, activated, attributes, attributeDomains, cfgStatus, chargeGroupItems, chargeItems, domainComputations, lineItems, messages, name, optionalCharges, pending, portDomains, properties, qty, totalPrices, type, integrationId, productId, port, parentId, assetId, openOrderLineItemId, productName, rootId, actionCode, serviceStartDate, effectiveDate, effectiveStartDate, startDate, endDate, priceListId, planId, sellingFrequencyUnit, sellingFrequencyDuration, minimalTerm, offeringId, offeringItemId, offeringInstanceId, rampInstanceId, enableRamp, configurable, requiresApprovals) {
913
913
  this.id = id;
914
914
  this.activated = activated;
915
915
  this.attributes = attributes;
@@ -946,6 +946,7 @@
946
946
  this.planId = planId;
947
947
  this.sellingFrequencyUnit = sellingFrequencyUnit;
948
948
  this.sellingFrequencyDuration = sellingFrequencyDuration;
949
+ this.minimalTerm = minimalTerm;
949
950
  this.offeringId = offeringId;
950
951
  this.offeringItemId = offeringItemId;
951
952
  this.offeringInstanceId = offeringInstanceId;
@@ -992,6 +993,7 @@
992
993
  planId: dto.planId,
993
994
  sellingFrequencyUnit: dto.sellingFrequencyUnit,
994
995
  sellingFrequencyDuration: dto.sellingFrequencyDuration,
996
+ minimalTerm: dto.minimalTerm,
995
997
  offeringId: dto.offeringId,
996
998
  offeringItemId: dto.offeringItemId,
997
999
  offeringInstanceId: dto.offeringInstanceId,
@@ -1005,15 +1007,17 @@
1005
1007
  }());
1006
1008
 
1007
1009
  var ConfigurePriceDTO = /** @class */ (function () {
1008
- function ConfigurePriceDTO(lineItem, context, charges) {
1010
+ function ConfigurePriceDTO(lineItem, context, charges, pricePlans) {
1009
1011
  this.lineItem = lineItem;
1010
1012
  this.context = context;
1011
1013
  this.charges = charges;
1014
+ this.pricePlans = pricePlans;
1012
1015
  }
1013
1016
  ConfigurePriceDTO.fromDTO = function (dto) {
1014
1017
  return {
1015
1018
  lineItem: LineItemDTO.fromDTO(dto.lineItem),
1016
1019
  charges: dto.charges,
1020
+ pricePlans: dto.pricePlans,
1017
1021
  context: dto.context,
1018
1022
  deletedLineItems: dto.deletedLineItems.map(function (deletedLineItem) { return LineItemDTO.fromDTO(deletedLineItem); }),
1019
1023
  };
@@ -1139,7 +1143,7 @@
1139
1143
  return this.httpService
1140
1144
  .api(Object.assign({ url: this.SERVICE_URL + "/byKey/" + settingsKey, method: 'get' }, options))
1141
1145
  .pipe(operators.map(function (setting) { return ConfigurationSettingsDTO.fromDTO(setting, settingsKey); }), operators.catchError(function (err) {
1142
- if (err instanceof i5.HttpErrorResponse && err.status === 404) {
1146
+ if (err instanceof i4.HttpErrorResponse && err.status === 404) {
1143
1147
  return rxjs.of(null);
1144
1148
  }
1145
1149
  throw err;
@@ -1290,7 +1294,7 @@
1290
1294
  return this.httpService.api(Object.assign({ method: 'post', body: Object.assign(Object.assign({}, searchRequest), { count: searchRequest.count || 100 }), url: this.SERVICE_URL + "/query/" + objectName }, options));
1291
1295
  };
1292
1296
  SalesforceApiService.prototype.queryObjects = function (search, options) {
1293
- var params = new i5.HttpParams();
1297
+ var params = new i4.HttpParams();
1294
1298
  if (search) {
1295
1299
  params = params.append('search', search);
1296
1300
  }
@@ -1318,61 +1322,15 @@
1318
1322
  type: i0.Injectable
1319
1323
  }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
1320
1324
 
1321
- var QuoteApiService = /** @class */ (function () {
1322
- function QuoteApiService(httpService) {
1323
- this.httpService = httpService;
1324
- this.SERVICE_URL = '/quotes';
1325
- /**
1326
- * @deprecated
1327
- * Will be removed in next major release
1328
- * Use `getQuoteDraft` instead
1329
- */
1330
- // eslint-disable-next-line @typescript-eslint/member-ordering
1331
- this.getQuote = this.getQuoteDraft;
1332
- }
1333
- // request quoteId | accountId | opportunityId | orderId
1334
- QuoteApiService.prototype.getQuoteDraft = function (objectId, params, errorHandler) {
1335
- return this.httpService.api({
1336
- method: 'get',
1337
- url: this.SERVICE_URL + "/" + objectId,
1338
- params: params,
1339
- errorHandler: errorHandler,
1340
- });
1341
- };
1342
- QuoteApiService.prototype.upsertQuote = function (request, options) {
1343
- return this.httpService.api(Object.assign({ method: 'post', url: "" + this.SERVICE_URL, body: request }, options));
1344
- };
1345
- QuoteApiService.prototype.submitQuote = function (request, options) {
1346
- return this.httpService.api(Object.assign({ method: 'post', url: this.SERVICE_URL + "/submit", body: request }, options));
1347
- };
1348
- QuoteApiService.prototype.attachDocument = function (id, documentName, data) {
1349
- var formData = new FormData();
1350
- var blob = new Blob([data]);
1351
- formData.append('file', blob, documentName);
1352
- return this.httpService.upload({
1353
- url: this.SERVICE_URL + "/" + id + "/attach-document",
1354
- responseType: 'arraybuffer',
1355
- method: 'post',
1356
- body: formData,
1357
- });
1358
- };
1359
- return QuoteApiService;
1360
- }());
1361
- QuoteApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: QuoteApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1362
- QuoteApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: QuoteApiService });
1363
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: QuoteApiService, decorators: [{
1364
- type: i0.Injectable
1365
- }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
1366
-
1367
1325
  var moment = moment___namespace;
1368
1326
  var DocumentTemplatesApiService = /** @class */ (function () {
1369
- function DocumentTemplatesApiService(service, salesforceApiService, fileDownloadService, documentAttachmentService, quoteApiService, http) {
1327
+ function DocumentTemplatesApiService(service, salesforceApiService, fileDownloadService, documentAttachmentService, http) {
1370
1328
  this.service = service;
1371
1329
  this.salesforceApiService = salesforceApiService;
1372
1330
  this.fileDownloadService = fileDownloadService;
1373
1331
  this.documentAttachmentService = documentAttachmentService;
1374
- this.quoteApiService = quoteApiService;
1375
1332
  this.http = http;
1333
+ this.DOCGEN_TAG = 'docgen';
1376
1334
  this.SERVICE_URL = '/templates';
1377
1335
  this.DOC_GEN_URL_FALLBACK = 'https://dev-dp1.velocpq.com/docgen';
1378
1336
  this.mapSfQueryResult = function (limit) { return operators.map(function (records) {
@@ -1534,8 +1492,14 @@
1534
1492
  }
1535
1493
  return _this.mergeDocuments(document, attachments).pipe(operators.switchMap(function (pdf) {
1536
1494
  if (params.attachToQuote && i1.QuoteDraft.isQuote(object)) {
1537
- return _this.quoteApiService
1538
- .attachDocument(object.quoteId, documentName + ".pdf", pdf)
1495
+ var file = new File([pdf], documentName + ".pdf");
1496
+ return _this.documentAttachmentService
1497
+ .createAttachment({
1498
+ linkedEntityId: object.quoteId,
1499
+ fileName: documentName,
1500
+ fileExtension: 'pdf',
1501
+ tags: _this.DOCGEN_TAG,
1502
+ }, file)
1539
1503
  .pipe(operators.map(function () { return pdf; }));
1540
1504
  }
1541
1505
  return rxjs.of(pdf);
@@ -1655,11 +1619,11 @@
1655
1619
  };
1656
1620
  return DocumentTemplatesApiService;
1657
1621
  }());
1658
- DocumentTemplatesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentTemplatesApiService, deps: [{ token: i1__namespace.BaseHttpService }, { token: SalesforceApiService }, { token: i1__namespace.FileDownloadService }, { token: DocumentAttachmentApiService }, { token: QuoteApiService }, { token: i5__namespace.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1622
+ DocumentTemplatesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentTemplatesApiService, deps: [{ token: i1__namespace.BaseHttpService }, { token: SalesforceApiService }, { token: i1__namespace.FileDownloadService }, { token: DocumentAttachmentApiService }, { token: i4__namespace.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1659
1623
  DocumentTemplatesApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentTemplatesApiService });
1660
1624
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: DocumentTemplatesApiService, decorators: [{
1661
1625
  type: i0.Injectable
1662
- }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }, { type: SalesforceApiService }, { type: i1__namespace.FileDownloadService }, { type: DocumentAttachmentApiService }, { type: QuoteApiService }, { type: i5__namespace.HttpClient }]; } });
1626
+ }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }, { type: SalesforceApiService }, { type: i1__namespace.FileDownloadService }, { type: DocumentAttachmentApiService }, { type: i4__namespace.HttpClient }]; } });
1663
1627
 
1664
1628
  var FlowsApiService = /** @class */ (function () {
1665
1629
  function FlowsApiService(configurationSettingsApiService) {
@@ -1790,7 +1754,7 @@
1790
1754
  return _this.searchProcedures$(new i1.Expression(), 0, 100);
1791
1755
  };
1792
1756
  this.searchProcedures$ = function (expression, skip, count) {
1793
- var params = new i5.HttpParams();
1757
+ var params = new i4.HttpParams();
1794
1758
  params = params.set('skip', '' + skip);
1795
1759
  params = params.set('count', '' + count);
1796
1760
  return _this.baseHttpService.api({
@@ -1875,7 +1839,7 @@
1875
1839
  this.baseHttpService = baseHttpService;
1876
1840
  this.serviceUrl = '/products';
1877
1841
  this.fetchProducts$ = function (payload) {
1878
- var params = new i5.HttpParams();
1842
+ var params = new i4.HttpParams();
1879
1843
  params = params.append('count', payload.count);
1880
1844
  params = params.append('skip', payload.skip);
1881
1845
  if (payload.name) {
@@ -1884,7 +1848,7 @@
1884
1848
  return _this.baseHttpService.api({ url: "" + _this.serviceUrl, params: params });
1885
1849
  };
1886
1850
  this.searchProducts$ = function (expression, skip, count) {
1887
- var params = new i5.HttpParams();
1851
+ var params = new i4.HttpParams();
1888
1852
  params = params.set('skip', '' + skip);
1889
1853
  params = params.set('count', '' + count);
1890
1854
  return _this.baseHttpService.api({
@@ -1899,7 +1863,7 @@
1899
1863
  return _this.baseHttpService.api({ url: _this.serviceUrl + "/attributes/definition" });
1900
1864
  };
1901
1865
  this.searchAttributes$ = function (expression, skip, count) {
1902
- var params = new i5.HttpParams();
1866
+ var params = new i4.HttpParams();
1903
1867
  params = params.set('skip', '' + skip);
1904
1868
  params = params.set('count', '' + count);
1905
1869
  return _this.baseHttpService.api({
@@ -2249,6 +2213,52 @@
2249
2213
  type: i0.Injectable
2250
2214
  }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
2251
2215
 
2216
+ var QuoteApiService = /** @class */ (function () {
2217
+ function QuoteApiService(httpService) {
2218
+ this.httpService = httpService;
2219
+ this.SERVICE_URL = '/quotes';
2220
+ /**
2221
+ * @deprecated
2222
+ * Will be removed in next major release
2223
+ * Use `getQuoteDraft` instead
2224
+ */
2225
+ // eslint-disable-next-line @typescript-eslint/member-ordering
2226
+ this.getQuote = this.getQuoteDraft;
2227
+ }
2228
+ // request quoteId | accountId | opportunityId | orderId
2229
+ QuoteApiService.prototype.getQuoteDraft = function (objectId, params, errorHandler) {
2230
+ return this.httpService.api({
2231
+ method: 'get',
2232
+ url: this.SERVICE_URL + "/" + objectId,
2233
+ params: params,
2234
+ errorHandler: errorHandler,
2235
+ });
2236
+ };
2237
+ QuoteApiService.prototype.upsertQuote = function (request, options) {
2238
+ return this.httpService.api(Object.assign({ method: 'post', url: "" + this.SERVICE_URL, body: request }, options));
2239
+ };
2240
+ QuoteApiService.prototype.submitQuote = function (request, options) {
2241
+ return this.httpService.api(Object.assign({ method: 'post', url: this.SERVICE_URL + "/submit", body: request }, options));
2242
+ };
2243
+ QuoteApiService.prototype.attachDocument = function (id, documentName, data) {
2244
+ var formData = new FormData();
2245
+ var blob = new Blob([data]);
2246
+ formData.append('file', blob, documentName);
2247
+ return this.httpService.upload({
2248
+ url: this.SERVICE_URL + "/" + id + "/attach-document",
2249
+ responseType: 'arraybuffer',
2250
+ method: 'post',
2251
+ body: formData,
2252
+ });
2253
+ };
2254
+ return QuoteApiService;
2255
+ }());
2256
+ QuoteApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: QuoteApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2257
+ QuoteApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: QuoteApiService });
2258
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: QuoteApiService, decorators: [{
2259
+ type: i0.Injectable
2260
+ }], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
2261
+
2252
2262
  var RampApiService = /** @class */ (function () {
2253
2263
  function RampApiService(httpService) {
2254
2264
  this.httpService = httpService;
@@ -2277,7 +2287,7 @@
2277
2287
  return _this.searchRuleGroups$(new i1.Expression(), 0, 100);
2278
2288
  };
2279
2289
  this.searchRuleGroups$ = function (expression, skip, count) {
2280
- var params = new i5.HttpParams();
2290
+ var params = new i4.HttpParams();
2281
2291
  params = params.set('skip', '' + skip);
2282
2292
  params = params.set('count', '' + count);
2283
2293
  return _this.baseHttpService.api({ method: 'post', url: _this.serviceUrl + "/search", params: params, body: expression });
@@ -2335,7 +2345,7 @@
2335
2345
  return _this.searchRules$(new i1.Expression(), 0, 100);
2336
2346
  };
2337
2347
  this.searchRules$ = function (expression, skip, count) {
2338
- var params = new i5.HttpParams();
2348
+ var params = new i4.HttpParams();
2339
2349
  params = params.set('skip', '' + skip);
2340
2350
  params = params.set('count', '' + count);
2341
2351
  return _this.baseHttpService.api({ method: 'post', url: _this.serviceUrl + "/search", params: params, body: expression });
@@ -2412,7 +2422,7 @@
2412
2422
  return _this.baseHttpService.api({ url: "" + _this.serviceUrl });
2413
2423
  };
2414
2424
  this.searchScripts$ = function (expression, skip, count) {
2415
- var params = new i5.HttpParams();
2425
+ var params = new i4.HttpParams();
2416
2426
  params = params.set('skip', '' + skip);
2417
2427
  params = params.set('count', '' + count);
2418
2428
  return _this.baseHttpService.api({ method: 'post', url: _this.serviceUrl + "/search", params: params, body: expression });
@@ -2496,7 +2506,7 @@
2496
2506
  this.baseHttpService = baseHttpService;
2497
2507
  this.serviceUrl = '/uitemplates';
2498
2508
  this.fetchTemplates$ = function (name) {
2499
- var params = new i5.HttpParams();
2509
+ var params = new i4.HttpParams();
2500
2510
  if (name) {
2501
2511
  params = params.append('name', name);
2502
2512
  }
@@ -2546,7 +2556,7 @@
2546
2556
  });
2547
2557
  };
2548
2558
  this.fetchComponents$ = function (templateId, name) {
2549
- var params = new i5.HttpParams();
2559
+ var params = new i4.HttpParams();
2550
2560
  if (name) {
2551
2561
  params = params.append('name', name);
2552
2562
  }
@@ -2624,7 +2634,7 @@
2624
2634
  }), rxjs.map(function (attachments) { return fromUIComponentStoryDTO(storyDto, attachments); }));
2625
2635
  };
2626
2636
  this.fetchStories$ = function (templateId, componentId, name) {
2627
- var params = new i5.HttpParams();
2637
+ var params = new i4.HttpParams();
2628
2638
  if (name) {
2629
2639
  params = params.append('name', name);
2630
2640
  }
@@ -2779,7 +2789,7 @@
2779
2789
  return ApiModule;
2780
2790
  }());
2781
2791
  ApiModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ApiModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2782
- ApiModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ApiModule, imports: [i5.HttpClientModule] });
2792
+ ApiModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ApiModule, imports: [i4.HttpClientModule] });
2783
2793
  ApiModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ApiModule, providers: [
2784
2794
  i1.BaseHttpService,
2785
2795
  i1.XrayService,
@@ -2805,11 +2815,11 @@
2805
2815
  DeltaApiService,
2806
2816
  AccountApiService,
2807
2817
  PicklistsApiService,
2808
- ], imports: [[i5.HttpClientModule]] });
2818
+ ], imports: [[i4.HttpClientModule]] });
2809
2819
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: ApiModule, decorators: [{
2810
2820
  type: i0.NgModule,
2811
2821
  args: [{
2812
- imports: [i5.HttpClientModule],
2822
+ imports: [i4.HttpClientModule],
2813
2823
  providers: [
2814
2824
  i1.BaseHttpService,
2815
2825
  i1.XrayService,