@revxui/api-clients-ts 1.1.321 → 1.1.333
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/campaignController.service.d.ts +14 -0
- package/api/strategyController.service.d.ts +14 -0
- package/esm2020/api/campaignController.service.mjs +40 -1
- package/esm2020/api/strategyController.service.mjs +35 -1
- package/esm2020/model/apiResponseObjectCampaignDTOList.mjs +2 -0
- package/esm2020/model/apiResponseObjectListStrategy.mjs +2 -0
- package/esm2020/model/budgetCapStrategyDTO.mjs +2 -0
- package/esm2020/model/budgetCheckStrategy.mjs +13 -0
- package/esm2020/model/campaignDTO.mjs +1 -1
- package/esm2020/model/campaignDTOList.mjs +2 -0
- package/esm2020/model/campaignESDTO.mjs +1 -1
- package/esm2020/model/models.mjs +6 -1
- package/esm2020/model/strategy.mjs +1 -1
- package/esm2020/model/strategyDTO.mjs +1 -1
- package/fesm2015/revxui-api-clients-ts.mjs +73 -0
- package/fesm2015/revxui-api-clients-ts.mjs.map +1 -1
- package/fesm2020/revxui-api-clients-ts.mjs +85 -0
- package/fesm2020/revxui-api-clients-ts.mjs.map +1 -1
- package/model/apiResponseObjectCampaignDTOList.d.ts +17 -0
- package/model/apiResponseObjectListStrategy.d.ts +17 -0
- package/model/budgetCapStrategyDTO.d.ts +20 -0
- package/model/budgetCheckStrategy.d.ts +17 -0
- package/model/campaignDTO.d.ts +1 -0
- package/model/campaignDTOList.d.ts +15 -0
- package/model/campaignESDTO.d.ts +1 -0
- package/model/models.d.ts +5 -0
- package/model/strategy.d.ts +1 -0
- package/model/strategyDTO.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2825,6 +2825,45 @@ class CampaignControllerService {
|
|
|
2825
2825
|
reportProgress: reportProgress
|
|
2826
2826
|
});
|
|
2827
2827
|
}
|
|
2828
|
+
getCampaignsByIdsUsingPOST(campaignIds, refresh, reqId, token, observe = 'body', reportProgress = false) {
|
|
2829
|
+
if (campaignIds === null || campaignIds === undefined) {
|
|
2830
|
+
throw new Error('Required parameter campaignIds was null or undefined when calling getCampaignsByIdsUsingPOST.');
|
|
2831
|
+
}
|
|
2832
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
2833
|
+
if (refresh !== undefined && refresh !== null) {
|
|
2834
|
+
queryParameters = queryParameters.set('refresh', refresh);
|
|
2835
|
+
}
|
|
2836
|
+
let headers = this.defaultHeaders;
|
|
2837
|
+
if (reqId !== undefined && reqId !== null) {
|
|
2838
|
+
headers = headers.set('reqId', String(reqId));
|
|
2839
|
+
}
|
|
2840
|
+
if (token !== undefined && token !== null) {
|
|
2841
|
+
headers = headers.set('token', String(token));
|
|
2842
|
+
}
|
|
2843
|
+
// to determine the Accept header
|
|
2844
|
+
let httpHeaderAccepts = [
|
|
2845
|
+
'application/json'
|
|
2846
|
+
];
|
|
2847
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2848
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2849
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2850
|
+
}
|
|
2851
|
+
// to determine the Content-Type header
|
|
2852
|
+
const consumes = [
|
|
2853
|
+
'application/json'
|
|
2854
|
+
];
|
|
2855
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2856
|
+
if (httpContentTypeSelected != undefined) {
|
|
2857
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
2858
|
+
}
|
|
2859
|
+
return this.httpClient.post(`${this.basePath}/v2/api/campaigns/ids/`, campaignIds, {
|
|
2860
|
+
params: queryParameters,
|
|
2861
|
+
withCredentials: this.configuration.withCredentials,
|
|
2862
|
+
headers: headers,
|
|
2863
|
+
observe: observe,
|
|
2864
|
+
reportProgress: reportProgress
|
|
2865
|
+
});
|
|
2866
|
+
}
|
|
2828
2867
|
incrementalityReportUsingPOST(incrementalityReportDTO, reqId, token, observe = 'body', reportProgress = false) {
|
|
2829
2868
|
if (incrementalityReportDTO === null || incrementalityReportDTO === undefined) {
|
|
2830
2869
|
throw new Error('Required parameter incrementalityReportDTO was null or undefined when calling incrementalityReportUsingPOST.');
|
|
@@ -8337,6 +8376,40 @@ class StrategyControllerService {
|
|
|
8337
8376
|
reportProgress: reportProgress
|
|
8338
8377
|
});
|
|
8339
8378
|
}
|
|
8379
|
+
updateDailyAdvertiserSpendBudgetForStrategyUsingPOST(budgetCapStrategyDTO, reqId, token, observe = 'body', reportProgress = false) {
|
|
8380
|
+
if (budgetCapStrategyDTO === null || budgetCapStrategyDTO === undefined) {
|
|
8381
|
+
throw new Error('Required parameter budgetCapStrategyDTO was null or undefined when calling updateDailyAdvertiserSpendBudgetForStrategyUsingPOST.');
|
|
8382
|
+
}
|
|
8383
|
+
let headers = this.defaultHeaders;
|
|
8384
|
+
if (reqId !== undefined && reqId !== null) {
|
|
8385
|
+
headers = headers.set('reqId', String(reqId));
|
|
8386
|
+
}
|
|
8387
|
+
if (token !== undefined && token !== null) {
|
|
8388
|
+
headers = headers.set('token', String(token));
|
|
8389
|
+
}
|
|
8390
|
+
// to determine the Accept header
|
|
8391
|
+
let httpHeaderAccepts = [
|
|
8392
|
+
'application/json'
|
|
8393
|
+
];
|
|
8394
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
8395
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
8396
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
8397
|
+
}
|
|
8398
|
+
// to determine the Content-Type header
|
|
8399
|
+
const consumes = [
|
|
8400
|
+
'application/json'
|
|
8401
|
+
];
|
|
8402
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
8403
|
+
if (httpContentTypeSelected != undefined) {
|
|
8404
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
8405
|
+
}
|
|
8406
|
+
return this.httpClient.post(`${this.basePath}/v2/api/strategies/updateDailyAdvertiserSpendBudgetForStrategy`, budgetCapStrategyDTO, {
|
|
8407
|
+
withCredentials: this.configuration.withCredentials,
|
|
8408
|
+
headers: headers,
|
|
8409
|
+
observe: observe,
|
|
8410
|
+
reportProgress: reportProgress
|
|
8411
|
+
});
|
|
8412
|
+
}
|
|
8340
8413
|
updateStrategyOptimizationRuleUsingPOST(id, req, ruleId, reqId, token, observe = 'body', reportProgress = false) {
|
|
8341
8414
|
if (id === null || id === undefined) {
|
|
8342
8415
|
throw new Error('Required parameter id was null or undefined when calling updateStrategyOptimizationRuleUsingPOST.');
|
|
@@ -9471,6 +9544,18 @@ var BaseModelWithCreativeSetType;
|
|
|
9471
9544
|
* Do not edit the class manually.
|
|
9472
9545
|
*/
|
|
9473
9546
|
|
|
9547
|
+
/**
|
|
9548
|
+
* Api Documentation
|
|
9549
|
+
* Api Documentation
|
|
9550
|
+
*
|
|
9551
|
+
* OpenAPI spec version: 1.0
|
|
9552
|
+
*
|
|
9553
|
+
*
|
|
9554
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9555
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
9556
|
+
* Do not edit the class manually.
|
|
9557
|
+
*/
|
|
9558
|
+
|
|
9474
9559
|
var ClickDestination;
|
|
9475
9560
|
(function (ClickDestination) {
|
|
9476
9561
|
ClickDestination.CampaignTypeEnum = {
|