@revxui/api-clients-ts 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/api.d.ts +3 -1
- package/api/audienceController.service.d.ts +27 -0
- package/api/dashboardController.service.d.ts +24 -24
- package/api/strategyController.service.d.ts +3 -3
- package/api/strategyTemplateController.service.d.ts +68 -0
- package/bundles/revxui-api-clients-ts.umd.js +277 -35
- 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 +4 -2
- package/esm2015/api/appSettingsController.service.js +2 -2
- package/esm2015/api/audienceController.service.js +70 -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 +2 -2
- package/esm2015/api/strategyTemplateController.service.js +156 -0
- package/esm2015/api/uILoggerController.service.js +2 -2
- package/esm2015/api/userPreferenceController.service.js +2 -2
- package/esm2015/api.module.js +3 -1
- package/esm2015/model/apiListResponseStrategyTemplateDTO.js +2 -0
- package/esm2015/model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse.js +2 -0
- package/esm2015/model/audienceAnalysisRequest.js +13 -0
- package/esm2015/model/combinedAudienceAnalysisResponse.js +13 -0
- package/esm2015/model/models.js +7 -1
- package/esm2015/model/searchRequest.js +1 -1
- package/esm2015/model/strategyDTO.js +1 -1
- package/esm2015/model/strategyTemplateDTO.js +21 -0
- package/esm2015/model/totalUniqueUserRequest.js +13 -0
- package/esm2015/model/whitelabelingEntity.js +2 -10
- package/fesm2015/revxui-api-clients-ts.js +302 -36
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/apiListResponseStrategyTemplateDTO.d.ts +16 -0
- package/model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse.d.ts +17 -0
- package/model/audienceAnalysisRequest.d.ts +17 -0
- package/model/combinedAudienceAnalysisResponse.d.ts +19 -0
- package/model/models.d.ts +6 -0
- package/model/searchRequest.d.ts +1 -0
- package/model/strategyDTO.d.ts +1 -0
- package/model/strategyTemplateDTO.d.ts +29 -0
- package/model/totalUniqueUserRequest.d.ts +15 -0
- package/model/whitelabelingEntity.d.ts +0 -12
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
|
@@ -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://apiv2stage1.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://apiv2stage1.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://apiv2stage1.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://apiv2stage1.atomex.net';
|
|
926
926
|
this.defaultHeaders = new HttpHeaders();
|
|
927
927
|
this.configuration = new Configuration();
|
|
928
928
|
if (basePath) {
|
|
@@ -1295,6 +1295,40 @@ class AudienceControllerService {
|
|
|
1295
1295
|
reportProgress: reportProgress
|
|
1296
1296
|
});
|
|
1297
1297
|
}
|
|
1298
|
+
getAnalysisAudienceCountUsingPOST(totalUniqueUserRequest, reqId, token, observe = 'body', reportProgress = false) {
|
|
1299
|
+
if (totalUniqueUserRequest === null || totalUniqueUserRequest === undefined) {
|
|
1300
|
+
throw new Error('Required parameter totalUniqueUserRequest was null or undefined when calling getAnalysisAudienceCountUsingPOST.');
|
|
1301
|
+
}
|
|
1302
|
+
let headers = this.defaultHeaders;
|
|
1303
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1304
|
+
headers = headers.set('reqId', String(reqId));
|
|
1305
|
+
}
|
|
1306
|
+
if (token !== undefined && token !== null) {
|
|
1307
|
+
headers = headers.set('token', String(token));
|
|
1308
|
+
}
|
|
1309
|
+
// to determine the Accept header
|
|
1310
|
+
let httpHeaderAccepts = [
|
|
1311
|
+
'*/*'
|
|
1312
|
+
];
|
|
1313
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1314
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1315
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1316
|
+
}
|
|
1317
|
+
// to determine the Content-Type header
|
|
1318
|
+
const consumes = [
|
|
1319
|
+
'application/json'
|
|
1320
|
+
];
|
|
1321
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1322
|
+
if (httpContentTypeSelected != undefined) {
|
|
1323
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1324
|
+
}
|
|
1325
|
+
return this.httpClient.post(`${this.basePath}/v2/api/audience/audienceanalysis`, totalUniqueUserRequest, {
|
|
1326
|
+
withCredentials: this.configuration.withCredentials,
|
|
1327
|
+
headers: headers,
|
|
1328
|
+
observe: observe,
|
|
1329
|
+
reportProgress: reportProgress
|
|
1330
|
+
});
|
|
1331
|
+
}
|
|
1298
1332
|
getByIdUsingGET1(id, refresh, reqId, token, observe = 'body', reportProgress = false) {
|
|
1299
1333
|
if (id === null || id === undefined) {
|
|
1300
1334
|
throw new Error('Required parameter id was null or undefined when calling getByIdUsingGET1.');
|
|
@@ -1385,6 +1419,40 @@ class AudienceControllerService {
|
|
|
1385
1419
|
reportProgress: reportProgress
|
|
1386
1420
|
});
|
|
1387
1421
|
}
|
|
1422
|
+
getCombinedAnalysisAudienceCountUsingPOST(audienceAnalysisRequest, reqId, token, observe = 'body', reportProgress = false) {
|
|
1423
|
+
if (audienceAnalysisRequest === null || audienceAnalysisRequest === undefined) {
|
|
1424
|
+
throw new Error('Required parameter audienceAnalysisRequest was null or undefined when calling getCombinedAnalysisAudienceCountUsingPOST.');
|
|
1425
|
+
}
|
|
1426
|
+
let headers = this.defaultHeaders;
|
|
1427
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1428
|
+
headers = headers.set('reqId', String(reqId));
|
|
1429
|
+
}
|
|
1430
|
+
if (token !== undefined && token !== null) {
|
|
1431
|
+
headers = headers.set('token', String(token));
|
|
1432
|
+
}
|
|
1433
|
+
// to determine the Accept header
|
|
1434
|
+
let httpHeaderAccepts = [
|
|
1435
|
+
'*/*'
|
|
1436
|
+
];
|
|
1437
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1438
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1439
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1440
|
+
}
|
|
1441
|
+
// to determine the Content-Type header
|
|
1442
|
+
const consumes = [
|
|
1443
|
+
'application/json'
|
|
1444
|
+
];
|
|
1445
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1446
|
+
if (httpContentTypeSelected != undefined) {
|
|
1447
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1448
|
+
}
|
|
1449
|
+
return this.httpClient.post(`${this.basePath}/v2/api/audience/audienceanalysis/combination`, audienceAnalysisRequest, {
|
|
1450
|
+
withCredentials: this.configuration.withCredentials,
|
|
1451
|
+
headers: headers,
|
|
1452
|
+
observe: observe,
|
|
1453
|
+
reportProgress: reportProgress
|
|
1454
|
+
});
|
|
1455
|
+
}
|
|
1388
1456
|
getEligibleUsersCountUsingPOST(eligibleUsersRequest, reqId, token, observe = 'body', reportProgress = false) {
|
|
1389
1457
|
if (eligibleUsersRequest === null || eligibleUsersRequest === undefined) {
|
|
1390
1458
|
throw new Error('Required parameter eligibleUsersRequest was null or undefined when calling getEligibleUsersCountUsingPOST.');
|
|
@@ -1667,7 +1735,7 @@ AudienceControllerService.ctorParameters = () => [
|
|
|
1667
1735
|
class AuditControllerService {
|
|
1668
1736
|
constructor(httpClient, basePath, configuration) {
|
|
1669
1737
|
this.httpClient = httpClient;
|
|
1670
|
-
this.basePath = 'https://
|
|
1738
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
1671
1739
|
this.defaultHeaders = new HttpHeaders();
|
|
1672
1740
|
this.configuration = new Configuration();
|
|
1673
1741
|
if (basePath) {
|
|
@@ -1847,7 +1915,7 @@ AuditControllerService.ctorParameters = () => [
|
|
|
1847
1915
|
class BulkStrategyControllerService {
|
|
1848
1916
|
constructor(httpClient, basePath, configuration) {
|
|
1849
1917
|
this.httpClient = httpClient;
|
|
1850
|
-
this.basePath = 'https://
|
|
1918
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
1851
1919
|
this.defaultHeaders = new HttpHeaders();
|
|
1852
1920
|
this.configuration = new Configuration();
|
|
1853
1921
|
if (basePath) {
|
|
@@ -2067,7 +2135,7 @@ BulkStrategyControllerService.ctorParameters = () => [
|
|
|
2067
2135
|
class CSSThemeController_Service {
|
|
2068
2136
|
constructor(httpClient, basePath, configuration) {
|
|
2069
2137
|
this.httpClient = httpClient;
|
|
2070
|
-
this.basePath = 'https://
|
|
2138
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2071
2139
|
this.defaultHeaders = new HttpHeaders();
|
|
2072
2140
|
this.configuration = new Configuration();
|
|
2073
2141
|
if (basePath) {
|
|
@@ -2171,7 +2239,7 @@ CSSThemeController_Service.ctorParameters = () => [
|
|
|
2171
2239
|
class CampaignControllerService {
|
|
2172
2240
|
constructor(httpClient, basePath, configuration) {
|
|
2173
2241
|
this.httpClient = httpClient;
|
|
2174
|
-
this.basePath = 'https://
|
|
2242
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2175
2243
|
this.defaultHeaders = new HttpHeaders();
|
|
2176
2244
|
this.configuration = new Configuration();
|
|
2177
2245
|
if (basePath) {
|
|
@@ -2466,7 +2534,7 @@ CampaignControllerService.ctorParameters = () => [
|
|
|
2466
2534
|
class CatalogControllerService {
|
|
2467
2535
|
constructor(httpClient, basePath, configuration) {
|
|
2468
2536
|
this.httpClient = httpClient;
|
|
2469
|
-
this.basePath = 'https://
|
|
2537
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2470
2538
|
this.defaultHeaders = new HttpHeaders();
|
|
2471
2539
|
this.configuration = new Configuration();
|
|
2472
2540
|
if (basePath) {
|
|
@@ -2701,7 +2769,7 @@ CatalogControllerService.ctorParameters = () => [
|
|
|
2701
2769
|
class ClickDestinationControllerService {
|
|
2702
2770
|
constructor(httpClient, basePath, configuration) {
|
|
2703
2771
|
this.httpClient = httpClient;
|
|
2704
|
-
this.basePath = 'https://
|
|
2772
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2705
2773
|
this.defaultHeaders = new HttpHeaders();
|
|
2706
2774
|
this.configuration = new Configuration();
|
|
2707
2775
|
if (basePath) {
|
|
@@ -2928,7 +2996,7 @@ ClickDestinationControllerService.ctorParameters = () => [
|
|
|
2928
2996
|
class CreativeControllerService {
|
|
2929
2997
|
constructor(httpClient, basePath, configuration) {
|
|
2930
2998
|
this.httpClient = httpClient;
|
|
2931
|
-
this.basePath = 'https://
|
|
2999
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2932
3000
|
this.defaultHeaders = new HttpHeaders();
|
|
2933
3001
|
this.configuration = new Configuration();
|
|
2934
3002
|
if (basePath) {
|
|
@@ -3404,7 +3472,7 @@ CreativeControllerService.ctorParameters = () => [
|
|
|
3404
3472
|
class CreativeSetsControllerService {
|
|
3405
3473
|
constructor(httpClient, basePath, configuration) {
|
|
3406
3474
|
this.httpClient = httpClient;
|
|
3407
|
-
this.basePath = 'https://
|
|
3475
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3408
3476
|
this.defaultHeaders = new HttpHeaders();
|
|
3409
3477
|
this.configuration = new Configuration();
|
|
3410
3478
|
if (basePath) {
|
|
@@ -3898,7 +3966,7 @@ CreativeSetsControllerService.ctorParameters = () => [
|
|
|
3898
3966
|
class CreativeTemplateThemesControllerService {
|
|
3899
3967
|
constructor(httpClient, basePath, configuration) {
|
|
3900
3968
|
this.httpClient = httpClient;
|
|
3901
|
-
this.basePath = 'https://
|
|
3969
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3902
3970
|
this.defaultHeaders = new HttpHeaders();
|
|
3903
3971
|
this.configuration = new Configuration();
|
|
3904
3972
|
if (basePath) {
|
|
@@ -4078,7 +4146,7 @@ CreativeTemplateThemesControllerService.ctorParameters = () => [
|
|
|
4078
4146
|
class CreativeTemplateVariablesControllerService {
|
|
4079
4147
|
constructor(httpClient, basePath, configuration) {
|
|
4080
4148
|
this.httpClient = httpClient;
|
|
4081
|
-
this.basePath = 'https://
|
|
4149
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4082
4150
|
this.defaultHeaders = new HttpHeaders();
|
|
4083
4151
|
this.configuration = new Configuration();
|
|
4084
4152
|
if (basePath) {
|
|
@@ -4151,7 +4219,7 @@ CreativeTemplateVariablesControllerService.ctorParameters = () => [
|
|
|
4151
4219
|
class CreativeTemplatesControllerService {
|
|
4152
4220
|
constructor(httpClient, basePath, configuration) {
|
|
4153
4221
|
this.httpClient = httpClient;
|
|
4154
|
-
this.basePath = 'https://
|
|
4222
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4155
4223
|
this.defaultHeaders = new HttpHeaders();
|
|
4156
4224
|
this.configuration = new Configuration();
|
|
4157
4225
|
if (basePath) {
|
|
@@ -4311,7 +4379,7 @@ CreativeTemplatesControllerService.ctorParameters = () => [
|
|
|
4311
4379
|
class CustomerReportingControllerService {
|
|
4312
4380
|
constructor(httpClient, basePath, configuration) {
|
|
4313
4381
|
this.httpClient = httpClient;
|
|
4314
|
-
this.basePath = 'https://
|
|
4382
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4315
4383
|
this.defaultHeaders = new HttpHeaders();
|
|
4316
4384
|
this.configuration = new Configuration();
|
|
4317
4385
|
if (basePath) {
|
|
@@ -4393,7 +4461,7 @@ CustomerReportingControllerService.ctorParameters = () => [
|
|
|
4393
4461
|
class DashboardControllerService {
|
|
4394
4462
|
constructor(httpClient, basePath, configuration) {
|
|
4395
4463
|
this.httpClient = httpClient;
|
|
4396
|
-
this.basePath = 'https://
|
|
4464
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4397
4465
|
this.defaultHeaders = new HttpHeaders();
|
|
4398
4466
|
this.configuration = new Configuration();
|
|
4399
4467
|
if (basePath) {
|
|
@@ -5007,7 +5075,7 @@ DashboardControllerService.ctorParameters = () => [
|
|
|
5007
5075
|
class NotificationsControllerService {
|
|
5008
5076
|
constructor(httpClient, basePath, configuration) {
|
|
5009
5077
|
this.httpClient = httpClient;
|
|
5010
|
-
this.basePath = 'https://
|
|
5078
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5011
5079
|
this.defaultHeaders = new HttpHeaders();
|
|
5012
5080
|
this.configuration = new Configuration();
|
|
5013
5081
|
if (basePath) {
|
|
@@ -5185,7 +5253,7 @@ NotificationsControllerService.ctorParameters = () => [
|
|
|
5185
5253
|
class PixelControllerService {
|
|
5186
5254
|
constructor(httpClient, basePath, configuration) {
|
|
5187
5255
|
this.httpClient = httpClient;
|
|
5188
|
-
this.basePath = 'https://
|
|
5256
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5189
5257
|
this.defaultHeaders = new HttpHeaders();
|
|
5190
5258
|
this.configuration = new Configuration();
|
|
5191
5259
|
if (basePath) {
|
|
@@ -5487,7 +5555,7 @@ PixelControllerService.ctorParameters = () => [
|
|
|
5487
5555
|
class ReportingControllerService {
|
|
5488
5556
|
constructor(httpClient, basePath, configuration) {
|
|
5489
5557
|
this.httpClient = httpClient;
|
|
5490
|
-
this.basePath = 'https://
|
|
5558
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5491
5559
|
this.defaultHeaders = new HttpHeaders();
|
|
5492
5560
|
this.configuration = new Configuration();
|
|
5493
5561
|
if (basePath) {
|
|
@@ -5652,7 +5720,7 @@ ReportingControllerService.ctorParameters = () => [
|
|
|
5652
5720
|
class SliceXControllerService {
|
|
5653
5721
|
constructor(httpClient, basePath, configuration) {
|
|
5654
5722
|
this.httpClient = httpClient;
|
|
5655
|
-
this.basePath = 'https://
|
|
5723
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5656
5724
|
this.defaultHeaders = new HttpHeaders();
|
|
5657
5725
|
this.configuration = new Configuration();
|
|
5658
5726
|
if (basePath) {
|
|
@@ -5897,7 +5965,7 @@ SliceXControllerService.ctorParameters = () => [
|
|
|
5897
5965
|
class StrategyControllerService {
|
|
5898
5966
|
constructor(httpClient, basePath, configuration) {
|
|
5899
5967
|
this.httpClient = httpClient;
|
|
5900
|
-
this.basePath = 'https://
|
|
5968
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5901
5969
|
this.defaultHeaders = new HttpHeaders();
|
|
5902
5970
|
this.configuration = new Configuration();
|
|
5903
5971
|
if (basePath) {
|
|
@@ -6571,6 +6639,156 @@ StrategyControllerService.ctorParameters = () => [
|
|
|
6571
6639
|
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
6572
6640
|
];
|
|
6573
6641
|
|
|
6642
|
+
/**
|
|
6643
|
+
* Api Documentation
|
|
6644
|
+
* Api Documentation
|
|
6645
|
+
*
|
|
6646
|
+
* OpenAPI spec version: 1.0
|
|
6647
|
+
*
|
|
6648
|
+
*
|
|
6649
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6650
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
6651
|
+
* Do not edit the class manually.
|
|
6652
|
+
*/
|
|
6653
|
+
class StrategyTemplateControllerService {
|
|
6654
|
+
constructor(httpClient, basePath, configuration) {
|
|
6655
|
+
this.httpClient = httpClient;
|
|
6656
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6657
|
+
this.defaultHeaders = new HttpHeaders();
|
|
6658
|
+
this.configuration = new Configuration();
|
|
6659
|
+
if (basePath) {
|
|
6660
|
+
this.basePath = basePath;
|
|
6661
|
+
}
|
|
6662
|
+
if (configuration) {
|
|
6663
|
+
this.configuration = configuration;
|
|
6664
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
6665
|
+
}
|
|
6666
|
+
}
|
|
6667
|
+
/**
|
|
6668
|
+
* @param consumes string[] mime-types
|
|
6669
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
6670
|
+
*/
|
|
6671
|
+
canConsumeForm(consumes) {
|
|
6672
|
+
const form = 'multipart/form-data';
|
|
6673
|
+
for (const consume of consumes) {
|
|
6674
|
+
if (form === consume) {
|
|
6675
|
+
return true;
|
|
6676
|
+
}
|
|
6677
|
+
}
|
|
6678
|
+
return false;
|
|
6679
|
+
}
|
|
6680
|
+
createStrategyTemplateUsingPOST(strategyTemplateDTO, reqId, strategyId, token, observe = 'body', reportProgress = false) {
|
|
6681
|
+
if (strategyTemplateDTO === null || strategyTemplateDTO === undefined) {
|
|
6682
|
+
throw new Error('Required parameter strategyTemplateDTO was null or undefined when calling createStrategyTemplateUsingPOST.');
|
|
6683
|
+
}
|
|
6684
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
6685
|
+
if (strategyId !== undefined && strategyId !== null) {
|
|
6686
|
+
queryParameters = queryParameters.set('strategyId', strategyId);
|
|
6687
|
+
}
|
|
6688
|
+
let headers = this.defaultHeaders;
|
|
6689
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6690
|
+
headers = headers.set('reqId', String(reqId));
|
|
6691
|
+
}
|
|
6692
|
+
if (token !== undefined && token !== null) {
|
|
6693
|
+
headers = headers.set('token', String(token));
|
|
6694
|
+
}
|
|
6695
|
+
// to determine the Accept header
|
|
6696
|
+
let httpHeaderAccepts = [
|
|
6697
|
+
'application/json'
|
|
6698
|
+
];
|
|
6699
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6700
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6701
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6702
|
+
}
|
|
6703
|
+
// to determine the Content-Type header
|
|
6704
|
+
const consumes = [
|
|
6705
|
+
'application/json'
|
|
6706
|
+
];
|
|
6707
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6708
|
+
if (httpContentTypeSelected != undefined) {
|
|
6709
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6710
|
+
}
|
|
6711
|
+
return this.httpClient.post(`${this.basePath}/v2/api/strategytemplate`, strategyTemplateDTO, {
|
|
6712
|
+
params: queryParameters,
|
|
6713
|
+
withCredentials: this.configuration.withCredentials,
|
|
6714
|
+
headers: headers,
|
|
6715
|
+
observe: observe,
|
|
6716
|
+
reportProgress: reportProgress
|
|
6717
|
+
});
|
|
6718
|
+
}
|
|
6719
|
+
getAllStrategyTemplatesUsingGET(refresh, reqId, token, observe = 'body', reportProgress = false) {
|
|
6720
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
6721
|
+
if (refresh !== undefined && refresh !== null) {
|
|
6722
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
6723
|
+
}
|
|
6724
|
+
let headers = this.defaultHeaders;
|
|
6725
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6726
|
+
headers = headers.set('reqId', String(reqId));
|
|
6727
|
+
}
|
|
6728
|
+
if (token !== undefined && token !== null) {
|
|
6729
|
+
headers = headers.set('token', String(token));
|
|
6730
|
+
}
|
|
6731
|
+
// to determine the Accept header
|
|
6732
|
+
let httpHeaderAccepts = [
|
|
6733
|
+
'*/*'
|
|
6734
|
+
];
|
|
6735
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6736
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6737
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6738
|
+
}
|
|
6739
|
+
// to determine the Content-Type header
|
|
6740
|
+
const consumes = [];
|
|
6741
|
+
return this.httpClient.get(`${this.basePath}/v2/api/strategytemplate/all`, {
|
|
6742
|
+
params: queryParameters,
|
|
6743
|
+
withCredentials: this.configuration.withCredentials,
|
|
6744
|
+
headers: headers,
|
|
6745
|
+
observe: observe,
|
|
6746
|
+
reportProgress: reportProgress
|
|
6747
|
+
});
|
|
6748
|
+
}
|
|
6749
|
+
getStrategyTemplateUsingGET(id, refresh, reqId, token, observe = 'body', reportProgress = false) {
|
|
6750
|
+
if (id === null || id === undefined) {
|
|
6751
|
+
throw new Error('Required parameter id was null or undefined when calling getStrategyTemplateUsingGET.');
|
|
6752
|
+
}
|
|
6753
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
6754
|
+
if (refresh !== undefined && refresh !== null) {
|
|
6755
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
6756
|
+
}
|
|
6757
|
+
let headers = this.defaultHeaders;
|
|
6758
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6759
|
+
headers = headers.set('reqId', String(reqId));
|
|
6760
|
+
}
|
|
6761
|
+
if (token !== undefined && token !== null) {
|
|
6762
|
+
headers = headers.set('token', String(token));
|
|
6763
|
+
}
|
|
6764
|
+
// to determine the Accept header
|
|
6765
|
+
let httpHeaderAccepts = [
|
|
6766
|
+
'*/*'
|
|
6767
|
+
];
|
|
6768
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6769
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6770
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6771
|
+
}
|
|
6772
|
+
// to determine the Content-Type header
|
|
6773
|
+
const consumes = [];
|
|
6774
|
+
return this.httpClient.get(`${this.basePath}/v2/api/strategytemplate/${encodeURIComponent(String(id))}`, {
|
|
6775
|
+
params: queryParameters,
|
|
6776
|
+
withCredentials: this.configuration.withCredentials,
|
|
6777
|
+
headers: headers,
|
|
6778
|
+
observe: observe,
|
|
6779
|
+
reportProgress: reportProgress
|
|
6780
|
+
});
|
|
6781
|
+
}
|
|
6782
|
+
}
|
|
6783
|
+
StrategyTemplateControllerService.decorators = [
|
|
6784
|
+
{ type: Injectable }
|
|
6785
|
+
];
|
|
6786
|
+
StrategyTemplateControllerService.ctorParameters = () => [
|
|
6787
|
+
{ type: HttpClient },
|
|
6788
|
+
{ type: String, decorators: [{ type: Optional }, { type: Inject, args: [BASE_PATH,] }] },
|
|
6789
|
+
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
6790
|
+
];
|
|
6791
|
+
|
|
6574
6792
|
/**
|
|
6575
6793
|
* Api Documentation
|
|
6576
6794
|
* Api Documentation
|
|
@@ -6585,7 +6803,7 @@ StrategyControllerService.ctorParameters = () => [
|
|
|
6585
6803
|
class UILoggerControllerService {
|
|
6586
6804
|
constructor(httpClient, basePath, configuration) {
|
|
6587
6805
|
this.httpClient = httpClient;
|
|
6588
|
-
this.basePath = 'https://
|
|
6806
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6589
6807
|
this.defaultHeaders = new HttpHeaders();
|
|
6590
6808
|
this.configuration = new Configuration();
|
|
6591
6809
|
if (basePath) {
|
|
@@ -6672,7 +6890,7 @@ UILoggerControllerService.ctorParameters = () => [
|
|
|
6672
6890
|
class UserPreferenceControllerService {
|
|
6673
6891
|
constructor(httpClient, basePath, configuration) {
|
|
6674
6892
|
this.httpClient = httpClient;
|
|
6675
|
-
this.basePath = 'https://
|
|
6893
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6676
6894
|
this.defaultHeaders = new HttpHeaders();
|
|
6677
6895
|
this.configuration = new Configuration();
|
|
6678
6896
|
if (basePath) {
|
|
@@ -6827,7 +7045,7 @@ UserPreferenceControllerService.ctorParameters = () => [
|
|
|
6827
7045
|
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
6828
7046
|
];
|
|
6829
7047
|
|
|
6830
|
-
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];
|
|
7048
|
+
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, StrategyTemplateControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
6831
7049
|
|
|
6832
7050
|
var ActivityLogsCreativeSetsBulkUpdateDTO;
|
|
6833
7051
|
(function (ActivityLogsCreativeSetsBulkUpdateDTO) {
|
|
@@ -7004,6 +7222,18 @@ var AuctionTypeEditField;
|
|
|
7004
7222
|
* Do not edit the class manually.
|
|
7005
7223
|
*/
|
|
7006
7224
|
|
|
7225
|
+
/**
|
|
7226
|
+
* Api Documentation
|
|
7227
|
+
* Api Documentation
|
|
7228
|
+
*
|
|
7229
|
+
* OpenAPI spec version: 1.0
|
|
7230
|
+
*
|
|
7231
|
+
*
|
|
7232
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
7233
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
7234
|
+
* Do not edit the class manually.
|
|
7235
|
+
*/
|
|
7236
|
+
|
|
7007
7237
|
/**
|
|
7008
7238
|
* Api Documentation
|
|
7009
7239
|
* Api Documentation
|
|
@@ -7316,6 +7546,18 @@ var ClickDestination;
|
|
|
7316
7546
|
* Do not edit the class manually.
|
|
7317
7547
|
*/
|
|
7318
7548
|
|
|
7549
|
+
/**
|
|
7550
|
+
* Api Documentation
|
|
7551
|
+
* Api Documentation
|
|
7552
|
+
*
|
|
7553
|
+
* OpenAPI spec version: 1.0
|
|
7554
|
+
*
|
|
7555
|
+
*
|
|
7556
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
7557
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
7558
|
+
* Do not edit the class manually.
|
|
7559
|
+
*/
|
|
7560
|
+
|
|
7319
7561
|
var CreativeCompactDTO;
|
|
7320
7562
|
(function (CreativeCompactDTO) {
|
|
7321
7563
|
CreativeCompactDTO.TypeEnum = {
|
|
@@ -8442,6 +8684,27 @@ var StrategyQuickEditDTO;
|
|
|
8442
8684
|
};
|
|
8443
8685
|
})(StrategyQuickEditDTO || (StrategyQuickEditDTO = {}));
|
|
8444
8686
|
|
|
8687
|
+
/**
|
|
8688
|
+
* Api Documentation
|
|
8689
|
+
* Api Documentation
|
|
8690
|
+
*
|
|
8691
|
+
* OpenAPI spec version: 1.0
|
|
8692
|
+
*
|
|
8693
|
+
*
|
|
8694
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8695
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
8696
|
+
* Do not edit the class manually.
|
|
8697
|
+
*/
|
|
8698
|
+
var StrategyTemplateDTO;
|
|
8699
|
+
(function (StrategyTemplateDTO) {
|
|
8700
|
+
StrategyTemplateDTO.GoalEnum = {
|
|
8701
|
+
WEBSITE: 'WEBSITE',
|
|
8702
|
+
MOBILEAPPINSTALLS: 'MOBILE_APP_INSTALLS',
|
|
8703
|
+
MOBILEAPPENGAGEMENT: 'MOBILE_APP_ENGAGEMENT',
|
|
8704
|
+
BRANDAWARENESS: 'BRAND_AWARENESS'
|
|
8705
|
+
};
|
|
8706
|
+
})(StrategyTemplateDTO || (StrategyTemplateDTO = {}));
|
|
8707
|
+
|
|
8445
8708
|
/**
|
|
8446
8709
|
* Api Documentation
|
|
8447
8710
|
* Api Documentation
|
|
@@ -8550,6 +8813,18 @@ var TemplateVariablesDTO;
|
|
|
8550
8813
|
* Do not edit the class manually.
|
|
8551
8814
|
*/
|
|
8552
8815
|
|
|
8816
|
+
/**
|
|
8817
|
+
* Api Documentation
|
|
8818
|
+
* Api Documentation
|
|
8819
|
+
*
|
|
8820
|
+
* OpenAPI spec version: 1.0
|
|
8821
|
+
*
|
|
8822
|
+
*
|
|
8823
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8824
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
8825
|
+
* Do not edit the class manually.
|
|
8826
|
+
*/
|
|
8827
|
+
|
|
8553
8828
|
var VastCreative;
|
|
8554
8829
|
(function (VastCreative) {
|
|
8555
8830
|
VastCreative.VideoFormatEnum = {
|
|
@@ -8670,16 +8945,6 @@ var VideoProperties;
|
|
|
8670
8945
|
* Do not edit the class manually.
|
|
8671
8946
|
*/
|
|
8672
8947
|
|
|
8673
|
-
var WhitelabelingEntity;
|
|
8674
|
-
(function (WhitelabelingEntity) {
|
|
8675
|
-
WhitelabelingEntity.OidcClientEnum = {
|
|
8676
|
-
GOOGLE: 'GOOGLE',
|
|
8677
|
-
FACEBOOK: 'FACEBOOK',
|
|
8678
|
-
OFFICE365: 'OFFICE_365',
|
|
8679
|
-
OKTA: 'OKTA'
|
|
8680
|
-
};
|
|
8681
|
-
})(WhitelabelingEntity || (WhitelabelingEntity = {}));
|
|
8682
|
-
|
|
8683
8948
|
class ApiModule {
|
|
8684
8949
|
constructor(parentModule, http) {
|
|
8685
8950
|
if (parentModule) {
|
|
@@ -8725,6 +8990,7 @@ ApiModule.decorators = [
|
|
|
8725
8990
|
ReportingControllerService,
|
|
8726
8991
|
SliceXControllerService,
|
|
8727
8992
|
StrategyControllerService,
|
|
8993
|
+
StrategyTemplateControllerService,
|
|
8728
8994
|
UILoggerControllerService,
|
|
8729
8995
|
UserPreferenceControllerService
|
|
8730
8996
|
]
|
|
@@ -8739,5 +9005,5 @@ ApiModule.ctorParameters = () => [
|
|
|
8739
9005
|
* Generated bundle index. Do not edit.
|
|
8740
9006
|
*/
|
|
8741
9007
|
|
|
8742
|
-
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
|
|
9008
|
+
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, StrategyTemplateControllerService, StrategyTemplateDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties };
|
|
8743
9009
|
//# sourceMappingURL=revxui-api-clients-ts.js.map
|