@revxui/api-clients-ts 0.10.317 → 0.10.318
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/audienceController.service.d.ts +33 -4
- package/bundles/revxui-api-clients-ts.umd.js +110 -4
- 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/audienceController.service.js +76 -5
- package/esm2015/model/apiResponseObjectListBackfillAudienceQueryTemplateDTO.js +1 -0
- package/esm2015/model/audienceBackfillQueryTemplateRequest.js +22 -0
- package/esm2015/model/audienceBackfillRequest.js +9 -0
- package/esm2015/model/audienceDTO.js +1 -1
- package/esm2015/model/backfillAudienceQueryTemplateDTO.js +12 -0
- package/esm2015/model/creativePerformanceData.js +1 -1
- package/esm2015/model/models.js +3 -1
- package/esm5/api/audienceController.service.js +80 -5
- package/esm5/model/apiResponseObjectListBackfillAudienceQueryTemplateDTO.js +1 -0
- package/esm5/model/audienceBackfillQueryTemplateRequest.js +22 -0
- package/esm5/model/audienceBackfillRequest.js +9 -0
- package/esm5/model/audienceDTO.js +1 -1
- package/esm5/model/backfillAudienceQueryTemplateDTO.js +12 -0
- package/esm5/model/creativePerformanceData.js +1 -1
- package/esm5/model/models.js +3 -1
- package/fesm2015/revxui-api-clients-ts.js +107 -5
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +111 -5
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/apiResponseObjectListBackfillAudienceQueryTemplateDTO.d.ts +17 -0
- package/model/audienceBackfillQueryTemplateRequest.d.ts +26 -0
- package/model/audienceBackfillRequest.d.ts +25 -0
- package/model/audienceDTO.d.ts +2 -0
- package/model/backfillAudienceQueryTemplateDTO.d.ts +17 -0
- package/model/creativePerformanceData.d.ts +16 -0
- package/model/models.d.ts +4 -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@0.10.
|
|
1
|
+
## @revxui/api-clients-ts@0.10.318
|
|
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@0.10.
|
|
22
|
+
npm install @revxui/api-clients-ts@0.10.318 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -19,10 +19,14 @@ import { ApiResponseObjectChartDashboardResponse } from '../model/apiResponseObj
|
|
|
19
19
|
import { ApiResponseObjectDmpAudienceDTO } from '../model/apiResponseObjectDmpAudienceDTO';
|
|
20
20
|
import { ApiResponseObjectEligibleUsersResponse } from '../model/apiResponseObjectEligibleUsersResponse';
|
|
21
21
|
import { ApiResponseObjectListAudienceDTO } from '../model/apiResponseObjectListAudienceDTO';
|
|
22
|
+
import { ApiResponseObjectListBackfillAudienceQueryTemplateDTO } from '../model/apiResponseObjectListBackfillAudienceQueryTemplateDTO';
|
|
22
23
|
import { ApiResponseObjectMapintResponseMessage } from '../model/apiResponseObjectMapintResponseMessage';
|
|
23
24
|
import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObjectMaplongResponseMessage';
|
|
24
25
|
import { ApiResponseObjectMetaRulesDto } from '../model/apiResponseObjectMetaRulesDto';
|
|
26
|
+
import { ApiResponseObjectResponseMessage } from '../model/apiResponseObjectResponseMessage';
|
|
25
27
|
import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
|
|
28
|
+
import { AudienceBackfillQueryTemplateRequest } from '../model/audienceBackfillQueryTemplateRequest';
|
|
29
|
+
import { AudienceBackfillRequest } from '../model/audienceBackfillRequest';
|
|
26
30
|
import { AudienceDTO } from '../model/audienceDTO';
|
|
27
31
|
import { DashboardRequest } from '../model/dashboardRequest';
|
|
28
32
|
import { EligibleUsersRequest } from '../model/eligibleUsersRequest';
|
|
@@ -69,15 +73,15 @@ export declare class AudienceControllerService {
|
|
|
69
73
|
/**
|
|
70
74
|
* Api to add a backfile rule to the audience
|
|
71
75
|
*
|
|
72
|
-
* @param
|
|
76
|
+
* @param request request
|
|
73
77
|
* @param reqId request id
|
|
74
78
|
* @param token Auth Token
|
|
75
79
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
76
80
|
* @param reportProgress flag to report request and response progress.
|
|
77
81
|
*/
|
|
78
|
-
addBackfillRuleUsingPOST(
|
|
79
|
-
addBackfillRuleUsingPOST(
|
|
80
|
-
addBackfillRuleUsingPOST(
|
|
82
|
+
addBackfillRuleUsingPOST(request: AudienceBackfillRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
|
|
83
|
+
addBackfillRuleUsingPOST(request: AudienceBackfillRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
|
|
84
|
+
addBackfillRuleUsingPOST(request: AudienceBackfillRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
|
|
81
85
|
/**
|
|
82
86
|
* Create to checkConnection.
|
|
83
87
|
*
|
|
@@ -126,6 +130,19 @@ export declare class AudienceControllerService {
|
|
|
126
130
|
getAccessUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectAudienceAccessDTO>;
|
|
127
131
|
getAccessUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectAudienceAccessDTO>>;
|
|
128
132
|
getAccessUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectAudienceAccessDTO>>;
|
|
133
|
+
/**
|
|
134
|
+
* Api to fetch all active templates
|
|
135
|
+
*
|
|
136
|
+
* @param id id
|
|
137
|
+
* @param request request
|
|
138
|
+
* @param reqId request id
|
|
139
|
+
* @param token Auth Token
|
|
140
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
141
|
+
* @param reportProgress flag to report request and response progress.
|
|
142
|
+
*/
|
|
143
|
+
getActiveTemplatesUsingPOST(id: number, request: AudienceBackfillQueryTemplateRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListBackfillAudienceQueryTemplateDTO>;
|
|
144
|
+
getActiveTemplatesUsingPOST(id: number, request: AudienceBackfillQueryTemplateRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListBackfillAudienceQueryTemplateDTO>>;
|
|
145
|
+
getActiveTemplatesUsingPOST(id: number, request: AudienceBackfillQueryTemplateRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListBackfillAudienceQueryTemplateDTO>>;
|
|
129
146
|
/**
|
|
130
147
|
* Api to get All Audience
|
|
131
148
|
*
|
|
@@ -268,4 +285,16 @@ export declare class AudienceControllerService {
|
|
|
268
285
|
updateAudienceUsingPOST(audience: AudienceDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectAudienceDTO>;
|
|
269
286
|
updateAudienceUsingPOST(audience: AudienceDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectAudienceDTO>>;
|
|
270
287
|
updateAudienceUsingPOST(audience: AudienceDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectAudienceDTO>>;
|
|
288
|
+
/**
|
|
289
|
+
* Api to validate a backfill rule
|
|
290
|
+
*
|
|
291
|
+
* @param query query
|
|
292
|
+
* @param reqId request id
|
|
293
|
+
* @param token Auth Token
|
|
294
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
295
|
+
* @param reportProgress flag to report request and response progress.
|
|
296
|
+
*/
|
|
297
|
+
validateBackfillRuleUsingPOST(query: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectResponseMessage>;
|
|
298
|
+
validateBackfillRuleUsingPOST(query: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectResponseMessage>>;
|
|
299
|
+
validateBackfillRuleUsingPOST(query: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectResponseMessage>>;
|
|
271
300
|
}
|
|
@@ -1246,11 +1246,11 @@
|
|
|
1246
1246
|
reportProgress: reportProgress
|
|
1247
1247
|
});
|
|
1248
1248
|
};
|
|
1249
|
-
AudienceControllerService.prototype.addBackfillRuleUsingPOST = function (
|
|
1249
|
+
AudienceControllerService.prototype.addBackfillRuleUsingPOST = function (request, reqId, token, observe, reportProgress) {
|
|
1250
1250
|
if (observe === void 0) { observe = 'body'; }
|
|
1251
1251
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
1252
|
-
if (
|
|
1253
|
-
throw new Error('Required parameter
|
|
1252
|
+
if (request === null || request === undefined) {
|
|
1253
|
+
throw new Error('Required parameter request was null or undefined when calling addBackfillRuleUsingPOST.');
|
|
1254
1254
|
}
|
|
1255
1255
|
var headers = this.defaultHeaders;
|
|
1256
1256
|
if (reqId !== undefined && reqId !== null) {
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
if (httpContentTypeSelected != undefined) {
|
|
1276
1276
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1277
1277
|
}
|
|
1278
|
-
return this.httpClient.post(this.basePath + "/v2/api/audience/addbackfillrule",
|
|
1278
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/addbackfillrule", request, {
|
|
1279
1279
|
withCredentials: this.configuration.withCredentials,
|
|
1280
1280
|
headers: headers,
|
|
1281
1281
|
observe: observe,
|
|
@@ -1421,6 +1421,45 @@
|
|
|
1421
1421
|
reportProgress: reportProgress
|
|
1422
1422
|
});
|
|
1423
1423
|
};
|
|
1424
|
+
AudienceControllerService.prototype.getActiveTemplatesUsingPOST = function (id, request, reqId, token, observe, reportProgress) {
|
|
1425
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1426
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1427
|
+
if (id === null || id === undefined) {
|
|
1428
|
+
throw new Error('Required parameter id was null or undefined when calling getActiveTemplatesUsingPOST.');
|
|
1429
|
+
}
|
|
1430
|
+
if (request === null || request === undefined) {
|
|
1431
|
+
throw new Error('Required parameter request was null or undefined when calling getActiveTemplatesUsingPOST.');
|
|
1432
|
+
}
|
|
1433
|
+
var headers = this.defaultHeaders;
|
|
1434
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1435
|
+
headers = headers.set('reqId', String(reqId));
|
|
1436
|
+
}
|
|
1437
|
+
if (token !== undefined && token !== null) {
|
|
1438
|
+
headers = headers.set('token', String(token));
|
|
1439
|
+
}
|
|
1440
|
+
// to determine the Accept header
|
|
1441
|
+
var httpHeaderAccepts = [
|
|
1442
|
+
'application/json'
|
|
1443
|
+
];
|
|
1444
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1445
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1446
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1447
|
+
}
|
|
1448
|
+
// to determine the Content-Type header
|
|
1449
|
+
var consumes = [
|
|
1450
|
+
'application/json'
|
|
1451
|
+
];
|
|
1452
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1453
|
+
if (httpContentTypeSelected != undefined) {
|
|
1454
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1455
|
+
}
|
|
1456
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/activetemplates/" + encodeURIComponent(String(id)), request, {
|
|
1457
|
+
withCredentials: this.configuration.withCredentials,
|
|
1458
|
+
headers: headers,
|
|
1459
|
+
observe: observe,
|
|
1460
|
+
reportProgress: reportProgress
|
|
1461
|
+
});
|
|
1462
|
+
};
|
|
1424
1463
|
AudienceControllerService.prototype.getAllAudienceUsingPOST = function (advertiser_id, refresh, reqId, search, token, observe, reportProgress) {
|
|
1425
1464
|
if (observe === void 0) { observe = 'body'; }
|
|
1426
1465
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -1838,6 +1877,42 @@
|
|
|
1838
1877
|
reportProgress: reportProgress
|
|
1839
1878
|
});
|
|
1840
1879
|
};
|
|
1880
|
+
AudienceControllerService.prototype.validateBackfillRuleUsingPOST = function (query, reqId, token, observe, reportProgress) {
|
|
1881
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1882
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1883
|
+
if (query === null || query === undefined) {
|
|
1884
|
+
throw new Error('Required parameter query was null or undefined when calling validateBackfillRuleUsingPOST.');
|
|
1885
|
+
}
|
|
1886
|
+
var headers = this.defaultHeaders;
|
|
1887
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1888
|
+
headers = headers.set('reqId', String(reqId));
|
|
1889
|
+
}
|
|
1890
|
+
if (token !== undefined && token !== null) {
|
|
1891
|
+
headers = headers.set('token', String(token));
|
|
1892
|
+
}
|
|
1893
|
+
// to determine the Accept header
|
|
1894
|
+
var httpHeaderAccepts = [
|
|
1895
|
+
'application/json'
|
|
1896
|
+
];
|
|
1897
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1898
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1899
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1900
|
+
}
|
|
1901
|
+
// to determine the Content-Type header
|
|
1902
|
+
var consumes = [
|
|
1903
|
+
'application/json'
|
|
1904
|
+
];
|
|
1905
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1906
|
+
if (httpContentTypeSelected != undefined) {
|
|
1907
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1908
|
+
}
|
|
1909
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/validatebackfillrule", query, {
|
|
1910
|
+
withCredentials: this.configuration.withCredentials,
|
|
1911
|
+
headers: headers,
|
|
1912
|
+
observe: observe,
|
|
1913
|
+
reportProgress: reportProgress
|
|
1914
|
+
});
|
|
1915
|
+
};
|
|
1841
1916
|
AudienceControllerService.ctorParameters = function () { return [
|
|
1842
1917
|
{ type: http.HttpClient },
|
|
1843
1918
|
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
@@ -7347,6 +7422,37 @@
|
|
|
7347
7422
|
};
|
|
7348
7423
|
})(exports.AuctionTypeEditField || (exports.AuctionTypeEditField = {}));
|
|
7349
7424
|
|
|
7425
|
+
/**
|
|
7426
|
+
* Api Documentation
|
|
7427
|
+
* Api Documentation
|
|
7428
|
+
*
|
|
7429
|
+
* OpenAPI spec version: 1.0
|
|
7430
|
+
*
|
|
7431
|
+
*
|
|
7432
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
7433
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
7434
|
+
* Do not edit the class manually.
|
|
7435
|
+
*/
|
|
7436
|
+
|
|
7437
|
+
(function (AudienceBackfillQueryTemplateRequest) {
|
|
7438
|
+
AudienceBackfillQueryTemplateRequest.DurationUnitEnum = {
|
|
7439
|
+
MINUTE: 'MINUTE',
|
|
7440
|
+
HOUR: 'HOUR',
|
|
7441
|
+
DAY: 'DAY',
|
|
7442
|
+
WEEK: 'WEEK',
|
|
7443
|
+
MONTH: 'MONTH'
|
|
7444
|
+
};
|
|
7445
|
+
})(exports.AudienceBackfillQueryTemplateRequest || (exports.AudienceBackfillQueryTemplateRequest = {}));
|
|
7446
|
+
|
|
7447
|
+
|
|
7448
|
+
(function (AudienceBackfillRequest) {
|
|
7449
|
+
AudienceBackfillRequest.BackfillScheduleEnum = {
|
|
7450
|
+
ONLYONCE: 'ONLY_ONCE',
|
|
7451
|
+
ONCEADAY: 'ONCE_A_DAY',
|
|
7452
|
+
ONCEAWEEK: 'ONCE_A_WEEK'
|
|
7453
|
+
};
|
|
7454
|
+
})(exports.AudienceBackfillRequest || (exports.AudienceBackfillRequest = {}));
|
|
7455
|
+
|
|
7350
7456
|
|
|
7351
7457
|
(function (AudienceDTO) {
|
|
7352
7458
|
AudienceDTO.AudienceTypeEnum = {
|