@tiba-spark/client-shared-lib 10.3.0-905 → 10.3.0-912

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.
@@ -16591,47 +16591,31 @@ class AccountServiceProxy {
16591
16591
  return of(null);
16592
16592
  }
16593
16593
  /**
16594
- * @param companyId (optional)
16595
16594
  * @param parkId (optional)
16595
+ * @param companyId (optional)
16596
16596
  * @param appModule (optional)
16597
16597
  * @param subCompanyId (optional)
16598
- * @param permittedCompaniesFilter_PermittedCompanyIds (optional)
16599
- * @param permittedCompaniesFilter_PermittedSubCompanyIds (optional)
16600
- * @param permittedCompaniesFilter_AllPermitted (optional)
16601
- * @param permittedCompaniesFilter_AllSubCompaniesPermitted (optional)
16602
16598
  * @return Success
16603
16599
  */
16604
- getCounters(companyId, parkId, appModule, subCompanyId, permittedCompaniesFilter_PermittedCompanyIds, permittedCompaniesFilter_PermittedSubCompanyIds, permittedCompaniesFilter_AllPermitted, permittedCompaniesFilter_AllSubCompaniesPermitted, guid) {
16600
+ getCounters(parkId, companyId, appModule, subCompanyId, guid) {
16605
16601
  let url_ = this.baseUrl + "/api/services/sp/{guid}/account/counters?";
16606
16602
  if (guid === undefined || guid === null)
16607
16603
  throw new Error("The parameter 'guid' must be defined.");
16608
16604
  url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
16609
- if (companyId === null)
16610
- throw new Error("The parameter 'companyId' cannot be null.");
16611
- else if (companyId !== undefined)
16612
- url_ += "CompanyId=" + encodeURIComponent("" + companyId) + "&";
16613
16605
  if (parkId === null)
16614
16606
  throw new Error("The parameter 'parkId' cannot be null.");
16615
16607
  else if (parkId !== undefined)
16616
- url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
16608
+ url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
16609
+ if (companyId === null)
16610
+ throw new Error("The parameter 'companyId' cannot be null.");
16611
+ else if (companyId !== undefined)
16612
+ url_ += "companyId=" + encodeURIComponent("" + companyId) + "&";
16617
16613
  if (appModule === null)
16618
16614
  throw new Error("The parameter 'appModule' cannot be null.");
16619
16615
  else if (appModule !== undefined)
16620
- url_ += "AppModule=" + encodeURIComponent("" + appModule) + "&";
16616
+ url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
16621
16617
  if (subCompanyId !== undefined && subCompanyId !== null)
16622
- url_ += "SubCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
16623
- if (permittedCompaniesFilter_PermittedCompanyIds !== undefined && permittedCompaniesFilter_PermittedCompanyIds !== null)
16624
- permittedCompaniesFilter_PermittedCompanyIds && permittedCompaniesFilter_PermittedCompanyIds.forEach(item => { url_ += "PermittedCompaniesFilter.PermittedCompanyIds=" + encodeURIComponent("" + item) + "&"; });
16625
- if (permittedCompaniesFilter_PermittedSubCompanyIds !== undefined && permittedCompaniesFilter_PermittedSubCompanyIds !== null)
16626
- permittedCompaniesFilter_PermittedSubCompanyIds && permittedCompaniesFilter_PermittedSubCompanyIds.forEach(item => { url_ += "PermittedCompaniesFilter.PermittedSubCompanyIds=" + encodeURIComponent("" + item) + "&"; });
16627
- if (permittedCompaniesFilter_AllPermitted === null)
16628
- throw new Error("The parameter 'permittedCompaniesFilter_AllPermitted' cannot be null.");
16629
- else if (permittedCompaniesFilter_AllPermitted !== undefined)
16630
- url_ += "PermittedCompaniesFilter.AllPermitted=" + encodeURIComponent("" + permittedCompaniesFilter_AllPermitted) + "&";
16631
- if (permittedCompaniesFilter_AllSubCompaniesPermitted === null)
16632
- throw new Error("The parameter 'permittedCompaniesFilter_AllSubCompaniesPermitted' cannot be null.");
16633
- else if (permittedCompaniesFilter_AllSubCompaniesPermitted !== undefined)
16634
- url_ += "PermittedCompaniesFilter.AllSubCompaniesPermitted=" + encodeURIComponent("" + permittedCompaniesFilter_AllSubCompaniesPermitted) + "&";
16618
+ url_ += "subCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
16635
16619
  url_ = url_.replace(/[?&]$/, "");
16636
16620
  let options_ = {
16637
16621
  observe: "response",