@nsshunt/stsrunnerframework 1.0.50 → 1.0.52

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.
@@ -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.resdesc) ?? null;
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.resdesc) ?? null;
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.resdesc) ?? null;
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,7 +7777,7 @@ 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.resdesc) ?? null;
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}`;
@@ -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.resdesc) ?? null;
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.resdesc)) ?? null;
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({
@@ -22951,7 +22951,7 @@ ${newlined}
22951
22951
  const resourceTestRunnerMetadata = {
22952
22952
  lastRefresh: Math.floor(Date.now() / 1e3),
22953
22953
  resname: `${STS_RF_RES_PREFIX}${worker.id}`,
22954
- data: JSON.stringify(worker.workerThreadWorkerOptions)
22954
+ data: worker.workerThreadWorkerOptions
22955
22955
  };
22956
22956
  return await __privateGet(this, _rest01Client).PostResource(resourceTestRunnerMetadata, (error) => {
22957
22957
  stsutils.defaultLogger.error(`Rest01Client:AddResource.PostResource.Error(): [${error}]`);
@@ -22962,7 +22962,7 @@ ${newlined}
22962
22962
  lastRefresh: Math.floor(Date.now() / 1e3),
22963
22963
  resname: `${STS_RF_RES_PREFIX}${workerId}`,
22964
22964
  entname: `${STS_RF_RES_ENT_PREFIX}${runner.id}`,
22965
- data: JSON.stringify(runner.asyncRunnerContext)
22965
+ data: runner.asyncRunnerContext
22966
22966
  };
22967
22967
  return await __privateGet(this, _rest01Client).PostEntity(resourceEntityTestRunnerMetadata, (error) => {
22968
22968
  stsutils.defaultLogger.error(`WorkerInstance: #AddRunner.PostEntity.Error(): [${error}]`);