@revxui/api-clients-ts 1.1.12 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +1 -3
  3. package/api/dashboardController.service.d.ts +24 -24
  4. package/api/strategyController.service.d.ts +46 -3
  5. package/bundles/revxui-api-clients-ts.umd.js +130 -180
  6. package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
  7. package/esm2015/api/adminController.service.js +2 -2
  8. package/esm2015/api/advertiserController.service.js +2 -2
  9. package/esm2015/api/api.js +2 -4
  10. package/esm2015/api/appSettingsController.service.js +2 -2
  11. package/esm2015/api/audienceController.service.js +2 -2
  12. package/esm2015/api/auditController.service.js +2 -2
  13. package/esm2015/api/bulkStrategyController.service.js +2 -2
  14. package/esm2015/api/cSSThemeController_.service.js +2 -2
  15. package/esm2015/api/campaignController.service.js +2 -2
  16. package/esm2015/api/catalogController.service.js +2 -2
  17. package/esm2015/api/clickDestinationController.service.js +2 -2
  18. package/esm2015/api/creativeController.service.js +2 -2
  19. package/esm2015/api/creativeSetsController.service.js +2 -2
  20. package/esm2015/api/creativeTemplateThemesController.service.js +2 -2
  21. package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
  22. package/esm2015/api/creativeTemplatesController.service.js +2 -2
  23. package/esm2015/api/customerReportingController.service.js +2 -2
  24. package/esm2015/api/dashboardController.service.js +2 -2
  25. package/esm2015/api/notificationsController.service.js +2 -2
  26. package/esm2015/api/pixelController.service.js +2 -2
  27. package/esm2015/api/reportingController.service.js +2 -2
  28. package/esm2015/api/sliceXController.service.js +2 -2
  29. package/esm2015/api/strategyController.service.js +101 -2
  30. package/esm2015/api/uILoggerController.service.js +2 -2
  31. package/esm2015/api/userPreferenceController.service.js +2 -2
  32. package/esm2015/api.module.js +1 -3
  33. package/esm2015/model/apiListResponseStrategyTargettingPerformanceData.js +2 -0
  34. package/esm2015/model/apiResponseObjectStrategyOptimizationDataResponse.js +2 -0
  35. package/esm2015/model/campaignESDTO.js +1 -1
  36. package/esm2015/model/models.js +6 -4
  37. package/esm2015/model/strategyDTO.js +1 -1
  38. package/esm2015/model/strategyOptBlockTargetingReq.js +13 -0
  39. package/esm2015/model/strategyOptimizationDataResponse.js +2 -0
  40. package/esm2015/model/strategyTargettingPerformanceData.js +13 -0
  41. package/fesm2015/revxui-api-clients-ts.js +137 -163
  42. package/fesm2015/revxui-api-clients-ts.js.map +1 -1
  43. package/model/{apiListResponseStrategyTemplateResponse.d.ts → apiListResponseStrategyTargettingPerformanceData.d.ts} +3 -3
  44. package/model/apiResponseObjectStrategyOptimizationDataResponse.d.ts +17 -0
  45. package/model/campaignESDTO.d.ts +0 -1
  46. package/model/models.d.ts +5 -3
  47. package/model/strategyDTO.d.ts +0 -1
  48. package/model/strategyOptBlockTargetingReq.d.ts +15 -0
  49. package/model/strategyOptimizationDataResponse.d.ts +17 -0
  50. package/model/strategyTargettingPerformanceData.d.ts +24 -0
  51. package/package.json +1 -1
  52. package/revxui-api-clients-ts.metadata.json +1 -1
  53. package/api/strategyTemplateController.service.d.ts +0 -54
  54. package/esm2015/api/strategyTemplateController.service.js +0 -123
  55. package/esm2015/model/apiListResponseStrategyTemplateResponse.js +0 -2
  56. package/esm2015/model/strategyTemplateDTO.js +0 -21
  57. package/esm2015/model/strategyTemplateResponse.js +0 -10
  58. package/model/strategyTemplateDTO.d.ts +0 -30
  59. package/model/strategyTemplateResponse.d.ts +0 -33
@@ -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://apiv2stage3.atomex.net';
373
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
578
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
1012
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
1265
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
2123
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
2310
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
2541
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
2650
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
2960
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
3206
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
3444
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
3945
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
4464
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
4653
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
4729
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
4896
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
4981
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
5626
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
5845
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
6162
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
6334
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
6590
+ this.basePath = 'https://apiv2stage2.atomex.net';
6591
6591
  this.defaultHeaders = new http.HttpHeaders();
6592
6592
  this.configuration = new Configuration();
