@revxui/api-clients-ts 3.0.2 → 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.
|
|
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.
|
|
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,
|
|
@@ -4750,8 +4747,6 @@ class CreativeControllerService extends BaseService {
|
|
|
4750
4747
|
if (id === null || id === undefined) {
|
|
4751
4748
|
throw new Error('Required parameter id was null or undefined when calling getCreativeById.');
|
|
4752
4749
|
}
|
|
4753
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4754
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
4755
4750
|
let localVarHeaders = this.defaultHeaders;
|
|
4756
4751
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4757
4752
|
'application/json'
|
|
@@ -4773,11 +4768,10 @@ class CreativeControllerService extends BaseService {
|
|
|
4773
4768
|
responseType_ = 'blob';
|
|
4774
4769
|
}
|
|
4775
4770
|
}
|
|
4776
|
-
let localVarPath = `/v2/api/creatives
|
|
4771
|
+
let localVarPath = `/v2/api/creatives/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
4777
4772
|
const { basePath, withCredentials } = this.configuration;
|
|
4778
4773
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4779
4774
|
context: localVarHttpContext,
|
|
4780
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
4781
4775
|
responseType: responseType_,
|
|
4782
4776
|
...(withCredentials ? { withCredentials } : {}),
|
|
4783
4777
|
headers: localVarHeaders,
|
|
@@ -9585,8 +9579,6 @@ class NotificationsControllerService extends BaseService {
|
|
|
9585
9579
|
if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
|
|
9586
9580
|
throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeen.');
|
|
9587
9581
|
}
|
|
9588
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9589
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'commaSeparatedIds', commaSeparatedIds, QueryParamStyle.Form, true);
|
|
9590
9582
|
let localVarHeaders = this.defaultHeaders;
|
|
9591
9583
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9592
9584
|
'application/json'
|
|
@@ -9608,11 +9600,10 @@ class NotificationsControllerService extends BaseService {
|
|
|
9608
9600
|
responseType_ = 'blob';
|
|
9609
9601
|
}
|
|
9610
9602
|
}
|
|
9611
|
-
let localVarPath = `/v2/api/notifications/v2/api/notifications/seen
|
|
9603
|
+
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
9604
|
const { basePath, withCredentials } = this.configuration;
|
|
9613
9605
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
9614
9606
|
context: localVarHttpContext,
|
|
9615
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
9616
9607
|
responseType: responseType_,
|
|
9617
9608
|
...(withCredentials ? { withCredentials } : {}),
|
|
9618
9609
|
headers: localVarHeaders,
|
|
@@ -9662,8 +9653,6 @@ class NotificationsControllerService extends BaseService {
|
|
|
9662
9653
|
if (id === null || id === undefined) {
|
|
9663
9654
|
throw new Error('Required parameter id was null or undefined when calling resolveNotification.');
|
|
9664
9655
|
}
|
|
9665
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9666
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
9667
9656
|
let localVarHeaders = this.defaultHeaders;
|
|
9668
9657
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9669
9658
|
'application/json'
|
|
@@ -9685,11 +9674,10 @@ class NotificationsControllerService extends BaseService {
|
|
|
9685
9674
|
responseType_ = 'blob';
|
|
9686
9675
|
}
|
|
9687
9676
|
}
|
|
9688
|
-
let localVarPath = `/v2/api/notifications/v2/api/notifications/resolve
|
|
9677
|
+
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
9678
|
const { basePath, withCredentials } = this.configuration;
|
|
9690
9679
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
9691
9680
|
context: localVarHttpContext,
|
|
9692
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
9693
9681
|
responseType: responseType_,
|
|
9694
9682
|
...(withCredentials ? { withCredentials } : {}),
|
|
9695
9683
|
headers: localVarHeaders,
|
|
@@ -9898,8 +9886,6 @@ class PixelControllerService extends BaseService {
|
|
|
9898
9886
|
if (id === null || id === undefined) {
|
|
9899
9887
|
throw new Error('Required parameter id was null or undefined when calling getTrackingCode.');
|
|
9900
9888
|
}
|
|
9901
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9902
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
9903
9889
|
let localVarHeaders = this.defaultHeaders;
|
|
9904
9890
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9905
9891
|
'application/json'
|
|
@@ -9921,11 +9907,10 @@ class PixelControllerService extends BaseService {
|
|
|
9921
9907
|
responseType_ = 'blob';
|
|
9922
9908
|
}
|
|
9923
9909
|
}
|
|
9924
|
-
let localVarPath = `/v2/api/pixels
|
|
9910
|
+
let localVarPath = `/v2/api/pixels/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/trackingcode`;
|
|
9925
9911
|
const { basePath, withCredentials } = this.configuration;
|
|
9926
9912
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
9927
9913
|
context: localVarHttpContext,
|
|
9928
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
9929
9914
|
responseType: responseType_,
|
|
9930
9915
|
...(withCredentials ? { withCredentials } : {}),
|
|
9931
9916
|
headers: localVarHeaders,
|
|
@@ -9991,8 +9976,6 @@ class PixelControllerService extends BaseService {
|
|
|
9991
9976
|
if (pixel === null || pixel === undefined) {
|
|
9992
9977
|
throw new Error('Required parameter pixel was null or undefined when calling updatePixelById.');
|
|
9993
9978
|
}
|
|
9994
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9995
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
9996
9979
|
let localVarHeaders = this.defaultHeaders;
|
|
9997
9980
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9998
9981
|
'application/json'
|
|
@@ -10022,12 +10005,11 @@ class PixelControllerService extends BaseService {
|
|
|
10022
10005
|
responseType_ = 'blob';
|
|
10023
10006
|
}
|
|
10024
10007
|
}
|
|
10025
|
-
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" })}`;
|
|
10026
10009
|
const { basePath, withCredentials } = this.configuration;
|
|
10027
10010
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
10028
10011
|
context: localVarHttpContext,
|
|
10029
10012
|
body: pixel,
|
|
10030
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
10031
10013
|
responseType: responseType_,
|
|
10032
10014
|
...(withCredentials ? { withCredentials } : {}),
|
|
10033
10015
|
headers: localVarHeaders,
|