@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.
|
@@ -7717,7 +7717,7 @@ class STSRest01Client {
|
|
|
7717
7717
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7718
7718
|
url = `${url}?${filters}`;
|
|
7719
7719
|
}
|
|
7720
|
-
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get",
|
|
7720
|
+
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
|
|
7721
7721
|
});
|
|
7722
7722
|
__publicField$1(this, "GetResourceDBR", async (resource, filters, errorCb) => {
|
|
7723
7723
|
var _a;
|
|
@@ -7752,7 +7752,7 @@ class STSRest01Client {
|
|
|
7752
7752
|
});
|
|
7753
7753
|
__publicField$1(this, "PostEntity", async (resourceEntity, errorCb) => {
|
|
7754
7754
|
var _a;
|
|
7755
|
-
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7755
|
+
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7756
7756
|
});
|
|
7757
7757
|
__publicField$1(this, "PutEntityAR", async (entity, errorCb) => {
|
|
7758
7758
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${entity.resname}/entities/${entity.entname}`;
|
|
@@ -7764,7 +7764,7 @@ class STSRest01Client {
|
|
|
7764
7764
|
});
|
|
7765
7765
|
__publicField$1(this, "PutEntity", async (resourceEntity, errorCb) => {
|
|
7766
7766
|
var _a;
|
|
7767
|
-
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7767
|
+
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7768
7768
|
});
|
|
7769
7769
|
__publicField$1(this, "PatchEntityAR", async (resourceEntity, errorCb) => {
|
|
7770
7770
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
@@ -7776,7 +7776,7 @@ class STSRest01Client {
|
|
|
7776
7776
|
});
|
|
7777
7777
|
__publicField$1(this, "PatchEntity", async (resourceEntity, errorCb) => {
|
|
7778
7778
|
var _a;
|
|
7779
|
-
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7779
|
+
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7780
7780
|
});
|
|
7781
7781
|
__publicField$1(this, "DeleteEntityAR", async (resourceEntity, errorCb) => {
|
|
7782
7782
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
@@ -7788,14 +7788,14 @@ class STSRest01Client {
|
|
|
7788
7788
|
});
|
|
7789
7789
|
__publicField$1(this, "DeleteEntity", async (resourceEntity, errorCb) => {
|
|
7790
7790
|
var _a;
|
|
7791
|
-
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7791
|
+
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7792
7792
|
});
|
|
7793
7793
|
__publicField$1(this, "GetEntityAR", async (resourceEntity, filters, errorCb) => {
|
|
7794
7794
|
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7795
7795
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7796
7796
|
url = `${url}?${filters}`;
|
|
7797
7797
|
}
|
|
7798
|
-
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get",
|
|
7798
|
+
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
|
|
7799
7799
|
});
|
|
7800
7800
|
__publicField$1(this, "GetEntityDBR", async (resourceEntity, filters, errorCb) => {
|
|
7801
7801
|
var _a;
|
|
@@ -7803,7 +7803,7 @@ class STSRest01Client {
|
|
|
7803
7803
|
});
|
|
7804
7804
|
__publicField$1(this, "GetEntity", async (resourceEntity, filters, errorCb) => {
|
|
7805
7805
|
var _a;
|
|
7806
|
-
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.
|
|
7806
|
+
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7807
7807
|
});
|
|
7808
7808
|
__publicField$1(this, "GetEntitiesAR", async (resource, filters, errorCb) => {
|
|
7809
7809
|
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}/entities`;
|
|
@@ -7818,7 +7818,7 @@ class STSRest01Client {
|
|
|
7818
7818
|
});
|
|
7819
7819
|
__publicField$1(this, "GetEntities", async (resource, filters, errorCb) => {
|
|
7820
7820
|
var _a;
|
|
7821
|
-
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.
|
|
7821
|
+
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.entvalue)) ?? null;
|
|
7822
7822
|
});
|
|
7823
7823
|
__privateSet$1(this, _options2$1, options);
|
|
7824
7824
|
__privateSet$1(this, _axiosClient, new AxiosClient({
|