@revxui/api-clients-ts 0.10.144 → 0.10.145
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 -3
- package/api/dashboardController.service.d.ts +18 -33
- package/api/notificationsController.service.d.ts +66 -0
- package/api/pixelController.service.d.ts +9 -9
- package/bundles/revxui-api-clients-ts.umd.js +196 -466
- package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
- package/esm2015/api/adminController.service.js +2 -2
- package/esm2015/api/advertiserController.service.js +2 -2
- package/esm2015/api/api.js +4 -4
- package/esm2015/api/appSettingsController.service.js +2 -2
- package/esm2015/api/appsFlyerAudienceController.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/creativeTemplateThemesController.service.js +2 -2
- package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
- package/esm2015/api/creativeTemplatesController.service.js +2 -2
- package/esm2015/api/dashboardController.service.js +5 -46
- package/esm2015/api/notificationsController.service.js +160 -0
- package/esm2015/api/pixelController.service.js +9 -9
- 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/uILoggerController.service.js +2 -2
- package/esm2015/api/userPreferenceController.service.js +2 -2
- package/esm2015/api.module.js +3 -3
- package/esm2015/model/apiListResponseNotificationResponse.js +1 -0
- package/esm2015/model/apiResponseObjectResponseMessage.js +1 -0
- package/esm2015/model/creativeCompactDTO.js +1 -1
- package/esm2015/model/creativeDTO.js +1 -1
- package/esm2015/model/creativeHtmlFile.js +31 -0
- package/esm2015/model/creativeHtmlMockupDTO.js +1 -1
- package/esm2015/model/creativeMockUpsDTO.js +1 -1
- package/esm2015/model/models.js +3 -6
- package/esm2015/model/notificationResponse.js +19 -0
- package/esm5/api/adminController.service.js +2 -2
- package/esm5/api/advertiserController.service.js +2 -2
- package/esm5/api/api.js +4 -4
- package/esm5/api/appSettingsController.service.js +2 -2
- package/esm5/api/appsFlyerAudienceController.service.js +2 -2
- package/esm5/api/audienceController.service.js +2 -2
- package/esm5/api/auditController.service.js +2 -2
- package/esm5/api/bulkStrategyController.service.js +2 -2
- package/esm5/api/cSSThemeController_.service.js +2 -2
- package/esm5/api/campaignController.service.js +2 -2
- package/esm5/api/catalogController.service.js +2 -2
- package/esm5/api/clickDestinationController.service.js +2 -2
- package/esm5/api/creativeController.service.js +2 -2
- package/esm5/api/creativeTemplateThemesController.service.js +2 -2
- package/esm5/api/creativeTemplateVariablesController.service.js +2 -2
- package/esm5/api/creativeTemplatesController.service.js +2 -2
- package/esm5/api/dashboardController.service.js +5 -48
- package/esm5/api/notificationsController.service.js +178 -0
- package/esm5/api/pixelController.service.js +9 -9
- package/esm5/api/reportingController.service.js +2 -2
- package/esm5/api/sliceXController.service.js +2 -2
- package/esm5/api/strategyController.service.js +2 -2
- package/esm5/api/uILoggerController.service.js +2 -2
- package/esm5/api/userPreferenceController.service.js +2 -2
- package/esm5/api.module.js +3 -3
- package/esm5/model/apiListResponseNotificationResponse.js +1 -0
- package/esm5/model/apiResponseObjectResponseMessage.js +1 -0
- package/esm5/model/creativeCompactDTO.js +1 -1
- package/esm5/model/creativeDTO.js +1 -1
- package/esm5/model/creativeHtmlFile.js +31 -0
- package/esm5/model/creativeHtmlMockupDTO.js +1 -1
- package/esm5/model/creativeMockUpsDTO.js +1 -1
- package/esm5/model/models.js +3 -6
- package/esm5/model/notificationResponse.js +19 -0
- package/fesm2015/revxui-api-clients-ts.js +180 -440
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +197 -467
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/{apiListResponseCreativeSetsListDashboardData.d.ts → apiListResponseNotificationResponse.d.ts} +3 -3
- package/model/{apiResponseObjectDashboardMetrics.d.ts → apiResponseObjectResponseMessage.d.ts} +3 -3
- package/model/creativeCompactDTO.d.ts +0 -1
- package/model/creativeDTO.d.ts +0 -4
- package/model/{creativeHtmlFileForSet.d.ts → creativeHtmlFile.d.ts} +3 -6
- package/model/creativeHtmlMockupDTO.d.ts +2 -2
- package/model/creativeMockUpsDTO.d.ts +2 -2
- package/model/models.d.ts +4 -15
- package/model/{advertiserLayoutVariables.d.ts → notificationResponse.d.ts} +10 -2
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
- package/api/creativeSetsController.service.d.ts +0 -130
- package/esm2015/api/creativeSetsController.service.js +0 -330
- package/esm2015/model/advertiserDynamicDetails.js +0 -1
- package/esm2015/model/advertiserLayoutVariables.js +0 -12
- package/esm2015/model/apiListResponseCreativeSetsListDashboardData.js +0 -1
- package/esm2015/model/apiResponseObjectAdvertiserDynamicDetails.js +0 -1
- package/esm2015/model/apiResponseObjectApiListResponseCreativeSetsListDashboardData.js +0 -1
- package/esm2015/model/apiResponseObjectCreativeSetDetails.js +0 -1
- package/esm2015/model/apiResponseObjectCreativeSetResponse.js +0 -1
- package/esm2015/model/apiResponseObjectDashboardMetrics.js +0 -1
- package/esm2015/model/apiResponseObjectListMapintResponseMessage.js +0 -1
- package/esm2015/model/creativeFileForSet.js +0 -20
- package/esm2015/model/creativeHtmlFileForSet.js +0 -31
- package/esm2015/model/creativeSetDetails.js +0 -16
- package/esm2015/model/creativeSetRequest.js +0 -16
- package/esm2015/model/creativeSetResponse.js +0 -12
- package/esm2015/model/creativeSetsListDashboardData.js +0 -16
- package/esm5/api/creativeSetsController.service.js +0 -356
- package/esm5/model/advertiserDynamicDetails.js +0 -1
- package/esm5/model/advertiserLayoutVariables.js +0 -12
- package/esm5/model/apiListResponseCreativeSetsListDashboardData.js +0 -1
- package/esm5/model/apiResponseObjectAdvertiserDynamicDetails.js +0 -1
- package/esm5/model/apiResponseObjectApiListResponseCreativeSetsListDashboardData.js +0 -1
- package/esm5/model/apiResponseObjectCreativeSetDetails.js +0 -1
- package/esm5/model/apiResponseObjectCreativeSetResponse.js +0 -1
- package/esm5/model/apiResponseObjectDashboardMetrics.js +0 -1
- package/esm5/model/apiResponseObjectListMapintResponseMessage.js +0 -1
- package/esm5/model/creativeFileForSet.js +0 -20
- package/esm5/model/creativeHtmlFileForSet.js +0 -31
- package/esm5/model/creativeSetDetails.js +0 -16
- package/esm5/model/creativeSetRequest.js +0 -16
- package/esm5/model/creativeSetResponse.js +0 -12
- package/esm5/model/creativeSetsListDashboardData.js +0 -16
- package/model/advertiserDynamicDetails.d.ts +0 -18
- package/model/apiResponseObjectAdvertiserDynamicDetails.d.ts +0 -17
- package/model/apiResponseObjectApiListResponseCreativeSetsListDashboardData.d.ts +0 -17
- package/model/apiResponseObjectCreativeSetDetails.d.ts +0 -17
- package/model/apiResponseObjectCreativeSetResponse.d.ts +0 -17
- package/model/apiResponseObjectListMapintResponseMessage.d.ts +0 -17
- package/model/creativeFileForSet.d.ts +0 -51
- package/model/creativeSetDetails.d.ts +0 -49
- package/model/creativeSetRequest.d.ts +0 -53
- package/model/creativeSetResponse.d.ts +0 -14
- package/model/creativeSetsListDashboardData.d.ts +0 -69
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
var AdminControllerService = /** @class */ (function () {
|
|
309
309
|
function AdminControllerService(httpClient, basePath, configuration) {
|
|
310
310
|
this.httpClient = httpClient;
|
|
311
|
-
this.basePath = 'https://
|
|
311
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
312
312
|
this.defaultHeaders = new http.HttpHeaders();
|
|
313
313
|
this.configuration = new Configuration();
|
|
314
314
|
if (basePath) {
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
var AdvertiserControllerService = /** @class */ (function () {
|
|
526
526
|
function AdvertiserControllerService(httpClient, basePath, configuration) {
|
|
527
527
|
this.httpClient = httpClient;
|
|
528
|
-
this.basePath = 'https://
|
|
528
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
529
529
|
this.defaultHeaders = new http.HttpHeaders();
|
|
530
530
|
this.configuration = new Configuration();
|
|
531
531
|
if (basePath) {
|
|
@@ -971,7 +971,7 @@
|
|
|
971
971
|
var AppSettingsControllerService = /** @class */ (function () {
|
|
972
972
|
function AppSettingsControllerService(httpClient, basePath, configuration) {
|
|
973
973
|
this.httpClient = httpClient;
|
|
974
|
-
this.basePath = 'https://
|
|
974
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
975
975
|
this.defaultHeaders = new http.HttpHeaders();
|
|
976
976
|
this.configuration = new Configuration();
|
|
977
977
|
if (basePath) {
|
|
@@ -1141,7 +1141,7 @@
|
|
|
1141
1141
|
var AppsFlyerAudienceControllerService = /** @class */ (function () {
|
|
1142
1142
|
function AppsFlyerAudienceControllerService(httpClient, basePath, configuration) {
|
|
1143
1143
|
this.httpClient = httpClient;
|
|
1144
|
-
this.basePath = 'https://
|
|
1144
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1145
1145
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1146
1146
|
this.configuration = new Configuration();
|
|
1147
1147
|
if (basePath) {
|
|
@@ -1310,7 +1310,7 @@
|
|
|
1310
1310
|
var AudienceControllerService = /** @class */ (function () {
|
|
1311
1311
|
function AudienceControllerService(httpClient, basePath, configuration) {
|
|
1312
1312
|
this.httpClient = httpClient;
|
|
1313
|
-
this.basePath = 'https://
|
|
1313
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1314
1314
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1315
1315
|
this.configuration = new Configuration();
|
|
1316
1316
|
if (basePath) {
|
|
@@ -1843,7 +1843,7 @@
|
|
|
1843
1843
|
var AuditControllerService = /** @class */ (function () {
|
|
1844
1844
|
function AuditControllerService(httpClient, basePath, configuration) {
|
|
1845
1845
|
this.httpClient = httpClient;
|
|
1846
|
-
this.basePath = 'https://
|
|
1846
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1847
1847
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1848
1848
|
this.configuration = new Configuration();
|
|
1849
1849
|
if (basePath) {
|
|
@@ -2042,7 +2042,7 @@
|
|
|
2042
2042
|
var BulkStrategyControllerService = /** @class */ (function () {
|
|
2043
2043
|
function BulkStrategyControllerService(httpClient, basePath, configuration) {
|
|
2044
2044
|
this.httpClient = httpClient;
|
|
2045
|
-
this.basePath = 'https://
|
|
2045
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2046
2046
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2047
2047
|
this.configuration = new Configuration();
|
|
2048
2048
|
if (basePath) {
|
|
@@ -2285,7 +2285,7 @@
|
|
|
2285
2285
|
var CSSThemeController_Service = /** @class */ (function () {
|
|
2286
2286
|
function CSSThemeController_Service(httpClient, basePath, configuration) {
|
|
2287
2287
|
this.httpClient = httpClient;
|
|
2288
|
-
this.basePath = 'https://
|
|
2288
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2289
2289
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2290
2290
|
this.configuration = new Configuration();
|
|
2291
2291
|
if (basePath) {
|
|
@@ -2406,7 +2406,7 @@
|
|
|
2406
2406
|
var CampaignControllerService = /** @class */ (function () {
|
|
2407
2407
|
function CampaignControllerService(httpClient, basePath, configuration) {
|
|
2408
2408
|
this.httpClient = httpClient;
|
|
2409
|
-
this.basePath = 'https://
|
|
2409
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2410
2410
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2411
2411
|
this.configuration = new Configuration();
|
|
2412
2412
|
if (basePath) {
|
|
@@ -2701,7 +2701,7 @@
|
|
|
2701
2701
|
var CatalogControllerService = /** @class */ (function () {
|
|
2702
2702
|
function CatalogControllerService(httpClient, basePath, configuration) {
|
|
2703
2703
|
this.httpClient = httpClient;
|
|
2704
|
-
this.basePath = 'https://
|
|
2704
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2705
2705
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2706
2706
|
this.configuration = new Configuration();
|
|
2707
2707
|
if (basePath) {
|
|
@@ -2951,7 +2951,7 @@
|
|
|
2951
2951
|
var ClickDestinationControllerService = /** @class */ (function () {
|
|
2952
2952
|
function ClickDestinationControllerService(httpClient, basePath, configuration) {
|
|
2953
2953
|
this.httpClient = httpClient;
|
|
2954
|
-
this.basePath = 'https://
|
|
2954
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2955
2955
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2956
2956
|
this.configuration = new Configuration();
|
|
2957
2957
|
if (basePath) {
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
var CreativeControllerService = /** @class */ (function () {
|
|
3211
3211
|
function CreativeControllerService(httpClient, basePath, configuration) {
|
|
3212
3212
|
this.httpClient = httpClient;
|
|
3213
|
-
this.basePath = 'https://
|
|
3213
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3214
3214
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3215
3215
|
this.configuration = new Configuration();
|
|
3216
3216
|
if (basePath) {
|
|
@@ -3691,354 +3691,6 @@
|
|
|
3691
3691
|
return CreativeControllerService;
|
|
3692
3692
|
}());
|
|
3693
3693
|
|
|
3694
|
-
/**
|
|
3695
|
-
* Api Documentation
|
|
3696
|
-
* Api Documentation
|
|
3697
|
-
*
|
|
3698
|
-
* OpenAPI spec version: 1.0
|
|
3699
|
-
*
|
|
3700
|
-
*
|
|
3701
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
3702
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
3703
|
-
* Do not edit the class manually.
|
|
3704
|
-
*/
|
|
3705
|
-
var CreativeSetsControllerService = /** @class */ (function () {
|
|
3706
|
-
function CreativeSetsControllerService(httpClient, basePath, configuration) {
|
|
3707
|
-
this.httpClient = httpClient;
|
|
3708
|
-
this.basePath = 'https://apiv2stage2.atomex.net';
|
|
3709
|
-
this.defaultHeaders = new http.HttpHeaders();
|
|
3710
|
-
this.configuration = new Configuration();
|
|
3711
|
-
if (basePath) {
|
|
3712
|
-
this.basePath = basePath;
|
|
3713
|
-
}
|
|
3714
|
-
if (configuration) {
|
|
3715
|
-
this.configuration = configuration;
|
|
3716
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
3717
|
-
}
|
|
3718
|
-
}
|
|
3719
|
-
/**
|
|
3720
|
-
* @param consumes string[] mime-types
|
|
3721
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
3722
|
-
*/
|
|
3723
|
-
CreativeSetsControllerService.prototype.canConsumeForm = function (consumes) {
|
|
3724
|
-
var e_1, _a;
|
|
3725
|
-
var form = 'multipart/form-data';
|
|
3726
|
-
try {
|
|
3727
|
-
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
3728
|
-
var consume = consumes_1_1.value;
|
|
3729
|
-
if (form === consume) {
|
|
3730
|
-
return true;
|
|
3731
|
-
}
|
|
3732
|
-
}
|
|
3733
|
-
}
|
|
3734
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3735
|
-
finally {
|
|
3736
|
-
try {
|
|
3737
|
-
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
3738
|
-
}
|
|
3739
|
-
finally { if (e_1) throw e_1.error; }
|
|
3740
|
-
}
|
|
3741
|
-
return false;
|
|
3742
|
-
};
|
|
3743
|
-
CreativeSetsControllerService.prototype.createUsingPOST = function (creativeSetRequest, reqId, token, observe, reportProgress) {
|
|
3744
|
-
if (observe === void 0) { observe = 'body'; }
|
|
3745
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
3746
|
-
if (creativeSetRequest === null || creativeSetRequest === undefined) {
|
|
3747
|
-
throw new Error('Required parameter creativeSetRequest was null or undefined when calling createUsingPOST.');
|
|
3748
|
-
}
|
|
3749
|
-
var headers = this.defaultHeaders;
|
|
3750
|
-
if (reqId !== undefined && reqId !== null) {
|
|
3751
|
-
headers = headers.set('reqId', String(reqId));
|
|
3752
|
-
}
|
|
3753
|
-
if (token !== undefined && token !== null) {
|
|
3754
|
-
headers = headers.set('token', String(token));
|
|
3755
|
-
}
|
|
3756
|
-
// to determine the Accept header
|
|
3757
|
-
var httpHeaderAccepts = [
|
|
3758
|
-
'application/json'
|
|
3759
|
-
];
|
|
3760
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3761
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
3762
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3763
|
-
}
|
|
3764
|
-
// to determine the Content-Type header
|
|
3765
|
-
var consumes = [
|
|
3766
|
-
'application/json'
|
|
3767
|
-
];
|
|
3768
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3769
|
-
if (httpContentTypeSelected != undefined) {
|
|
3770
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
3771
|
-
}
|
|
3772
|
-
return this.httpClient.post(this.basePath + "/v2/api/creativesets", creativeSetRequest, {
|
|
3773
|
-
withCredentials: this.configuration.withCredentials,
|
|
3774
|
-
headers: headers,
|
|
3775
|
-
observe: observe,
|
|
3776
|
-
reportProgress: reportProgress
|
|
3777
|
-
});
|
|
3778
|
-
};
|
|
3779
|
-
CreativeSetsControllerService.prototype.getAdvertiserDynamicDetailsUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
|
|
3780
|
-
if (observe === void 0) { observe = 'body'; }
|
|
3781
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
3782
|
-
if (advertiserId === null || advertiserId === undefined) {
|
|
3783
|
-
throw new Error('Required parameter advertiserId was null or undefined when calling getAdvertiserDynamicDetailsUsingGET.');
|
|
3784
|
-
}
|
|
3785
|
-
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
3786
|
-
if (advertiserId !== undefined && advertiserId !== null) {
|
|
3787
|
-
queryParameters = queryParameters.set('advertiserId', advertiserId);
|
|
3788
|
-
}
|
|
3789
|
-
var headers = this.defaultHeaders;
|
|
3790
|
-
if (reqId !== undefined && reqId !== null) {
|
|
3791
|
-
headers = headers.set('reqId', String(reqId));
|
|
3792
|
-
}
|
|
3793
|
-
if (token !== undefined && token !== null) {
|
|
3794
|
-
headers = headers.set('token', String(token));
|
|
3795
|
-
}
|
|
3796
|
-
// to determine the Accept header
|
|
3797
|
-
var httpHeaderAccepts = [
|
|
3798
|
-
'application/json'
|
|
3799
|
-
];
|
|
3800
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3801
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
3802
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3803
|
-
}
|
|
3804
|
-
// to determine the Content-Type header
|
|
3805
|
-
var consumes = [];
|
|
3806
|
-
return this.httpClient.get(this.basePath + "/v2/api/creativesets/dynamicdetails", {
|
|
3807
|
-
params: queryParameters,
|
|
3808
|
-
withCredentials: this.configuration.withCredentials,
|
|
3809
|
-
headers: headers,
|
|
3810
|
-
observe: observe,
|
|
3811
|
-
reportProgress: reportProgress
|
|
3812
|
-
});
|
|
3813
|
-
};
|
|
3814
|
-
CreativeSetsControllerService.prototype.getByIdUsingGET3 = function (id, reqId, token, observe, reportProgress) {
|
|
3815
|
-
if (observe === void 0) { observe = 'body'; }
|
|
3816
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
3817
|
-
if (id === null || id === undefined) {
|
|
3818
|
-
throw new Error('Required parameter id was null or undefined when calling getByIdUsingGET3.');
|
|
3819
|
-
}
|
|
3820
|
-
var headers = this.defaultHeaders;
|
|
3821
|
-
if (reqId !== undefined && reqId !== null) {
|
|
3822
|
-
headers = headers.set('reqId', String(reqId));
|
|
3823
|
-
}
|
|
3824
|
-
if (token !== undefined && token !== null) {
|
|
3825
|
-
headers = headers.set('token', String(token));
|
|
3826
|
-
}
|
|
3827
|
-
// to determine the Accept header
|
|
3828
|
-
var httpHeaderAccepts = [
|
|
3829
|
-
'application/json'
|
|
3830
|
-
];
|
|
3831
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3832
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
3833
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3834
|
-
}
|
|
3835
|
-
// to determine the Content-Type header
|
|
3836
|
-
var consumes = [];
|
|
3837
|
-
return this.httpClient.get(this.basePath + "/v2/api/creativesets/" + encodeURIComponent(String(id)), {
|
|
3838
|
-
withCredentials: this.configuration.withCredentials,
|
|
3839
|
-
headers: headers,
|
|
3840
|
-
observe: observe,
|
|
3841
|
-
reportProgress: reportProgress
|
|
3842
|
-
});
|
|
3843
|
-
};
|
|
3844
|
-
CreativeSetsControllerService.prototype.getCreativeSetsPerformanceUsingPOST = function (dashboardRequest, pageNumber, pageSize, refresh, reqId, sort, token, observe, reportProgress) {
|
|
3845
|
-
if (observe === void 0) { observe = 'body'; }
|
|
3846
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
3847
|
-
if (dashboardRequest === null || dashboardRequest === undefined) {
|
|
3848
|
-
throw new Error('Required parameter dashboardRequest was null or undefined when calling getCreativeSetsPerformanceUsingPOST.');
|
|
3849
|
-
}
|
|
3850
|
-
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
3851
|
-
if (pageNumber !== undefined && pageNumber !== null) {
|
|
3852
|
-
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
3853
|
-
}
|
|
3854
|
-
if (pageSize !== undefined && pageSize !== null) {
|
|
3855
|
-
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
3856
|
-
}
|
|
3857
|
-
if (refresh !== undefined && refresh !== null) {
|
|
3858
|
-
queryParameters = queryParameters.set('refresh', refresh);
|
|
3859
|
-
}
|
|
3860
|
-
if (sort !== undefined && sort !== null) {
|
|
3861
|
-
queryParameters = queryParameters.set('sort', sort);
|
|
3862
|
-
}
|
|
3863
|
-
var headers = this.defaultHeaders;
|
|
3864
|
-
if (reqId !== undefined && reqId !== null) {
|
|
3865
|
-
headers = headers.set('reqId', String(reqId));
|
|
3866
|
-
}
|
|
3867
|
-
if (token !== undefined && token !== null) {
|
|
3868
|
-
headers = headers.set('token', String(token));
|
|
3869
|
-
}
|
|
3870
|
-
// to determine the Accept header
|
|
3871
|
-
var httpHeaderAccepts = [
|
|
3872
|
-
'application/json'
|
|
3873
|
-
];
|
|
3874
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3875
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
3876
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3877
|
-
}
|
|
3878
|
-
// to determine the Content-Type header
|
|
3879
|
-
var consumes = [
|
|
3880
|
-
'application/json'
|
|
3881
|
-
];
|
|
3882
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3883
|
-
if (httpContentTypeSelected != undefined) {
|
|
3884
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
3885
|
-
}
|
|
3886
|
-
return this.httpClient.post(this.basePath + "/v2/api/creativesets/performance/", dashboardRequest, {
|
|
3887
|
-
params: queryParameters,
|
|
3888
|
-
withCredentials: this.configuration.withCredentials,
|
|
3889
|
-
headers: headers,
|
|
3890
|
-
observe: observe,
|
|
3891
|
-
reportProgress: reportProgress
|
|
3892
|
-
});
|
|
3893
|
-
};
|
|
3894
|
-
CreativeSetsControllerService.prototype.getCreativesPerformanceUsingPOST = function (dashboardRequest, id, pageNumber, pageSize, refresh, reqId, sort, token, observe, reportProgress) {
|
|
3895
|
-
if (observe === void 0) { observe = 'body'; }
|
|
3896
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
3897
|
-
if (dashboardRequest === null || dashboardRequest === undefined) {
|
|
3898
|
-
throw new Error('Required parameter dashboardRequest was null or undefined when calling getCreativesPerformanceUsingPOST.');
|
|
3899
|
-
}
|
|
3900
|
-
if (id === null || id === undefined) {
|
|
3901
|
-
throw new Error('Required parameter id was null or undefined when calling getCreativesPerformanceUsingPOST.');
|
|
3902
|
-
}
|
|
3903
|
-
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
3904
|
-
if (pageNumber !== undefined && pageNumber !== null) {
|
|
3905
|
-
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
3906
|
-
}
|
|
3907
|
-
if (pageSize !== undefined && pageSize !== null) {
|
|
3908
|
-
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
3909
|
-
}
|
|
3910
|
-
if (refresh !== undefined && refresh !== null) {
|
|
3911
|
-
queryParameters = queryParameters.set('refresh', refresh);
|
|
3912
|
-
}
|
|
3913
|
-
if (sort !== undefined && sort !== null) {
|
|
3914
|
-
queryParameters = queryParameters.set('sort', sort);
|
|
3915
|
-
}
|
|
3916
|
-
var headers = this.defaultHeaders;
|
|
3917
|
-
if (reqId !== undefined && reqId !== null) {
|
|
3918
|
-
headers = headers.set('reqId', String(reqId));
|
|
3919
|
-
}
|
|
3920
|
-
if (token !== undefined && token !== null) {
|
|
3921
|
-
headers = headers.set('token', String(token));
|
|
3922
|
-
}
|
|
3923
|
-
// to determine the Accept header
|
|
3924
|
-
var httpHeaderAccepts = [
|
|
3925
|
-
'application/json'
|
|
3926
|
-
];
|
|
3927
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3928
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
3929
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3930
|
-
}
|
|
3931
|
-
// to determine the Content-Type header
|
|
3932
|
-
var consumes = [
|
|
3933
|
-
'application/json'
|
|
3934
|
-
];
|
|
3935
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3936
|
-
if (httpContentTypeSelected != undefined) {
|
|
3937
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
3938
|
-
}
|
|
3939
|
-
return this.httpClient.post(this.basePath + "/v2/api/creativesets/creatives/performance/" + encodeURIComponent(String(id)), dashboardRequest, {
|
|
3940
|
-
params: queryParameters,
|
|
3941
|
-
withCredentials: this.configuration.withCredentials,
|
|
3942
|
-
headers: headers,
|
|
3943
|
-
observe: observe,
|
|
3944
|
-
reportProgress: reportProgress
|
|
3945
|
-
});
|
|
3946
|
-
};
|
|
3947
|
-
CreativeSetsControllerService.prototype.getPerformanceByIdUsingPOST = function (dashboardRequest, id, refresh, reqId, token, observe, reportProgress) {
|
|
3948
|
-
if (observe === void 0) { observe = 'body'; }
|
|
3949
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
3950
|
-
if (dashboardRequest === null || dashboardRequest === undefined) {
|
|
3951
|
-
throw new Error('Required parameter dashboardRequest was null or undefined when calling getPerformanceByIdUsingPOST.');
|
|
3952
|
-
}
|
|
3953
|
-
if (id === null || id === undefined) {
|
|
3954
|
-
throw new Error('Required parameter id was null or undefined when calling getPerformanceByIdUsingPOST.');
|
|
3955
|
-
}
|
|
3956
|
-
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
3957
|
-
if (refresh !== undefined && refresh !== null) {
|
|
3958
|
-
queryParameters = queryParameters.set('refresh', refresh);
|
|
3959
|
-
}
|
|
3960
|
-
var headers = this.defaultHeaders;
|
|
3961
|
-
if (reqId !== undefined && reqId !== null) {
|
|
3962
|
-
headers = headers.set('reqId', String(reqId));
|
|
3963
|
-
}
|
|
3964
|
-
if (token !== undefined && token !== null) {
|
|
3965
|
-
headers = headers.set('token', String(token));
|
|
3966
|
-
}
|
|
3967
|
-
// to determine the Accept header
|
|
3968
|
-
var httpHeaderAccepts = [
|
|
3969
|
-
'application/json'
|
|
3970
|
-
];
|
|
3971
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3972
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
3973
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3974
|
-
}
|
|
3975
|
-
// to determine the Content-Type header
|
|
3976
|
-
var consumes = [
|
|
3977
|
-
'application/json'
|
|
3978
|
-
];
|
|
3979
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3980
|
-
if (httpContentTypeSelected != undefined) {
|
|
3981
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
3982
|
-
}
|
|
3983
|
-
return this.httpClient.post(this.basePath + "/v2/api/creativesets/performance/" + encodeURIComponent(String(id)), dashboardRequest, {
|
|
3984
|
-
params: queryParameters,
|
|
3985
|
-
withCredentials: this.configuration.withCredentials,
|
|
3986
|
-
headers: headers,
|
|
3987
|
-
observe: observe,
|
|
3988
|
-
reportProgress: reportProgress
|
|
3989
|
-
});
|
|
3990
|
-
};
|
|
3991
|
-
CreativeSetsControllerService.prototype.updateUsingPOST = function (creativeSetRequest, id, reqId, token, observe, reportProgress) {
|
|
3992
|
-
if (observe === void 0) { observe = 'body'; }
|
|
3993
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
3994
|
-
if (creativeSetRequest === null || creativeSetRequest === undefined) {
|
|
3995
|
-
throw new Error('Required parameter creativeSetRequest was null or undefined when calling updateUsingPOST.');
|
|
3996
|
-
}
|
|
3997
|
-
if (id === null || id === undefined) {
|
|
3998
|
-
throw new Error('Required parameter id was null or undefined when calling updateUsingPOST.');
|
|
3999
|
-
}
|
|
4000
|
-
var headers = this.defaultHeaders;
|
|
4001
|
-
if (reqId !== undefined && reqId !== null) {
|
|
4002
|
-
headers = headers.set('reqId', String(reqId));
|
|
4003
|
-
}
|
|
4004
|
-
if (token !== undefined && token !== null) {
|
|
4005
|
-
headers = headers.set('token', String(token));
|
|
4006
|
-
}
|
|
4007
|
-
// to determine the Accept header
|
|
4008
|
-
var httpHeaderAccepts = [
|
|
4009
|
-
'application/json'
|
|
4010
|
-
];
|
|
4011
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4012
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
4013
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4014
|
-
}
|
|
4015
|
-
// to determine the Content-Type header
|
|
4016
|
-
var consumes = [
|
|
4017
|
-
'application/json'
|
|
4018
|
-
];
|
|
4019
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4020
|
-
if (httpContentTypeSelected != undefined) {
|
|
4021
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
4022
|
-
}
|
|
4023
|
-
return this.httpClient.post(this.basePath + "/v2/api/creativesets/" + encodeURIComponent(String(id)), creativeSetRequest, {
|
|
4024
|
-
withCredentials: this.configuration.withCredentials,
|
|
4025
|
-
headers: headers,
|
|
4026
|
-
observe: observe,
|
|
4027
|
-
reportProgress: reportProgress
|
|
4028
|
-
});
|
|
4029
|
-
};
|
|
4030
|
-
CreativeSetsControllerService.ctorParameters = function () { return [
|
|
4031
|
-
{ type: http.HttpClient },
|
|
4032
|
-
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
4033
|
-
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
4034
|
-
]; };
|
|
4035
|
-
CreativeSetsControllerService = __decorate([
|
|
4036
|
-
core.Injectable(),
|
|
4037
|
-
__param(1, core.Optional()), __param(1, core.Inject(BASE_PATH)), __param(2, core.Optional())
|
|
4038
|
-
], CreativeSetsControllerService);
|
|
4039
|
-
return CreativeSetsControllerService;
|
|
4040
|
-
}());
|
|
4041
|
-
|
|
4042
3694
|
/**
|
|
4043
3695
|
* Api Documentation
|
|
4044
3696
|
* Api Documentation
|
|
@@ -4053,7 +3705,7 @@
|
|
|
4053
3705
|
var CreativeTemplateThemesControllerService = /** @class */ (function () {
|
|
4054
3706
|
function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
|
|
4055
3707
|
this.httpClient = httpClient;
|
|
4056
|
-
this.basePath = 'https://
|
|
3708
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4057
3709
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4058
3710
|
this.configuration = new Configuration();
|
|
4059
3711
|
if (basePath) {
|
|
@@ -4254,7 +3906,7 @@
|
|
|
4254
3906
|
var CreativeTemplateVariablesControllerService = /** @class */ (function () {
|
|
4255
3907
|
function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
|
|
4256
3908
|
this.httpClient = httpClient;
|
|
4257
|
-
this.basePath = 'https://
|
|
3909
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4258
3910
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4259
3911
|
this.configuration = new Configuration();
|
|
4260
3912
|
if (basePath) {
|
|
@@ -4342,7 +3994,7 @@
|
|
|
4342
3994
|
var CreativeTemplatesControllerService = /** @class */ (function () {
|
|
4343
3995
|
function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
|
|
4344
3996
|
this.httpClient = httpClient;
|
|
4345
|
-
this.basePath = 'https://
|
|
3997
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4346
3998
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4347
3999
|
this.configuration = new Configuration();
|
|
4348
4000
|
if (basePath) {
|
|
@@ -4521,7 +4173,7 @@
|
|
|
4521
4173
|
var DashboardControllerService = /** @class */ (function () {
|
|
4522
4174
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4523
4175
|
this.httpClient = httpClient;
|
|
4524
|
-
this.basePath = 'https://
|
|
4176
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4525
4177
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4526
4178
|
this.configuration = new Configuration();
|
|
4527
4179
|
if (basePath) {
|
|
@@ -4556,14 +4208,14 @@
|
|
|
4556
4208
|
}
|
|
4557
4209
|
return false;
|
|
4558
4210
|
};
|
|
4559
|
-
DashboardControllerService.prototype.
|
|
4211
|
+
DashboardControllerService.prototype.getByIdUsingGET3 = function (id, tableEntity, reqId, token, observe, reportProgress) {
|
|
4560
4212
|
if (observe === void 0) { observe = 'body'; }
|
|
4561
4213
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
4562
4214
|
if (id === null || id === undefined) {
|
|
4563
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
4215
|
+
throw new Error('Required parameter id was null or undefined when calling getByIdUsingGET3.');
|
|
4564
4216
|
}
|
|
4565
4217
|
if (tableEntity === null || tableEntity === undefined) {
|
|
4566
|
-
throw new Error('Required parameter tableEntity was null or undefined when calling
|
|
4218
|
+
throw new Error('Required parameter tableEntity was null or undefined when calling getByIdUsingGET3.');
|
|
4567
4219
|
}
|
|
4568
4220
|
var headers = this.defaultHeaders;
|
|
4569
4221
|
if (reqId !== undefined && reqId !== null) {
|
|
@@ -5076,17 +4728,144 @@
|
|
|
5076
4728
|
reportProgress: reportProgress
|
|
5077
4729
|
});
|
|
5078
4730
|
};
|
|
5079
|
-
DashboardControllerService.
|
|
4731
|
+
DashboardControllerService.ctorParameters = function () { return [
|
|
4732
|
+
{ type: http.HttpClient },
|
|
4733
|
+
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
4734
|
+
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
4735
|
+
]; };
|
|
4736
|
+
DashboardControllerService = __decorate([
|
|
4737
|
+
core.Injectable(),
|
|
4738
|
+
__param(1, core.Optional()), __param(1, core.Inject(BASE_PATH)), __param(2, core.Optional())
|
|
4739
|
+
], DashboardControllerService);
|
|
4740
|
+
return DashboardControllerService;
|
|
4741
|
+
}());
|
|
4742
|
+
|
|
4743
|
+
/**
|
|
4744
|
+
* Api Documentation
|
|
4745
|
+
* Api Documentation
|
|
4746
|
+
*
|
|
4747
|
+
* OpenAPI spec version: 1.0
|
|
4748
|
+
*
|
|
4749
|
+
*
|
|
4750
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4751
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4752
|
+
* Do not edit the class manually.
|
|
4753
|
+
*/
|
|
4754
|
+
var NotificationsControllerService = /** @class */ (function () {
|
|
4755
|
+
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
4756
|
+
this.httpClient = httpClient;
|
|
4757
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4758
|
+
this.defaultHeaders = new http.HttpHeaders();
|
|
4759
|
+
this.configuration = new Configuration();
|
|
4760
|
+
if (basePath) {
|
|
4761
|
+
this.basePath = basePath;
|
|
4762
|
+
}
|
|
4763
|
+
if (configuration) {
|
|
4764
|
+
this.configuration = configuration;
|
|
4765
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
4766
|
+
}
|
|
4767
|
+
}
|
|
4768
|
+
/**
|
|
4769
|
+
* @param consumes string[] mime-types
|
|
4770
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
4771
|
+
*/
|
|
4772
|
+
NotificationsControllerService.prototype.canConsumeForm = function (consumes) {
|
|
4773
|
+
var e_1, _a;
|
|
4774
|
+
var form = 'multipart/form-data';
|
|
4775
|
+
try {
|
|
4776
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
4777
|
+
var consume = consumes_1_1.value;
|
|
4778
|
+
if (form === consume) {
|
|
4779
|
+
return true;
|
|
4780
|
+
}
|
|
4781
|
+
}
|
|
4782
|
+
}
|
|
4783
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4784
|
+
finally {
|
|
4785
|
+
try {
|
|
4786
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
4787
|
+
}
|
|
4788
|
+
finally { if (e_1) throw e_1.error; }
|
|
4789
|
+
}
|
|
4790
|
+
return false;
|
|
4791
|
+
};
|
|
4792
|
+
NotificationsControllerService.prototype.getNotificationUsingGET = function (pageNumber, pageSize, reqId, token, observe, reportProgress) {
|
|
5080
4793
|
if (observe === void 0) { observe = 'body'; }
|
|
5081
4794
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
5082
|
-
|
|
5083
|
-
|
|
4795
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
4796
|
+
if (pageNumber !== undefined && pageNumber !== null) {
|
|
4797
|
+
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
5084
4798
|
}
|
|
5085
|
-
if (
|
|
5086
|
-
|
|
4799
|
+
if (pageSize !== undefined && pageSize !== null) {
|
|
4800
|
+
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
5087
4801
|
}
|
|
5088
|
-
|
|
5089
|
-
|
|
4802
|
+
var headers = this.defaultHeaders;
|
|
4803
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4804
|
+
headers = headers.set('reqId', String(reqId));
|
|
4805
|
+
}
|
|
4806
|
+
if (token !== undefined && token !== null) {
|
|
4807
|
+
headers = headers.set('token', String(token));
|
|
4808
|
+
}
|
|
4809
|
+
// to determine the Accept header
|
|
4810
|
+
var httpHeaderAccepts = [
|
|
4811
|
+
'application/json'
|
|
4812
|
+
];
|
|
4813
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4814
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4815
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4816
|
+
}
|
|
4817
|
+
// to determine the Content-Type header
|
|
4818
|
+
var consumes = [];
|
|
4819
|
+
return this.httpClient.get(this.basePath + "/v2/api/notifications", {
|
|
4820
|
+
params: queryParameters,
|
|
4821
|
+
withCredentials: this.configuration.withCredentials,
|
|
4822
|
+
headers: headers,
|
|
4823
|
+
observe: observe,
|
|
4824
|
+
reportProgress: reportProgress
|
|
4825
|
+
});
|
|
4826
|
+
};
|
|
4827
|
+
NotificationsControllerService.prototype.markSeenUsingPOST = function (commaSeparatedIds, reqId, token, observe, reportProgress) {
|
|
4828
|
+
if (observe === void 0) { observe = 'body'; }
|
|
4829
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
4830
|
+
if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
|
|
4831
|
+
throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeenUsingPOST.');
|
|
4832
|
+
}
|
|
4833
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
4834
|
+
if (commaSeparatedIds !== undefined && commaSeparatedIds !== null) {
|
|
4835
|
+
queryParameters = queryParameters.set('commaSeparatedIds', commaSeparatedIds);
|
|
4836
|
+
}
|
|
4837
|
+
var headers = this.defaultHeaders;
|
|
4838
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4839
|
+
headers = headers.set('reqId', String(reqId));
|
|
4840
|
+
}
|
|
4841
|
+
if (token !== undefined && token !== null) {
|
|
4842
|
+
headers = headers.set('token', String(token));
|
|
4843
|
+
}
|
|
4844
|
+
// to determine the Accept header
|
|
4845
|
+
var httpHeaderAccepts = [
|
|
4846
|
+
'application/json'
|
|
4847
|
+
];
|
|
4848
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4849
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4850
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4851
|
+
}
|
|
4852
|
+
// to determine the Content-Type header
|
|
4853
|
+
var consumes = [
|
|
4854
|
+
'application/json'
|
|
4855
|
+
];
|
|
4856
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/seen/" + encodeURIComponent(String(commaSeparatedIds)), null, {
|
|
4857
|
+
params: queryParameters,
|
|
4858
|
+
withCredentials: this.configuration.withCredentials,
|
|
4859
|
+
headers: headers,
|
|
4860
|
+
observe: observe,
|
|
4861
|
+
reportProgress: reportProgress
|
|
4862
|
+
});
|
|
4863
|
+
};
|
|
4864
|
+
NotificationsControllerService.prototype.resolveNotificationUsingPOST = function (id, reqId, token, observe, reportProgress) {
|
|
4865
|
+
if (observe === void 0) { observe = 'body'; }
|
|
4866
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
4867
|
+
if (id === null || id === undefined) {
|
|
4868
|
+
throw new Error('Required parameter id was null or undefined when calling resolveNotificationUsingPOST.');
|
|
5090
4869
|
}
|
|
5091
4870
|
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5092
4871
|
if (id !== undefined && id !== null) {
|
|
@@ -5111,7 +4890,7 @@
|
|
|
5111
4890
|
var consumes = [
|
|
5112
4891
|
'application/json'
|
|
5113
4892
|
];
|
|
5114
|
-
return this.httpClient.post(this.basePath + "/v2/api/
|
|
4893
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/resolve/" + encodeURIComponent(String(id)), null, {
|
|
5115
4894
|
params: queryParameters,
|
|
5116
4895
|
withCredentials: this.configuration.withCredentials,
|
|
5117
4896
|
headers: headers,
|
|
@@ -5119,16 +4898,16 @@
|
|
|
5119
4898
|
reportProgress: reportProgress
|
|
5120
4899
|
});
|
|
5121
4900
|
};
|
|
5122
|
-
|
|
4901
|
+
NotificationsControllerService.ctorParameters = function () { return [
|
|
5123
4902
|
{ type: http.HttpClient },
|
|
5124
4903
|
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
5125
4904
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
5126
4905
|
]; };
|
|
5127
|
-
|
|
4906
|
+
NotificationsControllerService = __decorate([
|
|
5128
4907
|
core.Injectable(),
|
|
5129
4908
|
__param(1, core.Optional()), __param(1, core.Inject(BASE_PATH)), __param(2, core.Optional())
|
|
5130
|
-
],
|
|
5131
|
-
return
|
|
4909
|
+
], NotificationsControllerService);
|
|
4910
|
+
return NotificationsControllerService;
|
|
5132
4911
|
}());
|
|
5133
4912
|
|
|
5134
4913
|
/**
|
|
@@ -5145,7 +4924,7 @@
|
|
|
5145
4924
|
var PixelControllerService = /** @class */ (function () {
|
|
5146
4925
|
function PixelControllerService(httpClient, basePath, configuration) {
|
|
5147
4926
|
this.httpClient = httpClient;
|
|
5148
|
-
this.basePath = 'https://
|
|
4927
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5149
4928
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5150
4929
|
this.configuration = new Configuration();
|
|
5151
4930
|
if (basePath) {
|
|
@@ -5217,11 +4996,11 @@
|
|
|
5217
4996
|
reportProgress: reportProgress
|
|
5218
4997
|
});
|
|
5219
4998
|
};
|
|
5220
|
-
PixelControllerService.prototype.
|
|
4999
|
+
PixelControllerService.prototype.createUsingPOST = function (pixel, reqId, token, observe, reportProgress) {
|
|
5221
5000
|
if (observe === void 0) { observe = 'body'; }
|
|
5222
5001
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
5223
5002
|
if (pixel === null || pixel === undefined) {
|
|
5224
|
-
throw new Error('Required parameter pixel was null or undefined when calling
|
|
5003
|
+
throw new Error('Required parameter pixel was null or undefined when calling createUsingPOST.');
|
|
5225
5004
|
}
|
|
5226
5005
|
var headers = this.defaultHeaders;
|
|
5227
5006
|
if (reqId !== undefined && reqId !== null) {
|
|
@@ -5290,11 +5069,11 @@
|
|
|
5290
5069
|
reportProgress: reportProgress
|
|
5291
5070
|
});
|
|
5292
5071
|
};
|
|
5293
|
-
PixelControllerService.prototype.
|
|
5072
|
+
PixelControllerService.prototype.getByIdUsingGET4 = function (id, reqId, token, observe, reportProgress) {
|
|
5294
5073
|
if (observe === void 0) { observe = 'body'; }
|
|
5295
5074
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
5296
5075
|
if (id === null || id === undefined) {
|
|
5297
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
5076
|
+
throw new Error('Required parameter id was null or undefined when calling getByIdUsingGET4.');
|
|
5298
5077
|
}
|
|
5299
5078
|
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5300
5079
|
if (id !== undefined && id !== null) {
|
|
@@ -5413,14 +5192,14 @@
|
|
|
5413
5192
|
reportProgress: reportProgress
|
|
5414
5193
|
});
|
|
5415
5194
|
};
|
|
5416
|
-
PixelControllerService.prototype.
|
|
5195
|
+
PixelControllerService.prototype.updateUsingPOST = function (id, pixel, reqId, token, observe, reportProgress) {
|
|
5417
5196
|
if (observe === void 0) { observe = 'body'; }
|
|
5418
5197
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
5419
5198
|
if (id === null || id === undefined) {
|
|
5420
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
5199
|
+
throw new Error('Required parameter id was null or undefined when calling updateUsingPOST.');
|
|
5421
5200
|
}
|
|
5422
5201
|
if (pixel === null || pixel === undefined) {
|
|
5423
|
-
throw new Error('Required parameter pixel was null or undefined when calling
|
|
5202
|
+
throw new Error('Required parameter pixel was null or undefined when calling updateUsingPOST.');
|
|
5424
5203
|
}
|
|
5425
5204
|
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5426
5205
|
if (id !== undefined && id !== null) {
|
|
@@ -5483,7 +5262,7 @@
|
|
|
5483
5262
|
var ReportingControllerService = /** @class */ (function () {
|
|
5484
5263
|
function ReportingControllerService(httpClient, basePath, configuration) {
|
|
5485
5264
|
this.httpClient = httpClient;
|
|
5486
|
-
this.basePath = 'https://
|
|
5265
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5487
5266
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5488
5267
|
this.configuration = new Configuration();
|
|
5489
5268
|
if (basePath) {
|
|
@@ -5667,7 +5446,7 @@
|
|
|
5667
5446
|
var SliceXControllerService = /** @class */ (function () {
|
|
5668
5447
|
function SliceXControllerService(httpClient, basePath, configuration) {
|
|
5669
5448
|
this.httpClient = httpClient;
|
|
5670
|
-
this.basePath = 'https://
|
|
5449
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5671
5450
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5672
5451
|
this.configuration = new Configuration();
|
|
5673
5452
|
if (basePath) {
|
|
@@ -5852,7 +5631,7 @@
|
|
|
5852
5631
|
var StrategyControllerService = /** @class */ (function () {
|
|
5853
5632
|
function StrategyControllerService(httpClient, basePath, configuration) {
|
|
5854
5633
|
this.httpClient = httpClient;
|
|
5855
|
-
this.basePath = 'https://
|
|
5634
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5856
5635
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5857
5636
|
this.configuration = new Configuration();
|
|
5858
5637
|
if (basePath) {
|
|
@@ -6340,7 +6119,7 @@
|
|
|
6340
6119
|
var UILoggerControllerService = /** @class */ (function () {
|
|
6341
6120
|
function UILoggerControllerService(httpClient, basePath, configuration) {
|
|
6342
6121
|
this.httpClient = httpClient;
|
|
6343
|
-
this.basePath = 'https://
|
|
6122
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6344
6123
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6345
6124
|
this.configuration = new Configuration();
|
|
6346
6125
|
if (basePath) {
|
|
@@ -6442,7 +6221,7 @@
|
|
|
6442
6221
|
var UserPreferenceControllerService = /** @class */ (function () {
|
|
6443
6222
|
function UserPreferenceControllerService(httpClient, basePath, configuration) {
|
|
6444
6223
|
this.httpClient = httpClient;
|
|
6445
|
-
this.basePath = 'https://
|
|
6224
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6446
6225
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6447
6226
|
this.configuration = new Configuration();
|
|
6448
6227
|
if (basePath) {
|
|
@@ -6618,7 +6397,7 @@
|
|
|
6618
6397
|
return UserPreferenceControllerService;
|
|
6619
6398
|
}());
|
|
6620
6399
|
|
|
6621
|
-
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AppsFlyerAudienceControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService,
|
|
6400
|
+
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AppsFlyerAudienceControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
6622
6401
|
|
|
6623
6402
|
|
|
6624
6403
|
(function (ActivityLogsStrategyBulkUpdateDTO) {
|
|
@@ -6785,26 +6564,6 @@
|
|
|
6785
6564
|
})(exports.CreativeDTO || (exports.CreativeDTO = {}));
|
|
6786
6565
|
|
|
6787
6566
|
|
|
6788
|
-
(function (CreativeFileForSet) {
|
|
6789
|
-
CreativeFileForSet.TypeEnum = {
|
|
6790
|
-
Image: 'image',
|
|
6791
|
-
Html: 'html',
|
|
6792
|
-
ZippedHTML: 'zippedHTML',
|
|
6793
|
-
Video: 'video',
|
|
6794
|
-
NativeAd: 'nativeAd',
|
|
6795
|
-
NativeVideo: 'nativeVideo',
|
|
6796
|
-
FbxImage: 'fbxImage',
|
|
6797
|
-
Flash: 'flash',
|
|
6798
|
-
FbNewsFeed: 'fbNewsFeed',
|
|
6799
|
-
FbRightColumn: 'fbRightColumn',
|
|
6800
|
-
FbAppInstall: 'fbAppInstall',
|
|
6801
|
-
FbAppEngagement: 'fbAppEngagement',
|
|
6802
|
-
ClickTracker: 'clickTracker',
|
|
6803
|
-
FbxImageNewsFeed: 'fbxImageNewsFeed'
|
|
6804
|
-
};
|
|
6805
|
-
})(exports.CreativeFileForSet || (exports.CreativeFileForSet = {}));
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
6567
|
(function (CreativeFiles) {
|
|
6809
6568
|
CreativeFiles.TypeEnum = {
|
|
6810
6569
|
Image: 'image',
|
|
@@ -6836,8 +6595,8 @@
|
|
|
6836
6595
|
* Do not edit the class manually.
|
|
6837
6596
|
*/
|
|
6838
6597
|
|
|
6839
|
-
(function (
|
|
6840
|
-
|
|
6598
|
+
(function (CreativeHtmlFile) {
|
|
6599
|
+
CreativeHtmlFile.TypeEnum = {
|
|
6841
6600
|
Image: 'image',
|
|
6842
6601
|
Html: 'html',
|
|
6843
6602
|
ZippedHTML: 'zippedHTML',
|
|
@@ -6853,55 +6612,7 @@
|
|
|
6853
6612
|
ClickTracker: 'clickTracker',
|
|
6854
6613
|
FbxImageNewsFeed: 'fbxImageNewsFeed'
|
|
6855
6614
|
};
|
|
6856
|
-
})(exports.
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
(function (CreativeSetDetails) {
|
|
6860
|
-
CreativeSetDetails.TypeEnum = {
|
|
6861
|
-
IMAGE: 'IMAGE',
|
|
6862
|
-
VIDEO: 'VIDEO',
|
|
6863
|
-
THIRDPARTYADTAGS: 'THIRD_PARTY_AD_TAGS',
|
|
6864
|
-
ZIPPEDHTML: 'ZIPPED_HTML',
|
|
6865
|
-
NATIVEIMAGE: 'NATIVE_IMAGE',
|
|
6866
|
-
NATIVEVIDEO: 'NATIVE_VIDEO',
|
|
6867
|
-
DYNAMICIMAGE: 'DYNAMIC_IMAGE',
|
|
6868
|
-
DYNAMICMACRO: 'DYNAMIC_MACRO',
|
|
6869
|
-
DYNAMICHTML: 'DYNAMIC_HTML',
|
|
6870
|
-
DYNAMICVIDEO: 'DYNAMIC_VIDEO'
|
|
6871
|
-
};
|
|
6872
|
-
})(exports.CreativeSetDetails || (exports.CreativeSetDetails = {}));
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
(function (CreativeSetRequest) {
|
|
6876
|
-
CreativeSetRequest.CreativeSetTypeEnum = {
|
|
6877
|
-
IMAGE: 'IMAGE',
|
|
6878
|
-
VIDEO: 'VIDEO',
|
|
6879
|
-
THIRDPARTYADTAGS: 'THIRD_PARTY_AD_TAGS',
|
|
6880
|
-
ZIPPEDHTML: 'ZIPPED_HTML',
|
|
6881
|
-
NATIVEIMAGE: 'NATIVE_IMAGE',
|
|
6882
|
-
NATIVEVIDEO: 'NATIVE_VIDEO',
|
|
6883
|
-
DYNAMICIMAGE: 'DYNAMIC_IMAGE',
|
|
6884
|
-
DYNAMICMACRO: 'DYNAMIC_MACRO',
|
|
6885
|
-
DYNAMICHTML: 'DYNAMIC_HTML',
|
|
6886
|
-
DYNAMICVIDEO: 'DYNAMIC_VIDEO'
|
|
6887
|
-
};
|
|
6888
|
-
})(exports.CreativeSetRequest || (exports.CreativeSetRequest = {}));
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
(function (CreativeSetsListDashboardData) {
|
|
6892
|
-
CreativeSetsListDashboardData.CreativeSetTypeEnum = {
|
|
6893
|
-
IMAGE: 'IMAGE',
|
|
6894
|
-
VIDEO: 'VIDEO',
|
|
6895
|
-
THIRDPARTYADTAGS: 'THIRD_PARTY_AD_TAGS',
|
|
6896
|
-
ZIPPEDHTML: 'ZIPPED_HTML',
|
|
6897
|
-
NATIVEIMAGE: 'NATIVE_IMAGE',
|
|
6898
|
-
NATIVEVIDEO: 'NATIVE_VIDEO',
|
|
6899
|
-
DYNAMICIMAGE: 'DYNAMIC_IMAGE',
|
|
6900
|
-
DYNAMICMACRO: 'DYNAMIC_MACRO',
|
|
6901
|
-
DYNAMICHTML: 'DYNAMIC_HTML',
|
|
6902
|
-
DYNAMICVIDEO: 'DYNAMIC_VIDEO'
|
|
6903
|
-
};
|
|
6904
|
-
})(exports.CreativeSetsListDashboardData || (exports.CreativeSetsListDashboardData = {}));
|
|
6615
|
+
})(exports.CreativeHtmlFile || (exports.CreativeHtmlFile = {}));
|
|
6905
6616
|
|
|
6906
6617
|
/**
|
|
6907
6618
|
* Api Documentation
|
|
@@ -6988,6 +6699,25 @@
|
|
|
6988
6699
|
};
|
|
6989
6700
|
})(exports.MetaRuleDto || (exports.MetaRuleDto = {}));
|
|
6990
6701
|
|
|
6702
|
+
/**
|
|
6703
|
+
* Api Documentation
|
|
6704
|
+
* Api Documentation
|
|
6705
|
+
*
|
|
6706
|
+
* OpenAPI spec version: 1.0
|
|
6707
|
+
*
|
|
6708
|
+
*
|
|
6709
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6710
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
6711
|
+
* Do not edit the class manually.
|
|
6712
|
+
*/
|
|
6713
|
+
|
|
6714
|
+
(function (NotificationResponse) {
|
|
6715
|
+
NotificationResponse.TypeEnum = {
|
|
6716
|
+
STATIC: 'STATIC',
|
|
6717
|
+
ACTIONABLE: 'ACTIONABLE'
|
|
6718
|
+
};
|
|
6719
|
+
})(exports.NotificationResponse || (exports.NotificationResponse = {}));
|
|
6720
|
+
|
|
6991
6721
|
/**
|
|
6992
6722
|
* Api Documentation
|
|
6993
6723
|
* Api Documentation
|
|
@@ -7353,11 +7083,11 @@
|
|
|
7353
7083
|
CatalogControllerService,
|
|
7354
7084
|
ClickDestinationControllerService,
|
|
7355
7085
|
CreativeControllerService,
|
|
7356
|
-
CreativeSetsControllerService,
|
|
7357
7086
|
CreativeTemplateThemesControllerService,
|
|
7358
7087
|
CreativeTemplateVariablesControllerService,
|
|
7359
7088
|
CreativeTemplatesControllerService,
|
|
7360
7089
|
DashboardControllerService,
|
|
7090
|
+
NotificationsControllerService,
|
|
7361
7091
|
PixelControllerService,
|
|
7362
7092
|
ReportingControllerService,
|
|
7363
7093
|
SliceXControllerService,
|
|
@@ -7389,11 +7119,11 @@
|
|
|
7389
7119
|
exports.ClickDestinationControllerService = ClickDestinationControllerService;
|
|
7390
7120
|
exports.Configuration = Configuration;
|
|
7391
7121
|
exports.CreativeControllerService = CreativeControllerService;
|
|
7392
|
-
exports.CreativeSetsControllerService = CreativeSetsControllerService;
|
|
7393
7122
|
exports.CreativeTemplateThemesControllerService = CreativeTemplateThemesControllerService;
|
|
7394
7123
|
exports.CreativeTemplateVariablesControllerService = CreativeTemplateVariablesControllerService;
|
|
7395
7124
|
exports.CreativeTemplatesControllerService = CreativeTemplatesControllerService;
|
|
7396
7125
|
exports.DashboardControllerService = DashboardControllerService;
|
|
7126
|
+
exports.NotificationsControllerService = NotificationsControllerService;
|
|
7397
7127
|
exports.PixelControllerService = PixelControllerService;
|
|
7398
7128
|
exports.ReportingControllerService = ReportingControllerService;
|
|
7399
7129
|
exports.SliceXControllerService = SliceXControllerService;
|