@revxui/api-clients-ts 0.10.296 → 0.10.298

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.296
1
+ ## @revxui/api-clients-ts@0.10.298
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.296 --save
22
+ npm install @revxui/api-clients-ts@0.10.298 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -11,10 +11,10 @@
11
11
  */
12
12
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
13
13
  import { Observable } from 'rxjs';
14
+ import { ApiListResponseCreativeTemplateDTO } from '../model/apiListResponseCreativeTemplateDTO';
14
15
  import { ApiResponseObjectAdvertiserDynamicDetails } from '../model/apiResponseObjectAdvertiserDynamicDetails';
15
16
  import { ApiResponseObjectApiListResponseActivityLogsCreativeSetsBulkUpdateDTO } from '../model/apiResponseObjectApiListResponseActivityLogsCreativeSetsBulkUpdateDTO';
16
17
  import { ApiResponseObjectApiListResponseCreativeSetDashboardMetric } from '../model/apiResponseObjectApiListResponseCreativeSetDashboardMetric';
17
- import { ApiResponseObjectAspectTemplateMap } from '../model/apiResponseObjectAspectTemplateMap';
18
18
  import { ApiResponseObjectBulkEditCreativeSetsResponse } from '../model/apiResponseObjectBulkEditCreativeSetsResponse';
19
19
  import { ApiResponseObjectCreativeSetDetails } from '../model/apiResponseObjectCreativeSetDetails';
20
20
  import { ApiResponseObjectCreativeSetResponse } from '../model/apiResponseObjectCreativeSetResponse';
