@revxui/api-clients-ts 0.10.333 → 0.10.335

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@0.10.333
1
+ ## @revxui/api-clients-ts@0.10.335
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.333 --save
22
+ npm install @revxui/api-clients-ts@0.10.335 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -38,9 +38,9 @@ export declare class AuditControllerService {
38
38
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
39
39
  * @param reportProgress flag to report request and response progress.
40
40
  */
41
- getAuditDetailsUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', id: number, startTime: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAuditDetails>;
42
- getAuditDetailsUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', id: number, startTime: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAuditDetails>>;
43
- getAuditDetailsUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', id: number, startTime: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAuditDetails>>;
41
+ getAuditDetailsUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', id: number, startTime: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAuditDetails>;
42
+ getAuditDetailsUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', id: number, startTime: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAuditDetails>>;
43
+ getAuditDetailsUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', id: number, startTime: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAuditDetails>>;
44
44
  /**
45
45
  * get Audit Log for campaign and strategy
46
46
  *
@@ -53,9 +53,9 @@ export declare class AuditControllerService {
53
53
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
54
54
  * @param reportProgress flag to report request and response progress.
55
55
  */
56
- getAuditLogUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', id: number, startTime: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAuditMarker>;
57
- getAuditLogUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', id: number, startTime: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAuditMarker>>;
58
- getAuditLogUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', id: number, startTime: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAuditMarker>>;
56
+ getAuditLogUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', id: number, startTime: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAuditMarker>;
57
+ getAuditLogUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', id: number, startTime: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAuditMarker>>;
58
+ getAuditLogUsingGET(endTime: number, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', id: number, startTime: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAuditMarker>>;
59
59
  /**
60
60
  * get user activity log
61
61
  *
@@ -21,8 +21,10 @@ import { ApiResponseObjectCreativeSetResponse } from '../model/apiResponseObject
21
21
  import { ApiResponseObjectDashboardMetrics } from '../model/apiResponseObjectDashboardMetrics';
22
22
  import { ApiResponseObjectDashboardResponse } from '../model/apiResponseObjectDashboardResponse';
23
23
  import { ApiResponseObjectDuplicateCreativeSetResponse } from '../model/apiResponseObjectDuplicateCreativeSetResponse';
24
+ import { ApiResponseObjectResponseMessage } from '../model/apiResponseObjectResponseMessage';
24
25
  import { BulkEditCreativeSetsDTO } from '../model/bulkEditCreativeSetsDTO';
25
26
  import { CreativeSetRequest } from '../model/creativeSetRequest';
27
+ import { CreativeSetRescheduleRequest } from '../model/creativeSetRescheduleRequest';
26
28
  import { DashboardRequest } from '../model/dashboardRequest';
27
29
  import { DuplicateCreativeSetsRequestDTO } from '../model/duplicateCreativeSetsRequestDTO';
28
30
  import { Configuration } from '../configuration';
@@ -168,6 +170,19 @@ export declare class CreativeSetsControllerService {
168
170
  getTemplateListUsingGET(advertiserId: number, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', filters?: string, isPlacebo?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiListResponseCreativeTemplateDTO>;
169
171
  getTemplateListUsingGET(advertiserId: number, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', filters?: string, isPlacebo?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiListResponseCreativeTemplateDTO>>;
170
172
  getTemplateListUsingGET(advertiserId: number, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', filters?: string, isPlacebo?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiListResponseCreativeTemplateDTO>>;
173
+ /**
174
+ * Api to reschedule a creative sets
175
+ *
176
+ * @param creativeSetRescheduleRequest creativeSetRescheduleRequest
177
+ * @param id id
178
+ * @param reqId request id
179
+ * @param token Auth Token
180
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
181
+ * @param reportProgress flag to report request and response progress.
182
+ */
183
+ rescheduleUsingPOST(creativeSetRescheduleRequest: CreativeSetRescheduleRequest, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectResponseMessage>;
184
+ rescheduleUsingPOST(creativeSetRescheduleRequest: CreativeSetRescheduleRequest, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectResponseMessage>>;
185
+ rescheduleUsingPOST(creativeSetRescheduleRequest: CreativeSetRescheduleRequest, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectResponseMessage>>;
171
186
  /**
172
187
  * Api to update creative sets
173
188
  *
@@ -110,9 +110,9 @@ export declare class DashboardControllerService {
110
110
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
111
111
  * @param reportProgress flag to report request and response progress.
112
112
  */
113
- getDashboardDataListCsvStreamUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<any>;
114
- getDashboardDataListCsvStreamUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
115
- getDashboardDataListCsvStreamUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
113
+ getDashboardDataListCsvStreamUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<any>;
114
+ getDashboardDataListCsvStreamUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<any>>;
115
+ getDashboardDataListCsvStreamUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<any>>;
116
116
  /**
117
117
  * DashBoard Api For Download List CSV.
118
118
  *
@@ -123,9 +123,9 @@ export declare class DashboardControllerService {
123
123
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
124
124
  * @param reportProgress flag to report request and response progress.
125
125
  */
126
- getDashboardDataListCsvUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectFileDownloadResponse>;
127
- getDashboardDataListCsvUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectFileDownloadResponse>>;
128
- getDashboardDataListCsvUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectFileDownloadResponse>>;
126
+ getDashboardDataListCsvUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectFileDownloadResponse>;
127
+ getDashboardDataListCsvUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectFileDownloadResponse>>;
128
+ getDashboardDataListCsvUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectFileDownloadResponse>>;
129
129
  /**
130
130
  * DashBoard Api For DashBoard.
131
131
  *
@@ -138,9 +138,9 @@ export declare class DashboardControllerService {
138
138
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
139
139
  * @param reportProgress flag to report request and response progress.
140
140
  */
141
- getDashboardDataListUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', showuu: boolean, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDashboardResponse>;
142
- getDashboardDataListUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', showuu: boolean, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDashboardResponse>>;
143
- getDashboardDataListUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE', showuu: boolean, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDashboardResponse>>;
141
+ getDashboardDataListUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', showuu: boolean, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDashboardResponse>;
142
+ getDashboardDataListUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', showuu: boolean, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDashboardResponse>>;
143
+ getDashboardDataListUsingPOST(dashboardRequest: DashboardRequest, entity: 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'HOMEPAGE' | 'PRODUCT_CATALOG' | 'CATEGORY_PERFORMANCE' | 'CREATIVE_SET', showuu: boolean, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDashboardResponse>>;
144
144
  /**
145
145
  * getDetailById
146
146
  *
@@ -100,19 +100,6 @@ 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>>;
116
103
  /**
117
104
  * Api to Create duplicate Strategy
118
105
  *
@@ -4166,6 +4166,45 @@
4166
4166
  reportProgress: reportProgress
4167
4167
  });
4168
4168
  };
4169
+ CreativeSetsControllerService.prototype.rescheduleUsingPOST = function (creativeSetRescheduleRequest, id, reqId, token, observe, reportProgress) {
4170
+ if (observe === void 0) { observe = 'body'; }
4171
+ if (reportProgress === void 0) { reportProgress = false; }
4172
+ if (creativeSetRescheduleRequest === null || creativeSetRescheduleRequest === undefined) {
4173
+ throw new Error('Required parameter creativeSetRescheduleRequest was null or undefined when calling rescheduleUsingPOST.');
4174
+ }
4175
+ if (id === null || id === undefined) {
4176
+ throw new Error('Required parameter id was null or undefined when calling rescheduleUsingPOST.');
4177
+ }
4178
+ var headers = this.defaultHeaders;
4179
+ if (reqId !== undefined && reqId !== null) {
4180
+ headers = headers.set('reqId', String(reqId));
4181
+ }
4182
+ if (token !== undefined && token !== null) {
4183
+ headers = headers.set('token', String(token));
4184
+ }
4185
+ // to determine the Accept header
4186
+ var httpHeaderAccepts = [
4187
+ 'application/json'
4188
+ ];
4189
+ var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4190
+ if (httpHeaderAcceptSelected != undefined) {
4191
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
4192
+ }
4193
+ // to determine the Content-Type header
4194
+ var consumes = [
4195
+ 'application/json'
4196
+ ];
4197
+ var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4198
+ if (httpContentTypeSelected != undefined) {
4199
+ headers = headers.set('Content-Type', httpContentTypeSelected);
4200
+ }
4201
+ return this.httpClient.post(this.basePath + "/v2/api/creativesets/reschedule/" + encodeURIComponent(String(id)), creativeSetRescheduleRequest, {
4202
+ withCredentials: this.configuration.withCredentials,
4203
+ headers: headers,
4204
+ observe: observe,
4205
+ reportProgress: reportProgress
4206
+ });
4207
+ };
4169
4208
  CreativeSetsControllerService.prototype.updateUsingPOST = function (creativeSetRequest, id, reqId, token, observe, reportProgress) {
4170
4209
  if (observe === void 0) { observe = 'body'; }
4171
4210
  if (reportProgress === void 0) { reportProgress = false; }
@@ -6445,45 +6484,6 @@
6445
6484
  reportProgress: reportProgress
6446
6485
  });
6447
6486
  };
6448
- StrategyControllerService.prototype.disassociateStrategyWithCreativeSetsUsingPOST = function (creativeSetIdsToBeRemoved, id, reqId, token, observe, reportProgress) {
6449
- if (observe === void 0) { observe = 'body'; }
6450
- if (reportProgress === void 0) { reportProgress = false; }
6451
- if (creativeSetIdsToBeRemoved === null || creativeSetIdsToBeRemoved === undefined) {
6452
- throw new Error('Required parameter creativeSetIdsToBeRemoved was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
6453
- }
6454
- if (id === null || id === undefined) {
6455
- throw new Error('Required parameter id was null or undefined when calling disassociateStrategyWithCreativeSetsUsingPOST.');
6456
- }
6457
- var headers = this.defaultHeaders;
6458
- if (reqId !== undefined && reqId !== null) {
6459
- headers = headers.set('reqId', String(reqId));
6460
- }
6461
- if (token !== undefined && token !== null) {
6462
- headers = headers.set('token', String(token));
6463
- }
6464
- // to determine the Accept header
6465
- var httpHeaderAccepts = [
6466
- 'application/json'
6467
- ];
6468
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
6469
- if (httpHeaderAcceptSelected != undefined) {
6470
- headers = headers.set('Accept', httpHeaderAcceptSelected);
6471
- }
6472
- // to determine the Content-Type header
6473
- var consumes = [
6474
- 'application/json'
6475
- ];
6476
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6477
- if (httpContentTypeSelected != undefined) {
6478
- headers = headers.set('Content-Type', httpContentTypeSelected);
6479
- }
6480
- return this.httpClient.post(this.basePath + "/v2/api/strategies/" + encodeURIComponent(String(id)) + "/disassociate/creativesets", creativeSetIdsToBeRemoved, {
6481
- withCredentials: this.configuration.withCredentials,
6482
- headers: headers,
6483
- observe: observe,
6484
- reportProgress: reportProgress
6485
- });
6486
- };
6487
6487
  StrategyControllerService.prototype.duplicateStrategyUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
6488
6488
  if (observe === void 0) { observe = 'body'; }
6489
6489
  if (reportProgress === void 0) { reportProgress = false; }