@revxui/api-clients-ts 0.10.245 → 0.10.248
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 +14 -0
- package/api/creativeSetsController.service.d.ts +14 -0
- package/bundles/revxui-api-clients-ts.umd.js +75 -0
- 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 +35 -1
- package/esm2015/api/creativeSetsController.service.js +38 -1
- package/esm2015/model/apiResponseObjectEligibleUsersResponse.js +1 -0
- package/esm2015/model/creativeDTO.js +1 -1
- package/esm2015/model/creativeFileForSet.js +1 -1
- package/esm2015/model/creativeFiles.js +1 -1
- package/esm2015/model/duplicateCreativeSetsRequestDTO.js +1 -0
- package/esm2015/model/eligibleUsersRequest.js +12 -0
- package/esm2015/model/eligibleUsersResponse.js +12 -0
- package/esm2015/model/metaRuleDto.js +1 -1
- package/esm2015/model/models.js +1 -1
- package/esm5/api/audienceController.service.js +37 -1
- package/esm5/api/creativeSetsController.service.js +40 -1
- package/esm5/model/apiResponseObjectEligibleUsersResponse.js +1 -0
- package/esm5/model/creativeDTO.js +1 -1
- package/esm5/model/creativeFileForSet.js +1 -1
- package/esm5/model/creativeFiles.js +1 -1
- package/esm5/model/duplicateCreativeSetsRequestDTO.js +1 -0
- package/esm5/model/eligibleUsersRequest.js +12 -0
- package/esm5/model/eligibleUsersResponse.js +12 -0
- package/esm5/model/metaRuleDto.js +1 -1
- package/esm5/model/models.js +1 -1
- package/fesm2015/revxui-api-clients-ts.js +71 -0
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +75 -0
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/apiResponseObjectEligibleUsersResponse.d.ts +17 -0
- package/model/creativeDTO.d.ts +2 -0
- package/model/creativeFileForSet.d.ts +2 -0
- package/model/creativeFiles.d.ts +2 -0
- package/model/duplicateCreativeSetsRequestDTO.d.ts +21 -0
- package/model/eligibleUsersRequest.d.ts +24 -0
- package/model/eligibleUsersResponse.d.ts +14 -0
- package/model/metaRuleDto.d.ts +1 -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.248
|
|
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.248 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -17,12 +17,14 @@ import { ApiResponseObjectAudienceDTO } from '../model/apiResponseObjectAudience
|
|
|
17
17
|
import { ApiResponseObjectBaseModel } from '../model/apiResponseObjectBaseModel';
|
|
18
18
|
import { ApiResponseObjectChartDashboardResponse } from '../model/apiResponseObjectChartDashboardResponse';
|
|
19
19
|
import { ApiResponseObjectDmpAudienceDTO } from '../model/apiResponseObjectDmpAudienceDTO';
|
|
20
|
+
import { ApiResponseObjectEligibleUsersResponse } from '../model/apiResponseObjectEligibleUsersResponse';
|
|
20
21
|
import { ApiResponseObjectListAudienceDTO } from '../model/apiResponseObjectListAudienceDTO';
|
|
21
22
|
import { ApiResponseObjectMapintResponseMessage } from '../model/apiResponseObjectMapintResponseMessage';
|
|
22
23
|
import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObjectMaplongResponseMessage';
|
|
23
24
|
import { ApiResponseObjectMetaRulesDto } from '../model/apiResponseObjectMetaRulesDto';
|
|
24
25
|
import { AudienceDTO } from '../model/audienceDTO';
|
|
25
26
|
import { DashboardRequest } from '../model/dashboardRequest';
|
|
27
|
+
import { EligibleUsersRequest } from '../model/eligibleUsersRequest';
|
|
26
28
|
import { PixelRemoteConfigDTO } from '../model/pixelRemoteConfigDTO';
|
|
27
29
|
import { PlatformAudienceDTO } from '../model/platformAudienceDTO';
|
|
28
30
|
import { SearchRequest } from '../model/searchRequest';
|
|
@@ -181,6 +183,18 @@ export declare class AudienceControllerService {
|
|
|
181
183
|
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>;
|
|
182
184
|
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>>;
|
|
183
185
|
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>>;
|
|
186
|
+
/**
|
|
187
|
+
* Api to get EligibleUsers
|
|
188
|
+
*
|
|
189
|
+
* @param eligibleUsersRequest eligibleUsersRequest
|
|
190
|
+
* @param reqId request id
|
|
191
|
+
* @param token Auth Token
|
|
192
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
193
|
+
* @param reportProgress flag to report request and response progress.
|
|
194
|
+
*/
|
|
195
|
+
getEligibleUsersCountUsingPOST(eligibleUsersRequest: EligibleUsersRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectEligibleUsersResponse>;
|
|
196
|
+
getEligibleUsersCountUsingPOST(eligibleUsersRequest: EligibleUsersRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectEligibleUsersResponse>>;
|
|
197
|
+
getEligibleUsersCountUsingPOST(eligibleUsersRequest: EligibleUsersRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectEligibleUsersResponse>>;
|
|
184
198
|
/**
|
|
185
199
|
* Api to get Audience Meta Rule
|
|
186
200
|
*
|
|
@@ -19,6 +19,7 @@ import { ApiResponseObjectDashboardMetrics } from '../model/apiResponseObjectDas
|
|
|
19
19
|
import { ApiResponseObjectDashboardResponse } from '../model/apiResponseObjectDashboardResponse';
|
|
20
20
|
import { CreativeSetRequest } from '../model/creativeSetRequest';
|
|
21
21
|
import { DashboardRequest } from '../model/dashboardRequest';
|
|
22
|
+
import { DuplicateCreativeSetsRequestDTO } from '../model/duplicateCreativeSetsRequestDTO';
|
|
22
23
|
import { Configuration } from '../configuration';
|
|
23
24
|
export declare class CreativeSetsControllerService {
|
|
24
25
|
protected httpClient: HttpClient;
|
|
@@ -43,6 +44,19 @@ export declare class CreativeSetsControllerService {
|
|
|
43
44
|
createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectCreativeSetResponse>;
|
|
44
45
|
createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectCreativeSetResponse>>;
|
|
45
46
|
createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectCreativeSetResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Api to duplicate creative sets
|
|
49
|
+
*
|
|
50
|
+
* @param dto dto
|
|
51
|
+
* @param id id
|
|
52
|
+
* @param reqId request id
|
|
53
|
+
* @param token Auth Token
|
|
54
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
55
|
+
* @param reportProgress flag to report request and response progress.
|
|
56
|
+
*/
|
|
57
|
+
duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectCreativeSetResponse>;
|
|
58
|
+
duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectCreativeSetResponse>>;
|
|
59
|
+
duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectCreativeSetResponse>>;
|
|
46
60
|
/**
|
|
47
61
|
* Api to get creative sets dimension details
|
|
48
62
|
*
|
|
@@ -1600,6 +1600,42 @@
|
|
|
1600
1600
|
reportProgress: reportProgress
|
|
1601
1601
|
});
|
|
1602
1602
|
};
|
|
1603
|
+
AudienceControllerService.prototype.getEligibleUsersCountUsingPOST = function (eligibleUsersRequest, reqId, token, observe, reportProgress) {
|
|
1604
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1605
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1606
|
+
if (eligibleUsersRequest === null || eligibleUsersRequest === undefined) {
|
|
1607
|
+
throw new Error('Required parameter eligibleUsersRequest was null or undefined when calling getEligibleUsersCountUsingPOST.');
|
|
1608
|
+
}
|
|
1609
|
+
var headers = this.defaultHeaders;
|
|
1610
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1611
|
+
headers = headers.set('reqId', String(reqId));
|
|
1612
|
+
}
|
|
1613
|
+
if (token !== undefined && token !== null) {
|
|
1614
|
+
headers = headers.set('token', String(token));
|
|
1615
|
+
}
|
|
1616
|
+
// to determine the Accept header
|
|
1617
|
+
var httpHeaderAccepts = [
|
|
1618
|
+
'*/*'
|
|
1619
|
+
];
|
|
1620
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1621
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1622
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1623
|
+
}
|
|
1624
|
+
// to determine the Content-Type header
|
|
1625
|
+
var consumes = [
|
|
1626
|
+
'application/json'
|
|
1627
|
+
];
|
|
1628
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1629
|
+
if (httpContentTypeSelected != undefined) {
|
|
1630
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1631
|
+
}
|
|
1632
|
+
return this.httpClient.post(this.basePath + "/v2/api/audience/eligibleusers", eligibleUsersRequest, {
|
|
1633
|
+
withCredentials: this.configuration.withCredentials,
|
|
1634
|
+
headers: headers,
|
|
1635
|
+
observe: observe,
|
|
1636
|
+
reportProgress: reportProgress
|
|
1637
|
+
});
|
|
1638
|
+
};
|
|
1603
1639
|
AudienceControllerService.prototype.getMetaRulesUsingGET = function (reqId, token, observe, reportProgress) {
|
|
1604
1640
|
if (observe === void 0) { observe = 'body'; }
|
|
1605
1641
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -3663,6 +3699,45 @@
|
|
|
3663
3699
|
reportProgress: reportProgress
|
|
3664
3700
|
});
|
|
3665
3701
|
};
|
|
3702
|
+
CreativeSetsControllerService.prototype.duplicateCreativeSetsUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
|
|
3703
|
+
if (observe === void 0) { observe = 'body'; }
|
|
3704
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
3705
|
+
if (dto === null || dto === undefined) {
|
|
3706
|
+
throw new Error('Required parameter dto was null or undefined when calling duplicateCreativeSetsUsingPOST.');
|
|
3707
|
+
}
|
|
3708
|
+
if (id === null || id === undefined) {
|
|
3709
|
+
throw new Error('Required parameter id was null or undefined when calling duplicateCreativeSetsUsingPOST.');
|
|
3710
|
+
}
|
|
3711
|
+
var headers = this.defaultHeaders;
|
|
3712
|
+
if (reqId !== undefined && reqId !== null) {
|
|
3713
|
+
headers = headers.set('reqId', String(reqId));
|
|
3714
|
+
}
|
|
3715
|
+
if (token !== undefined && token !== null) {
|
|
3716
|
+
headers = headers.set('token', String(token));
|
|
3717
|
+
}
|
|
3718
|
+
// to determine the Accept header
|
|
3719
|
+
var httpHeaderAccepts = [
|
|
3720
|
+
'application/json'
|
|
3721
|
+
];
|
|
3722
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3723
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
3724
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3725
|
+
}
|
|
3726
|
+
// to determine the Content-Type header
|
|
3727
|
+
var consumes = [
|
|
3728
|
+
'application/json'
|
|
3729
|
+
];
|
|
3730
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3731
|
+
if (httpContentTypeSelected != undefined) {
|
|
3732
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
3733
|
+
}
|
|
3734
|
+
return this.httpClient.post(this.basePath + "/v2/api/creativesets/duplicate/" + encodeURIComponent(String(id)), dto, {
|
|
3735
|
+
withCredentials: this.configuration.withCredentials,
|
|
3736
|
+
headers: headers,
|
|
3737
|
+
observe: observe,
|
|
3738
|
+
reportProgress: reportProgress
|
|
3739
|
+
});
|
|
3740
|
+
};
|
|
3666
3741
|
CreativeSetsControllerService.prototype.getAdvertiserDynamicDetailsUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
|
|
3667
3742
|
if (observe === void 0) { observe = 'body'; }
|
|
3668
3743
|
if (reportProgress === void 0) { reportProgress = false; }
|