@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
|
@@ -1161,6 +1161,75 @@ var AudienceControllerService = /** @class */ (function () {
|
|
|
1161
1161
|
reportProgress: reportProgress
|
|
1162
1162
|
});
|
|
1163
1163
|
};
|
|
1164
|
+
AudienceControllerService.prototype.activateBackfillRuleUsingGET = function (id, queryID, reqId, token, observe, reportProgress) {
|
|
1165
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1166
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1167
|
+
if (id === null || id === undefined) {
|
|
1168
|
+
throw new Error('Required parameter id was null or undefined when calling activateBackfillRuleUsingGET.');
|
|
1169
|
+
}
|
|
1170
|
+
if (queryID === null || queryID === undefined) {
|
|
1171
|
+
throw new Error('Required parameter queryID was null or undefined when calling activateBackfillRuleUsingGET.');
|
|
1172
|
+
}
|
|
1173
|
+
var headers = this.defaultHeaders;
|
|
1174
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1175
|
+
headers = headers.set('reqId', String(reqId));
|
|
1176
|
+
}
|
|
1177
|
+
if (token !== undefined && token !== null) {
|
|
1178
|
+
headers = headers.set('token', String(token));
|
|
1179
|
+
}
|
|
1180
|
+
// to determine the Accept header
|
|
1181
|
+
var httpHeaderAccepts = [
|
|
1182
|
+
'*/*'
|
|
1183
|
+
];
|
|
1184
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1185
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1186
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1187
|
+
}
|
|
1188
|
+
// to determine the Content-Type header
|
|
1189
|
+
var consumes = [];
|
|
1190
|
+
return this.httpClient.get(this.basePath + "/v2/api/audience/" + encodeURIComponent(String(id)) + "/" + encodeURIComponent(String(queryID)), {
|
|
1191
|
+
withCredentials: this.configuration.withCredentials,
|
|
1192
|
+
headers: headers,
|
|
1193
|
+
observe: observe,
|
|
1194
|
+
reportProgress: reportProgress
|
|
1195
|
+
});
|
|
1196
|
+
};
|
|
1197
|
+
AudienceControllerService.prototype.addBackfillRuleUsingPOST = function (audience, reqId, token, observe, reportProgress) {
|
|
1198
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1199
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1200
|
+
if (audience === null || audience === undefined) {
|
|
1201
|
+
throw new Error('Required parameter audience was null or undefined when calling addBackfillRuleUsingPOST.');
|
|
1202
|
+
}
|
|
1203
|
+
var headers = this.defaultHeaders;
|
|
1204
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1205
|
+
headers = headers.set('reqId', String(reqId));
|
|
1206
|
+
}
|
|
1207
|
+
if (token !== undefined && token !== null) {
|
|
1208
|
+
headers = headers.set('token', String(token));
|
|
1209
|
+
}
|
|
1210
|
+
// to determine the Accept header
|
|
1211
|
+
var httpHeaderAccepts = [
|
|
1212
|
+
'application/json'
|
|
1213
|
+
];
|
|
1214
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1215
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1216
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1217
|
+
}
|
|
1218
|
+
// to determine the Content-Type header
|
|
1219
|
+
var consumes = [
|
|
1220
|
+
'application/json'
|
|
1221
|
+
];
|
|
1222
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1223
|
+
if (httpContentTypeSelected != undefined) {
|
|
1224
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1225
|
+
}
|
|
1226
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/addbackfillrule", audience, {
|
|
1227
|
+
withCredentials: this.configuration.withCredentials,
|
|
1228
|
+
headers: headers,
|
|
1229
|
+
observe: observe,
|
|
1230
|
+
reportProgress: reportProgress
|
|
1231
|
+
});
|
|
1232
|
+
};
|
|
1164
1233
|
AudienceControllerService.prototype.checkConnectionUsingPOST = function (config, reqId, token, observe, reportProgress) {
|
|
1165
1234
|
if (observe === void 0) { observe = 'body'; }
|
|
1166
1235
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -1420,6 +1489,65 @@ var AudienceControllerService = /** @class */ (function () {
|
|
|
1420
1489
|
reportProgress: reportProgress
|
|
1421
1490
|
});
|
|
1422
1491
|
};
|
|
1492
|
+
AudienceControllerService.prototype.getChartDataUsingPOST = function (audienceType, dashboardRequest, id, metric, refresh, reqId, token, observe, reportProgress) {
|
|
1493
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1494
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1495
|
+
if (audienceType === null || audienceType === undefined) {
|
|
1496
|
+
throw new Error('Required parameter audienceType was null or undefined when calling getChartDataUsingPOST.');
|
|
1497
|
+
}
|
|
1498
|
+
if (dashboardRequest === null || dashboardRequest === undefined) {
|
|
1499
|
+
throw new Error('Required parameter dashboardRequest was null or undefined when calling getChartDataUsingPOST.');
|
|
1500
|
+
}
|
|
1501
|
+
if (id === null || id === undefined) {
|
|
1502
|
+
throw new Error('Required parameter id was null or undefined when calling getChartDataUsingPOST.');
|
|
1503
|
+
}
|
|
1504
|
+
if (metric === null || metric === undefined) {
|
|
1505
|
+
throw new Error('Required parameter metric was null or undefined when calling getChartDataUsingPOST.');
|
|
1506
|
+
}
|
|
1507
|
+
var queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1508
|
+
if (audienceType !== undefined && audienceType !== null) {
|
|
1509
|
+
queryParameters = queryParameters.set('audienceType', audienceType);
|
|
1510
|
+
}
|
|
1511
|
+
if (id !== undefined && id !== null) {
|
|
1512
|
+
queryParameters = queryParameters.set('id', id);
|
|
1513
|
+
}
|
|
1514
|
+
if (metric !== undefined && metric !== null) {
|
|
1515
|
+
queryParameters = queryParameters.set('metric', metric);
|
|
1516
|
+
}
|
|
1517
|
+
if (refresh !== undefined && refresh !== null) {
|
|
1518
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
1519
|
+
}
|
|
1520
|
+
var headers = this.defaultHeaders;
|
|
1521
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1522
|
+
headers = headers.set('reqId', String(reqId));
|
|
1523
|
+
}
|
|
1524
|
+
if (token !== undefined && token !== null) {
|
|
1525
|
+
headers = headers.set('token', String(token));
|
|
1526
|
+
}
|
|
1527
|
+
// to determine the Accept header
|
|
1528
|
+
var httpHeaderAccepts = [
|
|
1529
|
+
'application/json'
|
|
1530
|
+
];
|
|
1531
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1532
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1533
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1534
|
+
}
|
|
1535
|
+
// to determine the Content-Type header
|
|
1536
|
+
var consumes = [
|
|
1537
|
+
'application/json'
|
|
1538
|
+
];
|
|
1539
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1540
|
+
if (httpContentTypeSelected != undefined) {
|
|
1541
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1542
|
+
}
|
|
1543
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/chart", dashboardRequest, {
|
|
1544
|
+
params: queryParameters,
|
|
1545
|
+
withCredentials: this.configuration.withCredentials,
|
|
1546
|
+
headers: headers,
|
|
1547
|
+
observe: observe,
|
|
1548
|
+
reportProgress: reportProgress
|
|
1549
|
+
});
|
|
1550
|
+
};
|
|
1423
1551
|
AudienceControllerService.prototype.getMetaRulesUsingGET = function (reqId, token, observe, reportProgress) {
|
|
1424
1552
|
if (observe === void 0) { observe = 'body'; }
|
|
1425
1553
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -4858,6 +4986,205 @@ var DashboardControllerService = /** @class */ (function () {
|
|
|
4858
4986
|
return DashboardControllerService;
|
|
4859
4987
|
}());
|
|
4860
4988
|
|
|
4989
|
+
/**
|
|
4990
|
+
* Api Documentation
|
|
4991
|
+
* Api Documentation
|
|
4992
|
+
*
|
|
4993
|
+
* OpenAPI spec version: 1.0
|
|
4994
|
+
*
|
|
4995
|
+
*
|
|
4996
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4997
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4998
|
+
* Do not edit the class manually.
|
|
4999
|
+
*/
|
|
5000
|
+
var NotificationsControllerService = /** @class */ (function () {
|
|
5001
|
+
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
5002
|
+
this.httpClient = httpClient;
|
|
5003
|
+
this.basePath = 'https://localhost:10045';
|
|
5004
|
+
this.defaultHeaders = new HttpHeaders();
|
|
5005
|
+
this.configuration = new Configuration();
|
|
5006
|
+
if (basePath) {
|
|
5007
|
+
this.basePath = basePath;
|
|
5008
|
+
}
|
|
5009
|
+
if (configuration) {
|
|
5010
|
+
this.configuration = configuration;
|
|
5011
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
5012
|
+
}
|
|
5013
|
+
}
|
|
5014
|
+
/**
|
|
5015
|
+
* @param consumes string[] mime-types
|
|
5016
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
5017
|
+
*/
|
|
5018
|
+
NotificationsControllerService.prototype.canConsumeForm = function (consumes) {
|
|
5019
|
+
var e_1, _a;
|
|
5020
|
+
var form = 'multipart/form-data';
|
|
5021
|
+
try {
|
|
5022
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
5023
|
+
var consume = consumes_1_1.value;
|
|
5024
|
+
if (form === consume) {
|
|
5025
|
+
return true;
|
|
5026
|
+
}
|
|
5027
|
+
}
|
|
5028
|
+
}
|
|
5029
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
5030
|
+
finally {
|
|
5031
|
+
try {
|
|
5032
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
5033
|
+
}
|
|
5034
|
+
finally { if (e_1) throw e_1.error; }
|
|
5035
|
+
}
|
|
5036
|
+
return false;
|
|
5037
|
+
};
|
|
5038
|
+
NotificationsControllerService.prototype.getNotificationUsingGET = function (pageNumber, pageSize, reqId, token, observe, reportProgress) {
|
|
5039
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5040
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5041
|
+
var queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5042
|
+
if (pageNumber !== undefined && pageNumber !== null) {
|
|
5043
|
+
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
5044
|
+
}
|
|
5045
|
+
if (pageSize !== undefined && pageSize !== null) {
|
|
5046
|
+
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
5047
|
+
}
|
|
5048
|
+
var headers = this.defaultHeaders;
|
|
5049
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5050
|
+
headers = headers.set('reqId', String(reqId));
|
|
5051
|
+
}
|
|
5052
|
+
if (token !== undefined && token !== null) {
|
|
5053
|
+
headers = headers.set('token', String(token));
|
|
5054
|
+
}
|
|
5055
|
+
// to determine the Accept header
|
|
5056
|
+
var httpHeaderAccepts = [
|
|
5057
|
+
'application/json'
|
|
5058
|
+
];
|
|
5059
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5060
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5061
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5062
|
+
}
|
|
5063
|
+
// to determine the Content-Type header
|
|
5064
|
+
var consumes = [];
|
|
5065
|
+
return this.httpClient.get(this.basePath + "/v2/api/notifications", {
|
|
5066
|
+
params: queryParameters,
|
|
5067
|
+
withCredentials: this.configuration.withCredentials,
|
|
5068
|
+
headers: headers,
|
|
5069
|
+
observe: observe,
|
|
5070
|
+
reportProgress: reportProgress
|
|
5071
|
+
});
|
|
5072
|
+
};
|
|
5073
|
+
NotificationsControllerService.prototype.markAllSeenUsingPOST = function (reqId, token, observe, reportProgress) {
|
|
5074
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5075
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5076
|
+
var headers = this.defaultHeaders;
|
|
5077
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5078
|
+
headers = headers.set('reqId', String(reqId));
|
|
5079
|
+
}
|
|
5080
|
+
if (token !== undefined && token !== null) {
|
|
5081
|
+
headers = headers.set('token', String(token));
|
|
5082
|
+
}
|
|
5083
|
+
// to determine the Accept header
|
|
5084
|
+
var httpHeaderAccepts = [
|
|
5085
|
+
'application/json'
|
|
5086
|
+
];
|
|
5087
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5088
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5089
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5090
|
+
}
|
|
5091
|
+
// to determine the Content-Type header
|
|
5092
|
+
var consumes = [
|
|
5093
|
+
'application/json'
|
|
5094
|
+
];
|
|
5095
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/seenAll", null, {
|
|
5096
|
+
withCredentials: this.configuration.withCredentials,
|
|
5097
|
+
headers: headers,
|
|
5098
|
+
observe: observe,
|
|
5099
|
+
reportProgress: reportProgress
|
|
5100
|
+
});
|
|
5101
|
+
};
|
|
5102
|
+
NotificationsControllerService.prototype.markSeenUsingPOST = function (commaSeparatedIds, reqId, token, observe, reportProgress) {
|
|
5103
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5104
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5105
|
+
if (commaSeparatedIds === null || commaSeparatedIds === undefined) {
|
|
5106
|
+
throw new Error('Required parameter commaSeparatedIds was null or undefined when calling markSeenUsingPOST.');
|
|
5107
|
+
}
|
|
5108
|
+
var queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5109
|
+
if (commaSeparatedIds !== undefined && commaSeparatedIds !== null) {
|
|
5110
|
+
queryParameters = queryParameters.set('commaSeparatedIds', commaSeparatedIds);
|
|
5111
|
+
}
|
|
5112
|
+
var headers = this.defaultHeaders;
|
|
5113
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5114
|
+
headers = headers.set('reqId', String(reqId));
|
|
5115
|
+
}
|
|
5116
|
+
if (token !== undefined && token !== null) {
|
|
5117
|
+
headers = headers.set('token', String(token));
|
|
5118
|
+
}
|
|
5119
|
+
// to determine the Accept header
|
|
5120
|
+
var httpHeaderAccepts = [
|
|
5121
|
+
'application/json'
|
|
5122
|
+
];
|
|
5123
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5124
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5125
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5126
|
+
}
|
|
5127
|
+
// to determine the Content-Type header
|
|
5128
|
+
var consumes = [
|
|
5129
|
+
'application/json'
|
|
5130
|
+
];
|
|
5131
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/seen/" + encodeURIComponent(String(commaSeparatedIds)), null, {
|
|
5132
|
+
params: queryParameters,
|
|
5133
|
+
withCredentials: this.configuration.withCredentials,
|
|
5134
|
+
headers: headers,
|
|
5135
|
+
observe: observe,
|
|
5136
|
+
reportProgress: reportProgress
|
|
5137
|
+
});
|
|
5138
|
+
};
|
|
5139
|
+
NotificationsControllerService.prototype.resolveNotificationUsingPOST = function (id, reqId, token, observe, reportProgress) {
|
|
5140
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5141
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5142
|
+
if (id === null || id === undefined) {
|
|
5143
|
+
throw new Error('Required parameter id was null or undefined when calling resolveNotificationUsingPOST.');
|
|
5144
|
+
}
|
|
5145
|
+
var queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5146
|
+
if (id !== undefined && id !== null) {
|
|
5147
|
+
queryParameters = queryParameters.set('id', id);
|
|
5148
|
+
}
|
|
5149
|
+
var headers = this.defaultHeaders;
|
|
5150
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5151
|
+
headers = headers.set('reqId', String(reqId));
|
|
5152
|
+
}
|
|
5153
|
+
if (token !== undefined && token !== null) {
|
|
5154
|
+
headers = headers.set('token', String(token));
|
|
5155
|
+
}
|
|
5156
|
+
// to determine the Accept header
|
|
5157
|
+
var httpHeaderAccepts = [
|
|
5158
|
+
'application/json'
|
|
5159
|
+
];
|
|
5160
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5161
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5162
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5163
|
+
}
|
|
5164
|
+
// to determine the Content-Type header
|
|
5165
|
+
var consumes = [
|
|
5166
|
+
'application/json'
|
|
5167
|
+
];
|
|
5168
|
+
return this.httpClient.post(this.basePath + "/v2/api/notifications/v2/api/notifications/resolve/" + encodeURIComponent(String(id)), null, {
|
|
5169
|
+
params: queryParameters,
|
|
5170
|
+
withCredentials: this.configuration.withCredentials,
|
|
5171
|
+
headers: headers,
|
|
5172
|
+
observe: observe,
|
|
5173
|
+
reportProgress: reportProgress
|
|
5174
|
+
});
|
|
5175
|
+
};
|
|
5176
|
+
NotificationsControllerService.ctorParameters = function () { return [
|
|
5177
|
+
{ type: HttpClient },
|
|
5178
|
+
{ type: String, decorators: [{ type: Optional }, { type: Inject, args: [BASE_PATH,] }] },
|
|
5179
|
+
{ type: Configuration, decorators: [{ type: Optional }] }
|
|
5180
|
+
]; };
|
|
5181
|
+
NotificationsControllerService = __decorate([
|
|
5182
|
+
Injectable(),
|
|
5183
|
+
__param(1, Optional()), __param(1, Inject(BASE_PATH)), __param(2, Optional())
|
|
5184
|
+
], NotificationsControllerService);
|
|
5185
|
+
return NotificationsControllerService;
|
|
5186
|
+
}());
|
|
5187
|
+
|
|
4861
5188
|
/**
|
|
4862
5189
|
* Api Documentation
|
|
4863
5190
|
* Api Documentation
|
|
@@ -6336,7 +6663,7 @@ var UserPreferenceControllerService = /** @class */ (function () {
|
|
|
6336
6663
|
return UserPreferenceControllerService;
|
|
6337
6664
|
}());
|
|
6338
6665
|
|
|
6339
|
-
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];
|
|
6666
|
+
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];
|
|
6340
6667
|
|
|
6341
6668
|
var ActivityLogsStrategyBulkUpdateDTO;
|
|
6342
6669
|
(function (ActivityLogsStrategyBulkUpdateDTO) {
|
|
@@ -6407,6 +6734,25 @@ var AuctionTypeEditField;
|
|
|
6407
6734
|
|
|
6408
6735
|
var AudienceDTO;
|
|
6409
6736
|
(function (AudienceDTO) {
|
|
6737
|
+
AudienceDTO.AudienceTypeEnum = {
|
|
6738
|
+
WEBBROWSING: 'WEB_BROWSING',
|
|
6739
|
+
MOBILEAPP: 'MOBILE_APP',
|
|
6740
|
+
DMP: 'DMP',
|
|
6741
|
+
CRM: 'CRM',
|
|
6742
|
+
RULEBASED: 'RULE_BASED',
|
|
6743
|
+
RULEBASEDBACKFILL: 'RULE_BASED_BACKFILL',
|
|
6744
|
+
CRMEMAIL: 'CRM_EMAIL',
|
|
6745
|
+
CRMPHONE: 'CRM_PHONE',
|
|
6746
|
+
LOOKALIKEAUDIENCE: 'LOOKALIKE_AUDIENCE',
|
|
6747
|
+
FACEBOOKID: 'FACEBOOK_ID'
|
|
6748
|
+
};
|
|
6749
|
+
AudienceDTO.BackfillDurationUnitEnum = {
|
|
6750
|
+
MINUTE: 'MINUTE',
|
|
6751
|
+
HOUR: 'HOUR',
|
|
6752
|
+
DAY: 'DAY',
|
|
6753
|
+
WEEK: 'WEEK',
|
|
6754
|
+
MONTH: 'MONTH'
|
|
6755
|
+
};
|
|
6410
6756
|
AudienceDTO.DurationUnitEnum = {
|
|
6411
6757
|
MINUTE: 'MINUTE',
|
|
6412
6758
|
HOUR: 'HOUR',
|
|
@@ -6416,6 +6762,33 @@ var AudienceDTO;
|
|
|
6416
6762
|
};
|
|
6417
6763
|
})(AudienceDTO || (AudienceDTO = {}));
|
|
6418
6764
|
|
|
6765
|
+
/**
|
|
6766
|
+
* Api Documentation
|
|
6767
|
+
* Api Documentation
|
|
6768
|
+
*
|
|
6769
|
+
* OpenAPI spec version: 1.0
|
|
6770
|
+
*
|
|
6771
|
+
*
|
|
6772
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6773
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
6774
|
+
* Do not edit the class manually.
|
|
6775
|
+
*/
|
|
6776
|
+
var AudienceESDTO;
|
|
6777
|
+
(function (AudienceESDTO) {
|
|
6778
|
+
AudienceESDTO.AudienceTypeEnum = {
|
|
6779
|
+
WEBBROWSING: 'WEB_BROWSING',
|
|
6780
|
+
MOBILEAPP: 'MOBILE_APP',
|
|
6781
|
+
DMP: 'DMP',
|
|
6782
|
+
CRM: 'CRM',
|
|
6783
|
+
RULEBASED: 'RULE_BASED',
|
|
6784
|
+
RULEBASEDBACKFILL: 'RULE_BASED_BACKFILL',
|
|
6785
|
+
CRMEMAIL: 'CRM_EMAIL',
|
|
6786
|
+
CRMPHONE: 'CRM_PHONE',
|
|
6787
|
+
LOOKALIKEAUDIENCE: 'LOOKALIKE_AUDIENCE',
|
|
6788
|
+
FACEBOOKID: 'FACEBOOK_ID'
|
|
6789
|
+
};
|
|
6790
|
+
})(AudienceESDTO || (AudienceESDTO = {}));
|
|
6791
|
+
|
|
6419
6792
|
var ClickDestination;
|
|
6420
6793
|
(function (ClickDestination) {
|
|
6421
6794
|
ClickDestination.CampaignTypeEnum = {
|
|
@@ -6722,6 +7095,25 @@ var MetaRuleDto;
|
|
|
6722
7095
|
};
|
|
6723
7096
|
})(MetaRuleDto || (MetaRuleDto = {}));
|
|
6724
7097
|
|
|
7098
|
+
/**
|
|
7099
|
+
* Api Documentation
|
|
7100
|
+
* Api Documentation
|
|
7101
|
+
*
|
|
7102
|
+
* OpenAPI spec version: 1.0
|
|
7103
|
+
*
|
|
7104
|
+
*
|
|
7105
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
7106
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
7107
|
+
* Do not edit the class manually.
|
|
7108
|
+
*/
|
|
7109
|
+
var NotificationResponse;
|
|
7110
|
+
(function (NotificationResponse) {
|
|
7111
|
+
NotificationResponse.TypeEnum = {
|
|
7112
|
+
STATIC: 'STATIC',
|
|
7113
|
+
ACTIONABLE: 'ACTIONABLE'
|
|
7114
|
+
};
|
|
7115
|
+
})(NotificationResponse || (NotificationResponse = {}));
|
|
7116
|
+
|
|
6725
7117
|
/**
|
|
6726
7118
|
* Api Documentation
|
|
6727
7119
|
* Api Documentation
|
|
@@ -6882,6 +7274,13 @@ var ReportingResponse;
|
|
|
6882
7274
|
|
|
6883
7275
|
var RuleDTO;
|
|
6884
7276
|
(function (RuleDTO) {
|
|
7277
|
+
RuleDTO.DurationUnitEnum = {
|
|
7278
|
+
MINUTE: 'MINUTE',
|
|
7279
|
+
HOUR: 'HOUR',
|
|
7280
|
+
DAY: 'DAY',
|
|
7281
|
+
WEEK: 'WEEK',
|
|
7282
|
+
MONTH: 'MONTH'
|
|
7283
|
+
};
|
|
6885
7284
|
RuleDTO.OperatorEnum = {
|
|
6886
7285
|
AND: 'AND',
|
|
6887
7286
|
OR: 'OR',
|
|
@@ -7092,6 +7491,7 @@ var ApiModule = /** @class */ (function () {
|
|
|
7092
7491
|
CreativeTemplateVariablesControllerService,
|
|
7093
7492
|
CreativeTemplatesControllerService,
|
|
7094
7493
|
DashboardControllerService,
|
|
7494
|
+
NotificationsControllerService,
|
|
7095
7495
|
PixelControllerService,
|
|
7096
7496
|
ReportingControllerService,
|
|
7097
7497
|
SliceXControllerService,
|
|
@@ -7110,5 +7510,5 @@ var ApiModule = /** @class */ (function () {
|
|
|
7110
7510
|
* Generated bundle index. Do not edit.
|
|
7111
7511
|
*/
|
|
7112
7512
|
|
|
7113
|
-
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AppsFlyerAudienceControllerService, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AuditControllerService, BASE_PATH, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, DcoAttributesDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyQuickEditDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties };
|
|
7513
|
+
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AppsFlyerAudienceControllerService, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AudienceESDTO, AuditControllerService, BASE_PATH, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, DcoAttributesDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyQuickEditDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties };
|
|
7114
7514
|
//# sourceMappingURL=revxui-api-clients-ts.js.map
|