@tiba-spark/client-shared-lib 25.3.0-877 → 25.3.0-880
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/esm2022/libraries/service-proxy/cloud-service-proxies.mjs +15 -3
- package/fesm2022/tiba-spark-client-shared-lib.mjs +14 -2
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/service-proxy/cloud-service-proxies.d.ts +5 -1
- package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2879,10 +2879,20 @@ class BackofficeServiceProxy {
|
|
|
2879
2879
|
return of(null);
|
|
2880
2880
|
}
|
|
2881
2881
|
/**
|
|
2882
|
+
* @param tenantIds (optional)
|
|
2883
|
+
* @param varIds (optional)
|
|
2882
2884
|
* @return Success
|
|
2883
2885
|
*/
|
|
2884
|
-
getBackofficeApiStats() {
|
|
2885
|
-
let url_ = this.baseUrl + "/api/services/backoffice/stats";
|
|
2886
|
+
getBackofficeApiStats(tenantIds, varIds) {
|
|
2887
|
+
let url_ = this.baseUrl + "/api/services/backoffice/stats?";
|
|
2888
|
+
if (tenantIds === null)
|
|
2889
|
+
throw new Error("The parameter 'tenantIds' cannot be null.");
|
|
2890
|
+
else if (tenantIds !== undefined)
|
|
2891
|
+
url_ += "tenantIds=" + encodeURIComponent("" + tenantIds) + "&";
|
|
2892
|
+
if (varIds === null)
|
|
2893
|
+
throw new Error("The parameter 'varIds' cannot be null.");
|
|
2894
|
+
else if (varIds !== undefined)
|
|
2895
|
+
url_ += "varIds=" + encodeURIComponent("" + varIds) + "&";
|
|
2886
2896
|
url_ = url_.replace(/[?&]$/, "");
|
|
2887
2897
|
let options_ = {
|
|
2888
2898
|
observe: "response",
|
|
@@ -13881,6 +13891,7 @@ class CreateVendorIntegrationCommand {
|
|
|
13881
13891
|
init(_data) {
|
|
13882
13892
|
if (_data) {
|
|
13883
13893
|
this.vendorId = _data["vendorId"];
|
|
13894
|
+
this.tenantId = _data["tenantId"];
|
|
13884
13895
|
if (Array.isArray(_data["vendorRoles"])) {
|
|
13885
13896
|
this.vendorRoles = [];
|
|
13886
13897
|
for (let item of _data["vendorRoles"])
|
|
@@ -13902,6 +13913,7 @@ class CreateVendorIntegrationCommand {
|
|
|
13902
13913
|
toJSON(data) {
|
|
13903
13914
|
data = typeof data === 'object' ? data : {};
|
|
13904
13915
|
data["vendorId"] = this.vendorId;
|
|
13916
|
+
data["tenantId"] = this.tenantId;
|
|
13905
13917
|
if (Array.isArray(this.vendorRoles)) {
|
|
13906
13918
|
data["vendorRoles"] = [];
|
|
13907
13919
|
for (let item of this.vendorRoles)
|