@dvelop-sdk/business-objects 1.0.7 → 2.0.0

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.
@@ -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 _getBoEntitiesDefaultTransformFunction<E>(response: HttpResponse, _: DvelopContext, __: GetBoEntitiesParams): E[];
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[]): (context: DvelopContext, params: GetBoEntitiesParams) => Promise<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,sCAAsC,CAAC,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE,mBAAmB,GAAG,CAAC,EAAE,CAEhI;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,CAAC,EAAE,GACtG,CAAC,OAAO,EAAE,a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,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._getBoEntitiesDefaultTransformFunction = void 0;
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 _getBoEntitiesDefaultTransformFunction(response, _, __) {
48
- return response.data.value;
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._getBoEntitiesDefaultTransformFunction = _getBoEntitiesDefaultTransformFunction;
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.
@@ -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, _getBoEntitiesDefaultTransformFunction)(context, params)];
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;AAazF;;;;;GAKG;AACH,SAAgB,sCAAsC,CAAI,QAAsB,EAAE,CAAgB,EAAE,EAAuB;IACzH,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;AAC7B,CAAC;AAFD,wFAEC;AAED;;;;;GAKG;AACH,SAAgB,qBAAqB,CACnC,mBAA0F,EAC1F,iBAAuG;IAFzG,iB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;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,6BAA2B,MAAM,CAAC,SAAS,SAAI,MAAM,CAAC,gBAAkB;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"}
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";
@@ -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;AAC1F,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"}
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.map CHANGED
@@ -1 +1 @@
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,qEAA0F;AAA5D,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"}
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, _getBoEntitiesDefaultTransformFunction } from "./entities/get-entities/get-entities";
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";
@@ -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,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AACrH,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"}
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._getBoEntitiesDefaultTransformFunction = exports._getBoEntitiesFactory = exports._defaultHttpRequestFunction = exports._defaultHttpRequestFunctionFactory = void 0;
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, "_getBoEntitiesDefaultTransformFunction", { enumerable: true, get: function () { return get_entities_1._getBoEntitiesDefaultTransformFunction; } });
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; } });
@@ -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,qEAAqH;AAA5G,qHAAA,qBAAqB,OAAA;AAAE,sIAAA,sCAAsC,OAAA;AACtE,+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"}
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/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": "1.0.7",
4
+ "version": "2.0.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",