@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.
|
@@ -7662,7 +7662,7 @@ class STSRest01Client {
|
|
|
7662
7662
|
return this;
|
|
7663
7663
|
});
|
|
7664
7664
|
__publicField$1(this, "PostResourceAR", async (resource, errorCb) => {
|
|
7665
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7665
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources`;
|
|
7666
7666
|
return await __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "post", resource, null, null, errorCb);
|
|
7667
7667
|
});
|
|
7668
7668
|
__publicField$1(this, "PostResourceDBR", async (resource, errorCb) => {
|
|
@@ -7674,7 +7674,7 @@ class STSRest01Client {
|
|
|
7674
7674
|
return ((_a = await this.PostResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7675
7675
|
});
|
|
7676
7676
|
__publicField$1(this, "PutResourceAR", async (resource, errorCb) => {
|
|
7677
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7677
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7678
7678
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "put", resource, null, null, errorCb);
|
|
7679
7679
|
});
|
|
7680
7680
|
__publicField$1(this, "PutResourceDBR", async (resource, errorCb) => {
|
|
@@ -7686,7 +7686,7 @@ class STSRest01Client {
|
|
|
7686
7686
|
return ((_a = await this.PutResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7687
7687
|
});
|
|
7688
7688
|
__publicField$1(this, "PatchResourceAR", async (resource, errorCb) => {
|
|
7689
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7689
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7690
7690
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "patch", resource, null, null, errorCb);
|
|
7691
7691
|
});
|
|
7692
7692
|
__publicField$1(this, "PatchResourceDBR", async (resource, errorCb) => {
|
|
@@ -7698,7 +7698,7 @@ class STSRest01Client {
|
|
|
7698
7698
|
return ((_a = await this.PatchResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7699
7699
|
});
|
|
7700
7700
|
__publicField$1(this, "DeleteResourceAR", async (resource, errorCb) => {
|
|
7701
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7701
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7702
7702
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "delete", resource, null, null, errorCb);
|
|
7703
7703
|
});
|
|
7704
7704
|
__publicField$1(this, "DeleteResourceDBR", async (resource, errorCb) => {
|
|
@@ -7710,7 +7710,7 @@ class STSRest01Client {
|
|
|
7710
7710
|
return ((_a = await this.DeleteResourceDBR(resource, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7711
7711
|
});
|
|
7712
7712
|
__publicField$1(this, "GetResourceAR", async (resource, filters, errorCb) => {
|
|
7713
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7713
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}`;
|
|
7714
7714
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7715
7715
|
url = `${url}?${filters}`;
|
|
7716
7716
|
}
|
|
@@ -7725,7 +7725,7 @@ class STSRest01Client {
|
|
|
7725
7725
|
return ((_a = await this.GetResourceDBR(resource, filters, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7726
7726
|
});
|
|
7727
7727
|
__publicField$1(this, "GetResourcesAR", async (filters, errorCb) => {
|
|
7728
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7728
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources`;
|
|
7729
7729
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7730
7730
|
url = `${url}?${filters}`;
|
|
7731
7731
|
}
|
|
@@ -7740,7 +7740,7 @@ class STSRest01Client {
|
|
|
7740
7740
|
return ((_a = await this.GetResourcesDBR(filters, errorCb)) == null ? void 0 : _a.map((r) => r.resdesc)) ?? null;
|
|
7741
7741
|
});
|
|
7742
7742
|
__publicField$1(this, "PostEntityAR", async (resourceEntity, errorCb) => {
|
|
7743
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7743
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities`;
|
|
7744
7744
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "post", resourceEntity, null, null, errorCb);
|
|
7745
7745
|
});
|
|
7746
7746
|
__publicField$1(this, "PostEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7752,7 +7752,7 @@ class STSRest01Client {
|
|
|
7752
7752
|
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7753
7753
|
});
|
|
7754
7754
|
__publicField$1(this, "PutEntityAR", async (entity, errorCb) => {
|
|
7755
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7755
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${entity.resname}/entities/${entity.entname}`;
|
|
7756
7756
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "put", entity, null, null, errorCb);
|
|
7757
7757
|
});
|
|
7758
7758
|
__publicField$1(this, "PutEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7764,7 +7764,7 @@ class STSRest01Client {
|
|
|
7764
7764
|
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7765
7765
|
});
|
|
7766
7766
|
__publicField$1(this, "PatchEntityAR", async (resourceEntity, errorCb) => {
|
|
7767
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7767
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7768
7768
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "patch", resourceEntity, null, null, errorCb);
|
|
7769
7769
|
});
|
|
7770
7770
|
__publicField$1(this, "PatchEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7776,7 +7776,7 @@ class STSRest01Client {
|
|
|
7776
7776
|
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7777
7777
|
});
|
|
7778
7778
|
__publicField$1(this, "DeleteEntityAR", async (resourceEntity, errorCb) => {
|
|
7779
|
-
const url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7779
|
+
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7780
7780
|
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "delete", resourceEntity, null, null, errorCb);
|
|
7781
7781
|
});
|
|
7782
7782
|
__publicField$1(this, "DeleteEntityDBR", async (resourceEntity, errorCb) => {
|
|
@@ -7788,7 +7788,7 @@ class STSRest01Client {
|
|
|
7788
7788
|
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7789
7789
|
});
|
|
7790
7790
|
__publicField$1(this, "GetEntityAR", async (resourceEntity, filters, errorCb) => {
|
|
7791
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7791
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
7792
7792
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7793
7793
|
url = `${url}?${filters}`;
|
|
7794
7794
|
}
|
|
@@ -7803,7 +7803,7 @@ class STSRest01Client {
|
|
|
7803
7803
|
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.resdesc) ?? null;
|
|
7804
7804
|
});
|
|
7805
7805
|
__publicField$1(this, "GetEntitiesAR", async (resource, filters, errorCb) => {
|
|
7806
|
-
let url = `${__privateGet$1(this, _options2$1).endpoint}
|
|
7806
|
+
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}/entities`;
|
|
7807
7807
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7808
7808
|
url = `${url}?${filters}`;
|
|
7809
7809
|
}
|