@revxui/api-clients-ts 0.10.337 → 0.10.338

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 (29) hide show
  1. package/README.md +2 -2
  2. package/api/appSettingsController.service.d.ts +0 -39
  3. package/api/strategyController.service.d.ts +13 -0
  4. package/bundles/revxui-api-clients-ts.umd.js +39 -125
  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/appSettingsController.service.js +1 -90
  9. package/esm2015/api/strategyController.service.js +38 -1
  10. package/esm2015/model/models.js +1 -8
  11. package/fesm2015/revxui-api-clients-ts.js +38 -132
  12. package/fesm2015/revxui-api-clients-ts.js.map +1 -1
  13. package/model/models.d.ts +0 -7
  14. package/package.json +1 -1
  15. package/revxui-api-clients-ts.metadata.json +1 -1
  16. package/esm2015/model/advertiserDynamicVideoConfig.js +0 -2
  17. package/esm2015/model/apiResponseObjectAdvertiserDynamicVideoConfig.js +0 -2
  18. package/esm2015/model/apiResponseObjectListDynamicVideoTemplate.js +0 -2
  19. package/esm2015/model/dynamicVideoConfigDTO.js +0 -30
  20. package/esm2015/model/dynamicVideoDTO.js +0 -2
  21. package/esm2015/model/dynamicVideoTemplate.js +0 -2
  22. package/esm2015/model/nameAndTitleModel.js +0 -13
  23. package/model/advertiserDynamicVideoConfig.d.ts +0 -19
  24. package/model/apiResponseObjectAdvertiserDynamicVideoConfig.d.ts +0 -17
  25. package/model/apiResponseObjectListDynamicVideoTemplate.d.ts +0 -17
  26. package/model/dynamicVideoConfigDTO.d.ts +0 -34
  27. package/model/dynamicVideoDTO.d.ts +0 -16
  28. package/model/dynamicVideoTemplate.d.ts +0 -18
  29. package/model/nameAndTitleModel.d.ts +0 -15
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@0.10.337
1
+ ## @revxui/api-clients-ts@0.10.338
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.337 --save
22
+ npm install @revxui/api-clients-ts@0.10.338 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -11,12 +11,8 @@
11
11
  */
12
12
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
13
13
  import { Observable } from 'rxjs';
14
- import { ApiResponseObjectAdvertiserDynamicVideoConfig } from '../model/apiResponseObjectAdvertiserDynamicVideoConfig';
15
14
  import { ApiResponseObjectListAppSettingsDTO } from '../model/apiResponseObjectListAppSettingsDTO';
16
- import { ApiResponseObjectListDynamicVideoTemplate } from '../model/apiResponseObjectListDynamicVideoTemplate';
17
- import { ApiResponseObjectResponseMessage } from '../model/apiResponseObjectResponseMessage';
18
15
  import { AppSettingsDTO } from '../model/appSettingsDTO';
19
- import { DynamicVideoDTO } from '../model/dynamicVideoDTO';
20
16
  import { Configuration } from '../configuration';