6593
6593
  if (basePath) {
@@ -6882,6 +6882,39 @@
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
+ };
6885
6918
  StrategyControllerService.prototype.getABTestExperimentUsingGET = function (id, reqId, token, observe, reportProgress) {
6886
6919
  if (observe === void 0) { observe = 'body'; }
6887
6920
  if (reportProgress === void 0) { reportProgress = false; }
@@ -7004,6 +7037,39 @@
7004
7037
  reportProgress: reportProgress
7005
7038
  });
7006
7039
  };
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
+ };
7007
7073
  StrategyControllerService.prototype.inlineEditStrategyUsingPOST = function (id, strategyInlineDTO, reqId, token, observe, reportProgress) {
7008
7074
  if (observe === void 0) { observe = 'body'; }
7009
7075
  if (reportProgress === void 0) { reportProgress = false; }
@@ -7115,14 +7181,14 @@
7115
7181
  reportProgress: reportProgress
7116
7182
  });
7117
7183
  };
7118
- StrategyControllerService.prototype.updateABTestExperimentStatusUsingPOST = function (id, status, reqId, token, observe, reportProgress) {
7184
+ StrategyControllerService.prototype.strategyOptimizationUsingPOST = function (id, req, reqId, token, observe, reportProgress) {
7119
7185
  if (observe === void 0) { observe = 'body'; }
7120
7186
  if (reportProgress === void 0) { reportProgress = false; }
7121
7187
  if (id === null || id === undefined) {
7122
- throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
7188
+ throw new Error('Required parameter id was null or undefined when calling strategyOptimizationUsingPOST.');
7123
7189
  }
7124
- if (status === null || status === undefined) {
7125
- throw new Error('Required parameter status was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
7190
+ if (req === null || req === undefined) {
7191
+ throw new Error('Required parameter req was null or undefined when calling strategyOptimizationUsingPOST.');
7126
7192
  }
7127
7193
  var headers = this.defaultHeaders;
7128
7194
  if (reqId !== undefined && reqId !== null) {
@@ -7143,21 +7209,25 @@
7143
7209
  var consumes = [
7144
7210
  'application/json'
7145
7211
  ];
7146
- return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/updateStatus/" + encodeURIComponent(String(id)) + "/" + encodeURIComponent(String(status)), null, {
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, {
7147
7217
  withCredentials: this.configuration.withCredentials,
7148
7218
  headers: headers,
7149
7219
  observe: observe,
7150
7220
  reportProgress: reportProgress
7151
7221
  });
7152
7222
  };
7153
- StrategyControllerService.prototype.updateABTestExperimentUsingPOST = function (abTestDTO, id, reqId, token, observe, reportProgress) {
7223
+ StrategyControllerService.prototype.updateABTestExperimentStatusUsingPOST = function (id, status, reqId, token, observe, reportProgress) {
7154
7224
  if (observe === void 0) { observe = 'body'; }
7155
7225
  if (reportProgress === void 0) { reportProgress = false; }
7156
- if (abTestDTO === null || abTestDTO === undefined) {
7157
- throw new Error('Required parameter abTestDTO was null or undefined when calling updateABTestExperimentUsingPOST.');
7158
- }
7159
7226
  if (id === null || id === undefined) {
7160
- throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentUsingPOST.');
7227
+ throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
7228
+ }
7229
+ if (status === null || status === undefined) {
7230
+ throw new Error('Required parameter status was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
7161
7231
  }
7162
7232
  var headers = this.defaultHeaders;
7163
7233
  if (reqId !== undefined && reqId !== null) {
@@ -7178,25 +7248,21 @@
7178
7248
  var consumes = [
7179
7249
  'application/json'
7180
7250
  ];
7181
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
7182
- if (httpContentTypeSelected != undefined) {
7183
- headers = headers.set('Content-Type', httpContentTypeSelected);
7184
- }
7185
- return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/update/" + encodeURIComponent(String(id)), abTestDTO, {
7251
+ return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/updateStatus/" + encodeURIComponent(String(id)) + "/" + encodeURIComponent(String(status)), null, {
7186
7252
  withCredentials: this.configuration.withCredentials,
7187
7253
  headers: headers,
7188
7254
  observe: observe,
7189
7255
  reportProgress: reportProgress
7190
7256
  });
7191
7257
  };
7192
- StrategyControllerService.prototype.updateStrategyUsingPOST = function (id, strategy, reqId, token, observe, reportProgress) {
7258
+ StrategyControllerService.prototype.updateABTestExperimentUsingPOST = function (abTestDTO, id, reqId, token, observe, reportProgress) {
7193
7259
  if (observe === void 0) { observe = 'body'; }
7194
7260
  if (reportProgress === void 0) { reportProgress = false; }
7195
- if (id === null || id === undefined) {
7196
- throw new Error('Required parameter id was null or undefined when calling updateStrategyUsingPOST.');
7261
+ if (abTestDTO === null || abTestDTO === undefined) {
7262
+ throw new Error('Required parameter abTestDTO was null or undefined when calling updateABTestExperimentUsingPOST.');
7197
7263
  }
7198
- if (strategy === null || strategy === undefined) {
7199
- throw new Error('Required parameter strategy was null or undefined when calling updateStrategyUsingPOST.');
7264
+ if (id === null || id === undefined) {
7265
+ throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentUsingPOST.');
7200
7266
  }
7201
7267
  var headers = this.defaultHeaders;
7202
7268
  if (reqId !== undefined && reqId !== null) {
@@ -7221,18 +7287,21 @@
7221
7287
  if (httpContentTypeSelected != undefined) {
7222
7288
  headers = headers.set('Content-Type', httpContentTypeSelected);
7223
7289
  }
7224
- return this.httpClient.post(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)), strategy, {
7290
+ return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/update/" + encodeURIComponent(String(id)), abTestDTO, {
7225
7291
  withCredentials: this.configuration.withCredentials,
7226
7292
  headers: headers,
7227
7293
  observe: observe,
7228
7294
  reportProgress: reportProgress
7229
7295
  });
7230
7296
  };
7231
- StrategyControllerService.prototype.validateGeosUsingPOST = function (geos, reqId, token, observe, reportProgress) {
7297
+ StrategyControllerService.prototype.updateStrategyUsingPOST = function (id, strategy, reqId, token, observe, reportProgress) {
7232
7298
  if (observe === void 0) { observe = 'body'; }
7233
7299
  if (reportProgress === void 0) { reportProgress = false; }
7234
- if (geos === null || geos === undefined) {
7235
- throw new Error('Required parameter geos was null or undefined when calling validateGeosUsingPOST.');
7300
+ if (id === null || id === undefined) {
7301
+ throw new Error('Required parameter id was null or undefined when calling updateStrategyUsingPOST.');
7302
+ }
7303
+ if (strategy === null || strategy === undefined) {
7304
+ throw new Error('Required parameter strategy was null or undefined when calling updateStrategyUsingPOST.');
7236
7305
  }
7237
7306
  var headers = this.defaultHeaders;
7238
7307
  if (reqId !== undefined && reqId !== null) {
@@ -7257,18 +7326,18 @@
7257
7326
  if (httpContentTypeSelected != undefined) {
7258
7327
  headers = headers.set('Content-Type', httpContentTypeSelected);
7259
7328
  }
7260
- return this.httpClient.post(this.basePath + "/v2/api/strategies/validategeos", geos, {
7329
+ return this.httpClient.post(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)), strategy, {
7261
7330
  withCredentials: this.configuration.withCredentials,
7262
7331
  headers: headers,
7263
7332
  observe: observe,
7264
7333
  reportProgress: reportProgress
7265
7334
  });
7266
7335
  };
7267
- StrategyControllerService.prototype.validateSitesUsingPOST = function (sites, reqId, token, observe, reportProgress) {
7336
+ StrategyControllerService.prototype.validateGeosUsingPOST = function (geos, reqId, token, observe, reportProgress) {
7268
7337
  if (observe === void 0) { observe = 'body'; }
7269
7338
  if (reportProgress === void 0) { reportProgress = false; }
7270
- if (sites === null || sites === undefined) {
7271
- throw new Error('Required parameter sites was null or undefined when calling validateSitesUsingPOST.');
7339
+ if (geos === null || geos === undefined) {
7340
+ throw new Error('Required parameter geos was null or undefined when calling validateGeosUsingPOST.');
7272
7341
  }
7273
7342
  var headers = this.defaultHeaders;
7274
7343
  if (reqId !== undefined && reqId !== null) {
@@ -7293,71 +7362,18 @@
7293
7362
  if (httpContentTypeSelected != undefined) {
7294
7363
  headers = headers.set('Content-Type', httpContentTypeSelected);
7295
7364
  }
7296
- return this.httpClient.post(this.basePath + "/v2/api/strategies/validatedomains", sites, {
7365
+ return this.httpClient.post(this.basePath + "/v2/api/strategies/validategeos", geos, {
7297
7366
  withCredentials: this.configuration.withCredentials,
7298
7367
  headers: headers,
7299
7368
  observe: observe,
7300
7369
  reportProgress: reportProgress
7301
7370
  });
7302
7371
  };
7303
- return StrategyControllerService;
7304
- }());
7305
- StrategyControllerService.decorators = [
7306
- { type: core.Injectable }
7307
- ];
7308
- StrategyControllerService.ctorParameters = function () { return [
7309
- { type: http.HttpClient },
7310
- { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
7311
- { type: Configuration, decorators: [{ type: core.Optional }] }
7312
- ]; };
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) {
7372
+ StrategyControllerService.prototype.validateSitesUsingPOST = function (sites, reqId, token, observe, reportProgress) {
7353
7373
  if (observe === void 0) { observe = 'body'; }
7354
7374
  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);
7375
+ if (sites === null || sites === undefined) {
7376
+ throw new Error('Required parameter sites was null or undefined when calling validateSitesUsingPOST.');
7361
7377
  }
7362
7378
  var headers = this.defaultHeaders;
7363
7379
  if (reqId !== undefined && reqId !== null) {
@@ -7382,52 +7398,19 @@
7382
7398
  if (httpContentTypeSelected != undefined) {
7383
7399
  headers = headers.set('Content-Type', httpContentTypeSelected);
7384
7400
  }
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,
7401
+ return this.httpClient.post(this.basePath + "/v2/api/strategies/validatedomains", sites, {
7419
7402
  withCredentials: this.configuration.withCredentials,
7420
7403
  headers: headers,
7421
7404
  observe: observe,
7422
7405
  reportProgress: reportProgress
7423
7406
  });
7424
7407
  };
7425
- return StrategyTemplateControllerService;
7408
+ return StrategyControllerService;
7426
7409
  }());
7427
- StrategyTemplateControllerService.decorators = [
7410
+ StrategyControllerService.decorators = [
7428
7411
  { type: core.Injectable }
7429
7412
  ];
7430
- StrategyTemplateControllerService.ctorParameters = function () { return [
7413
+ StrategyControllerService.ctorParameters = function () { return [
7431
7414
  { type: http.HttpClient },
7432
7415
  { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
7433
7416
  { type: Configuration, decorators: [{ type: core.Optional }] }
@@ -7436,7 +7419,7 @@
7436
7419
  var UILoggerControllerService = /** @class */ (function () {
7437
7420
  function UILoggerControllerService(httpClient, basePath, configuration) {
7438
7421
  this.httpClient = httpClient;
7439
- this.basePath = 'https://apiv2stage3.atomex.net';
7422
+ this.basePath = 'https://apiv2stage2.atomex.net';
7440
7423
  this.defaultHeaders = new http.HttpHeaders();
7441
7424
  this.configuration = new Configuration();
7442
7425
  if (basePath) {
@@ -7526,7 +7509,7 @@
7526
7509
  var UserPreferenceControllerService = /** @class */ (function () {
7527
7510
  function UserPreferenceControllerService(httpClient, basePath, configuration) {
7528
7511
  this.httpClient = httpClient;
7529
- this.basePath = 'https://apiv2stage3.atomex.net';
7512
+ this.basePath = 'https://apiv2stage2.atomex.net';
7530
7513
  this.defaultHeaders = new http.HttpHeaders();
7531
7514
  this.configuration = new Configuration();
7532
7515
  if (basePath) {
@@ -7701,7 +7684,7 @@
7701
7684
  { type: Configuration, decorators: [{ type: core.Optional }] }
7702
7685
  ]; };
7703
7686
 
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];
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];
7705
7688
 
7706
7689
  exports.ActivityLogsCreativeSetsBulkUpdateDTO = void 0;
7707
7690
  (function (ActivityLogsCreativeSetsBulkUpdateDTO) {
@@ -8560,37 +8543,6 @@
8560
8543
  };
8561
8544
  })(exports.StrategyQuickEditDTO || (exports.StrategyQuickEditDTO = {}));
8562
8545
 
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
-
8594
8546
  /**
8595
8547
  * Api Documentation
8596
8548
  * Api Documentation
@@ -8767,7 +8719,6 @@
8767
8719
  ReportingControllerService,
8768
8720
  SliceXControllerService,
8769
8721
  StrategyControllerService,
8770
- StrategyTemplateControllerService,
8771
8722
  UILoggerControllerService,
8772
8723
  UserPreferenceControllerService
8773
8724
  ]
@@ -8809,7 +8760,6 @@
8809
8760
  exports.ReportingControllerService = ReportingControllerService;
8810
8761
  exports.SliceXControllerService = SliceXControllerService;
8811
8762
  exports.StrategyControllerService = StrategyControllerService;
8812
- exports.StrategyTemplateControllerService = StrategyTemplateControllerService;
8813
8763
  exports.UILoggerControllerService = UILoggerControllerService;
8814
8764
  exports.UserPreferenceControllerService = UserPreferenceControllerService;
8815
8765