@gizone/rrs-client 4.2.0-alpha.360 → 4.2.0-alpha.361

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.
@@ -986,7 +986,8 @@ export const SettingApiAxiosParamCreator = function (configuration?: Configurati
986
986
  workOrderExecutionTimeSettingsSelectByParkId: async (parkId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
987
987
  // verify required parameter 'parkId' is not null or undefined
988
988
  assertParamExists('workOrderExecutionTimeSettingsSelectByParkId', 'parkId', parkId)
989
- const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`;
989
+ const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
990
+ .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
990
991
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
991
992
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
992
993
  let baseOptions;
@@ -1002,10 +1003,6 @@ export const SettingApiAxiosParamCreator = function (configuration?: Configurati
1002
1003
  // http bearer authentication required
1003
1004
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1004
1005
 
1005
- if (parkId !== undefined) {
1006
- localVarQueryParameter['parkId'] = parkId;
1007
- }
1008
-
1009
1006
 
1010
1007
 
1011
1008
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1815,7 +1815,8 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
1815
1815
  workOrderExecutionTimeSettingsSelectByParkId: async (parkId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1816
1816
  // verify required parameter 'parkId' is not null or undefined
1817
1817
  assertParamExists('workOrderExecutionTimeSettingsSelectByParkId', 'parkId', parkId)
1818
- const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`;
1818
+ const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
1819
+ .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
1819
1820
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1820
1821
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1821
1822
  let baseOptions;
@@ -1831,10 +1832,6 @@ export const WorkOrderApiAxiosParamCreator = function (configuration?: Configura
1831
1832
  // http bearer authentication required
1832
1833
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
1833
1834
 
1834
- if (parkId !== undefined) {
1835
- localVarQueryParameter['parkId'] = parkId;
1836
- }
1837
-
1838
1835
 
1839
1836
 
1840
1837
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -807,7 +807,8 @@ const SettingApiAxiosParamCreator = function (configuration) {
807
807
  workOrderExecutionTimeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
808
808
  // verify required parameter 'parkId' is not null or undefined
809
809
  (0, common_1.assertParamExists)('workOrderExecutionTimeSettingsSelectByParkId', 'parkId', parkId);
810
- const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`;
810
+ const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
811
+ .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
811
812
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
812
813
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
813
814
  let baseOptions;
@@ -820,9 +821,6 @@ const SettingApiAxiosParamCreator = function (configuration) {
820
821
  // authentication tokenScheme required
821
822
  // http bearer authentication required
822
823
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
823
- if (parkId !== undefined) {
824
- localVarQueryParameter['parkId'] = parkId;
825
- }
826
824
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
827
825
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
828
826
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1433,7 +1433,8 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
1433
1433
  workOrderExecutionTimeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
1434
1434
  // verify required parameter 'parkId' is not null or undefined
1435
1435
  (0, common_1.assertParamExists)('workOrderExecutionTimeSettingsSelectByParkId', 'parkId', parkId);
1436
- const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`;
1436
+ const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
1437
+ .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
1437
1438
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1438
1439
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1439
1440
  let baseOptions;
@@ -1446,9 +1447,6 @@ const WorkOrderApiAxiosParamCreator = function (configuration) {
1446
1447
  // authentication tokenScheme required
1447
1448
  // http bearer authentication required
1448
1449
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1449
- if (parkId !== undefined) {
1450
- localVarQueryParameter['parkId'] = parkId;
1451
- }
1452
1450
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1453
1451
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1454
1452
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -804,7 +804,8 @@ export const SettingApiAxiosParamCreator = function (configuration) {
804
804
  workOrderExecutionTimeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
805
805
  // verify required parameter 'parkId' is not null or undefined
806
806
  assertParamExists('workOrderExecutionTimeSettingsSelectByParkId', 'parkId', parkId);
807
- const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`;
807
+ const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
808
+ .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
808
809
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
809
810
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
810
811
  let baseOptions;
@@ -817,9 +818,6 @@ export const SettingApiAxiosParamCreator = function (configuration) {
817
818
  // authentication tokenScheme required
818
819
  // http bearer authentication required
819
820
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
820
- if (parkId !== undefined) {
821
- localVarQueryParameter['parkId'] = parkId;
822
- }
823
821
  setSearchParams(localVarUrlObj, localVarQueryParameter);
824
822
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
825
823
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1430,7 +1430,8 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
1430
1430
  workOrderExecutionTimeSettingsSelectByParkId: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
1431
1431
  // verify required parameter 'parkId' is not null or undefined
1432
1432
  assertParamExists('workOrderExecutionTimeSettingsSelectByParkId', 'parkId', parkId);
1433
- const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`;
1433
+ const localVarPath = `/gizone/workOrder/executionTimeSettings/{parkId}`
1434
+ .replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
1434
1435
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1435
1436
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1436
1437
  let baseOptions;
@@ -1443,9 +1444,6 @@ export const WorkOrderApiAxiosParamCreator = function (configuration) {
1443
1444
  // authentication tokenScheme required
1444
1445
  // http bearer authentication required
1445
1446
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1446
- if (parkId !== undefined) {
1447
- localVarQueryParameter['parkId'] = parkId;
1448
- }
1449
1447
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1450
1448
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1451
1449
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gizone/rrs-client",
3
- "version": "4.2.0-alpha.360",
3
+ "version": "4.2.0-alpha.361",
4
4
  "description": "OpenAPI client for @gizone/rrs-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {