@revxui/api-clients-ts 0.10.341 → 0.10.343
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/strategyController.service.d.ts +13 -0
- package/bundles/revxui-api-clients-ts.umd.js +39 -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/strategyController.service.js +38 -1
- package/fesm2015/revxui-api-clients-ts.js +37 -0
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- 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.343
|
|
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.343 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -100,6 +100,19 @@ 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>>;
|
|
103
116
|
/**
|
|
104
117
|
* Api to Create duplicate Strategy
|
|
105
118
|
*
|
|
@@ -6697,6 +6697,45 @@
|
|
|
6697
6697
|
reportProgress: reportProgress
|
|
6698
6698
|
});
|
|
6699
6699
|
};
|
|
6700
|
+
StrategyControllerService.prototype.disassociateStrategyWithCreativeSetsUsingPOST = function (creativeSetIdsToBeRemoved, id, reqId, token, observe, reportProgress) {
|
|
6701
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6702
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6703
|
+
if (creativeSetIdsToBeRemoved === null || creativeSetIdsToBeRemoved === undefined) {
|
|
6704
|
+
throw new Error('Required parameter creativeSetIdsToBeRemoved was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
|
|
6705
|
+
}
|
|
6706
|
+
if (id === null || id === undefined) {
|
|
6707
|
+
throw new Error('Required parameter id was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
|
|
6708
|
+
}
|
|
6709
|
+
var headers = this.defaultHeaders;
|
|
6710
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6711
|
+
headers = headers.set('reqId', String(reqId));
|
|
6712
|
+
}
|
|
6713
|
+
if (token !== undefined && token !== null) {
|
|
6714
|
+
headers = headers.set('token', String(token));
|
|
6715
|
+
}
|
|
6716
|
+
// to determine the Accept header
|
|
6717
|
+
var httpHeaderAccepts = [
|
|
6718
|
+
'application/json'
|
|
6719
|
+
];
|
|
6720
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6721
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6722
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6723
|
+
}
|
|
6724
|
+
// to determine the Content-Type header
|
|
6725
|
+
var consumes = [
|
|
6726
|
+
'application/json'
|
|
6727
|
+
];
|
|
6728
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6729
|
+
if (httpContentTypeSelected != undefined) {
|
|
6730
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6731
|
+
}
|
|
6732
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/disassociate/creativesets", creativeSetIdsToBeRemoved, {
|
|
6733
|
+
withCredentials: this.configuration.withCredentials,
|
|
6734
|
+
headers: headers,
|
|
6735
|
+
observe: observe,
|
|
6736
|
+
reportProgress: reportProgress
|
|
6737
|
+
});
|
|
6738
|
+
};
|
|
6700
6739
|
StrategyControllerService.prototype.duplicateStrategyUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
|
|
6701
6740
|
if (observe === void 0) { observe = 'body'; }
|
|
6702
6741
|
if (reportProgress === void 0) { reportProgress = false; }
|