@bringg/dashboard-sdk 9.37.3-pre → 9.37.4-pre
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/dist/BringgDashboardSDK.d.ts +3 -7
- package/dist/BringgDashboardSDK.js +3 -7
- package/dist/BringgDashboardSDK.js.map +1 -1
- package/dist/PresetViews/preset-views-api.d.ts +16 -9
- package/dist/PresetViews/preset-views-api.js +46 -29
- package/dist/PresetViews/preset-views-api.js.map +1 -1
- package/dist/PresetViews/{v2/preset-views-service.d.ts → preset-views-service.d.ts} +1 -1
- package/dist/PresetViews/{v2/preset-views-service.js → preset-views-service.js} +1 -1
- package/dist/PresetViews/preset-views-service.js.map +1 -0
- package/dist/Services/ServiceRequest.js +1 -1
- package/dist/TaskManagedAttributes/task-managed-attributes-api.js +17 -11
- package/dist/TaskManagedAttributes/task-managed-attributes-api.js.map +1 -1
- package/dist/TaskManagedAttributes/task-managed-attributes-realtime-subscriptions.d.ts +1 -1
- package/dist/TaskManagedAttributes/task-managed-attributes-realtime-subscriptions.js +1 -1
- package/dist/TaskManagedAttributes/task-managed-attributes-realtime-subscriptions.js.map +1 -1
- package/dist/UserPresetViews/user-preset-views-api.d.ts +11 -8
- package/dist/UserPresetViews/user-preset-views-api.js +39 -15
- package/dist/UserPresetViews/user-preset-views-api.js.map +1 -1
- package/dist/UserPresetViews/user-preset-views-service.d.ts +5 -6
- package/dist/UserPresetViews/user-preset-views-service.js +21 -38
- package/dist/UserPresetViews/user-preset-views-service.js.map +1 -1
- package/dist/bringg-dashboard-sdk-cjs2.js +92 -385
- package/dist/bringg-dashboard-sdk-cjs2.js.map +1 -1
- package/dist/bringg-dashboard-sdk.js +38 -60
- package/dist/bringg-dashboard-sdk.min.js +1 -1
- package/dist/bringg-dashboard-sdk.min.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/PresetViews/preset-views-entity.d.ts +0 -6
- package/dist/PresetViews/preset-views-entity.js +0 -56
- package/dist/PresetViews/preset-views-entity.js.map +0 -1
- package/dist/PresetViews/v2/preset-views-api.d.ts +0 -19
- package/dist/PresetViews/v2/preset-views-api.js +0 -97
- package/dist/PresetViews/v2/preset-views-api.js.map +0 -1
- package/dist/PresetViews/v2/preset-views-service.js.map +0 -1
- package/dist/UserPresetViews/v2/user-preset-views-api.d.ts +0 -13
- package/dist/UserPresetViews/v2/user-preset-views-api.js +0 -87
- package/dist/UserPresetViews/v2/user-preset-views-api.js.map +0 -1
- package/dist/UserPresetViews/v2/user-preset-views-service.d.ts +0 -8
- package/dist/UserPresetViews/v2/user-preset-views-service.js +0 -79
- package/dist/UserPresetViews/v2/user-preset-views-service.js.map +0 -1
|
@@ -1,19 +1,4 @@
|
|
|
1
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
2
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
3
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
4
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -55,42 +40,40 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
55
40
|
};
|
|
56
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
42
|
exports.UserPresetViewsService = void 0;
|
|
58
|
-
var
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var UserPresetViewsService = /** @class */ (function (_super) {
|
|
62
|
-
__extends(UserPresetViewsService, _super);
|
|
43
|
+
var CrudService_1 = __importDefault(require("../Core/CrudService"));
|
|
44
|
+
var baseRoute = 'settings-service';
|
|
45
|
+
var UserPresetViewsService = /** @class */ (function () {
|
|
63
46
|
function UserPresetViewsService(session) {
|
|
64
|
-
var _this =
|
|
65
|
-
|
|
47
|
+
var _this = this;
|
|
48
|
+
this.loadAll = function () { return __awaiter(_this, void 0, void 0, function () {
|
|
49
|
+
var result;
|
|
66
50
|
return __generator(this, function (_a) {
|
|
67
51
|
switch (_a.label) {
|
|
68
|
-
case 0: return [4 /*yield*/, this.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
.withCommonOptions(commonOptions)
|
|
73
|
-
.invoke()];
|
|
74
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
52
|
+
case 0: return [4 /*yield*/, this.service.getAll()];
|
|
53
|
+
case 1:
|
|
54
|
+
result = _a.sent();
|
|
55
|
+
return [2 /*return*/, result];
|
|
75
56
|
}
|
|
76
57
|
});
|
|
77
58
|
}); };
|
|
78
|
-
|
|
59
|
+
this.update = function (body) { return __awaiter(_this, void 0, void 0, function () {
|
|
60
|
+
var result;
|
|
79
61
|
return __generator(this, function (_a) {
|
|
80
62
|
switch (_a.label) {
|
|
81
|
-
case 0: return [4 /*yield*/, this.routeGenerator
|
|
82
|
-
.put(
|
|
83
|
-
.withPayload(
|
|
84
|
-
.setException("Failed to update
|
|
85
|
-
.withCommonOptions(commonOptions)
|
|
63
|
+
case 0: return [4 /*yield*/, this.service.routeGenerator
|
|
64
|
+
.put("/".concat(this.service.entityName))
|
|
65
|
+
.withPayload(body)
|
|
66
|
+
.setException("Failed to update ".concat(this.service.entityName))
|
|
86
67
|
.invoke()];
|
|
87
|
-
case 1:
|
|
68
|
+
case 1:
|
|
69
|
+
result = _a.sent();
|
|
70
|
+
return [2 /*return*/, result];
|
|
88
71
|
}
|
|
89
72
|
});
|
|
90
73
|
}); };
|
|
91
|
-
|
|
74
|
+
this.service = new CrudService_1.default(session, "".concat(baseRoute, "/preset-views/user"));
|
|
92
75
|
}
|
|
93
76
|
return UserPresetViewsService;
|
|
94
|
-
}(
|
|
77
|
+
}());
|
|
95
78
|
exports.UserPresetViewsService = UserPresetViewsService;
|
|
96
79
|
//# sourceMappingURL=user-preset-views-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-preset-views-service.js","sourceRoot":"","sources":["../../src/UserPresetViews/user-preset-views-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-preset-views-service.js","sourceRoot":"","sources":["../../src/UserPresetViews/user-preset-views-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oEAA8C;AAG9C,IAAM,SAAS,GAAG,kBAAkB,CAAC;AAErC;IAGC,gCAAY,OAAgB;QAA5B,iBAEC;QAEM,YAAO,GAAG;;;;4BACD,qBAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,EAAA;;wBAApC,MAAM,GAAG,SAA2B;wBAE1C,sBAAO,MAAM,EAAC;;;aACd,CAAC;QAEK,WAAM,GAAG,UAAO,IAAiC;;;;4BACxB,qBAAM,IAAI,CAAC,OAAO,CAAC,cAAc;6BAC9D,GAAG,CAAC,WAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAE,CAAC;6BAClC,WAAW,CAAC,IAAI,CAAC;6BACjB,YAAY,CAAC,2BAAoB,IAAI,CAAC,OAAO,CAAC,UAAU,CAAE,CAAC;6BAC3D,MAAM,EAAE,EAAA;;wBAJJ,MAAM,GAAmB,SAIrB;wBAEV,sBAAO,MAAM,EAAC;;;aACd,CAAC;QAjBD,IAAI,CAAC,OAAO,GAAG,IAAI,qBAAW,CAAC,OAAO,EAAE,UAAG,SAAS,uBAAoB,CAAC,CAAC;IAC3E,CAAC;IAiBF,6BAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBY,wDAAsB"}
|