@revxui/api-clients-ts 3.0.0-beta02-06 → 3.0.0-beta02-07
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 +168 -168
- package/fesm2022/revxui-api-clients-ts.mjs.map +1 -1
- package/index.d.ts +231 -228
- package/package.json +1 -1
|
@@ -617,10 +617,12 @@ class AdvertiserControllerService extends BaseService {
|
|
|
617
617
|
reportProgress: reportProgress
|
|
618
618
|
});
|
|
619
619
|
}
|
|
620
|
-
|
|
621
|
-
if (
|
|
622
|
-
throw new Error('Required parameter
|
|
620
|
+
getAdvertiserById(id, refresh, observe = 'body', reportProgress = false, options) {
|
|
621
|
+
if (id === null || id === undefined) {
|
|
622
|
+
throw new Error('Required parameter id was null or undefined when calling getAdvertiserById.');
|
|
623
623
|
}
|
|
624
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
625
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
624
626
|
let localVarHeaders = this.defaultHeaders;
|
|
625
627
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
626
628
|
'application/json'
|
|
@@ -630,14 +632,6 @@ class AdvertiserControllerService extends BaseService {
|
|
|
630
632
|
}
|
|
631
633
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
632
634
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
633
|
-
// to determine the Content-Type header
|
|
634
|
-
const consumes = [
|
|
635
|
-
'application/json'
|
|
636
|
-
];
|
|
637
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
638
|
-
if (httpContentTypeSelected !== undefined) {
|
|
639
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
640
|
-
}
|
|
641
635
|
let responseType_ = 'json';
|
|
642
636
|
if (localVarHttpHeaderAcceptSelected) {
|
|
643
637
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -650,11 +644,11 @@ class AdvertiserControllerService extends BaseService {
|
|
|
650
644
|
responseType_ = 'blob';
|
|
651
645
|
}
|
|
652
646
|
}
|
|
653
|
-
let localVarPath = `/v2/api/advertisers
|
|
647
|
+
let localVarPath = `/v2/api/advertisers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
654
648
|
const { basePath, withCredentials } = this.configuration;
|
|
655
|
-
return this.httpClient.request('
|
|
649
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
656
650
|
context: localVarHttpContext,
|
|
657
|
-
|
|
651
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
658
652
|
responseType: responseType_,
|
|
659
653
|
...(withCredentials ? { withCredentials } : {}),
|
|
660
654
|
headers: localVarHeaders,
|
|
@@ -663,9 +657,9 @@ class AdvertiserControllerService extends BaseService {
|
|
|
663
657
|
reportProgress: reportProgress
|
|
664
658
|
});
|
|
665
659
|
}
|
|
666
|
-
|
|
667
|
-
if (
|
|
668
|
-
throw new Error('Required parameter
|
|
660
|
+
getAdvertiserCohortDetails(advertiserCohortDTO, observe = 'body', reportProgress = false, options) {
|
|
661
|
+
if (advertiserCohortDTO === null || advertiserCohortDTO === undefined) {
|
|
662
|
+
throw new Error('Required parameter advertiserCohortDTO was null or undefined when calling getAdvertiserCohortDetails.');
|
|
669
663
|
}
|
|
670
664
|
let localVarHeaders = this.defaultHeaders;
|
|
671
665
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -676,6 +670,14 @@ class AdvertiserControllerService extends BaseService {
|
|
|
676
670
|
}
|
|
677
671
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
678
672
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
673
|
+
// to determine the Content-Type header
|
|
674
|
+
const consumes = [
|
|
675
|
+
'application/json'
|
|
676
|
+
];
|
|
677
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
678
|
+
if (httpContentTypeSelected !== undefined) {
|
|
679
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
680
|
+
}
|
|
679
681
|
let responseType_ = 'json';
|
|
680
682
|
if (localVarHttpHeaderAcceptSelected) {
|
|
681
683
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -688,10 +690,11 @@ class AdvertiserControllerService extends BaseService {
|
|
|
688
690
|
responseType_ = 'blob';
|
|
689
691
|
}
|
|
690
692
|
}
|
|
691
|
-
let localVarPath = `/v2/api/advertisers/
|
|
693
|
+
let localVarPath = `/v2/api/advertisers/cohort/details`;
|
|
692
694
|
const { basePath, withCredentials } = this.configuration;
|
|
693
|
-
return this.httpClient.request('
|
|
695
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
694
696
|
context: localVarHttpContext,
|
|
697
|
+
body: advertiserCohortDTO,
|
|
695
698
|
responseType: responseType_,
|
|
696
699
|
...(withCredentials ? { withCredentials } : {}),
|
|
697
700
|
headers: localVarHeaders,
|
|
@@ -700,12 +703,10 @@ class AdvertiserControllerService extends BaseService {
|
|
|
700
703
|
reportProgress: reportProgress
|
|
701
704
|
});
|
|
702
705
|
}
|
|
703
|
-
|
|
706
|
+
getAdvertiserSettings(id, observe = 'body', reportProgress = false, options) {
|
|
704
707
|
if (id === null || id === undefined) {
|
|
705
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
708
|
+
throw new Error('Required parameter id was null or undefined when calling getAdvertiserSettings.');
|
|
706
709
|
}
|
|
707
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
708
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
709
710
|
let localVarHeaders = this.defaultHeaders;
|
|
710
711
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
711
712
|
'application/json'
|
|
@@ -727,11 +728,10 @@ class AdvertiserControllerService extends BaseService {
|
|
|
727
728
|
responseType_ = 'blob';
|
|
728
729
|
}
|
|
729
730
|
}
|
|
730
|
-
let localVarPath = `/v2/api/advertisers/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
731
|
+
let localVarPath = `/v2/api/advertisers/settings/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
731
732
|
const { basePath, withCredentials } = this.configuration;
|
|
732
733
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
733
734
|
context: localVarHttpContext,
|
|
734
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
735
735
|
responseType: responseType_,
|
|
736
736
|
...(withCredentials ? { withCredentials } : {}),
|
|
737
737
|
headers: localVarHeaders,
|
|
@@ -1394,7 +1394,7 @@ class AppsFlyerAudienceControllerService extends BaseService {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
let localVarHeaders = this.defaultHeaders;
|
|
1396
1396
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1397
|
-
'
|
|
1397
|
+
'application/json'
|
|
1398
1398
|
]);
|
|
1399
1399
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1400
1400
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -1484,7 +1484,7 @@ class AppsFlyerAudienceControllerService extends BaseService {
|
|
|
1484
1484
|
}
|
|
1485
1485
|
let localVarHeaders = this.defaultHeaders;
|
|
1486
1486
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1487
|
-
'
|
|
1487
|
+
'application/json'
|
|
1488
1488
|
]);
|
|
1489
1489
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1490
1490
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -1679,7 +1679,7 @@ class AudienceControllerService extends BaseService {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
let localVarHeaders = this.defaultHeaders;
|
|
1681
1681
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1682
|
-
'
|
|
1682
|
+
'application/json'
|
|
1683
1683
|
]);
|
|
1684
1684
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1685
1685
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -1894,7 +1894,7 @@ class AudienceControllerService extends BaseService {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
let localVarHeaders = this.defaultHeaders;
|
|
1896
1896
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1897
|
-
'
|
|
1897
|
+
'application/json'
|
|
1898
1898
|
]);
|
|
1899
1899
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1900
1900
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2032,7 +2032,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2032
2032
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'stype', stype, QueryParamStyle.Form, true);
|
|
2033
2033
|
let localVarHeaders = this.defaultHeaders;
|
|
2034
2034
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2035
|
-
'
|
|
2035
|
+
'application/json'
|
|
2036
2036
|
]);
|
|
2037
2037
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2038
2038
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2070,7 +2070,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2070
2070
|
}
|
|
2071
2071
|
let localVarHeaders = this.defaultHeaders;
|
|
2072
2072
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2073
|
-
'
|
|
2073
|
+
'application/json'
|
|
2074
2074
|
]);
|
|
2075
2075
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2076
2076
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2110,13 +2110,15 @@ class AudienceControllerService extends BaseService {
|
|
|
2110
2110
|
reportProgress: reportProgress
|
|
2111
2111
|
});
|
|
2112
2112
|
}
|
|
2113
|
-
|
|
2113
|
+
getAudienceById(id, refresh, observe = 'body', reportProgress = false, options) {
|
|
2114
2114
|
if (id === null || id === undefined) {
|
|
2115
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
2115
|
+
throw new Error('Required parameter id was null or undefined when calling getAudienceById.');
|
|
2116
2116
|
}
|
|
2117
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2118
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
2117
2119
|
let localVarHeaders = this.defaultHeaders;
|
|
2118
2120
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2119
|
-
'
|
|
2121
|
+
'application/json'
|
|
2120
2122
|
]);
|
|
2121
2123
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2122
2124
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2135,10 +2137,11 @@ class AudienceControllerService extends BaseService {
|
|
|
2135
2137
|
responseType_ = 'blob';
|
|
2136
2138
|
}
|
|
2137
2139
|
}
|
|
2138
|
-
let localVarPath = `/v2/api/audience/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}
|
|
2140
|
+
let localVarPath = `/v2/api/audience/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
2139
2141
|
const { basePath, withCredentials } = this.configuration;
|
|
2140
2142
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2141
2143
|
context: localVarHttpContext,
|
|
2144
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
2142
2145
|
responseType: responseType_,
|
|
2143
2146
|
...(withCredentials ? { withCredentials } : {}),
|
|
2144
2147
|
headers: localVarHeaders,
|
|
@@ -2147,15 +2150,13 @@ class AudienceControllerService extends BaseService {
|
|
|
2147
2150
|
reportProgress: reportProgress
|
|
2148
2151
|
});
|
|
2149
2152
|
}
|
|
2150
|
-
|
|
2153
|
+
getAudienceStrategyMapping(id, observe = 'body', reportProgress = false, options) {
|
|
2151
2154
|
if (id === null || id === undefined) {
|
|
2152
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
2155
|
+
throw new Error('Required parameter id was null or undefined when calling getAudienceStrategyMapping.');
|
|
2153
2156
|
}
|
|
2154
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2155
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
2156
2157
|
let localVarHeaders = this.defaultHeaders;
|
|
2157
2158
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2158
|
-
'
|
|
2159
|
+
'application/json'
|
|
2159
2160
|
]);
|
|
2160
2161
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2161
2162
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2174,11 +2175,10 @@ class AudienceControllerService extends BaseService {
|
|
|
2174
2175
|
responseType_ = 'blob';
|
|
2175
2176
|
}
|
|
2176
2177
|
}
|
|
2177
|
-
let localVarPath = `/v2/api/audience/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
2178
|
+
let localVarPath = `/v2/api/audience/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/strategies`;
|
|
2178
2179
|
const { basePath, withCredentials } = this.configuration;
|
|
2179
2180
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2180
2181
|
context: localVarHttpContext,
|
|
2181
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
2182
2182
|
responseType: responseType_,
|
|
2183
2183
|
...(withCredentials ? { withCredentials } : {}),
|
|
2184
2184
|
headers: localVarHeaders,
|
|
@@ -2254,7 +2254,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
let localVarHeaders = this.defaultHeaders;
|
|
2256
2256
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2257
|
-
'
|
|
2257
|
+
'application/json'
|
|
2258
2258
|
]);
|
|
2259
2259
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2260
2260
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2300,7 +2300,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
let localVarHeaders = this.defaultHeaders;
|
|
2302
2302
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2303
|
-
'
|
|
2303
|
+
'application/json'
|
|
2304
2304
|
]);
|
|
2305
2305
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2306
2306
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2343,7 +2343,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2343
2343
|
getMetaRules(observe = 'body', reportProgress = false, options) {
|
|
2344
2344
|
let localVarHeaders = this.defaultHeaders;
|
|
2345
2345
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2346
|
-
'
|
|
2346
|
+
'application/json'
|
|
2347
2347
|
]);
|
|
2348
2348
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2349
2349
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2382,7 +2382,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2382
2382
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'advertiser_id', advertiserId, QueryParamStyle.Form, true);
|
|
2383
2383
|
let localVarHeaders = this.defaultHeaders;
|
|
2384
2384
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2385
|
-
'
|
|
2385
|
+
'application/json'
|
|
2386
2386
|
]);
|
|
2387
2387
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2388
2388
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2420,7 +2420,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
let localVarHeaders = this.defaultHeaders;
|
|
2422
2422
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2423
|
-
'
|
|
2423
|
+
'application/json'
|
|
2424
2424
|
]);
|
|
2425
2425
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2426
2426
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2459,7 +2459,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2459
2459
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'advIds', advIds, QueryParamStyle.Form, true);
|
|
2460
2460
|
let localVarHeaders = this.defaultHeaders;
|
|
2461
2461
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2462
|
-
'
|
|
2462
|
+
'application/json'
|
|
2463
2463
|
]);
|
|
2464
2464
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2465
2465
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -2543,7 +2543,7 @@ class AudienceControllerService extends BaseService {
|
|
|
2543
2543
|
}
|
|
2544
2544
|
let localVarHeaders = this.defaultHeaders;
|
|
2545
2545
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2546
|
-
'
|
|
2546
|
+
'application/json'
|
|
2547
2547
|
]);
|
|
2548
2548
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2549
2549
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -3278,7 +3278,7 @@ class CSSThemeControllerService extends BaseService {
|
|
|
3278
3278
|
}
|
|
3279
3279
|
let localVarHeaders = this.defaultHeaders;
|
|
3280
3280
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3281
|
-
'
|
|
3281
|
+
'application/json'
|
|
3282
3282
|
]);
|
|
3283
3283
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3284
3284
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -3315,7 +3315,7 @@ class CSSThemeControllerService extends BaseService {
|
|
|
3315
3315
|
}
|
|
3316
3316
|
let localVarHeaders = this.defaultHeaders;
|
|
3317
3317
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3318
|
-
'
|
|
3318
|
+
'application/json'
|
|
3319
3319
|
]);
|
|
3320
3320
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3321
3321
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -3564,7 +3564,7 @@ class CampaignControllerService extends BaseService {
|
|
|
3564
3564
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
3565
3565
|
let localVarHeaders = this.defaultHeaders;
|
|
3566
3566
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3567
|
-
'
|
|
3567
|
+
'application/json'
|
|
3568
3568
|
]);
|
|
3569
3569
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3570
3570
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -3602,7 +3602,7 @@ class CampaignControllerService extends BaseService {
|
|
|
3602
3602
|
}
|
|
3603
3603
|
let localVarHeaders = this.defaultHeaders;
|
|
3604
3604
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3605
|
-
'
|
|
3605
|
+
'application/json'
|
|
3606
3606
|
]);
|
|
3607
3607
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3608
3608
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -3641,7 +3641,7 @@ class CampaignControllerService extends BaseService {
|
|
|
3641
3641
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
3642
3642
|
let localVarHeaders = this.defaultHeaders;
|
|
3643
3643
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3644
|
-
'
|
|
3644
|
+
'application/json'
|
|
3645
3645
|
]);
|
|
3646
3646
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3647
3647
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -3899,10 +3899,13 @@ class CatalogControllerService extends BaseService {
|
|
|
3899
3899
|
super(basePath, configuration);
|
|
3900
3900
|
this.httpClient = httpClient;
|
|
3901
3901
|
}
|
|
3902
|
-
|
|
3903
|
-
if (
|
|
3904
|
-
throw new Error('Required parameter
|
|
3902
|
+
getCatalogFeeds(advertiserId, refresh, searchRequest, observe = 'body', reportProgress = false, options) {
|
|
3903
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
3904
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getCatalogFeeds.');
|
|
3905
3905
|
}
|
|
3906
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3907
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'advertiser_id', advertiserId, QueryParamStyle.Form, true);
|
|
3908
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
3906
3909
|
let localVarHeaders = this.defaultHeaders;
|
|
3907
3910
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3908
3911
|
'application/json'
|
|
@@ -3912,6 +3915,14 @@ class CatalogControllerService extends BaseService {
|
|
|
3912
3915
|
}
|
|
3913
3916
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3914
3917
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
3918
|
+
// to determine the Content-Type header
|
|
3919
|
+
const consumes = [
|
|
3920
|
+
'application/json'
|
|
3921
|
+
];
|
|
3922
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3923
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3924
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3925
|
+
}
|
|
3915
3926
|
let responseType_ = 'json';
|
|
3916
3927
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3917
3928
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3924,10 +3935,12 @@ class CatalogControllerService extends BaseService {
|
|
|
3924
3935
|
responseType_ = 'blob';
|
|
3925
3936
|
}
|
|
3926
3937
|
}
|
|
3927
|
-
let localVarPath = `/v2/api/catalog/feeds
|
|
3938
|
+
let localVarPath = `/v2/api/catalog/feeds`;
|
|
3928
3939
|
const { basePath, withCredentials } = this.configuration;
|
|
3929
|
-
return this.httpClient.request('
|
|
3940
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3930
3941
|
context: localVarHttpContext,
|
|
3942
|
+
body: searchRequest,
|
|
3943
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
3931
3944
|
responseType: responseType_,
|
|
3932
3945
|
...(withCredentials ? { withCredentials } : {}),
|
|
3933
3946
|
headers: localVarHeaders,
|
|
@@ -3936,13 +3949,10 @@ class CatalogControllerService extends BaseService {
|
|
|
3936
3949
|
reportProgress: reportProgress
|
|
3937
3950
|
});
|
|
3938
3951
|
}
|
|
3939
|
-
|
|
3940
|
-
if (
|
|
3941
|
-
throw new Error('Required parameter
|
|
3952
|
+
getFeedByFeedId(id, observe = 'body', reportProgress = false, options) {
|
|
3953
|
+
if (id === null || id === undefined) {
|
|
3954
|
+
throw new Error('Required parameter id was null or undefined when calling getFeedByFeedId.');
|
|
3942
3955
|
}
|
|
3943
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3944
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'advertiser_id', advertiserId, QueryParamStyle.Form, true);
|
|
3945
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
3946
3956
|
let localVarHeaders = this.defaultHeaders;
|
|
3947
3957
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3948
3958
|
'application/json'
|
|
@@ -3952,14 +3962,6 @@ class CatalogControllerService extends BaseService {
|
|
|
3952
3962
|
}
|
|
3953
3963
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3954
3964
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
3955
|
-
// to determine the Content-Type header
|
|
3956
|
-
const consumes = [
|
|
3957
|
-
'application/json'
|
|
3958
|
-
];
|
|
3959
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3960
|
-
if (httpContentTypeSelected !== undefined) {
|
|
3961
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3962
|
-
}
|
|
3963
3965
|
let responseType_ = 'json';
|
|
3964
3966
|
if (localVarHttpHeaderAcceptSelected) {
|
|
3965
3967
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -3972,12 +3974,10 @@ class CatalogControllerService extends BaseService {
|
|
|
3972
3974
|
responseType_ = 'blob';
|
|
3973
3975
|
}
|
|
3974
3976
|
}
|
|
3975
|
-
let localVarPath = `/v2/api/catalog/feeds`;
|
|
3977
|
+
let localVarPath = `/v2/api/catalog/feeds/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
3976
3978
|
const { basePath, withCredentials } = this.configuration;
|
|
3977
|
-
return this.httpClient.request('
|
|
3979
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3978
3980
|
context: localVarHttpContext,
|
|
3979
|
-
body: searchRequest,
|
|
3980
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
3981
3981
|
responseType: responseType_,
|
|
3982
3982
|
...(withCredentials ? { withCredentials } : {}),
|
|
3983
3983
|
headers: localVarHeaders,
|
|
@@ -4421,7 +4421,7 @@ class ConsoleCreativeControllerService extends BaseService {
|
|
|
4421
4421
|
consoleCreativeTrigger(observe = 'body', reportProgress = false, options) {
|
|
4422
4422
|
let localVarHeaders = this.defaultHeaders;
|
|
4423
4423
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4424
|
-
'
|
|
4424
|
+
'application/json'
|
|
4425
4425
|
]);
|
|
4426
4426
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4427
4427
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -5288,9 +5288,9 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5288
5288
|
reportProgress: reportProgress
|
|
5289
5289
|
});
|
|
5290
5290
|
}
|
|
5291
|
-
|
|
5291
|
+
createCreativeSet(creativeSetRequest, observe = 'body', reportProgress = false, options) {
|
|
5292
5292
|
if (creativeSetRequest === null || creativeSetRequest === undefined) {
|
|
5293
|
-
throw new Error('Required parameter creativeSetRequest was null or undefined when calling
|
|
5293
|
+
throw new Error('Required parameter creativeSetRequest was null or undefined when calling createCreativeSet.');
|
|
5294
5294
|
}
|
|
5295
5295
|
let localVarHeaders = this.defaultHeaders;
|
|
5296
5296
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -5423,9 +5423,9 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5423
5423
|
reportProgress: reportProgress
|
|
5424
5424
|
});
|
|
5425
5425
|
}
|
|
5426
|
-
|
|
5427
|
-
if (
|
|
5428
|
-
throw new Error('Required parameter
|
|
5426
|
+
getCreativePerformanceData(dashboardRequest, refresh, observe = 'body', reportProgress = false, options) {
|
|
5427
|
+
if (dashboardRequest === null || dashboardRequest === undefined) {
|
|
5428
|
+
throw new Error('Required parameter dashboardRequest was null or undefined when calling getCreativePerformanceData.');
|
|
5429
5429
|
}
|
|
5430
5430
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5431
5431
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
@@ -5438,6 +5438,14 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5438
5438
|
}
|
|
5439
5439
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5440
5440
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5441
|
+
// to determine the Content-Type header
|
|
5442
|
+
const consumes = [
|
|
5443
|
+
'application/json'
|
|
5444
|
+
];
|
|
5445
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5446
|
+
if (httpContentTypeSelected !== undefined) {
|
|
5447
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
5448
|
+
}
|
|
5441
5449
|
let responseType_ = 'json';
|
|
5442
5450
|
if (localVarHttpHeaderAcceptSelected) {
|
|
5443
5451
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -5450,10 +5458,11 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5450
5458
|
responseType_ = 'blob';
|
|
5451
5459
|
}
|
|
5452
5460
|
}
|
|
5453
|
-
let localVarPath = `/v2/api/creativesets
|
|
5461
|
+
let localVarPath = `/v2/api/creativesets/performance/new/creative`;
|
|
5454
5462
|
const { basePath, withCredentials } = this.configuration;
|
|
5455
|
-
return this.httpClient.request('
|
|
5463
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
5456
5464
|
context: localVarHttpContext,
|
|
5465
|
+
body: dashboardRequest,
|
|
5457
5466
|
params: localVarQueryParameters.toHttpParams(),
|
|
5458
5467
|
responseType: responseType_,
|
|
5459
5468
|
...(withCredentials ? { withCredentials } : {}),
|
|
@@ -5463,12 +5472,10 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5463
5472
|
reportProgress: reportProgress
|
|
5464
5473
|
});
|
|
5465
5474
|
}
|
|
5466
|
-
|
|
5467
|
-
if (
|
|
5468
|
-
throw new Error('Required parameter
|
|
5475
|
+
getCreativePreviewModalData(id, observe = 'body', reportProgress = false, options) {
|
|
5476
|
+
if (id === null || id === undefined) {
|
|
5477
|
+
throw new Error('Required parameter id was null or undefined when calling getCreativePreviewModalData.');
|
|
5469
5478
|
}
|
|
5470
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5471
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
5472
5479
|
let localVarHeaders = this.defaultHeaders;
|
|
5473
5480
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5474
5481
|
'application/json'
|
|
@@ -5478,14 +5485,6 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5478
5485
|
}
|
|
5479
5486
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5480
5487
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
5481
|
-
// to determine the Content-Type header
|
|
5482
|
-
const consumes = [
|
|
5483
|
-
'application/json'
|
|
5484
|
-
];
|
|
5485
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5486
|
-
if (httpContentTypeSelected !== undefined) {
|
|
5487
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
5488
|
-
}
|
|
5489
5488
|
let responseType_ = 'json';
|
|
5490
5489
|
if (localVarHttpHeaderAcceptSelected) {
|
|
5491
5490
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -5498,12 +5497,10 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5498
5497
|
responseType_ = 'blob';
|
|
5499
5498
|
}
|
|
5500
5499
|
}
|
|
5501
|
-
let localVarPath = `/v2/api/creativesets/
|
|
5500
|
+
let localVarPath = `/v2/api/creativesets/creative/perview/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
5502
5501
|
const { basePath, withCredentials } = this.configuration;
|
|
5503
|
-
return this.httpClient.request('
|
|
5502
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
5504
5503
|
context: localVarHttpContext,
|
|
5505
|
-
body: dashboardRequest,
|
|
5506
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
5507
5504
|
responseType: responseType_,
|
|
5508
5505
|
...(withCredentials ? { withCredentials } : {}),
|
|
5509
5506
|
headers: localVarHeaders,
|
|
@@ -5512,10 +5509,12 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5512
5509
|
reportProgress: reportProgress
|
|
5513
5510
|
});
|
|
5514
5511
|
}
|
|
5515
|
-
|
|
5512
|
+
getCreativeSetById(id, refresh, observe = 'body', reportProgress = false, options) {
|
|
5516
5513
|
if (id === null || id === undefined) {
|
|
5517
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
5514
|
+
throw new Error('Required parameter id was null or undefined when calling getCreativeSetById.');
|
|
5518
5515
|
}
|
|
5516
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5517
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
5519
5518
|
let localVarHeaders = this.defaultHeaders;
|
|
5520
5519
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5521
5520
|
'application/json'
|
|
@@ -5537,10 +5536,11 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5537
5536
|
responseType_ = 'blob';
|
|
5538
5537
|
}
|
|
5539
5538
|
}
|
|
5540
|
-
let localVarPath = `/v2/api/creativesets
|
|
5539
|
+
let localVarPath = `/v2/api/creativesets/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
5541
5540
|
const { basePath, withCredentials } = this.configuration;
|
|
5542
5541
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
5543
5542
|
context: localVarHttpContext,
|
|
5543
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
5544
5544
|
responseType: responseType_,
|
|
5545
5545
|
...(withCredentials ? { withCredentials } : {}),
|
|
5546
5546
|
headers: localVarHeaders,
|
|
@@ -5844,12 +5844,12 @@ class CreativeSetsControllerService extends BaseService {
|
|
|
5844
5844
|
reportProgress: reportProgress
|
|
5845
5845
|
});
|
|
5846
5846
|
}
|
|
5847
|
-
|
|
5847
|
+
updateCreativeSetById(id, creativeSetRequest, observe = 'body', reportProgress = false, options) {
|
|
5848
5848
|
if (id === null || id === undefined) {
|
|
5849
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
5849
|
+
throw new Error('Required parameter id was null or undefined when calling updateCreativeSetById.');
|
|
5850
5850
|
}
|
|
5851
5851
|
if (creativeSetRequest === null || creativeSetRequest === undefined) {
|
|
5852
|
-
throw new Error('Required parameter creativeSetRequest was null or undefined when calling
|
|
5852
|
+
throw new Error('Required parameter creativeSetRequest was null or undefined when calling updateCreativeSetById.');
|
|
5853
5853
|
}
|
|
5854
5854
|
let localVarHeaders = this.defaultHeaders;
|
|
5855
5855
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -6092,12 +6092,12 @@ class CreativeSetsV2ControllerService extends BaseService {
|
|
|
6092
6092
|
reportProgress: reportProgress
|
|
6093
6093
|
});
|
|
6094
6094
|
}
|
|
6095
|
-
|
|
6095
|
+
update1(id, creativeAssetOptimizationRequest, observe = 'body', reportProgress = false, options) {
|
|
6096
6096
|
if (id === null || id === undefined) {
|
|
6097
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
6097
|
+
throw new Error('Required parameter id was null or undefined when calling update1.');
|
|
6098
6098
|
}
|
|
6099
6099
|
if (creativeAssetOptimizationRequest === null || creativeAssetOptimizationRequest === undefined) {
|
|
6100
|
-
throw new Error('Required parameter creativeAssetOptimizationRequest was null or undefined when calling
|
|
6100
|
+
throw new Error('Required parameter creativeAssetOptimizationRequest was null or undefined when calling update1.');
|
|
6101
6101
|
}
|
|
6102
6102
|
let localVarHeaders = this.defaultHeaders;
|
|
6103
6103
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -7545,46 +7545,6 @@ class DashboardControllerService extends BaseService {
|
|
|
7545
7545
|
reportProgress: reportProgress
|
|
7546
7546
|
});
|
|
7547
7547
|
}
|
|
7548
|
-
getById4(tableEntity, id, observe = 'body', reportProgress = false, options) {
|
|
7549
|
-
if (tableEntity === null || tableEntity === undefined) {
|
|
7550
|
-
throw new Error('Required parameter tableEntity was null or undefined when calling getById4.');
|
|
7551
|
-
}
|
|
7552
|
-
if (id === null || id === undefined) {
|
|
7553
|
-
throw new Error('Required parameter id was null or undefined when calling getById4.');
|
|
7554
|
-
}
|
|
7555
|
-
let localVarHeaders = this.defaultHeaders;
|
|
7556
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
7557
|
-
'application/json'
|
|
7558
|
-
]);
|
|
7559
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7560
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7561
|
-
}
|
|
7562
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7563
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
7564
|
-
let responseType_ = 'json';
|
|
7565
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
7566
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7567
|
-
responseType_ = 'text';
|
|
7568
|
-
}
|
|
7569
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7570
|
-
responseType_ = 'json';
|
|
7571
|
-
}
|
|
7572
|
-
else {
|
|
7573
|
-
responseType_ = 'blob';
|
|
7574
|
-
}
|
|
7575
|
-
}
|
|
7576
|
-
let localVarPath = `/v2/api/${this.configuration.encodeParam({ name: "tableEntity", value: tableEntity, in: "path", style: "simple", explode: false, dataType: "'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'LOOKALIKE_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE' | 'FEED_PRODUCT_CATEGORY' | 'STRATEGY_CREATIVE_MAPPING' | 'MMP_EVENT_NAME' | 'CONTENT_GENRE' | 'CONTENT_LANGUAGE' | 'AD_POD' | 'AD_BREAK' | 'INCREMENTALITY_TEST' | 'DEAL' | 'WEATHER' | 'ADO_KKTU' | 'CLICK_SIGNING' | 'CLICK_SIGNING_AUDIT'", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
7577
|
-
const { basePath, withCredentials } = this.configuration;
|
|
7578
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
7579
|
-
context: localVarHttpContext,
|
|
7580
|
-
responseType: responseType_,
|
|
7581
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
7582
|
-
headers: localVarHeaders,
|
|
7583
|
-
observe: observe,
|
|
7584
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
7585
|
-
reportProgress: reportProgress
|
|
7586
|
-
});
|
|
7587
|
-
}
|
|
7588
7548
|
getDashboardDataChart(showuu, dashboardRequest, refresh, observe = 'body', reportProgress = false, options) {
|
|
7589
7549
|
if (showuu === null || showuu === undefined) {
|
|
7590
7550
|
throw new Error('Required parameter showuu was null or undefined when calling getDashboardDataChart.');
|
|
@@ -8024,6 +7984,46 @@ class DashboardControllerService extends BaseService {
|
|
|
8024
7984
|
reportProgress: reportProgress
|
|
8025
7985
|
});
|
|
8026
7986
|
}
|
|
7987
|
+
getEntityById(tableEntity, id, observe = 'body', reportProgress = false, options) {
|
|
7988
|
+
if (tableEntity === null || tableEntity === undefined) {
|
|
7989
|
+
throw new Error('Required parameter tableEntity was null or undefined when calling getEntityById.');
|
|
7990
|
+
}
|
|
7991
|
+
if (id === null || id === undefined) {
|
|
7992
|
+
throw new Error('Required parameter id was null or undefined when calling getEntityById.');
|
|
7993
|
+
}
|
|
7994
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7995
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
7996
|
+
'application/json'
|
|
7997
|
+
]);
|
|
7998
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7999
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8000
|
+
}
|
|
8001
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8002
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8003
|
+
let responseType_ = 'json';
|
|
8004
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8005
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8006
|
+
responseType_ = 'text';
|
|
8007
|
+
}
|
|
8008
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8009
|
+
responseType_ = 'json';
|
|
8010
|
+
}
|
|
8011
|
+
else {
|
|
8012
|
+
responseType_ = 'blob';
|
|
8013
|
+
}
|
|
8014
|
+
}
|
|
8015
|
+
let localVarPath = `/v2/api/${this.configuration.encodeParam({ name: "tableEntity", value: tableEntity, in: "path", style: "simple", explode: false, dataType: "'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'LOOKALIKE_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE' | 'FEED_PRODUCT_CATEGORY' | 'STRATEGY_CREATIVE_MAPPING' | 'MMP_EVENT_NAME' | 'CONTENT_GENRE' | 'CONTENT_LANGUAGE' | 'AD_POD' | 'AD_BREAK' | 'INCREMENTALITY_TEST' | 'DEAL' | 'WEATHER' | 'ADO_KKTU' | 'CLICK_SIGNING' | 'CLICK_SIGNING_AUDIT'", dataFormat: undefined })}/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
8016
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8017
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8018
|
+
context: localVarHttpContext,
|
|
8019
|
+
responseType: responseType_,
|
|
8020
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8021
|
+
headers: localVarHeaders,
|
|
8022
|
+
observe: observe,
|
|
8023
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8024
|
+
reportProgress: reportProgress
|
|
8025
|
+
});
|
|
8026
|
+
}
|
|
8027
8027
|
getMenuCrumbs(observe = 'body', reportProgress = false, options) {
|
|
8028
8028
|
let localVarHeaders = this.defaultHeaders;
|
|
8029
8029
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -9304,7 +9304,7 @@ class MDMPAudienceControllerService extends BaseService {
|
|
|
9304
9304
|
}
|
|
9305
9305
|
let localVarHeaders = this.defaultHeaders;
|
|
9306
9306
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
9307
|
-
'
|
|
9307
|
+
'application/json'
|
|
9308
9308
|
]);
|
|
9309
9309
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
9310
9310
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -9639,9 +9639,9 @@ class PixelControllerService extends BaseService {
|
|
|
9639
9639
|
reportProgress: reportProgress
|
|
9640
9640
|
});
|
|
9641
9641
|
}
|
|
9642
|
-
|
|
9642
|
+
createPixel(pixel, observe = 'body', reportProgress = false, options) {
|
|
9643
9643
|
if (pixel === null || pixel === undefined) {
|
|
9644
|
-
throw new Error('Required parameter pixel was null or undefined when calling
|
|
9644
|
+
throw new Error('Required parameter pixel was null or undefined when calling createPixel.');
|
|
9645
9645
|
}
|
|
9646
9646
|
let localVarHeaders = this.defaultHeaders;
|
|
9647
9647
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -9725,9 +9725,9 @@ class PixelControllerService extends BaseService {
|
|
|
9725
9725
|
reportProgress: reportProgress
|
|
9726
9726
|
});
|
|
9727
9727
|
}
|
|
9728
|
-
|
|
9728
|
+
getPixelById(id, observe = 'body', reportProgress = false, options) {
|
|
9729
9729
|
if (id === null || id === undefined) {
|
|
9730
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
9730
|
+
throw new Error('Required parameter id was null or undefined when calling getPixelById.');
|
|
9731
9731
|
}
|
|
9732
9732
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
9733
9733
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'id', id, QueryParamStyle.Form, true);
|
|
@@ -11203,7 +11203,7 @@ class ShopeeAudienceControllerService extends BaseService {
|
|
|
11203
11203
|
localVarHeaders = localVarHeaders.set('Authorization', String(authorization));
|
|
11204
11204
|
}
|
|
11205
11205
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11206
|
-
'
|
|
11206
|
+
'application/json'
|
|
11207
11207
|
]);
|
|
11208
11208
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11209
11209
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -11400,7 +11400,7 @@ class ShopeeAudienceControllerService extends BaseService {
|
|
|
11400
11400
|
localVarHeaders = localVarHeaders.set('Authorization', String(authorization));
|
|
11401
11401
|
}
|
|
11402
11402
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11403
|
-
'
|
|
11403
|
+
'application/json'
|
|
11404
11404
|
]);
|
|
11405
11405
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11406
11406
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -11458,7 +11458,7 @@ class ShopeeAudienceControllerService extends BaseService {
|
|
|
11458
11458
|
localVarHeaders = localVarHeaders.set('Authorization', String(authorization));
|
|
11459
11459
|
}
|
|
11460
11460
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
11461
|
-
'
|
|
11461
|
+
'application/json'
|
|
11462
11462
|
]);
|
|
11463
11463
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
11464
11464
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -12014,7 +12014,7 @@ class SmartCachingControllerService extends BaseService {
|
|
|
12014
12014
|
scheduleSmartCaching(observe = 'body', reportProgress = false, options) {
|
|
12015
12015
|
let localVarHeaders = this.defaultHeaders;
|
|
12016
12016
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
12017
|
-
'
|
|
12017
|
+
'application/json'
|
|
12018
12018
|
]);
|
|
12019
12019
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
12020
12020
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -12800,7 +12800,7 @@ class StrategyControllerService extends BaseService {
|
|
|
12800
12800
|
}
|
|
12801
12801
|
let localVarHeaders = this.defaultHeaders;
|
|
12802
12802
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
12803
|
-
'
|
|
12803
|
+
'application/json'
|
|
12804
12804
|
]);
|
|
12805
12805
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
12806
12806
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -13030,7 +13030,7 @@ class StrategyControllerService extends BaseService {
|
|
|
13030
13030
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
13031
13031
|
let localVarHeaders = this.defaultHeaders;
|
|
13032
13032
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
13033
|
-
'
|
|
13033
|
+
'application/json'
|
|
13034
13034
|
]);
|
|
13035
13035
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
13036
13036
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -13068,7 +13068,7 @@ class StrategyControllerService extends BaseService {
|
|
|
13068
13068
|
}
|
|
13069
13069
|
let localVarHeaders = this.defaultHeaders;
|
|
13070
13070
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
13071
|
-
'
|
|
13071
|
+
'application/json'
|
|
13072
13072
|
]);
|
|
13073
13073
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
13074
13074
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -13108,7 +13108,7 @@ class StrategyControllerService extends BaseService {
|
|
|
13108
13108
|
}
|
|
13109
13109
|
let localVarHeaders = this.defaultHeaders;
|
|
13110
13110
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
13111
|
-
'
|
|
13111
|
+
'application/json'
|
|
13112
13112
|
]);
|
|
13113
13113
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
13114
13114
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -13148,7 +13148,7 @@ class StrategyControllerService extends BaseService {
|
|
|
13148
13148
|
}
|
|
13149
13149
|
let localVarHeaders = this.defaultHeaders;
|
|
13150
13150
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
13151
|
-
'
|
|
13151
|
+
'application/json'
|
|
13152
13152
|
]);
|
|
13153
13153
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
13154
13154
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -13320,7 +13320,7 @@ class StrategyControllerService extends BaseService {
|
|
|
13320
13320
|
}
|
|
13321
13321
|
let localVarHeaders = this.defaultHeaders;
|
|
13322
13322
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
13323
|
-
'
|
|
13323
|
+
'application/json'
|
|
13324
13324
|
]);
|
|
13325
13325
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
13326
13326
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -13873,7 +13873,7 @@ class StrategyTemplateControllerService extends BaseService {
|
|
|
13873
13873
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'refresh', refresh, QueryParamStyle.Form, true);
|
|
13874
13874
|
let localVarHeaders = this.defaultHeaders;
|
|
13875
13875
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
13876
|
-
'
|
|
13876
|
+
'application/json'
|
|
13877
13877
|
]);
|
|
13878
13878
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
13879
13879
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
@@ -14026,7 +14026,7 @@ class UserPreferenceControllerService extends BaseService {
|
|
|
14026
14026
|
}
|
|
14027
14027
|
let localVarHeaders = this.defaultHeaders;
|
|
14028
14028
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
14029
|
-
'
|
|
14029
|
+
'application/json'
|
|
14030
14030
|
]);
|
|
14031
14031
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
14032
14032
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|