@@ -139,20 +139,6 @@ export declare class CreativeSetsControllerService {
139
139
  getCreativesPerformanceUsingPOST(dashboardRequest: DashboardRequest, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDashboardResponse>;
140
140
  getCreativesPerformanceUsingPOST(dashboardRequest: DashboardRequest, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDashboardResponse>>;
141
141
  getCreativesPerformanceUsingPOST(dashboardRequest: DashboardRequest, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDashboardResponse>>;
142
- /**
143
- * Api to get available hybrid ad templates for the uploaded videos
144
- *
145
- * @param advertiserId advertiserId
146
- * @param aspect_ratio aspect_ratio
147
- * @param type type
148
- * @param reqId request id
149
- * @param token Auth Token
150
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
151
- * @param reportProgress flag to report request and response progress.
152
- */
153
- getHybridAdTemplatesUsingGET(advertiserId: number, aspect_ratio: string, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectAspectTemplateMap>;
154
- getHybridAdTemplatesUsingGET(advertiserId: number, aspect_ratio: string, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectAspectTemplateMap>>;
155
- getHybridAdTemplatesUsingGET(advertiserId: number, aspect_ratio: string, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectAspectTemplateMap>>;
156
142
  /**
157
143
  * Api to get individual creative set performance
158
144
  *
@@ -167,6 +153,20 @@ export declare class CreativeSetsControllerService {
167
153
  getPerformanceByIdUsingPOST(dashboardRequest: DashboardRequest, id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDashboardMetrics>;
168
154
  getPerformanceByIdUsingPOST(dashboardRequest: DashboardRequest, id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDashboardMetrics>>;
169
155
  getPerformanceByIdUsingPOST(dashboardRequest: DashboardRequest, id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDashboardMetrics>>;
156
+ /**
157
+ * Api to get available hybrid ad templates for the uploaded videos
158
+ *
159
+ * @param advertiserId advertiserId
160
+ * @param type type
161
+ * @param filters filters
162
+ * @param reqId request id
163
+ * @param token Auth Token
164
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
165
+ * @param reportProgress flag to report request and response progress.
166
+ */
167
+ getTemplateListUsingGET(advertiserId: number, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', filters?: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiListResponseCreativeTemplateDTO>;
168
+ getTemplateListUsingGET(advertiserId: number, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', filters?: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiListResponseCreativeTemplateDTO>>;
169
+ getTemplateListUsingGET(advertiserId: number, type: 'DCO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD', filters?: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiListResponseCreativeTemplateDTO>>;
170
170
  /**
171
171
  * Api to update creative sets
172
172
  *
@@ -4035,27 +4035,18 @@
4035
4035
  reportProgress: reportProgress
4036
4036
  });
4037
4037
  };
4038
- CreativeSetsControllerService.prototype.getHybridAdTemplatesUsingGET = function (advertiserId, aspect_ratio, type, reqId, token, observe, reportProgress) {
4038
+ CreativeSetsControllerService.prototype.getPerformanceByIdUsingPOST = function (dashboardRequest, id, refresh, reqId, token, observe, reportProgress) {
4039
4039
  if (observe === void 0) { observe = 'body'; }
4040
4040
  if (reportProgress === void 0) { reportProgress = false; }
4041
- if (advertiserId === null || advertiserId === undefined) {
4042
- throw new Error('Required parameter advertiserId was null or undefined when calling getHybridAdTemplatesUsingGET.');
4043
- }
4044
- if (aspect_ratio === null || aspect_ratio === undefined) {
4045
- throw new Error('Required parameter aspect_ratio was null or undefined when calling getHybridAdTemplatesUsingGET.');
4041
+ if (dashboardRequest === null || dashboardRequest === undefined) {
4042
+ throw new Error('Required parameter dashboardRequest was null or undefined when calling getPerformanceByIdUsingPOST.');
4046
4043
  }
4047
- if (type === null || type === undefined) {
4048
- throw new Error('Required parameter type was null or undefined when calling getHybridAdTemplatesUsingGET.');
4044
+ if (id === null || id === undefined) {
4045
+ throw new Error('Required parameter id was null or undefined when calling getPerformanceByIdUsingPOST.');
4049
4046
  }
4050
4047
  var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
4051
- if (advertiserId !== undefined && advertiserId !== null) {
4052
- queryParameters = queryParameters.set('advertiserId', advertiserId);
4053
- }
4054
- if (aspect_ratio !== undefined && aspect_ratio !== null) {
4055
- queryParameters = queryParameters.set('aspect_ratio', aspect_ratio);
4056
- }
4057
- if (type !== undefined && type !== null) {
4058
- queryParameters = queryParameters.set('type', type);
4048
+ if (refresh !== undefined && refresh !== null) {
4049
+ queryParameters = queryParameters.set('refresh', refresh);
4059
4050
  }
4060
4051
  var headers = this.defaultHeaders;
4061
4052
  if (reqId !== undefined && reqId !== null) {
@@ -4073,8 +4064,14 @@
4073
4064
  headers = headers.set('Accept', httpHeaderAcceptSelected);
4074
4065
  }
4075
4066
  // to determine the Content-Type header
4076
- var consumes = [];
4077
- return this.httpClient.get(this.basePath + "/v2/api/creativesets/hybridtemplates", {
4067
+ var consumes = [
4068
+ 'application/json'
4069
+ ];
4070
+ var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4071
+ if (httpContentTypeSelected != undefined) {
4072
+ headers = headers.set('Content-Type', httpContentTypeSelected);
4073
+ }
4074
+ return this.httpClient.post(this.basePath + "/v2/api/creativesets/performance/" + encodeURIComponent(String(id)), dashboardRequest, {
4078
4075
  params: queryParameters,
4079
4076
  withCredentials: this.configuration.withCredentials,
4080
4077
  headers: headers,
@@ -4082,18 +4079,24 @@
4082
4079
  reportProgress: reportProgress
4083
4080
  });
4084
4081
  };
4085
- CreativeSetsControllerService.prototype.getPerformanceByIdUsingPOST = function (dashboardRequest, id, refresh, reqId, token, observe, reportProgress) {
4082
+ CreativeSetsControllerService.prototype.getTemplateListUsingGET = function (advertiserId, type, filters, reqId, token, observe, reportProgress) {
4086
4083
  if (observe === void 0) { observe = 'body'; }
4087
4084
  if (reportProgress === void 0) { reportProgress = false; }
4088
- if (dashboardRequest === null || dashboardRequest === undefined) {
4089
- throw new Error('Required parameter dashboardRequest was null or undefined when calling getPerformanceByIdUsingPOST.');
4085
+ if (advertiserId === null || advertiserId === undefined) {
4086
+ throw new Error('Required parameter advertiserId was null or undefined when calling getTemplateListUsingGET.');
4090
4087
  }
4091
- if (id === null || id === undefined) {
4092
- throw new Error('Required parameter id was null or undefined when calling getPerformanceByIdUsingPOST.');
4088
+ if (type === null || type === undefined) {
4089
+ throw new Error('Required parameter type was null or undefined when calling getTemplateListUsingGET.');
4093
4090
  }
4094
4091
  var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
4095
- if (refresh !== undefined && refresh !== null) {
4096
- queryParameters = queryParameters.set('refresh', refresh);
4092
+ if (advertiserId !== undefined && advertiserId !== null) {
4093
+ queryParameters = queryParameters.set('advertiserId', advertiserId);
4094
+ }
4095
+ if (filters !== undefined && filters !== null) {
4096
+ queryParameters = queryParameters.set('filters', filters);
4097
+ }
4098
+ if (type !== undefined && type !== null) {
4099
+ queryParameters = queryParameters.set('type', type);
4097
4100
  }
4098
4101
  var headers = this.defaultHeaders;
4099
4102
  if (reqId !== undefined && reqId !== null) {
@@ -4111,14 +4114,8 @@
4111
4114
  headers = headers.set('Accept', httpHeaderAcceptSelected);
4112
4115
  }
4113
4116
  // to determine the Content-Type header
4114
- var consumes = [
4115
- 'application/json'
4116
- ];
4117
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4118
- if (httpContentTypeSelected != undefined) {
4119
- headers = headers.set('Content-Type', httpContentTypeSelected);
4120
- }
4121
- return this.httpClient.post(this.basePath + "/v2/api/creativesets/performance/" + encodeURIComponent(String(id)), dashboardRequest, {
4117
+ var consumes = [];
4118
+ return this.httpClient.get(this.basePath + "/v2/api/creativesets/templates", {
4122
4119
  params: queryParameters,
4123
4120
  withCredentials: this.configuration.withCredentials,
4124
4121
  headers: headers,