@revxui/api-clients-ts 1.1.17 → 1.1.19
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/dashboardController.service.d.ts +24 -24
- package/api/strategyController.service.d.ts +3 -46
- package/api/strategyTemplateController.service.d.ts +54 -0
- package/bundles/revxui-api-clients-ts.umd.js +180 -130
- 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 +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 +2 -101
- package/esm2015/api/strategyTemplateController.service.js +123 -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/apiListResponseStrategyTemplateResponse.js +2 -0
- package/esm2015/model/campaignESDTO.js +1 -1
- package/esm2015/model/creativeSetDashboardMetric.js +1 -1
- package/esm2015/model/dashboardData.js +1 -1
- package/esm2015/model/dashboardMetrics.js +1 -1
- package/esm2015/model/models.js +4 -6
- package/esm2015/model/slicexData.js +1 -1
- package/esm2015/model/slicexGridData.js +1 -1
- package/esm2015/model/strategyDTO.js +1 -1
- package/esm2015/model/strategyTemplateDTO.js +21 -0
- package/esm2015/model/strategyTemplateResponse.js +10 -0
- package/fesm2015/revxui-api-clients-ts.js +163 -137
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/{apiListResponseStrategyTargettingPerformanceData.d.ts → apiListResponseStrategyTemplateResponse.d.ts} +3 -3
- package/model/campaignESDTO.d.ts +1 -0
- package/model/creativeSetDashboardMetric.d.ts +0 -1
- package/model/dashboardData.d.ts +0 -1
- package/model/dashboardMetrics.d.ts +0 -1
- package/model/models.d.ts +3 -5
- package/model/slicexData.d.ts +0 -1
- package/model/slicexGridData.d.ts +0 -1
- package/model/strategyDTO.d.ts +1 -0
- package/model/strategyTemplateDTO.d.ts +30 -0
- package/model/strategyTemplateResponse.d.ts +33 -0
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
- package/esm2015/model/apiListResponseStrategyTargettingPerformanceData.js +0 -2
- package/esm2015/model/apiResponseObjectStrategyOptimizationDataResponse.js +0 -2
- package/esm2015/model/strategyOptBlockTargetingReq.js +0 -13
- package/esm2015/model/strategyOptimizationDataResponse.js +0 -2
- package/esm2015/model/strategyTargettingPerformanceData.js +0 -13
- package/model/apiResponseObjectStrategyOptimizationDataResponse.d.ts +0 -17
- package/model/strategyOptBlockTargetingReq.d.ts +0 -15
- package/model/strategyOptimizationDataResponse.d.ts +0 -17
- package/model/strategyTargettingPerformanceData.d.ts +0 -24
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
var AdminControllerService = /** @class */ (function () {
|
|
371
371
|
function AdminControllerService(httpClient, basePath, configuration) {
|
|
372
372
|
this.httpClient = httpClient;
|
|
373
|
-
this.basePath = 'https://
|
|
373
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
374
374
|
this.defaultHeaders = new http.HttpHeaders();
|
|
375
375
|
this.configuration = new Configuration();
|
|
376
376
|
if (basePath) {
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
var AdvertiserControllerService = /** @class */ (function () {
|
|
576
576
|
function AdvertiserControllerService(httpClient, basePath, configuration) {
|
|
577
577
|
this.httpClient = httpClient;
|
|
578
|
-
this.basePath = 'https://
|
|
578
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
579
579
|
this.defaultHeaders = new http.HttpHeaders();
|
|
580
580
|
this.configuration = new Configuration();
|
|
581
581
|
if (basePath) {
|
|
@@ -1009,7 +1009,7 @@
|
|
|
1009
1009
|
var AppSettingsControllerService = /** @class */ (function () {
|
|
1010
1010
|
function AppSettingsControllerService(httpClient, basePath, configuration) {
|
|
1011
1011
|
this.httpClient = httpClient;
|
|
1012
|
-
this.basePath = 'https://
|
|
1012
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1013
1013
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1014
1014
|
this.configuration = new Configuration();
|
|
1015
1015
|
if (basePath) {
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
var AudienceControllerService = /** @class */ (function () {
|
|
1263
1263
|
function AudienceControllerService(httpClient, basePath, configuration) {
|
|
1264
1264
|
this.httpClient = httpClient;
|
|
1265
|
-
this.basePath = 'https://
|
|
1265
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1266
1266
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1267
1267
|
this.configuration = new Configuration();
|
|
1268
1268
|
if (basePath) {
|
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
var AuditControllerService = /** @class */ (function () {
|
|
2121
2121
|
function AuditControllerService(httpClient, basePath, configuration) {
|
|
2122
2122
|
this.httpClient = httpClient;
|
|
2123
|
-
this.basePath = 'https://
|
|
2123
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2124
2124
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2125
2125
|
this.configuration = new Configuration();
|
|
2126
2126
|
if (basePath) {
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
var BulkStrategyControllerService = /** @class */ (function () {
|
|
2308
2308
|
function BulkStrategyControllerService(httpClient, basePath, configuration) {
|
|
2309
2309
|
this.httpClient = httpClient;
|
|
2310
|
-
this.basePath = 'https://
|
|
2310
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2311
2311
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2312
2312
|
this.configuration = new Configuration();
|
|
2313
2313
|
if (basePath) {
|
|
@@ -2538,7 +2538,7 @@
|
|
|
2538
2538
|
var CSSThemeController_Service = /** @class */ (function () {
|
|
2539
2539
|
function CSSThemeController_Service(httpClient, basePath, configuration) {
|
|
2540
2540
|
this.httpClient = httpClient;
|
|
2541
|
-
this.basePath = 'https://
|
|
2541
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2542
2542
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2543
2543
|
this.configuration = new Configuration();
|
|
2544
2544
|
if (basePath) {
|
|
@@ -2647,7 +2647,7 @@
|
|
|
2647
2647
|
var CampaignControllerService = /** @class */ (function () {
|
|
2648
2648
|
function CampaignControllerService(httpClient, basePath, configuration) {
|
|
2649
2649
|
this.httpClient = httpClient;
|
|
2650
|
-
this.basePath = 'https://
|
|
2650
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2651
2651
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2652
2652
|
this.configuration = new Configuration();
|
|
2653
2653
|
if (basePath) {
|
|
@@ -2957,7 +2957,7 @@
|
|
|
2957
2957
|
var CatalogControllerService = /** @class */ (function () {
|
|
2958
2958
|
function CatalogControllerService(httpClient, basePath, configuration) {
|
|
2959
2959
|
this.httpClient = httpClient;
|
|
2960
|
-
this.basePath = 'https://
|
|
2960
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2961
2961
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2962
2962
|
this.configuration = new Configuration();
|
|
2963
2963
|
if (basePath) {
|
|
@@ -3203,7 +3203,7 @@
|
|
|
3203
3203
|
var ClickDestinationControllerService = /** @class */ (function () {
|
|
3204
3204
|
function ClickDestinationControllerService(httpClient, basePath, configuration) {
|
|
3205
3205
|
this.httpClient = httpClient;
|
|
3206
|
-
this.basePath = 'https://
|
|
3206
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3207
3207
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3208
3208
|
this.configuration = new Configuration();
|
|
3209
3209
|
if (basePath) {
|
|
@@ -3441,7 +3441,7 @@
|
|
|
3441
3441
|
var CreativeControllerService = /** @class */ (function () {
|
|
3442
3442
|
function CreativeControllerService(httpClient, basePath, configuration) {
|
|
3443
3443
|
this.httpClient = httpClient;
|
|
3444
|
-
this.basePath = 'https://
|
|
3444
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3445
3445
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3446
3446
|
this.configuration = new Configuration();
|
|
3447
3447
|
if (basePath) {
|
|
@@ -3942,7 +3942,7 @@
|
|
|
3942
3942
|
var CreativeSetsControllerService = /** @class */ (function () {
|
|
3943
3943
|
function CreativeSetsControllerService(httpClient, basePath, configuration) {
|
|
3944
3944
|
this.httpClient = httpClient;
|
|
3945
|
-
this.basePath = 'https://
|
|
3945
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3946
3946
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3947
3947
|
this.configuration = new Configuration();
|
|
3948
3948
|
if (basePath) {
|
|
@@ -4461,7 +4461,7 @@
|
|
|
4461
4461
|
var CreativeTemplateThemesControllerService = /** @class */ (function () {
|
|
4462
4462
|
function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
|
|
4463
4463
|
this.httpClient = httpClient;
|
|
4464
|
-
this.basePath = 'https://
|
|
4464
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4465
4465
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4466
4466
|
this.configuration = new Configuration();
|
|
4467
4467
|
if (basePath) {
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
var CreativeTemplateVariablesControllerService = /** @class */ (function () {
|
|
4651
4651
|
function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
|
|
4652
4652
|
this.httpClient = httpClient;
|
|
4653
|
-
this.basePath = 'https://
|
|
4653
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4654
4654
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4655
4655
|
this.configuration = new Configuration();
|
|
4656
4656
|
if (basePath) {
|
|
@@ -4726,7 +4726,7 @@
|
|
|
4726
4726
|
var CreativeTemplatesControllerService = /** @class */ (function () {
|
|
4727
4727
|
function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
|
|
4728
4728
|
this.httpClient = httpClient;
|
|
4729
|
-
this.basePath = 'https://
|
|
4729
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4730
4730
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4731
4731
|
this.configuration = new Configuration();
|
|
4732
4732
|
if (basePath) {
|
|
@@ -4893,7 +4893,7 @@
|
|
|
4893
4893
|
var CustomerReportingControllerService = /** @class */ (function () {
|
|
4894
4894
|
function CustomerReportingControllerService(httpClient, basePath, configuration) {
|
|
4895
4895
|
this.httpClient = httpClient;
|
|
4896
|
-
this.basePath = 'https://
|
|
4896
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4897
4897
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4898
4898
|
this.configuration = new Configuration();
|
|
4899
4899
|
if (basePath) {
|
|
@@ -4978,7 +4978,7 @@
|
|
|
4978
4978
|
var DashboardControllerService = /** @class */ (function () {
|
|
4979
4979
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4980
4980
|
this.httpClient = httpClient;
|
|
4981
|
-
this.basePath = 'https://
|
|
4981
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4982
4982
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4983
4983
|
this.configuration = new Configuration();
|
|
4984
4984
|
if (basePath) {
|
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
var NotificationsControllerService = /** @class */ (function () {
|
|
5624
5624
|
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
5625
5625
|
this.httpClient = httpClient;
|
|
5626
|
-
this.basePath = 'https://
|
|
5626
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5627
5627
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5628
5628
|
this.configuration = new Configuration();
|
|
5629
5629
|
if (basePath) {
|
|
@@ -5842,7 +5842,7 @@
|
|
|
5842
5842
|
var PixelControllerService = /** @class */ (function () {
|
|
5843
5843
|
function PixelControllerService(httpClient, basePath, configuration) {
|
|
5844
5844
|
this.httpClient = httpClient;
|
|
5845
|
-
this.basePath = 'https://
|
|
5845
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5846
5846
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5847
5847
|
this.configuration = new Configuration();
|
|
5848
5848
|
if (basePath) {
|
|
@@ -6159,7 +6159,7 @@
|
|
|
6159
6159
|
var ReportingControllerService = /** @class */ (function () {
|
|
6160
6160
|
function ReportingControllerService(httpClient, basePath, configuration) {
|
|
6161
6161
|
this.httpClient = httpClient;
|
|
6162
|
-
this.basePath = 'https://
|
|
6162
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6163
6163
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6164
6164
|
this.configuration = new Configuration();
|
|
6165
6165
|
if (basePath) {
|
|
@@ -6331,7 +6331,7 @@
|
|
|
6331
6331
|
var SliceXControllerService = /** @class */ (function () {
|
|
6332
6332
|
function SliceXControllerService(httpClient, basePath, configuration) {
|
|
6333
6333
|
this.httpClient = httpClient;
|
|
6334
|
-
this.basePath = 'https://
|
|
6334
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6335
6335
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6336
6336
|
this.configuration = new Configuration();
|
|
6337
6337
|
if (basePath) {
|
|
@@ -6587,7 +6587,7 @@
|
|
|
6587
6587
|
var StrategyControllerService = /** @class */ (function () {
|
|
6588
6588
|
function StrategyControllerService(httpClient, basePath, configuration) {
|
|
6589
6589
|
this.httpClient = httpClient;
|
|
6590
|
-
this.basePath = 'https://
|
|
6590
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6591
6591
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6592
6592
|
this.configuration = new Configuration();
|
|
6593
6593
|
if (basePath) {
|
|
@@ -6882,39 +6882,6 @@
|
|
|
6882
6882
|
reportProgress: reportProgress
|
|
6883
6883
|
});
|
|
6884
6884
|
};
|
|
6885
|
-
StrategyControllerService.prototype.fetchStrategyTargetingUsingGET = function (id, tableEntity, reqId, token, observe, reportProgress) {
|
|
6886
|
-
if (observe === void 0) { observe = 'body'; }
|
|
6887
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
6888
|
-
if (id === null || id === undefined) {
|
|
6889
|
-
throw new Error('Required parameter id was null or undefined when calling fetchStrategyTargetingUsingGET.');
|
|
6890
|
-
}
|
|
6891
|
-
if (tableEntity === null || tableEntity === undefined) {
|
|
6892
|
-
throw new Error('Required parameter tableEntity was null or undefined when calling fetchStrategyTargetingUsingGET.');
|
|
6893
|
-
}
|
|
6894
|
-
var headers = this.defaultHeaders;
|
|
6895
|
-
if (reqId !== undefined && reqId !== null) {
|
|
6896
|
-
headers = headers.set('reqId', String(reqId));
|
|
6897
|
-
}
|
|
6898
|
-
if (token !== undefined && token !== null) {
|
|
6899
|
-
headers = headers.set('token', String(token));
|
|
6900
|
-
}
|
|
6901
|
-
// to determine the Accept header
|
|
6902
|
-
var httpHeaderAccepts = [
|
|
6903
|
-
'*/*'
|
|
6904
|
-
];
|
|
6905
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6906
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
6907
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6908
|
-
}
|
|
6909
|
-
// to determine the Content-Type header
|
|
6910
|
-
var consumes = [];
|
|
6911
|
-
return this.httpClient.get(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/fetch/" + encodeURIComponent(String(tableEntity)), {
|
|
6912
|
-
withCredentials: this.configuration.withCredentials,
|
|
6913
|
-
headers: headers,
|
|
6914
|
-
observe: observe,
|
|
6915
|
-
reportProgress: reportProgress
|
|
6916
|
-
});
|
|
6917
|
-
};
|
|
6918
6885
|
StrategyControllerService.prototype.getABTestExperimentUsingGET = function (id, reqId, token, observe, reportProgress) {
|
|
6919
6886
|
if (observe === void 0) { observe = 'body'; }
|
|
6920
6887
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -7037,39 +7004,6 @@
|
|
|
7037
7004
|
reportProgress: reportProgress
|
|
7038
7005
|
});
|
|
7039
7006
|
};
|
|
7040
|
-
StrategyControllerService.prototype.getStrategyTargetingRecommendationUsingGET = function (id, tableEntity, reqId, token, observe, reportProgress) {
|
|
7041
|
-
if (observe === void 0) { observe = 'body'; }
|
|
7042
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
7043
|
-
if (id === null || id === undefined) {
|
|
7044
|
-
throw new Error('Required parameter id was null or undefined when calling getStrategyTargetingRecommendationUsingGET.');
|
|
7045
|
-
}
|
|
7046
|
-
if (tableEntity === null || tableEntity === undefined) {
|
|
7047
|
-
throw new Error('Required parameter tableEntity was null or undefined when calling getStrategyTargetingRecommendationUsingGET.');
|
|
7048
|
-
}
|
|
7049
|
-
var headers = this.defaultHeaders;
|
|
7050
|
-
if (reqId !== undefined && reqId !== null) {
|
|
7051
|
-
headers = headers.set('reqId', String(reqId));
|
|
7052
|
-
}
|
|
7053
|
-
if (token !== undefined && token !== null) {
|
|
7054
|
-
headers = headers.set('token', String(token));
|
|
7055
|
-
}
|
|
7056
|
-
// to determine the Accept header
|
|
7057
|
-
var httpHeaderAccepts = [
|
|
7058
|
-
'*/*'
|
|
7059
|
-
];
|
|
7060
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7061
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
7062
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
7063
|
-
}
|
|
7064
|
-
// to determine the Content-Type header
|
|
7065
|
-
var consumes = [];
|
|
7066
|
-
return this.httpClient.get(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/recommendation/" + encodeURIComponent(String(tableEntity)), {
|
|
7067
|
-
withCredentials: this.configuration.withCredentials,
|
|
7068
|
-
headers: headers,
|
|
7069
|
-
observe: observe,
|
|
7070
|
-
reportProgress: reportProgress
|
|
7071
|
-
});
|
|
7072
|
-
};
|
|
7073
7007
|
StrategyControllerService.prototype.inlineEditStrategyUsingPOST = function (id, strategyInlineDTO, reqId, token, observe, reportProgress) {
|
|
7074
7008
|
if (observe === void 0) { observe = 'body'; }
|
|
7075
7009
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -7181,45 +7115,6 @@
|
|
|
7181
7115
|
reportProgress: reportProgress
|
|
7182
7116
|
});
|
|
7183
7117
|
};
|
|
7184
|
-
StrategyControllerService.prototype.strategyOptimizationUsingPOST = function (id, req, reqId, token, observe, reportProgress) {
|
|
7185
|
-
if (observe === void 0) { observe = 'body'; }
|
|
7186
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
7187
|
-
if (id === null || id === undefined) {
|
|
7188
|
-
throw new Error('Required parameter id was null or undefined when calling strategyOptimizationUsingPOST.');
|
|
7189
|
-
}
|
|
7190
|
-
if (req === null || req === undefined) {
|
|
7191
|
-
throw new Error('Required parameter req was null or undefined when calling strategyOptimizationUsingPOST.');
|
|
7192
|
-
}
|
|
7193
|
-
var headers = this.defaultHeaders;
|
|
7194
|
-
if (reqId !== undefined && reqId !== null) {
|
|
7195
|
-
headers = headers.set('reqId', String(reqId));
|
|
7196
|
-
}
|
|
7197
|
-
if (token !== undefined && token !== null) {
|
|
7198
|
-
headers = headers.set('token', String(token));
|
|
7199
|
-
}
|
|
7200
|
-
// to determine the Accept header
|
|
7201
|
-
var httpHeaderAccepts = [
|
|
7202
|
-
'application/json'
|
|
7203
|
-
];
|
|
7204
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7205
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
7206
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
7207
|
-
}
|
|
7208
|
-
// to determine the Content-Type header
|
|
7209
|
-
var consumes = [
|
|
7210
|
-
'application/json'
|
|
7211
|
-
];
|
|
7212
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
7213
|
-
if (httpContentTypeSelected != undefined) {
|
|
7214
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
7215
|
-
}
|
|
7216
|
-
return this.httpClient.post(this.basePath + "/v2/api/strategies/optimization/" + encodeURIComponent(String(id)), req, {
|
|
7217
|
-
withCredentials: this.configuration.withCredentials,
|
|
7218
|
-
headers: headers,
|
|
7219
|
-
observe: observe,
|
|
7220
|
-
reportProgress: reportProgress
|
|
7221
|
-
});
|
|
7222
|
-
};
|
|
7223
7118
|
StrategyControllerService.prototype.updateABTestExperimentStatusUsingPOST = function (id, status, reqId, token, observe, reportProgress) {
|
|
7224
7119
|
if (observe === void 0) { observe = 'body'; }
|
|
7225
7120
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -7416,10 +7311,132 @@
|
|
|
7416
7311
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7417
7312
|
]; };
|
|
7418
7313
|
|
|
7314
|
+
var StrategyTemplateControllerService = /** @class */ (function () {
|
|
7315
|
+
function StrategyTemplateControllerService(httpClient, basePath, configuration) {
|
|
7316
|
+
this.httpClient = httpClient;
|
|
7317
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
7318
|
+
this.defaultHeaders = new http.HttpHeaders();
|
|
7319
|
+
this.configuration = new Configuration();
|
|
7320
|
+
if (basePath) {
|
|
7321
|
+
this.basePath = basePath;
|
|
7322
|
+
}
|
|
7323
|
+
if (configuration) {
|
|
7324
|
+
this.configuration = configuration;
|
|
7325
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
7326
|
+
}
|
|
7327
|
+
}
|
|
7328
|
+
/**
|
|
7329
|
+
* @param consumes string[] mime-types
|
|
7330
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
7331
|
+
*/
|
|
7332
|
+
StrategyTemplateControllerService.prototype.canConsumeForm = function (consumes) {
|
|
7333
|
+
var e_1, _a;
|
|
7334
|
+
var form = 'multipart/form-data';
|
|
7335
|
+
try {
|
|
7336
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
7337
|
+
var consume = consumes_1_1.value;
|
|
7338
|
+
if (form === consume) {
|
|
7339
|
+
return true;
|
|
7340
|
+
}
|
|
7341
|
+
}
|
|
7342
|
+
}
|
|
7343
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7344
|
+
finally {
|
|
7345
|
+
try {
|
|
7346
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
7347
|
+
}
|
|
7348
|
+
finally { if (e_1) throw e_1.error; }
|
|
7349
|
+
}
|
|
7350
|
+
return false;
|
|
7351
|
+
};
|
|
7352
|
+
StrategyTemplateControllerService.prototype.createStrategyTemplateUsingPOST = function (strategyTemplateDTO, reqId, strategyId, token, observe, reportProgress) {
|
|
7353
|
+
if (observe === void 0) { observe = 'body'; }
|
|
7354
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
7355
|
+
if (strategyTemplateDTO === null || strategyTemplateDTO === undefined) {
|
|
7356
|
+
throw new Error('Required parameter strategyTemplateDTO was null or undefined when calling createStrategyTemplateUsingPOST.');
|
|
7357
|
+
}
|
|
7358
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
7359
|
+
if (strategyId !== undefined && strategyId !== null) {
|
|
7360
|
+
queryParameters = queryParameters.set('strategyId', strategyId);
|
|
7361
|
+
}
|
|
7362
|
+
var headers = this.defaultHeaders;
|
|
7363
|
+
if (reqId !== undefined && reqId !== null) {
|
|
7364
|
+
headers = headers.set('reqId', String(reqId));
|
|
7365
|
+
}
|
|
7366
|
+
if (token !== undefined && token !== null) {
|
|
7367
|
+
headers = headers.set('token', String(token));
|
|
7368
|
+
}
|
|
7369
|
+
// to determine the Accept header
|
|
7370
|
+
var httpHeaderAccepts = [
|
|
7371
|
+
'application/json'
|
|
7372
|
+
];
|
|
7373
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7374
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
7375
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
7376
|
+
}
|
|
7377
|
+
// to determine the Content-Type header
|
|
7378
|
+
var consumes = [
|
|
7379
|
+
'application/json'
|
|
7380
|
+
];
|
|
7381
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
7382
|
+
if (httpContentTypeSelected != undefined) {
|
|
7383
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
7384
|
+
}
|
|
7385
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategytemplate", strategyTemplateDTO, {
|
|
7386
|
+
params: queryParameters,
|
|
7387
|
+
withCredentials: this.configuration.withCredentials,
|
|
7388
|
+
headers: headers,
|
|
7389
|
+
observe: observe,
|
|
7390
|
+
reportProgress: reportProgress
|
|
7391
|
+
});
|
|
7392
|
+
};
|
|
7393
|
+
StrategyTemplateControllerService.prototype.getAllStrategyTemplatesUsingGET = function (refresh, reqId, token, observe, reportProgress) {
|
|
7394
|
+
if (observe === void 0) { observe = 'body'; }
|
|
7395
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
7396
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
7397
|
+
if (refresh !== undefined && refresh !== null) {
|
|
7398
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
7399
|
+
}
|
|
7400
|
+
var headers = this.defaultHeaders;
|
|
7401
|
+
if (reqId !== undefined && reqId !== null) {
|
|
7402
|
+
headers = headers.set('reqId', String(reqId));
|
|
7403
|
+
}
|
|
7404
|
+
if (token !== undefined && token !== null) {
|
|
7405
|
+
headers = headers.set('token', String(token));
|
|
7406
|
+
}
|
|
7407
|
+
// to determine the Accept header
|
|
7408
|
+
var httpHeaderAccepts = [
|
|
7409
|
+
'*/*'
|
|
7410
|
+
];
|
|
7411
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7412
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
7413
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
7414
|
+
}
|
|
7415
|
+
// to determine the Content-Type header
|
|
7416
|
+
var consumes = [];
|
|
7417
|
+
return this.httpClient.get(this.basePath + "/v2/api/strategytemplate/all", {
|
|
7418
|
+
params: queryParameters,
|
|
7419
|
+
withCredentials: this.configuration.withCredentials,
|
|
7420
|
+
headers: headers,
|
|
7421
|
+
observe: observe,
|
|
7422
|
+
reportProgress: reportProgress
|
|
7423
|
+
});
|
|
7424
|
+
};
|
|
7425
|
+
return StrategyTemplateControllerService;
|
|
7426
|
+
}());
|
|
7427
|
+
StrategyTemplateControllerService.decorators = [
|
|
7428
|
+
{ type: core.Injectable }
|
|
7429
|
+
];
|
|
7430
|
+
StrategyTemplateControllerService.ctorParameters = function () { return [
|
|
7431
|
+
{ type: http.HttpClient },
|
|
7432
|
+
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
7433
|
+
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7434
|
+
]; };
|
|
7435
|
+
|
|
7419
7436
|
var UILoggerControllerService = /** @class */ (function () {
|
|
7420
7437
|
function UILoggerControllerService(httpClient, basePath, configuration) {
|
|
7421
7438
|
this.httpClient = httpClient;
|
|
7422
|
-
this.basePath = 'https://
|
|
7439
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
7423
7440
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7424
7441
|
this.configuration = new Configuration();
|
|
7425
7442
|
if (basePath) {
|
|
@@ -7509,7 +7526,7 @@
|
|
|
7509
7526
|
var UserPreferenceControllerService = /** @class */ (function () {
|
|
7510
7527
|
function UserPreferenceControllerService(httpClient, basePath, configuration) {
|
|
7511
7528
|
this.httpClient = httpClient;
|
|
7512
|
-
this.basePath = 'https://
|
|
7529
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
7513
7530
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7514
7531
|
this.configuration = new Configuration();
|
|
7515
7532
|
if (basePath) {
|
|
@@ -7684,7 +7701,7 @@
|
|
|
7684
7701
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7685
7702
|
]; };
|
|
7686
7703
|
|
|
7687
|
-
var 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];
|
|
7704
|
+
var 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];
|
|
7688
7705
|
|
|
7689
7706
|
exports.ActivityLogsCreativeSetsBulkUpdateDTO = void 0;
|
|
7690
7707
|
(function (ActivityLogsCreativeSetsBulkUpdateDTO) {
|
|
@@ -8543,6 +8560,37 @@
|
|
|
8543
8560
|
};
|
|
8544
8561
|
})(exports.StrategyQuickEditDTO || (exports.StrategyQuickEditDTO = {}));
|
|
8545
8562
|
|
|
8563
|
+
/**
|
|
8564
|
+
* Api Documentation
|
|
8565
|
+
* Api Documentation
|
|
8566
|
+
*
|
|
8567
|
+
* OpenAPI spec version: 1.0
|
|
8568
|
+
*
|
|
8569
|
+
*
|
|
8570
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8571
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
8572
|
+
* Do not edit the class manually.
|
|
8573
|
+
*/
|
|
8574
|
+
exports.StrategyTemplateDTO = void 0;
|
|
8575
|
+
(function (StrategyTemplateDTO) {
|
|
8576
|
+
StrategyTemplateDTO.GoalEnum = {
|
|
8577
|
+
WEBSITE: 'WEBSITE',
|
|
8578
|
+
MOBILEAPPINSTALLS: 'MOBILE_APP_INSTALLS',
|
|
8579
|
+
MOBILEAPPENGAGEMENT: 'MOBILE_APP_ENGAGEMENT',
|
|
8580
|
+
BRANDAWARENESS: 'BRAND_AWARENESS'
|
|
8581
|
+
};
|
|
8582
|
+
})(exports.StrategyTemplateDTO || (exports.StrategyTemplateDTO = {}));
|
|
8583
|
+
|
|
8584
|
+
exports.StrategyTemplateResponse = void 0;
|
|
8585
|
+
(function (StrategyTemplateResponse) {
|
|
8586
|
+
StrategyTemplateResponse.GoalEnum = {
|
|
8587
|
+
WEBSITE: 'WEBSITE',
|
|
8588
|
+
MOBILEAPPINSTALLS: 'MOBILE_APP_INSTALLS',
|
|
8589
|
+
MOBILEAPPENGAGEMENT: 'MOBILE_APP_ENGAGEMENT',
|
|
8590
|
+
BRANDAWARENESS: 'BRAND_AWARENESS'
|
|
8591
|
+
};
|
|
8592
|
+
})(exports.StrategyTemplateResponse || (exports.StrategyTemplateResponse = {}));
|
|
8593
|
+
|
|
8546
8594
|
/**
|
|
8547
8595
|
* Api Documentation
|
|
8548
8596
|
* Api Documentation
|
|
@@ -8719,6 +8767,7 @@
|
|
|
8719
8767
|
ReportingControllerService,
|
|
8720
8768
|
SliceXControllerService,
|
|
8721
8769
|
StrategyControllerService,
|
|
8770
|
+
StrategyTemplateControllerService,
|
|
8722
8771
|
UILoggerControllerService,
|
|
8723
8772
|
UserPreferenceControllerService
|
|
8724
8773
|
]
|
|
@@ -8760,6 +8809,7 @@
|
|
|
8760
8809
|
exports.ReportingControllerService = ReportingControllerService;
|
|
8761
8810
|
exports.SliceXControllerService = SliceXControllerService;
|
|
8762
8811
|
exports.StrategyControllerService = StrategyControllerService;
|
|
8812
|
+
exports.StrategyTemplateControllerService = StrategyTemplateControllerService;
|
|
8763
8813
|
exports.UILoggerControllerService = UILoggerControllerService;
|
|
8764
8814
|
exports.UserPreferenceControllerService = UserPreferenceControllerService;
|
|
8765
8815
|
|