@revxui/api-clients-ts 3.0.3 → 3.0.4

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @revxui/api-clients-ts@3.0.3
1
+ # @revxui/api-clients-ts@3.0.4
2
2
 
3
3
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @revxui/api-clients-ts@3.0.3 --save
27
+ npm install @revxui/api-clients-ts@3.0.4 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -4337,8 +4337,6 @@ class ClickDestinationControllerService extends BaseService {
4337
4337
  if (clickDestination === null || clickDestination === undefined) {
4338
4338
  throw new Error('Required parameter clickDestination was null or undefined when calling updateClickDestination.');
4339
4339
  }
4340
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4341
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
4342
4340
  let localVarHeaders = this.defaultHeaders;
4343
4341
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4344
4342
  'application/json'
@@ -4368,12 +4366,11 @@ class ClickDestinationControllerService extends BaseService {
4368
4366
  responseType_ = 'blob';
4369
4367
  }
4370
4368
  }
4371
- let localVarPath = `/v2/api/clickdestinations/`;
4369
+ let localVarPath = `/v2/api/clickdestinations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
4372
4370
  const { basePath, withCredentials } = this.configuration;
4373
4371
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
4374
4372
  context: localVarHttpContext,
4375
4373
  body: clickDestination,
4376
- params: localVarQueryParameters.toHttpParams(),
4377
4374
  responseType: responseType_,
4378
4375
  ...(withCredentials ? { withCredentials } : {}),
4379
4376
  headers: localVarHeaders,
@@ -9979,8 +9976,6 @@ class PixelControllerService extends BaseService {
9979
9976
  if (pixel === null || pixel === undefined) {
9980
9977
  throw new Error('Required parameter pixel was null or undefined when calling updatePixelById.');
9981
9978
  }
9982
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
9983
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
9984
9979
  let localVarHeaders = this.defaultHeaders;
9985
9980
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
9986
9981
  'application/json'
@@ -10010,12 +10005,11 @@ class PixelControllerService extends BaseService {
10010
10005
  responseType_ = 'blob';
10011
10006
  }
10012
10007
  }
10013
- let localVarPath = `/v2/api/pixels/`;
10008
+ let localVarPath = `/v2/api/pixels/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
10014
10009
  const { basePath, withCredentials } = this.configuration;
10015
10010
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
10016
10011
  context: localVarHttpContext,
10017
10012
  body: pixel,
10018
- params: localVarQueryParameters.toHttpParams(),
10019
10013
  responseType: responseType_,
10020
10014
  ...(withCredentials ? { withCredentials } : {}),
10021
10015
  headers: localVarHeaders,