@veloceapps/api 6.0.0-4 → 6.0.0-41
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 +195 -88
- 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/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 +3 -3
- 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 +28 -0
- package/esm2015/lib/services/ui-templates-api.service.js +3 -3
- package/fesm2015/veloceapps-api.js +118 -82
- 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/salesforce-api.service.d.ts +5 -0
- package/lib/services/shopping-cart-settings-api.service.d.ts +14 -0
- package/package.json +1 -1
@@ -1,8 +1,8 @@
|
|
1
1
|
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common/http'), require('@angular/core'), require('@veloceapps/core'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('lodash'), require('moment')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('@veloceapps/api', ['exports', '@angular/common/http', '@angular/core', '@veloceapps/core', 'rxjs', 'rxjs/operators', '@angular/common', 'lodash', 'moment'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.veloceapps = global.veloceapps || {}, global.veloceapps.api = {}), global.ng.common.http, global.ng.core, global["@veloceapps/core"], global.rxjs, global.rxjs.operators, global.ng.common, global.lodash, global.moment));
|
5
|
-
})(this, (function (exports, i4, i0, i1, rxjs, operators, common, _, moment_) { 'use strict';
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common/http'), require('@angular/core'), require('@veloceapps/core'), require('rxjs'), require('rxjs/operators'), require('primeng/api'), require('@angular/common'), require('lodash'), require('moment')) :
|
3
|
+
typeof define === 'function' && define.amd ? define('@veloceapps/api', ['exports', '@angular/common/http', '@angular/core', '@veloceapps/core', 'rxjs', 'rxjs/operators', 'primeng/api', '@angular/common', 'lodash', 'moment'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.veloceapps = global.veloceapps || {}, global.veloceapps.api = {}), global.ng.common.http, global.ng.core, global["@veloceapps/core"], global.rxjs, global.rxjs.operators, global.i2, global.ng.common, global.lodash, global.moment));
|
5
|
+
})(this, (function (exports, i4, i0, i1, rxjs, operators, i2, common, _, moment_) { 'use strict';
|
6
6
|
|
7
7
|
function _interopNamespace(e) {
|
8
8
|
if (e && e.__esModule) return e;
|
@@ -25,6 +25,7 @@
|
|
25
25
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
26
26
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
27
27
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
28
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
28
29
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
29
30
|
var moment___namespace = /*#__PURE__*/_interopNamespace(moment_);
|
30
31
|
|
@@ -69,9 +70,9 @@
|
|
69
70
|
};
|
70
71
|
return AccountApiService;
|
71
72
|
}());
|
72
|
-
AccountApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
73
|
-
AccountApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
74
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
73
|
+
AccountApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AccountApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
74
|
+
AccountApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AccountApiService });
|
75
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AccountApiService, decorators: [{
|
75
76
|
type: i0.Injectable
|
76
77
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
77
78
|
|
@@ -224,16 +225,15 @@
|
|
224
225
|
return _this.baseHttpService.api({
|
225
226
|
method: 'delete',
|
226
227
|
url: _this.serviceUrl + "/" + catalogId + "/categories/" + categoryId + "/products/" + data.id,
|
227
|
-
body: data,
|
228
228
|
});
|
229
229
|
};
|
230
230
|
}
|
231
231
|
return CatalogAdminApiService;
|
232
232
|
}());
|
233
233
|
CatalogAdminApiService.MAX_RESULTS = 60;
|
234
|
-
CatalogAdminApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
235
|
-
CatalogAdminApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
236
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
234
|
+
CatalogAdminApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CatalogAdminApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
235
|
+
CatalogAdminApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CatalogAdminApiService });
|
236
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CatalogAdminApiService, decorators: [{
|
237
237
|
type: i0.Injectable
|
238
238
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
239
239
|
|
@@ -318,13 +318,13 @@
|
|
318
318
|
};
|
319
319
|
return CatalogApiService;
|
320
320
|
}());
|
321
|
-
CatalogApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
322
|
-
CatalogApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
323
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
321
|
+
CatalogApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CatalogApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
322
|
+
CatalogApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CatalogApiService });
|
323
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CatalogApiService, decorators: [{
|
324
324
|
type: i0.Injectable
|
325
325
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
326
326
|
|
327
|
-
|
327
|
+
/******************************************************************************
|
328
328
|
Copyright (c) Microsoft Corporation.
|
329
329
|
|
330
330
|
Permission to use, copy, modify, and/or distribute this software for any
|
@@ -391,6 +391,64 @@
|
|
391
391
|
function __param(paramIndex, decorator) {
|
392
392
|
return function (target, key) { decorator(target, key, paramIndex); };
|
393
393
|
}
|
394
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
395
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
396
|
+
throw new TypeError("Function expected"); return f; }
|
397
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
398
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
399
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
400
|
+
var _, done = false;
|
401
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
402
|
+
var context = {};
|
403
|
+
for (var p in contextIn)
|
404
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
405
|
+
for (var p in contextIn.access)
|
406
|
+
context.access[p] = contextIn.access[p];
|
407
|
+
context.addInitializer = function (f) { if (done)
|
408
|
+
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
409
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
410
|
+
if (kind === "accessor") {
|
411
|
+
if (result === void 0)
|
412
|
+
continue;
|
413
|
+
if (result === null || typeof result !== "object")
|
414
|
+
throw new TypeError("Object expected");
|
415
|
+
if (_ = accept(result.get))
|
416
|
+
descriptor.get = _;
|
417
|
+
if (_ = accept(result.set))
|
418
|
+
descriptor.set = _;
|
419
|
+
if (_ = accept(result.init))
|
420
|
+
initializers.push(_);
|
421
|
+
}
|
422
|
+
else if (_ = accept(result)) {
|
423
|
+
if (kind === "field")
|
424
|
+
initializers.push(_);
|
425
|
+
else
|
426
|
+
descriptor[key] = _;
|
427
|
+
}
|
428
|
+
}
|
429
|
+
if (target)
|
430
|
+
Object.defineProperty(target, contextIn.name, descriptor);
|
431
|
+
done = true;
|
432
|
+
}
|
433
|
+
;
|
434
|
+
function __runInitializers(thisArg, initializers, value) {
|
435
|
+
var useValue = arguments.length > 2;
|
436
|
+
for (var i = 0; i < initializers.length; i++) {
|
437
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
438
|
+
}
|
439
|
+
return useValue ? value : void 0;
|
440
|
+
}
|
441
|
+
;
|
442
|
+
function __propKey(x) {
|
443
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
444
|
+
}
|
445
|
+
;
|
446
|
+
function __setFunctionName(f, name, prefix) {
|
447
|
+
if (typeof name === "symbol")
|
448
|
+
name = name.description ? "[".concat(name.description, "]") : "";
|
449
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
450
|
+
}
|
451
|
+
;
|
394
452
|
function __metadata(metadataKey, metadataValue) {
|
395
453
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
396
454
|
return Reflect.metadata(metadataKey, metadataValue);
|
@@ -422,7 +480,7 @@
|
|
422
480
|
function step(op) {
|
423
481
|
if (f)
|
424
482
|
throw new TypeError("Generator is already executing.");
|
425
|
-
while (_)
|
483
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
426
484
|
try {
|
427
485
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
428
486
|
return t;
|
@@ -486,7 +544,11 @@
|
|
486
544
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
487
545
|
if (k2 === undefined)
|
488
546
|
k2 = k;
|
489
|
-
Object.
|
547
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
548
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
549
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
550
|
+
}
|
551
|
+
Object.defineProperty(o, k2, desc);
|
490
552
|
}) : (function (o, m, k, k2) {
|
491
553
|
if (k2 === undefined)
|
492
554
|
k2 = k;
|
@@ -586,7 +648,7 @@
|
|
586
648
|
function __asyncDelegator(o) {
|
587
649
|
var i, p;
|
588
650
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
589
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
651
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
590
652
|
}
|
591
653
|
function __asyncValues(o) {
|
592
654
|
if (!Symbol.asyncIterator)
|
@@ -641,6 +703,11 @@
|
|
641
703
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
642
704
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
643
705
|
}
|
706
|
+
function __classPrivateFieldIn(state, receiver) {
|
707
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
708
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
709
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
710
|
+
}
|
644
711
|
|
645
712
|
var ConfigurationApiService = /** @class */ (function () {
|
646
713
|
function ConfigurationApiService(httpService) {
|
@@ -717,9 +784,9 @@
|
|
717
784
|
};
|
718
785
|
return ConfigurationApiService;
|
719
786
|
}());
|
720
|
-
ConfigurationApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
721
|
-
ConfigurationApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
722
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
787
|
+
ConfigurationApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ConfigurationApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
788
|
+
ConfigurationApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ConfigurationApiService });
|
789
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ConfigurationApiService, decorators: [{
|
723
790
|
type: i0.Injectable
|
724
791
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
725
792
|
|
@@ -747,8 +814,9 @@
|
|
747
814
|
}());
|
748
815
|
|
749
816
|
var ConfigurationSettingsApiService = /** @class */ (function () {
|
750
|
-
function ConfigurationSettingsApiService(httpService) {
|
817
|
+
function ConfigurationSettingsApiService(httpService, messageService) {
|
751
818
|
this.httpService = httpService;
|
819
|
+
this.messageService = messageService;
|
752
820
|
this.SERVICE_URL = '/configuration-settings';
|
753
821
|
}
|
754
822
|
ConfigurationSettingsApiService.prototype.fetchSettings = function (options) {
|
@@ -757,10 +825,18 @@
|
|
757
825
|
.pipe(operators.map(function (settings) { return settings.map(function (setting) { return ConfigurationSettingsDTO.fromDTO(setting); }); }));
|
758
826
|
};
|
759
827
|
ConfigurationSettingsApiService.prototype.fetchSetting = function (settingsKey, options) {
|
828
|
+
var _this = this;
|
760
829
|
return this.httpService
|
761
|
-
.api(Object.assign({ url: this.SERVICE_URL + "/byKey/" + settingsKey, method: 'get' }, options))
|
830
|
+
.api(Object.assign(Object.assign({ url: this.SERVICE_URL + "/byKey/" + settingsKey, method: 'get' }, options), { skipErrorHandler: true }))
|
762
831
|
.pipe(operators.map(function (setting) { return ConfigurationSettingsDTO.fromDTO(setting, settingsKey); }), operators.catchError(function (err) {
|
763
832
|
if (err instanceof i4.HttpErrorResponse && err.status === 404) {
|
833
|
+
if (!(options === null || options === void 0 ? void 0 : options.skipErrorHandler)) {
|
834
|
+
_this.messageService.add({
|
835
|
+
severity: 'error',
|
836
|
+
summary: "Configuration Setting \"" + settingsKey + "\" is not found",
|
837
|
+
sticky: true,
|
838
|
+
});
|
839
|
+
}
|
764
840
|
return rxjs.of(null);
|
765
841
|
}
|
766
842
|
throw err;
|
@@ -786,11 +862,11 @@
|
|
786
862
|
};
|
787
863
|
return ConfigurationSettingsApiService;
|
788
864
|
}());
|
789
|
-
ConfigurationSettingsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
790
|
-
ConfigurationSettingsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
791
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
865
|
+
ConfigurationSettingsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ConfigurationSettingsApiService, deps: [{ token: i1__namespace.BaseHttpService }, { token: i2__namespace.MessageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
866
|
+
ConfigurationSettingsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ConfigurationSettingsApiService });
|
867
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ConfigurationSettingsApiService, decorators: [{
|
792
868
|
type: i0.Injectable
|
793
|
-
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
869
|
+
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }, { type: i2__namespace.MessageService }]; } });
|
794
870
|
|
795
871
|
var ContextApiService = /** @class */ (function () {
|
796
872
|
function ContextApiService(httpService) {
|
@@ -809,9 +885,9 @@
|
|
809
885
|
};
|
810
886
|
return ContextApiService;
|
811
887
|
}());
|
812
|
-
ContextApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
813
|
-
ContextApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
814
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
888
|
+
ContextApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ContextApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
889
|
+
ContextApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ContextApiService });
|
890
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ContextApiService, decorators: [{
|
815
891
|
type: i0.Injectable
|
816
892
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
817
893
|
|
@@ -830,9 +906,9 @@
|
|
830
906
|
};
|
831
907
|
return DeltaApiService;
|
832
908
|
}());
|
833
|
-
DeltaApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
834
|
-
DeltaApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
835
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
909
|
+
DeltaApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DeltaApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
910
|
+
DeltaApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DeltaApiService });
|
911
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DeltaApiService, decorators: [{
|
836
912
|
type: i0.Injectable
|
837
913
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
838
914
|
|
@@ -894,9 +970,9 @@
|
|
894
970
|
};
|
895
971
|
return DocumentAttachmentApiService;
|
896
972
|
}());
|
897
|
-
DocumentAttachmentApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
898
|
-
DocumentAttachmentApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
899
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
973
|
+
DocumentAttachmentApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DocumentAttachmentApiService, deps: [{ token: i1__namespace.BaseHttpService }, { token: i1__namespace.FileDownloadService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
974
|
+
DocumentAttachmentApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DocumentAttachmentApiService });
|
975
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DocumentAttachmentApiService, decorators: [{
|
900
976
|
type: i0.Injectable
|
901
977
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }, { type: i1__namespace.FileDownloadService }]; } });
|
902
978
|
|
@@ -915,6 +991,9 @@
|
|
915
991
|
}
|
916
992
|
return this.httpService.api(Object.assign({ url: this.SERVICE_URL + "/query", params: params }, options));
|
917
993
|
};
|
994
|
+
SalesforceApiService.prototype.search = function (req, options) {
|
995
|
+
return this.httpService.api(Object.assign({ url: this.SERVICE_URL + "/rest/search", params: { q: req.searchString } }, options));
|
996
|
+
};
|
918
997
|
SalesforceApiService.prototype.describe = function (objectName, fieldName, options) {
|
919
998
|
var methodUrl = this.SERVICE_URL + "/describe/" + objectName + "/fields" + (fieldName ? "/" + fieldName : '');
|
920
999
|
return this.httpService.api(Object.assign({ url: methodUrl }, options));
|
@@ -931,9 +1010,9 @@
|
|
931
1010
|
};
|
932
1011
|
return SalesforceApiService;
|
933
1012
|
}());
|
934
|
-
SalesforceApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
935
|
-
SalesforceApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
936
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1013
|
+
SalesforceApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SalesforceApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1014
|
+
SalesforceApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SalesforceApiService });
|
1015
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SalesforceApiService, decorators: [{
|
937
1016
|
type: i0.Injectable
|
938
1017
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
939
1018
|
|
@@ -1234,9 +1313,9 @@
|
|
1234
1313
|
};
|
1235
1314
|
return DocumentTemplatesApiService;
|
1236
1315
|
}());
|
1237
|
-
DocumentTemplatesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1238
|
-
DocumentTemplatesApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1239
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1316
|
+
DocumentTemplatesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
|
1317
|
+
DocumentTemplatesApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DocumentTemplatesApiService });
|
1318
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DocumentTemplatesApiService, decorators: [{
|
1240
1319
|
type: i0.Injectable
|
1241
1320
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }, { type: SalesforceApiService }, { type: i1__namespace.FileDownloadService }, { type: DocumentAttachmentApiService }, { type: i4__namespace.HttpClient }]; } });
|
1242
1321
|
|
@@ -1310,9 +1389,9 @@
|
|
1310
1389
|
};
|
1311
1390
|
return EndpointsApiService;
|
1312
1391
|
}());
|
1313
|
-
EndpointsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1314
|
-
EndpointsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1315
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1392
|
+
EndpointsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: EndpointsApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1393
|
+
EndpointsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: EndpointsApiService });
|
1394
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: EndpointsApiService, decorators: [{
|
1316
1395
|
type: i0.Injectable
|
1317
1396
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1318
1397
|
|
@@ -1331,9 +1410,9 @@
|
|
1331
1410
|
};
|
1332
1411
|
return FlowsApiService;
|
1333
1412
|
}());
|
1334
|
-
FlowsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1335
|
-
FlowsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1336
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1413
|
+
FlowsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FlowsApiService, deps: [{ token: ConfigurationSettingsApiService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1414
|
+
FlowsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FlowsApiService });
|
1415
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FlowsApiService, decorators: [{
|
1337
1416
|
type: i0.Injectable
|
1338
1417
|
}], ctorParameters: function () { return [{ type: ConfigurationSettingsApiService }]; } });
|
1339
1418
|
|
@@ -1349,9 +1428,9 @@
|
|
1349
1428
|
};
|
1350
1429
|
return OrgInfoApiService;
|
1351
1430
|
}());
|
1352
|
-
OrgInfoApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1353
|
-
OrgInfoApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1354
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1431
|
+
OrgInfoApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OrgInfoApiService, deps: [{ token: i4__namespace.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1432
|
+
OrgInfoApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OrgInfoApiService });
|
1433
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OrgInfoApiService, decorators: [{
|
1355
1434
|
type: i0.Injectable
|
1356
1435
|
}], ctorParameters: function () { return [{ type: i4__namespace.HttpClient }]; } });
|
1357
1436
|
|
@@ -1386,9 +1465,9 @@
|
|
1386
1465
|
}
|
1387
1466
|
return PicklistsApiService;
|
1388
1467
|
}());
|
1389
|
-
PicklistsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1390
|
-
PicklistsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1391
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1468
|
+
PicklistsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PicklistsApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1469
|
+
PicklistsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PicklistsApiService });
|
1470
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PicklistsApiService, decorators: [{
|
1392
1471
|
type: i0.Injectable
|
1393
1472
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1394
1473
|
|
@@ -1447,9 +1526,9 @@
|
|
1447
1526
|
};
|
1448
1527
|
return PriceApiService;
|
1449
1528
|
}());
|
1450
|
-
PriceApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1451
|
-
PriceApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1452
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1529
|
+
PriceApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PriceApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1530
|
+
PriceApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PriceApiService });
|
1531
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PriceApiService, decorators: [{
|
1453
1532
|
type: i0.Injectable
|
1454
1533
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1455
1534
|
|
@@ -1536,9 +1615,9 @@
|
|
1536
1615
|
};
|
1537
1616
|
return ProceduresApiService;
|
1538
1617
|
}());
|
1539
|
-
ProceduresApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1540
|
-
ProceduresApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1541
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1618
|
+
ProceduresApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProceduresApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1619
|
+
ProceduresApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProceduresApiService });
|
1620
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProceduresApiService, decorators: [{
|
1542
1621
|
type: i0.Injectable
|
1543
1622
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1544
1623
|
|
@@ -1686,9 +1765,9 @@
|
|
1686
1765
|
};
|
1687
1766
|
return ProductApiService;
|
1688
1767
|
}());
|
1689
|
-
ProductApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1690
|
-
ProductApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1691
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1768
|
+
ProductApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProductApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1769
|
+
ProductApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProductApiService });
|
1770
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProductApiService, decorators: [{
|
1692
1771
|
type: i0.Injectable
|
1693
1772
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1694
1773
|
|
@@ -1916,9 +1995,9 @@
|
|
1916
1995
|
return ProductModelApiService;
|
1917
1996
|
}());
|
1918
1997
|
ProductModelApiService.MAX_RESULTS = 200;
|
1919
|
-
ProductModelApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1920
|
-
ProductModelApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1921
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
1998
|
+
ProductModelApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProductModelApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
1999
|
+
ProductModelApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProductModelApiService });
|
2000
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ProductModelApiService, decorators: [{
|
1922
2001
|
type: i0.Injectable
|
1923
2002
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1924
2003
|
|
@@ -1962,9 +2041,9 @@
|
|
1962
2041
|
};
|
1963
2042
|
return QuoteApiService;
|
1964
2043
|
}());
|
1965
|
-
QuoteApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1966
|
-
QuoteApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1967
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2044
|
+
QuoteApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuoteApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
2045
|
+
QuoteApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuoteApiService });
|
2046
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuoteApiService, decorators: [{
|
1968
2047
|
type: i0.Injectable
|
1969
2048
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1970
2049
|
|
@@ -1981,9 +2060,9 @@
|
|
1981
2060
|
};
|
1982
2061
|
return RampApiService;
|
1983
2062
|
}());
|
1984
|
-
RampApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
1985
|
-
RampApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
1986
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2063
|
+
RampApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RampApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
2064
|
+
RampApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RampApiService });
|
2065
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RampApiService, decorators: [{
|
1987
2066
|
type: i0.Injectable
|
1988
2067
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
1989
2068
|
|
@@ -2039,9 +2118,9 @@
|
|
2039
2118
|
}
|
2040
2119
|
return RuleGroupsApiService;
|
2041
2120
|
}());
|
2042
|
-
RuleGroupsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
2043
|
-
RuleGroupsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
2044
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2121
|
+
RuleGroupsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RuleGroupsApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
2122
|
+
RuleGroupsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RuleGroupsApiService });
|
2123
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RuleGroupsApiService, decorators: [{
|
2045
2124
|
type: i0.Injectable
|
2046
2125
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
2047
2126
|
|
@@ -2116,9 +2195,9 @@
|
|
2116
2195
|
};
|
2117
2196
|
return RulesApiService;
|
2118
2197
|
}());
|
2119
|
-
RulesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
2120
|
-
RulesApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
2121
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2198
|
+
RulesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RulesApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
2199
|
+
RulesApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RulesApiService });
|
2200
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RulesApiService, decorators: [{
|
2122
2201
|
type: i0.Injectable
|
2123
2202
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
2124
2203
|
|
@@ -2190,12 +2269,37 @@
|
|
2190
2269
|
}
|
2191
2270
|
return ScriptsApiService;
|
2192
2271
|
}());
|
2193
|
-
ScriptsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
2194
|
-
ScriptsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
2195
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2272
|
+
ScriptsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ScriptsApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
2273
|
+
ScriptsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ScriptsApiService });
|
2274
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ScriptsApiService, decorators: [{
|
2196
2275
|
type: i0.Injectable
|
2197
2276
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
2198
2277
|
|
2278
|
+
var ShoppingCartSettingsApiService = /** @class */ (function () {
|
2279
|
+
function ShoppingCartSettingsApiService(configurationSettingsApiService) {
|
2280
|
+
this.configurationSettingsApiService = configurationSettingsApiService;
|
2281
|
+
this.shoppingCartSettingsKey = 'shopping-cart';
|
2282
|
+
}
|
2283
|
+
ShoppingCartSettingsApiService.prototype.getSetting = function (id) {
|
2284
|
+
return this.fetchSettings().pipe(operators.map(function (settings) { return i1.parseJsonSafely(settings === null || settings === void 0 ? void 0 : settings.value, []); }), operators.map(function (settings) { return settings.find(function (setting) { return setting.id == id; }); }));
|
2285
|
+
};
|
2286
|
+
ShoppingCartSettingsApiService.prototype.fetchSettings = function () {
|
2287
|
+
return this.configurationSettingsApiService.fetchSetting(this.shoppingCartSettingsKey, { skipErrorHandler: true });
|
2288
|
+
};
|
2289
|
+
ShoppingCartSettingsApiService.prototype.getSettingsMap = function () {
|
2290
|
+
return this.fetchSettings().pipe(operators.map(function (settings) { return i1.parseJsonSafely(settings === null || settings === void 0 ? void 0 : settings.value, []); }), operators.map(function (settings) { return settings.reduce(function (acc, setting) {
|
2291
|
+
var _a;
|
2292
|
+
return Object.assign(Object.assign({}, acc), (_a = {}, _a[setting.id] = setting.properties, _a));
|
2293
|
+
}, {}); }));
|
2294
|
+
};
|
2295
|
+
return ShoppingCartSettingsApiService;
|
2296
|
+
}());
|
2297
|
+
ShoppingCartSettingsApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ShoppingCartSettingsApiService, deps: [{ token: ConfigurationSettingsApiService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
2298
|
+
ShoppingCartSettingsApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ShoppingCartSettingsApiService });
|
2299
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ShoppingCartSettingsApiService, decorators: [{
|
2300
|
+
type: i0.Injectable
|
2301
|
+
}], ctorParameters: function () { return [{ type: ConfigurationSettingsApiService }]; } });
|
2302
|
+
|
2199
2303
|
var fromUIComponentStoryDTO = function (dto, attachments) {
|
2200
2304
|
return {
|
2201
2305
|
id: dto.id,
|
@@ -2486,9 +2590,9 @@
|
|
2486
2590
|
};
|
2487
2591
|
return UITemplatesApiService;
|
2488
2592
|
}());
|
2489
|
-
UITemplatesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
2490
|
-
UITemplatesApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
2491
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2593
|
+
UITemplatesApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UITemplatesApiService, deps: [{ token: i1__namespace.BaseHttpService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
2594
|
+
UITemplatesApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UITemplatesApiService });
|
2595
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UITemplatesApiService, decorators: [{
|
2492
2596
|
type: i0.Injectable
|
2493
2597
|
}], ctorParameters: function () { return [{ type: i1__namespace.BaseHttpService }]; } });
|
2494
2598
|
|
@@ -2497,9 +2601,9 @@
|
|
2497
2601
|
}
|
2498
2602
|
return ApiModule;
|
2499
2603
|
}());
|
2500
|
-
ApiModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
2501
|
-
ApiModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
2502
|
-
ApiModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
2604
|
+
ApiModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ApiModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
2605
|
+
ApiModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ApiModule, imports: [i4.HttpClientModule] });
|
2606
|
+
ApiModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ApiModule, providers: [
|
2503
2607
|
i1.BaseHttpService,
|
2504
2608
|
i1.XrayService,
|
2505
2609
|
ConfigurationApiService,
|
@@ -2518,6 +2622,7 @@
|
|
2518
2622
|
RulesApiService,
|
2519
2623
|
RuleGroupsApiService,
|
2520
2624
|
FlowsApiService,
|
2625
|
+
ShoppingCartSettingsApiService,
|
2521
2626
|
ProductApiService,
|
2522
2627
|
CatalogAdminApiService,
|
2523
2628
|
CatalogApiService,
|
@@ -2527,7 +2632,7 @@
|
|
2527
2632
|
EndpointsApiService,
|
2528
2633
|
OrgInfoApiService,
|
2529
2634
|
], imports: [[i4.HttpClientModule]] });
|
2530
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
2635
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ApiModule, decorators: [{
|
2531
2636
|
type: i0.NgModule,
|
2532
2637
|
args: [{
|
2533
2638
|
imports: [i4.HttpClientModule],
|
@@ -2550,6 +2655,7 @@
|
|
2550
2655
|
RulesApiService,
|
2551
2656
|
RuleGroupsApiService,
|
2552
2657
|
FlowsApiService,
|
2658
|
+
ShoppingCartSettingsApiService,
|
2553
2659
|
ProductApiService,
|
2554
2660
|
CatalogAdminApiService,
|
2555
2661
|
CatalogApiService,
|
@@ -2590,6 +2696,7 @@
|
|
2590
2696
|
exports.RulesApiService = RulesApiService;
|
2591
2697
|
exports.SalesforceApiService = SalesforceApiService;
|
2592
2698
|
exports.ScriptsApiService = ScriptsApiService;
|
2699
|
+
exports.ShoppingCartSettingsApiService = ShoppingCartSettingsApiService;
|
2593
2700
|
exports.UITemplatesApiService = UITemplatesApiService;
|
2594
2701
|
|
2595
2702
|
Object.defineProperty(exports, '__esModule', { value: true });
|