@revxui/api-clients-ts 1.1.5 → 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/notificationsController.service.d.ts +0 -12
- package/api/strategyTemplateController.service.d.ts +68 -0
- package/bundles/revxui-api-clients-ts.umd.js +205 -57
- package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
- package/esm2015/api/adminController.service.js +2 -2
- package/esm2015/api/advertiserController.service.js +2 -2
- package/esm2015/api/api.js +4 -2
- package/esm2015/api/appSettingsController.service.js +2 -2
- package/esm2015/api/audienceController.service.js +2 -2
- package/esm2015/api/auditController.service.js +2 -2
- package/esm2015/api/bulkStrategyController.service.js +2 -2
- package/esm2015/api/cSSThemeController_.service.js +2 -2
- package/esm2015/api/campaignController.service.js +2 -2
- package/esm2015/api/catalogController.service.js +2 -2
- package/esm2015/api/clickDestinationController.service.js +2 -2
- package/esm2015/api/creativeController.service.js +2 -2
- package/esm2015/api/creativeSetsController.service.js +2 -2
- package/esm2015/api/creativeTemplateThemesController.service.js +2 -2
- package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
- package/esm2015/api/creativeTemplatesController.service.js +2 -2
- package/esm2015/api/customerReportingController.service.js +2 -2
- package/esm2015/api/dashboardController.service.js +2 -2
- package/esm2015/api/notificationsController.service.js +2 -32
- 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/models.js +3 -1
- package/esm2015/model/strategyDTO.js +1 -1
- package/esm2015/model/strategyTemplateDTO.js +21 -0
- package/fesm2015/revxui-api-clients-ts.js +198 -56
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/apiListResponseStrategyTemplateDTO.d.ts +16 -0
- package/model/models.d.ts +2 -0
- package/model/strategyDTO.d.ts +1 -0
- package/model/strategyTemplateDTO.d.ts +29 -0
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @revxui/api-clients-ts@1.1.
|
|
1
|
+
## @revxui/api-clients-ts@1.1.6
|
|
2
2
|
|
|
3
3
|
### Building
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
19
19
|
_published:_
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
npm install @revxui/api-clients-ts@1.1.
|
|
22
|
+
npm install @revxui/api-clients-ts@1.1.6 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -42,8 +42,10 @@ export * from './sliceXController.service';
|
|
|
42
42
|
import { SliceXControllerService } from './sliceXController.service';
|
|
43
43
|
export * from './strategyController.service';
|
|
44
44
|
import { StrategyControllerService } from './strategyController.service';
|
|
45
|
+
export * from './strategyTemplateController.service';
|
|
46
|
+
import { StrategyTemplateControllerService } from './strategyTemplateController.service';
|
|
45
47
|
export * from './uILoggerController.service';
|
|
46
48
|
import { UILoggerControllerService } from './uILoggerController.service';
|
|
47
49
|
export * from './userPreferenceController.service';
|
|
48
50
|
import { UserPreferenceControllerService } from './userPreferenceController.service';
|
|
49
|
-
export declare const APIS: (typeof AdminControllerService | typeof AdvertiserControllerService | typeof AppSettingsControllerService | typeof AudienceControllerService | typeof AuditControllerService | typeof BulkStrategyControllerService | typeof CSSThemeController_Service | typeof CampaignControllerService | typeof CatalogControllerService | typeof ClickDestinationControllerService | typeof CreativeControllerService | typeof CreativeSetsControllerService | typeof CreativeTemplateThemesControllerService | typeof CreativeTemplateVariablesControllerService | typeof CreativeTemplatesControllerService | typeof CustomerReportingControllerService | typeof DashboardControllerService | typeof NotificationsControllerService | typeof PixelControllerService | typeof ReportingControllerService | typeof SliceXControllerService | typeof StrategyControllerService | typeof UILoggerControllerService | typeof UserPreferenceControllerService)[];
|
|
51
|
+
export declare const APIS: (typeof AdminControllerService | typeof AdvertiserControllerService | typeof AppSettingsControllerService | typeof AudienceControllerService | typeof AuditControllerService | typeof BulkStrategyControllerService | typeof CSSThemeController_Service | typeof CampaignControllerService | typeof CatalogControllerService | typeof ClickDestinationControllerService | typeof CreativeControllerService | typeof CreativeSetsControllerService | typeof CreativeTemplateThemesControllerService | typeof CreativeTemplateVariablesControllerService | typeof CreativeTemplatesControllerService | typeof CustomerReportingControllerService | typeof DashboardControllerService | typeof NotificationsControllerService | typeof PixelControllerService | typeof ReportingControllerService | typeof SliceXControllerService | typeof StrategyControllerService | typeof StrategyTemplateControllerService | typeof UILoggerControllerService | typeof UserPreferenceControllerService)[];
|
|
@@ -62,18 +62,6 @@ export declare class NotificationsControllerService {
|
|
|
62
62
|
markSeenUsingPOST(commaSeparatedIds: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
|
|
63
63
|
markSeenUsingPOST(commaSeparatedIds: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
|
|
64
64
|
markSeenUsingPOST(commaSeparatedIds: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
|
|
65
|
-
/**
|
|
66
|
-
* API to make notifications as read : STATIC - mark as seen, ACTIONABLE - mark as resolved
|
|
67
|
-
*
|
|
68
|
-
* @param duration duration
|
|
69
|
-
* @param reqId request id
|
|
70
|
-
* @param token Auth Token
|
|
71
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
72
|
-
* @param reportProgress flag to report request and response progress.
|
|
73
|
-
*/
|
|
74
|
-
readNotificationUsingPOST(duration: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
|
|
75
|
-
readNotificationUsingPOST(duration: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
|
|
76
|
-
readNotificationUsingPOST(duration: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
|
|
77
65
|
/**
|
|
78
66
|
* Api to resolve a notification
|
|
79
67
|
*
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
13
|
+
import { Observable } from 'rxjs';
|
|
14
|
+
import { ApiListResponseStrategyTemplateDTO } from '../model/apiListResponseStrategyTemplateDTO';
|
|
15
|
+
import { ApiResponseObjectMapintResponseMessage } from '../model/apiResponseObjectMapintResponseMessage';
|
|
16
|
+
import { ApiResponseObjectStrategyDTO } from '../model/apiResponseObjectStrategyDTO';
|
|
17
|
+
import { StrategyTemplateDTO } from '../model/strategyTemplateDTO';
|
|
18
|
+
import { Configuration } from '../configuration';
|
|
19
|
+
export declare class StrategyTemplateControllerService {
|
|
20
|
+
protected httpClient: HttpClient;
|
|
21
|
+
protected basePath: string;
|
|
22
|
+
defaultHeaders: HttpHeaders;
|
|
23
|
+
configuration: Configuration;
|
|
24
|
+
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
|
|
25
|
+
/**
|
|
26
|
+
* @param consumes string[] mime-types
|
|
27
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
28
|
+
*/
|
|
29
|
+
private canConsumeForm;
|
|
30
|
+
/**
|
|
31
|
+
* Api to create strategy template
|
|
32
|
+
*
|
|
33
|
+
* @param strategyTemplateDTO strategyTemplateDTO
|
|
34
|
+
* @param reqId request id
|
|
35
|
+
* @param strategyId strategyId
|
|
36
|
+
* @param token Auth Token
|
|
37
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
38
|
+
* @param reportProgress flag to report request and response progress.
|
|
39
|
+
*/
|
|
40
|
+
createStrategyTemplateUsingPOST(strategyTemplateDTO: StrategyTemplateDTO, reqId?: string, strategyId?: number, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMapintResponseMessage>;
|
|
41
|
+
createStrategyTemplateUsingPOST(strategyTemplateDTO: StrategyTemplateDTO, reqId?: string, strategyId?: number, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMapintResponseMessage>>;
|
|
42
|
+
createStrategyTemplateUsingPOST(strategyTemplateDTO: StrategyTemplateDTO, reqId?: string, strategyId?: number, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMapintResponseMessage>>;
|
|
43
|
+
/**
|
|
44
|
+
* Api to get all Strategy templates
|
|
45
|
+
*
|
|
46
|
+
* @param refresh refresh
|
|
47
|
+
* @param reqId request id
|
|
48
|
+
* @param token Auth Token
|
|
49
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
50
|
+
* @param reportProgress flag to report request and response progress.
|
|
51
|
+
*/
|
|
52
|
+
getAllStrategyTemplatesUsingGET(refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiListResponseStrategyTemplateDTO>;
|
|
53
|
+
getAllStrategyTemplatesUsingGET(refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiListResponseStrategyTemplateDTO>>;
|
|
54
|
+
getAllStrategyTemplatesUsingGET(refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiListResponseStrategyTemplateDTO>>;
|
|
55
|
+
/**
|
|
56
|
+
* Api to fetch specific strategy template
|
|
57
|
+
*
|
|
58
|
+
* @param id id
|
|
59
|
+
* @param refresh refresh
|
|
60
|
+
* @param reqId request id
|
|
61
|
+
* @param token Auth Token
|
|
62
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
63
|
+
* @param reportProgress flag to report request and response progress.
|
|
64
|
+
*/
|
|
65
|
+
getStrategyTemplateUsingGET(id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyDTO>;
|
|
66
|
+
getStrategyTemplateUsingGET(id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyDTO>>;
|
|
67
|
+
getStrategyTemplateUsingGET(id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyDTO>>;
|
|
68
|
+
}
|
|
@@ -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) {
|
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
var AuditControllerService = /** @class */ (function () {
|
|
2121
2121
|
function AuditControllerService(httpClient, basePath, configuration) {
|
|
2122
2122
|
this.httpClient = httpClient;
|
|
2123
|
-
this.basePath = 'https://
|
|
2123
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2124
2124
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2125
2125
|
this.configuration = new Configuration();
|
|
2126
2126
|
if (basePath) {
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
var BulkStrategyControllerService = /** @class */ (function () {
|
|
2308
2308
|
function BulkStrategyControllerService(httpClient, basePath, configuration) {
|
|
2309
2309
|
this.httpClient = httpClient;
|
|
2310
|
-
this.basePath = 'https://
|
|
2310
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2311
2311
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2312
2312
|
this.configuration = new Configuration();
|
|
2313
2313
|
if (basePath) {
|
|
@@ -2538,7 +2538,7 @@
|
|
|
2538
2538
|
var CSSThemeController_Service = /** @class */ (function () {
|
|
2539
2539
|
function CSSThemeController_Service(httpClient, basePath, configuration) {
|
|
2540
2540
|
this.httpClient = httpClient;
|
|
2541
|
-
this.basePath = 'https://
|
|
2541
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2542
2542
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2543
2543
|
this.configuration = new Configuration();
|
|
2544
2544
|
if (basePath) {
|
|
@@ -2647,7 +2647,7 @@
|
|
|
2647
2647
|
var CampaignControllerService = /** @class */ (function () {
|
|
2648
2648
|
function CampaignControllerService(httpClient, basePath, configuration) {
|
|
2649
2649
|
this.httpClient = httpClient;
|
|
2650
|
-
this.basePath = 'https://
|
|
2650
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2651
2651
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2652
2652
|
this.configuration = new Configuration();
|
|
2653
2653
|
if (basePath) {
|
|
@@ -2957,7 +2957,7 @@
|
|
|
2957
2957
|
var CatalogControllerService = /** @class */ (function () {
|
|
2958
2958
|
function CatalogControllerService(httpClient, basePath, configuration) {
|
|
2959
2959
|
this.httpClient = httpClient;
|
|
2960
|
-
this.basePath = 'https://
|
|
2960
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
2961
2961
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2962
2962
|
this.configuration = new Configuration();
|
|
2963
2963
|
if (basePath) {
|
|
@@ -3203,7 +3203,7 @@
|
|
|
3203
3203
|
var ClickDestinationControllerService = /** @class */ (function () {
|
|
3204
3204
|
function ClickDestinationControllerService(httpClient, basePath, configuration) {
|
|
3205
3205
|
this.httpClient = httpClient;
|
|
3206
|
-
this.basePath = 'https://
|
|
3206
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3207
3207
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3208
3208
|
this.configuration = new Configuration();
|
|
3209
3209
|
if (basePath) {
|
|
@@ -3441,7 +3441,7 @@
|
|
|
3441
3441
|
var CreativeControllerService = /** @class */ (function () {
|
|
3442
3442
|
function CreativeControllerService(httpClient, basePath, configuration) {
|
|
3443
3443
|
this.httpClient = httpClient;
|
|
3444
|
-
this.basePath = 'https://
|
|
3444
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3445
3445
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3446
3446
|
this.configuration = new Configuration();
|
|
3447
3447
|
if (basePath) {
|
|
@@ -3942,7 +3942,7 @@
|
|
|
3942
3942
|
var CreativeSetsControllerService = /** @class */ (function () {
|
|
3943
3943
|
function CreativeSetsControllerService(httpClient, basePath, configuration) {
|
|
3944
3944
|
this.httpClient = httpClient;
|
|
3945
|
-
this.basePath = 'https://
|
|
3945
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
3946
3946
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3947
3947
|
this.configuration = new Configuration();
|
|
3948
3948
|
if (basePath) {
|
|
@@ -4461,7 +4461,7 @@
|
|
|
4461
4461
|
var CreativeTemplateThemesControllerService = /** @class */ (function () {
|
|
4462
4462
|
function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
|
|
4463
4463
|
this.httpClient = httpClient;
|
|
4464
|
-
this.basePath = 'https://
|
|
4464
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4465
4465
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4466
4466
|
this.configuration = new Configuration();
|
|
4467
4467
|
if (basePath) {
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
var CreativeTemplateVariablesControllerService = /** @class */ (function () {
|
|
4651
4651
|
function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
|
|
4652
4652
|
this.httpClient = httpClient;
|
|
4653
|
-
this.basePath = 'https://
|
|
4653
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4654
4654
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4655
4655
|
this.configuration = new Configuration();
|
|
4656
4656
|
if (basePath) {
|
|
@@ -4726,7 +4726,7 @@
|
|
|
4726
4726
|
var CreativeTemplatesControllerService = /** @class */ (function () {
|
|
4727
4727
|
function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
|
|
4728
4728
|
this.httpClient = httpClient;
|
|
4729
|
-
this.basePath = 'https://
|
|
4729
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4730
4730
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4731
4731
|
this.configuration = new Configuration();
|
|
4732
4732
|
if (basePath) {
|
|
@@ -4893,7 +4893,7 @@
|
|
|
4893
4893
|
var CustomerReportingControllerService = /** @class */ (function () {
|
|
4894
4894
|
function CustomerReportingControllerService(httpClient, basePath, configuration) {
|
|
4895
4895
|
this.httpClient = httpClient;
|
|
4896
|
-
this.basePath = 'https://
|
|
4896
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4897
4897
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4898
4898
|
this.configuration = new Configuration();
|
|
4899
4899
|
if (basePath) {
|
|
@@ -4978,7 +4978,7 @@
|
|
|
4978
4978
|
var DashboardControllerService = /** @class */ (function () {
|
|
4979
4979
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4980
4980
|
this.httpClient = httpClient;
|
|
4981
|
-
this.basePath = 'https://
|
|
4981
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
4982
4982
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4983
4983
|
this.configuration = new Configuration();
|
|
4984
4984
|
if (basePath) {
|
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
var NotificationsControllerService = /** @class */ (function () {
|
|
5624
5624
|
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
5625
5625
|
this.httpClient = httpClient;
|
|
5626
|
-
this.basePath = 'https://
|
|
5626
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5627
5627
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5628
5628
|
this.configuration = new Configuration();
|
|
5629
5629
|
if (basePath) {
|
|
@@ -5759,38 +5759,6 @@
|
|
|
5759
5759
|
reportProgress: reportProgress
|
|
5760
5760
|
});
|
|
5761
5761
|
};
|
|
5762
|
-
NotificationsControllerService.prototype.readNotificationUsingPOST = function (duration, reqId, token, observe, reportProgress) {
|
|
5763
|
-
if (observe === void 0) { observe = 'body'; }
|
|
5764
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
5765
|
-
if (duration === null || duration === undefined) {
|
|
5766
|
-
throw new Error('Required parameter duration was null or undefined when calling readNotificationUsingPOST.');
|
|
5767
|
-
}
|
|
5768
|
-
var headers = this.defaultHeaders;
|
|
5769
|
-
if (reqId !== undefined && reqId !== null) {
|
|
5770
|
-
headers = headers.set('reqId', String(reqId));
|
|
5771
|
-
}
|
|
5772
|
-
if (token !== undefined && token !== null) {
|
|
5773
|
-
headers = headers.set('token', String(token));
|
|
5774
|
-
}
|
|
5775
|
-
// to determine the Accept header
|
|
5776
|
-
var httpHeaderAccepts = [
|
|
5777
|
-
'application/json'
|
|
5778
|
-
];
|
|
5779
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5780
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
5781
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5782
|
-
}
|
|
5783
|
-
// to determine the Content-Type header
|
|
5784
|
-
var consumes = [
|
|
5785
|
-
'application/json'
|
|
5786
|
-
];
|
|
5787
|
-
return this.httpClient.post(this.basePath + "/v2/api/notifications/markAllRead/" + encodeURIComponent(String(duration)), null, {
|
|
5788
|
-
withCredentials: this.configuration.withCredentials,
|
|
5789
|
-
headers: headers,
|
|
5790
|
-
observe: observe,
|
|
5791
|
-
reportProgress: reportProgress
|
|
5792
|
-
});
|
|
5793
|
-
};
|
|
5794
5762
|
NotificationsControllerService.prototype.resolveNotificationUsingPOST = function (id, reqId, token, observe, reportProgress) {
|
|
5795
5763
|
if (observe === void 0) { observe = 'body'; }
|
|
5796
5764
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -5842,7 +5810,7 @@
|
|
|
5842
5810
|
var PixelControllerService = /** @class */ (function () {
|
|
5843
5811
|
function PixelControllerService(httpClient, basePath, configuration) {
|
|
5844
5812
|
this.httpClient = httpClient;
|
|
5845
|
-
this.basePath = 'https://
|
|
5813
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
5846
5814
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5847
5815
|
this.configuration = new Configuration();
|
|
5848
5816
|
if (basePath) {
|
|
@@ -6159,7 +6127,7 @@
|
|
|
6159
6127
|
var ReportingControllerService = /** @class */ (function () {
|
|
6160
6128
|
function ReportingControllerService(httpClient, basePath, configuration) {
|
|
6161
6129
|
this.httpClient = httpClient;
|
|
6162
|
-
this.basePath = 'https://
|
|
6130
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6163
6131
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6164
6132
|
this.configuration = new Configuration();
|
|
6165
6133
|
if (basePath) {
|
|
@@ -6331,7 +6299,7 @@
|
|
|
6331
6299
|
var SliceXControllerService = /** @class */ (function () {
|
|
6332
6300
|
function SliceXControllerService(httpClient, basePath, configuration) {
|
|
6333
6301
|
this.httpClient = httpClient;
|
|
6334
|
-
this.basePath = 'https://
|
|
6302
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6335
6303
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6336
6304
|
this.configuration = new Configuration();
|
|
6337
6305
|
if (basePath) {
|
|
@@ -6587,7 +6555,7 @@
|
|
|
6587
6555
|
var StrategyControllerService = /** @class */ (function () {
|
|
6588
6556
|
function StrategyControllerService(httpClient, basePath, configuration) {
|
|
6589
6557
|
this.httpClient = httpClient;
|
|
6590
|
-
this.basePath = 'https://
|
|
6558
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
6591
6559
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6592
6560
|
this.configuration = new Configuration();
|
|
6593
6561
|
if (basePath) {
|
|
@@ -7311,10 +7279,167 @@
|
|
|
7311
7279
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7312
7280
|
]; };
|
|
7313
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
|
+
|
|
7314
7439
|
var UILoggerControllerService = /** @class */ (function () {
|
|
7315
7440
|
function UILoggerControllerService(httpClient, basePath, configuration) {
|
|
7316
7441
|
this.httpClient = httpClient;
|
|
7317
|
-
this.basePath = 'https://
|
|
7442
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
7318
7443
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7319
7444
|
this.configuration = new Configuration();
|
|
7320
7445
|
if (basePath) {
|
|
@@ -7404,7 +7529,7 @@
|
|
|
7404
7529
|
var UserPreferenceControllerService = /** @class */ (function () {
|
|
7405
7530
|
function UserPreferenceControllerService(httpClient, basePath, configuration) {
|
|
7406
7531
|
this.httpClient = httpClient;
|
|
7407
|
-
this.basePath = 'https://
|
|
7532
|
+
this.basePath = 'https://apiv2stage1.atomex.net';
|
|
7408
7533
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7409
7534
|
this.configuration = new Configuration();
|
|
7410
7535
|
if (basePath) {
|
|
@@ -7579,7 +7704,7 @@
|
|
|
7579
7704
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7580
7705
|
]; };
|
|
7581
7706
|
|
|
7582
|
-
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];
|
|
7583
7708
|
|
|
7584
7709
|
exports.ActivityLogsCreativeSetsBulkUpdateDTO = void 0;
|
|
7585
7710
|
(function (ActivityLogsCreativeSetsBulkUpdateDTO) {
|
|
@@ -8438,6 +8563,27 @@
|
|
|
8438
8563
|
};
|
|
8439
8564
|
})(exports.StrategyQuickEditDTO || (exports.StrategyQuickEditDTO = {}));
|
|
8440
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
|
+
|
|
8441
8587
|
/**
|
|
8442
8588
|
* Api Documentation
|
|
8443
8589
|
* Api Documentation
|
|
@@ -8604,6 +8750,7 @@
|
|
|
8604
8750
|
ReportingControllerService,
|
|
8605
8751
|
SliceXControllerService,
|
|
8606
8752
|
StrategyControllerService,
|
|
8753
|
+
StrategyTemplateControllerService,
|
|
8607
8754
|
UILoggerControllerService,
|
|
8608
8755
|
UserPreferenceControllerService
|
|
8609
8756
|
]
|
|
@@ -8645,6 +8792,7 @@
|
|
|
8645
8792
|
exports.ReportingControllerService = ReportingControllerService;
|
|
8646
8793
|
exports.SliceXControllerService = SliceXControllerService;
|
|
8647
8794
|
exports.StrategyControllerService = StrategyControllerService;
|
|
8795
|
+
exports.StrategyTemplateControllerService = StrategyTemplateControllerService;
|
|
8648
8796
|
exports.UILoggerControllerService = UILoggerControllerService;
|
|
8649
8797
|
exports.UserPreferenceControllerService = UserPreferenceControllerService;
|
|
8650
8798
|
|