@revxui/api-clients-ts 3.0.2 → 3.0.3

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.2
1
+ # @revxui/api-clients-ts@3.0.3
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.2 --save
27
+ npm install @revxui/api-clients-ts@3.0.3 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -4750,8 +4750,6 @@ class CreativeControllerService extends BaseService {
4750
4750
  if (id === null || id === undefined) {
4751
4751
  throw new Error('Required parameter id was null or undefined when calling getCreativeById.');
4752
4752
  }
4753
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4754
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
4755
4753
  let localVarHeaders = this.defaultHeaders;
4756
4754
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4757
4755
  'application/json'
@@ -4773,11 +4771,10 @@ class CreativeControllerService extends BaseService {
4773
4771
  responseType_ = 'blob';
4774
4772
  }
4775
4773
  }
4776
- let localVarPath = `/v2/api/creatives/`;
4774
+ let localVarPath = `/v2/api/creatives/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
4777
4775
  const { basePath, withCredentials } = this.configuration;
4778
4776
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4779
4777
  context: localVarHttpContext,
4780
- params: localVarQueryParameters.toHttpParams(),
4781
4778
  responseType: responseType_,
4782
4779
  ...(withCredentials ? { withCredentials } : {}),
4783
4780
  headers: localVarHeaders,
@@ -9585,8 +9582,6 @@ class NotificationsControllerService extends BaseService {
9585
9582
  if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
9586
9583
  throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeen.');
9587
9584
  }
9588
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
9589
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'commaSeparatedIds', commaSeparatedIds, QueryParamStyle.Form, true);
9590
9585
  let localVarHeaders = this.defaultHeaders;
9591
9586
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
9592
9587
  'application/json'
@@ -9608,11 +9603,10 @@ class NotificationsControllerService extends BaseService {
9608
9603
  responseType_ = 'blob';
9609
9604
  }
9610
9605
  }
9611
- let localVarPath = `/v2/api/notifications/v2/api/notifications/seen/`;
9606
+ let localVarPath = `/v2/api/notifications/v2/api/notifications/seen/${this.configuration.encodeParam({ name: "commaSeparatedIds", value: commaSeparatedIds, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
9612
9607
  const { basePath, withCredentials } = this.configuration;
9613
9608
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
9614
9609
  context: localVarHttpContext,
9615
- params: localVarQueryParameters.toHttpParams(),
9616
9610
  responseType: responseType_,
9617
9611
  ...(withCredentials ? { withCredentials } : {}),
9618
9612
  headers: localVarHeaders,
@@ -9662,8 +9656,6 @@ class NotificationsControllerService extends BaseService {
9662
9656
  if (id === null || id === undefined) {
9663
9657
  throw new Error('Required parameter id was null or undefined when calling resolveNotification.');
9664
9658
  }
9665
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
9666
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
9667
9659
  let localVarHeaders = this.defaultHeaders;
9668
9660
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
9669
9661
  'application/json'
@@ -9685,11 +9677,10 @@ class NotificationsControllerService extends BaseService {
9685
9677
  responseType_ = 'blob';
9686
9678
  }
9687
9679
  }
9688
- let localVarPath = `/v2/api/notifications/v2/api/notifications/resolve/`;
9680
+ let localVarPath = `/v2/api/notifications/v2/api/notifications/resolve/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
9689
9681
  const { basePath, withCredentials } = this.configuration;
9690
9682
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
9691
9683
  context: localVarHttpContext,
9692
- params: localVarQueryParameters.toHttpParams(),
9693
9684
  responseType: responseType_,
9694
9685
  ...(withCredentials ? { withCredentials } : {}),
9695
9686
  headers: localVarHeaders,
@@ -9898,8 +9889,6 @@ class PixelControllerService extends BaseService {
9898
9889
  if (id === null || id === undefined) {
9899
9890
  throw new Error('Required parameter id was null or undefined when calling getTrackingCode.');
9900
9891
  }
9901
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
9902
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
9903
9892
  let localVarHeaders = this.defaultHeaders;
9904
9893
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
9905
9894
  'application/json'
@@ -9921,11 +9910,10 @@ class PixelControllerService extends BaseService {
9921
9910
  responseType_ = 'blob';
9922
9911
  }
9923
9912
  }
9924
- let localVarPath = `/v2/api/pixels//trackingcode`;
9913
+ let localVarPath = `/v2/api/pixels/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/trackingcode`;
9925
9914
  const { basePath, withCredentials } = this.configuration;
9926
9915
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
9927
9916
  context: localVarHttpContext,
9928
- params: localVarQueryParameters.toHttpParams(),
9929
9917
  responseType: responseType_,
9930
9918
  ...(withCredentials ? { withCredentials } : {}),
9931
9919
  headers: localVarHeaders,