@revxui/api-clients-ts 0.10.210 → 0.10.211
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/auditController.service.d.ts +6 -6
- package/api/dashboardController.service.d.ts +9 -9
- package/api/strategyController.service.d.ts +67 -0
- package/bundles/revxui-api-clients-ts.umd.js +196 -50
- package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
- package/esm2015/api/adminController.service.js +2 -2
- package/esm2015/api/advertiserController.service.js +2 -2
- 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/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 +165 -2
- package/esm2015/api/uILoggerController.service.js +2 -2
- package/esm2015/api/userPreferenceController.service.js +2 -2
- package/esm2015/model/aBTestDTO.js +1 -0
- package/esm2015/model/{creativeSetListEditField.js → apiListResponseABTestDTO.js} +1 -1
- package/esm2015/model/apiResponseObjectABTestDTO.js +1 -0
- package/esm2015/model/apiResponseObjectlong.js +12 -0
- package/esm2015/model/bulkEditStrategiesDTO.js +1 -1
- package/esm2015/model/dashboardData.js +1 -1
- package/esm2015/model/models.js +1 -2
- package/esm2015/model/strategyDTO.js +1 -1
- package/esm5/api/adminController.service.js +2 -2
- package/esm5/api/advertiserController.service.js +2 -2
- package/esm5/api/appSettingsController.service.js +2 -2
- package/esm5/api/audienceController.service.js +2 -2
- package/esm5/api/auditController.service.js +2 -2
- package/esm5/api/bulkStrategyController.service.js +2 -2
- package/esm5/api/cSSThemeController_.service.js +2 -2
- package/esm5/api/campaignController.service.js +2 -2
- package/esm5/api/catalogController.service.js +2 -2
- package/esm5/api/clickDestinationController.service.js +2 -2
- package/esm5/api/creativeController.service.js +2 -2
- package/esm5/api/creativeSetsController.service.js +2 -2
- package/esm5/api/creativeTemplateThemesController.service.js +2 -2
- package/esm5/api/creativeTemplateVariablesController.service.js +2 -2
- package/esm5/api/creativeTemplatesController.service.js +2 -2
- package/esm5/api/dashboardController.service.js +2 -2
- package/esm5/api/notificationsController.service.js +2 -2
- package/esm5/api/pixelController.service.js +2 -2
- package/esm5/api/reportingController.service.js +2 -2
- package/esm5/api/sliceXController.service.js +2 -2
- package/esm5/api/strategyController.service.js +175 -2
- package/esm5/api/uILoggerController.service.js +2 -2
- package/esm5/api/userPreferenceController.service.js +2 -2
- package/esm5/model/aBTestDTO.js +1 -0
- package/esm5/model/{creativeSetListEditField.js → apiListResponseABTestDTO.js} +1 -1
- package/esm5/model/apiResponseObjectABTestDTO.js +1 -0
- package/esm5/model/apiResponseObjectlong.js +12 -0
- package/esm5/model/bulkEditStrategiesDTO.js +1 -1
- package/esm5/model/dashboardData.js +1 -1
- package/esm5/model/models.js +1 -2
- package/esm5/model/strategyDTO.js +1 -1
- package/fesm2015/revxui-api-clients-ts.js +187 -51
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +197 -51
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/aBTestDTO.d.ts +32 -0
- package/model/{creativeSetListEditField.d.ts → apiListResponseABTestDTO.d.ts} +4 -4
- package/model/apiResponseObjectABTestDTO.d.ts +17 -0
- package/model/apiResponseObjectlong.d.ts +16 -0
- package/model/bulkEditStrategiesDTO.d.ts +0 -2
- package/model/creativeSetDashboardMetric.d.ts +10 -10
- package/model/creativeSetDetails.d.ts +10 -10
- package/model/creativeSetRequest.d.ts +10 -10
- package/model/creativeSetResponse.d.ts +10 -10
- package/model/dashboardData.d.ts +0 -2
- package/model/models.d.ts +4 -2
- package/model/strategyDTO.d.ts +0 -2
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
- package/esm2015/model/baseModelWithCreativeSetType.js +0 -27
- package/esm5/model/baseModelWithCreativeSetType.js +0 -27
- package/model/baseModelWithCreativeSetType.d.ts +0 -31
|
@@ -83,7 +83,7 @@ class Configuration {
|
|
|
83
83
|
let AdminControllerService = class AdminControllerService {
|
|
84
84
|
constructor(httpClient, basePath, configuration) {
|
|
85
85
|
this.httpClient = httpClient;
|
|
86
|
-
this.basePath = 'https://
|
|
86
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
87
87
|
this.defaultHeaders = new HttpHeaders();
|
|
88
88
|
this.configuration = new Configuration();
|
|
89
89
|
if (basePath) {
|
|
@@ -273,7 +273,7 @@ class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
|
273
273
|
let AdvertiserControllerService = class AdvertiserControllerService {
|
|
274
274
|
constructor(httpClient, basePath, configuration) {
|
|
275
275
|
this.httpClient = httpClient;
|
|
276
|
-
this.basePath = 'https://
|
|
276
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
277
277
|
this.defaultHeaders = new HttpHeaders();
|
|
278
278
|
this.configuration = new Configuration();
|
|
279
279
|
if (basePath) {
|
|
@@ -685,7 +685,7 @@ AdvertiserControllerService = __decorate([
|
|
|
685
685
|
let AppSettingsControllerService = class AppSettingsControllerService {
|
|
686
686
|
constructor(httpClient, basePath, configuration) {
|
|
687
687
|
this.httpClient = httpClient;
|
|
688
|
-
this.basePath = 'https://
|
|
688
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
689
689
|
this.defaultHeaders = new HttpHeaders();
|
|
690
690
|
this.configuration = new Configuration();
|
|
691
691
|
if (basePath) {
|
|
@@ -837,7 +837,7 @@ AppSettingsControllerService = __decorate([
|
|
|
837
837
|
let AudienceControllerService = class AudienceControllerService {
|
|
838
838
|
constructor(httpClient, basePath, configuration) {
|
|
839
839
|
this.httpClient = httpClient;
|
|
840
|
-
this.basePath = 'https://
|
|
840
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
841
841
|
this.defaultHeaders = new HttpHeaders();
|
|
842
842
|
this.configuration = new Configuration();
|
|
843
843
|
if (basePath) {
|
|
@@ -1445,7 +1445,7 @@ AudienceControllerService = __decorate([
|
|
|
1445
1445
|
let AuditControllerService = class AuditControllerService {
|
|
1446
1446
|
constructor(httpClient, basePath, configuration) {
|
|
1447
1447
|
this.httpClient = httpClient;
|
|
1448
|
-
this.basePath = 'https://
|
|
1448
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1449
1449
|
this.defaultHeaders = new HttpHeaders();
|
|
1450
1450
|
this.configuration = new Configuration();
|
|
1451
1451
|
if (basePath) {
|
|
@@ -1626,7 +1626,7 @@ AuditControllerService = __decorate([
|
|
|
1626
1626
|
let BulkStrategyControllerService = class BulkStrategyControllerService {
|
|
1627
1627
|
constructor(httpClient, basePath, configuration) {
|
|
1628
1628
|
this.httpClient = httpClient;
|
|
1629
|
-
this.basePath = 'https://
|
|
1629
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1630
1630
|
this.defaultHeaders = new HttpHeaders();
|
|
1631
1631
|
this.configuration = new Configuration();
|
|
1632
1632
|
if (basePath) {
|
|
@@ -1847,7 +1847,7 @@ BulkStrategyControllerService = __decorate([
|
|
|
1847
1847
|
let CSSThemeController_Service = class CSSThemeController_Service {
|
|
1848
1848
|
constructor(httpClient, basePath, configuration) {
|
|
1849
1849
|
this.httpClient = httpClient;
|
|
1850
|
-
this.basePath = 'https://
|
|
1850
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1851
1851
|
this.defaultHeaders = new HttpHeaders();
|
|
1852
1852
|
this.configuration = new Configuration();
|
|
1853
1853
|
if (basePath) {
|
|
@@ -1952,7 +1952,7 @@ CSSThemeController_Service = __decorate([
|
|
|
1952
1952
|
let CampaignControllerService = class CampaignControllerService {
|
|
1953
1953
|
constructor(httpClient, basePath, configuration) {
|
|
1954
1954
|
this.httpClient = httpClient;
|
|
1955
|
-
this.basePath = 'https://
|
|
1955
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1956
1956
|
this.defaultHeaders = new HttpHeaders();
|
|
1957
1957
|
this.configuration = new Configuration();
|
|
1958
1958
|
if (basePath) {
|
|
@@ -2214,7 +2214,7 @@ CampaignControllerService = __decorate([
|
|
|
2214
2214
|
let CatalogControllerService = class CatalogControllerService {
|
|
2215
2215
|
constructor(httpClient, basePath, configuration) {
|
|
2216
2216
|
this.httpClient = httpClient;
|
|
2217
|
-
this.basePath = 'https://
|
|
2217
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2218
2218
|
this.defaultHeaders = new HttpHeaders();
|
|
2219
2219
|
this.configuration = new Configuration();
|
|
2220
2220
|
if (basePath) {
|
|
@@ -2417,7 +2417,7 @@ CatalogControllerService = __decorate([
|
|
|
2417
2417
|
let ClickDestinationControllerService = class ClickDestinationControllerService {
|
|
2418
2418
|
constructor(httpClient, basePath, configuration) {
|
|
2419
2419
|
this.httpClient = httpClient;
|
|
2420
|
-
this.basePath = 'https://
|
|
2420
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2421
2421
|
this.defaultHeaders = new HttpHeaders();
|
|
2422
2422
|
this.configuration = new Configuration();
|
|
2423
2423
|
if (basePath) {
|
|
@@ -2645,7 +2645,7 @@ ClickDestinationControllerService = __decorate([
|
|
|
2645
2645
|
let CreativeControllerService = class CreativeControllerService {
|
|
2646
2646
|
constructor(httpClient, basePath, configuration) {
|
|
2647
2647
|
this.httpClient = httpClient;
|
|
2648
|
-
this.basePath = 'https://
|
|
2648
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2649
2649
|
this.defaultHeaders = new HttpHeaders();
|
|
2650
2650
|
this.configuration = new Configuration();
|
|
2651
2651
|
if (basePath) {
|
|
@@ -3088,7 +3088,7 @@ CreativeControllerService = __decorate([
|
|
|
3088
3088
|
let CreativeSetsControllerService = class CreativeSetsControllerService {
|
|
3089
3089
|
constructor(httpClient, basePath, configuration) {
|
|
3090
3090
|
this.httpClient = httpClient;
|
|
3091
|
-
this.basePath = 'https://
|
|
3091
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3092
3092
|
this.defaultHeaders = new HttpHeaders();
|
|
3093
3093
|
this.configuration = new Configuration();
|
|
3094
3094
|
if (basePath) {
|
|
@@ -3397,7 +3397,7 @@ CreativeSetsControllerService = __decorate([
|
|
|
3397
3397
|
let CreativeTemplateThemesControllerService = class CreativeTemplateThemesControllerService {
|
|
3398
3398
|
constructor(httpClient, basePath, configuration) {
|
|
3399
3399
|
this.httpClient = httpClient;
|
|
3400
|
-
this.basePath = 'https://
|
|
3400
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3401
3401
|
this.defaultHeaders = new HttpHeaders();
|
|
3402
3402
|
this.configuration = new Configuration();
|
|
3403
3403
|
if (basePath) {
|
|
@@ -3578,7 +3578,7 @@ CreativeTemplateThemesControllerService = __decorate([
|
|
|
3578
3578
|
let CreativeTemplateVariablesControllerService = class CreativeTemplateVariablesControllerService {
|
|
3579
3579
|
constructor(httpClient, basePath, configuration) {
|
|
3580
3580
|
this.httpClient = httpClient;
|
|
3581
|
-
this.basePath = 'https://
|
|
3581
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3582
3582
|
this.defaultHeaders = new HttpHeaders();
|
|
3583
3583
|
this.configuration = new Configuration();
|
|
3584
3584
|
if (basePath) {
|
|
@@ -3652,7 +3652,7 @@ CreativeTemplateVariablesControllerService = __decorate([
|
|
|
3652
3652
|
let CreativeTemplatesControllerService = class CreativeTemplatesControllerService {
|
|
3653
3653
|
constructor(httpClient, basePath, configuration) {
|
|
3654
3654
|
this.httpClient = httpClient;
|
|
3655
|
-
this.basePath = 'https://
|
|
3655
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3656
3656
|
this.defaultHeaders = new HttpHeaders();
|
|
3657
3657
|
this.configuration = new Configuration();
|
|
3658
3658
|
if (basePath) {
|
|
@@ -3813,7 +3813,7 @@ CreativeTemplatesControllerService = __decorate([
|
|
|
3813
3813
|
let DashboardControllerService = class DashboardControllerService {
|
|
3814
3814
|
constructor(httpClient, basePath, configuration) {
|
|
3815
3815
|
this.httpClient = httpClient;
|
|
3816
|
-
this.basePath = 'https://
|
|
3816
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3817
3817
|
this.defaultHeaders = new HttpHeaders();
|
|
3818
3818
|
this.configuration = new Configuration();
|
|
3819
3819
|
if (basePath) {
|
|
@@ -4428,7 +4428,7 @@ DashboardControllerService = __decorate([
|
|
|
4428
4428
|
let NotificationsControllerService = class NotificationsControllerService {
|
|
4429
4429
|
constructor(httpClient, basePath, configuration) {
|
|
4430
4430
|
this.httpClient = httpClient;
|
|
4431
|
-
this.basePath = 'https://
|
|
4431
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4432
4432
|
this.defaultHeaders = new HttpHeaders();
|
|
4433
4433
|
this.configuration = new Configuration();
|
|
4434
4434
|
if (basePath) {
|
|
@@ -4607,7 +4607,7 @@ NotificationsControllerService = __decorate([
|
|
|
4607
4607
|
let PixelControllerService = class PixelControllerService {
|
|
4608
4608
|
constructor(httpClient, basePath, configuration) {
|
|
4609
4609
|
this.httpClient = httpClient;
|
|
4610
|
-
this.basePath = 'https://
|
|
4610
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4611
4611
|
this.defaultHeaders = new HttpHeaders();
|
|
4612
4612
|
this.configuration = new Configuration();
|
|
4613
4613
|
if (basePath) {
|
|
@@ -4910,7 +4910,7 @@ PixelControllerService = __decorate([
|
|
|
4910
4910
|
let ReportingControllerService = class ReportingControllerService {
|
|
4911
4911
|
constructor(httpClient, basePath, configuration) {
|
|
4912
4912
|
this.httpClient = httpClient;
|
|
4913
|
-
this.basePath = 'https://
|
|
4913
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4914
4914
|
this.defaultHeaders = new HttpHeaders();
|
|
4915
4915
|
this.configuration = new Configuration();
|
|
4916
4916
|
if (basePath) {
|
|
@@ -5076,7 +5076,7 @@ ReportingControllerService = __decorate([
|
|
|
5076
5076
|
let SliceXControllerService = class SliceXControllerService {
|
|
5077
5077
|
constructor(httpClient, basePath, configuration) {
|
|
5078
5078
|
this.httpClient = httpClient;
|
|
5079
|
-
this.basePath = 'https://
|
|
5079
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5080
5080
|
this.defaultHeaders = new HttpHeaders();
|
|
5081
5081
|
this.configuration = new Configuration();
|
|
5082
5082
|
if (basePath) {
|
|
@@ -5243,7 +5243,7 @@ SliceXControllerService = __decorate([
|
|
|
5243
5243
|
let StrategyControllerService = class StrategyControllerService {
|
|
5244
5244
|
constructor(httpClient, basePath, configuration) {
|
|
5245
5245
|
this.httpClient = httpClient;
|
|
5246
|
-
this.basePath = 'https://
|
|
5246
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5247
5247
|
this.defaultHeaders = new HttpHeaders();
|
|
5248
5248
|
this.configuration = new Configuration();
|
|
5249
5249
|
if (basePath) {
|
|
@@ -5336,6 +5336,40 @@ let StrategyControllerService = class StrategyControllerService {
|
|
|
5336
5336
|
reportProgress: reportProgress
|
|
5337
5337
|
});
|
|
5338
5338
|
}
|
|
5339
|
+
createABTestExperimentUsingPOST(abTestDTO, reqId, token, observe = 'body', reportProgress = false) {
|
|
5340
|
+
if (abTestDTO === null || abTestDTO === undefined) {
|
|
5341
|
+
throw new Error('Required parameter abTestDTO was null or undefined when calling createABTestExperimentUsingPOST.');
|
|
5342
|
+
}
|
|
5343
|
+
let headers = this.defaultHeaders;
|
|
5344
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5345
|
+
headers = headers.set('reqId', String(reqId));
|
|
5346
|
+
}
|
|
5347
|
+
if (token !== undefined && token !== null) {
|
|
5348
|
+
headers = headers.set('token', String(token));
|
|
5349
|
+
}
|
|
5350
|
+
// to determine the Accept header
|
|
5351
|
+
let httpHeaderAccepts = [
|
|
5352
|
+
'application/json'
|
|
5353
|
+
];
|
|
5354
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5355
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5356
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5357
|
+
}
|
|
5358
|
+
// to determine the Content-Type header
|
|
5359
|
+
const consumes = [
|
|
5360
|
+
'application/json'
|
|
5361
|
+
];
|
|
5362
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5363
|
+
if (httpContentTypeSelected != undefined) {
|
|
5364
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
5365
|
+
}
|
|
5366
|
+
return this.httpClient.post(`${this.basePath}/v2/api/strategies/abtest/create`, abTestDTO, {
|
|
5367
|
+
withCredentials: this.configuration.withCredentials,
|
|
5368
|
+
headers: headers,
|
|
5369
|
+
observe: observe,
|
|
5370
|
+
reportProgress: reportProgress
|
|
5371
|
+
});
|
|
5372
|
+
}
|
|
5339
5373
|
createStrategyUsingPOST(strategy, reqId, token, observe = 'body', reportProgress = false) {
|
|
5340
5374
|
if (strategy === null || strategy === undefined) {
|
|
5341
5375
|
throw new Error('Required parameter strategy was null or undefined when calling createStrategyUsingPOST.');
|
|
@@ -5442,6 +5476,34 @@ let StrategyControllerService = class StrategyControllerService {
|
|
|
5442
5476
|
reportProgress: reportProgress
|
|
5443
5477
|
});
|
|
5444
5478
|
}
|
|
5479
|
+
getABTestExperimentUsingGET(id, reqId, token, observe = 'body', reportProgress = false) {
|
|
5480
|
+
if (id === null || id === undefined) {
|
|
5481
|
+
throw new Error('Required parameter id was null or undefined when calling getABTestExperimentUsingGET.');
|
|
5482
|
+
}
|
|
5483
|
+
let headers = this.defaultHeaders;
|
|
5484
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5485
|
+
headers = headers.set('reqId', String(reqId));
|
|
5486
|
+
}
|
|
5487
|
+
if (token !== undefined && token !== null) {
|
|
5488
|
+
headers = headers.set('token', String(token));
|
|
5489
|
+
}
|
|
5490
|
+
// to determine the Accept header
|
|
5491
|
+
let httpHeaderAccepts = [
|
|
5492
|
+
'application/json'
|
|
5493
|
+
];
|
|
5494
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5495
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5496
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5497
|
+
}
|
|
5498
|
+
// to determine the Content-Type header
|
|
5499
|
+
const consumes = [];
|
|
5500
|
+
return this.httpClient.get(`${this.basePath}/v2/api/strategies/abtest/${encodeURIComponent(String(id))}`, {
|
|
5501
|
+
withCredentials: this.configuration.withCredentials,
|
|
5502
|
+
headers: headers,
|
|
5503
|
+
observe: observe,
|
|
5504
|
+
reportProgress: reportProgress
|
|
5505
|
+
});
|
|
5506
|
+
}
|
|
5445
5507
|
getSkadSettingsUsingGET(reqId, token, observe = 'body', reportProgress = false) {
|
|
5446
5508
|
let headers = this.defaultHeaders;
|
|
5447
5509
|
if (reqId !== undefined && reqId !== null) {
|
|
@@ -5528,6 +5590,37 @@ let StrategyControllerService = class StrategyControllerService {
|
|
|
5528
5590
|
reportProgress: reportProgress
|
|
5529
5591
|
});
|
|
5530
5592
|
}
|
|
5593
|
+
listABTestExperimentUsingGET(entity, entityId, reqId, token, observe = 'body', reportProgress = false) {
|
|
5594
|
+
if (entity === null || entity === undefined) {
|
|
5595
|
+
throw new Error('Required parameter entity was null or undefined when calling listABTestExperimentUsingGET.');
|
|
5596
|
+
}
|
|
5597
|
+
if (entityId === null || entityId === undefined) {
|
|
5598
|
+
throw new Error('Required parameter entityId was null or undefined when calling listABTestExperimentUsingGET.');
|
|
5599
|
+
}
|
|
5600
|
+
let headers = this.defaultHeaders;
|
|
5601
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5602
|
+
headers = headers.set('reqId', String(reqId));
|
|
5603
|
+
}
|
|
5604
|
+
if (token !== undefined && token !== null) {
|
|
5605
|
+
headers = headers.set('token', String(token));
|
|
5606
|
+
}
|
|
5607
|
+
// to determine the Accept header
|
|
5608
|
+
let httpHeaderAccepts = [
|
|
5609
|
+
'application/json'
|
|
5610
|
+
];
|
|
5611
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5612
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5613
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5614
|
+
}
|
|
5615
|
+
// to determine the Content-Type header
|
|
5616
|
+
const consumes = [];
|
|
5617
|
+
return this.httpClient.get(`${this.basePath}/v2/api/strategies/abtest/list/${encodeURIComponent(String(entity))}/${encodeURIComponent(String(entityId))}`, {
|
|
5618
|
+
withCredentials: this.configuration.withCredentials,
|
|
5619
|
+
headers: headers,
|
|
5620
|
+
observe: observe,
|
|
5621
|
+
reportProgress: reportProgress
|
|
5622
|
+
});
|
|
5623
|
+
}
|
|
5531
5624
|
saveStrategyQuickEditDetailsUsingPOST(id, strategyQuickEditDTO, reqId, token, observe = 'body', reportProgress = false) {
|
|
5532
5625
|
if (id === null || id === undefined) {
|
|
5533
5626
|
throw new Error('Required parameter id was null or undefined when calling saveStrategyQuickEditDetailsUsingPOST.');
|
|
@@ -5565,6 +5658,76 @@ let StrategyControllerService = class StrategyControllerService {
|
|
|
5565
5658
|
reportProgress: reportProgress
|
|
5566
5659
|
});
|
|
5567
5660
|
}
|
|
5661
|
+
updateABTestExperimentStatusUsingPOST(id, status, reqId, token, observe = 'body', reportProgress = false) {
|
|
5662
|
+
if (id === null || id === undefined) {
|
|
5663
|
+
throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
|
|
5664
|
+
}
|
|
5665
|
+
if (status === null || status === undefined) {
|
|
5666
|
+
throw new Error('Required parameter status was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
|
|
5667
|
+
}
|
|
5668
|
+
let headers = this.defaultHeaders;
|
|
5669
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5670
|
+
headers = headers.set('reqId', String(reqId));
|
|
5671
|
+
}
|
|
5672
|
+
if (token !== undefined && token !== null) {
|
|
5673
|
+
headers = headers.set('token', String(token));
|
|
5674
|
+
}
|
|
5675
|
+
// to determine the Accept header
|
|
5676
|
+
let httpHeaderAccepts = [
|
|
5677
|
+
'application/json'
|
|
5678
|
+
];
|
|
5679
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5680
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5681
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5682
|
+
}
|
|
5683
|
+
// to determine the Content-Type header
|
|
5684
|
+
const consumes = [
|
|
5685
|
+
'application/json'
|
|
5686
|
+
];
|
|
5687
|
+
return this.httpClient.post(`${this.basePath}/v2/api/strategies/abtest/updateStatus/${encodeURIComponent(String(id))}/${encodeURIComponent(String(status))}`, null, {
|
|
5688
|
+
withCredentials: this.configuration.withCredentials,
|
|
5689
|
+
headers: headers,
|
|
5690
|
+
observe: observe,
|
|
5691
|
+
reportProgress: reportProgress
|
|
5692
|
+
});
|
|
5693
|
+
}
|
|
5694
|
+
updateABTestExperimentUsingPOST(abTestDTO, id, reqId, token, observe = 'body', reportProgress = false) {
|
|
5695
|
+
if (abTestDTO === null || abTestDTO === undefined) {
|
|
5696
|
+
throw new Error('Required parameter abTestDTO was null or undefined when calling updateABTestExperimentUsingPOST.');
|
|
5697
|
+
}
|
|
5698
|
+
if (id === null || id === undefined) {
|
|
5699
|
+
throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentUsingPOST.');
|
|
5700
|
+
}
|
|
5701
|
+
let headers = this.defaultHeaders;
|
|
5702
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5703
|
+
headers = headers.set('reqId', String(reqId));
|
|
5704
|
+
}
|
|
5705
|
+
if (token !== undefined && token !== null) {
|
|
5706
|
+
headers = headers.set('token', String(token));
|
|
5707
|
+
}
|
|
5708
|
+
// to determine the Accept header
|
|
5709
|
+
let httpHeaderAccepts = [
|
|
5710
|
+
'application/json'
|
|
5711
|
+
];
|
|
5712
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5713
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5714
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5715
|
+
}
|
|
5716
|
+
// to determine the Content-Type header
|
|
5717
|
+
const consumes = [
|
|
5718
|
+
'application/json'
|
|
5719
|
+
];
|
|
5720
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5721
|
+
if (httpContentTypeSelected != undefined) {
|
|
5722
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
5723
|
+
}
|
|
5724
|
+
return this.httpClient.post(`${this.basePath}/v2/api/strategies/abtest/update/${encodeURIComponent(String(id))}`, abTestDTO, {
|
|
5725
|
+
withCredentials: this.configuration.withCredentials,
|
|
5726
|
+
headers: headers,
|
|
5727
|
+
observe: observe,
|
|
5728
|
+
reportProgress: reportProgress
|
|
5729
|
+
});
|
|
5730
|
+
}
|
|
5568
5731
|
updateStrategyUsingPOST(id, strategy, reqId, token, observe = 'body', reportProgress = false) {
|
|
5569
5732
|
if (id === null || id === undefined) {
|
|
5570
5733
|
throw new Error('Required parameter id was null or undefined when calling updateStrategyUsingPOST.');
|
|
@@ -5695,7 +5858,7 @@ StrategyControllerService = __decorate([
|
|
|
5695
5858
|
let UILoggerControllerService = class UILoggerControllerService {
|
|
5696
5859
|
constructor(httpClient, basePath, configuration) {
|
|
5697
5860
|
this.httpClient = httpClient;
|
|
5698
|
-
this.basePath = 'https://
|
|
5861
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5699
5862
|
this.defaultHeaders = new HttpHeaders();
|
|
5700
5863
|
this.configuration = new Configuration();
|
|
5701
5864
|
if (basePath) {
|
|
@@ -5783,7 +5946,7 @@ UILoggerControllerService = __decorate([
|
|
|
5783
5946
|
let UserPreferenceControllerService = class UserPreferenceControllerService {
|
|
5784
5947
|
constructor(httpClient, basePath, configuration) {
|
|
5785
5948
|
this.httpClient = httpClient;
|
|
5786
|
-
this.basePath = 'https://
|
|
5949
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5787
5950
|
this.defaultHeaders = new HttpHeaders();
|
|
5788
5951
|
this.configuration = new Configuration();
|
|
5789
5952
|
if (basePath) {
|
|
@@ -6058,33 +6221,6 @@ var AudienceESDTO;
|
|
|
6058
6221
|
};
|
|
6059
6222
|
})(AudienceESDTO || (AudienceESDTO = {}));
|
|
6060
6223
|
|
|
6061
|
-
/**
|
|
6062
|
-
* Api Documentation
|
|
6063
|
-
* Api Documentation
|
|
6064
|
-
*
|
|
6065
|
-
* OpenAPI spec version: 1.0
|
|
6066
|
-
*
|
|
6067
|
-
*
|
|
6068
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6069
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
6070
|
-
* Do not edit the class manually.
|
|
6071
|
-
*/
|
|
6072
|
-
var BaseModelWithCreativeSetType;
|
|
6073
|
-
(function (BaseModelWithCreativeSetType) {
|
|
6074
|
-
BaseModelWithCreativeSetType.CreativeSetTypeEnum = {
|
|
6075
|
-
IMAGE: 'IMAGE',
|
|
6076
|
-
VIDEO: 'VIDEO',
|
|
6077
|
-
THIRDPARTYADTAGS: 'THIRD_PARTY_AD_TAGS',
|
|
6078
|
-
ZIPPEDHTML: 'ZIPPED_HTML',
|
|
6079
|
-
NATIVEIMAGE: 'NATIVE_IMAGE',
|
|
6080
|
-
NATIVEVIDEO: 'NATIVE_VIDEO',
|
|
6081
|
-
DYNAMICIMAGE: 'DYNAMIC_IMAGE',
|
|
6082
|
-
DYNAMICMACRO: 'DYNAMIC_MACRO',
|
|
6083
|
-
DYNAMICHTML: 'DYNAMIC_HTML',
|
|
6084
|
-
DYNAMICVIDEO: 'DYNAMIC_VIDEO'
|
|
6085
|
-
};
|
|
6086
|
-
})(BaseModelWithCreativeSetType || (BaseModelWithCreativeSetType = {}));
|
|
6087
|
-
|
|
6088
6224
|
var ClickDestination;
|
|
6089
6225
|
(function (ClickDestination) {
|
|
6090
6226
|
ClickDestination.CampaignTypeEnum = {
|
|
@@ -6803,5 +6939,5 @@ ApiModule = ApiModule_1 = __decorate([
|
|
|
6803
6939
|
* Generated bundle index. Do not edit.
|
|
6804
6940
|
*/
|
|
6805
6941
|
|
|
6806
|
-
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AudienceESDTO, AuditControllerService, BASE_PATH,
|
|
6942
|
+
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AudienceESDTO, AuditControllerService, BASE_PATH, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, DcoAttributesDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyQuickEditDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties };
|
|
6807
6943
|
//# sourceMappingURL=revxui-api-clients-ts.js.map
|