@bringg/dashboard-sdk 4.0.7-pre.5 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/BringgDashboardSDK.d.ts +0 -4
  2. package/dist/BringgDashboardSDK.js +0 -4
  3. package/dist/BringgDashboardSDK.js.map +1 -1
  4. package/dist/MerchantConfiguration/MerchantConfiguration.consts.js +2 -1
  5. package/dist/MerchantConfiguration/MerchantConfiguration.consts.js.map +1 -1
  6. package/dist/Services/ServiceRequest.js +1 -1
  7. package/dist/bringg-dashboard-sdk-cjs2.js +643 -925
  8. package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
  9. package/dist/bringg-dashboard-sdk.js +3 -55
  10. package/dist/bringg-dashboard-sdk.min.js +5 -5
  11. package/dist/bringg-dashboard-sdk.min.js.map +1 -1
  12. package/package.json +2 -2
  13. package/dist/CustomFilter/CustomFilter.consts.d.ts +0 -9
  14. package/dist/CustomFilter/CustomFilter.consts.js +0 -3
  15. package/dist/CustomFilter/CustomFilter.consts.js.map +0 -1
  16. package/dist/CustomFilter/CustomFilterApi.d.ts +0 -13
  17. package/dist/CustomFilter/CustomFilterApi.js +0 -75
  18. package/dist/CustomFilter/CustomFilterApi.js.map +0 -1
  19. package/dist/CustomFilter/Entity/CustomFilterEntity.d.ts +0 -6
  20. package/dist/CustomFilter/Entity/CustomFilterEntity.js +0 -32
  21. package/dist/CustomFilter/Entity/CustomFilterEntity.js.map +0 -1
  22. package/dist/OptimizationConfiguration/OptimizationConfiguration.d.ts +0 -12
  23. package/dist/OptimizationConfiguration/OptimizationConfiguration.js +0 -29
  24. package/dist/OptimizationConfiguration/OptimizationConfiguration.js.map +0 -1
  25. package/dist/OptimizationConfiguration/Service/OptimizationConfigurations.service.d.ts +0 -12
  26. package/dist/OptimizationConfiguration/Service/OptimizationConfigurations.service.js +0 -119
  27. package/dist/OptimizationConfiguration/Service/OptimizationConfigurations.service.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bringg/dashboard-sdk",
3
- "version": "4.0.7-pre.5",
3
+ "version": "4.0.7",
4
4
  "description": "Bringg dashboard SDK",
5
5
  "main": "dist/bringg-dashboard-sdk.js",
6
6
  "typings": "dist/index.d.ts",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "@bringg/prettier-config": "^1.1.0",
59
- "@bringg/types": "^4.36.17",
59
+ "@bringg/types": "^4.36.13",
60
60
  "@bringg/user-analytics": "3.3.0",
61
61
  "@faker-js/faker": "^6.0.0-beta.0",
62
62
  "@types/jest": "^24.0.13",
