bruce-models 3.9.1 → 3.9.2
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/bruce-models.es5.js +16 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +16 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity.js +15 -2
- package/dist/lib/entity/entity.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity.d.ts +1 -0
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -3072,7 +3072,7 @@
|
|
|
3072
3072
|
*/
|
|
3073
3073
|
function GetListByIds(params) {
|
|
3074
3074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3075
|
-
let { api, entityIds, req: reqParams, expandRelations, expandLocation, historicFrom, historicKey, historicTo } = params;
|
|
3075
|
+
let { api, entityIds, req: reqParams, expandRelations, expandLocation, historicFrom, historicKey, historicTo, historicPoint } = params;
|
|
3076
3076
|
if (!entityIds.length) {
|
|
3077
3077
|
throw ("Entity IDs are required.");
|
|
3078
3078
|
}
|
|
@@ -3106,6 +3106,18 @@
|
|
|
3106
3106
|
else if (expandLocation) {
|
|
3107
3107
|
reqData["Expand"] = "location";
|
|
3108
3108
|
}
|
|
3109
|
+
if (historicKey) {
|
|
3110
|
+
reqData["historicKey"] = historicKey;
|
|
3111
|
+
}
|
|
3112
|
+
if (historicFrom) {
|
|
3113
|
+
reqData["historicFrom"] = historicFrom;
|
|
3114
|
+
}
|
|
3115
|
+
if (historicTo) {
|
|
3116
|
+
reqData["historicTo"] = historicTo;
|
|
3117
|
+
}
|
|
3118
|
+
if (historicPoint) {
|
|
3119
|
+
reqData["historicPoint"] = historicPoint;
|
|
3120
|
+
}
|
|
3109
3121
|
const reqs = [];
|
|
3110
3122
|
if (reqIds.length > 0) {
|
|
3111
3123
|
const req = api.POST("entities", reqData, exports.Api.PrepReqParams(reqParams));
|
|
@@ -3118,7 +3130,8 @@
|
|
|
3118
3130
|
entityTypeId: null,
|
|
3119
3131
|
historicFrom: historicFrom,
|
|
3120
3132
|
historicKey: historicKey,
|
|
3121
|
-
historicTo: historicTo
|
|
3133
|
+
historicTo: historicTo,
|
|
3134
|
+
historicPoint: historicPoint
|
|
3122
3135
|
});
|
|
3123
3136
|
const prom = new Promise((res) => __awaiter(this, void 0, void 0, function* () {
|
|
3124
3137
|
try {
|
|
@@ -11158,7 +11171,7 @@
|
|
|
11158
11171
|
})(exports.DataSource || (exports.DataSource = {}));
|
|
11159
11172
|
|
|
11160
11173
|
// This is updated with the package.json version on build.
|
|
11161
|
-
const VERSION = "3.9.
|
|
11174
|
+
const VERSION = "3.9.2";
|
|
11162
11175
|
|
|
11163
11176
|
exports.VERSION = VERSION;
|
|
11164
11177
|
exports.AbstractApi = AbstractApi;
|