@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.
@@ -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 = {