@revxui/api-clients-ts 0.10.187 → 0.10.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/api.d.ts +3 -1
- package/api/audienceController.service.d.ts +48 -4
- package/api/notificationsController.service.d.ts +77 -0
- package/bundles/revxui-api-clients-ts.umd.js +402 -1
- 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/api.js +4 -2
- package/esm2015/api/audienceController.service.js +123 -1
- package/esm2015/api/notificationsController.service.js +187 -0
- package/esm2015/api.module.js +3 -1
- package/esm2015/model/advertiserPojo.js +1 -1
- package/esm2015/model/apiListResponseAudienceESDTO.js +1 -0
- package/esm2015/model/apiResponseObjectApiListResponseAudienceESDTO.js +1 -0
- package/esm2015/model/{apiListResponseListAudienceESDTO.js → apiResponseObjectResponseMessage.js} +1 -1
- package/esm2015/model/audienceBackFilledStats.js +12 -0
- package/esm2015/model/audienceDTO.js +20 -1
- package/esm2015/model/audienceESDTO.js +16 -1
- package/esm2015/model/creativeSetDashboardMetric.js +1 -1
- package/esm2015/model/dashboardData.js +1 -1
- package/esm2015/model/dashboardMetrics.js +1 -1
- package/esm2015/model/models.js +3 -1
- package/esm2015/model/notificationListResponseNotificationResponse.js +1 -0
- package/esm2015/model/notificationResponse.js +19 -0
- package/esm2015/model/ruleComponentDTO.js +1 -1
- package/esm2015/model/ruleDTO.js +8 -1
- package/esm2015/model/slicexData.js +1 -1
- package/esm2015/model/slicexGridData.js +1 -1
- package/esm5/api/api.js +4 -2
- package/esm5/api/audienceController.service.js +129 -1
- package/esm5/api/notificationsController.service.js +207 -0
- package/esm5/api.module.js +3 -1
- package/esm5/model/advertiserPojo.js +1 -1
- package/esm5/model/apiListResponseAudienceESDTO.js +1 -0
- package/esm5/model/apiResponseObjectApiListResponseAudienceESDTO.js +1 -0
- package/esm5/model/{apiListResponseListAudienceESDTO.js → apiResponseObjectResponseMessage.js} +1 -1
- package/esm5/model/audienceBackFilledStats.js +12 -0
- package/esm5/model/audienceDTO.js +20 -1
- package/esm5/model/audienceESDTO.js +16 -1
- package/esm5/model/creativeSetDashboardMetric.js +1 -1
- package/esm5/model/dashboardData.js +1 -1
- package/esm5/model/dashboardMetrics.js +1 -1
- package/esm5/model/models.js +3 -1
- package/esm5/model/notificationListResponseNotificationResponse.js +1 -0
- package/esm5/model/notificationResponse.js +19 -0
- package/esm5/model/ruleComponentDTO.js +1 -1
- package/esm5/model/ruleDTO.js +8 -1
- package/esm5/model/slicexData.js +1 -1
- package/esm5/model/slicexGridData.js +1 -1
- package/fesm2015/revxui-api-clients-ts.js +376 -2
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +402 -2
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/advertiserPojo.d.ts +2 -0
- package/model/{apiListResponseListAudienceESDTO.d.ts → apiListResponseAudienceESDTO.d.ts} +2 -2
- package/model/{apiResponseObjectApiListResponseListAudienceESDTO.d.ts → apiResponseObjectApiListResponseAudienceESDTO.d.ts} +3 -3
- package/model/apiResponseObjectResponseMessage.d.ts +17 -0
- package/model/audienceBackFilledStats.d.ts +21 -0
- package/model/audienceDTO.d.ts +40 -5
- package/model/audienceESDTO.d.ts +17 -0
- package/model/creativeSetDashboardMetric.d.ts +2 -0
- package/model/dashboardData.d.ts +2 -0
- package/model/dashboardMetrics.d.ts +2 -0
- package/model/models.d.ts +6 -2
- package/model/notificationListResponseNotificationResponse.d.ts +17 -0
- package/model/notificationResponse.d.ts +31 -0
- package/model/ruleComponentDTO.d.ts +1 -0
- package/model/ruleDTO.d.ts +10 -0
- package/model/slicexData.d.ts +2 -0
- package/model/slicexGridData.d.ts +2 -0
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
- package/esm2015/model/apiResponseObjectApiListResponseListAudienceESDTO.js +0 -1
- package/esm5/model/apiResponseObjectApiListResponseListAudienceESDTO.js +0 -1
|
@@ -1382,6 +1382,75 @@
|
|
|
1382
1382
|
reportProgress: reportProgress
|
|
1383
1383
|
});
|
|
1384
1384
|
};
|
|
1385
|
+
AudienceControllerService.prototype.activateBackfillRuleUsingGET = function (id, queryID, reqId, token, observe, reportProgress) {
|
|
1386
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1387
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1388
|
+
if (id === null || id === undefined) {
|
|
1389
|
+
throw new Error('Required parameter id was null or undefined when calling activateBackfillRuleUsingGET.');
|
|
1390
|
+
}
|
|
1391
|
+
if (queryID === null || queryID === undefined) {
|
|
1392
|
+
throw new Error('Required parameter queryID was null or undefined when calling activateBackfillRuleUsingGET.');
|
|
1393
|
+
}
|
|
1394
|
+
var headers = this.defaultHeaders;
|
|
1395
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1396
|
+
headers = headers.set('reqId', String(reqId));
|
|
1397
|
+
}
|
|
1398
|
+
if (token !== undefined && token !== null) {
|
|
1399
|
+
headers = headers.set('token', String(token));
|
|
1400
|
+
}
|
|
1401
|
+
// to determine the Accept header
|
|
1402
|
+
var httpHeaderAccepts = [
|
|
1403
|
+
'*/*'
|
|
1404
|
+
];
|
|
1405
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1406
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1407
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1408
|
+
}
|
|
1409
|
+
// to determine the Content-Type header
|
|
1410
|
+
var consumes = [];
|
|
1411
|
+
return this.httpClient.get(this.basePath + "/v2/api/audience/" + encodeURIComponent(String(id)) + "/" + encodeURIComponent(String(queryID)), {
|
|
1412
|
+
withCredentials: this.configuration.withCredentials,
|
|
1413
|
+
headers: headers,
|
|
1414
|
+
observe: observe,
|
|
1415
|
+
reportProgress: reportProgress
|
|
1416
|
+
});
|
|
1417
|
+
};
|
|
1418
|
+
AudienceControllerService.prototype.addBackfillRuleUsingPOST = function (audience, reqId, token, observe, reportProgress) {
|
|
1419
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1420
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1421
|
+
if (audience === null || audience === undefined) {
|
|
1422
|
+
throw new Error('Required parameter audience was null or undefined when calling addBackfillRuleUsingPOST.');
|
|
1423
|
+
}
|
|
1424
|
+
var headers = this.defaultHeaders;
|
|
1425
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1426
|
+
headers = headers.set('reqId', String(reqId));
|
|
1427
|
+
}
|
|
1428
|
+
if (token !== undefined && token !== null) {
|
|
1429
|
+
headers = headers.set('token', String(token));
|
|
1430
|
+
}
|
|
1431
|
+
// to determine the Accept header
|
|
1432
|
+
var httpHeaderAccepts = [
|
|
1433
|
+
'application/json'
|
|
1434
|
+
];
|
|
1435
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1436
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1437
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1438
|
+
}
|
|
1439
|
+
// to determine the Content-Type header
|
|
1440
|
+
var consumes = [
|
|
1441
|
+
'application/json'
|
|
1442
|
+
];
|
|
1443
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1444
|
+
if (httpContentTypeSelected != undefined) {
|
|
1445
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1446
|
+
}
|
|
1447
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/addbackfillrule", audience, {
|
|
1448
|
+
withCredentials: this.configuration.withCredentials,
|
|
1449
|
+
headers: headers,
|
|
1450
|
+
observe: observe,
|
|
1451
|
+
reportProgress: reportProgress
|
|
1452
|
+
});
|
|
1453
|
+
};
|
|
1385
1454
|
AudienceControllerService.prototype.checkConnectionUsingPOST = function (config, reqId, token, observe, reportProgress) {
|
|
1386
1455
|
if (observe === void 0) { observe = 'body'; }
|
|
1387
1456
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -1641,6 +1710,65 @@
|
|
|
1641
1710
|
reportProgress: reportProgress
|
|
1642
1711
|
});
|
|
1643
1712
|
};
|
|
1713
|
+
AudienceControllerService.prototype.getChartDataUsingPOST = function (audienceType, dashboardRequest, id, metric, refresh, reqId, token, observe, reportProgress) {
|
|
1714
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1715
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1716
|
+
if (audienceType === null || audienceType === undefined) {
|
|
1717
|
+
throw new Error('Required parameter audienceType was null or undefined when calling getChartDataUsingPOST.');
|
|
1718
|
+
}
|
|
1719
|
+
if (dashboardRequest === null || dashboardRequest === undefined) {
|
|
1720
|
+
throw new Error('Required parameter dashboardRequest was null or undefined when calling getChartDataUsingPOST.');
|
|
1721
|
+
}
|
|
1722
|
+
if (id === null || id === undefined) {
|
|
1723
|
+
throw new Error('Required parameter id was null or undefined when calling getChartDataUsingPOST.');
|
|
1724
|
+
}
|
|
1725
|
+
if (metric === null || metric === undefined) {
|
|
1726
|
+
throw new Error('Required parameter metric was null or undefined when calling getChartDataUsingPOST.');
|
|
1727
|
+
}
|
|
1728
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1729
|
+
if (audienceType !== undefined && audienceType !== null) {
|
|
1730
|
+
queryParameters = queryParameters.set('audienceType', audienceType);
|
|
1731
|
+
}
|
|
1732
|
+
if (id !== undefined && id !== null) {
|
|
1733
|
+
queryParameters = queryParameters.set('id', id);
|
|
1734
|
+
}
|
|
1735
|
+
if (metric !== undefined && metric !== null) {
|
|
1736
|
+
queryParameters = queryParameters.set('metric', metric);
|
|
1737
|
+
}
|
|
1738
|
+
if (refresh !== undefined && refresh !== null) {
|
|
1739
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
1740
|
+
}
|
|
1741
|
+
var headers = this.defaultHeaders;
|
|
1742
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1743
|
+
headers = headers.set('reqId', String(reqId));
|
|
1744
|
+
}
|
|
1745
|
+
if (token !== undefined && token !== null) {
|
|
1746
|
+
headers = headers.set('token', String(token));
|
|
1747
|
+
}
|
|
1748
|
+
// to determine the Accept header
|
|
1749
|
+
var httpHeaderAccepts = [
|
|
1750
|
+
'application/json'
|
|
1751
|
+
];
|
|
1752
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1753
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1754
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1755
|
+
}
|
|
1756
|
+
// to determine the Content-Type header
|
|
1757
|
+
var consumes = [
|
|
1758
|
+
'application/json'
|
|
1759
|
+
];
|
|
1760
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1761
|
+
if (httpContentTypeSelected != undefined) {
|
|
1762
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1763
|
+
}
|
|
1764
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/chart", dashboardRequest, {
|
|
1765
|
+
params: queryParameters,
|
|
1766
|
+
withCredentials: this.configuration.withCredentials,
|
|
1767
|
+
headers: headers,
|
|
1768
|
+
observe: observe,
|
|
1769
|
+
reportProgress: reportProgress
|
|
1770
|
+
});
|
|
1771
|
+
};
|
|
1644
1772
|
AudienceControllerService.prototype.getMetaRulesUsingGET = function (reqId, token, observe, reportProgress) {
|
|
1645
1773
|
if (observe === void 0) { observe = 'body'; }
|
|
1646
1774
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -5079,6 +5207,205 @@
|
|
|
5079
5207
|
return DashboardControllerService;
|
|
5080
5208
|
}());
|
|
5081
5209
|
|
|
5210
|
+
/**
|
|
5211
|
+
* Api Documentation
|
|
5212
|
+
* Api Documentation
|
|
5213
|
+
*
|
|
5214
|
+
* OpenAPI spec version: 1.0
|
|
5215
|
+
*
|
|
5216
|
+
*
|
|
5217
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
5218
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
5219
|
+
* Do not edit the class manually.
|
|
5220
|
+
*/
|
|
5221
|
+
var NotificationsControllerService = /** @class */ (function () {
|
|
5222
|
+
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
5223
|
+
this.httpClient = httpClient;
|
|
5224
|
+
this.basePath = 'https://localhost:10045';
|
|
5225
|
+
this.defaultHeaders = new http.HttpHeaders();
|
|
5226
|
+
this.configuration = new Configuration();
|
|
5227
|
+
if (basePath) {
|
|
5228
|
+
this.basePath = basePath;
|
|
5229
|
+
}
|
|
5230
|
+
if (configuration) {
|
|
5231
|
+
this.configuration = configuration;
|
|
5232
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5235
|
+
/**
|
|
5236
|
+
* @param consumes string[] mime-types
|
|
5237
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
5238
|
+
*/
|
|
5239
|
+
NotificationsControllerService.prototype.canConsumeForm = function (consumes) {
|
|
5240
|
+
var e_1, _a;
|
|
5241
|
+
var form = 'multipart/form-data';
|
|
5242
|
+
try {
|
|
5243
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
5244
|
+
var consume = consumes_1_1.value;
|
|
5245
|
+
if (form === consume) {
|
|
5246
|
+
return true;
|
|
5247
|
+
}
|
|
5248
|
+
}
|
|
5249
|
+
}
|
|
5250
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
5251
|
+
finally {
|
|
5252
|
+
try {
|
|
5253
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
5254
|
+
}
|
|
5255
|
+
finally { if (e_1) throw e_1.error; }
|
|
5256
|
+
}
|
|
5257
|
+
return false;
|
|
5258
|
+
};
|
|
5259
|
+
NotificationsControllerService.prototype.getNotificationUsingGET = function (pageNumber, pageSize, reqId, token, observe, reportProgress) {
|
|
5260
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5261
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5262
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5263
|
+
if (pageNumber !== undefined && pageNumber !== null) {
|
|
5264
|
+
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
5265
|
+
}
|
|
5266
|
+
if (pageSize !== undefined && pageSize !== null) {
|
|
5267
|
+
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
5268
|
+
}
|
|
5269
|
+
var headers = this.defaultHeaders;
|
|
5270
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5271
|
+
headers = headers.set('reqId', String(reqId));
|
|
5272
|
+
}
|
|
5273
|
+
if (token !== undefined && token !== null) {
|
|
5274
|
+
headers = headers.set('token', String(token));
|
|
5275
|
+
}
|
|
5276
|
+
// to determine the Accept header
|
|
5277
|
+
var httpHeaderAccepts = [
|
|
5278
|
+
'application/json'
|
|
5279
|
+
];
|
|
5280
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5281
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5282
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5283
|
+
}
|
|
5284
|
+
// to determine the Content-Type header
|
|
5285
|
+
var consumes = [];
|
|
5286
|
+
return this.httpClient.get(this.basePath + "/v2/api/notifications", {
|
|
5287
|
+
params: queryParameters,
|
|
5288
|
+
withCredentials: this.configuration.withCredentials,
|
|
5289
|
+
headers: headers,
|
|
5290
|
+
observe: observe,
|
|
5291
|
+
reportProgress: reportProgress
|
|
5292
|
+
});
|
|
5293
|
+
};
|
|
5294
|
+
NotificationsControllerService.prototype.markAllSeenUsingPOST = function (reqId, token, observe, reportProgress) {
|
|
5295
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5296
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5297
|
+
var headers = this.defaultHeaders;
|
|
5298
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5299
|
+
headers = headers.set('reqId', String(reqId));
|
|
5300
|
+
}
|
|
5301
|
+
if (token !== undefined && token !== null) {
|
|
5302
|
+
headers = headers.set('token', String(token));
|
|
5303
|
+
}
|
|
5304
|
+
// to determine the Accept header
|
|
5305
|
+
var httpHeaderAccepts = [
|
|
5306
|
+
'application/json'
|
|
5307
|
+
];
|
|
5308
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5309
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5310
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5311
|
+
}
|
|
5312
|
+
// to determine the Content-Type header
|
|
5313
|
+
var consumes = [
|
|
5314
|
+
'application/json'
|
|
5315
|
+
];
|
|
5316
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/seenAll", null, {
|
|
5317
|
+
withCredentials: this.configuration.withCredentials,
|
|
5318
|
+
headers: headers,
|
|
5319
|
+
observe: observe,
|
|
5320
|
+
reportProgress: reportProgress
|
|
5321
|
+
});
|
|
5322
|
+
};
|
|
5323
|
+
NotificationsControllerService.prototype.markSeenUsingPOST = function (commaSeparatedIds, reqId, token, observe, reportProgress) {
|
|
5324
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5325
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5326
|
+
if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
|
|
5327
|
+
throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeenUsingPOST.');
|
|
5328
|
+
}
|
|
5329
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5330
|
+
if (commaSeparatedIds !== undefined && commaSeparatedIds !== null) {
|
|
5331
|
+
queryParameters = queryParameters.set('commaSeparatedIds', commaSeparatedIds);
|
|
5332
|
+
}
|
|
5333
|
+
var headers = this.defaultHeaders;
|
|
5334
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5335
|
+
headers = headers.set('reqId', String(reqId));
|
|
5336
|
+
}
|
|
5337
|
+
if (token !== undefined && token !== null) {
|
|
5338
|
+
headers = headers.set('token', String(token));
|
|
5339
|
+
}
|
|
5340
|
+
// to determine the Accept header
|
|
5341
|
+
var httpHeaderAccepts = [
|
|
5342
|
+
'application/json'
|
|
5343
|
+
];
|
|
5344
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5345
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5346
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5347
|
+
}
|
|
5348
|
+
// to determine the Content-Type header
|
|
5349
|
+
var consumes = [
|
|
5350
|
+
'application/json'
|
|
5351
|
+
];
|
|
5352
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/seen/" + encodeURIComponent(String(commaSeparatedIds)), null, {
|
|
5353
|
+
params: queryParameters,
|
|
5354
|
+
withCredentials: this.configuration.withCredentials,
|
|
5355
|
+
headers: headers,
|
|
5356
|
+
observe: observe,
|
|
5357
|
+
reportProgress: reportProgress
|
|
5358
|
+
});
|
|
5359
|
+
};
|
|
5360
|
+
NotificationsControllerService.prototype.resolveNotificationUsingPOST = function (id, reqId, token, observe, reportProgress) {
|
|
5361
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5362
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5363
|
+
if (id === null || id === undefined) {
|
|
5364
|
+
throw new Error('Required parameter id was null or undefined when calling resolveNotificationUsingPOST.');
|
|
5365
|
+
}
|
|
5366
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5367
|
+
if (id !== undefined && id !== null) {
|
|
5368
|
+
queryParameters = queryParameters.set('id', id);
|
|
5369
|
+
}
|
|
5370
|
+
var headers = this.defaultHeaders;
|
|
5371
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5372
|
+
headers = headers.set('reqId', String(reqId));
|
|
5373
|
+
}
|
|
5374
|
+
if (token !== undefined && token !== null) {
|
|
5375
|
+
headers = headers.set('token', String(token));
|
|
5376
|
+
}
|
|
5377
|
+
// to determine the Accept header
|
|
5378
|
+
var httpHeaderAccepts = [
|
|
5379
|
+
'application/json'
|
|
5380
|
+
];
|
|
5381
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5382
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5383
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5384
|
+
}
|
|
5385
|
+
// to determine the Content-Type header
|
|
5386
|
+
var consumes = [
|
|
5387
|
+
'application/json'
|
|
5388
|
+
];
|
|
5389
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/resolve/" + encodeURIComponent(String(id)), null, {
|
|
5390
|
+
params: queryParameters,
|
|
5391
|
+
withCredentials: this.configuration.withCredentials,
|
|
5392
|
+
headers: headers,
|
|
5393
|
+
observe: observe,
|
|
5394
|
+
reportProgress: reportProgress
|
|
5395
|
+
});
|
|
5396
|
+
};
|
|
5397
|
+
NotificationsControllerService.ctorParameters = function () { return [
|
|
5398
|
+
{ type: http.HttpClient },
|
|
5399
|
+
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
5400
|
+
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
5401
|
+
]; };
|
|
5402
|
+
NotificationsControllerService = __decorate([
|
|
5403
|
+
core.Injectable(),
|
|
5404
|
+
__param(1, core.Optional()), __param(1, core.Inject(BASE_PATH)), __param(2, core.Optional())
|
|
5405
|
+
], NotificationsControllerService);
|
|
5406
|
+
return NotificationsControllerService;
|
|
5407
|
+
}());
|
|
5408
|
+
|
|
5082
5409
|
/**
|
|
5083
5410
|
* Api Documentation
|
|
5084
5411
|
* Api Documentation
|
|
@@ -6557,7 +6884,7 @@
|
|
|
6557
6884
|
return UserPreferenceControllerService;
|
|
6558
6885
|
}());
|
|
6559
6886
|
|
|
6560
|
-
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AppsFlyerAudienceControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
6887
|
+
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AppsFlyerAudienceControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
6561
6888
|
|
|
6562
6889
|
|
|
6563
6890
|
(function (ActivityLogsStrategyBulkUpdateDTO) {
|
|
@@ -6628,6 +6955,25 @@
|
|
|
6628
6955
|
|
|
6629
6956
|
|
|
6630
6957
|
(function (AudienceDTO) {
|
|
6958
|
+
AudienceDTO.AudienceTypeEnum = {
|
|
6959
|
+
WEBBROWSING: 'WEB_BROWSING',
|
|
6960
|
+
MOBILEAPP: 'MOBILE_APP',
|
|
6961
|
+
DMP: 'DMP',
|
|
6962
|
+
CRM: 'CRM',
|
|
6963
|
+
RULEBASED: 'RULE_BASED',
|
|
6964
|
+
RULEBASEDBACKFILL: 'RULE_BASED_BACKFILL',
|
|
6965
|
+
CRMEMAIL: 'CRM_EMAIL',
|
|
6966
|
+
CRMPHONE: 'CRM_PHONE',
|
|
6967
|
+
LOOKALIKEAUDIENCE: 'LOOKALIKE_AUDIENCE',
|
|
6968
|
+
FACEBOOKID: 'FACEBOOK_ID'
|
|
6969
|
+
};
|
|
6970
|
+
AudienceDTO.BackfillDurationUnitEnum = {
|
|
6971
|
+
MINUTE: 'MINUTE',
|
|
6972
|
+
HOUR: 'HOUR',
|
|
6973
|
+
DAY: 'DAY',
|
|
6974
|
+
WEEK: 'WEEK',
|
|
6975
|
+
MONTH: 'MONTH'
|
|
6976
|
+
};
|
|
6631
6977
|
AudienceDTO.DurationUnitEnum = {
|
|
6632
6978
|
MINUTE: 'MINUTE',
|
|
6633
6979
|
HOUR: 'HOUR',
|
|
@@ -6637,6 +6983,33 @@
|
|
|
6637
6983
|
};
|
|
6638
6984
|
})(exports.AudienceDTO || (exports.AudienceDTO = {}));
|
|
6639
6985
|
|
|
6986
|
+
/**
|
|
6987
|
+
* Api Documentation
|
|
6988
|
+
* Api Documentation
|
|
6989
|
+
*
|
|
6990
|
+
* OpenAPI spec version: 1.0
|
|
6991
|
+
*
|
|
6992
|
+
*
|
|
6993
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6994
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
6995
|
+
* Do not edit the class manually.
|
|
6996
|
+
*/
|
|
6997
|
+
|
|
6998
|
+
(function (AudienceESDTO) {
|
|
6999
|
+
AudienceESDTO.AudienceTypeEnum = {
|
|
7000
|
+
WEBBROWSING: 'WEB_BROWSING',
|
|
7001
|
+
MOBILEAPP: 'MOBILE_APP',
|
|
7002
|
+
DMP: 'DMP',
|
|
7003
|
+
CRM: 'CRM',
|
|
7004
|
+
RULEBASED: 'RULE_BASED',
|
|
7005
|
+
RULEBASEDBACKFILL: 'RULE_BASED_BACKFILL',
|
|
7006
|
+
CRMEMAIL: 'CRM_EMAIL',
|
|
7007
|
+
CRMPHONE: 'CRM_PHONE',
|
|
7008
|
+
LOOKALIKEAUDIENCE: 'LOOKALIKE_AUDIENCE',
|
|
7009
|
+
FACEBOOKID: 'FACEBOOK_ID'
|
|
7010
|
+
};
|
|
7011
|
+
})(exports.AudienceESDTO || (exports.AudienceESDTO = {}));
|
|
7012
|
+
|
|
6640
7013
|
|
|
6641
7014
|
(function (ClickDestination) {
|
|
6642
7015
|
ClickDestination.CampaignTypeEnum = {
|
|
@@ -6943,6 +7316,25 @@
|
|
|
6943
7316
|
};
|
|
6944
7317
|
})(exports.MetaRuleDto || (exports.MetaRuleDto = {}));
|
|
6945
7318
|
|
|
7319
|
+
/**
|
|
7320
|
+
* Api Documentation
|
|
7321
|
+
* Api Documentation
|
|
7322
|
+
*
|
|
7323
|
+
* OpenAPI spec version: 1.0
|
|
7324
|
+
*
|
|
7325
|
+
*
|
|
7326
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
7327
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
7328
|
+
* Do not edit the class manually.
|
|
7329
|
+
*/
|
|
7330
|
+
|
|
7331
|
+
(function (NotificationResponse) {
|
|
7332
|
+
NotificationResponse.TypeEnum = {
|
|
7333
|
+
STATIC: 'STATIC',
|
|
7334
|
+
ACTIONABLE: 'ACTIONABLE'
|
|
7335
|
+
};
|
|
7336
|
+
})(exports.NotificationResponse || (exports.NotificationResponse = {}));
|
|
7337
|
+
|
|
6946
7338
|
/**
|
|
6947
7339
|
* Api Documentation
|
|
6948
7340
|
* Api Documentation
|
|
@@ -7103,6 +7495,13 @@
|
|
|
7103
7495
|
|
|
7104
7496
|
|
|
7105
7497
|
(function (RuleDTO) {
|
|
7498
|
+
RuleDTO.DurationUnitEnum = {
|
|
7499
|
+
MINUTE: 'MINUTE',
|
|
7500
|
+
HOUR: 'HOUR',
|
|
7501
|
+
DAY: 'DAY',
|
|
7502
|
+
WEEK: 'WEEK',
|
|
7503
|
+
MONTH: 'MONTH'
|
|
7504
|
+
};
|
|
7106
7505
|
RuleDTO.OperatorEnum = {
|
|
7107
7506
|
AND: 'AND',
|
|
7108
7507
|
OR: 'OR',
|
|
@@ -7313,6 +7712,7 @@
|
|
|
7313
7712
|
CreativeTemplateVariablesControllerService,
|
|
7314
7713
|
CreativeTemplatesControllerService,
|
|
7315
7714
|
DashboardControllerService,
|
|
7715
|
+
NotificationsControllerService,
|
|
7316
7716
|
PixelControllerService,
|
|
7317
7717
|
ReportingControllerService,
|
|
7318
7718
|
SliceXControllerService,
|
|
@@ -7349,6 +7749,7 @@
|
|
|
7349
7749
|
exports.CreativeTemplateVariablesControllerService = CreativeTemplateVariablesControllerService;
|
|
7350
7750
|
exports.CreativeTemplatesControllerService = CreativeTemplatesControllerService;
|
|
7351
7751
|
exports.DashboardControllerService = DashboardControllerService;
|
|
7752
|
+
exports.NotificationsControllerService = NotificationsControllerService;
|
|
7352
7753
|
exports.PixelControllerService = PixelControllerService;
|
|
7353
7754
|
exports.ReportingControllerService = ReportingControllerService;
|
|
7354
7755
|
exports.SliceXControllerService = SliceXControllerService;
|