@nsshunt/stsrunnerframework 1.0.49 → 1.0.51
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.
|
@@ -7706,7 +7706,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7706
7706
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7707
7707
|
url = `${url}?${filters}`;
|
|
7708
7708
|
}
|
|
7709
|
-
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get",
|
|
7709
|
+
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
|
|
7710
7710
|
});
|
|
7711
7711
|
__publicField$1(this, "GetResourceDBR", async (resource, filters, errorCb) => {
|
|
7712
7712
|
var _a;
|
|
@@ -7741,7 +7741,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7741
7741
|
});
|
|
7742
7742
|
__publicField$1(this, "PostEntity", async (resourceEntity, errorCb) => {
|
|
7743
7743
|
var _a;
|
|
7744
|
-
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7744
|
+
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7745
7745
|
});
|
|
7746
7746
|
__publicField$1(this, "PutEntityAR", async (entity, errorCb) => {
|
|
7747
7747
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${entity.resname}/entities/${entity.entname}`;
|
|
@@ -7753,7 +7753,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7753
7753
|
});
|
|
7754
7754
|
__publicField$1(this, "PutEntity", async (resourceEntity, errorCb) => {
|
|
7755
7755
|
var _a;
|
|
7756
|
-
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7756
|
+
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7757
7757
|
});
|
|
7758
7758
|
__publicField$1(this, "PatchEntityAR", async (resourceEntity, errorCb) => {
|
|
7759
7759
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
@@ -7765,7 +7765,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7765
7765
|
});
|
|
7766
7766
|
__publicField$1(this, "PatchEntity", async (resourceEntity, errorCb) => {
|
|
7767
7767
|
var _a;
|
|
7768
|
-
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7768
|
+
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7769
7769
|
});
|
|
7770
7770
|
__publicField$1(this, "DeleteEntityAR", async (resourceEntity, errorCb) => {
|
|
7771
7771
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
@@ -7777,14 +7777,14 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7777
7777
|
});
|
|
7778
7778
|
__publicField$1(this, "DeleteEntity", async (resourceEntity, errorCb) => {
|
|
7779
7779
|
var _a;
|
|
7780
|
-
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7780
|
+
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7781
7781
|
});
|
|
7782
7782
|
__publicField$1(this, "GetEntityAR", async (resourceEntity, filters, errorCb) => {
|
|
7783
7783
|
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7784
7784
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7785
7785
|
url = `${url}?${filters}`;
|
|
7786
7786
|
}
|
|
7787
|
-
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get",
|
|
7787
|
+
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
|
|
7788
7788
|
});
|
|
7789
7789
|
__publicField$1(this, "GetEntityDBR", async (resourceEntity, filters, errorCb) => {
|
|
7790
7790
|
var _a;
|
|
@@ -7792,7 +7792,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7792
7792
|
});
|
|
7793
7793
|
__publicField$1(this, "GetEntity", async (resourceEntity, filters, errorCb) => {
|
|
7794
7794
|
var _a;
|
|
7795
|
-
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.
|
|
7795
|
+
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7796
7796
|
});
|
|
7797
7797
|
__publicField$1(this, "GetEntitiesAR", async (resource, filters, errorCb) => {
|
|
7798
7798
|
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}/entities`;
|
|
@@ -7807,7 +7807,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7807
7807
|
});
|
|
7808
7808
|
__publicField$1(this, "GetEntities", async (resource, filters, errorCb) => {
|
|
7809
7809
|
var _a;
|
|
7810
|
-
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.
|
|
7810
|
+
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.entvalue)) ?? null;
|
|
7811
7811
|
});
|
|
7812
7812
|
__privateSet$1(this, _options2$1, options);
|
|
7813
7813
|
__privateSet$1(this, _axiosClient, new AxiosClient({
|