@revxui/api-clients-ts 1.1.7 → 1.1.9
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/notificationsController.service.d.ts +12 -0
- package/bundles/revxui-api-clients-ts.umd.js +67 -25
- 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/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 +32 -2
- package/esm2015/api/pixelController.service.js +2 -2
- package/esm2015/api/reportingController.service.js +2 -2
- package/esm2015/api/sliceXController.service.js +2 -2
- package/esm2015/api/strategyController.service.js +2 -2
- package/esm2015/api/strategyTemplateController.service.js +2 -2
- package/esm2015/api/uILoggerController.service.js +2 -2
- package/esm2015/api/userPreferenceController.service.js +2 -2
- package/esm2015/model/campaignESDTO.js +1 -1
- package/esm2015/model/strategyTemplateResponse.js +1 -1
- package/esm2015/model/whitelabelingEntity.js +10 -2
- package/fesm2015/revxui-api-clients-ts.js +66 -26
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/campaignESDTO.d.ts +1 -0
- package/model/strategyTemplateResponse.d.ts +1 -1
- package/model/whitelabelingEntity.d.ts +12 -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.9
|
|
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.9 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -62,6 +62,18 @@ 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>>;
|
|
65
77
|
/**
|
|
66
78
|
* Api to resolve a notification
|
|
67
79
|
*
|
|
@@ -370,7 +370,7 @@
|
|
|
370
370
|
var AdminControllerService = /** @class */ (function () {
|
|
371
371
|
function AdminControllerService(httpClient, basePath, configuration) {
|
|
372
372
|
this.httpClient = httpClient;
|
|
373
|
-
this.basePath = 'https://
|
|
373
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
374
374
|
this.defaultHeaders = new http.HttpHeaders();
|
|
375
375
|
this.configuration = new Configuration();
|
|
376
376
|
if (basePath) {
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
var AdvertiserControllerService = /** @class */ (function () {
|
|
576
576
|
function AdvertiserControllerService(httpClient, basePath, configuration) {
|
|
577
577
|
this.httpClient = httpClient;
|
|
578
|
-
this.basePath = 'https://
|
|
578
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
579
579
|
this.defaultHeaders = new http.HttpHeaders();
|
|
580
580
|
this.configuration = new Configuration();
|
|
581
581
|
if (basePath) {
|
|
@@ -1009,7 +1009,7 @@
|
|
|
1009
1009
|
var AppSettingsControllerService = /** @class */ (function () {
|
|
1010
1010
|
function AppSettingsControllerService(httpClient, basePath, configuration) {
|
|
1011
1011
|
this.httpClient = httpClient;
|
|
1012
|
-
this.basePath = 'https://
|
|
1012
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1013
1013
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1014
1014
|
this.configuration = new Configuration();
|
|
1015
1015
|
if (basePath) {
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
var AudienceControllerService = /** @class */ (function () {
|
|
1263
1263
|
function AudienceControllerService(httpClient, basePath, configuration) {
|
|
1264
1264
|
this.httpClient = httpClient;
|
|
1265
|
-
this.basePath = 'https://
|
|
1265
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1266
1266
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1267
1267
|
this.configuration = new Configuration();
|
|
1268
1268
|
if (basePath) {
|
|
@@ -2120,7 +2120,7 @@
|
|
|
2120
2120
|
var AuditControllerService = /** @class */ (function () {
|
|
2121
2121
|
function AuditControllerService(httpClient, basePath, configuration) {
|
|
2122
2122
|
this.httpClient = httpClient;
|
|
2123
|
-
this.basePath = 'https://
|
|
2123
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2124
2124
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2125
2125
|
this.configuration = new Configuration();
|
|
2126
2126
|
if (basePath) {
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
var BulkStrategyControllerService = /** @class */ (function () {
|
|
2308
2308
|
function BulkStrategyControllerService(httpClient, basePath, configuration) {
|
|
2309
2309
|
this.httpClient = httpClient;
|
|
2310
|
-
this.basePath = 'https://
|
|
2310
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2311
2311
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2312
2312
|
this.configuration = new Configuration();
|
|
2313
2313
|
if (basePath) {
|
|
@@ -2538,7 +2538,7 @@
|
|
|
2538
2538
|
var CSSThemeController_Service = /** @class */ (function () {
|
|
2539
2539
|
function CSSThemeController_Service(httpClient, basePath, configuration) {
|
|
2540
2540
|
this.httpClient = httpClient;
|
|
2541
|
-
this.basePath = 'https://
|
|
2541
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2542
2542
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2543
2543
|
this.configuration = new Configuration();
|
|
2544
2544
|
if (basePath) {
|
|
@@ -2647,7 +2647,7 @@
|
|
|
2647
2647
|
var CampaignControllerService = /** @class */ (function () {
|
|
2648
2648
|
function CampaignControllerService(httpClient, basePath, configuration) {
|
|
2649
2649
|
this.httpClient = httpClient;
|
|
2650
|
-
this.basePath = 'https://
|
|
2650
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2651
2651
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2652
2652
|
this.configuration = new Configuration();
|
|
2653
2653
|
if (basePath) {
|
|
@@ -2957,7 +2957,7 @@
|
|
|
2957
2957
|
var CatalogControllerService = /** @class */ (function () {
|
|
2958
2958
|
function CatalogControllerService(httpClient, basePath, configuration) {
|
|
2959
2959
|
this.httpClient = httpClient;
|
|
2960
|
-
this.basePath = 'https://
|
|
2960
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2961
2961
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2962
2962
|
this.configuration = new Configuration();
|
|
2963
2963
|
if (basePath) {
|
|
@@ -3203,7 +3203,7 @@
|
|
|
3203
3203
|
var ClickDestinationControllerService = /** @class */ (function () {
|
|
3204
3204
|
function ClickDestinationControllerService(httpClient, basePath, configuration) {
|
|
3205
3205
|
this.httpClient = httpClient;
|
|
3206
|
-
this.basePath = 'https://
|
|
3206
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3207
3207
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3208
3208
|
this.configuration = new Configuration();
|
|
3209
3209
|
if (basePath) {
|
|
@@ -3441,7 +3441,7 @@
|
|
|
3441
3441
|
var CreativeControllerService = /** @class */ (function () {
|
|
3442
3442
|
function CreativeControllerService(httpClient, basePath, configuration) {
|
|
3443
3443
|
this.httpClient = httpClient;
|
|
3444
|
-
this.basePath = 'https://
|
|
3444
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3445
3445
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3446
3446
|
this.configuration = new Configuration();
|
|
3447
3447
|
if (basePath) {
|
|
@@ -3942,7 +3942,7 @@
|
|
|
3942
3942
|
var CreativeSetsControllerService = /** @class */ (function () {
|
|
3943
3943
|
function CreativeSetsControllerService(httpClient, basePath, configuration) {
|
|
3944
3944
|
this.httpClient = httpClient;
|
|
3945
|
-
this.basePath = 'https://
|
|
3945
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3946
3946
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3947
3947
|
this.configuration = new Configuration();
|
|
3948
3948
|
if (basePath) {
|
|
@@ -4461,7 +4461,7 @@
|
|
|
4461
4461
|
var CreativeTemplateThemesControllerService = /** @class */ (function () {
|
|
4462
4462
|
function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
|
|
4463
4463
|
this.httpClient = httpClient;
|
|
4464
|
-
this.basePath = 'https://
|
|
4464
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4465
4465
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4466
4466
|
this.configuration = new Configuration();
|
|
4467
4467
|
if (basePath) {
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
var CreativeTemplateVariablesControllerService = /** @class */ (function () {
|
|
4651
4651
|
function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
|
|
4652
4652
|
this.httpClient = httpClient;
|
|
4653
|
-
this.basePath = 'https://
|
|
4653
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4654
4654
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4655
4655
|
this.configuration = new Configuration();
|
|
4656
4656
|
if (basePath) {
|
|
@@ -4726,7 +4726,7 @@
|
|
|
4726
4726
|
var CreativeTemplatesControllerService = /** @class */ (function () {
|
|
4727
4727
|
function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
|
|
4728
4728
|
this.httpClient = httpClient;
|
|
4729
|
-
this.basePath = 'https://
|
|
4729
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4730
4730
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4731
4731
|
this.configuration = new Configuration();
|
|
4732
4732
|
if (basePath) {
|
|
@@ -4893,7 +4893,7 @@
|
|
|
4893
4893
|
var CustomerReportingControllerService = /** @class */ (function () {
|
|
4894
4894
|
function CustomerReportingControllerService(httpClient, basePath, configuration) {
|
|
4895
4895
|
this.httpClient = httpClient;
|
|
4896
|
-
this.basePath = 'https://
|
|
4896
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4897
4897
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4898
4898
|
this.configuration = new Configuration();
|
|
4899
4899
|
if (basePath) {
|
|
@@ -4978,7 +4978,7 @@
|
|
|
4978
4978
|
var DashboardControllerService = /** @class */ (function () {
|
|
4979
4979
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4980
4980
|
this.httpClient = httpClient;
|
|
4981
|
-
this.basePath = 'https://
|
|
4981
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4982
4982
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4983
4983
|
this.configuration = new Configuration();
|
|
4984
4984
|
if (basePath) {
|
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
var NotificationsControllerService = /** @class */ (function () {
|
|
5624
5624
|
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
5625
5625
|
this.httpClient = httpClient;
|
|
5626
|
-
this.basePath = 'https://
|
|
5626
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5627
5627
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5628
5628
|
this.configuration = new Configuration();
|
|
5629
5629
|
if (basePath) {
|
|
@@ -5759,6 +5759,38 @@
|
|
|
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
|
+
};
|
|
5762
5794
|
NotificationsControllerService.prototype.resolveNotificationUsingPOST = function (id, reqId, token, observe, reportProgress) {
|
|
5763
5795
|
if (observe === void 0) { observe = 'body'; }
|
|
5764
5796
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -5810,7 +5842,7 @@
|
|
|
5810
5842
|
var PixelControllerService = /** @class */ (function () {
|
|
5811
5843
|
function PixelControllerService(httpClient, basePath, configuration) {
|
|
5812
5844
|
this.httpClient = httpClient;
|
|
5813
|
-
this.basePath = 'https://
|
|
5845
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5814
5846
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5815
5847
|
this.configuration = new Configuration();
|
|
5816
5848
|
if (basePath) {
|
|
@@ -6127,7 +6159,7 @@
|
|
|
6127
6159
|
var ReportingControllerService = /** @class */ (function () {
|
|
6128
6160
|
function ReportingControllerService(httpClient, basePath, configuration) {
|
|
6129
6161
|
this.httpClient = httpClient;
|
|
6130
|
-
this.basePath = 'https://
|
|
6162
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6131
6163
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6132
6164
|
this.configuration = new Configuration();
|
|
6133
6165
|
if (basePath) {
|
|
@@ -6299,7 +6331,7 @@
|
|
|
6299
6331
|
var SliceXControllerService = /** @class */ (function () {
|
|
6300
6332
|
function SliceXControllerService(httpClient, basePath, configuration) {
|
|
6301
6333
|
this.httpClient = httpClient;
|
|
6302
|
-
this.basePath = 'https://
|
|
6334
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6303
6335
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6304
6336
|
this.configuration = new Configuration();
|
|
6305
6337
|
if (basePath) {
|
|
@@ -6555,7 +6587,7 @@
|
|
|
6555
6587
|
var StrategyControllerService = /** @class */ (function () {
|
|
6556
6588
|
function StrategyControllerService(httpClient, basePath, configuration) {
|
|
6557
6589
|
this.httpClient = httpClient;
|
|
6558
|
-
this.basePath = 'https://
|
|
6590
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6559
6591
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6560
6592
|
this.configuration = new Configuration();
|
|
6561
6593
|
if (basePath) {
|
|
@@ -7282,7 +7314,7 @@
|
|
|
7282
7314
|
var StrategyTemplateControllerService = /** @class */ (function () {
|
|
7283
7315
|
function StrategyTemplateControllerService(httpClient, basePath, configuration) {
|
|
7284
7316
|
this.httpClient = httpClient;
|
|
7285
|
-
this.basePath = 'https://
|
|
7317
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
7286
7318
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7287
7319
|
this.configuration = new Configuration();
|
|
7288
7320
|
if (basePath) {
|
|
@@ -7439,7 +7471,7 @@
|
|
|
7439
7471
|
var UILoggerControllerService = /** @class */ (function () {
|
|
7440
7472
|
function UILoggerControllerService(httpClient, basePath, configuration) {
|
|
7441
7473
|
this.httpClient = httpClient;
|
|
7442
|
-
this.basePath = 'https://
|
|
7474
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
7443
7475
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7444
7476
|
this.configuration = new Configuration();
|
|
7445
7477
|
if (basePath) {
|
|
@@ -7529,7 +7561,7 @@
|
|
|
7529
7561
|
var UserPreferenceControllerService = /** @class */ (function () {
|
|
7530
7562
|
function UserPreferenceControllerService(httpClient, basePath, configuration) {
|
|
7531
7563
|
this.httpClient = httpClient;
|
|
7532
|
-
this.basePath = 'https://
|
|
7564
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
7533
7565
|
this.defaultHeaders = new http.HttpHeaders();
|
|
7534
7566
|
this.configuration = new Configuration();
|
|
7535
7567
|
if (basePath) {
|
|
@@ -8714,6 +8746,16 @@
|
|
|
8714
8746
|
};
|
|
8715
8747
|
})(exports.VideoProperties || (exports.VideoProperties = {}));
|
|
8716
8748
|
|
|
8749
|
+
exports.WhitelabelingEntity = void 0;
|
|
8750
|
+
(function (WhitelabelingEntity) {
|
|
8751
|
+
WhitelabelingEntity.OidcClientEnum = {
|
|
8752
|
+
GOOGLE: 'GOOGLE',
|
|
8753
|
+
FACEBOOK: 'FACEBOOK',
|
|
8754
|
+
OFFICE365: 'OFFICE_365',
|
|
8755
|
+
OKTA: 'OKTA'
|
|
8756
|
+
};
|
|
8757
|
+
})(exports.WhitelabelingEntity || (exports.WhitelabelingEntity = {}));
|
|
8758
|
+
|
|
8717
8759
|
var ApiModule = /** @class */ (function () {
|
|
8718
8760
|
function ApiModule(parentModule, http) {
|
|
8719
8761
|
if (parentModule) {
|