@revxui/api-clients-ts 1.1.12 → 1.1.13
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/api/api.d.ts +1 -3
- package/api/dashboardController.service.d.ts +24 -24
- package/api/strategyController.service.d.ts +46 -3
- package/bundles/revxui-api-clients-ts.umd.js +130 -180
- package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
- package/esm2015/api/adminController.service.js +2 -2
- package/esm2015/api/advertiserController.service.js +2 -2
- package/esm2015/api/api.js +2 -4
- package/esm2015/api/appSettingsController.service.js +2 -2
- package/esm2015/api/audienceController.service.js +2 -2
- package/esm2015/api/auditController.service.js +2 -2
- package/esm2015/api/bulkStrategyController.service.js +2 -2
- package/esm2015/api/cSSThemeController_.service.js +2 -2
- package/esm2015/api/campaignController.service.js +2 -2
- package/esm2015/api/catalogController.service.js +2 -2
- package/esm2015/api/clickDestinationController.service.js +2 -2
- package/esm2015/api/creativeController.service.js +2 -2
- package/esm2015/api/creativeSetsController.service.js +2 -2
- package/esm2015/api/creativeTemplateThemesController.service.js +2 -2
- package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
- package/esm2015/api/creativeTemplatesController.service.js +2 -2
- package/esm2015/api/customerReportingController.service.js +2 -2
- package/esm2015/api/dashboardController.service.js +2 -2
- package/esm2015/api/notificationsController.service.js +2 -2
- package/esm2015/api/pixelController.service.js +2 -2
- package/esm2015/api/reportingController.service.js +2 -2
- package/esm2015/api/sliceXController.service.js +2 -2
- package/esm2015/api/strategyController.service.js +101 -2
- package/esm2015/api/uILoggerController.service.js +2 -2
- package/esm2015/api/userPreferenceController.service.js +2 -2
- package/esm2015/api.module.js +1 -3
- package/esm2015/model/apiListResponseStrategyTargettingPerformanceData.js +2 -0
- package/esm2015/model/apiResponseObjectStrategyOptimizationDataResponse.js +2 -0
- package/esm2015/model/campaignESDTO.js +1 -1
- package/esm2015/model/models.js +6 -4
- package/esm2015/model/strategyDTO.js +1 -1
- package/esm2015/model/strategyOptBlockTargetingReq.js +13 -0
- package/esm2015/model/strategyOptimizationDataResponse.js +2 -0
- package/esm2015/model/strategyTargettingPerformanceData.js +13 -0
- package/fesm2015/revxui-api-clients-ts.js +137 -163
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/{apiListResponseStrategyTemplateResponse.d.ts → apiListResponseStrategyTargettingPerformanceData.d.ts} +3 -3
- package/model/apiResponseObjectStrategyOptimizationDataResponse.d.ts +17 -0
- package/model/campaignESDTO.d.ts +0 -1
- package/model/models.d.ts +5 -3
- package/model/strategyDTO.d.ts +0 -1
- package/model/strategyOptBlockTargetingReq.d.ts +15 -0
- package/model/strategyOptimizationDataResponse.d.ts +17 -0
- package/model/strategyTargettingPerformanceData.d.ts +24 -0
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
- package/api/strategyTemplateController.service.d.ts +0 -54
- package/esm2015/api/strategyTemplateController.service.js +0 -123
- package/esm2015/model/apiListResponseStrategyTemplateResponse.js +0 -2
- package/esm2015/model/strategyTemplateDTO.js +0 -21
- package/esm2015/model/strategyTemplateResponse.js +0 -10
- package/model/strategyTemplateDTO.d.ts +0 -30
- package/model/strategyTemplateResponse.d.ts +0 -33
|
@@ -82,7 +82,7 @@ class Configuration {
|
|
|
82
82
|
class AdminControllerService {
|
|
83
83
|
constructor(httpClient, basePath, configuration) {
|
|
84
84
|
this.httpClient = httpClient;
|
|
85
|
-
this.basePath = 'https://
|
|
85
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
86
86
|
this.defaultHeaders = new HttpHeaders();
|
|
87
87
|
this.configuration = new Configuration();
|
|
88
88
|
if (basePath) {
|
|
@@ -271,7 +271,7 @@ class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
|
271
271
|
class AdvertiserControllerService {
|
|
272
272
|
constructor(httpClient, basePath, configuration) {
|
|
273
273
|
this.httpClient = httpClient;
|
|
274
|
-
this.basePath = 'https://
|
|
274
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
275
275
|
this.defaultHeaders = new HttpHeaders();
|
|
276
276
|
this.configuration = new Configuration();
|
|
277
277
|
if (basePath) {
|
|
@@ -682,7 +682,7 @@ AdvertiserControllerService.ctorParameters = () => [
|
|
|
682
682
|
class AppSettingsControllerService {
|
|
683
683
|
constructor(httpClient, basePath, configuration) {
|
|
684
684
|
this.httpClient = httpClient;
|
|
685
|
-
this.basePath = 'https://
|
|
685
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
686
686
|
this.defaultHeaders = new HttpHeaders();
|
|
687
687
|
this.configuration = new Configuration();
|
|
688
688
|
if (basePath) {
|
|
@@ -922,7 +922,7 @@ AppSettingsControllerService.ctorParameters = () => [
|
|
|
922
922
|
class AudienceControllerService {
|
|
923
923
|
constructor(httpClient, basePath, configuration) {
|
|
924
924
|
this.httpClient = httpClient;
|
|
925
|
-
this.basePath = 'https://
|
|
925
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
926
926
|
this.defaultHeaders = new HttpHeaders();
|
|
927
927
|
this.configuration = new Configuration();
|
|
928
928
|
if (basePath) {
|
|
@@ -1735,7 +1735,7 @@ AudienceControllerService.ctorParameters = () => [
|
|
|
1735
1735
|
class AuditControllerService {
|
|
1736
1736
|
constructor(httpClient, basePath, configuration) {
|
|
1737
1737
|
this.httpClient = httpClient;
|
|
1738
|
-
this.basePath = 'https://
|
|
1738
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
1739
1739
|
this.defaultHeaders = new HttpHeaders();
|
|
1740
1740
|
this.configuration = new Configuration();
|
|
1741
1741
|
if (basePath) {
|
|
@@ -1915,7 +1915,7 @@ AuditControllerService.ctorParameters = () => [
|
|
|
1915
1915
|
class BulkStrategyControllerService {
|
|
1916
1916
|
constructor(httpClient, basePath, configuration) {
|
|
1917
1917
|
this.httpClient = httpClient;
|
|
1918
|
-
this.basePath = 'https://
|
|
1918
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
1919
1919
|
this.defaultHeaders = new HttpHeaders();
|
|
1920
1920
|
this.configuration = new Configuration();
|
|
1921
1921
|
if (basePath) {
|
|
@@ -2135,7 +2135,7 @@ BulkStrategyControllerService.ctorParameters = () => [
|
|
|
2135
2135
|
class CSSThemeController_Service {
|
|
2136
2136
|
constructor(httpClient, basePath, configuration) {
|
|
2137
2137
|
this.httpClient = httpClient;
|
|
2138
|
-
this.basePath = 'https://
|
|
2138
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
2139
2139
|
this.defaultHeaders = new HttpHeaders();
|
|
2140
2140
|
this.configuration = new Configuration();
|
|
2141
2141
|
if (basePath) {
|
|
@@ -2239,7 +2239,7 @@ CSSThemeController_Service.ctorParameters = () => [
|
|
|
2239
2239
|
class CampaignControllerService {
|
|
2240
2240
|
constructor(httpClient, basePath, configuration) {
|
|
2241
2241
|
this.httpClient = httpClient;
|
|
2242
|
-
this.basePath = 'https://
|
|
2242
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
2243
2243
|
this.defaultHeaders = new HttpHeaders();
|
|
2244
2244
|
this.configuration = new Configuration();
|
|
2245
2245
|
if (basePath) {
|
|
@@ -2534,7 +2534,7 @@ CampaignControllerService.ctorParameters = () => [
|
|
|
2534
2534
|
class CatalogControllerService {
|
|
2535
2535
|
constructor(httpClient, basePath, configuration) {
|
|
2536
2536
|
this.httpClient = httpClient;
|
|
2537
|
-
this.basePath = 'https://
|
|
2537
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
2538
2538
|
this.defaultHeaders = new HttpHeaders();
|
|
2539
2539
|
this.configuration = new Configuration();
|
|
2540
2540
|
if (basePath) {
|
|
@@ -2769,7 +2769,7 @@ CatalogControllerService.ctorParameters = () => [
|
|
|
2769
2769
|
class ClickDestinationControllerService {
|
|
2770
2770
|
constructor(httpClient, basePath, configuration) {
|
|
2771
2771
|
this.httpClient = httpClient;
|
|
2772
|
-
this.basePath = 'https://
|
|
2772
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
2773
2773
|
this.defaultHeaders = new HttpHeaders();
|
|
2774
2774
|
this.configuration = new Configuration();
|
|
2775
2775
|
if (basePath) {
|
|
@@ -2996,7 +2996,7 @@ ClickDestinationControllerService.ctorParameters = () => [
|
|
|
2996
2996
|
class CreativeControllerService {
|
|
2997
2997
|
constructor(httpClient, basePath, configuration) {
|
|
2998
2998
|
this.httpClient = httpClient;
|
|
2999
|
-
this.basePath = 'https://
|
|
2999
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
3000
3000
|
this.defaultHeaders = new HttpHeaders();
|
|
3001
3001
|
this.configuration = new Configuration();
|
|
3002
3002
|
if (basePath) {
|
|
@@ -3472,7 +3472,7 @@ CreativeControllerService.ctorParameters = () => [
|
|
|
3472
3472
|
class CreativeSetsControllerService {
|
|
3473
3473
|
constructor(httpClient, basePath, configuration) {
|
|
3474
3474
|
this.httpClient = httpClient;
|
|
3475
|
-
this.basePath = 'https://
|
|
3475
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
3476
3476
|
this.defaultHeaders = new HttpHeaders();
|
|
3477
3477
|
this.configuration = new Configuration();
|
|
3478
3478
|
if (basePath) {
|
|
@@ -3966,7 +3966,7 @@ CreativeSetsControllerService.ctorParameters = () => [
|
|
|
3966
3966
|
class CreativeTemplateThemesControllerService {
|
|
3967
3967
|
constructor(httpClient, basePath, configuration) {
|
|
3968
3968
|
this.httpClient = httpClient;
|
|
3969
|
-
this.basePath = 'https://
|
|
3969
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
3970
3970
|
this.defaultHeaders = new HttpHeaders();
|
|
3971
3971
|
this.configuration = new Configuration();
|
|
3972
3972
|
if (basePath) {
|
|
@@ -4146,7 +4146,7 @@ CreativeTemplateThemesControllerService.ctorParameters = () => [
|
|
|
4146
4146
|
class CreativeTemplateVariablesControllerService {
|
|
4147
4147
|
constructor(httpClient, basePath, configuration) {
|
|
4148
4148
|
this.httpClient = httpClient;
|
|
4149
|
-
this.basePath = 'https://
|
|
4149
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
4150
4150
|
this.defaultHeaders = new HttpHeaders();
|
|
4151
4151
|
this.configuration = new Configuration();
|
|
4152
4152
|
if (basePath) {
|
|
@@ -4219,7 +4219,7 @@ CreativeTemplateVariablesControllerService.ctorParameters = () => [
|
|
|
4219
4219
|
class CreativeTemplatesControllerService {
|
|
4220
4220
|
constructor(httpClient, basePath, configuration) {
|
|
4221
4221
|
this.httpClient = httpClient;
|
|
4222
|
-
this.basePath = 'https://
|
|
4222
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
4223
4223
|
this.defaultHeaders = new HttpHeaders();
|
|
4224
4224
|
this.configuration = new Configuration();
|
|
4225
4225
|
if (basePath) {
|
|
@@ -4379,7 +4379,7 @@ CreativeTemplatesControllerService.ctorParameters = () => [
|
|
|
4379
4379
|
class CustomerReportingControllerService {
|
|
4380
4380
|
constructor(httpClient, basePath, configuration) {
|
|
4381
4381
|
this.httpClient = httpClient;
|
|
4382
|
-
this.basePath = 'https://
|
|
4382
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
4383
4383
|
this.defaultHeaders = new HttpHeaders();
|
|
4384
4384
|
this.configuration = new Configuration();
|
|
4385
4385
|
if (basePath) {
|
|
@@ -4461,7 +4461,7 @@ CustomerReportingControllerService.ctorParameters = () => [
|
|
|
4461
4461
|
class DashboardControllerService {
|
|
4462
4462
|
constructor(httpClient, basePath, configuration) {
|
|
4463
4463
|
this.httpClient = httpClient;
|
|
4464
|
-
this.basePath = 'https://
|
|
4464
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
4465
4465
|
this.defaultHeaders = new HttpHeaders();
|
|
4466
4466
|
this.configuration = new Configuration();
|
|
4467
4467
|
if (basePath) {
|
|
@@ -5075,7 +5075,7 @@ DashboardControllerService.ctorParameters = () => [
|
|
|
5075
5075
|
class NotificationsControllerService {
|
|
5076
5076
|
constructor(httpClient, basePath, configuration) {
|
|
5077
5077
|
this.httpClient = httpClient;
|
|
5078
|
-
this.basePath = 'https://
|
|
5078
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
5079
5079
|
this.defaultHeaders = new HttpHeaders();
|
|
5080
5080
|
this.configuration = new Configuration();
|
|
5081
5081
|
if (basePath) {
|
|
@@ -5283,7 +5283,7 @@ NotificationsControllerService.ctorParameters = () => [
|
|
|
5283
5283
|
class PixelControllerService {
|
|
5284
5284
|
constructor(httpClient, basePath, configuration) {
|
|
5285
5285
|
this.httpClient = httpClient;
|
|
5286
|
-
this.basePath = 'https://
|
|
5286
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
5287
5287
|
this.defaultHeaders = new HttpHeaders();
|
|
5288
5288
|
this.configuration = new Configuration();
|
|
5289
5289
|
if (basePath) {
|
|
@@ -5585,7 +5585,7 @@ PixelControllerService.ctorParameters = () => [
|
|
|
5585
5585
|
class ReportingControllerService {
|
|
5586
5586
|
constructor(httpClient, basePath, configuration) {
|
|
5587
5587
|
this.httpClient = httpClient;
|
|
5588
|
-
this.basePath = 'https://
|
|
5588
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
5589
5589
|
this.defaultHeaders = new HttpHeaders();
|
|
5590
5590
|
this.configuration = new Configuration();
|
|
5591
5591
|
if (basePath) {
|
|
@@ -5750,7 +5750,7 @@ ReportingControllerService.ctorParameters = () => [
|
|
|
5750
5750
|
class SliceXControllerService {
|
|
5751
5751
|
constructor(httpClient, basePath, configuration) {
|
|
5752
5752
|
this.httpClient = httpClient;
|
|
5753
|
-
this.basePath = 'https://
|
|
5753
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
5754
5754
|
this.defaultHeaders = new HttpHeaders();
|
|
5755
5755
|
this.configuration = new Configuration();
|
|
5756
5756
|
if (basePath) {
|
|
@@ -5995,7 +5995,7 @@ SliceXControllerService.ctorParameters = () => [
|
|
|
5995
5995
|
class StrategyControllerService {
|
|
5996
5996
|
constructor(httpClient, basePath, configuration) {
|
|
5997
5997
|
this.httpClient = httpClient;
|
|
5998
|
-
this.basePath = 'https://
|
|
5998
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
5999
5999
|
this.defaultHeaders = new HttpHeaders();
|
|
6000
6000
|
this.configuration = new Configuration();
|
|
6001
6001
|
if (basePath) {
|
|
@@ -6265,6 +6265,37 @@ class StrategyControllerService {
|
|
|
6265
6265
|
reportProgress: reportProgress
|
|
6266
6266
|
});
|
|
6267
6267
|
}
|
|
6268
|
+
fetchStrategyTargetingUsingGET(id, tableEntity, reqId, token, observe = 'body', reportProgress = false) {
|
|
6269
|
+
if (id === null || id === undefined) {
|
|
6270
|
+
throw new Error('Required parameter id was null or undefined when calling fetchStrategyTargetingUsingGET.');
|
|
6271
|
+
}
|
|
6272
|
+
if (tableEntity === null || tableEntity === undefined) {
|
|
6273
|
+
throw new Error('Required parameter tableEntity was null or undefined when calling fetchStrategyTargetingUsingGET.');
|
|
6274
|
+
}
|
|
6275
|
+
let headers = this.defaultHeaders;
|
|
6276
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6277
|
+
headers = headers.set('reqId', String(reqId));
|
|
6278
|
+
}
|
|
6279
|
+
if (token !== undefined && token !== null) {
|
|
6280
|
+
headers = headers.set('token', String(token));
|
|
6281
|
+
}
|
|
6282
|
+
// to determine the Accept header
|
|
6283
|
+
let httpHeaderAccepts = [
|
|
6284
|
+
'*/*'
|
|
6285
|
+
];
|
|
6286
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6287
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6288
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6289
|
+
}
|
|
6290
|
+
// to determine the Content-Type header
|
|
6291
|
+
const consumes = [];
|
|
6292
|
+
return this.httpClient.get(`${this.basePath}/v2/api/strategies/${encodeURIComponent(String(id))}/fetch/${encodeURIComponent(String(tableEntity))}`, {
|
|
6293
|
+
withCredentials: this.configuration.withCredentials,
|
|
6294
|
+
headers: headers,
|
|
6295
|
+
observe: observe,
|
|
6296
|
+
reportProgress: reportProgress
|
|
6297
|
+
});
|
|
6298
|
+
}
|
|
6268
6299
|
getABTestExperimentUsingGET(id, reqId, token, observe = 'body', reportProgress = false) {
|
|
6269
6300
|
if (id === null || id === undefined) {
|
|
6270
6301
|
throw new Error('Required parameter id was null or undefined when calling getABTestExperimentUsingGET.');
|
|
@@ -6379,6 +6410,37 @@ class StrategyControllerService {
|
|
|
6379
6410
|
reportProgress: reportProgress
|
|
6380
6411
|
});
|
|
6381
6412
|
}
|
|
6413
|
+
getStrategyTargetingRecommendationUsingGET(id, tableEntity, reqId, token, observe = 'body', reportProgress = false) {
|
|
6414
|
+
if (id === null || id === undefined) {
|
|
6415
|
+
throw new Error('Required parameter id was null or undefined when calling getStrategyTargetingRecommendationUsingGET.');
|
|
6416
|
+
}
|
|
6417
|
+
if (tableEntity === null || tableEntity === undefined) {
|
|
6418
|
+
throw new Error('Required parameter tableEntity was null or undefined when calling getStrategyTargetingRecommendationUsingGET.');
|
|
6419
|
+
}
|
|
6420
|
+
let headers = this.defaultHeaders;
|
|
6421
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6422
|
+
headers = headers.set('reqId', String(reqId));
|
|
6423
|
+
}
|
|
6424
|
+
if (token !== undefined && token !== null) {
|
|
6425
|
+
headers = headers.set('token', String(token));
|
|
6426
|
+
}
|
|
6427
|
+
// to determine the Accept header
|
|
6428
|
+
let httpHeaderAccepts = [
|
|
6429
|
+
'*/*'
|
|
6430
|
+
];
|
|
6431
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6432
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6433
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6434
|
+
}
|
|
6435
|
+
// to determine the Content-Type header
|
|
6436
|
+
const consumes = [];
|
|
6437
|
+
return this.httpClient.get(`${this.basePath}/v2/api/strategies/${encodeURIComponent(String(id))}/recommendation/${encodeURIComponent(String(tableEntity))}`, {
|
|
6438
|
+
withCredentials: this.configuration.withCredentials,
|
|
6439
|
+
headers: headers,
|
|
6440
|
+
observe: observe,
|
|
6441
|
+
reportProgress: reportProgress
|
|
6442
|
+
});
|
|
6443
|
+
}
|
|
6382
6444
|
inlineEditStrategyUsingPOST(id, strategyInlineDTO, reqId, token, observe = 'body', reportProgress = false) {
|
|
6383
6445
|
if (id === null || id === undefined) {
|
|
6384
6446
|
throw new Error('Required parameter id was null or undefined when calling inlineEditStrategyUsingPOST.');
|
|
@@ -6484,6 +6546,43 @@ class StrategyControllerService {
|
|
|
6484
6546
|
reportProgress: reportProgress
|
|
6485
6547
|
});
|
|
6486
6548
|
}
|
|
6549
|
+
strategyOptimizationUsingPOST(id, req, reqId, token, observe = 'body', reportProgress = false) {
|
|
6550
|
+
if (id === null || id === undefined) {
|
|
6551
|
+
throw new Error('Required parameter id was null or undefined when calling strategyOptimizationUsingPOST.');
|
|
6552
|
+
}
|
|
6553
|
+
if (req === null || req === undefined) {
|
|
6554
|
+
throw new Error('Required parameter req was null or undefined when calling strategyOptimizationUsingPOST.');
|
|
6555
|
+
}
|
|
6556
|
+
let headers = this.defaultHeaders;
|
|
6557
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6558
|
+
headers = headers.set('reqId', String(reqId));
|
|
6559
|
+
}
|
|
6560
|
+
if (token !== undefined && token !== null) {
|
|
6561
|
+
headers = headers.set('token', String(token));
|
|
6562
|
+
}
|
|
6563
|
+
// to determine the Accept header
|
|
6564
|
+
let httpHeaderAccepts = [
|
|
6565
|
+
'application/json'
|
|
6566
|
+
];
|
|
6567
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6568
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6569
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6570
|
+
}
|
|
6571
|
+
// to determine the Content-Type header
|
|
6572
|
+
const consumes = [
|
|
6573
|
+
'application/json'
|
|
6574
|
+
];
|
|
6575
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6576
|
+
if (httpContentTypeSelected != undefined) {
|
|
6577
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6578
|
+
}
|
|
6579
|
+
return this.httpClient.post(`${this.basePath}/v2/api/strategies/optimization/${encodeURIComponent(String(id))}`, req, {
|
|
6580
|
+
withCredentials: this.configuration.withCredentials,
|
|
6581
|
+
headers: headers,
|
|
6582
|
+
observe: observe,
|
|
6583
|
+
reportProgress: reportProgress
|
|
6584
|
+
});
|
|
6585
|
+
}
|
|
6487
6586
|
updateABTestExperimentStatusUsingPOST(id, status, reqId, token, observe = 'body', reportProgress = false) {
|
|
6488
6587
|
if (id === null || id === undefined) {
|
|
6489
6588
|
throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
|
|
@@ -6669,123 +6768,6 @@ StrategyControllerService.ctorParameters = () => [
|
|
|
6669
6768
|
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
6670
6769
|
];
|
|
6671
6770
|
|
|
6672
|
-
/**
|
|
6673
|
-
* Api Documentation
|
|
6674
|
-
* Api Documentation
|
|
6675
|
-
*
|
|
6676
|
-
* OpenAPI spec version: 1.0
|
|
6677
|
-
*
|
|
6678
|
-
*
|
|
6679
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6680
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
6681
|
-
* Do not edit the class manually.
|
|
6682
|
-
*/
|
|
6683
|
-
class StrategyTemplateControllerService {
|
|
6684
|
-
constructor(httpClient, basePath, configuration) {
|
|
6685
|
-
this.httpClient = httpClient;
|
|
6686
|
-
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6687
|
-
this.defaultHeaders = new HttpHeaders();
|
|
6688
|
-
this.configuration = new Configuration();
|
|
6689
|
-
if (basePath) {
|
|
6690
|
-
this.basePath = basePath;
|
|
6691
|
-
}
|
|
6692
|
-
if (configuration) {
|
|
6693
|
-
this.configuration = configuration;
|
|
6694
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
6695
|
-
}
|
|
6696
|
-
}
|
|
6697
|
-
/**
|
|
6698
|
-
* @param consumes string[] mime-types
|
|
6699
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
6700
|
-
*/
|
|
6701
|
-
canConsumeForm(consumes) {
|
|
6702
|
-
const form = 'multipart/form-data';
|
|
6703
|
-
for (const consume of consumes) {
|
|
6704
|
-
if (form === consume) {
|
|
6705
|
-
return true;
|
|
6706
|
-
}
|
|
6707
|
-
}
|
|
6708
|
-
return false;
|
|
6709
|
-
}
|
|
6710
|
-
createStrategyTemplateUsingPOST(strategyTemplateDTO, reqId, strategyId, token, observe = 'body', reportProgress = false) {
|
|
6711
|
-
if (strategyTemplateDTO === null || strategyTemplateDTO === undefined) {
|
|
6712
|
-
throw new Error('Required parameter strategyTemplateDTO was null or undefined when calling createStrategyTemplateUsingPOST.');
|
|
6713
|
-
}
|
|
6714
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
6715
|
-
if (strategyId !== undefined && strategyId !== null) {
|
|
6716
|
-
queryParameters = queryParameters.set('strategyId', strategyId);
|
|
6717
|
-
}
|
|
6718
|
-
let headers = this.defaultHeaders;
|
|
6719
|
-
if (reqId !== undefined && reqId !== null) {
|
|
6720
|
-
headers = headers.set('reqId', String(reqId));
|
|
6721
|
-
}
|
|
6722
|
-
if (token !== undefined && token !== null) {
|
|
6723
|
-
headers = headers.set('token', String(token));
|
|
6724
|
-
}
|
|
6725
|
-
// to determine the Accept header
|
|
6726
|
-
let httpHeaderAccepts = [
|
|
6727
|
-
'application/json'
|
|
6728
|
-
];
|
|
6729
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6730
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
6731
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6732
|
-
}
|
|
6733
|
-
// to determine the Content-Type header
|
|
6734
|
-
const consumes = [
|
|
6735
|
-
'application/json'
|
|
6736
|
-
];
|
|
6737
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6738
|
-
if (httpContentTypeSelected != undefined) {
|
|
6739
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6740
|
-
}
|
|
6741
|
-
return this.httpClient.post(`${this.basePath}/v2/api/strategytemplate`, strategyTemplateDTO, {
|
|
6742
|
-
params: queryParameters,
|
|
6743
|
-
withCredentials: this.configuration.withCredentials,
|
|
6744
|
-
headers: headers,
|
|
6745
|
-
observe: observe,
|
|
6746
|
-
reportProgress: reportProgress
|
|
6747
|
-
});
|
|
6748
|
-
}
|
|
6749
|
-
getAllStrategyTemplatesUsingGET(refresh, reqId, token, observe = 'body', reportProgress = false) {
|
|
6750
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
6751
|
-
if (refresh !== undefined && refresh !== null) {
|
|
6752
|
-
queryParameters = queryParameters.set('refresh', refresh);
|
|
6753
|
-
}
|
|
6754
|
-
let headers = this.defaultHeaders;
|
|
6755
|
-
if (reqId !== undefined && reqId !== null) {
|
|
6756
|
-
headers = headers.set('reqId', String(reqId));
|
|
6757
|
-
}
|
|
6758
|
-
if (token !== undefined && token !== null) {
|
|
6759
|
-
headers = headers.set('token', String(token));
|
|
6760
|
-
}
|
|
6761
|
-
// to determine the Accept header
|
|
6762
|
-
let httpHeaderAccepts = [
|
|
6763
|
-
'*/*'
|
|
6764
|
-
];
|
|
6765
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6766
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
6767
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6768
|
-
}
|
|
6769
|
-
// to determine the Content-Type header
|
|
6770
|
-
const consumes = [];
|
|
6771
|
-
return this.httpClient.get(`${this.basePath}/v2/api/strategytemplate/all`, {
|
|
6772
|
-
params: queryParameters,
|
|
6773
|
-
withCredentials: this.configuration.withCredentials,
|
|
6774
|
-
headers: headers,
|
|
6775
|
-
observe: observe,
|
|
6776
|
-
reportProgress: reportProgress
|
|
6777
|
-
});
|
|
6778
|
-
}
|
|
6779
|
-
}
|
|
6780
|
-
StrategyTemplateControllerService.decorators = [
|
|
6781
|
-
{ type: Injectable }
|
|
6782
|
-
];
|
|
6783
|
-
StrategyTemplateControllerService.ctorParameters = () => [
|
|
6784
|
-
{ type: HttpClient },
|
|
6785
|
-
{ type: String, decorators: [{ type: Optional }, { type: Inject, args: [BASE_PATH,] }] },
|
|
6786
|
-
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
6787
|
-
];
|
|
6788
|
-
|
|
6789
6771
|
/**
|
|
6790
6772
|
* Api Documentation
|
|
6791
6773
|
* Api Documentation
|
|
@@ -6800,7 +6782,7 @@ StrategyTemplateControllerService.ctorParameters = () => [
|
|
|
6800
6782
|
class UILoggerControllerService {
|
|
6801
6783
|
constructor(httpClient, basePath, configuration) {
|
|
6802
6784
|
this.httpClient = httpClient;
|
|
6803
|
-
this.basePath = 'https://
|
|
6785
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
6804
6786
|
this.defaultHeaders = new HttpHeaders();
|
|
6805
6787
|
this.configuration = new Configuration();
|
|
6806
6788
|
if (basePath) {
|
|
@@ -6887,7 +6869,7 @@ UILoggerControllerService.ctorParameters = () => [
|
|
|
6887
6869
|
class UserPreferenceControllerService {
|
|
6888
6870
|
constructor(httpClient, basePath, configuration) {
|
|
6889
6871
|
this.httpClient = httpClient;
|
|
6890
|
-
this.basePath = 'https://
|
|
6872
|
+
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
6891
6873
|
this.defaultHeaders = new HttpHeaders();
|
|
6892
6874
|
this.configuration = new Configuration();
|
|
6893
6875
|
if (basePath) {
|
|
@@ -7042,7 +7024,7 @@ UserPreferenceControllerService.ctorParameters = () => [
|
|
|
7042
7024
|
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
7043
7025
|
];
|
|
7044
7026
|
|
|
7045
|
-
const APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService,
|
|
7027
|
+
const APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
7046
7028
|
|
|
7047
7029
|
var ActivityLogsCreativeSetsBulkUpdateDTO;
|
|
7048
7030
|
(function (ActivityLogsCreativeSetsBulkUpdateDTO) {
|
|
@@ -8662,6 +8644,18 @@ var StrategyInlineDTO;
|
|
|
8662
8644
|
};
|
|
8663
8645
|
})(StrategyInlineDTO || (StrategyInlineDTO = {}));
|
|
8664
8646
|
|
|
8647
|
+
/**
|
|
8648
|
+
* Api Documentation
|
|
8649
|
+
* Api Documentation
|
|
8650
|
+
*
|
|
8651
|
+
* OpenAPI spec version: 1.0
|
|
8652
|
+
*
|
|
8653
|
+
*
|
|
8654
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8655
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
8656
|
+
* Do not edit the class manually.
|
|
8657
|
+
*/
|
|
8658
|
+
|
|
8665
8659
|
/**
|
|
8666
8660
|
* Api Documentation
|
|
8667
8661
|
* Api Documentation
|
|
@@ -8692,25 +8686,6 @@ var StrategyQuickEditDTO;
|
|
|
8692
8686
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
8693
8687
|
* Do not edit the class manually.
|
|
8694
8688
|
*/
|
|
8695
|
-
var StrategyTemplateDTO;
|
|
8696
|
-
(function (StrategyTemplateDTO) {
|
|
8697
|
-
StrategyTemplateDTO.GoalEnum = {
|
|
8698
|
-
WEBSITE: 'WEBSITE',
|
|
8699
|
-
MOBILEAPPINSTALLS: 'MOBILE_APP_INSTALLS',
|
|
8700
|
-
MOBILEAPPENGAGEMENT: 'MOBILE_APP_ENGAGEMENT',
|
|
8701
|
-
BRANDAWARENESS: 'BRAND_AWARENESS'
|
|
8702
|
-
};
|
|
8703
|
-
})(StrategyTemplateDTO || (StrategyTemplateDTO = {}));
|
|
8704
|
-
|
|
8705
|
-
var StrategyTemplateResponse;
|
|
8706
|
-
(function (StrategyTemplateResponse) {
|
|
8707
|
-
StrategyTemplateResponse.GoalEnum = {
|
|
8708
|
-
WEBSITE: 'WEBSITE',
|
|
8709
|
-
MOBILEAPPINSTALLS: 'MOBILE_APP_INSTALLS',
|
|
8710
|
-
MOBILEAPPENGAGEMENT: 'MOBILE_APP_ENGAGEMENT',
|
|
8711
|
-
BRANDAWARENESS: 'BRAND_AWARENESS'
|
|
8712
|
-
};
|
|
8713
|
-
})(StrategyTemplateResponse || (StrategyTemplateResponse = {}));
|
|
8714
8689
|
|
|
8715
8690
|
/**
|
|
8716
8691
|
* Api Documentation
|
|
@@ -9007,7 +8982,6 @@ ApiModule.decorators = [
|
|
|
9007
8982
|
ReportingControllerService,
|
|
9008
8983
|
SliceXControllerService,
|
|
9009
8984
|
StrategyControllerService,
|
|
9010
|
-
StrategyTemplateControllerService,
|
|
9011
8985
|
UILoggerControllerService,
|
|
9012
8986
|
UserPreferenceControllerService
|
|
9013
8987
|
]
|
|
@@ -9022,5 +8996,5 @@ ApiModule.ctorParameters = () => [
|
|
|
9022
8996
|
* Generated bundle index. Do not edit.
|
|
9023
8997
|
*/
|
|
9024
8998
|
|
|
9025
|
-
export { APIS, ActivityLogsCreativeSetsBulkUpdateDTO, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AuctionTypeEditField, AudienceBackfillQueryTemplateRequest, AudienceBackfillRequest, AudienceControllerService, AudienceDTO, AudienceESDTO, AudiencePerformanceDTO, AuditControllerService, BASE_PATH, BaseModelWithCreativeSetType, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeDetails, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DashboardControllerService, DcoAttributesDTO, DuplicateCreativeSetResponse, DynamicVideoConfigDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyInlineDTO, StrategyQuickEditDTO,
|
|
8999
|
+
export { APIS, ActivityLogsCreativeSetsBulkUpdateDTO, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AuctionTypeEditField, AudienceBackfillQueryTemplateRequest, AudienceBackfillRequest, AudienceControllerService, AudienceDTO, AudienceESDTO, AudiencePerformanceDTO, AuditControllerService, BASE_PATH, BaseModelWithCreativeSetType, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeDetails, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DashboardControllerService, DcoAttributesDTO, DuplicateCreativeSetResponse, DynamicVideoConfigDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyInlineDTO, StrategyQuickEditDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties, WhitelabelingEntity };
|
|
9026
9000
|
//# sourceMappingURL=revxui-api-clients-ts.js.map
|