@revxui/api-clients-ts 0.10.339 → 0.10.341
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 +26 -0
- package/api/strategyController.service.d.ts +0 -13
- package/bundles/revxui-api-clients-ts.umd.js +72 -39
- 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 +69 -1
- package/esm2015/api/strategyController.service.js +1 -38
- package/esm2015/model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse.js +2 -0
- package/esm2015/model/audienceAnalysisRequest.js +13 -0
- package/esm2015/model/combinedAudienceAnalysisResponse.js +13 -0
- package/esm2015/model/models.js +4 -1
- package/esm2015/model/searchRequest.js +1 -1
- package/fesm2015/revxui-api-clients-ts.js +92 -37
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse.d.ts +17 -0
- package/model/audienceAnalysisRequest.d.ts +17 -0
- package/model/combinedAudienceAnalysisResponse.d.ts +19 -0
- package/model/models.d.ts +3 -0
- package/model/searchRequest.d.ts +1 -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.341
|
|
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.341 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
13
13
|
import { Observable } from 'rxjs';
|
|
14
14
|
import { ApiResponseObjectApiListResponseAudiencePerformanceDTO } from '../model/apiResponseObjectApiListResponseAudiencePerformanceDTO';
|
|
15
|
+
import { ApiResponseObjectArrayListCombinedAudienceAnalysisResponse } from '../model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse';
|
|
15
16
|
import { ApiResponseObjectAudienceAccessDTO } from '../model/apiResponseObjectAudienceAccessDTO';
|
|
16
17
|
import { ApiResponseObjectAudienceDTO } from '../model/apiResponseObjectAudienceDTO';
|
|
17
18
|
import { ApiResponseObjectBaseModel } from '../model/apiResponseObjectBaseModel';
|
|
@@ -25,6 +26,7 @@ import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObj
|
|
|
25
26
|
import { ApiResponseObjectMetaRulesDto } from '../model/apiResponseObjectMetaRulesDto';
|
|
26
27
|
import { ApiResponseObjectResponseMessage } from '../model/apiResponseObjectResponseMessage';
|
|
27
28
|
import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
|
|
29
|
+
import { AudienceAnalysisRequest } from '../model/audienceAnalysisRequest';
|
|
28
30
|
import { AudienceBackfillQueryTemplateRequest } from '../model/audienceBackfillQueryTemplateRequest';
|
|
29
31
|
import { AudienceBackfillRequest } from '../model/audienceBackfillRequest';
|
|
30
32
|
import { AudienceDTO } from '../model/audienceDTO';
|
|
@@ -172,6 +174,18 @@ export declare class AudienceControllerService {
|
|
|
172
174
|
getAllDmpAudienceUsingGET(advertiser_id: number, limit?: number, reqId?: string, start?: number, stype?: number, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDmpAudienceDTO>;
|
|
173
175
|
getAllDmpAudienceUsingGET(advertiser_id: number, limit?: number, reqId?: string, start?: number, stype?: number, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDmpAudienceDTO>>;
|
|
174
176
|
getAllDmpAudienceUsingGET(advertiser_id: number, limit?: number, reqId?: string, start?: number, stype?: number, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDmpAudienceDTO>>;
|
|
177
|
+
/**
|
|
178
|
+
* APi to get audience analysis count
|
|
179
|
+
*
|
|
180
|
+
* @param audienceAnalysisRequest audienceAnalysisRequest
|
|
181
|
+
* @param reqId request id
|
|
182
|
+
* @param token Auth Token
|
|
183
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
184
|
+
* @param reportProgress flag to report request and response progress.
|
|
185
|
+
*/
|
|
186
|
+
getAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectEligibleUsersResponse>;
|
|
187
|
+
getAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectEligibleUsersResponse>>;
|
|
188
|
+
getAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectEligibleUsersResponse>>;
|
|
175
189
|
/**
|
|
176
190
|
* Api to get Audience
|
|
177
191
|
*
|
|
@@ -201,6 +215,18 @@ export declare class AudienceControllerService {
|
|
|
201
215
|
getChartDataUsingPOST(audienceType: 'WEB_BROWSING' | 'MOBILE_APP' | 'DMP' | 'CRM' | 'RULE_BASED' | 'RULE_BASED_BACKFILL' | 'CRM_EMAIL' | 'CRM_PHONE' | 'LOOKALIKE_AUDIENCE' | 'FACEBOOK_ID', dashboardRequest: DashboardRequest, id: number, metric: string, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectChartDashboardResponse>;
|
|
202
216
|
getChartDataUsingPOST(audienceType: 'WEB_BROWSING' | 'MOBILE_APP' | 'DMP' | 'CRM' | 'RULE_BASED' | 'RULE_BASED_BACKFILL' | 'CRM_EMAIL' | 'CRM_PHONE' | 'LOOKALIKE_AUDIENCE' | 'FACEBOOK_ID', dashboardRequest: DashboardRequest, id: number, metric: string, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectChartDashboardResponse>>;
|
|
203
217
|
getChartDataUsingPOST(audienceType: 'WEB_BROWSING' | 'MOBILE_APP' | 'DMP' | 'CRM' | 'RULE_BASED' | 'RULE_BASED_BACKFILL' | 'CRM_EMAIL' | 'CRM_PHONE' | 'LOOKALIKE_AUDIENCE' | 'FACEBOOK_ID', dashboardRequest: DashboardRequest, id: number, metric: string, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectChartDashboardResponse>>;
|
|
218
|
+
/**
|
|
219
|
+
* APi to get audience analysis count for all combination
|
|
220
|
+
*
|
|
221
|
+
* @param audienceAnalysisRequest audienceAnalysisRequest
|
|
222
|
+
* @param reqId request id
|
|
223
|
+
* @param token Auth Token
|
|
224
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
225
|
+
* @param reportProgress flag to report request and response progress.
|
|
226
|
+
*/
|
|
227
|
+
getCombinedAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectArrayListCombinedAudienceAnalysisResponse>;
|
|
228
|
+
getCombinedAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectArrayListCombinedAudienceAnalysisResponse>>;
|
|
229
|
+
getCombinedAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectArrayListCombinedAudienceAnalysisResponse>>;
|
|
204
230
|
/**
|
|
205
231
|
* Api to get EligibleUsers
|
|
206
232
|
*
|
|
@@ -100,19 +100,6 @@ export declare class StrategyControllerService {
|
|
|
100
100
|
deactivateStrategyUsingPOST(id: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
|
|
101
101
|
deactivateStrategyUsingPOST(id: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
|
|
102
102
|
deactivateStrategyUsingPOST(id: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
|
|
103
|
-
/**
|
|
104
|
-
* Api to disassociate strategy to creative set
|
|
105
|
-
*
|
|
106
|
-
* @param creativeSetIdsToBeRemoved creativeSetIdsToBeRemoved
|
|
107
|
-
* @param id id
|
|
108
|
-
* @param reqId request id
|
|
109
|
-
* @param token Auth Token
|
|
110
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
111
|
-
* @param reportProgress flag to report request and response progress.
|
|
112
|
-
*/
|
|
113
|
-
disassociateStrategyWithCreativeSetsUsingPOST(creativeSetIdsToBeRemoved: Array<number>, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectlong>;
|
|
114
|
-
disassociateStrategyWithCreativeSetsUsingPOST(creativeSetIdsToBeRemoved: Array<number>, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectlong>>;
|
|
115
|
-
disassociateStrategyWithCreativeSetsUsingPOST(creativeSetIdsToBeRemoved: Array<number>, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectlong>>;
|
|
116
103
|
/**
|
|
117
104
|
* Api to Create duplicate Strategy
|
|
118
105
|
*
|
|
@@ -1666,6 +1666,42 @@
|
|
|
1666
1666
|
reportProgress: reportProgress
|
|
1667
1667
|
});
|
|
1668
1668
|
};
|
|
1669
|
+
AudienceControllerService.prototype.getAnalysisAudienceCountUsingPOST = function (audienceAnalysisRequest, reqId, token, observe, reportProgress) {
|
|
1670
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1671
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1672
|
+
if (audienceAnalysisRequest === null || audienceAnalysisRequest === undefined) {
|
|
1673
|
+
throw new Error('Required parameter audienceAnalysisRequest was null or undefined when calling getAnalysisAudienceCountUsingPOST.');
|
|
1674
|
+
}
|
|
1675
|
+
var headers = this.defaultHeaders;
|
|
1676
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1677
|
+
headers = headers.set('reqId', String(reqId));
|
|
1678
|
+
}
|
|
1679
|
+
if (token !== undefined && token !== null) {
|
|
1680
|
+
headers = headers.set('token', String(token));
|
|
1681
|
+
}
|
|
1682
|
+
// to determine the Accept header
|
|
1683
|
+
var httpHeaderAccepts = [
|
|
1684
|
+
'*/*'
|
|
1685
|
+
];
|
|
1686
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1687
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1688
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1689
|
+
}
|
|
1690
|
+
// to determine the Content-Type header
|
|
1691
|
+
var consumes = [
|
|
1692
|
+
'application/json'
|
|
1693
|
+
];
|
|
1694
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1695
|
+
if (httpContentTypeSelected != undefined) {
|
|
1696
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1697
|
+
}
|
|
1698
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/audienceanalysis", audienceAnalysisRequest, {
|
|
1699
|
+
withCredentials: this.configuration.withCredentials,
|
|
1700
|
+
headers: headers,
|
|
1701
|
+
observe: observe,
|
|
1702
|
+
reportProgress: reportProgress
|
|
1703
|
+
});
|
|
1704
|
+
};
|
|
1669
1705
|
AudienceControllerService.prototype.getByIdUsingGET1 = function (id, refresh, reqId, token, observe, reportProgress) {
|
|
1670
1706
|
if (observe === void 0) { observe = 'body'; }
|
|
1671
1707
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -1760,6 +1796,42 @@
|
|
|
1760
1796
|
reportProgress: reportProgress
|
|
1761
1797
|
});
|
|
1762
1798
|
};
|
|
1799
|
+
AudienceControllerService.prototype.getCombinedAnalysisAudienceCountUsingPOST = function (audienceAnalysisRequest, reqId, token, observe, reportProgress) {
|
|
1800
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1801
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1802
|
+
if (audienceAnalysisRequest === null || audienceAnalysisRequest === undefined) {
|
|
1803
|
+
throw new Error('Required parameter audienceAnalysisRequest was null or undefined when calling getCombinedAnalysisAudienceCountUsingPOST.');
|
|
1804
|
+
}
|
|
1805
|
+
var headers = this.defaultHeaders;
|
|
1806
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1807
|
+
headers = headers.set('reqId', String(reqId));
|
|
1808
|
+
}
|
|
1809
|
+
if (token !== undefined && token !== null) {
|
|
1810
|
+
headers = headers.set('token', String(token));
|
|
1811
|
+
}
|
|
1812
|
+
// to determine the Accept header
|
|
1813
|
+
var httpHeaderAccepts = [
|
|
1814
|
+
'*/*'
|
|
1815
|
+
];
|
|
1816
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1817
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1818
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1819
|
+
}
|
|
1820
|
+
// to determine the Content-Type header
|
|
1821
|
+
var consumes = [
|
|
1822
|
+
'application/json'
|
|
1823
|
+
];
|
|
1824
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1825
|
+
if (httpContentTypeSelected != undefined) {
|
|
1826
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1827
|
+
}
|
|
1828
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/audienceanalysis/combination", audienceAnalysisRequest, {
|
|
1829
|
+
withCredentials: this.configuration.withCredentials,
|
|
1830
|
+
headers: headers,
|
|
1831
|
+
observe: observe,
|
|
1832
|
+
reportProgress: reportProgress
|
|
1833
|
+
});
|
|
1834
|
+
};
|
|
1763
1835
|
AudienceControllerService.prototype.getEligibleUsersCountUsingPOST = function (eligibleUsersRequest, reqId, token, observe, reportProgress) {
|
|
1764
1836
|
if (observe === void 0) { observe = 'body'; }
|
|
1765
1837
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -6625,45 +6697,6 @@
|
|
|
6625
6697
|
reportProgress: reportProgress
|
|
6626
6698
|
});
|
|
6627
6699
|
};
|
|
6628
|
-
StrategyControllerService.prototype.disassociateStrategyWithCreativeSetsUsingPOST = function (creativeSetIdsToBeRemoved, id, reqId, token, observe, reportProgress) {
|
|
6629
|
-
if (observe === void 0) { observe = 'body'; }
|
|
6630
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
6631
|
-
if (creativeSetIdsToBeRemoved === null || creativeSetIdsToBeRemoved === undefined) {
|
|
6632
|
-
throw new Error('Required parameter creativeSetIdsToBeRemoved was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
|
|
6633
|
-
}
|
|
6634
|
-
if (id === null || id === undefined) {
|
|
6635
|
-
throw new Error('Required parameter id was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
|
|
6636
|
-
}
|
|
6637
|
-
var headers = this.defaultHeaders;
|
|
6638
|
-
if (reqId !== undefined && reqId !== null) {
|
|
6639
|
-
headers = headers.set('reqId', String(reqId));
|
|
6640
|
-
}
|
|
6641
|
-
if (token !== undefined && token !== null) {
|
|
6642
|
-
headers = headers.set('token', String(token));
|
|
6643
|
-
}
|
|
6644
|
-
// to determine the Accept header
|
|
6645
|
-
var httpHeaderAccepts = [
|
|
6646
|
-
'application/json'
|
|
6647
|
-
];
|
|
6648
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6649
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
6650
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6651
|
-
}
|
|
6652
|
-
// to determine the Content-Type header
|
|
6653
|
-
var consumes = [
|
|
6654
|
-
'application/json'
|
|
6655
|
-
];
|
|
6656
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6657
|
-
if (httpContentTypeSelected != undefined) {
|
|
6658
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6659
|
-
}
|
|
6660
|
-
return this.httpClient.post(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/disassociate/creativesets", creativeSetIdsToBeRemoved, {
|
|
6661
|
-
withCredentials: this.configuration.withCredentials,
|
|
6662
|
-
headers: headers,
|
|
6663
|
-
observe: observe,
|
|
6664
|
-
reportProgress: reportProgress
|
|
6665
|
-
});
|
|
6666
|
-
};
|
|
6667
6700
|
StrategyControllerService.prototype.duplicateStrategyUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
|
|
6668
6701
|
if (observe === void 0) { observe = 'body'; }
|
|
6669
6702
|
if (reportProgress === void 0) { reportProgress = false; }
|