21
17
  export declare class AppSettingsControllerService {
22
18
  protected httpClient: HttpClient;
@@ -41,29 +37,6 @@ export declare class AppSettingsControllerService {
41
37
  createAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAppSettingsDTO>;
42
38
  createAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAppSettingsDTO>>;
43
39
  createAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAppSettingsDTO>>;
44
- /**
45
- * Api to fetch sample dynamic video templates
46
- *
47
- * @param reqId request id
48
- * @param token Auth Token
49
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
50
- * @param reportProgress flag to report request and response progress.
51
- */
52
- fetchAllDynamicVideoTemplatesUsingGET(reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListDynamicVideoTemplate>;
53
- fetchAllDynamicVideoTemplatesUsingGET(reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListDynamicVideoTemplate>>;
54
- fetchAllDynamicVideoTemplatesUsingGET(reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListDynamicVideoTemplate>>;
55
- /**
56
- * Api to fetch dynamic video config for given advertiserid
57
- *
58
- * @param advertiserId advertiserId
59
- * @param reqId request id
60
- * @param token Auth Token
61
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
62
- * @param reportProgress flag to report request and response progress.
63
- */
64
- fetchDynamicVideoConfigUsingGET(advertiserId?: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectAdvertiserDynamicVideoConfig>;
65
- fetchDynamicVideoConfigUsingGET(advertiserId?: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectAdvertiserDynamicVideoConfig>>;
66
- fetchDynamicVideoConfigUsingGET(advertiserId?: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectAdvertiserDynamicVideoConfig>>;
67
40
  /**
68
41
  * Api to get App Settings
69
42
  *
@@ -89,16 +62,4 @@ export declare class AppSettingsControllerService {
89
62
  updateAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAppSettingsDTO>;
90
63
  updateAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAppSettingsDTO>>;
91
64
  updateAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAppSettingsDTO>>;
92
- /**
93
- * Api to upsert dynamic video
94
- *
95
- * @param dynamicVideoDTO dynamicVideoDTO
96
- * @param reqId request id
97
- * @param token Auth Token
98
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
99
- * @param reportProgress flag to report request and response progress.
100
- */
101
- upsertDynamicVideoUsingPOST(dynamicVideoDTO: DynamicVideoDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectResponseMessage>;
102
- upsertDynamicVideoUsingPOST(dynamicVideoDTO: DynamicVideoDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectResponseMessage>>;
103
- upsertDynamicVideoUsingPOST(dynamicVideoDTO: DynamicVideoDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectResponseMessage>>;
104
65
  }
@@ -100,6 +100,19 @@ 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>>;
103
116
  /**
104
117
  * Api to Create duplicate Strategy
105
118
  *
@@ -1080,65 +1080,6 @@
1080
1080
  reportProgress: reportProgress
1081
1081
  });
1082
1082
  };
1083
- AppSettingsControllerService.prototype.fetchAllDynamicVideoTemplatesUsingGET = function (reqId, token, observe, reportProgress) {
1084
- if (observe === void 0) { observe = 'body'; }
1085
- if (reportProgress === void 0) { reportProgress = false; }
1086
- var headers = this.defaultHeaders;
1087
- if (reqId !== undefined && reqId !== null) {
1088
- headers = headers.set('reqId', String(reqId));
1089
- }
1090
- if (token !== undefined && token !== null) {
1091
- headers = headers.set('token', String(token));
1092
- }
1093
- // to determine the Accept header
1094
- var httpHeaderAccepts = [
1095
- 'application/json'
1096
- ];
1097
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1098
- if (httpHeaderAcceptSelected != undefined) {
1099
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1100
- }
1101
- // to determine the Content-Type header
1102
- var consumes = [];
1103
- return this.httpClient.get(this.basePath + "/v2/api/appsettings/dynamicvideo/templates", {
1104
- withCredentials: this.configuration.withCredentials,
1105
- headers: headers,
1106
- observe: observe,
1107
- reportProgress: reportProgress
1108
- });
1109
- };
1110
- AppSettingsControllerService.prototype.fetchDynamicVideoConfigUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
1111
- if (observe === void 0) { observe = 'body'; }
1112
- if (reportProgress === void 0) { reportProgress = false; }
1113
- var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1114
- if (advertiserId !== undefined && advertiserId !== null) {
1115
- queryParameters = queryParameters.set('advertiserId', advertiserId);
1116
- }
1117
- var headers = this.defaultHeaders;
1118
- if (reqId !== undefined && reqId !== null) {
1119
- headers = headers.set('reqId', String(reqId));
1120
- }
1121
- if (token !== undefined && token !== null) {
1122
- headers = headers.set('token', String(token));
1123
- }
1124
- // to determine the Accept header
1125
- var httpHeaderAccepts = [
1126
- 'application/json'
1127
- ];
1128
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1129
- if (httpHeaderAcceptSelected != undefined) {
1130
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1131
- }
1132
- // to determine the Content-Type header
1133
- var consumes = [];
1134
- return this.httpClient.get(this.basePath + "/v2/api/appsettings/dynamicvideo/config", {
1135
- params: queryParameters,
1136
- withCredentials: this.configuration.withCredentials,
1137
- headers: headers,
1138
- observe: observe,
1139
- reportProgress: reportProgress
1140
- });
1141
- };
1142
1083
  AppSettingsControllerService.prototype.getAppSettingsUsingGET = function (advertiserId, reqId, settingsKeys, token, observe, reportProgress) {
1143
1084
  if (observe === void 0) { observe = 'body'; }
1144
1085
  if (reportProgress === void 0) { reportProgress = false; }
@@ -1212,42 +1153,6 @@
1212
1153
  reportProgress: reportProgress
1213
1154
  });
1214
1155
  };
1215
- AppSettingsControllerService.prototype.upsertDynamicVideoUsingPOST = function (dynamicVideoDTO, reqId, token, observe, reportProgress) {
1216
- if (observe === void 0) { observe = 'body'; }
1217
- if (reportProgress === void 0) { reportProgress = false; }
1218
- if (dynamicVideoDTO === null || dynamicVideoDTO === undefined) {
1219
- throw new Error('Required parameter dynamicVideoDTO was null or undefined when calling upsertDynamicVideoUsingPOST.');
1220
- }
1221
- var headers = this.defaultHeaders;
1222
- if (reqId !== undefined && reqId !== null) {
1223
- headers = headers.set('reqId', String(reqId));
1224
- }
1225
- if (token !== undefined && token !== null) {
1226
- headers = headers.set('token', String(token));
1227
- }
1228
- // to determine the Accept header
1229
- var httpHeaderAccepts = [
1230
- 'application/json'
1231
- ];
1232
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1233
- if (httpHeaderAcceptSelected != undefined) {
1234
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1235
- }
1236
- // to determine the Content-Type header
1237
- var consumes = [
1238
- 'application/json'
1239
- ];
1240
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1241
- if (httpContentTypeSelected != undefined) {
1242
- headers = headers.set('Content-Type', httpContentTypeSelected);
1243
- }
1244
- return this.httpClient.post(this.basePath + "/v2/api/appsettings/dynamicvideo/upsert", dynamicVideoDTO, {
1245
- withCredentials: this.configuration.withCredentials,
1246
- headers: headers,
1247
- observe: observe,
1248
- reportProgress: reportProgress
1249
- });
1250
- };
1251
1156
  return AppSettingsControllerService;
1252
1157
  }());
1253
1158
  AppSettingsControllerService.decorators = [
@@ -6540,6 +6445,45 @@
6540
6445
  reportProgress: reportProgress
6541
6446
  });
6542
6447
  };
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
+ };
6543
6487
  StrategyControllerService.prototype.duplicateStrategyUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
6544
6488
  if (observe === void 0) { observe = 'body'; }
6545
6489
  if (reportProgress === void 0) { reportProgress = false; }
@@ -7707,36 +7651,6 @@
7707
7651
  };
7708
7652
  })(exports.DuplicateCreativeSetResponse || (exports.DuplicateCreativeSetResponse = {}));
7709
7653
 
7710
- /**
7711
- * Api Documentation
7712
- * Api Documentation
7713
- *
7714
- * OpenAPI spec version: 1.0
7715
- *
7716
- *
7717
- * NOTE: This class is auto generated by the swagger code generator program.
7718
- * https://github.com/swagger-api/swagger-codegen.git
7719
- * Do not edit the class manually.
7720
- */
7721
- exports.DynamicVideoConfigDTO = void 0;
7722
- (function (DynamicVideoConfigDTO) {
7723
- DynamicVideoConfigDTO.ConfigKeyEnum = {
7724
- TEMPLATEID: 'TEMPLATE_ID',
7725
- LOGO: 'LOGO',
7726
- SALEPRICEPREFIX: 'SALE_PRICE_PREFIX',
7727
- ORIGINALPRICEPREFIX: 'ORIGINAL_PRICE_PREFIX',
7728
- CTA: 'CTA',
7729
- TITLELENGTH: 'TITLE_LENGTH',
7730
- TITLEROWS: 'TITLE_ROWS',
7731
- DISCOUNTSUFFIX: 'DISCOUNT_SUFFIX',
7732
- FONT: 'FONT',
7733
- ROUNDPRICE: 'ROUND_PRICE',
7734
- MUSICFILE: 'MUSIC_FILE',
7735
- VIDEOFILE: 'VIDEO_FILE',
7736
- USERESIZER: 'USE_RESIZER'
7737
- };
7738
- })(exports.DynamicVideoConfigDTO || (exports.DynamicVideoConfigDTO = {}));
7739
-
7740
7654
  /**
7741
7655
  * Api Documentation
7742
7656
  * Api Documentation