@revxui/api-clients-ts 3.0.9 → 3.0.11
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 +424 -8
- package/fesm2022/revxui-api-clients-ts.mjs.map +1 -1
- package/index.d.ts +667 -22
- 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.11
|
|
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.11 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -7340,9 +7340,9 @@ class DCOVideoSettingsControllerService extends BaseService {
|
|
|
7340
7340
|
reportProgress: reportProgress
|
|
7341
7341
|
});
|
|
7342
7342
|
}
|
|
7343
|
-
|
|
7343
|
+
getTemplates1(advertiserId, hasPromoVideo, hasPromoBanner, hasBackgroundImage, observe = 'body', reportProgress = false, options) {
|
|
7344
7344
|
if (advertiserId === null || advertiserId === undefined) {
|
|
7345
|
-
throw new Error('Required parameter advertiserId was null or undefined when calling
|
|
7345
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getTemplates1.');
|
|
7346
7346
|
}
|
|
7347
7347
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
7348
7348
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'advertiserId', advertiserId, QueryParamStyle.Form, true);
|
|
@@ -11642,6 +11642,184 @@ class SliceXControllerService extends BaseService {
|
|
|
11642
11642
|
super(basePath, configuration);
|
|
11643
11643
|
this.httpClient = httpClient;
|
|
11644
11644
|
}
|
|
11645
|
+
createTemplate(slicexTemplateRequest, observe = 'body', reportProgress = false, options) {
|
|
11646
|
+
if (slicexTemplateRequest === null || slicexTemplateRequest === undefined) {
|
|
11647
|
+
throw new Error('Required parameter slicexTemplateRequest was null or undefined when calling createTemplate.');
|
|
11648
|
+
}
|
|
11649
|
+
let localVarHeaders = this.defaultHeaders;
|
|
11650
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11651
|
+
'application/json'
|
|
11652
|
+
]);
|
|
11653
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11654
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
11655
|
+
}
|
|
11656
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
11657
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
11658
|
+
// to determine the Content-Type header
|
|
11659
|
+
const consumes = [
|
|
11660
|
+
'application/json'
|
|
11661
|
+
];
|
|
11662
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
11663
|
+
if (httpContentTypeSelected !== undefined) {
|
|
11664
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
11665
|
+
}
|
|
11666
|
+
let responseType_ = 'json';
|
|
11667
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
11668
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
11669
|
+
responseType_ = 'text';
|
|
11670
|
+
}
|
|
11671
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
11672
|
+
responseType_ = 'json';
|
|
11673
|
+
}
|
|
11674
|
+
else {
|
|
11675
|
+
responseType_ = 'blob';
|
|
11676
|
+
}
|
|
11677
|
+
}
|
|
11678
|
+
let localVarPath = `/v2/api/slicex/templates`;
|
|
11679
|
+
const { basePath, withCredentials } = this.configuration;
|
|
11680
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11681
|
+
context: localVarHttpContext,
|
|
11682
|
+
body: slicexTemplateRequest,
|
|
11683
|
+
responseType: responseType_,
|
|
11684
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
11685
|
+
headers: localVarHeaders,
|
|
11686
|
+
observe: observe,
|
|
11687
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
11688
|
+
reportProgress: reportProgress
|
|
11689
|
+
});
|
|
11690
|
+
}
|
|
11691
|
+
deleteTemplate(id, observe = 'body', reportProgress = false, options) {
|
|
11692
|
+
if (id === null || id === undefined) {
|
|
11693
|
+
throw new Error('Required parameter id was null or undefined when calling deleteTemplate.');
|
|
11694
|
+
}
|
|
11695
|
+
let localVarHeaders = this.defaultHeaders;
|
|
11696
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11697
|
+
'application/json'
|
|
11698
|
+
]);
|
|
11699
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11700
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
11701
|
+
}
|
|
11702
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
11703
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
11704
|
+
let responseType_ = 'json';
|
|
11705
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
11706
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
11707
|
+
responseType_ = 'text';
|
|
11708
|
+
}
|
|
11709
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
11710
|
+
responseType_ = 'json';
|
|
11711
|
+
}
|
|
11712
|
+
else {
|
|
11713
|
+
responseType_ = 'blob';
|
|
11714
|
+
}
|
|
11715
|
+
}
|
|
11716
|
+
let localVarPath = `/v2/api/slicex/templates/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/deactivate`;
|
|
11717
|
+
const { basePath, withCredentials } = this.configuration;
|
|
11718
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11719
|
+
context: localVarHttpContext,
|
|
11720
|
+
responseType: responseType_,
|
|
11721
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
11722
|
+
headers: localVarHeaders,
|
|
11723
|
+
observe: observe,
|
|
11724
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
11725
|
+
reportProgress: reportProgress
|
|
11726
|
+
});
|
|
11727
|
+
}
|
|
11728
|
+
editTemplate(id, slicexTemplateRequest, observe = 'body', reportProgress = false, options) {
|
|
11729
|
+
if (id === null || id === undefined) {
|
|
11730
|
+
throw new Error('Required parameter id was null or undefined when calling editTemplate.');
|
|
11731
|
+
}
|
|
11732
|
+
if (slicexTemplateRequest === null || slicexTemplateRequest === undefined) {
|
|
11733
|
+
throw new Error('Required parameter slicexTemplateRequest was null or undefined when calling editTemplate.');
|
|
11734
|
+
}
|
|
11735
|
+
let localVarHeaders = this.defaultHeaders;
|
|
11736
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11737
|
+
'application/json'
|
|
11738
|
+
]);
|
|
11739
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11740
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
11741
|
+
}
|
|
11742
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
11743
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
11744
|
+
// to determine the Content-Type header
|
|
11745
|
+
const consumes = [
|
|
11746
|
+
'application/json'
|
|
11747
|
+
];
|
|
11748
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
11749
|
+
if (httpContentTypeSelected !== undefined) {
|
|
11750
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
11751
|
+
}
|
|
11752
|
+
let responseType_ = 'json';
|
|
11753
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
11754
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
11755
|
+
responseType_ = 'text';
|
|
11756
|
+
}
|
|
11757
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
11758
|
+
responseType_ = 'json';
|
|
11759
|
+
}
|
|
11760
|
+
else {
|
|
11761
|
+
responseType_ = 'blob';
|
|
11762
|
+
}
|
|
11763
|
+
}
|
|
11764
|
+
let localVarPath = `/v2/api/slicex/templates/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/edit`;
|
|
11765
|
+
const { basePath, withCredentials } = this.configuration;
|
|
11766
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11767
|
+
context: localVarHttpContext,
|
|
11768
|
+
body: slicexTemplateRequest,
|
|
11769
|
+
responseType: responseType_,
|
|
11770
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
11771
|
+
headers: localVarHeaders,
|
|
11772
|
+
observe: observe,
|
|
11773
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
11774
|
+
reportProgress: reportProgress
|
|
11775
|
+
});
|
|
11776
|
+
}
|
|
11777
|
+
exportUnifiedDashboard(slicexUnifiedExportRequest, observe = 'body', reportProgress = false, options) {
|
|
11778
|
+
if (slicexUnifiedExportRequest === null || slicexUnifiedExportRequest === undefined) {
|
|
11779
|
+
throw new Error('Required parameter slicexUnifiedExportRequest was null or undefined when calling exportUnifiedDashboard.');
|
|
11780
|
+
}
|
|
11781
|
+
let localVarHeaders = this.defaultHeaders;
|
|
11782
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11783
|
+
'application/json'
|
|
11784
|
+
]);
|
|
11785
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11786
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
11787
|
+
}
|
|
11788
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
11789
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
11790
|
+
// to determine the Content-Type header
|
|
11791
|
+
const consumes = [
|
|
11792
|
+
'application/json'
|
|
11793
|
+
];
|
|
11794
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
11795
|
+
if (httpContentTypeSelected !== undefined) {
|
|
11796
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
11797
|
+
}
|
|
11798
|
+
let responseType_ = 'json';
|
|
11799
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
11800
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
11801
|
+
responseType_ = 'text';
|
|
11802
|
+
}
|
|
11803
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
11804
|
+
responseType_ = 'json';
|
|
11805
|
+
}
|
|
11806
|
+
else {
|
|
11807
|
+
responseType_ = 'blob';
|
|
11808
|
+
}
|
|
11809
|
+
}
|
|
11810
|
+
let localVarPath = `/v2/api/slicex/dashboard/unified/export`;
|
|
11811
|
+
const { basePath, withCredentials } = this.configuration;
|
|
11812
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11813
|
+
context: localVarHttpContext,
|
|
11814
|
+
body: slicexUnifiedExportRequest,
|
|
11815
|
+
responseType: responseType_,
|
|
11816
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
11817
|
+
headers: localVarHeaders,
|
|
11818
|
+
observe: observe,
|
|
11819
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
11820
|
+
reportProgress: reportProgress
|
|
11821
|
+
});
|
|
11822
|
+
}
|
|
11645
11823
|
getBudgetUtilisation(sliceXBudgetUtilisationRequest, sort, observe = 'body', reportProgress = false, options) {
|
|
11646
11824
|
if (sliceXBudgetUtilisationRequest === null || sliceXBudgetUtilisationRequest === undefined) {
|
|
11647
11825
|
throw new Error('Required parameter sliceXBudgetUtilisationRequest was null or undefined when calling getBudgetUtilisation.');
|
|
@@ -11775,7 +11953,7 @@ class SliceXControllerService extends BaseService {
|
|
|
11775
11953
|
responseType_ = 'blob';
|
|
11776
11954
|
}
|
|
11777
11955
|
}
|
|
11778
|
-
let localVarPath = `/v2/api/slicex/list/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat'", dataFormat: undefined })}`;
|
|
11956
|
+
let localVarPath = `/v2/api/slicex/list/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat' | 'date'", dataFormat: undefined })}`;
|
|
11779
11957
|
const { basePath, withCredentials } = this.configuration;
|
|
11780
11958
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11781
11959
|
context: localVarHttpContext,
|
|
@@ -11827,7 +12005,7 @@ class SliceXControllerService extends BaseService {
|
|
|
11827
12005
|
responseType_ = 'blob';
|
|
11828
12006
|
}
|
|
11829
12007
|
}
|
|
11830
|
-
let localVarPath = `/v2/api/slicex/list/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat'", dataFormat: undefined })}/new`;
|
|
12008
|
+
let localVarPath = `/v2/api/slicex/list/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat' | 'date'", dataFormat: undefined })}/new`;
|
|
11831
12009
|
const { basePath, withCredentials } = this.configuration;
|
|
11832
12010
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11833
12011
|
context: localVarHttpContext,
|
|
@@ -11879,7 +12057,7 @@ class SliceXControllerService extends BaseService {
|
|
|
11879
12057
|
responseType_ = 'blob';
|
|
11880
12058
|
}
|
|
11881
12059
|
}
|
|
11882
|
-
let localVarPath = `/v2/api/slicex/list/compare/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat'", dataFormat: undefined })}`;
|
|
12060
|
+
let localVarPath = `/v2/api/slicex/list/compare/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat' | 'date'", dataFormat: undefined })}`;
|
|
11883
12061
|
const { basePath, withCredentials } = this.configuration;
|
|
11884
12062
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11885
12063
|
context: localVarHttpContext,
|
|
@@ -11929,7 +12107,7 @@ class SliceXControllerService extends BaseService {
|
|
|
11929
12107
|
responseType_ = 'blob';
|
|
11930
12108
|
}
|
|
11931
12109
|
}
|
|
11932
|
-
let localVarPath = `/v2/api/slicex/list/details/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat'", dataFormat: undefined })}`;
|
|
12110
|
+
let localVarPath = `/v2/api/slicex/list/details/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat' | 'date'", dataFormat: undefined })}`;
|
|
11933
12111
|
const { basePath, withCredentials } = this.configuration;
|
|
11934
12112
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11935
12113
|
context: localVarHttpContext,
|
|
@@ -11980,7 +12158,7 @@ class SliceXControllerService extends BaseService {
|
|
|
11980
12158
|
responseType_ = 'blob';
|
|
11981
12159
|
}
|
|
11982
12160
|
}
|
|
11983
|
-
let localVarPath = `/v2/api/slicex/list/csv/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat'", dataFormat: undefined })}`;
|
|
12161
|
+
let localVarPath = `/v2/api/slicex/list/csv/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat' | 'date'", dataFormat: undefined })}`;
|
|
11984
12162
|
const { basePath, withCredentials } = this.configuration;
|
|
11985
12163
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
11986
12164
|
context: localVarHttpContext,
|
|
@@ -12040,6 +12218,185 @@ class SliceXControllerService extends BaseService {
|
|
|
12040
12218
|
reportProgress: reportProgress
|
|
12041
12219
|
});
|
|
12042
12220
|
}
|
|
12221
|
+
getTemplates(id, isActive, observe = 'body', reportProgress = false, options) {
|
|
12222
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
12223
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
12224
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'isActive', isActive, QueryParamStyle.Form, true);
|
|
12225
|
+
let localVarHeaders = this.defaultHeaders;
|
|
12226
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
12227
|
+
'application/json'
|
|
12228
|
+
]);
|
|
12229
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
12230
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
12231
|
+
}
|
|
12232
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
12233
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
12234
|
+
let responseType_ = 'json';
|
|
12235
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
12236
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
12237
|
+
responseType_ = 'text';
|
|
12238
|
+
}
|
|
12239
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
12240
|
+
responseType_ = 'json';
|
|
12241
|
+
}
|
|
12242
|
+
else {
|
|
12243
|
+
responseType_ = 'blob';
|
|
12244
|
+
}
|
|
12245
|
+
}
|
|
12246
|
+
let localVarPath = `/v2/api/slicex/templates`;
|
|
12247
|
+
const { basePath, withCredentials } = this.configuration;
|
|
12248
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
12249
|
+
context: localVarHttpContext,
|
|
12250
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
12251
|
+
responseType: responseType_,
|
|
12252
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
12253
|
+
headers: localVarHeaders,
|
|
12254
|
+
observe: observe,
|
|
12255
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
12256
|
+
reportProgress: reportProgress
|
|
12257
|
+
});
|
|
12258
|
+
}
|
|
12259
|
+
getUnifiedDashboardData(entity, slicexUnifiedRequest, sort, observe = 'body', reportProgress = false, options) {
|
|
12260
|
+
if (entity === null || entity === undefined) {
|
|
12261
|
+
throw new Error('Required parameter entity was null or undefined when calling getUnifiedDashboardData.');
|
|
12262
|
+
}
|
|
12263
|
+
if (slicexUnifiedRequest === null || slicexUnifiedRequest === undefined) {
|
|
12264
|
+
throw new Error('Required parameter slicexUnifiedRequest was null or undefined when calling getUnifiedDashboardData.');
|
|
12265
|
+
}
|
|
12266
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
12267
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'sort', sort, QueryParamStyle.Form, true);
|
|
12268
|
+
let localVarHeaders = this.defaultHeaders;
|
|
12269
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
12270
|
+
'application/json'
|
|
12271
|
+
]);
|
|
12272
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
12273
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
12274
|
+
}
|
|
12275
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
12276
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
12277
|
+
// to determine the Content-Type header
|
|
12278
|
+
const consumes = [
|
|
12279
|
+
'application/json'
|
|
12280
|
+
];
|
|
12281
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
12282
|
+
if (httpContentTypeSelected !== undefined) {
|
|
12283
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
12284
|
+
}
|
|
12285
|
+
let responseType_ = 'json';
|
|
12286
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
12287
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
12288
|
+
responseType_ = 'text';
|
|
12289
|
+
}
|
|
12290
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
12291
|
+
responseType_ = 'json';
|
|
12292
|
+
}
|
|
12293
|
+
else {
|
|
12294
|
+
responseType_ = 'blob';
|
|
12295
|
+
}
|
|
12296
|
+
}
|
|
12297
|
+
let localVarPath = `/v2/api/slicex/dashboard/unified/${this.configuration.encodeParam({ name: "entity", value: entity, in: "path", style: "simple", explode: false, dataType: "'licensee' | 'advertiser' | 'campaign' | 'strategy' | 'bidRequestSize' | 'creativeSize' | 'aggregator' | 'app' | 'os' | 'creative' | 'country' | 'city' | 'pricing' | 'pixel' | 'campaignObjective' | 'advregions' | 'creativeSets' | 'creativeSetsType' | 'videoPlacement' | 'sourceType' | 'deal' | 'lat' | 'date'", dataFormat: undefined })}`;
|
|
12298
|
+
const { basePath, withCredentials } = this.configuration;
|
|
12299
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
12300
|
+
context: localVarHttpContext,
|
|
12301
|
+
body: slicexUnifiedRequest,
|
|
12302
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
12303
|
+
responseType: responseType_,
|
|
12304
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
12305
|
+
headers: localVarHeaders,
|
|
12306
|
+
observe: observe,
|
|
12307
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
12308
|
+
reportProgress: reportProgress
|
|
12309
|
+
});
|
|
12310
|
+
}
|
|
12311
|
+
getUnifiedDashboardFilterOptions(slicexFilterOptionsRequest, observe = 'body', reportProgress = false, options) {
|
|
12312
|
+
let localVarHeaders = this.defaultHeaders;
|
|
12313
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
12314
|
+
'application/json'
|
|
12315
|
+
]);
|
|
12316
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
12317
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
12318
|
+
}
|
|
12319
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
12320
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
12321
|
+
// to determine the Content-Type header
|
|
12322
|
+
const consumes = [
|
|
12323
|
+
'application/json'
|
|
12324
|
+
];
|
|
12325
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
12326
|
+
if (httpContentTypeSelected !== undefined) {
|
|
12327
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
12328
|
+
}
|
|
12329
|
+
let responseType_ = 'json';
|
|
12330
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
12331
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
12332
|
+
responseType_ = 'text';
|
|
12333
|
+
}
|
|
12334
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
12335
|
+
responseType_ = 'json';
|
|
12336
|
+
}
|
|
12337
|
+
else {
|
|
12338
|
+
responseType_ = 'blob';
|
|
12339
|
+
}
|
|
12340
|
+
}
|
|
12341
|
+
let localVarPath = `/v2/api/slicex/dashboard/unified/filter-options`;
|
|
12342
|
+
const { basePath, withCredentials } = this.configuration;
|
|
12343
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
12344
|
+
context: localVarHttpContext,
|
|
12345
|
+
body: slicexFilterOptionsRequest,
|
|
12346
|
+
responseType: responseType_,
|
|
12347
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
12348
|
+
headers: localVarHeaders,
|
|
12349
|
+
observe: observe,
|
|
12350
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
12351
|
+
reportProgress: reportProgress
|
|
12352
|
+
});
|
|
12353
|
+
}
|
|
12354
|
+
getUnifiedDashboardSummary(slicexUnifiedSummaryRequest, observe = 'body', reportProgress = false, options) {
|
|
12355
|
+
if (slicexUnifiedSummaryRequest === null || slicexUnifiedSummaryRequest === undefined) {
|
|
12356
|
+
throw new Error('Required parameter slicexUnifiedSummaryRequest was null or undefined when calling getUnifiedDashboardSummary.');
|
|
12357
|
+
}
|
|
12358
|
+
let localVarHeaders = this.defaultHeaders;
|
|
12359
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
12360
|
+
'application/json'
|
|
12361
|
+
]);
|
|
12362
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
12363
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
12364
|
+
}
|
|
12365
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
12366
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
12367
|
+
// to determine the Content-Type header
|
|
12368
|
+
const consumes = [
|
|
12369
|
+
'application/json'
|
|
12370
|
+
];
|
|
12371
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
12372
|
+
if (httpContentTypeSelected !== undefined) {
|
|
12373
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
12374
|
+
}
|
|
12375
|
+
let responseType_ = 'json';
|
|
12376
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
12377
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
12378
|
+
responseType_ = 'text';
|
|
12379
|
+
}
|
|
12380
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
12381
|
+
responseType_ = 'json';
|
|
12382
|
+
}
|
|
12383
|
+
else {
|
|
12384
|
+
responseType_ = 'blob';
|
|
12385
|
+
}
|
|
12386
|
+
}
|
|
12387
|
+
let localVarPath = `/v2/api/slicex/dashboard/unified/summary`;
|
|
12388
|
+
const { basePath, withCredentials } = this.configuration;
|
|
12389
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
12390
|
+
context: localVarHttpContext,
|
|
12391
|
+
body: slicexUnifiedSummaryRequest,
|
|
12392
|
+
responseType: responseType_,
|
|
12393
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
12394
|
+
headers: localVarHeaders,
|
|
12395
|
+
observe: observe,
|
|
12396
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
12397
|
+
reportProgress: reportProgress
|
|
12398
|
+
});
|
|
12399
|
+
}
|
|
12043
12400
|
getWinRateAndReach(sliceXWinReachRequest, sort, observe = 'body', reportProgress = false, options) {
|
|
12044
12401
|
if (sliceXWinReachRequest === null || sliceXWinReachRequest === undefined) {
|
|
12045
12402
|
throw new Error('Required parameter sliceXWinReachRequest was null or undefined when calling getWinRateAndReach.');
|
|
@@ -16998,6 +17355,65 @@ var ShopeeAudienceListResp;
|
|
|
16998
17355
|
* Do not edit the class manually.
|
|
16999
17356
|
*/
|
|
17000
17357
|
|
|
17358
|
+
/**
|
|
17359
|
+
* OpenAPI definition
|
|
17360
|
+
*
|
|
17361
|
+
*
|
|
17362
|
+
*
|
|
17363
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17364
|
+
* https://openapi-generator.tech
|
|
17365
|
+
* Do not edit the class manually.
|
|
17366
|
+
*/
|
|
17367
|
+
|
|
17368
|
+
/**
|
|
17369
|
+
* OpenAPI definition
|
|
17370
|
+
*
|
|
17371
|
+
*
|
|
17372
|
+
*
|
|
17373
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17374
|
+
* https://openapi-generator.tech
|
|
17375
|
+
* Do not edit the class manually.
|
|
17376
|
+
*/
|
|
17377
|
+
|
|
17378
|
+
/**
|
|
17379
|
+
* OpenAPI definition
|
|
17380
|
+
*
|
|
17381
|
+
*
|
|
17382
|
+
*
|
|
17383
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
17384
|
+
* https://openapi-generator.tech
|
|
17385
|
+
* Do not edit the class manually.
|
|
17386
|
+
*/
|
|
17387
|
+
|
|
17388
|
+
var SlicexUnifiedDashboardResponse;
|
|
17389
|
+
(function (SlicexUnifiedDashboardResponse) {
|
|
17390
|
+
SlicexUnifiedDashboardResponse.DimensionEnum = {
|
|
17391
|
+
licensee: 'licensee',
|
|
17392
|
+
advertiser: 'advertiser',
|
|
17393
|
+
campaign: 'campaign',
|
|
17394
|
+
strategy: 'strategy',
|
|
17395
|
+
bidRequestSize: 'bidRequestSize',
|
|
17396
|
+
creativeSize: 'creativeSize',
|
|
17397
|
+
aggregator: 'aggregator',
|
|
17398
|
+
app: 'app',
|
|
17399
|
+
os: 'os',
|
|
17400
|
+
creative: 'creative',
|
|
17401
|
+
country: 'country',
|
|
17402
|
+
city: 'city',
|
|
17403
|
+
pricing: 'pricing',
|
|
17404
|
+
pixel: 'pixel',
|
|
17405
|
+
campaignObjective: 'campaignObjective',
|
|
17406
|
+
advregions: 'advregions',
|
|
17407
|
+
creativeSets: 'creativeSets',
|
|
17408
|
+
creativeSetsType: 'creativeSetsType',
|
|
17409
|
+
videoPlacement: 'videoPlacement',
|
|
17410
|
+
sourceType: 'sourceType',
|
|
17411
|
+
deal: 'deal',
|
|
17412
|
+
lat: 'lat',
|
|
17413
|
+
date: 'date'
|
|
17414
|
+
};
|
|
17415
|
+
})(SlicexUnifiedDashboardResponse || (SlicexUnifiedDashboardResponse = {}));
|
|
17416
|
+
|
|
17001
17417
|
/**
|
|
17002
17418
|
* OpenAPI definition
|
|
17003
17419
|
*
|
|
@@ -17586,5 +18002,5 @@ function provideApi(configOrBasePath) {
|
|
|
17586
18002
|
* Generated bundle index. Do not edit.
|
|
17587
18003
|
*/
|
|
17588
18004
|
|
|
17589
|
-
export { ABTestingDTO, ABTestingResponseDetails, ABTestingVariantDTO, APIS, ActivityLogsCreativeSetsBulkUpdateDTO, ActivityLogsStrategyBulkUpdateDTO, AdvertiserAppSettingsDTO, AdvertiserCohortDTO, AdvertiserCohortResponse, AdvertiserControllerService, AdvertiserSettings, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AppsFlyerAudienceControllerService, AppsFlyerControllerService, AssetSelectionDTO, AuctionTypeEditField, AudienceBackfillQueryTemplateRequest, AudienceBackfillRequest, AudienceControllerService, AudienceDTO, AudienceESDTO, AudiencePerformanceDTO, AuditControllerService, BASE_PATH, BaseModelWithCreativeSetType, BidFunnelControllerService, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeControllerService, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, CohortCampaignStrategyDO, Configuration, ConsoleCreativeControllerService, CreativeAssetOptimizationRequest, CreativeAssetUploadResponse, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeDetails, CreativeEntity, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetPerformanceList, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeSetsV2ControllerService, CreativeSizeMappingDTO, CreativeTemplateDTO, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DCOVideoSettingsControllerService, DashboardControllerService, DcoAttributesDTO, DcoVideoAssetDTO, DeviceTargetModel, DuplicateCampaignStrategyRequestDTO, DuplicateCreativeSetResponse, DynamicVideoConfigDTO, EndCards, ExperimentsControllerService, ExperimentsEntity, FileModel, FileUploadControllerService, FilterModel, GeoFenceDTO, GeoListRequest, IncrementalityTestDTO, IncrementalityTestDetails, JobResponse, LookAlikeAudienceConfigDTO, MDMPAudienceControllerService, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, OptimizationJobItemStatusDTO, OptimizationJobStatusResponse, OptimizationRuleAuditLogDTO, OptimizationRuleDTO, PixelControllerService, PixelDataFileDTO, RecencyTargetingDTO, RemoteFileDTO, ReportControllerService, ReportProperty, ReportRequest, ReportResponse, ReportingControllerService, ReportingRequest, ReportingResponse, ReportingSchedulerControllerService, ReportingSchedulerResponse, RuleDTO, SafeGuardControllerService, SafeguardBlockedItemDTO, SafeguardDetail, SafeguardExclusionDTO, SafeguardRequestDTO, SafeguardResponseDTO, SchedulerRequest, SelectedTargetDTO, ShopeeAudienceControllerService, ShopeeAudienceDTO, ShopeeAudienceDescriptionDTO, ShopeeAudienceListResp, SliceXControllerService, SmartCachingControllerService, SpringRoleTestingControllerService, StrategyControllerService, StrategyDTO, StrategyInlineDTO, StrategyQuickEditDTO, StrategyRuleResponse, StrategyTemplateControllerService, StrategyTemplateDTO, StrategyTemplateResponse, TemplateVariablesDTO, UILoggerControllerService, UploadSessionCompleteRequest, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties, WhitelabelingEntity, provideApi };
|
|
18005
|
+
export { ABTestingDTO, ABTestingResponseDetails, ABTestingVariantDTO, APIS, ActivityLogsCreativeSetsBulkUpdateDTO, ActivityLogsStrategyBulkUpdateDTO, AdvertiserAppSettingsDTO, AdvertiserCohortDTO, AdvertiserCohortResponse, AdvertiserControllerService, AdvertiserSettings, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AppsFlyerAudienceControllerService, AppsFlyerControllerService, AssetSelectionDTO, AuctionTypeEditField, AudienceBackfillQueryTemplateRequest, AudienceBackfillRequest, AudienceControllerService, AudienceDTO, AudienceESDTO, AudiencePerformanceDTO, AuditControllerService, BASE_PATH, BaseModelWithCreativeSetType, BidFunnelControllerService, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeControllerService, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, CohortCampaignStrategyDO, Configuration, ConsoleCreativeControllerService, CreativeAssetOptimizationRequest, CreativeAssetUploadResponse, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeDetails, CreativeEntity, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetPerformanceList, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeSetsV2ControllerService, CreativeSizeMappingDTO, CreativeTemplateDTO, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DCOVideoSettingsControllerService, DashboardControllerService, DcoAttributesDTO, DcoVideoAssetDTO, DeviceTargetModel, DuplicateCampaignStrategyRequestDTO, DuplicateCreativeSetResponse, DynamicVideoConfigDTO, EndCards, ExperimentsControllerService, ExperimentsEntity, FileModel, FileUploadControllerService, FilterModel, GeoFenceDTO, GeoListRequest, IncrementalityTestDTO, IncrementalityTestDetails, JobResponse, LookAlikeAudienceConfigDTO, MDMPAudienceControllerService, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, OptimizationJobItemStatusDTO, OptimizationJobStatusResponse, OptimizationRuleAuditLogDTO, OptimizationRuleDTO, PixelControllerService, PixelDataFileDTO, RecencyTargetingDTO, RemoteFileDTO, ReportControllerService, ReportProperty, ReportRequest, ReportResponse, ReportingControllerService, ReportingRequest, ReportingResponse, ReportingSchedulerControllerService, ReportingSchedulerResponse, RuleDTO, SafeGuardControllerService, SafeguardBlockedItemDTO, SafeguardDetail, SafeguardExclusionDTO, SafeguardRequestDTO, SafeguardResponseDTO, SchedulerRequest, SelectedTargetDTO, ShopeeAudienceControllerService, ShopeeAudienceDTO, ShopeeAudienceDescriptionDTO, ShopeeAudienceListResp, SliceXControllerService, SlicexUnifiedDashboardResponse, SmartCachingControllerService, SpringRoleTestingControllerService, StrategyControllerService, StrategyDTO, StrategyInlineDTO, StrategyQuickEditDTO, StrategyRuleResponse, StrategyTemplateControllerService, StrategyTemplateDTO, StrategyTemplateResponse, TemplateVariablesDTO, UILoggerControllerService, UploadSessionCompleteRequest, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties, WhitelabelingEntity, provideApi };
|
|
17590
18006
|
//# sourceMappingURL=revxui-api-clients-ts.mjs.map
|