@nsshunt/stsrest01client 1.0.8 → 1.0.10
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/stsrest01client.mjs
CHANGED
|
@@ -3841,7 +3841,7 @@ class STSRest01Client {
|
|
|
3841
3841
|
});
|
|
3842
3842
|
__publicField(this, "PostEntity", async (resourceEntity, errorCb) => {
|
|
3843
3843
|
var _a;
|
|
3844
|
-
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
3844
|
+
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
3845
3845
|
});
|
|
3846
3846
|
// --- [ PUT.Entity ] -------------------------------------------------------------------------------------------------------------------
|
|
3847
3847
|
__publicField(this, "PutEntityAR", async (entity, errorCb) => {
|
|
@@ -3854,7 +3854,7 @@ class STSRest01Client {
|
|
|
3854
3854
|
});
|
|
3855
3855
|
__publicField(this, "PutEntity", async (resourceEntity, errorCb) => {
|
|
3856
3856
|
var _a;
|
|
3857
|
-
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
3857
|
+
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
3858
3858
|
});
|
|
3859
3859
|
// --- [ PATCH.Entity ] -------------------------------------------------------------------------------------------------------------------
|
|
3860
3860
|
__publicField(this, "PatchEntityAR", async (resourceEntity, errorCb) => {
|
|
@@ -3867,7 +3867,7 @@ class STSRest01Client {
|
|
|
3867
3867
|
});
|
|
3868
3868
|
__publicField(this, "PatchEntity", async (resourceEntity, errorCb) => {
|
|
3869
3869
|
var _a;
|
|
3870
|
-
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
3870
|
+
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
3871
3871
|
});
|
|
3872
3872
|
// --- [ DELETE.Entity ] -------------------------------------------------------------------------------------------------------------------
|
|
3873
3873
|
__publicField(this, "DeleteEntityAR", async (resourceEntity, errorCb) => {
|
|
@@ -3880,7 +3880,7 @@ class STSRest01Client {
|
|
|
3880
3880
|
});
|
|
3881
3881
|
__publicField(this, "DeleteEntity", async (resourceEntity, errorCb) => {
|
|
3882
3882
|
var _a;
|
|
3883
|
-
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
3883
|
+
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
3884
3884
|
});
|
|
3885
3885
|
// --- [ GET.Entity ] -------------------------------------------------------------------------------------------------------------------
|
|
3886
3886
|
__publicField(this, "GetEntityAR", async (resourceEntity, filters, errorCb) => {
|
|
@@ -3896,7 +3896,7 @@ class STSRest01Client {
|
|
|
3896
3896
|
});
|
|
3897
3897
|
__publicField(this, "GetEntity", async (resourceEntity, filters, errorCb) => {
|
|
3898
3898
|
var _a;
|
|
3899
|
-
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.
|
|
3899
|
+
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
3900
3900
|
});
|
|
3901
3901
|
// --- [ GET.Entities ] -------------------------------------------------------------------------------------------------------------------
|
|
3902
3902
|
__publicField(this, "GetEntitiesAR", async (resource, filters, errorCb) => {
|
|
@@ -3912,7 +3912,7 @@ class STSRest01Client {
|
|
|
3912
3912
|
});
|
|
3913
3913
|
__publicField(this, "GetEntities", async (resource, filters, errorCb) => {
|
|
3914
3914
|
var _a;
|
|
3915
|
-
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.
|
|
3915
|
+
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.entvalue)) ?? null;
|
|
3916
3916
|
});
|
|
3917
3917
|
__privateSet(this, _options2, options);
|
|
3918
3918
|
__privateSet(this, _axiosClient, new AxiosClient({
|