@revxui/api-clients-ts 3.0.4 → 3.0.6
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 +2 -2
- package/fesm2022/revxui-api-clients-ts.mjs +211 -10
- package/fesm2022/revxui-api-clients-ts.mjs.map +1 -1
- package/index.d.ts +209 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @revxui/api-clients-ts@3.0.
|
|
1
|
+
# @revxui/api-clients-ts@3.0.6
|
|
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.6 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -316,7 +316,7 @@ class Configuration {
|
|
|
316
316
|
* Do not edit the class manually.
|
|
317
317
|
*/
|
|
318
318
|
class BaseService {
|
|
319
|
-
basePath = 'https://
|
|
319
|
+
basePath = 'https://apiv2stage3.atomex.net';
|
|
320
320
|
defaultHeaders = new HttpHeaders();
|
|
321
321
|
configuration;
|
|
322
322
|
encoder;
|
|
@@ -4260,6 +4260,8 @@ 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);
|
|
4263
4265
|
let localVarHeaders = this.defaultHeaders;
|
|
4264
4266
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4265
4267
|
'application/json'
|
|
@@ -4281,10 +4283,11 @@ class ClickDestinationControllerService extends BaseService {
|
|
|
4281
4283
|
responseType_ = 'blob';
|
|
4282
4284
|
}
|
|
4283
4285
|
}
|
|
4284
|
-
let localVarPath = `/v2/api/clickdestinations
|
|
4286
|
+
let localVarPath = `/v2/api/clickdestinations/`;
|
|
4285
4287
|
const { basePath, withCredentials } = this.configuration;
|
|
4286
4288
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4287
4289
|
context: localVarHttpContext,
|
|
4290
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
4288
4291
|
responseType: responseType_,
|
|
4289
4292
|
...(withCredentials ? { withCredentials } : {}),
|
|
4290
4293
|
headers: localVarHeaders,
|
|
@@ -4337,6 +4340,8 @@ class ClickDestinationControllerService extends BaseService {
|
|
|
4337
4340
|
if (clickDestination === null || clickDestination === undefined) {
|
|
4338
4341
|
throw new Error('Required parameter clickDestination was null or undefined when calling updateClickDestination.');
|
|
4339
4342
|
}
|
|
4343
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4344
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
4340
4345
|
let localVarHeaders = this.defaultHeaders;
|
|
4341
4346
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4342
4347
|
'application/json'
|
|
@@ -4366,11 +4371,12 @@ class ClickDestinationControllerService extends BaseService {
|
|
|
4366
4371
|
responseType_ = 'blob';
|
|
4367
4372
|
}
|
|
4368
4373
|
}
|
|
4369
|
-
let localVarPath = `/v2/api/clickdestinations
|
|
4374
|
+
let localVarPath = `/v2/api/clickdestinations/`;
|
|
4370
4375
|
const { basePath, withCredentials } = this.configuration;
|
|
4371
4376
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
4372
4377
|
context: localVarHttpContext,
|
|
4373
4378
|
body: clickDestination,
|
|
4379
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
4374
4380
|
responseType: responseType_,
|
|
4375
4381
|
...(withCredentials ? { withCredentials } : {}),
|
|
4376
4382
|
headers: localVarHeaders,
|
|
@@ -4747,6 +4753,8 @@ class CreativeControllerService extends BaseService {
|
|
|
4747
4753
|
if (id === null || id === undefined) {
|
|
4748
4754
|
throw new Error('Required parameter id was null or undefined when calling getCreativeById.');
|
|
4749
4755
|
}
|
|
4756
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4757
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
4750
4758
|
let localVarHeaders = this.defaultHeaders;
|
|
4751
4759
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4752
4760
|
'application/json'
|
|
@@ -4768,10 +4776,11 @@ class CreativeControllerService extends BaseService {
|
|
|
4768
4776
|
responseType_ = 'blob';
|
|
4769
4777
|
}
|
|
4770
4778
|
}
|
|
4771
|
-
let localVarPath = `/v2/api/creatives
|
|
4779
|
+
let localVarPath = `/v2/api/creatives/`;
|
|
4772
4780
|
const { basePath, withCredentials } = this.configuration;
|
|
4773
4781
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4774
4782
|
context: localVarHttpContext,
|
|
4783
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
4775
4784
|
responseType: responseType_,
|
|
4776
4785
|
...(withCredentials ? { withCredentials } : {}),
|
|
4777
4786
|
headers: localVarHeaders,
|
|
@@ -7340,9 +7349,9 @@ class DCOVideoSettingsControllerService extends BaseService {
|
|
|
7340
7349
|
reportProgress: reportProgress
|
|
7341
7350
|
});
|
|
7342
7351
|
}
|
|
7343
|
-
|
|
7352
|
+
getTemplates1(advertiserId, hasPromoVideo, hasPromoBanner, hasBackgroundImage, observe = 'body', reportProgress = false, options) {
|
|
7344
7353
|
if (advertiserId === null || advertiserId === undefined) {
|
|
7345
|
-
throw new Error('Required parameter advertiserId was null or undefined when calling
|
|
7354
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getTemplates1.');
|
|
7346
7355
|
}
|
|
7347
7356
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
7348
7357
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'advertiserId', advertiserId, QueryParamStyle.Form, true);
|
|
@@ -9579,6 +9588,8 @@ class NotificationsControllerService extends BaseService {
|
|
|
9579
9588
|
if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
|
|
9580
9589
|
throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeen.');
|
|
9581
9590
|
}
|
|
9591
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9592
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'commaSeparatedIds', commaSeparatedIds, QueryParamStyle.Form, true);
|
|
9582
9593
|
let localVarHeaders = this.defaultHeaders;
|
|
9583
9594
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9584
9595
|
'application/json'
|
|
@@ -9600,10 +9611,11 @@ class NotificationsControllerService extends BaseService {
|
|
|
9600
9611
|
responseType_ = 'blob';
|
|
9601
9612
|
}
|
|
9602
9613
|
}
|
|
9603
|
-
let localVarPath = `/v2/api/notifications/v2/api/notifications/seen
|
|
9614
|
+
let localVarPath = `/v2/api/notifications/v2/api/notifications/seen/`;
|
|
9604
9615
|
const { basePath, withCredentials } = this.configuration;
|
|
9605
9616
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
9606
9617
|
context: localVarHttpContext,
|
|
9618
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
9607
9619
|
responseType: responseType_,
|
|
9608
9620
|
...(withCredentials ? { withCredentials } : {}),
|
|
9609
9621
|
headers: localVarHeaders,
|
|
@@ -9653,6 +9665,8 @@ class NotificationsControllerService extends BaseService {
|
|
|
9653
9665
|
if (id === null || id === undefined) {
|
|
9654
9666
|
throw new Error('Required parameter id was null or undefined when calling resolveNotification.');
|
|
9655
9667
|
}
|
|
9668
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9669
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
9656
9670
|
let localVarHeaders = this.defaultHeaders;
|
|
9657
9671
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9658
9672
|
'application/json'
|
|
@@ -9674,10 +9688,11 @@ class NotificationsControllerService extends BaseService {
|
|
|
9674
9688
|
responseType_ = 'blob';
|
|
9675
9689
|
}
|
|
9676
9690
|
}
|
|
9677
|
-
let localVarPath = `/v2/api/notifications/v2/api/notifications/resolve
|
|
9691
|
+
let localVarPath = `/v2/api/notifications/v2/api/notifications/resolve/`;
|
|
9678
9692
|
const { basePath, withCredentials } = this.configuration;
|
|
9679
9693
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
9680
9694
|
context: localVarHttpContext,
|
|
9695
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
9681
9696
|
responseType: responseType_,
|
|
9682
9697
|
...(withCredentials ? { withCredentials } : {}),
|
|
9683
9698
|
headers: localVarHeaders,
|
|
@@ -9886,6 +9901,8 @@ class PixelControllerService extends BaseService {
|
|
|
9886
9901
|
if (id === null || id === undefined) {
|
|
9887
9902
|
throw new Error('Required parameter id was null or undefined when calling getTrackingCode.');
|
|
9888
9903
|
}
|
|
9904
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9905
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
9889
9906
|
let localVarHeaders = this.defaultHeaders;
|
|
9890
9907
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9891
9908
|
'application/json'
|
|
@@ -9907,10 +9924,11 @@ class PixelControllerService extends BaseService {
|
|
|
9907
9924
|
responseType_ = 'blob';
|
|
9908
9925
|
}
|
|
9909
9926
|
}
|
|
9910
|
-
let localVarPath = `/v2/api/pixels
|
|
9927
|
+
let localVarPath = `/v2/api/pixels//trackingcode`;
|
|
9911
9928
|
const { basePath, withCredentials } = this.configuration;
|
|
9912
9929
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
9913
9930
|
context: localVarHttpContext,
|
|
9931
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
9914
9932
|
responseType: responseType_,
|
|
9915
9933
|
...(withCredentials ? { withCredentials } : {}),
|
|
9916
9934
|
headers: localVarHeaders,
|
|
@@ -9976,6 +9994,8 @@ class PixelControllerService extends BaseService {
|
|
|
9976
9994
|
if (pixel === null || pixel === undefined) {
|
|
9977
9995
|
throw new Error('Required parameter pixel was null or undefined when calling updatePixelById.');
|
|
9978
9996
|
}
|
|
9997
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9998
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
9979
9999
|
let localVarHeaders = this.defaultHeaders;
|
|
9980
10000
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9981
10001
|
'application/json'
|
|
@@ -10005,11 +10025,12 @@ class PixelControllerService extends BaseService {
|
|
|
10005
10025
|
responseType_ = 'blob';
|
|
10006
10026
|
}
|
|
10007
10027
|
}
|
|
10008
|
-
let localVarPath = `/v2/api/pixels
|
|
10028
|
+
let localVarPath = `/v2/api/pixels/`;
|
|
10009
10029
|
const { basePath, withCredentials } = this.configuration;
|
|
10010
10030
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
10011
10031
|
context: localVarHttpContext,
|
|
10012
10032
|
body: pixel,
|
|
10033
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
10013
10034
|
responseType: responseType_,
|
|
10014
10035
|
...(withCredentials ? { withCredentials } : {}),
|
|
10015
10036
|
headers: localVarHeaders,
|
|
@@ -11642,6 +11663,138 @@ class SliceXControllerService extends BaseService {
|
|
|
11642
11663
|
super(basePath, configuration);
|
|
11643
11664
|
this.httpClient = httpClient;
|
|
11644
11665
|
}
|
|
11666
|
+
createTemplate(slicexTemplateRequest, observe = 'body', reportProgress = false, options) {
|
|
11667
|
+
if (slicexTemplateRequest === null || slicexTemplateRequest === undefined) {
|
|
11668
|
+
throw new Error('Required parameter slicexTemplateRequest was null or undefined when calling createTemplate.');
|
|
11669
|
+
}
|
|
11670
|
+
let localVarHeaders = this.defaultHeaders;
|
|
11671
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11672
|
+
'application/json'
|
|
11673
|
+
]);
|
|
11674
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11675
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
11676
|
+
}
|
|
11677
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
11678
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
11679
|
+
// to determine the Content-Type header
|
|
11680
|
+
const consumes = [
|
|
11681
|
+
'application/json'
|
|
11682
|
+
];
|
|
11683
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
11684
|
+
if (httpContentTypeSelected !== undefined) {
|
|
11685
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
11686
|
+
}
|
|
11687
|
+
let responseType_ = 'json';
|
|
11688
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
11689
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
11690
|
+
responseType_ = 'text';
|
|
11691
|
+
}
|
|
11692
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
11693
|
+
responseType_ = 'json';
|
|
11694
|
+
}
|
|
11695
|
+
else {
|
|
11696
|
+
responseType_ = 'blob';
|
|
11697
|
+
}
|
|
11698
|
+
}
|
|
11699
|
+
let localVarPath = `/v2/api/slicex/templates`;
|
|
11700
|
+
const { basePath, withCredentials } = this.configuration;
|
|
11701
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11702
|
+
context: localVarHttpContext,
|
|
11703
|
+
body: slicexTemplateRequest,
|
|
11704
|
+
responseType: responseType_,
|
|
11705
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
11706
|
+
headers: localVarHeaders,
|
|
11707
|
+
observe: observe,
|
|
11708
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
11709
|
+
reportProgress: reportProgress
|
|
11710
|
+
});
|
|
11711
|
+
}
|
|
11712
|
+
deleteTemplate(id, observe = 'body', reportProgress = false, options) {
|
|
11713
|
+
if (id === null || id === undefined) {
|
|
11714
|
+
throw new Error('Required parameter id was null or undefined when calling deleteTemplate.');
|
|
11715
|
+
}
|
|
11716
|
+
let localVarHeaders = this.defaultHeaders;
|
|
11717
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11718
|
+
'application/json'
|
|
11719
|
+
]);
|
|
11720
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11721
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
11722
|
+
}
|
|
11723
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
11724
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
11725
|
+
let responseType_ = 'json';
|
|
11726
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
11727
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
11728
|
+
responseType_ = 'text';
|
|
11729
|
+
}
|
|
11730
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
11731
|
+
responseType_ = 'json';
|
|
11732
|
+
}
|
|
11733
|
+
else {
|
|
11734
|
+
responseType_ = 'blob';
|
|
11735
|
+
}
|
|
11736
|
+
}
|
|
11737
|
+
let localVarPath = `/v2/api/slicex/templates/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/deactivate`;
|
|
11738
|
+
const { basePath, withCredentials } = this.configuration;
|
|
11739
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11740
|
+
context: localVarHttpContext,
|
|
11741
|
+
responseType: responseType_,
|
|
11742
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
11743
|
+
headers: localVarHeaders,
|
|
11744
|
+
observe: observe,
|
|
11745
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
11746
|
+
reportProgress: reportProgress
|
|
11747
|
+
});
|
|
11748
|
+
}
|
|
11749
|
+
editTemplate(id, slicexTemplateRequest, observe = 'body', reportProgress = false, options) {
|
|
11750
|
+
if (id === null || id === undefined) {
|
|
11751
|
+
throw new Error('Required parameter id was null or undefined when calling editTemplate.');
|
|
11752
|
+
}
|
|
11753
|
+
if (slicexTemplateRequest === null || slicexTemplateRequest === undefined) {
|
|
11754
|
+
throw new Error('Required parameter slicexTemplateRequest was null or undefined when calling editTemplate.');
|
|
11755
|
+
}
|
|
11756
|
+
let localVarHeaders = this.defaultHeaders;
|
|
11757
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11758
|
+
'application/json'
|
|
11759
|
+
]);
|
|
11760
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11761
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
11762
|
+
}
|
|
11763
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
11764
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
11765
|
+
// to determine the Content-Type header
|
|
11766
|
+
const consumes = [
|
|
11767
|
+
'application/json'
|
|
11768
|
+
];
|
|
11769
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
11770
|
+
if (httpContentTypeSelected !== undefined) {
|
|
11771
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
11772
|
+
}
|
|
11773
|
+
let responseType_ = 'json';
|
|
11774
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
11775
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
11776
|
+
responseType_ = 'text';
|
|
11777
|
+
}
|
|
11778
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
11779
|
+
responseType_ = 'json';
|
|
11780
|
+
}
|
|
11781
|
+
else {
|
|
11782
|
+
responseType_ = 'blob';
|
|
11783
|
+
}
|
|
11784
|
+
}
|
|
11785
|
+
let localVarPath = `/v2/api/slicex/templates/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/edit`;
|
|
11786
|
+
const { basePath, withCredentials } = this.configuration;
|
|
11787
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11788
|
+
context: localVarHttpContext,
|
|
11789
|
+
body: slicexTemplateRequest,
|
|
11790
|
+
responseType: responseType_,
|
|
11791
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
11792
|
+
headers: localVarHeaders,
|
|
11793
|
+
observe: observe,
|
|
11794
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
11795
|
+
reportProgress: reportProgress
|
|
11796
|
+
});
|
|
11797
|
+
}
|
|
11645
11798
|
getBudgetUtilisation(sliceXBudgetUtilisationRequest, sort, observe = 'body', reportProgress = false, options) {
|
|
11646
11799
|
if (sliceXBudgetUtilisationRequest === null || sliceXBudgetUtilisationRequest === undefined) {
|
|
11647
11800
|
throw new Error('Required parameter sliceXBudgetUtilisationRequest was null or undefined when calling getBudgetUtilisation.');
|
|
@@ -12040,6 +12193,44 @@ class SliceXControllerService extends BaseService {
|
|
|
12040
12193
|
reportProgress: reportProgress
|
|
12041
12194
|
});
|
|
12042
12195
|
}
|
|
12196
|
+
getTemplates(id, isActive, observe = 'body', reportProgress = false, options) {
|
|
12197
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
12198
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
12199
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'isActive', isActive, QueryParamStyle.Form, true);
|
|
12200
|
+
let localVarHeaders = this.defaultHeaders;
|
|
12201
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
12202
|
+
'application/json'
|
|
12203
|
+
]);
|
|
12204
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
12205
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
12206
|
+
}
|
|
12207
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
12208
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
12209
|
+
let responseType_ = 'json';
|
|
12210
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
12211
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
12212
|
+
responseType_ = 'text';
|
|
12213
|
+
}
|
|
12214
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
12215
|
+
responseType_ = 'json';
|
|
12216
|
+
}
|
|
12217
|
+
else {
|
|
12218
|
+
responseType_ = 'blob';
|
|
12219
|
+
}
|
|
12220
|
+
}
|
|
12221
|
+
let localVarPath = `/v2/api/slicex/templates`;
|
|
12222
|
+
const { basePath, withCredentials } = this.configuration;
|
|
12223
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
12224
|
+
context: localVarHttpContext,
|
|
12225
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
12226
|
+
responseType: responseType_,
|
|
12227
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
12228
|
+
headers: localVarHeaders,
|
|
12229
|
+
observe: observe,
|
|
12230
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
12231
|
+
reportProgress: reportProgress
|
|
12232
|
+
});
|
|
12233
|
+
}
|
|
12043
12234
|
getWinRateAndReach(sliceXWinReachRequest, sort, observe = 'body', reportProgress = false, options) {
|
|
12044
12235
|
if (sliceXWinReachRequest === null || sliceXWinReachRequest === undefined) {
|
|
12045
12236
|
throw new Error('Required parameter sliceXWinReachRequest was null or undefined when calling getWinRateAndReach.');
|
|
@@ -17028,6 +17219,16 @@ var ShopeeAudienceListResp;
|
|
|
17028
17219
|
* Do not edit the class manually.
|
|
17029
17220
|
*/
|
|
17030
17221
|
|
|
17222
|
+
/**
|
|
17223
|
+
* OpenAPI definition
|
|
17224
|
+
*
|
|
17225
|
+
*
|
|
17226
|
+
*
|
|
17227
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17228
|
+
* https://openapi-generator.tech
|
|
17229
|
+
* Do not edit the class manually.
|
|
17230
|
+
*/
|
|
17231
|
+
|
|
17031
17232
|
var StrategyDTO;
|
|
17032
17233
|
(function (StrategyDTO) {
|
|
17033
17234
|
StrategyDTO.ConnectionTypesEnum = {
|