@revxui/api-clients-ts 1.1.24 → 1.1.25

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.
Files changed (41) hide show
  1. package/README.md +2 -2
  2. package/api/strategyController.service.d.ts +0 -43
  3. package/bundles/revxui-api-clients-ts.umd.js +0 -105
  4. package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
  5. package/esm2015/api/strategyController.service.js +1 -100
  6. package/esm2015/model/advertiser.js +1 -1
  7. package/esm2015/model/advertiserPojo.js +1 -1
  8. package/esm2015/model/creativeFileForSet.js +1 -1
  9. package/esm2015/model/creativeFiles.js +1 -1
  10. package/esm2015/model/creativeSetDashboardMetric.js +1 -1
  11. package/esm2015/model/dashboardData.js +1 -1
  12. package/esm2015/model/dashboardMetrics.js +1 -1
  13. package/esm2015/model/models.js +1 -6
  14. package/esm2015/model/slicexData.js +1 -1
  15. package/esm2015/model/slicexGridData.js +1 -1
  16. package/esm2015/model/videoProperties.js +1 -1
  17. package/fesm2015/revxui-api-clients-ts.js +0 -123
  18. package/fesm2015/revxui-api-clients-ts.js.map +1 -1
  19. package/model/advertiser.d.ts +0 -2
  20. package/model/advertiserPojo.d.ts +0 -2
  21. package/model/creativeFileForSet.d.ts +1 -0
  22. package/model/creativeFiles.d.ts +1 -0
  23. package/model/creativeSetDashboardMetric.d.ts +0 -1
  24. package/model/dashboardData.d.ts +0 -1
  25. package/model/dashboardMetrics.d.ts +0 -1
  26. package/model/models.d.ts +0 -5
  27. package/model/slicexData.d.ts +0 -1
  28. package/model/slicexGridData.d.ts +0 -1
  29. package/model/videoProperties.d.ts +4 -0
  30. package/package.json +1 -1
  31. package/revxui-api-clients-ts.metadata.json +1 -1
  32. package/esm2015/model/apiListResponseStrategyTargettingPerformanceData.js +0 -2
  33. package/esm2015/model/apiResponseObjectStrategyOptimizationDataResponse.js +0 -2
  34. package/esm2015/model/strategyOptBlockTargetingReq.js +0 -13
  35. package/esm2015/model/strategyOptimizationDataResponse.js +0 -2
  36. package/esm2015/model/strategyTargettingPerformanceData.js +0 -13
  37. package/model/apiListResponseStrategyTargettingPerformanceData.d.ts +0 -16
  38. package/model/apiResponseObjectStrategyOptimizationDataResponse.d.ts +0 -17
  39. package/model/strategyOptBlockTargetingReq.d.ts +0 -15
  40. package/model/strategyOptimizationDataResponse.d.ts +0 -17
  41. package/model/strategyTargettingPerformanceData.d.ts +0 -24
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@1.1.24
1
+ ## @revxui/api-clients-ts@1.1.25
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@1.1.24 --save
22
+ npm install @revxui/api-clients-ts@1.1.25 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -13,15 +13,12 @@ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/commo
13
13
  import { Observable } from 'rxjs';
14
14
  import { ABTestDTO } from '../model/aBTestDTO';
15
15
  import { ApiListResponseABTestDTO } from '../model/apiListResponseABTestDTO';
16
- import { ApiListResponseStrategyTargettingPerformanceData } from '../model/apiListResponseStrategyTargettingPerformanceData';
17
16
  import { ApiResponseObjectABTestDTO } from '../model/apiResponseObjectABTestDTO';
18
17
  import { ApiResponseObjectGeoListDTO } from '../model/apiResponseObjectGeoListDTO';
19
18
  import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObjectMaplongResponseMessage';
20
- import { ApiResponseObjectResponseMessage } from '../model/apiResponseObjectResponseMessage';
21
19
  import { ApiResponseObjectSiteListDTO } from '../model/apiResponseObjectSiteListDTO';
22
20
  import { ApiResponseObjectStrategyCreativeAssociationResponseDTO } from '../model/apiResponseObjectStrategyCreativeAssociationResponseDTO';
23
21
  import { ApiResponseObjectStrategyDTO } from '../model/apiResponseObjectStrategyDTO';
24
- import { ApiResponseObjectStrategyOptimizationDataResponse } from '../model/apiResponseObjectStrategyOptimizationDataResponse';
25
22
  import { ApiResponseObjectStrategyQuickEditDTO } from '../model/apiResponseObjectStrategyQuickEditDTO';
26
23
  import { ApiResponseObjectlong } from '../model/apiResponseObjectlong';
27
24
  import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
@@ -31,7 +28,6 @@ import { SiteListRequest } from '../model/siteListRequest';
31
28
  import { StrategyCreativeAssociationRequestDTO } from '../model/strategyCreativeAssociationRequestDTO';
32
29
  import { StrategyDTO } from '../model/strategyDTO';
33
30
  import { StrategyInlineDTO } from '../model/strategyInlineDTO';
