@revxui/api-clients-ts 0.10.330 → 0.10.331

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 (50) hide show
  1. package/README.md +2 -2
  2. package/api/catalogController.service.d.ts +13 -0
  3. package/api/creativeSetsController.service.d.ts +16 -0
  4. package/bundles/revxui-api-clients-ts.umd.js +105 -17
  5. package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
  6. package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
  7. package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
  8. package/esm2015/api/catalogController.service.js +34 -1
  9. package/esm2015/api/creativeSetsController.service.js +46 -1
  10. package/esm2015/model/advertiserLayoutVariables.js +1 -1
  11. package/esm2015/model/baseModelWithCreativeSetType.js +4 -2
  12. package/esm2015/model/creativeDTO.js +1 -1
  13. package/esm2015/model/creativeHtmlFileForSet.js +6 -12
  14. package/esm2015/model/creativeSetDashboardMetric.js +4 -2
  15. package/esm2015/model/creativeSetDetails.js +4 -2
  16. package/esm2015/model/creativeSetRequest.js +4 -2
  17. package/esm2015/model/creativeSetResponse.js +4 -2
  18. package/esm2015/model/duplicateCreativeSetResponse.js +4 -2
  19. package/esm2015/model/hybridAdMapping.js +1 -0
  20. package/esm2015/model/models.js +1 -1
  21. package/esm5/api/catalogController.service.js +36 -1
  22. package/esm5/api/creativeSetsController.service.js +48 -1
  23. package/esm5/model/advertiserLayoutVariables.js +1 -1
  24. package/esm5/model/baseModelWithCreativeSetType.js +4 -2
  25. package/esm5/model/creativeDTO.js +1 -1
  26. package/esm5/model/creativeHtmlFileForSet.js +6 -12
  27. package/esm5/model/creativeSetDashboardMetric.js +4 -2
  28. package/esm5/model/creativeSetDetails.js +4 -2
  29. package/esm5/model/creativeSetRequest.js +4 -2
  30. package/esm5/model/creativeSetResponse.js +4 -2
  31. package/esm5/model/duplicateCreativeSetResponse.js +4 -2
  32. package/esm5/model/hybridAdMapping.js +1 -0
  33. package/esm5/model/models.js +1 -1
  34. package/fesm2015/revxui-api-clients-ts.js +101 -17
  35. package/fesm2015/revxui-api-clients-ts.js.map +1 -1
  36. package/fesm5/revxui-api-clients-ts.js +105 -17
  37. package/fesm5/revxui-api-clients-ts.js.map +1 -1
  38. package/model/advertiserLayoutVariables.d.ts +1 -0
  39. package/model/baseModelWithCreativeSetType.d.ts +3 -1
  40. package/model/creativeDTO.d.ts +4 -0
  41. package/model/creativeHtmlFileForSet.d.ts +9 -0
  42. package/model/creativeSetDashboardMetric.d.ts +3 -1
  43. package/model/creativeSetDetails.d.ts +3 -1
  44. package/model/creativeSetRequest.d.ts +7 -1
  45. package/model/creativeSetResponse.d.ts +3 -1
  46. package/model/duplicateCreativeSetResponse.d.ts +3 -1
  47. package/model/hybridAdMapping.d.ts +17 -0
  48. package/model/models.d.ts +1 -0
  49. package/package.json +1 -1
  50. package/revxui-api-clients-ts.metadata.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@0.10.330
1
+ ## @revxui/api-clients-ts@0.10.331
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.330 --save
22
+ npm install @revxui/api-clients-ts@0.10.331 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -15,6 +15,7 @@ import { ApiListResponseMacro } from '../model/apiListResponseMacro';
15
15
  import { ApiResponseObjectApiListResponseCatalogFeed } from '../model/apiResponseObjectApiListResponseCatalogFeed';
16
16
  import { ApiResponseObjectApiListResponseVariablesMappingDTO } from '../model/apiResponseObjectApiListResponseVariablesMappingDTO';
17
17
  import { ApiResponseObjectCatalogFeed } from '../model/apiResponseObjectCatalogFeed';
18
+ import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
18
19
  import { SearchRequest } from '../model/searchRequest';
19
20
  import { Configuration } from '../configuration';
