@nsshunt/stsrunnerframework 1.0.47 → 1.0.48
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.
|
@@ -7651,7 +7651,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7651
7651
|
return this;
|
|
7652
7652
|
});
|
|
7653
7653
|
__publicField$1(this, "PostResourceAR", async (resource, errorCb) => {
|
|
7654
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7654
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources`;
|
|
7655
7655
|
return await __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "post", resource, null, null, errorCb);
|
|
7656
7656
|
});
|
|
7657
7657
|
__publicField$1(this, "PostResourceDBR", async (resource, errorCb) => {
|
|
@@ -7663,7 +7663,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7663
7663
|
return ((_a = await this.PostResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7664
7664
|
});
|
|
7665
7665
|
__publicField$1(this, "PutResourceAR", async (resource, errorCb) => {
|
|
7666
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7666
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7667
7667
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "put", resource, null, null, errorCb);
|
|
7668
7668
|
});
|
|
7669
7669
|
__publicField$1(this, "PutResourceDBR", async (resource, errorCb) => {
|
|
@@ -7675,7 +7675,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7675
7675
|
return ((_a = await this.PutResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7676
7676
|
});
|
|
7677
7677
|
__publicField$1(this, "PatchResourceAR", async (resource, errorCb) => {
|
|
7678
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7678
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7679
7679
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "patch", resource, null, null, errorCb);
|
|
7680
7680
|
});
|
|
7681
7681
|
__publicField$1(this, "PatchResourceDBR", async (resource, errorCb) => {
|
|
@@ -7687,7 +7687,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7687
7687
|
return ((_a = await this.PatchResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7688
7688
|
});
|
|
7689
7689
|
__publicField$1(this, "DeleteResourceAR", async (resource, errorCb) => {
|
|
7690
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7690
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7691
7691
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "delete", resource, null, null, errorCb);
|
|
7692
7692
|
});
|
|
7693
7693
|
__publicField$1(this, "DeleteResourceDBR", async (resource, errorCb) => {
|
|
@@ -7699,7 +7699,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7699
7699
|
return ((_a = await this.DeleteResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7700
7700
|
});
|
|
7701
7701
|
__publicField$1(this, "GetResourceAR", async (resource, filters, errorCb) => {
|
|
7702
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7702
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7703
7703
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7704
7704
|
url = `${url}?${filters}`;
|
|
7705
7705
|
}
|
|
@@ -7714,7 +7714,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7714
7714
|
return ((_a = await this.GetResourceDBR(resource, filters, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7715
7715
|
});
|
|
7716
7716
|
__publicField$1(this, "GetResourcesAR", async (filters, errorCb) => {
|
|
7717
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7717
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources`;
|
|
7718
7718
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7719
7719
|
url = `${url}?${filters}`;
|
|
7720
7720
|
}
|
|
@@ -7729,7 +7729,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7729
7729
|
return ((_a = await this.GetResourcesDBR(filters, errorCb)) == null ? void 0 : _a.map((r) => r.resdesc)) ?? null;
|
|
7730
7730
|
});
|
|
7731
7731
|
__publicField$1(this, "PostEntityAR", async (resourceEntity, errorCb) => {
|
|
7732
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7732
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities`;
|
|
7733
7733
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "post", resourceEntity, null, null, errorCb);
|
|
7734
7734
|
});
|
|
7735
7735
|
__publicField$1(this, "PostEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7741,7 +7741,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7741
7741
|
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7742
7742
|
});
|
|
7743
7743
|
__publicField$1(this, "PutEntityAR", async (entity, errorCb) => {
|
|
7744
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7744
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${entity.resname}/entities/${entity.entname}`;
|
|
7745
7745
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "put", entity, null, null, errorCb);
|
|
7746
7746
|
});
|
|
7747
7747
|
__publicField$1(this, "PutEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7753,7 +7753,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7753
7753
|
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7754
7754
|
});
|
|
7755
7755
|
__publicField$1(this, "PatchEntityAR", async (resourceEntity, errorCb) => {
|
|
7756
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7756
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7757
7757
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "patch", resourceEntity, null, null, errorCb);
|
|
7758
7758
|
});
|
|
7759
7759
|
__publicField$1(this, "PatchEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7765,7 +7765,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7765
7765
|
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7766
7766
|
});
|
|
7767
7767
|
__publicField$1(this, "DeleteEntityAR", async (resourceEntity, errorCb) => {
|
|
7768
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7768
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7769
7769
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "delete", resourceEntity, null, null, errorCb);
|
|
7770
7770
|
});
|
|
7771
7771
|
__publicField$1(this, "DeleteEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7777,7 +7777,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7777
7777
|
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7778
7778
|
});
|
|
7779
7779
|
__publicField$1(this, "GetEntityAR", async (resourceEntity, filters, errorCb) => {
|
|
7780
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7780
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7781
7781
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7782
7782
|
url = `${url}?${filters}`;
|
|
7783
7783
|
}
|
|
@@ -7792,7 +7792,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
7792
7792
|
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7793
7793
|
});
|
|
7794
7794
|
__publicField$1(this, "GetEntitiesAR", async (resource, filters, errorCb) => {
|
|
7795
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7795
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}/entities`;
|
|
7796
7796
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7797
7797
|
url = `${url}?${filters}`;
|
|
7798
7798
|
}
|