@dvelop-sdk/business-objects 1.0.7 → 2.0.1
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/lib/entities/create-entity/create-entity.js +1 -1
- package/lib/entities/create-entity/create-entity.js.map +1 -1
- package/lib/entities/delete-entity/delete-entity.js +2 -2
- package/lib/entities/delete-entity/delete-entity.js.map +1 -1
- package/lib/entities/get-entities/get-entities.d.ts +13 -3
- package/lib/entities/get-entities/get-entities.d.ts.map +1 -1
- package/lib/entities/get-entities/get-entities.js +28 -6
- package/lib/entities/get-entities/get-entities.js.map +1 -1
- package/lib/entities/get-entity/get-entity.js +2 -2
- package/lib/entities/get-entity/get-entity.js.map +1 -1
- package/lib/entities/update-entity/update-entity.js +2 -2
- package/lib/entities/update-entity/update-entity.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -1
- package/lib/index.js.map +1 -1
- package/lib/internal.d.ts +1 -1
- package/lib/internal.d.ts.map +1 -1
- package/lib/internal.js +2 -2
- package/lib/internal.js.map +1 -1
- package/lib/utils/http.js +5 -5
- package/lib/utils/http.js.map +1 -1
- package/package.json +3 -3
|
@@ -53,7 +53,7 @@ function _createBoEntityFactory(httpRequestFunction, transformFunction) {
|
|
|
53
53
|
switch (_a.label) {
|
|
54
54
|
case 0: return [4 /*yield*/, httpRequestFunction(context, {
|
|
55
55
|
method: "POST",
|
|
56
|
-
url: "/businessobjects/custom/"
|
|
56
|
+
url: "/businessobjects/custom/".concat(params.modelName, "/").concat(params.pluralEntityName),
|
|
57
57
|
data: params.entity
|
|
58
58
|
})];
|
|
59
59
|
case 1:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-entity.js","sourceRoot":"","sources":["../../../src/entities/create-entity/create-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAA2E;AAgB3E;;;;;;GAMG;AACH,SAAgB,sBAAsB,CACpC,mBAA0F,EAC1F,iBAAyG;IAF3G,iBAcC;IAVC,OAAO,UAAO,OAAsB,EAAE,MAA+B;;;;wBAElD,qBAAM,mBAAmB,CAAC,OAAO,EAAE;wBAClD,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"create-entity.js","sourceRoot":"","sources":["../../../src/entities/create-entity/create-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAA2E;AAgB3E;;;;;;GAMG;AACH,SAAgB,sBAAsB,CACpC,mBAA0F,EAC1F,iBAAyG;IAF3G,iBAcC;IAVC,OAAO,UAAO,OAAsB,EAAE,MAA+B;;;;wBAElD,qBAAM,mBAAmB,CAAC,OAAO,EAAE;wBAClD,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,kCAA2B,MAAM,CAAC,SAAS,cAAI,MAAM,CAAC,gBAAgB,CAAE;wBAC7E,IAAI,EAAE,MAAM,CAAC,MAAM;qBACpB,CAAC,EAAA;;oBAJI,QAAQ,GAAG,SAIf;oBAEF,sBAAO,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAC;;;SACrD,CAAC;AACJ,CAAC;AAdD,wDAcC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,0BAA0B;AAC1B,SAAsB,cAAc,CAAU,OAAsB,EAAE,MAA+B;;;;wBAC5F,qBAAM,sBAAsB,CAAU,kCAA2B,EAAE,cAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,EAAA;wBAArG,sBAAO,SAA8F,EAAC;;;;CACvG;AAFD,wCAEC"}
|
|
@@ -55,11 +55,11 @@ function _deleteBoEntityFactory(httpRequestFunction, transformFunction) {
|
|
|
55
55
|
urlEntityKeyValue = params.keyPropertyValue;
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
|
-
urlEntityKeyValue = "'"
|
|
58
|
+
urlEntityKeyValue = "'".concat(params.keyPropertyValue, "'");
|
|
59
59
|
}
|
|
60
60
|
return [4 /*yield*/, httpRequestFunction(context, {
|
|
61
61
|
method: "DELETE",
|
|
62
|
-
url: "/businessobjects/custom/"
|
|
62
|
+
url: "/businessobjects/custom/".concat(params.modelName, "/").concat(params.pluralEntityName, "(").concat(urlEntityKeyValue, ")")
|
|
63
63
|
})];
|
|
64
64
|
case 1:
|
|
65
65
|
response = _a.sent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-entity.js","sourceRoot":"","sources":["../../../src/entities/delete-entity/delete-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAA2E;AAiB3E;;;;;GAKG;AACH,SAAgB,sBAAsB,CACpC,mBAA0F,EAC1F,iBAAsG;IAFxG,iBAqBC;IAjBC,OAAO,UAAO,OAAsB,EAAE,MAA4B;;;;;oBAGhE,IAAI,MAAM,CAAC,eAAe,KAAK,QAAQ,IAAI,MAAM,CAAC,eAAe,KAAK,MAAM,EAAE;wBAC5E,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC;qBAC7C;yBAAM;wBACL,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"delete-entity.js","sourceRoot":"","sources":["../../../src/entities/delete-entity/delete-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAA2E;AAiB3E;;;;;GAKG;AACH,SAAgB,sBAAsB,CACpC,mBAA0F,EAC1F,iBAAsG;IAFxG,iBAqBC;IAjBC,OAAO,UAAO,OAAsB,EAAE,MAA4B;;;;;oBAGhE,IAAI,MAAM,CAAC,eAAe,KAAK,QAAQ,IAAI,MAAM,CAAC,eAAe,KAAK,MAAM,EAAE;wBAC5E,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC;qBAC7C;yBAAM;wBACL,iBAAiB,GAAG,WAAI,MAAM,CAAC,gBAAgB,MAAG,CAAC;qBACpD;oBAGgB,qBAAM,mBAAmB,CAAC,OAAO,EAAE;4BAClD,MAAM,EAAE,QAAQ;4BAChB,GAAG,EAAE,kCAA2B,MAAM,CAAC,SAAS,cAAI,MAAM,CAAC,gBAAgB,cAAI,iBAAiB,MAAG;yBACpG,CAAC,EAAA;;oBAHI,QAAQ,GAAG,SAGf;oBAEF,sBAAO,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAC;;;SACrD,CAAC;AACJ,CAAC;AArBD,wDAqBC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,0BAA0B;AAC1B,SAAsB,cAAc,CAAC,OAAsB,EAAE,MAA4B;;;;wBAChF,qBAAM,sBAAsB,CAAC,kCAA2B,EAAE,cAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,EAAA;wBAA5F,sBAAO,SAAqF,EAAC;;;;CAC9F;AAFD,wCAEC"}
|
|
@@ -10,20 +10,30 @@ export interface GetBoEntitiesParams {
|
|
|
10
10
|
/** EntityName in plural (**Singular name won't work**) */
|
|
11
11
|
pluralEntityName: string;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Page of a searchResult. There might be more than one page.
|
|
15
|
+
* @category Entity
|
|
16
|
+
*/
|
|
17
|
+
export interface GetEntitiesResultPage<E = any> {
|
|
18
|
+
/** Array of entitiess found */
|
|
19
|
+
value: E[];
|
|
20
|
+
/** Function that returns the next page. Undefined if there is none. */
|
|
21
|
+
getNextPage?: () => Promise<GetEntitiesResultPage<E>>;
|
|
22
|
+
}
|
|
13
23
|
/**
|
|
14
24
|
* Default transform-function provided to the {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
15
25
|
* @template E Return type
|
|
16
26
|
* @internal
|
|
17
27
|
* @category Entity
|
|
18
28
|
*/
|
|
19
|
-
export declare function
|
|
29
|
+
export declare function _getBoEntitiesDefaultTransformFunctionFactory<E>(httpRequestFunction: (context: DvelopContext, config: HttpConfig) => Promise<HttpResponse>): (response: HttpResponse, context: DvelopContext, params: GetBoEntitiesParams) => GetEntitiesResultPage<E>;
|
|
20
30
|
/**
|
|
21
31
|
* Factory for {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
22
32
|
* @template E Return type of the {@link getBoEntities}-function. A corresponding transformFunction has to be supplied.
|
|
23
33
|
* @internal
|
|
24
34
|
* @category Entity
|
|
25
35
|
*/
|
|
26
|
-
export declare function _getBoEntitiesFactory<E>(httpRequestFunction: (context: DvelopContext, config: HttpConfig) => Promise<HttpResponse>, transformFunction: (response: HttpResponse, context: DvelopContext, params: GetBoEntitiesParams) => E
|
|
36
|
+
export declare function _getBoEntitiesFactory<E>(httpRequestFunction: (context: DvelopContext, config: HttpConfig) => Promise<HttpResponse>, transformFunction: (response: HttpResponse, context: DvelopContext, params: GetBoEntitiesParams) => GetEntitiesResultPage<E>): (context: DvelopContext, params: GetBoEntitiesParams) => Promise<GetEntitiesResultPage<E>>;
|
|
27
37
|
/**
|
|
28
38
|
* Returns all specified entities from a model.
|
|
29
39
|
* @template E Type for Entity. Defaults to `any`.
|
|
@@ -67,5 +77,5 @@ export declare function _getBoEntitiesFactory<E>(httpRequestFunction: (context:
|
|
|
67
77
|
* // Turk
|
|
68
78
|
* ```
|
|
69
79
|
*/
|
|
70
|
-
export declare function getBoEntities<E = any>(context: DvelopContext, params: GetBoEntitiesParams): Promise<E
|
|
80
|
+
export declare function getBoEntities<E = any>(context: DvelopContext, params: GetBoEntitiesParams): Promise<GetEntitiesResultPage<E>>;
|
|
71
81
|
//# sourceMappingURL=get-entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-entities.d.ts","sourceRoot":"","sources":["../../../src/entities/get-entities/get-entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,YAAY,EAA+B,MAAM,kBAAkB,CAAC;AAEzF;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;GAKG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"get-entities.d.ts","sourceRoot":"","sources":["../../../src/entities/get-entities/get-entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,YAAY,EAA+B,MAAM,kBAAkB,CAAC;AAEzF;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB,CAAC,CAAC,GAAG,GAAG;IAC5C,+BAA+B;IAC/B,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC;CACvD;AAED;;;;;GAKG;AACH,wBAAgB,6CAA6C,CAAC,CAAC,EAAE,mBAAmB,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,KAAK,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,mBAAmB,KAAK,qBAAqB,CAAC,CAAC,CAAC,CAmBtQ;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,mBAAmB,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,UAAU,KAAK,OAAO,CAAC,YAAY,CAAC,EAC1F,iBAAiB,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,mBAAmB,KAAK,qBAAqB,CAAC,CAAC,CAAC,GAC3H,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAU5F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,wBAAsB,aAAa,CAAC,CAAC,GAAG,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAEnI"}
|
|
@@ -36,7 +36,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getBoEntities = exports._getBoEntitiesFactory = exports.
|
|
39
|
+
exports.getBoEntities = exports._getBoEntitiesFactory = exports._getBoEntitiesDefaultTransformFunctionFactory = void 0;
|
|
40
40
|
var http_1 = require("../../utils/http");
|
|
41
41
|
/**
|
|
42
42
|
* Default transform-function provided to the {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
@@ -44,10 +44,32 @@ var http_1 = require("../../utils/http");
|
|
|
44
44
|
* @internal
|
|
45
45
|
* @category Entity
|
|
46
46
|
*/
|
|
47
|
-
function
|
|
48
|
-
|
|
47
|
+
function _getBoEntitiesDefaultTransformFunctionFactory(httpRequestFunction) {
|
|
48
|
+
var _this = this;
|
|
49
|
+
return function (response, context, params) {
|
|
50
|
+
var result = {
|
|
51
|
+
value: response.data.value
|
|
52
|
+
};
|
|
53
|
+
if (response.data["@odata.nextLink"]) {
|
|
54
|
+
result.getNextPage = function () { return __awaiter(_this, void 0, void 0, function () {
|
|
55
|
+
var nextResponse;
|
|
56
|
+
return __generator(this, function (_a) {
|
|
57
|
+
switch (_a.label) {
|
|
58
|
+
case 0: return [4 /*yield*/, httpRequestFunction(context, {
|
|
59
|
+
method: "GET",
|
|
60
|
+
url: response.data["@odata.nextLink"]
|
|
61
|
+
})];
|
|
62
|
+
case 1:
|
|
63
|
+
nextResponse = _a.sent();
|
|
64
|
+
return [2 /*return*/, _getBoEntitiesDefaultTransformFunctionFactory(httpRequestFunction)(nextResponse, context, params)];
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}); };
|
|
68
|
+
}
|
|
69
|
+
return result;
|
|
70
|
+
};
|
|
49
71
|
}
|
|
50
|
-
exports.
|
|
72
|
+
exports._getBoEntitiesDefaultTransformFunctionFactory = _getBoEntitiesDefaultTransformFunctionFactory;
|
|
51
73
|
/**
|
|
52
74
|
* Factory for {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
53
75
|
* @template E Return type of the {@link getBoEntities}-function. A corresponding transformFunction has to be supplied.
|
|
@@ -62,7 +84,7 @@ function _getBoEntitiesFactory(httpRequestFunction, transformFunction) {
|
|
|
62
84
|
switch (_a.label) {
|
|
63
85
|
case 0: return [4 /*yield*/, httpRequestFunction(context, {
|
|
64
86
|
method: "GET",
|
|
65
|
-
url: "/businessobjects/custom/"
|
|
87
|
+
url: "/businessobjects/custom/".concat(params.modelName, "/").concat(params.pluralEntityName)
|
|
66
88
|
})];
|
|
67
89
|
case 1:
|
|
68
90
|
response = _a.sent();
|
|
@@ -120,7 +142,7 @@ function getBoEntities(context, params) {
|
|
|
120
142
|
return __awaiter(this, void 0, void 0, function () {
|
|
121
143
|
return __generator(this, function (_a) {
|
|
122
144
|
switch (_a.label) {
|
|
123
|
-
case 0: return [4 /*yield*/, _getBoEntitiesFactory(http_1._defaultHttpRequestFunction,
|
|
145
|
+
case 0: return [4 /*yield*/, _getBoEntitiesFactory(http_1._defaultHttpRequestFunction, _getBoEntitiesDefaultTransformFunctionFactory(http_1._defaultHttpRequestFunction))(context, params)];
|
|
124
146
|
case 1: return [2 /*return*/, _a.sent()];
|
|
125
147
|
}
|
|
126
148
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-entities.js","sourceRoot":"","sources":["../../../src/entities/get-entities/get-entities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAyF;
|
|
1
|
+
{"version":3,"file":"get-entities.js","sourceRoot":"","sources":["../../../src/entities/get-entities/get-entities.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAyF;AAwBzF;;;;;GAKG;AACH,SAAgB,6CAA6C,CAAI,mBAA0F;IAA3J,iBAmBC;IAlBC,OAAO,UAAI,QAAsB,EAAE,OAAsB,EAAE,MAA2B;QAEpF,IAAI,MAAM,GAA6B;YACrC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK;SAC3B,CAAC;QAEF,IAAI,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE;YACpC,MAAM,CAAC,WAAW,GAAG;;;;gCACgB,qBAAM,mBAAmB,CAAC,OAAO,EAAE;gCACpE,MAAM,EAAE,KAAK;gCACb,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC;6BACtC,CAAC,EAAA;;4BAHI,YAAY,GAAiB,SAGjC;4BACF,sBAAO,6CAA6C,CAAI,mBAAmB,CAAC,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,CAAC,EAAC;;;iBAC7G,CAAC;SACH;QAED,OAAO,MAAM,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC;AAnBD,sGAmBC;AAED;;;;;GAKG;AACH,SAAgB,qBAAqB,CACnC,mBAA0F,EAC1F,iBAA4H;IAF9H,iBAaC;IATC,OAAO,UAAO,OAAsB,EAAE,MAA2B;;;;wBAE9C,qBAAM,mBAAmB,CAAC,OAAO,EAAE;wBAClD,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,kCAA2B,MAAM,CAAC,SAAS,cAAI,MAAM,CAAC,gBAAgB,CAAE;qBAC9E,CAAC,EAAA;;oBAHI,QAAQ,GAAG,SAGf;oBAEF,sBAAO,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAC;;;SACrD,CAAC;AACJ,CAAC;AAbD,sDAaC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,0BAA0B;AAC1B,SAAsB,aAAa,CAAU,OAAsB,EAAE,MAA2B;;;;wBACvF,qBAAM,qBAAqB,CAAI,kCAA2B,EAAE,6CAA6C,CAAC,kCAA2B,CAAC,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,EAAA;wBAA/J,sBAAO,SAAwJ,EAAC;;;;CACjK;AAFD,sCAEC"}
|
|
@@ -69,11 +69,11 @@ function _getBoEntityFactory(httpRequestFunction, transformFunction) {
|
|
|
69
69
|
urlEntityKeyValue = params.keyPropertyValue;
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
72
|
-
urlEntityKeyValue = "'"
|
|
72
|
+
urlEntityKeyValue = "'".concat(params.keyPropertyValue, "'");
|
|
73
73
|
}
|
|
74
74
|
return [4 /*yield*/, httpRequestFunction(context, {
|
|
75
75
|
method: "GET",
|
|
76
|
-
url: "/businessobjects/custom/"
|
|
76
|
+
url: "/businessobjects/custom/".concat(params.modelName, "/").concat(params.pluralEntityName, "(").concat(urlEntityKeyValue, ")")
|
|
77
77
|
})];
|
|
78
78
|
case 1:
|
|
79
79
|
response = _a.sent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-entity.js","sourceRoot":"","sources":["../../../src/entities/get-entity/get-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;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O,OAAsB,EAAE,MAAyB;;;;;oBAG7D,IAAI,MAAM,CAAC,eAAe,KAAK,QAAQ,IAAI,MAAM,CAAC,eAAe,KAAK,MAAM,EAAE;wBAC5E,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC;qBAC7C;yBAAM;wBACL,iBAAiB,GAAG,WAAI,MAAM,CAAC,gBAAgB,MAAG,CAAC;qBACpD;oBAEgB,qBAAM,mBAAmB,CAAC,OAAO,EAAE;4BAClD,MAAM,EAAE,KAAK;4BACb,GAAG,EAAE,kCAA2B,MAAM,CAAC,SAAS,cAAI,MAAM,CAAC,gBAAgB,cAAI,iBAAiB,MAAG;yBACpG,CAAC,EAAA;;oBAHI,QAAQ,GAAG,SAGf;oBAEF,sBAAO,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAC;;;SACrD,CAAC;AACJ,CAAC;AApBD,kDAoBC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,0BAA0B;AAC1B,SAAsB,WAAW,CAAU,OAAsB,EAAE,MAAyB;;;;wBACnF,qBAAM,mBAAmB,CAAI,kCAA2B,EAAE,oCAAoC,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,EAAA;wBAAvH,sBAAO,SAAgH,EAAC;;;;CACzH;AAFD,kCAEC"}
|
|
@@ -55,11 +55,11 @@ function _updateBoEntityFactory(httpRequestFunction, transformFunction) {
|
|
|
55
55
|
urlEntityKeyValue = params.keyPropertyValue;
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
|
-
urlEntityKeyValue = "'"
|
|
58
|
+
urlEntityKeyValue = "'".concat(params.keyPropertyValue, "'");
|
|
59
59
|
}
|
|
60
60
|
return [4 /*yield*/, httpRequestFunction(context, {
|
|
61
61
|
method: "PATCH",
|
|
62
|
-
url: "/businessobjects/custom/"
|
|
62
|
+
url: "/businessobjects/custom/".concat(params.modelName, "/").concat(params.pluralEntityName, "(").concat(urlEntityKeyValue, ")"),
|
|
63
63
|
data: params.entityChange
|
|
64
64
|
})];
|
|
65
65
|
case 1:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-entity.js","sourceRoot":"","sources":["../../../src/entities/update-entity/update-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAyF;AAoBzF;;;;;GAKG;AACH,SAAgB,sBAAsB,CACpC,mBAA0F,EAC1F,iBAAyG;IAF3G,iBAqBC;IAjBC,OAAO,UAAO,OAAsB,EAAE,MAA+B;;;;;oBAGnE,IAAI,MAAM,CAAC,eAAe,KAAK,QAAQ,IAAI,MAAM,CAAC,eAAe,KAAK,MAAM,EAAE;wBAC5E,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC;qBAC7C;yBAAM;wBACL,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"update-entity.js","sourceRoot":"","sources":["../../../src/entities/update-entity/update-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAyF;AAoBzF;;;;;GAKG;AACH,SAAgB,sBAAsB,CACpC,mBAA0F,EAC1F,iBAAyG;IAF3G,iBAqBC;IAjBC,OAAO,UAAO,OAAsB,EAAE,MAA+B;;;;;oBAGnE,IAAI,MAAM,CAAC,eAAe,KAAK,QAAQ,IAAI,MAAM,CAAC,eAAe,KAAK,MAAM,EAAE;wBAC5E,iBAAiB,GAAG,MAAM,CAAC,gBAAgB,CAAC;qBAC7C;yBAAM;wBACL,iBAAiB,GAAG,WAAI,MAAM,CAAC,gBAAgB,MAAG,CAAC;qBACpD;oBAEgB,qBAAM,mBAAmB,CAAC,OAAO,EAAE;4BAClD,MAAM,EAAE,OAAO;4BACf,GAAG,EAAE,kCAA2B,MAAM,CAAC,SAAS,cAAI,MAAM,CAAC,gBAAgB,cAAI,iBAAiB,MAAG;4BACnG,IAAI,EAAE,MAAM,CAAC,YAAY;yBAC1B,CAAC,EAAA;;oBAJI,QAAQ,GAAG,SAIf;oBAEF,sBAAO,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAC;;;SACrD,CAAC;AACJ,CAAC;AArBD,wDAqBC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,0BAA0B;AAC1B,SAAsB,cAAc,CAAU,OAAsB,EAAE,MAA+B;;;;wBAC5F,qBAAM,sBAAsB,CAAU,kCAA2B,EAAE,cAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,EAAA;wBAArG,sBAAO,SAA8F,EAAC;;;;CACvG;AAFD,wCAEC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
export { DvelopContext, BadInputError, UnauthorizedError, ForbiddenError, NotFoundError } from "@dvelop-sdk/core";
|
|
27
27
|
export { BusinessObjectsError } from "./utils/http";
|
|
28
28
|
export * as internals from "./internal";
|
|
29
|
-
export { GetBoEntitiesParams, getBoEntities } from "./entities/get-entities/get-entities";
|
|
29
|
+
export { GetBoEntitiesParams, getBoEntities, GetEntitiesResultPage } from "./entities/get-entities/get-entities";
|
|
30
30
|
export { GetBoEntityParams, getBoEntity } from "./entities/get-entity/get-entity";
|
|
31
31
|
export { CreateBoEntityParams, createBoEntity } from "./entities/create-entity/create-entity";
|
|
32
32
|
export { UpdateBoEntityParams, updateBoEntity } from "./entities/update-entity/update-entity";
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAClH,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAGH,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAClH,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AACjH,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -26,7 +26,11 @@
|
|
|
26
26
|
*/
|
|
27
27
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
28
28
|
if (k2 === undefined) k2 = k;
|
|
29
|
-
Object.
|
|
29
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
30
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
31
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
32
|
+
}
|
|
33
|
+
Object.defineProperty(o, k2, desc);
|
|
30
34
|
}) : (function(o, m, k, k2) {
|
|
31
35
|
if (k2 === undefined) k2 = k;
|
|
32
36
|
o[k2] = m[k];
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO;AACP,yCAAkH;AAA1F,qGAAA,aAAa,OAAA;AAAE,yGAAA,iBAAiB,OAAA;AAAE,sGAAA,cAAc,OAAA;AAAE,qGAAA,aAAa,OAAA;AACvF,qCAAoD;AAA3C,4GAAA,oBAAoB,OAAA;AAC7B,wDAAwC;AAExC,qEAAiH;AAAnF,6GAAA,aAAa,OAAA;AAC3C,+DAAkF;AAAtD,yGAAA,WAAW,OAAA;AACvC,wEAA8F;AAA/D,+GAAA,cAAc,OAAA;AAC7C,wEAA8F;AAA/D,+GAAA,cAAc,OAAA;AAC7C,wEAA8F;AAA/D,+GAAA,cAAc,OAAA"}
|
package/lib/internal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { _defaultHttpRequestFunctionFactory, _defaultHttpRequestFunction, BusinessObjectsErrorDto } from "./utils/http";
|
|
2
|
-
export { _getBoEntitiesFactory,
|
|
2
|
+
export { _getBoEntitiesFactory, _getBoEntitiesDefaultTransformFunctionFactory } from "./entities/get-entities/get-entities";
|
|
3
3
|
export { _getBoEntityFactory, _getBoEntityDefaultTransformFunction } from "./entities/get-entity/get-entity";
|
|
4
4
|
export { _createBoEntityFactory } from "./entities/create-entity/create-entity";
|
|
5
5
|
export { _updateBoEntityFactory } from "./entities/update-entity/update-entity";
|
package/lib/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAExH,OAAO,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAExH,OAAO,EAAE,qBAAqB,EAAE,6CAA6C,EAAE,MAAM,sCAAsC,CAAC;AAC5H,OAAO,EAAE,mBAAmB,EAAE,oCAAoC,EAAE,MAAM,kCAAkC,CAAC;AAC7G,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC"}
|
package/lib/internal.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._deleteBoEntityFactory = exports._updateBoEntityFactory = exports._createBoEntityFactory = exports._getBoEntityDefaultTransformFunction = exports._getBoEntityFactory = exports.
|
|
3
|
+
exports._deleteBoEntityFactory = exports._updateBoEntityFactory = exports._createBoEntityFactory = exports._getBoEntityDefaultTransformFunction = exports._getBoEntityFactory = exports._getBoEntitiesDefaultTransformFunctionFactory = exports._getBoEntitiesFactory = exports._defaultHttpRequestFunction = exports._defaultHttpRequestFunctionFactory = void 0;
|
|
4
4
|
var http_1 = require("./utils/http");
|
|
5
5
|
Object.defineProperty(exports, "_defaultHttpRequestFunctionFactory", { enumerable: true, get: function () { return http_1._defaultHttpRequestFunctionFactory; } });
|
|
6
6
|
Object.defineProperty(exports, "_defaultHttpRequestFunction", { enumerable: true, get: function () { return http_1._defaultHttpRequestFunction; } });
|
|
7
7
|
var get_entities_1 = require("./entities/get-entities/get-entities");
|
|
8
8
|
Object.defineProperty(exports, "_getBoEntitiesFactory", { enumerable: true, get: function () { return get_entities_1._getBoEntitiesFactory; } });
|
|
9
|
-
Object.defineProperty(exports, "
|
|
9
|
+
Object.defineProperty(exports, "_getBoEntitiesDefaultTransformFunctionFactory", { enumerable: true, get: function () { return get_entities_1._getBoEntitiesDefaultTransformFunctionFactory; } });
|
|
10
10
|
var get_entity_1 = require("./entities/get-entity/get-entity");
|
|
11
11
|
Object.defineProperty(exports, "_getBoEntityFactory", { enumerable: true, get: function () { return get_entity_1._getBoEntityFactory; } });
|
|
12
12
|
Object.defineProperty(exports, "_getBoEntityDefaultTransformFunction", { enumerable: true, get: function () { return get_entity_1._getBoEntityDefaultTransformFunction; } });
|
package/lib/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":";;;AAAA,qCAAwH;AAA/G,0HAAA,kCAAkC,OAAA;AAAE,mHAAA,2BAA2B,OAAA;AAExE,
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":";;;AAAA,qCAAwH;AAA/G,0HAAA,kCAAkC,OAAA;AAAE,mHAAA,2BAA2B,OAAA;AAExE,qEAA4H;AAAnH,qHAAA,qBAAqB,OAAA;AAAE,6IAAA,6CAA6C,OAAA;AAC7E,+DAA6G;AAApG,iHAAA,mBAAmB,OAAA;AAAE,kIAAA,oCAAoC,OAAA;AAClE,wEAAgF;AAAvE,uHAAA,sBAAsB,OAAA;AAC/B,wEAAgF;AAAvE,uHAAA,sBAAsB,OAAA;AAC/B,wEAAgF;AAAvE,uHAAA,sBAAsB,OAAA"}
|
package/lib/utils/http.js
CHANGED
|
@@ -58,9 +58,9 @@ function getErrorString(error) {
|
|
|
58
58
|
var detailString = "";
|
|
59
59
|
if (error.error.details && error.error.details.length > 0) {
|
|
60
60
|
detailString = error.error.details
|
|
61
|
-
.reduce(function (detailString, detail) { return detailString += "\t * "
|
|
61
|
+
.reduce(function (detailString, detail) { return detailString += "\t * ".concat(detail.message, " (").concat(detail.code, ")\n"); }, "\n");
|
|
62
62
|
}
|
|
63
|
-
return error.error.message
|
|
63
|
+
return "".concat(error.error.message, " (").concat(error.error.code, ").").concat(detailString, "\nSee 'See 'originalError'-property for details.'");
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
66
66
|
return null;
|
|
@@ -137,11 +137,11 @@ function _defaultHttpRequestFunctionFactory(httpClient) {
|
|
|
137
137
|
case 501:
|
|
138
138
|
throw new NotImplementedError(getErrorString(error_1.response.data) || "BusinessObjects-App responded with Status 501 indicating a requested feature is not implemented. See 'originalError'-property for details.", error_1);
|
|
139
139
|
default:
|
|
140
|
-
throw new BusinessObjectsError(getErrorString(error_1.response.data) || "BusinessObjects-App responded with status "
|
|
140
|
+
throw new BusinessObjectsError(getErrorString(error_1.response.data) || "BusinessObjects-App responded with status ".concat(error_1.response.status, ". See 'originalError'-property for details."), error_1);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
144
|
-
throw new BusinessObjectsError("Request to BusinessObjects-App failed: "
|
|
144
|
+
throw new BusinessObjectsError("Request to BusinessObjects-App failed: ".concat(error_1.message, ". See 'originalError'-property for details."), error_1);
|
|
145
145
|
}
|
|
146
146
|
return [3 /*break*/, 3];
|
|
147
147
|
case 3: return [2 /*return*/];
|
|
@@ -159,7 +159,7 @@ exports._defaultHttpRequestFunctionFactory = _defaultHttpRequestFunctionFactory;
|
|
|
159
159
|
function _defaultHttpRequestFunction(context, config) {
|
|
160
160
|
return __awaiter(this, void 0, void 0, function () {
|
|
161
161
|
return __generator(this, function (_a) {
|
|
162
|
-
return [2 /*return*/, _defaultHttpRequestFunctionFactory(core_1.defaultDvelopHttpClientFactory())(context, config)];
|
|
162
|
+
return [2 /*return*/, _defaultHttpRequestFunctionFactory((0, core_1.defaultDvelopHttpClientFactory)())(context, config)];
|
|
163
163
|
});
|
|
164
164
|
});
|
|
165
165
|
}
|
package/lib/utils/http.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/utils/http.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAiO;AA8BjO,SAAS,cAAc,CAAC,KAA8B;IAGpD,IAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,EAAE;QAEhB,IAAI,YAAY,GAAW,EAAE,CAAC;QAE9B,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;YACzD,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO;iBAC/B,MAAM,CAAC,UAAC,YAAY,EAAE,MAAM,IAAK,OAAA,YAAY,IAAI,
|
|
1
|
+
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/utils/http.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAiO;AA8BjO,SAAS,cAAc,CAAC,KAA8B;IAGpD,IAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,EAAE;QAEhB,IAAI,YAAY,GAAW,EAAE,CAAC;QAE9B,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;YACzD,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO;iBAC/B,MAAM,CAAC,UAAC,YAAY,EAAE,MAAM,IAAK,OAAA,YAAY,IAAI,eAAQ,MAAM,CAAC,OAAO,eAAK,MAAM,CAAC,IAAI,QAAK,EAA3D,CAA2D,EAAE,IAAI,CAAC,CAAC;SACxG;QAED,OAAO,UAAG,KAAK,CAAC,KAAK,CAAC,OAAO,eAAK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+B;;;YACvG,sBAAO,kCAAkC,CAAC,IAAA,qCAA8B,GAAE,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,EAAC;;;CAC9F;AAFD,kEAEC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvelop-sdk/business-objects",
|
|
3
3
|
"description": "This package contains functionality for the BusinessObjects-App in the d.velop cloud.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"license": "license-checker --production --onlyAllow Apache-2.0;MIT;ISC;BSD-2-Clause;BSD-3-Clause"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@dvelop-sdk/core": "^2.2.
|
|
26
|
+
"@dvelop-sdk/core": "^2.2.1"
|
|
27
27
|
}
|
|
28
|
-
}
|
|
28
|
+
}
|