@veloceapps/api 6.0.0-8 → 6.0.0-80
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/bundles/veloceapps-api.umd.js +254 -93
- package/bundles/veloceapps-api.umd.js.map +1 -1
- package/esm2015/index.js +2 -1
- package/esm2015/lib/api.module.js +8 -5
- package/esm2015/lib/services/account-api.service.js +3 -3
- package/esm2015/lib/services/catalog-admin-api.service.js +4 -5
- package/esm2015/lib/services/catalog-api.service.js +3 -3
- package/esm2015/lib/services/configuration-api.service.js +3 -3
- package/esm2015/lib/services/configuration-settings-api.service.js +16 -7
- package/esm2015/lib/services/context-api.service.js +3 -3
- package/esm2015/lib/services/delta-api.service.js +3 -3
- package/esm2015/lib/services/document-attachment-api.service.js +3 -3
- package/esm2015/lib/services/document-templates-api.service.js +3 -3
- package/esm2015/lib/services/endpoints-api.service.js +3 -3
- package/esm2015/lib/services/flows-api.service.js +3 -3
- package/esm2015/lib/services/offers-api.service.js +76 -0
- package/esm2015/lib/services/org-info-api.service.js +3 -3
- package/esm2015/lib/services/picklists-api.service.js +3 -3
- package/esm2015/lib/services/price-api.service.js +3 -3
- package/esm2015/lib/services/procedures-api.service.js +3 -3
- package/esm2015/lib/services/product-api.service.js +3 -3
- package/esm2015/lib/services/product-model-api.service.js +3 -3
- package/esm2015/lib/services/quote-api.service.js +3 -3
- package/esm2015/lib/services/ramp-api.service.js +3 -3
- package/esm2015/lib/services/rule-groups-api.service.js +3 -3
- package/esm2015/lib/services/rules-api.service.js +7 -6
- package/esm2015/lib/services/salesforce-api.service.js +7 -4
- package/esm2015/lib/services/scripts-api.service.js +3 -3
- package/esm2015/lib/services/shopping-cart-settings-api.service.js +11 -5
- package/esm2015/lib/services/ui-templates-api.service.js +3 -3
- package/esm2015/lib/types/dto/offers-dto.types.js +2 -0
- package/esm2015/lib/types/index.js +1 -1
- package/fesm2015/veloceapps-api.js +178 -88
- package/fesm2015/veloceapps-api.js.map +1 -1
- package/index.d.ts +1 -0
- package/lib/services/configuration-settings-api.service.d.ts +4 -2
- package/lib/services/offers-api.service.d.ts +19 -0
- package/lib/services/salesforce-api.service.d.ts +5 -0
- package/lib/services/shopping-cart-settings-api.service.d.ts +2 -1
- package/lib/types/dto/offers-dto.types.d.ts +9 -0
- package/lib/types/index.d.ts +1 -0
- package/package.json +1 -1
@@ -3,9 +3,10 @@ import { HttpParams, HttpErrorResponse, HttpClientModule } from '@angular/common
|
|
3
3
|
import * as i0 from '@angular/core';
|
4
4
|
import { Injectable, NgModule } from '@angular/core';
|
5
5
|
import * as i1 from '@veloceapps/core';
|
6
|
-
import { ModelTranslatorUtils, ConfigurationContextMode, isLegacyDocumentTemplate, DocxTemplater, QuoteDraft, StringUtils, Expression, ProductModelsContainer, ModelUtils, EntityUtil, BaseHttpService, XrayService } from '@veloceapps/core';
|
7
|
-
import { throwError, of, zip, forkJoin,
|
6
|
+
import { ModelTranslatorUtils, ConfigurationContextMode, isLegacyDocumentTemplate, DocxTemplater, QuoteDraft, StringUtils, Expression, ProductModelsContainer, ModelUtils, EntityUtil, RuleGroupTypes, parseJsonSafely, BaseHttpService, XrayService } from '@veloceapps/core';
|
7
|
+
import { throwError, of, zip, forkJoin, map as map$1, noop, catchError as catchError$1, switchMap as switchMap$1 } from 'rxjs';
|
8
8
|
import { map, catchError, tap, switchMap, defaultIfEmpty } from 'rxjs/operators';
|
9
|
+
import * as i2 from 'primeng/api';
|
9
10
|
import { CurrencyPipe } from '@angular/common';
|
10
11
|
import * as _ from 'lodash';
|
11
12
|
import * as moment_ from 'moment';
|
@@ -51,9 +52,9 @@ class AccountApiService {
|
|
51
52
|
return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/${accountId}/orders/${orderId}/to-asset`, method: 'post', body: { id: orderId } }, options));
|
52
53
|
}
|
53
54
|
}
|
54
|
-
AccountApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
55
|
-
AccountApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
55
|
+
AccountApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AccountApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
56
|
+
AccountApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AccountApiService });
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AccountApiService, decorators: [{
|
57
58
|
type: Injectable
|
58
59
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
59
60
|
|
@@ -200,15 +201,14 @@ class CatalogAdminApiService {
|
|
200
201
|
return this.baseHttpService.api({
|
201
202
|
method: 'delete',
|
202
203
|
url: `${this.serviceUrl}/${catalogId}/categories/${categoryId}/products/${data.id}`,
|
203
|
-
body: data,
|
204
204
|
});
|
205
205
|
};
|
206
206
|
}
|
207
207
|
}
|
208
208
|
CatalogAdminApiService.MAX_RESULTS = 60;
|
209
|
-
CatalogAdminApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
210
|
-
CatalogAdminApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
209
|
+
CatalogAdminApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CatalogAdminApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
210
|
+
CatalogAdminApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CatalogAdminApiService });
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CatalogAdminApiService, decorators: [{
|
212
212
|
type: Injectable
|
213
213
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
214
214
|
|
@@ -292,9 +292,9 @@ class CatalogApiService {
|
|
292
292
|
});
|
293
293
|
}
|
294
294
|
}
|
295
|
-
CatalogApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
296
|
-
CatalogApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
295
|
+
CatalogApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CatalogApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
296
|
+
CatalogApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CatalogApiService });
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CatalogApiService, decorators: [{
|
298
298
|
type: Injectable
|
299
299
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
300
300
|
|
@@ -358,9 +358,9 @@ class ConfigurationApiService {
|
|
358
358
|
return Object.assign(Object.assign({}, lineItem), { lineItems: (_c = lineItem.lineItems) === null || _c === void 0 ? void 0 : _c.map(i => this.updatePortDomains(i, runtimeModel)), portDomains });
|
359
359
|
}
|
360
360
|
}
|
361
|
-
ConfigurationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
362
|
-
ConfigurationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
361
|
+
ConfigurationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
362
|
+
ConfigurationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationApiService });
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationApiService, decorators: [{
|
364
364
|
type: Injectable
|
365
365
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
366
366
|
|
@@ -387,8 +387,9 @@ class ConfigurationSettingsDTO {
|
|
387
387
|
}
|
388
388
|
|
389
389
|
class ConfigurationSettingsApiService {
|
390
|
-
constructor(httpService) {
|
390
|
+
constructor(httpService, messageService) {
|
391
391
|
this.httpService = httpService;
|
392
|
+
this.messageService = messageService;
|
392
393
|
this.SERVICE_URL = '/configuration-settings';
|
393
394
|
}
|
394
395
|
fetchSettings(options) {
|
@@ -398,9 +399,16 @@ class ConfigurationSettingsApiService {
|
|
398
399
|
}
|
399
400
|
fetchSetting(settingsKey, options) {
|
400
401
|
return this.httpService
|
401
|
-
.api(Object.assign({ url: `${this.SERVICE_URL}/byKey/${settingsKey}`, method: 'get' }, options))
|
402
|
+
.api(Object.assign(Object.assign({ url: `${this.SERVICE_URL}/byKey/${settingsKey}`, method: 'get' }, options), { skipErrorHandler: true }))
|
402
403
|
.pipe(map((setting) => ConfigurationSettingsDTO.fromDTO(setting, settingsKey)), catchError(err => {
|
403
404
|
if (err instanceof HttpErrorResponse && err.status === 404) {
|
405
|
+
if (!(options === null || options === void 0 ? void 0 : options.skipErrorHandler)) {
|
406
|
+
this.messageService.add({
|
407
|
+
severity: 'error',
|
408
|
+
summary: `Configuration Setting "${settingsKey}" is not found`,
|
409
|
+
sticky: true,
|
410
|
+
});
|
411
|
+
}
|
404
412
|
return of(null);
|
405
413
|
}
|
406
414
|
throw err;
|
@@ -425,11 +433,11 @@ class ConfigurationSettingsApiService {
|
|
425
433
|
return this.httpService.api(Object.assign({ method: 'get', url: '/cache/evict/' + name }, options));
|
426
434
|
}
|
427
435
|
}
|
428
|
-
ConfigurationSettingsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
429
|
-
ConfigurationSettingsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
436
|
+
ConfigurationSettingsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationSettingsApiService, deps: [{ token: i1.BaseHttpService }, { token: i2.MessageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
437
|
+
ConfigurationSettingsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationSettingsApiService });
|
438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ConfigurationSettingsApiService, decorators: [{
|
431
439
|
type: Injectable
|
432
|
-
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
440
|
+
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }, { type: i2.MessageService }]; } });
|
433
441
|
|
434
442
|
class ContextApiService {
|
435
443
|
constructor(httpService) {
|
@@ -447,9 +455,9 @@ class ContextApiService {
|
|
447
455
|
});
|
448
456
|
}
|
449
457
|
}
|
450
|
-
ContextApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
451
|
-
ContextApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
458
|
+
ContextApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ContextApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
459
|
+
ContextApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ContextApiService });
|
460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ContextApiService, decorators: [{
|
453
461
|
type: Injectable
|
454
462
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
455
463
|
|
@@ -467,9 +475,9 @@ class DeltaApiService {
|
|
467
475
|
});
|
468
476
|
}
|
469
477
|
}
|
470
|
-
DeltaApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
471
|
-
DeltaApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
478
|
+
DeltaApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DeltaApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
479
|
+
DeltaApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DeltaApiService });
|
480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DeltaApiService, decorators: [{
|
473
481
|
type: Injectable
|
474
482
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
475
483
|
|
@@ -529,9 +537,9 @@ class DocumentAttachmentApiService {
|
|
529
537
|
});
|
530
538
|
}
|
531
539
|
}
|
532
|
-
DocumentAttachmentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
533
|
-
DocumentAttachmentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
540
|
+
DocumentAttachmentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DocumentAttachmentApiService, deps: [{ token: i1.BaseHttpService }, { token: i1.FileDownloadService }], target: i0.ɵɵFactoryTarget.Injectable });
|
541
|
+
DocumentAttachmentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DocumentAttachmentApiService });
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DocumentAttachmentApiService, decorators: [{
|
535
543
|
type: Injectable
|
536
544
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }, { type: i1.FileDownloadService }]; } });
|
537
545
|
|
@@ -550,6 +558,9 @@ class SalesforceApiService {
|
|
550
558
|
}
|
551
559
|
return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/query`, params }, options));
|
552
560
|
}
|
561
|
+
search(req, options) {
|
562
|
+
return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/rest/search`, params: { q: req.searchString } }, options));
|
563
|
+
}
|
553
564
|
describe(objectName, fieldName, options) {
|
554
565
|
const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields` + (fieldName ? `/${fieldName}` : '');
|
555
566
|
return this.httpService.api(Object.assign({ url: methodUrl }, options));
|
@@ -565,9 +576,9 @@ class SalesforceApiService {
|
|
565
576
|
return this.httpService.api(Object.assign({ method: 'post', body, url: `${this.SERVICE_URL}/apex${path}` }, options));
|
566
577
|
}
|
567
578
|
}
|
568
|
-
SalesforceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
569
|
-
SalesforceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
579
|
+
SalesforceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SalesforceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
580
|
+
SalesforceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SalesforceApiService });
|
581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SalesforceApiService, decorators: [{
|
571
582
|
type: Injectable
|
572
583
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
573
584
|
|
@@ -837,9 +848,9 @@ class DocumentTemplatesApiService {
|
|
837
848
|
return this.salesforceApiService.query(searchRequest, objectName).pipe(this.mapSfQueryResult(limit), map(value => ({ [resultObjectName]: value })));
|
838
849
|
}
|
839
850
|
}
|
840
|
-
DocumentTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
841
|
-
DocumentTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
851
|
+
DocumentTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DocumentTemplatesApiService, deps: [{ token: i1.BaseHttpService }, { token: SalesforceApiService }, { token: i1.FileDownloadService }, { token: DocumentAttachmentApiService }, { token: i4.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
852
|
+
DocumentTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DocumentTemplatesApiService });
|
853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: DocumentTemplatesApiService, decorators: [{
|
843
854
|
type: Injectable
|
844
855
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }, { type: SalesforceApiService }, { type: i1.FileDownloadService }, { type: DocumentAttachmentApiService }, { type: i4.HttpClient }]; } });
|
845
856
|
|
@@ -912,9 +923,9 @@ class EndpointsApiService {
|
|
912
923
|
});
|
913
924
|
}
|
914
925
|
}
|
915
|
-
EndpointsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
916
|
-
EndpointsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
926
|
+
EndpointsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EndpointsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
927
|
+
EndpointsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EndpointsApiService });
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: EndpointsApiService, decorators: [{
|
918
929
|
type: Injectable
|
919
930
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
920
931
|
|
@@ -932,12 +943,83 @@ class FlowsApiService {
|
|
932
943
|
.pipe(map((flow) => ((flow === null || flow === void 0 ? void 0 : flow.value) ? JSON.parse(flow.value) : [])));
|
933
944
|
}
|
934
945
|
}
|
935
|
-
FlowsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
936
|
-
FlowsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
946
|
+
FlowsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FlowsApiService, deps: [{ token: ConfigurationSettingsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
947
|
+
FlowsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FlowsApiService });
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: FlowsApiService, decorators: [{
|
938
949
|
type: Injectable
|
939
950
|
}], ctorParameters: function () { return [{ type: ConfigurationSettingsApiService }]; } });
|
940
951
|
|
952
|
+
class OffersApiService {
|
953
|
+
constructor(baseHttpService) {
|
954
|
+
this.baseHttpService = baseHttpService;
|
955
|
+
this.serviceUrl = '/admin/offers';
|
956
|
+
}
|
957
|
+
createOffer$(body) {
|
958
|
+
return this.baseHttpService.api({
|
959
|
+
url: `${this.serviceUrl}`,
|
960
|
+
method: 'post',
|
961
|
+
body,
|
962
|
+
});
|
963
|
+
}
|
964
|
+
fetchOffers$() {
|
965
|
+
return this.baseHttpService.api({
|
966
|
+
url: `${this.serviceUrl}`,
|
967
|
+
});
|
968
|
+
}
|
969
|
+
fetchOffer$(id) {
|
970
|
+
return this.baseHttpService.api({
|
971
|
+
url: `${this.serviceUrl}/${id}`,
|
972
|
+
});
|
973
|
+
}
|
974
|
+
updateOffer$(offer) {
|
975
|
+
return this.baseHttpService.api({
|
976
|
+
url: `${this.serviceUrl}/${offer.id}`,
|
977
|
+
method: 'put',
|
978
|
+
body: offer,
|
979
|
+
});
|
980
|
+
}
|
981
|
+
removeOffer$(id) {
|
982
|
+
return this.baseHttpService.api({
|
983
|
+
url: `${this.serviceUrl}/${id}`,
|
984
|
+
method: 'delete',
|
985
|
+
});
|
986
|
+
}
|
987
|
+
searchOffers$(expression, skip, count) {
|
988
|
+
let params = new HttpParams();
|
989
|
+
params = params.set('skip', '' + skip);
|
990
|
+
params = params.set('count', '' + count);
|
991
|
+
return this.baseHttpService.api({
|
992
|
+
method: 'post',
|
993
|
+
url: `${this.serviceUrl}/search`,
|
994
|
+
params,
|
995
|
+
body: expression,
|
996
|
+
});
|
997
|
+
}
|
998
|
+
fetchOfferProducts$(id) {
|
999
|
+
return this.baseHttpService
|
1000
|
+
.api({
|
1001
|
+
url: `${this.serviceUrl}/${id}/products`,
|
1002
|
+
})
|
1003
|
+
.pipe(map$1(response => response.products));
|
1004
|
+
}
|
1005
|
+
upsertOfferProducts$(id, products) {
|
1006
|
+
const request = { products };
|
1007
|
+
return this.baseHttpService
|
1008
|
+
.api({
|
1009
|
+
url: `${this.serviceUrl}/${id}/products`,
|
1010
|
+
method: 'put',
|
1011
|
+
body: request,
|
1012
|
+
})
|
1013
|
+
.pipe(map$1(response => response.products));
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
OffersApiService.MAX_RESULTS = 60;
|
1017
|
+
OffersApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: OffersApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1018
|
+
OffersApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: OffersApiService });
|
1019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: OffersApiService, decorators: [{
|
1020
|
+
type: Injectable
|
1021
|
+
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1022
|
+
|
941
1023
|
class OrgInfoApiService {
|
942
1024
|
constructor(http) {
|
943
1025
|
var _a;
|
@@ -949,9 +1031,9 @@ class OrgInfoApiService {
|
|
949
1031
|
return this.http.get(`${this.hostUrl}/org-info/${organizationId}`);
|
950
1032
|
}
|
951
1033
|
}
|
952
|
-
OrgInfoApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
953
|
-
OrgInfoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1034
|
+
OrgInfoApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: OrgInfoApiService, deps: [{ token: i4.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
1035
|
+
OrgInfoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: OrgInfoApiService });
|
1036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: OrgInfoApiService, decorators: [{
|
955
1037
|
type: Injectable
|
956
1038
|
}], ctorParameters: function () { return [{ type: i4.HttpClient }]; } });
|
957
1039
|
|
@@ -984,9 +1066,9 @@ class PicklistsApiService {
|
|
984
1066
|
};
|
985
1067
|
}
|
986
1068
|
}
|
987
|
-
PicklistsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
988
|
-
PicklistsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1069
|
+
PicklistsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PicklistsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1070
|
+
PicklistsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PicklistsApiService });
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PicklistsApiService, decorators: [{
|
990
1072
|
type: Injectable
|
991
1073
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
992
1074
|
|
@@ -1044,9 +1126,9 @@ class PriceApiService {
|
|
1044
1126
|
});
|
1045
1127
|
}
|
1046
1128
|
}
|
1047
|
-
PriceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1048
|
-
PriceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1129
|
+
PriceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PriceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1130
|
+
PriceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PriceApiService });
|
1131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PriceApiService, decorators: [{
|
1050
1132
|
type: Injectable
|
1051
1133
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1052
1134
|
|
@@ -1131,9 +1213,9 @@ class ProceduresApiService {
|
|
1131
1213
|
});
|
1132
1214
|
}
|
1133
1215
|
}
|
1134
|
-
ProceduresApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1135
|
-
ProceduresApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1216
|
+
ProceduresApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProceduresApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1217
|
+
ProceduresApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProceduresApiService });
|
1218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProceduresApiService, decorators: [{
|
1137
1219
|
type: Injectable
|
1138
1220
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1139
1221
|
|
@@ -1279,9 +1361,9 @@ class ProductApiService {
|
|
1279
1361
|
return `${this.serviceUrl}/${productId}/image`;
|
1280
1362
|
}
|
1281
1363
|
}
|
1282
|
-
ProductApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1283
|
-
ProductApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1364
|
+
ProductApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProductApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1365
|
+
ProductApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProductApiService });
|
1366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProductApiService, decorators: [{
|
1285
1367
|
type: Injectable
|
1286
1368
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1287
1369
|
|
@@ -1505,9 +1587,9 @@ class ProductModelApiService {
|
|
1505
1587
|
}
|
1506
1588
|
}
|
1507
1589
|
ProductModelApiService.MAX_RESULTS = 200;
|
1508
|
-
ProductModelApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1509
|
-
ProductModelApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1590
|
+
ProductModelApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProductModelApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1591
|
+
ProductModelApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProductModelApiService });
|
1592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ProductModelApiService, decorators: [{
|
1511
1593
|
type: Injectable
|
1512
1594
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1513
1595
|
|
@@ -1550,9 +1632,9 @@ class QuoteApiService {
|
|
1550
1632
|
});
|
1551
1633
|
}
|
1552
1634
|
}
|
1553
|
-
QuoteApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1554
|
-
QuoteApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1635
|
+
QuoteApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: QuoteApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1636
|
+
QuoteApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: QuoteApiService });
|
1637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: QuoteApiService, decorators: [{
|
1556
1638
|
type: Injectable
|
1557
1639
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1558
1640
|
|
@@ -1568,9 +1650,9 @@ class RampApiService {
|
|
1568
1650
|
return this.httpService.api(Object.assign({ method: 'post', url: `${this.SERVICE_URL}/renew`, body: request }, options));
|
1569
1651
|
}
|
1570
1652
|
}
|
1571
|
-
RampApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1572
|
-
RampApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1653
|
+
RampApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RampApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1654
|
+
RampApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RampApiService });
|
1655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RampApiService, decorators: [{
|
1574
1656
|
type: Injectable
|
1575
1657
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1576
1658
|
|
@@ -1624,9 +1706,9 @@ class RuleGroupsApiService {
|
|
1624
1706
|
};
|
1625
1707
|
}
|
1626
1708
|
}
|
1627
|
-
RuleGroupsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1628
|
-
RuleGroupsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1709
|
+
RuleGroupsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RuleGroupsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1710
|
+
RuleGroupsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RuleGroupsApiService });
|
1711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RuleGroupsApiService, decorators: [{
|
1630
1712
|
type: Injectable
|
1631
1713
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1632
1714
|
|
@@ -1692,16 +1774,17 @@ class RulesApiService {
|
|
1692
1774
|
});
|
1693
1775
|
}
|
1694
1776
|
execute$(body) {
|
1777
|
+
const url = body.rule.ruleGroupType === RuleGroupTypes.eligibility ? '/rules/eligibility/execute' : '/rules/execute';
|
1695
1778
|
return this.baseHttpService.api({
|
1696
|
-
url
|
1779
|
+
url,
|
1697
1780
|
method: 'post',
|
1698
1781
|
body,
|
1699
1782
|
});
|
1700
1783
|
}
|
1701
1784
|
}
|
1702
|
-
RulesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1703
|
-
RulesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1785
|
+
RulesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RulesApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1786
|
+
RulesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RulesApiService });
|
1787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: RulesApiService, decorators: [{
|
1705
1788
|
type: Injectable
|
1706
1789
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1707
1790
|
|
@@ -1771,9 +1854,9 @@ class ScriptsApiService {
|
|
1771
1854
|
};
|
1772
1855
|
}
|
1773
1856
|
}
|
1774
|
-
ScriptsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1775
|
-
ScriptsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1857
|
+
ScriptsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ScriptsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1858
|
+
ScriptsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ScriptsApiService });
|
1859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ScriptsApiService, decorators: [{
|
1777
1860
|
type: Injectable
|
1778
1861
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1779
1862
|
|
@@ -1783,15 +1866,20 @@ class ShoppingCartSettingsApiService {
|
|
1783
1866
|
this.shoppingCartSettingsKey = 'shopping-cart';
|
1784
1867
|
}
|
1785
1868
|
getSetting(id) {
|
1786
|
-
return this.fetchSettings().pipe(map((
|
1869
|
+
return this.fetchSettings().pipe(map((settings) => parseJsonSafely(settings === null || settings === void 0 ? void 0 : settings.value, [])), map(settings => settings.find(setting => setting.id == id)));
|
1787
1870
|
}
|
1788
1871
|
fetchSettings() {
|
1789
1872
|
return this.configurationSettingsApiService.fetchSetting(this.shoppingCartSettingsKey, { skipErrorHandler: true });
|
1790
1873
|
}
|
1874
|
+
getSettingsMap() {
|
1875
|
+
return this.fetchSettings().pipe(map((settings) => parseJsonSafely(settings === null || settings === void 0 ? void 0 : settings.value, [])), map((settings) => settings.reduce((acc, setting) => {
|
1876
|
+
return Object.assign(Object.assign({}, acc), { [setting.id]: setting.properties });
|
1877
|
+
}, {})));
|
1878
|
+
}
|
1791
1879
|
}
|
1792
|
-
ShoppingCartSettingsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1793
|
-
ShoppingCartSettingsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1880
|
+
ShoppingCartSettingsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ShoppingCartSettingsApiService, deps: [{ token: ConfigurationSettingsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1881
|
+
ShoppingCartSettingsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ShoppingCartSettingsApiService });
|
1882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ShoppingCartSettingsApiService, decorators: [{
|
1795
1883
|
type: Injectable
|
1796
1884
|
}], ctorParameters: function () { return [{ type: ConfigurationSettingsApiService }]; } });
|
1797
1885
|
|
@@ -2077,17 +2165,17 @@ class UITemplatesApiService {
|
|
2077
2165
|
});
|
2078
2166
|
}
|
2079
2167
|
}
|
2080
|
-
UITemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
2081
|
-
UITemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
2082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2168
|
+
UITemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: UITemplatesApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2169
|
+
UITemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: UITemplatesApiService });
|
2170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: UITemplatesApiService, decorators: [{
|
2083
2171
|
type: Injectable
|
2084
2172
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
2085
2173
|
|
2086
2174
|
class ApiModule {
|
2087
2175
|
}
|
2088
|
-
ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
2089
|
-
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
2090
|
-
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
2176
|
+
ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2177
|
+
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ApiModule, imports: [HttpClientModule] });
|
2178
|
+
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ApiModule, providers: [
|
2091
2179
|
BaseHttpService,
|
2092
2180
|
XrayService,
|
2093
2181
|
ConfigurationApiService,
|
@@ -2115,8 +2203,9 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.
|
|
2115
2203
|
PicklistsApiService,
|
2116
2204
|
EndpointsApiService,
|
2117
2205
|
OrgInfoApiService,
|
2206
|
+
OffersApiService,
|
2118
2207
|
], imports: [[HttpClientModule]] });
|
2119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ApiModule, decorators: [{
|
2120
2209
|
type: NgModule,
|
2121
2210
|
args: [{
|
2122
2211
|
imports: [HttpClientModule],
|
@@ -2148,6 +2237,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
2148
2237
|
PicklistsApiService,
|
2149
2238
|
EndpointsApiService,
|
2150
2239
|
OrgInfoApiService,
|
2240
|
+
OffersApiService,
|
2151
2241
|
],
|
2152
2242
|
}]
|
2153
2243
|
}] });
|
@@ -2156,5 +2246,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
|
|
2156
2246
|
* Generated bundle index. Do not edit.
|
2157
2247
|
*/
|
2158
2248
|
|
2159
|
-
export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationApiService, ConfigurationSettingsApiService, ContextApiService, DeltaApiService, DocumentAttachmentApiService, DocumentTemplatesApiService, EndpointsApiService, FlowsApiService, OrgInfoApiService, PicklistsApiService, PriceApiService, ProceduresApiService, ProductApiService, ProductModelApiService, QuoteApiService, RampApiService, RuleGroupsApiService, RulesApiService, SalesforceApiService, ScriptsApiService, ShoppingCartSettingsApiService, UITemplatesApiService };
|
2249
|
+
export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationApiService, ConfigurationSettingsApiService, ContextApiService, DeltaApiService, DocumentAttachmentApiService, DocumentTemplatesApiService, EndpointsApiService, FlowsApiService, OffersApiService, OrgInfoApiService, PicklistsApiService, PriceApiService, ProceduresApiService, ProductApiService, ProductModelApiService, QuoteApiService, RampApiService, RuleGroupsApiService, RulesApiService, SalesforceApiService, ScriptsApiService, ShoppingCartSettingsApiService, UITemplatesApiService };
|
2160
2250
|
//# sourceMappingURL=veloceapps-api.js.map
|