34
- import { StrategyOptBlockTargetingReq } from '../model/strategyOptBlockTargetingReq';
35
31
  import { StrategyQuickEditDTO } from '../model/strategyQuickEditDTO';
36
32
  import { Configuration } from '../configuration';
37
33
  export declare class StrategyControllerService {
@@ -131,19 +127,6 @@ export declare class StrategyControllerService {
131
127
  duplicateStrategyUsingPOST(dto: DuplicateStrategyRequestDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyDTO>;
132
128
  duplicateStrategyUsingPOST(dto: DuplicateStrategyRequestDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyDTO>>;
133
129
  duplicateStrategyUsingPOST(dto: DuplicateStrategyRequestDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyDTO>>;
134
- /**
135
- * Api to get Startegy Optimization data by Id
136
- *
137
- * @param id id
138
- * @param tableEntity tableEntity
139
- * @param reqId request id
140
- * @param token Auth Token
141
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
142
- * @param reportProgress flag to report request and response progress.
143
- */
144
- fetchStrategyTargetingUsingGET(id: number, tableEntity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE', reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyOptimizationDataResponse>;
145
- fetchStrategyTargetingUsingGET(id: number, tableEntity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE', reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyOptimizationDataResponse>>;
146
- fetchStrategyTargetingUsingGET(id: number, tableEntity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE', reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyOptimizationDataResponse>>;
147
130
  /**
148
131
  * API to get an AB Test experiment details
149
132
  *
@@ -192,19 +175,6 @@ export declare class StrategyControllerService {
192
175
  getStrategyQuickEditDetailsUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyQuickEditDTO>;
193
176
  getStrategyQuickEditDetailsUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyQuickEditDTO>>;
194
177
  getStrategyQuickEditDetailsUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyQuickEditDTO>>;
195
- /**
196
- * Api to get Startegy Optimization data by Id
197
- *
198
- * @param id id
199
- * @param tableEntity tableEntity
200
- * @param reqId request id
201
- * @param token Auth Token
202
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
203
- * @param reportProgress flag to report request and response progress.
204
- */
205
- getStrategyTargetingRecommendationUsingGET(id: number, tableEntity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE', reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiListResponseStrategyTargettingPerformanceData>;
206
- getStrategyTargetingRecommendationUsingGET(id: number, tableEntity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE', reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiListResponseStrategyTargettingPerformanceData>>;
207
- getStrategyTargetingRecommendationUsingGET(id: number, tableEntity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE' | 'AUDIENCE_UU_COUNT' | 'STRATEGY_TEMPLATE', reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiListResponseStrategyTargettingPerformanceData>>;
208
178
  /**
209
179
  * Api for strategy in-line edit
210
180
  *
@@ -244,19 +214,6 @@ export declare class StrategyControllerService {
244
214
  saveStrategyQuickEditDetailsUsingPOST(id: number, strategyQuickEditDTO: StrategyQuickEditDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyDTO>;
245
215
  saveStrategyQuickEditDetailsUsingPOST(id: number, strategyQuickEditDTO: StrategyQuickEditDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyDTO>>;
246
216
  saveStrategyQuickEditDetailsUsingPOST(id: number, strategyQuickEditDTO: StrategyQuickEditDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyDTO>>;
247
- /**
248
- * API to do strategy optimization
249
- *
250
- * @param id id
251
- * @param req req
252
- * @param reqId request id
253
- * @param token Auth Token
254
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
255
- * @param reportProgress flag to report request and response progress.
256
- */
257
- strategyOptimizationUsingPOST(id: number, req: StrategyOptBlockTargetingReq, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectResponseMessage>;
258
- strategyOptimizationUsingPOST(id: number, req: StrategyOptBlockTargetingReq, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectResponseMessage>>;
259
- strategyOptimizationUsingPOST(id: number, req: StrategyOptBlockTargetingReq, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectResponseMessage>>;
260
217
  /**
261
218
  * API to update AB Test experiment
262
219
  *
@@ -6882,39 +6882,6 @@
6882
6882
  reportProgress: reportProgress
6883
6883
  });
6884
6884
  };
6885
- StrategyControllerService.prototype.fetchStrategyTargetingUsingGET = function (id, tableEntity, reqId, token, observe, reportProgress) {
6886
- if (observe === void 0) { observe = 'body'; }
6887
- if (reportProgress === void 0) { reportProgress = false; }
6888
- if (id === null || id === undefined) {
6889
- throw new Error('Required parameter id was null or undefined when calling fetchStrategyTargetingUsingGET.');
6890
- }
6891
- if (tableEntity === null || tableEntity === undefined) {
6892
- throw new Error('Required parameter tableEntity was null or undefined when calling fetchStrategyTargetingUsingGET.');
6893
- }
6894
- var headers = this.defaultHeaders;
6895
- if (reqId !== undefined && reqId !== null) {
6896
- headers = headers.set('reqId', String(reqId));
6897
- }
6898
- if (token !== undefined && token !== null) {
6899
- headers = headers.set('token', String(token));
6900
- }
6901
- // to determine the Accept header
6902
- var httpHeaderAccepts = [
6903
- '*/*'
6904
- ];
6905
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
6906
- if (httpHeaderAcceptSelected != undefined) {
6907
- headers = headers.set('Accept', httpHeaderAcceptSelected);
6908
- }
6909
- // to determine the Content-Type header
6910
- var consumes = [];
6911
- return this.httpClient.get(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/fetch/" + encodeURIComponent(String(tableEntity)), {
6912
- withCredentials: this.configuration.withCredentials,
6913
- headers: headers,
6914
- observe: observe,
6915
- reportProgress: reportProgress
6916
- });
6917
- };
6918
6885
  StrategyControllerService.prototype.getABTestExperimentUsingGET = function (id, reqId, token, observe, reportProgress) {
6919
6886
  if (observe === void 0) { observe = 'body'; }
6920
6887
  if (reportProgress === void 0) { reportProgress = false; }
@@ -7037,39 +7004,6 @@
7037
7004
  reportProgress: reportProgress
7038
7005
  });
7039
7006
  };
7040
- StrategyControllerService.prototype.getStrategyTargetingRecommendationUsingGET = function (id, tableEntity, reqId, token, observe, reportProgress) {
7041
- if (observe === void 0) { observe = 'body'; }
7042
- if (reportProgress === void 0) { reportProgress = false; }
7043
- if (id === null || id === undefined) {
7044
- throw new Error('Required parameter id was null or undefined when calling getStrategyTargetingRecommendationUsingGET.');
7045
- }
7046
- if (tableEntity === null || tableEntity === undefined) {
7047
- throw new Error('Required parameter tableEntity was null or undefined when calling getStrategyTargetingRecommendationUsingGET.');
7048
- }
7049
- var headers = this.defaultHeaders;
7050
- if (reqId !== undefined && reqId !== null) {
7051
- headers = headers.set('reqId', String(reqId));
7052
- }
7053
- if (token !== undefined && token !== null) {
7054
- headers = headers.set('token', String(token));
7055
- }
7056
- // to determine the Accept header
7057
- var httpHeaderAccepts = [
7058
- '*/*'
7059
- ];
7060
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
7061
- if (httpHeaderAcceptSelected != undefined) {
7062
- headers = headers.set('Accept', httpHeaderAcceptSelected);
7063
- }
7064
- // to determine the Content-Type header
7065
- var consumes = [];
7066
- return this.httpClient.get(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/recommendation/" + encodeURIComponent(String(tableEntity)), {
7067
- withCredentials: this.configuration.withCredentials,
7068
- headers: headers,
7069
- observe: observe,
7070
- reportProgress: reportProgress
7071
- });
7072
- };
7073
7007
  StrategyControllerService.prototype.inlineEditStrategyUsingPOST = function (id, strategyInlineDTO, reqId, token, observe, reportProgress) {
7074
7008
  if (observe === void 0) { observe = 'body'; }
7075
7009
  if (reportProgress === void 0) { reportProgress = false; }
@@ -7181,45 +7115,6 @@
7181
7115
  reportProgress: reportProgress
7182
7116
  });
7183
7117
  };
7184
- StrategyControllerService.prototype.strategyOptimizationUsingPOST = function (id, req, reqId, token, observe, reportProgress) {
7185
- if (observe === void 0) { observe = 'body'; }
7186
- if (reportProgress === void 0) { reportProgress = false; }
7187
- if (id === null || id === undefined) {
7188
- throw new Error('Required parameter id was null or undefined when calling strategyOptimizationUsingPOST.');
7189
- }
7190
- if (req === null || req === undefined) {
7191
- throw new Error('Required parameter req was null or undefined when calling strategyOptimizationUsingPOST.');
7192
- }
7193
- var headers = this.defaultHeaders;
7194
- if (reqId !== undefined && reqId !== null) {
7195
- headers = headers.set('reqId', String(reqId));
7196
- }
7197
- if (token !== undefined && token !== null) {
7198
- headers = headers.set('token', String(token));
7199
- }
7200
- // to determine the Accept header
7201
- var httpHeaderAccepts = [
7202
- 'application/json'
7203
- ];
7204
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
7205
- if (httpHeaderAcceptSelected != undefined) {
7206
- headers = headers.set('Accept', httpHeaderAcceptSelected);
7207
- }
7208
- // to determine the Content-Type header
7209
- var consumes = [
7210
- 'application/json'
7211
- ];
7212
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
7213
- if (httpContentTypeSelected != undefined) {
7214
- headers = headers.set('Content-Type', httpContentTypeSelected);
7215
- }
7216
- return this.httpClient.post(this.basePath + "/v2/api/strategies/optimization/" + encodeURIComponent(String(id)), req, {
7217
- withCredentials: this.configuration.withCredentials,
7218
- headers: headers,
7219
- observe: observe,
7220
- reportProgress: reportProgress
7221
- });
7222
- };
7223
7118
  StrategyControllerService.prototype.updateABTestExperimentStatusUsingPOST = function (id, status, reqId, token, observe, reportProgress) {
7224
7119
  if (observe === void 0) { observe = 'body'; }
7225
7120
  if (reportProgress === void 0) { reportProgress = false; }