@revxui/api-clients-ts 3.0.1 → 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.1
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.1 --save
27
+ npm install @revxui/api-clients-ts@3.0.3 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -4260,8 +4260,6 @@ class ClickDestinationControllerService extends BaseService {
4260
4260
  if (id === null || id === undefined) {
4261
4261
  throw new Error('Required parameter id was null or undefined when calling getClickDestinationById.');
4262
4262
  }
4263
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4264
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
4265
4263
  let localVarHeaders = this.defaultHeaders;
4266
4264
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4267
4265
  'application/json'
@@ -4283,11 +4281,10 @@ class ClickDestinationControllerService extends BaseService {
4283
4281
  responseType_ = 'blob';
4284
4282
  }
4285
4283
  }
4286
- let localVarPath = `/v2/api/clickdestinations/`;
4284
+ let localVarPath = `/v2/api/clickdestinations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
4287
4285
  const { basePath, withCredentials } = this.configuration;
4288
4286
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4289
4287
  context: localVarHttpContext,
4290
- params: localVarQueryParameters.toHttpParams(),
4291
4288
  responseType: responseType_,
4292
4289
  ...(withCredentials ? { withCredentials } : {}),
4293
4290
  headers: localVarHeaders,
@@ -4753,8 +4750,6 @@ class CreativeControllerService extends BaseService {
4753
4750
  if (id === null || id === undefined) {
4754
4751
  throw new Error('Required parameter id was null or undefined when calling getCreativeById.');
4755
4752
  }
4756
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4757
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
4758
4753
  let localVarHeaders = this.defaultHeaders;
4759
4754
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
4760
4755
  'application/json'
@@ -4776,11 +4771,10 @@ class CreativeControllerService extends BaseService {
4776
4771
  responseType_ = 'blob';
4777
4772
  }
4778
4773
  }
4779
- 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" })}`;
4780
4775
  const { basePath, withCredentials } = this.configuration;
4781
4776
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4782
4777
  context: localVarHttpContext,
4783
- params: localVarQueryParameters.toHttpParams(),
4784
4778
  responseType: responseType_,
4785
4779
  ...(withCredentials ? { withCredentials } : {}),
4786
4780
  headers: localVarHeaders,
@@ -9588,8 +9582,6 @@ class NotificationsControllerService extends BaseService {
9588
9582
  if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
9589
9583
  throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeen.');
9590
9584
  }
9591
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
9592
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'commaSeparatedIds', commaSeparatedIds, QueryParamStyle.Form, true);
9593
9585
  let localVarHeaders = this.defaultHeaders;
9594
9586
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
9595
9587
  'application/json'
@@ -9611,11 +9603,10 @@ class NotificationsControllerService extends BaseService {
9611
9603
  responseType_ = 'blob';
9612
9604
  }
9613
9605
  }
9614
- 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 })}`;
9615
9607
  const { basePath, withCredentials } = this.configuration;
9616
9608
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
9617
9609
  context: localVarHttpContext,
9618
- params: localVarQueryParameters.toHttpParams(),
9619
9610
  responseType: responseType_,
9620
9611
  ...(withCredentials ? { withCredentials } : {}),
9621
9612
  headers: localVarHeaders,
@@ -9665,8 +9656,6 @@ class NotificationsControllerService extends BaseService {
9665
9656
  if (id === null || id === undefined) {
9666
9657
  throw new Error('Required parameter id was null or undefined when calling resolveNotification.');
9667
9658
  }
9668
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
9669
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
9670
9659
  let localVarHeaders = this.defaultHeaders;
9671
9660
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
9672
9661
  'application/json'
@@ -9688,11 +9677,10 @@ class NotificationsControllerService extends BaseService {
9688
9677
  responseType_ = 'blob';
9689
9678
  }
9690
9679
  }
9691
- 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" })}`;
9692
9681
  const { basePath, withCredentials } = this.configuration;
9693
9682
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
9694
9683
  context: localVarHttpContext,
9695
- params: localVarQueryParameters.toHttpParams(),
9696
9684
  responseType: responseType_,
9697
9685
  ...(withCredentials ? { withCredentials } : {}),
9698
9686
  headers: localVarHeaders,
@@ -9901,8 +9889,6 @@ class PixelControllerService extends BaseService {
9901
9889
  if (id === null || id === undefined) {
9902
9890
  throw new Error('Required parameter id was null or undefined when calling getTrackingCode.');
9903
9891
  }
9904
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
9905
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
9906
9892
  let localVarHeaders = this.defaultHeaders;
9907
9893
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
9908
9894
  'application/json'
@@ -9924,11 +9910,10 @@ class PixelControllerService extends BaseService {
9924
9910
  responseType_ = 'blob';
9925
9911
  }
9926
9912
  }
9927
- 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`;
9928
9914
  const { basePath, withCredentials } = this.configuration;
9929
9915
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
9930
9916
  context: localVarHttpContext,
9931
- params: localVarQueryParameters.toHttpParams(),
9932
9917
  responseType: responseType_,
9933
9918
  ...(withCredentials ? { withCredentials } : {}),
9934
9919
  headers: localVarHeaders,