@@ -1,9 +0,0 @@
1
- import { CustomFilter } from '@bringg/types';
2
- export type CustomFilterGetAllResponse = {
3
- success: boolean;
4
- custom_filters: CustomFilter[];
5
- };
6
- export type CustomFilterResponse = {
7
- success: boolean;
8
- custom_filter: CustomFilter;
9
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CustomFilter.consts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomFilter.consts.js","sourceRoot":"","sources":["../../src/CustomFilter/CustomFilter.consts.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- import Session from '../Services/Identity/Session';
2
- import { CustomFilterGetAllResponse, CustomFilterResponse } from './CustomFilter.consts';
3
- import { CustomFilter } from '@bringg/types';
4
- import { BasicResponse } from '../Core/Responses';
5
- declare class CustomFilterApi {
6
- private customFilterEntity;
7
- constructor(session: Session);
8
- getAll(): Promise<CustomFilterGetAllResponse>;
9
- create(request: CustomFilter): Promise<CustomFilterResponse>;
10
- update(id: number, request: CustomFilter): Promise<CustomFilterResponse>;
11
- delete(id: number): Promise<BasicResponse>;
12
- }
13
- export default CustomFilterApi;
@@ -1,75 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
- 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) return t;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
32
- }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
- }
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- var CustomFilterEntity_1 = require("./Entity/CustomFilterEntity");
40
- var CustomFilterApi = /** @class */ (function () {
41
- function CustomFilterApi(session) {
42
- this.customFilterEntity = new CustomFilterEntity_1.default(session);
43
- }
44
- CustomFilterApi.prototype.getAll = function () {
45
- return __awaiter(this, void 0, void 0, function () {
46
- return __generator(this, function (_a) {
47
- return [2 /*return*/, this.customFilterEntity.service.getAll()];
48
- });
49
- });
50
- };
51
- CustomFilterApi.prototype.create = function (request) {
52
- return __awaiter(this, void 0, void 0, function () {
53
- return __generator(this, function (_a) {
54
- return [2 /*return*/, this.customFilterEntity.service.create(request)];
55
- });
56
- });
57
- };
58
- CustomFilterApi.prototype.update = function (id, request) {
59
- return __awaiter(this, void 0, void 0, function () {
60
- return __generator(this, function (_a) {
61
- return [2 /*return*/, this.customFilterEntity.service.update(id, request)];
62
- });
63
- });
64
- };
65
- CustomFilterApi.prototype.delete = function (id) {
66
- return __awaiter(this, void 0, void 0, function () {
67
- return __generator(this, function (_a) {
68
- return [2 /*return*/, this.customFilterEntity.service.delete(id)];
69
- });
70
- });
71
- };
72
- return CustomFilterApi;
73
- }());
74
- exports.default = CustomFilterApi;
75
- //# sourceMappingURL=CustomFilterApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomFilterApi.js","sourceRoot":"","sources":["../../src/CustomFilter/CustomFilterApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kEAA6D;AAK7D;IAGC,yBAAY,OAAgB;QAC3B,IAAI,CAAC,kBAAkB,GAAG,IAAI,4BAAkB,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;IAEY,gCAAM,GAAnB;;;gBACC,sBAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,EAAE,EAAC;;;KAChD;IAEY,gCAAM,GAAnB,UAAoB,OAAqB;;;gBACxC,sBAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAC;;;KACvD;IAEY,gCAAM,GAAnB,UAAoB,EAAU,EAAE,OAAqB;;;gBACpD,sBAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,EAAC;;;KAC3D;IAEY,gCAAM,GAAnB,UAAoB,EAAU;;;gBAC7B,sBAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,EAAC;;;KAClD;IACF,sBAAC;AAAD,CAAC,AAtBD,IAsBC;AAED,kBAAe,eAAe,CAAC"}
@@ -1,6 +0,0 @@
1
- import Session from '../../Services/Identity/Session';
2
- import Entity from '../../Core/Entity';
3
- import { CustomFilter } from '@bringg/types';
4
- export default class CustomFilterEntity extends Entity<CustomFilter> {
5
- constructor(session: Session);
6
- }
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- var Entity_1 = require("../../Core/Entity");
19
- var CustomFilterEntity = /** @class */ (function (_super) {
20
- __extends(CustomFilterEntity, _super);
21
- function CustomFilterEntity(session) {
22
- return _super.call(this, {
23
- session: session,
24
- entityName: 'custom_filters',
25
- routePrefix: 'merchant',
26
- routes: [Entity_1.BaseRoutes.GetAll, Entity_1.BaseRoutes.Create, Entity_1.BaseRoutes.Update, Entity_1.BaseRoutes.Delete]
27
- }) || this;
28
- }
29
- return CustomFilterEntity;
30
- }(Entity_1.default));
31
- exports.default = CustomFilterEntity;
32
- //# sourceMappingURL=CustomFilterEntity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomFilterEntity.js","sourceRoot":"","sources":["../../../src/CustomFilter/Entity/CustomFilterEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,4CAAuD;AAGvD;IAAgD,sCAAoB;IACnE,4BAAY,OAAgB;eAC3B,kBAAM;YACL,OAAO,SAAA;YACP,UAAU,EAAE,gBAAgB;YAC5B,WAAW,EAAE,UAAU;YACvB,MAAM,EAAE,CAAC,mBAAU,CAAC,MAAM,EAAE,mBAAU,CAAC,MAAM,EAAE,mBAAU,CAAC,MAAM,EAAE,mBAAU,CAAC,MAAM,CAAC;SACpF,CAAC;IACH,CAAC;IACF,yBAAC;AAAD,CAAC,AATD,CAAgD,gBAAM,GASrD"}
@@ -1,12 +0,0 @@
1
- import { OptimizationItem } from '@bringg/types';
2
- import Session from '../Services/Identity/Session';
3
- export default class OptimizationConfiguration {
4
- private optimizationConfigurationService;
5
- constructor(session: Session);
6
- create(configuration: OptimizationItem): Promise<OptimizationItem>;
7
- list(): Promise<OptimizationItem[]>;
8
- getById(id: number): Promise<OptimizationItem>;
9
- update(id: number, configuration: Partial<OptimizationItem>): Promise<OptimizationItem>;
10
- delete(id: number): Promise<void>;
11
- getConfigurationAttributes(): Promise<Record<string, unknown>>;
12
- }
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var OptimizationConfigurations_service_1 = require("./Service/OptimizationConfigurations.service");
4
- var OptimizationConfiguration = /** @class */ (function () {
5
- function OptimizationConfiguration(session) {
6
- this.optimizationConfigurationService = new OptimizationConfigurations_service_1.default(session);
7
- }
8
- OptimizationConfiguration.prototype.create = function (configuration) {
9
- return this.optimizationConfigurationService.create(configuration);
10
- };
11
- OptimizationConfiguration.prototype.list = function () {
12
- return this.optimizationConfigurationService.list();
13
- };
14
- OptimizationConfiguration.prototype.getById = function (id) {
15
- return this.optimizationConfigurationService.getById(id);
16
- };
17
- OptimizationConfiguration.prototype.update = function (id, configuration) {
18
- return this.optimizationConfigurationService.update(id, configuration);
19
- };
20
- OptimizationConfiguration.prototype.delete = function (id) {
21
- return this.optimizationConfigurationService.delete(id);
22
- };
23
- OptimizationConfiguration.prototype.getConfigurationAttributes = function () {
24
- return this.optimizationConfigurationService.getConfigurationAttributes();
25
- };
26
- return OptimizationConfiguration;
27
- }());
28
- exports.default = OptimizationConfiguration;
29
- //# sourceMappingURL=OptimizationConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OptimizationConfiguration.js","sourceRoot":"","sources":["../../src/OptimizationConfiguration/OptimizationConfiguration.ts"],"names":[],"mappings":";;AAEA,mGAA4F;AAE5F;IAGC,mCAAY,OAAgB;QAC3B,IAAI,CAAC,gCAAgC,GAAG,IAAI,4CAAgC,CAAC,OAAO,CAAC,CAAC;IACvF,CAAC;IAED,0CAAM,GAAN,UAAO,aAA+B;QACrC,OAAO,IAAI,CAAC,gCAAgC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACpE,CAAC;IAED,wCAAI,GAAJ;QACC,OAAO,IAAI,CAAC,gCAAgC,CAAC,IAAI,EAAE,CAAC;IACrD,CAAC;IAED,2CAAO,GAAP,UAAQ,EAAU;QACjB,OAAO,IAAI,CAAC,gCAAgC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED,0CAAM,GAAN,UAAO,EAAU,EAAE,aAAwC;QAC1D,OAAO,IAAI,CAAC,gCAAgC,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;IACxE,CAAC;IAED,0CAAM,GAAN,UAAO,EAAU;QAChB,OAAO,IAAI,CAAC,gCAAgC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACzD,CAAC;IAED,8DAA0B,GAA1B;QACC,OAAO,IAAI,CAAC,gCAAgC,CAAC,0BAA0B,EAAE,CAAC;IAC3E,CAAC;IACF,gCAAC;AAAD,CAAC,AA9BD,IA8BC"}
@@ -1,12 +0,0 @@
1
- import { OptimizationItem } from '@bringg/types';
2
- import Session from '../../Services/Identity/Session';
3
- import BaseService from '../../Core/BaseService';
4
- export default class OptimizationConfigurationsEntity extends BaseService<OptimizationConfigurationsEntity> {
5
- constructor(session: Session);
6
- create(configuration: OptimizationItem): Promise<unknown>;
7
- list(): Promise<OptimizationItem[]>;
8
- getById(id: number): Promise<OptimizationItem>;
9
- update(id: number, configuration: Partial<OptimizationItem>): Promise<OptimizationItem>;
10
- delete(id: number): Promise<void>;
11
- getConfigurationAttributes(): Promise<unknown>;
12
- }
@@ -1,119 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
18
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
19
- return new (P || (P = Promise))(function (resolve, reject) {
20
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
21
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
22
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
23
- step((generator = generator.apply(thisArg, _arguments || [])).next());
24
- });
25
- };
26
- var __generator = (this && this.__generator) || function (thisArg, body) {
27
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
28
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
29
- function verb(n) { return function (v) { return step([n, v]); }; }
30
- function step(op) {
31
- if (f) throw new TypeError("Generator is already executing.");
32
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
- 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) return t;
34
- if (y = 0, t) op = [op[0] & 2, t.value];
35
- switch (op[0]) {
36
- case 0: case 1: t = op; break;
37
- case 4: _.label++; return { value: op[1], done: false };
38
- case 5: _.label++; y = op[1]; op = [0]; continue;
39
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
40
- default:
41
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
42
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
43
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
44
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
45
- if (t[2]) _.ops.pop();
46
- _.trys.pop(); continue;
47
- }
48
- op = body.call(thisArg, _);
49
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
50
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
51
- }
52
- };
53
- Object.defineProperty(exports, "__esModule", { value: true });
54
- var BaseService_1 = require("../../Core/BaseService");
55
- var SERVICE_NAME = 'settings-service';
56
- var Routes = {
57
- CREATE: "/".concat(SERVICE_NAME, "/optimization_configurations"),
58
- LIST: "/".concat(SERVICE_NAME, "/optimization_configurations"),
59
- GET_BY_ID: "/".concat(SERVICE_NAME, "/optimization_configurations/{:id}"),
60
- UPDATE: "/".concat(SERVICE_NAME, "/optimization_configurations/{:id}"),
61
- DELETE: "/".concat(SERVICE_NAME, "/optimization_configurations/{:id}"),
62
- GET_CONFIGURATION_ATTRIBUTES: "/".concat(SERVICE_NAME, "/merchant_configurations/optimization_configurations_attributes")
63
- };
64
- var OptimizationConfigurationsEntity = /** @class */ (function (_super) {
65
- __extends(OptimizationConfigurationsEntity, _super);
66
- function OptimizationConfigurationsEntity(session) {
67
- return _super.call(this, session, 'optimization_configurations') || this;
68
- }
69
- OptimizationConfigurationsEntity.prototype.create = function (configuration) {
70
- return __awaiter(this, void 0, void 0, function () {
71
- return __generator(this, function (_a) {
72
- return [2 /*return*/, this.routeGenerator.post(Routes.CREATE).withPayload(configuration).invoke()];
73
- });
74
- });
75
- };
76
- OptimizationConfigurationsEntity.prototype.list = function () {
77
- return __awaiter(this, void 0, void 0, function () {
78
- return __generator(this, function (_a) {
79
- return [2 /*return*/, this.routeGenerator.get(Routes.LIST).invoke()];
80
- });
81
- });
82
- };
83
- OptimizationConfigurationsEntity.prototype.getById = function (id) {
84
- return __awaiter(this, void 0, void 0, function () {
85
- return __generator(this, function (_a) {
86
- return [2 /*return*/, this.routeGenerator.get(Routes.GET_BY_ID).withRouteParams({ id: id }).invoke()];
87
- });
88
- });
89
- };
90
- OptimizationConfigurationsEntity.prototype.update = function (id, configuration) {
91
- return __awaiter(this, void 0, void 0, function () {
92
- return __generator(this, function (_a) {
93
- return [2 /*return*/, this.routeGenerator.patch(Routes.UPDATE).withRouteParams({ id: id }).withPayload(configuration).invoke()];
94
- });
95
- });
96
- };
97
- OptimizationConfigurationsEntity.prototype.delete = function (id) {
98
- return __awaiter(this, void 0, void 0, function () {
99
- return __generator(this, function (_a) {
100
- switch (_a.label) {
101
- case 0: return [4 /*yield*/, this.routeGenerator.delete(Routes.DELETE).withRouteParams({ id: id }).invoke()];
102
- case 1:
103
- _a.sent();
104
- return [2 /*return*/];
105
- }
106
- });
107
- });
108
- };
109
- OptimizationConfigurationsEntity.prototype.getConfigurationAttributes = function () {
110
- return __awaiter(this, void 0, void 0, function () {
111
- return __generator(this, function (_a) {
112
- return [2 /*return*/, this.routeGenerator.get(Routes.GET_CONFIGURATION_ATTRIBUTES).invoke()];
113
- });
114
- });
115
- };
116
- return OptimizationConfigurationsEntity;
117
- }(BaseService_1.default));
118
- exports.default = OptimizationConfigurationsEntity;
119
- //# sourceMappingURL=OptimizationConfigurations.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OptimizationConfigurations.service.js","sourceRoot":"","sources":["../../../src/OptimizationConfiguration/Service/OptimizationConfigurations.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAiD;AAEjD,IAAM,YAAY,GAAG,kBAAkB,CAAC;AAExC,IAAM,MAAM,GAAG;IACd,MAAM,EAAE,WAAI,YAAY,iCAA8B;IACtD,IAAI,EAAE,WAAI,YAAY,iCAA8B;IACpD,SAAS,EAAE,WAAI,YAAY,uCAAoC;IAC/D,MAAM,EAAE,WAAI,YAAY,uCAAoC;IAC5D,MAAM,EAAE,WAAI,YAAY,uCAAoC;IAC5D,4BAA4B,EAAE,WAAI,YAAY,oEAAiE;CAC/G,CAAC;AAEF;IAA8D,oDAA6C;IAC1G,0CAAY,OAAgB;eAC3B,kBAAM,OAAO,EAAE,6BAA6B,CAAC;IAC9C,CAAC;IACK,iDAAM,GAAZ,UAAa,aAA+B;;;gBAC3C,sBAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,MAAM,EAAE,EAAC;;;KACnF;IAEK,+CAAI,GAAV;;;gBACC,sBAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAC;;;KACrD;IAEK,kDAAO,GAAb,UAAc,EAAU;;;gBACvB,sBAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,EAAE,EAAE,IAAA,EAAE,CAAC,CAAC,MAAM,EAAE,EAAC;;;KAClF;IAEK,iDAAM,GAAZ,UAAa,EAAU,EAAE,aAAwC;;;gBAChE,sBAAO,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,eAAe,CAAC,EAAE,EAAE,IAAA,EAAE,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,MAAM,EAAE,EAAC;;;KAC5G;IAEK,iDAAM,GAAZ,UAAa,EAAU;;;;4BACtB,qBAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,eAAe,CAAC,EAAE,EAAE,IAAA,EAAE,CAAC,CAAC,MAAM,EAAE,EAAA;;wBAAhF,SAAgF,CAAC;;;;;KACjF;IAEK,qEAA0B,GAAhC;;;gBACC,sBAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,MAAM,EAAE,EAAC;;;KAC7E;IACF,uCAAC;AAAD,CAAC,AA3BD,CAA8D,qBAAW,GA2BxE"}