20
21
  export declare class CatalogControllerService {
@@ -54,6 +55,18 @@ export declare class CatalogControllerService {
54
55
  getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectApiListResponseCatalogFeed>;
55
56
  getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectApiListResponseCatalogFeed>>;
56
57
  getCatalogFeedsUsingPOST(advertiser_id: number, refresh?: boolean, reqId?: string, search?: SearchRequest, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectApiListResponseCatalogFeed>>;
58
+ /**
59
+ * get feed by advertiser Id
60
+ *
61
+ * @param advertiserId advertiserId
62
+ * @param reqId request id
63
+ * @param token Auth Token
64
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
65
+ * @param reportProgress flag to report request and response progress.
66
+ */
67
+ getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectstring>;
68
+ getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectstring>>;
69
+ getFeedsByAdvertiserIdUsingGET(advertiserId: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectstring>>;
57
70
  /**
58
71
  * get List of catalog macros for given advertiserId
59
72
  *
@@ -11,6 +11,7 @@
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';
@@ -152,6 +153,21 @@ export declare class CreativeSetsControllerService {
152
153
  getPerformanceByIdUsingPOST(dashboardRequest: DashboardRequest, id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDashboardMetrics>;
153
154
  getPerformanceByIdUsingPOST(dashboardRequest: DashboardRequest, id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDashboardMetrics>>;
154
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 isPlacebo isPlacebo
163
+ * @param reqId request id
164
+ * @param token Auth Token
165
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
166
+ * @param reportProgress flag to report request and response progress.
167
+ */
168
+ 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
+ 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
+ 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>>;
155
171
  /**
156
172
  * Api to update creative sets
157
173
  *
@@ -2933,6 +2933,41 @@
2933
2933
  reportProgress: reportProgress
2934
2934
  });
2935
2935
  };
2936
+ CatalogControllerService.prototype.getFeedsByAdvertiserIdUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
2937
+ if (observe === void 0) { observe = 'body'; }
2938
+ if (reportProgress === void 0) { reportProgress = false; }
2939
+ if (advertiserId === null || advertiserId === undefined) {
2940
+ throw new Error('Required parameter advertiserId was null or undefined when calling getFeedsByAdvertiserIdUsingGET.');
2941
+ }
2942
+ var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
2943
+ if (advertiserId !== undefined && advertiserId !== null) {
2944
+ queryParameters = queryParameters.set('advertiserId', advertiserId);
2945
+ }
2946
+ var headers = this.defaultHeaders;
2947
+ if (reqId !== undefined && reqId !== null) {
2948
+ headers = headers.set('reqId', String(reqId));
2949
+ }
2950
+ if (token !== undefined && token !== null) {
2951
+ headers = headers.set('token', String(token));
2952
+ }
2953
+ // to determine the Accept header
2954
+ var httpHeaderAccepts = [
2955
+ 'application/json'
2956
+ ];
2957
+ var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
2958
+ if (httpHeaderAcceptSelected != undefined) {
2959
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
2960
+ }
2961
+ // to determine the Content-Type header
2962
+ var consumes = [];
2963
+ return this.httpClient.get(this.basePath + "/v2/api/catalog/feeds", {
2964
+ params: queryParameters,
2965
+ withCredentials: this.configuration.withCredentials,
2966
+ headers: headers,
2967
+ observe: observe,
2968
+ reportProgress: reportProgress
2969
+ });
2970
+ };
2936
2971
  CatalogControllerService.prototype.getMacrosUsingPOST = function (advertiser_id, refresh, reqId, search, token, observe, reportProgress) {
2937
2972
  if (observe === void 0) { observe = 'body'; }
2938
2973
  if (reportProgress === void 0) { reportProgress = false; }
@@ -4154,6 +4189,53 @@
4154
4189
  reportProgress: reportProgress
4155
4190
  });
4156
4191
  };
4192
+ CreativeSetsControllerService.prototype.getTemplateListUsingGET = function (advertiserId, type, filters, isPlacebo, reqId, token, observe, reportProgress) {
4193
+ if (observe === void 0) { observe = 'body'; }
4194
+ if (reportProgress === void 0) { reportProgress = false; }
4195
+ if (advertiserId === null || advertiserId === undefined) {
4196
+ throw new Error('Required parameter advertiserId was null or undefined when calling getTemplateListUsingGET.');
4197
+ }
4198
+ if (type === null || type === undefined) {
4199
+ throw new Error('Required parameter type was null or undefined when calling getTemplateListUsingGET.');
4200
+ }
4201
+ var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
4202
+ if (advertiserId !== undefined && advertiserId !== null) {
4203
+ queryParameters = queryParameters.set('advertiserId', advertiserId);
4204
+ }
4205
+ if (filters !== undefined && filters !== null) {
4206
+ queryParameters = queryParameters.set('filters', filters);
4207
+ }
4208
+ if (isPlacebo !== undefined && isPlacebo !== null) {
4209
+ queryParameters = queryParameters.set('isPlacebo', isPlacebo);
4210
+ }
4211
+ if (type !== undefined && type !== null) {
4212
+ queryParameters = queryParameters.set('type', type);
4213
+ }
4214
+ var headers = this.defaultHeaders;
4215
+ if (reqId !== undefined && reqId !== null) {
4216
+ headers = headers.set('reqId', String(reqId));
4217
+ }
4218
+ if (token !== undefined && token !== null) {
4219
+ headers = headers.set('token', String(token));
4220
+ }
4221
+ // to determine the Accept header
4222
+ var httpHeaderAccepts = [
4223
+ 'application/json'
4224
+ ];
4225
+ var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4226
+ if (httpHeaderAcceptSelected != undefined) {
4227
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
4228
+ }
4229
+ // to determine the Content-Type header
4230
+ var consumes = [];
4231
+ return this.httpClient.get(this.basePath + "/v2/api/creativesets/templates", {
4232
+ params: queryParameters,
4233
+ withCredentials: this.configuration.withCredentials,
4234
+ headers: headers,
4235
+ observe: observe,
4236
+ reportProgress: reportProgress
4237
+ });
4238
+ };
4157
4239
  CreativeSetsControllerService.prototype.updateUsingPOST = function (creativeSetRequest, id, reqId, token, observe, reportProgress) {
4158
4240
  if (observe === void 0) { observe = 'body'; }
4159
4241
  if (reportProgress === void 0) { reportProgress = false; }
@@ -7455,7 +7537,9 @@
7455
7537
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7456
7538
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7457
7539
  DYNAMICHTML: 'DYNAMIC_HTML',
7458
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7540
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7541
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7542
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7459
7543
  };
7460
7544
  })(exports.BaseModelWithCreativeSetType || (exports.BaseModelWithCreativeSetType = {}));
7461
7545
 
@@ -7574,19 +7658,13 @@
7574
7658
  };
7575
7659
  })(exports.CreativeFiles || (exports.CreativeFiles = {}));
7576
7660
 
7577
- /**
7578
- * Api Documentation
7579
- * Api Documentation
7580
- *
7581
- * OpenAPI spec version: 1.0
7582
- *
7583
- *
7584
- * NOTE: This class is auto generated by the swagger code generator program.
7585
- * https://github.com/swagger-api/swagger-codegen.git
7586
- * Do not edit the class manually.
7587
- */
7588
7661
 
7589
7662
  (function (CreativeHtmlFileForSet) {
7663
+ CreativeHtmlFileForSet.TemplateTypeEnum = {
7664
+ DCO: 'DCO',
7665
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7666
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7667
+ };
7590
7668
  CreativeHtmlFileForSet.TypeEnum = {
7591
7669
  Image: 'image',
7592
7670
  Html: 'html',
@@ -7617,7 +7695,9 @@
7617
7695
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7618
7696
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7619
7697
  DYNAMICHTML: 'DYNAMIC_HTML',
7620
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7698
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7699
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7700
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7621
7701
  };
7622
7702
  })(exports.CreativeSetDashboardMetric || (exports.CreativeSetDashboardMetric = {}));
7623
7703
 
@@ -7633,7 +7713,9 @@
7633
7713
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7634
7714
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7635
7715
  DYNAMICHTML: 'DYNAMIC_HTML',
7636
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7716
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7717
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7718
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7637
7719
  };
7638
7720
  })(exports.CreativeSetDetails || (exports.CreativeSetDetails = {}));
7639
7721
 
@@ -7649,7 +7731,9 @@
7649
7731
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7650
7732
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7651
7733
  DYNAMICHTML: 'DYNAMIC_HTML',
7652
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7734
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7735
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7736
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7653
7737
  };
7654
7738
  })(exports.CreativeSetRequest || (exports.CreativeSetRequest = {}));
7655
7739
 
@@ -7676,7 +7760,9 @@
7676
7760
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7677
7761
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7678
7762
  DYNAMICHTML: 'DYNAMIC_HTML',
7679
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7763
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7764
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7765
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7680
7766
  };
7681
7767
  })(exports.CreativeSetResponse || (exports.CreativeSetResponse = {}));
7682
7768
 
@@ -7723,7 +7809,9 @@
7723
7809
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7724
7810
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7725
7811
  DYNAMICHTML: 'DYNAMIC_HTML',
7726
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7812
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7813
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7814
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7727
7815
  };
7728
7816
  })(exports.DuplicateCreativeSetResponse || (exports.DuplicateCreativeSetResponse = {}));
7729
7817