@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
|
@@ -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://apiv2stage1.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://apiv2stage1.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://apiv2stage1.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://apiv2stage1.atomex.net';
|
|
1266
1266
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1267
1267
|
this.configuration = new Configuration();
|
|
1268
1268
|
if (basePath) {
|
|
@@ -1666,6 +1666,42 @@
|
|
|
1666
1666
|
reportProgress: reportProgress
|
|
1667
1667
|
});
|
|
1668
1668
|
};
|
|
1669
|
+
AudienceControllerService.prototype.getAnalysisAudienceCountUsingPOST = function (totalUniqueUserRequest, reqId, token, observe, reportProgress) {
|
|
1670
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1671
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1672
|
+
if (totalUniqueUserRequest === null || totalUniqueUserRequest === undefined) {
|
|
1673
|
+
throw new Error('Required parameter totalUniqueUserRequest was null or undefined when calling getAnalysisAudienceCountUsingPOST.');
|
|
1674
|
+
}
|
|
1675
|
+
var headers = this.defaultHeaders;
|
|
1676
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1677
|
+
headers = headers.set('reqId', String(reqId));
|
|
1678
|
+
}
|
|
1679
|
+
if (token !== undefined && token !== null) {
|
|
1680
|
+
headers = headers.set('token', String(token));
|
|
1681
|
+
}
|
|
1682
|
+
// to determine the Accept header
|
|
1683
|
+
var httpHeaderAccepts = [
|
|
1684
|
+
'*/*'
|
|
1685
|
+
];
|
|
1686
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1687
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1688
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1689
|
+
}
|
|
1690
|
+
// to determine the Content-Type header
|
|
1691
|
+
var consumes = [
|
|
1692
|
+
'application/json'
|
|
1693
|
+
];
|
|
1694
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1695
|
+
if (httpContentTypeSelected != undefined) {
|
|
1696
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1697
|
+
}
|
|
1698
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/audienceanalysis", totalUniqueUserRequest, {
|
|
1699
|
+
withCredentials: this.configuration.withCredentials,
|
|
1700
|
+
headers: headers,
|
|
1701
|
+
observe: observe,
|
|
1702
|
+
reportProgress: reportProgress
|
|
1703
|
+
});
|
|
1704
|
+
};
|
|
1669
1705
|
AudienceControllerService.prototype.getByIdUsingGET1 = function (id, refresh, reqId, token, observe, reportProgress) {
|
|
1670
1706
|
if (observe === void 0) { observe = 'body'; }
|
|
1671
1707
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -1760,6 +1796,42 @@
|
|
|
1760
1796
|
reportProgress: reportProgress
|
|
1761
1797
|
});
|
|
1762
1798
|
};
|
|
1799
|
+
AudienceControllerService.prototype.getCombinedAnalysisAudienceCountUsingPOST = function (audienceAnalysisRequest, reqId, token, observe, reportProgress) {
|
|
1800
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1801
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1802
|
+
if (audienceAnalysisRequest === null || audienceAnalysisRequest === undefined) {
|
|
1803
|
+
throw new Error('Required parameter audienceAnalysisRequest was null or undefined when calling getCombinedAnalysisAudienceCountUsingPOST.');
|
|
1804
|
+
}
|
|
1805
|
+
var headers = this.defaultHeaders;
|
|
1806
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1807
|
+
headers = headers.set('reqId', String(reqId));
|
|
1808
|
+
}
|
|
1809
|
+
if (token !== undefined && token !== null) {
|
|
1810
|
+
headers = headers.set('token', String(token));
|
|
1811
|
+
}
|
|
1812
|
+
// to determine the Accept header
|
|
1813
|
+
var httpHeaderAccepts = [
|
|
1814
|
+
'*/*'
|
|
1815
|
+
];
|
|
1816
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1817
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1818
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1819
|
+
}
|
|
1820
|
+
// to determine the Content-Type header
|
|
1821
|
+
var consumes = [
|
|
1822
|
+
'application/json'
|
|
1823
|
+
];
|
|
1824
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1825
|
+
if (httpContentTypeSelected != undefined) {
|
|
1826
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1827
|
+
}
|
|
1828
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/audienceanalysis/combination", audienceAnalysisRequest, {
|
|
1829
|
+
withCredentials: this.configuration.withCredentials,
|
|
1830
|
+
headers: headers,
|
|
1831
|
+
observe: observe,
|
|
1832
|
+
reportProgress: reportProgress
|
|
1833
|
+
});
|
|
1834
|
+
};
|
|
1763
1835
|
AudienceControllerService.prototype.getEligibleUsersCountUsingPOST = function (eligibleUsersRequest, reqId, token, observe, reportProgress) {
|
|
1764
1836
|
if (observe === void 0) { observe = 'body'; }
|
|
1765
1837
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -2048,7 +2120,7 @@
|
|
|
2048
2120
|
var AuditControllerService = /** @class */ (function () {
|
|
2049
2121
|
function AuditControllerService(httpClient, basePath, configuration) {
|
|
2050
2122
|
this.httpClient = httpClient;
|
|
2051
|
-
this.basePath = 'https://
|
|
2123
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2052
2124
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2053
2125
|
this.configuration = new Configuration();
|
|
2054
2126
|
if (basePath) {
|
|
@@ -2235,7 +2307,7 @@
|
|
|
2235
2307
|
var BulkStrategyControllerService = /** @class */ (function () {
|
|
2236
2308
|
function BulkStrategyControllerService(httpClient, basePath, configuration) {
|
|
2237
2309
|
this.httpClient = httpClient;
|
|
2238
|
-
this.basePath = 'https://
|
|
2310
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2239
2311
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2240
2312
|
this.configuration = new Configuration();
|
|
2241
2313
|
if (basePath) {
|
|
@@ -2466,7 +2538,7 @@
|
|
|
2466
2538
|
var CSSThemeController_Service = /** @class */ (function () {
|
|
2467
2539
|
function CSSThemeController_Service(httpClient, basePath, configuration) {
|
|
2468
2540
|
this.httpClient = httpClient;
|
|
2469
|
-
this.basePath = 'https://
|
|
2541
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2470
2542
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2471
2543
|
this.configuration = new Configuration();
|
|
2472
2544
|
if (basePath) {
|
|
@@ -2575,7 +2647,7 @@
|
|
|
2575
2647
|
var CampaignControllerService = /** @class */ (function () {
|
|
2576
2648
|
function CampaignControllerService(httpClient, basePath, configuration) {
|
|
2577
2649
|
this.httpClient = httpClient;
|
|
2578
|
-
this.basePath = 'https://
|
|
2650
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2579
2651
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2580
2652
|
this.configuration = new Configuration();
|
|
2581
2653
|
if (basePath) {
|
|
@@ -2885,7 +2957,7 @@
|
|
|
2885
2957
|
var CatalogControllerService = /** @class */ (function () {
|
|
2886
2958
|
function CatalogControllerService(httpClient, basePath, configuration) {
|
|
2887
2959
|
this.httpClient = httpClient;
|
|
2888
|
-
this.basePath = 'https://
|
|
2960
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2889
2961
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2890
2962
|
this.configuration = new Configuration();
|
|
2891
2963
|
if (basePath) {
|
|
@@ -3131,7 +3203,7 @@
|
|
|
3131
3203
|
var ClickDestinationControllerService = /** @class */ (function () {
|
|
3132
3204
|
function ClickDestinationControllerService(httpClient, basePath, configuration) {
|
|
3133
3205
|
this.httpClient = httpClient;
|
|
3134
|
-
this.basePath = 'https://
|
|
3206
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3135
3207
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3136
3208
|
this.configuration = new Configuration();
|
|
3137
3209
|
if (basePath) {
|
|
@@ -3369,7 +3441,7 @@
|
|
|
3369
3441
|
var CreativeControllerService = /** @class */ (function () {
|
|
3370
3442
|
function CreativeControllerService(httpClient, basePath, configuration) {
|
|
3371
3443
|
this.httpClient = httpClient;
|
|
3372
|
-
this.basePath = 'https://
|
|
3444
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3373
3445
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3374
3446
|
this.configuration = new Configuration();
|
|
3375
3447
|
if (basePath) {
|
|
@@ -3870,7 +3942,7 @@
|
|
|
3870
3942
|
var CreativeSetsControllerService = /** @class */ (function () {
|
|
3871
3943
|
function CreativeSetsControllerService(httpClient, basePath, configuration) {
|
|
3872
3944
|
this.httpClient = httpClient;
|
|
3873
|
-
this.basePath = 'https://
|
|
3945
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3874
3946
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3875
3947
|
this.configuration = new Configuration();
|
|
3876
3948
|
if (basePath) {
|
|
@@ -4389,7 +4461,7 @@
|
|
|
4389
4461
|
var CreativeTemplateThemesControllerService = /** @class */ (function () {
|
|
4390
4462
|
function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
|
|
4391
4463
|
this.httpClient = httpClient;
|
|
4392
|
-
this.basePath = 'https://
|
|
4464
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4393
4465
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4394
4466
|
this.configuration = new Configuration();
|
|
4395
4467
|
if (basePath) {
|
|
@@ -4578,7 +4650,7 @@
|
|
|
4578
4650
|
var CreativeTemplateVariablesControllerService = /** @class */ (function () {
|
|
4579
4651
|
function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
|
|
4580
4652
|
this.httpClient = httpClient;
|
|
4581
|
-
this.basePath = 'https://
|
|
4653
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4582
4654
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4583
4655
|
this.configuration = new Configuration();
|
|
4584
4656
|
if (basePath) {
|
|
@@ -4654,7 +4726,7 @@
|
|
|
4654
4726
|
var CreativeTemplatesControllerService = /** @class */ (function () {
|
|
4655
4727
|
function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
|
|
4656
4728
|
this.httpClient = httpClient;
|
|
4657
|
-
this.basePath = 'https://
|
|
4729
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4658
4730
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4659
4731
|
this.configuration = new Configuration();
|
|
4660
4732
|
if (basePath) {
|
|
@@ -4821,7 +4893,7 @@
|
|
|
4821
4893
|
var CustomerReportingControllerService = /** @class */ (function () {
|
|
4822
4894
|
function CustomerReportingControllerService(httpClient, basePath, configuration) {
|
|
4823
4895
|
this.httpClient = httpClient;
|
|
4824
|
-
this.basePath = 'https://
|
|
4896
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4825
4897
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4826
4898
|
this.configuration = new Configuration();
|
|
4827
4899
|
if (basePath) {
|
|
@@ -4906,7 +4978,7 @@
|
|
|
4906
4978
|
var DashboardControllerService = /** @class */ (function () {
|
|
4907
4979
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4908
4980
|
this.httpClient = httpClient;
|
|
4909
|
-
this.basePath = 'https://
|
|
4981
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4910
4982
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4911
4983
|
this.configuration = new Configuration();
|
|
4912
4984
|
if (basePath) {
|
|
@@ -5551,7 +5623,7 @@
|
|
|
5551
5623
|
var NotificationsControllerService = /** @class */ (function () {
|
|
5552
5624
|
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
5553
5625
|
this.httpClient = httpClient;
|
|
5554
|
-
this.basePath = 'https://
|
|
5626
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5555
5627
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5556
5628
|
this.configuration = new Configuration();
|
|
5557
5629
|
if (basePath) {
|
|
@@ -5738,7 +5810,7 @@
|
|
|
5738
5810
|
var PixelControllerService = /** @class */ (function () {
|
|
5739
5811
|
function PixelControllerService(httpClient, basePath, configuration) {
|
|
5740
5812
|
this.httpClient = httpClient;
|
|
5741
|
-
this.basePath = 'https://
|
|
5813
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5742
5814
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5743
5815
|
this.configuration = new Configuration();
|
|
5744
5816
|
if (basePath) {
|
|
@@ -6055,7 +6127,7 @@
|
|
|
6055
6127
|
var ReportingControllerService = /** @class */ (function () {
|
|
6056
6128
|
function ReportingControllerService(httpClient, basePath, configuration) {
|
|
6057
6129
|
this.httpClient = httpClient;
|
|
6058
|
-
this.basePath = 'https://
|
|
6130
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6059
6131
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6060
6132
|
this.configuration = new Configuration();
|
|
6061
6133
|
if (basePath) {
|
|
@@ -6227,7 +6299,7 @@
|
|
|
6227
6299
|
var SliceXControllerService = /** @class */ (function () {
|
|
6228
6300
|
function SliceXControllerService(httpClient, basePath, configuration) {
|
|
6229
6301
|
this.httpClient = httpClient;
|
|
6230
|
-
this.basePath = 'https://
|
|
6302
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6231
6303
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6232
6304
|
this.configuration = new Configuration();
|
|
6233
6305
|
if (basePath) {
|
|
@@ -6483,7 +6555,7 @@
|
|
|
6483
6555
|
var StrategyControllerService = /** @class */ (function () {
|
|
6484
6556
|
function StrategyControllerService(httpClient, basePath, configuration) {
|
|
6485
6557
|
this.httpClient = httpClient;
|
|
6486
|
-
this.basePath = 'https://
|
|
6558
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6487
6559
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6488
6560
|
this.configuration = new Configuration();
|
|
6489
6561
|
if (basePath) {
|
|
@@ -7207,10 +7279,167 @@
|
|
|
7207
7279
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7208
7280
|
]; };
|
|
7209
7281
|
|
|
7282
|
+
var StrategyTemplateControllerService = /** @class */ (function () {
|
|
7283
|
+
function StrategyTemplateControllerService(httpClient, basePath, configuration) {
|
|
7284
|
+
this.httpClient = httpClient;
|
|
7285
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
7286
|
+
this.defaultHeaders = new http.HttpHeaders();
|
|
7287
|
+
this.configuration = new Configuration();
|
|
7288
|
+
if (basePath) {
|
|
7289
|
+
this.basePath = basePath;
|
|
7290
|
+
}
|
|
7291
|
+
if (configuration) {
|
|
7292
|
+
this.configuration = configuration;
|
|
7293
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
7294
|
+
}
|
|
7295
|
+
}
|
|
7296
|
+
/**
|
|
7297
|
+
* @param consumes string[] mime-types
|
|
7298
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
7299
|
+
*/
|
|
7300
|
+
StrategyTemplateControllerService.prototype.canConsumeForm = function (consumes) {
|
|
7301
|
+
var e_1, _a;
|
|
7302
|
+
var form = 'multipart/form-data';
|
|
7303
|
+
try {
|
|
7304
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
7305
|
+
var consume = consumes_1_1.value;
|
|
7306
|
+
if (form === consume) {
|
|
7307
|
+
return true;
|
|
7308
|
+
}
|
|
7309
|
+
}
|
|
7310
|
+
}
|
|
7311
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7312
|
+
finally {
|
|
7313
|
+
try {
|
|
7314
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
7315
|
+
}
|
|
7316
|
+
finally { if (e_1) throw e_1.error; }
|
|
7317
|
+
}
|
|
7318
|
+
return false;
|
|
7319
|
+
};
|
|
7320
|
+
StrategyTemplateControllerService.prototype.createStrategyTemplateUsingPOST = function (strategyTemplateDTO, reqId, strategyId, token, observe, reportProgress) {
|
|
7321
|
+
if (observe === void 0) { observe = 'body'; }
|
|
7322
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
7323
|
+
if (strategyTemplateDTO === null || strategyTemplateDTO === undefined) {
|
|
7324
|
+
throw new Error('Required parameter strategyTemplateDTO was null or undefined when calling createStrategyTemplateUsingPOST.');
|
|
7325
|
+
}
|
|
7326
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
7327
|
+
if (strategyId !== undefined && strategyId !== null) {
|
|
7328
|
+
queryParameters = queryParameters.set('strategyId', strategyId);
|
|
7329
|
+
}
|
|
7330
|
+
var headers = this.defaultHeaders;
|
|
7331
|
+
if (reqId !== undefined && reqId !== null) {
|
|
7332
|
+
headers = headers.set('reqId', String(reqId));
|
|
7333
|
+
}
|
|
7334
|
+
if (token !== undefined && token !== null) {
|
|
7335
|
+
headers = headers.set('token', String(token));
|
|
7336
|
+
}
|
|
7337
|
+
// to determine the Accept header
|
|
7338
|
+
var httpHeaderAccepts = [
|
|
7339
|
+
'application/json'
|
|
7340
|
+
];
|
|
7341
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7342
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
7343
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
7344
|
+
}
|
|
7345
|
+
// to determine the Content-Type header
|
|
7346
|
+
var consumes = [
|
|
7347
|
+
'application/json'
|
|
7348
|
+
];
|
|
7349
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
7350
|
+
if (httpContentTypeSelected != undefined) {
|
|
7351
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
7352
|
+
}
|
|
7353
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategytemplate", strategyTemplateDTO, {
|
|
7354
|
+
params: queryParameters,
|
|
7355
|
+
withCredentials: this.configuration.withCredentials,
|
|
7356
|
+
headers: headers,
|
|
7357
|
+
observe: observe,
|
|
7358
|
+
reportProgress: reportProgress
|
|
7359
|
+
});
|
|
7360
|
+
};
|
|
7361
|
+
StrategyTemplateControllerService.prototype.getAllStrategyTemplatesUsingGET = function (refresh, reqId, token, observe, reportProgress) {
|
|
7362
|
+
if (observe === void 0) { observe = 'body'; }
|
|
7363
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
7364
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
7365
|
+
if (refresh !== undefined && refresh !== null) {
|
|
7366
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
7367
|
+
}
|
|
7368
|
+
var headers = this.defaultHeaders;
|
|
7369
|
+
if (reqId !== undefined && reqId !== null) {
|
|
7370
|
+
headers = headers.set('reqId', String(reqId));
|
|
7371
|
+
}
|
|
7372
|
+
if (token !== undefined && token !== null) {
|
|
7373
|
+
headers = headers.set('token', String(token));
|
|
7374
|
+
}
|
|
7375
|
+
// to determine the Accept header
|
|
7376
|
+
var httpHeaderAccepts = [
|
|
7377
|
+
'*/*'
|
|
7378
|
+
];
|
|
7379
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7380
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
7381
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
7382
|
+
}
|
|
7383
|
+
// to determine the Content-Type header
|
|
7384
|
+
var consumes = [];
|
|
7385
|
+
return this.httpClient.get(this.basePath + "/v2/api/strategytemplate/all", {
|
|
7386
|
+
params: queryParameters,
|
|
7387
|
+
withCredentials: this.configuration.withCredentials,
|
|
7388
|
+
headers: headers,
|
|
7389
|
+
observe: observe,
|
|
7390
|
+
reportProgress: reportProgress
|
|
7391
|
+
});
|
|
7392
|
+
};
|
|
7393
|
+
StrategyTemplateControllerService.prototype.getStrategyTemplateUsingGET = function (id, refresh, reqId, token, observe, reportProgress) {
|
|
7394
|
+
if (observe === void 0) { observe = 'body'; }
|
|
7395
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
7396
|
+
if (id === null || id === undefined) {
|
|
7397
|
+
throw new Error('Required parameter id was null or undefined when calling getStrategyTemplateUsingGET.');
|
|
7398
|
+
}
|
|
7399
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
7400
|
+
if (refresh !== undefined && refresh !== null) {
|
|
7401
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
7402
|
+
}
|
|
7403
|
+
var headers = this.defaultHeaders;
|
|
7404
|
+
if (reqId !== undefined && reqId !== null) {
|
|
7405
|
+
headers = headers.set('reqId', String(reqId));
|
|
7406
|
+
}
|
|
7407
|
+
if (token !== undefined && token !== null) {
|
|
7408
|
+
headers = headers.set('token', String(token));
|
|
7409
|
+
}
|
|
7410
|
+
// to determine the Accept header
|
|
7411
|
+
var httpHeaderAccepts = [
|
|
7412
|
+
'*/*'
|
|
7413
|
+
];
|
|
7414
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
7415
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
7416
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
7417
|
+
}
|
|
7418
|
+
// to determine the Content-Type header
|
|
7419
|
+
var consumes = [];
|
|
7420
|
+
return this.httpClient.get(this.basePath + "/v2/api/strategytemplate/" + encodeURIComponent(String(id)), {
|
|
7421
|
+
params: queryParameters,
|
|
7422
|
+
withCredentials: this.configuration.withCredentials,
|
|
7423
|
+
headers: headers,
|
|
7424
|
+
observe: observe,
|
|
7425
|
+
reportProgress: reportProgress
|
|
7426
|
+
});
|
|
7427
|
+
};
|
|
7428
|
+
return StrategyTemplateControllerService;
|
|
7429
|
+
}());
|
|
7430
|
+
StrategyTemplateControllerService.decorators = [
|
|
7431
|
+
{ type: core.Injectable }
|
|
7432
|
+
];
|
|
7433
|
+
StrategyTemplateControllerService.ctorParameters = function () { return [
|
|
7434
|
+
{ type: http.HttpClient },
|
|
7435
|
+
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
7436
|
+
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7437
|
+
]; };
|
|
7438
|
+
|
|
7210
7439
|
var UILoggerControllerService = /** @class */ (function () {
|
|
7211
7440
|
function UILoggerControllerService(httpClient, basePath, configuration) {
|
|
7212
7441
|
this.httpClient = httpClient;
|
|
7213
|
-
this.basePath = 'https://
|
|
7442
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
7214
7443
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7215
7444
|
this.configuration = new Configuration();
|
|
7216
7445
|
if (basePath) {
|
|
@@ -7300,7 +7529,7 @@
|
|
|
7300
7529
|
var UserPreferenceControllerService = /** @class */ (function () {
|
|
7301
7530
|
function UserPreferenceControllerService(httpClient, basePath, configuration) {
|
|
7302
7531
|
this.httpClient = httpClient;
|
|
7303
|
-
this.basePath = 'https://
|
|
7532
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
7304
7533
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7305
7534
|
this.configuration = new Configuration();
|
|
7306
7535
|
if (basePath) {
|
|
@@ -7475,7 +7704,7 @@
|
|
|
7475
7704
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7476
7705
|
]; };
|
|
7477
7706
|
|
|
7478
|
-
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];
|
|
7707
|
+
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];
|
|
7479
7708
|
|
|
7480
7709
|
exports.ActivityLogsCreativeSetsBulkUpdateDTO = void 0;
|
|
7481
7710
|
(function (ActivityLogsCreativeSetsBulkUpdateDTO) {
|
|
@@ -8334,6 +8563,27 @@
|
|
|
8334
8563
|
};
|
|
8335
8564
|
})(exports.StrategyQuickEditDTO || (exports.StrategyQuickEditDTO = {}));
|
|
8336
8565
|
|
|
8566
|
+
/**
|
|
8567
|
+
* Api Documentation
|
|
8568
|
+
* Api Documentation
|
|
8569
|
+
*
|
|
8570
|
+
* OpenAPI spec version: 1.0
|
|
8571
|
+
*
|
|
8572
|
+
*
|
|
8573
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8574
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
8575
|
+
* Do not edit the class manually.
|
|
8576
|
+
*/
|
|
8577
|
+
exports.StrategyTemplateDTO = void 0;
|
|
8578
|
+
(function (StrategyTemplateDTO) {
|
|
8579
|
+
StrategyTemplateDTO.GoalEnum = {
|
|
8580
|
+
WEBSITE: 'WEBSITE',
|
|
8581
|
+
MOBILEAPPINSTALLS: 'MOBILE_APP_INSTALLS',
|
|
8582
|
+
MOBILEAPPENGAGEMENT: 'MOBILE_APP_ENGAGEMENT',
|
|
8583
|
+
BRANDAWARENESS: 'BRAND_AWARENESS'
|
|
8584
|
+
};
|
|
8585
|
+
})(exports.StrategyTemplateDTO || (exports.StrategyTemplateDTO = {}));
|
|
8586
|
+
|
|
8337
8587
|
/**
|
|
8338
8588
|
* Api Documentation
|
|
8339
8589
|
* Api Documentation
|
|
@@ -8454,16 +8704,6 @@
|
|
|
8454
8704
|
};
|
|
8455
8705
|
})(exports.VideoProperties || (exports.VideoProperties = {}));
|
|
8456
8706
|
|
|
8457
|
-
exports.WhitelabelingEntity = void 0;
|
|
8458
|
-
(function (WhitelabelingEntity) {
|
|
8459
|
-
WhitelabelingEntity.OidcClientEnum = {
|
|
8460
|
-
GOOGLE: 'GOOGLE',
|
|
8461
|
-
FACEBOOK: 'FACEBOOK',
|
|
8462
|
-
OFFICE365: 'OFFICE_365',
|
|
8463
|
-
OKTA: 'OKTA'
|
|
8464
|
-
};
|
|
8465
|
-
})(exports.WhitelabelingEntity || (exports.WhitelabelingEntity = {}));
|
|
8466
|
-
|
|
8467
8707
|
var ApiModule = /** @class */ (function () {
|
|
8468
8708
|
function ApiModule(parentModule, http) {
|
|
8469
8709
|
if (parentModule) {
|
|
@@ -8510,6 +8750,7 @@
|
|
|
8510
8750
|
ReportingControllerService,
|
|
8511
8751
|
SliceXControllerService,
|
|
8512
8752
|
StrategyControllerService,
|
|
8753
|
+
StrategyTemplateControllerService,
|
|
8513
8754
|
UILoggerControllerService,
|
|
8514
8755
|
UserPreferenceControllerService
|
|
8515
8756
|
]
|
|
@@ -8551,6 +8792,7 @@
|
|
|
8551
8792
|
exports.ReportingControllerService = ReportingControllerService;
|
|
8552
8793
|
exports.SliceXControllerService = SliceXControllerService;
|
|
8553
8794
|
exports.StrategyControllerService = StrategyControllerService;
|
|
8795
|
+
exports.StrategyTemplateControllerService = StrategyTemplateControllerService;
|
|
8554
8796
|
exports.UILoggerControllerService = UILoggerControllerService;
|
|
8555
8797
|
exports.UserPreferenceControllerService = UserPreferenceControllerService;
|
|
8556
8798
|
|