@revxui/api-clients-ts 0.10.310 → 0.10.311

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 (115) hide show
  1. package/README.md +2 -2
  2. package/api/appSettingsController.service.d.ts +0 -39
  3. package/api/creativeSetsController.service.d.ts +15 -0
  4. package/bundles/revxui-api-clients-ts.umd.js +90 -163
  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/adminController.service.js +2 -2
  9. package/esm2015/api/advertiserController.service.js +2 -2
  10. package/esm2015/api/appSettingsController.service.js +2 -91
  11. package/esm2015/api/audienceController.service.js +2 -2
  12. package/esm2015/api/auditController.service.js +2 -2
  13. package/esm2015/api/bulkStrategyController.service.js +2 -2
  14. package/esm2015/api/cSSThemeController_.service.js +2 -2
  15. package/esm2015/api/campaignController.service.js +2 -2
  16. package/esm2015/api/catalogController.service.js +2 -2
  17. package/esm2015/api/clickDestinationController.service.js +2 -2
  18. package/esm2015/api/creativeController.service.js +2 -2
  19. package/esm2015/api/creativeSetsController.service.js +44 -2
  20. package/esm2015/api/creativeTemplateThemesController.service.js +2 -2
  21. package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
  22. package/esm2015/api/creativeTemplatesController.service.js +2 -2
  23. package/esm2015/api/dashboardController.service.js +2 -2
  24. package/esm2015/api/notificationsController.service.js +2 -2
  25. package/esm2015/api/pixelController.service.js +2 -2
  26. package/esm2015/api/reportingController.service.js +2 -2
  27. package/esm2015/api/sliceXController.service.js +2 -2
  28. package/esm2015/api/strategyController.service.js +2 -2
  29. package/esm2015/api/uILoggerController.service.js +2 -2
  30. package/esm2015/api/userPreferenceController.service.js +2 -2
  31. package/esm2015/model/advertiserLayoutVariables.js +1 -1
  32. package/esm2015/model/baseModelWithCreativeSetType.js +4 -2
  33. package/esm2015/model/creativeDTO.js +1 -1
  34. package/esm2015/model/creativeHtmlFileForSet.js +6 -12
  35. package/esm2015/model/creativePerformanceData.js +1 -1
  36. package/esm2015/model/creativeSetDashboardMetric.js +4 -2
  37. package/esm2015/model/creativeSetDetails.js +4 -2
  38. package/esm2015/model/creativeSetRequest.js +4 -2
  39. package/esm2015/model/creativeSetResponse.js +4 -2
  40. package/esm2015/model/duplicateCreativeSetResponse.js +4 -2
  41. package/esm2015/model/hybridAdMapping.js +1 -0
  42. package/esm2015/model/models.js +1 -2
  43. package/esm5/api/adminController.service.js +2 -2
  44. package/esm5/api/advertiserController.service.js +2 -2
  45. package/esm5/api/appSettingsController.service.js +2 -97
  46. package/esm5/api/audienceController.service.js +2 -2
  47. package/esm5/api/auditController.service.js +2 -2
  48. package/esm5/api/bulkStrategyController.service.js +2 -2
  49. package/esm5/api/cSSThemeController_.service.js +2 -2
  50. package/esm5/api/campaignController.service.js +2 -2
  51. package/esm5/api/catalogController.service.js +2 -2
  52. package/esm5/api/clickDestinationController.service.js +2 -2
  53. package/esm5/api/creativeController.service.js +2 -2
  54. package/esm5/api/creativeSetsController.service.js +46 -2
  55. package/esm5/api/creativeTemplateThemesController.service.js +2 -2
  56. package/esm5/api/creativeTemplateVariablesController.service.js +2 -2
  57. package/esm5/api/creativeTemplatesController.service.js +2 -2
  58. package/esm5/api/dashboardController.service.js +2 -2
  59. package/esm5/api/notificationsController.service.js +2 -2
  60. package/esm5/api/pixelController.service.js +2 -2
  61. package/esm5/api/reportingController.service.js +2 -2
  62. package/esm5/api/sliceXController.service.js +2 -2
  63. package/esm5/api/strategyController.service.js +2 -2
  64. package/esm5/api/uILoggerController.service.js +2 -2
  65. package/esm5/api/userPreferenceController.service.js +2 -2
  66. package/esm5/model/advertiserLayoutVariables.js +1 -1
  67. package/esm5/model/baseModelWithCreativeSetType.js +4 -2
  68. package/esm5/model/creativeDTO.js +1 -1
  69. package/esm5/model/creativeHtmlFileForSet.js +6 -12
  70. package/esm5/model/creativePerformanceData.js +1 -1
  71. package/esm5/model/creativeSetDashboardMetric.js +4 -2
  72. package/esm5/model/creativeSetDetails.js +4 -2
  73. package/esm5/model/creativeSetRequest.js +4 -2
  74. package/esm5/model/creativeSetResponse.js +4 -2
  75. package/esm5/model/duplicateCreativeSetResponse.js +4 -2
  76. package/esm5/model/hybridAdMapping.js +1 -0
  77. package/esm5/model/models.js +1 -2
  78. package/fesm2015/revxui-api-clients-ts.js +89 -158
  79. package/fesm2015/revxui-api-clients-ts.js.map +1 -1
  80. package/fesm5/revxui-api-clients-ts.js +91 -164
  81. package/fesm5/revxui-api-clients-ts.js.map +1 -1
  82. package/model/advertiserLayoutVariables.d.ts +1 -0
  83. package/model/baseModelWithCreativeSetType.d.ts +3 -1
  84. package/model/creativeDTO.d.ts +4 -0
  85. package/model/creativeHtmlFileForSet.d.ts +9 -0
  86. package/model/creativePerformanceData.d.ts +0 -16
  87. package/model/creativeSetDashboardMetric.d.ts +3 -1
  88. package/model/creativeSetDetails.d.ts +3 -1
  89. package/model/creativeSetRequest.d.ts +7 -1
  90. package/model/creativeSetResponse.d.ts +3 -1
  91. package/model/duplicateCreativeSetResponse.d.ts +3 -1
  92. package/model/{dynamicVideoTemplate.d.ts → hybridAdMapping.d.ts} +5 -6
  93. package/model/models.d.ts +1 -7
  94. package/package.json +1 -1
  95. package/revxui-api-clients-ts.metadata.json +1 -1
  96. package/esm2015/model/advertiserDynamicVideoConfig.js +0 -1
  97. package/esm2015/model/apiResponseObjectAdvertiserDynamicVideoConfig.js +0 -1
  98. package/esm2015/model/apiResponseObjectListDynamicVideoTemplate.js +0 -1
  99. package/esm2015/model/dynamicVideoConfigDTO.js +0 -28
  100. package/esm2015/model/dynamicVideoDTO.js +0 -1
  101. package/esm2015/model/dynamicVideoTemplate.js +0 -1
  102. package/esm2015/model/nameAndTitleModel.js +0 -12
  103. package/esm5/model/advertiserDynamicVideoConfig.js +0 -1
  104. package/esm5/model/apiResponseObjectAdvertiserDynamicVideoConfig.js +0 -1
  105. package/esm5/model/apiResponseObjectListDynamicVideoTemplate.js +0 -1
  106. package/esm5/model/dynamicVideoConfigDTO.js +0 -28
  107. package/esm5/model/dynamicVideoDTO.js +0 -1
  108. package/esm5/model/dynamicVideoTemplate.js +0 -1
  109. package/esm5/model/nameAndTitleModel.js +0 -12
  110. package/model/advertiserDynamicVideoConfig.d.ts +0 -18
  111. package/model/apiResponseObjectAdvertiserDynamicVideoConfig.d.ts +0 -17
  112. package/model/apiResponseObjectListDynamicVideoTemplate.d.ts +0 -17
  113. package/model/dynamicVideoConfigDTO.d.ts +0 -32
  114. package/model/dynamicVideoDTO.d.ts +0 -16
  115. package/model/nameAndTitleModel.d.ts +0 -15
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@0.10.310
1
+ ## @revxui/api-clients-ts@0.10.311
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.310 --save
22
+ npm install @revxui/api-clients-ts@0.10.311 --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
  }
@@ -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,20 @@ 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 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>>;
155
170
  /**
156
171
  * Api to update creative sets
157
172
  *
@@ -308,7 +308,7 @@
308
308
  var AdminControllerService = /** @class */ (function () {
309
309
  function AdminControllerService(httpClient, basePath, configuration) {
310
310
  this.httpClient = httpClient;
311
- this.basePath = 'https://apiv2stage2.atomex.net';
311
+ this.basePath = 'https://apiv2stage1.atomex.net';
312
312
  this.defaultHeaders = new http.HttpHeaders();
313
313
  this.configuration = new Configuration();
314
314
  if (basePath) {
@@ -525,7 +525,7 @@
525
525
  var AdvertiserControllerService = /** @class */ (function () {
526
526
  function AdvertiserControllerService(httpClient, basePath, configuration) {
527
527
  this.httpClient = httpClient;
528
- this.basePath = 'https://apiv2stage2.atomex.net';
528
+ this.basePath = 'https://apiv2stage1.atomex.net';
529
529
  this.defaultHeaders = new http.HttpHeaders();
530
530
  this.configuration = new Configuration();
531
531
  if (basePath) {
@@ -971,7 +971,7 @@
971
971
  var AppSettingsControllerService = /** @class */ (function () {
972
972
  function AppSettingsControllerService(httpClient, basePath, configuration) {
973
973
  this.httpClient = httpClient;
974
- this.basePath = 'https://apiv2stage2.atomex.net';
974
+ this.basePath = 'https://apiv2stage1.atomex.net';
975
975
  this.defaultHeaders = new http.HttpHeaders();
976
976
  this.configuration = new Configuration();
977
977
  if (basePath) {
@@ -1042,65 +1042,6 @@
1042
1042
  reportProgress: reportProgress
1043
1043
  });
1044
1044
  };
1045
- AppSettingsControllerService.prototype.fetchAllDynamicVideoTemplatesUsingGET = function (reqId, token, observe, reportProgress) {
1046
- if (observe === void 0) { observe = 'body'; }
1047
- if (reportProgress === void 0) { reportProgress = false; }
1048
- var headers = this.defaultHeaders;
1049
- if (reqId !== undefined && reqId !== null) {
1050
- headers = headers.set('reqId', String(reqId));
1051
- }
1052
- if (token !== undefined && token !== null) {
1053
- headers = headers.set('token', String(token));
1054
- }
1055
- // to determine the Accept header
1056
- var httpHeaderAccepts = [
1057
- 'application/json'
1058
- ];
1059
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1060
- if (httpHeaderAcceptSelected != undefined) {
1061
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1062
- }
1063
- // to determine the Content-Type header
1064
- var consumes = [];
1065
- return this.httpClient.get(this.basePath + "/v2/api/appsettings/dynamicvideo/templates", {
1066
- withCredentials: this.configuration.withCredentials,
1067
- headers: headers,
1068
- observe: observe,
1069
- reportProgress: reportProgress
1070
- });
1071
- };
1072
- AppSettingsControllerService.prototype.fetchDynamicVideoConfigUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
1073
- if (observe === void 0) { observe = 'body'; }
1074
- if (reportProgress === void 0) { reportProgress = false; }
1075
- var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1076
- if (advertiserId !== undefined && advertiserId !== null) {
1077
- queryParameters = queryParameters.set('advertiserId', advertiserId);
1078
- }
1079
- var headers = this.defaultHeaders;
1080
- if (reqId !== undefined && reqId !== null) {
1081
- headers = headers.set('reqId', String(reqId));
1082
- }
1083
- if (token !== undefined && token !== null) {
1084
- headers = headers.set('token', String(token));
1085
- }
1086
- // to determine the Accept header
1087
- var httpHeaderAccepts = [
1088
- 'application/json'
1089
- ];
1090
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1091
- if (httpHeaderAcceptSelected != undefined) {
1092
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1093
- }
1094
- // to determine the Content-Type header
1095
- var consumes = [];
1096
- return this.httpClient.get(this.basePath + "/v2/api/appsettings/dynamicvideo/config", {
1097
- params: queryParameters,
1098
- withCredentials: this.configuration.withCredentials,
1099
- headers: headers,
1100
- observe: observe,
1101
- reportProgress: reportProgress
1102
- });
1103
- };
1104
1045
  AppSettingsControllerService.prototype.getAppSettingsUsingGET = function (advertiserId, reqId, settingsKeys, token, observe, reportProgress) {
1105
1046
  if (observe === void 0) { observe = 'body'; }
1106
1047
  if (reportProgress === void 0) { reportProgress = false; }
@@ -1174,42 +1115,6 @@
1174
1115
  reportProgress: reportProgress
1175
1116
  });
1176
1117
  };
1177
- AppSettingsControllerService.prototype.upsertDynamicVideoUsingPOST = function (dynamicVideoDTO, reqId, token, observe, reportProgress) {
1178
- if (observe === void 0) { observe = 'body'; }
1179
- if (reportProgress === void 0) { reportProgress = false; }
1180
- if (dynamicVideoDTO === null || dynamicVideoDTO === undefined) {
1181
- throw new Error('Required parameter dynamicVideoDTO was null or undefined when calling upsertDynamicVideoUsingPOST.');
1182
- }
1183
- var headers = this.defaultHeaders;
1184
- if (reqId !== undefined && reqId !== null) {
1185
- headers = headers.set('reqId', String(reqId));
1186
- }
1187
- if (token !== undefined && token !== null) {
1188
- headers = headers.set('token', String(token));
1189
- }
1190
- // to determine the Accept header
1191
- var httpHeaderAccepts = [
1192
- 'application/json'
1193
- ];
1194
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1195
- if (httpHeaderAcceptSelected != undefined) {
1196
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1197
- }
1198
- // to determine the Content-Type header
1199
- var consumes = [
1200
- 'application/json'
1201
- ];
1202
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1203
- if (httpContentTypeSelected != undefined) {
1204
- headers = headers.set('Content-Type', httpContentTypeSelected);
1205
- }
1206
- return this.httpClient.post(this.basePath + "/v2/api/appsettings/dynamicvideo/upsert", dynamicVideoDTO, {
1207
- withCredentials: this.configuration.withCredentials,
1208
- headers: headers,
1209
- observe: observe,
1210
- reportProgress: reportProgress
1211
- });
1212
- };
1213
1118
  AppSettingsControllerService.ctorParameters = function () { return [
1214
1119
  { type: http.HttpClient },
1215
1120
  { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
@@ -1236,7 +1141,7 @@
1236
1141
  var AudienceControllerService = /** @class */ (function () {
1237
1142
  function AudienceControllerService(httpClient, basePath, configuration) {
1238
1143
  this.httpClient = httpClient;
1239
- this.basePath = 'https://apiv2stage2.atomex.net';
1144
+ this.basePath = 'https://apiv2stage1.atomex.net';
1240
1145
  this.defaultHeaders = new http.HttpHeaders();
1241
1146
  this.configuration = new Configuration();
1242
1147
  if (basePath) {
@@ -1959,7 +1864,7 @@
1959
1864
  var AuditControllerService = /** @class */ (function () {
1960
1865
  function AuditControllerService(httpClient, basePath, configuration) {
1961
1866
  this.httpClient = httpClient;
1962
- this.basePath = 'https://apiv2stage2.atomex.net';
1867
+ this.basePath = 'https://apiv2stage1.atomex.net';
1963
1868
  this.defaultHeaders = new http.HttpHeaders();
1964
1869
  this.configuration = new Configuration();
1965
1870
  if (basePath) {
@@ -2158,7 +2063,7 @@
2158
2063
  var BulkStrategyControllerService = /** @class */ (function () {
2159
2064
  function BulkStrategyControllerService(httpClient, basePath, configuration) {
2160
2065
  this.httpClient = httpClient;
2161
- this.basePath = 'https://apiv2stage2.atomex.net';
2066
+ this.basePath = 'https://apiv2stage1.atomex.net';
2162
2067
  this.defaultHeaders = new http.HttpHeaders();
2163
2068
  this.configuration = new Configuration();
2164
2069
  if (basePath) {
@@ -2401,7 +2306,7 @@
2401
2306
  var CSSThemeController_Service = /** @class */ (function () {
2402
2307
  function CSSThemeController_Service(httpClient, basePath, configuration) {
2403
2308
  this.httpClient = httpClient;
2404
- this.basePath = 'https://apiv2stage2.atomex.net';
2309
+ this.basePath = 'https://apiv2stage1.atomex.net';
2405
2310
  this.defaultHeaders = new http.HttpHeaders();
2406
2311
  this.configuration = new Configuration();
2407
2312
  if (basePath) {
@@ -2522,7 +2427,7 @@
2522
2427
  var CampaignControllerService = /** @class */ (function () {
2523
2428
  function CampaignControllerService(httpClient, basePath, configuration) {
2524
2429
  this.httpClient = httpClient;
2525
- this.basePath = 'https://apiv2stage2.atomex.net';
2430
+ this.basePath = 'https://apiv2stage1.atomex.net';
2526
2431
  this.defaultHeaders = new http.HttpHeaders();
2527
2432
  this.configuration = new Configuration();
2528
2433
  if (basePath) {
@@ -2844,7 +2749,7 @@
2844
2749
  var CatalogControllerService = /** @class */ (function () {
2845
2750
  function CatalogControllerService(httpClient, basePath, configuration) {
2846
2751
  this.httpClient = httpClient;
2847
- this.basePath = 'https://apiv2stage2.atomex.net';
2752
+ this.basePath = 'https://apiv2stage1.atomex.net';
2848
2753
  this.defaultHeaders = new http.HttpHeaders();
2849
2754
  this.configuration = new Configuration();
2850
2755
  if (basePath) {
@@ -3067,7 +2972,7 @@
3067
2972
  var ClickDestinationControllerService = /** @class */ (function () {
3068
2973
  function ClickDestinationControllerService(httpClient, basePath, configuration) {
3069
2974
  this.httpClient = httpClient;
3070
- this.basePath = 'https://apiv2stage2.atomex.net';
2975
+ this.basePath = 'https://apiv2stage1.atomex.net';
3071
2976
  this.defaultHeaders = new http.HttpHeaders();
3072
2977
  this.configuration = new Configuration();
3073
2978
  if (basePath) {
@@ -3317,7 +3222,7 @@
3317
3222
  var CreativeControllerService = /** @class */ (function () {
3318
3223
  function CreativeControllerService(httpClient, basePath, configuration) {
3319
3224
  this.httpClient = httpClient;
3320
- this.basePath = 'https://apiv2stage2.atomex.net';
3225
+ this.basePath = 'https://apiv2stage1.atomex.net';
3321
3226
  this.defaultHeaders = new http.HttpHeaders();
3322
3227
  this.configuration = new Configuration();
3323
3228
  if (basePath) {
@@ -3794,7 +3699,7 @@
3794
3699
  var CreativeSetsControllerService = /** @class */ (function () {
3795
3700
  function CreativeSetsControllerService(httpClient, basePath, configuration) {
3796
3701
  this.httpClient = httpClient;
3797
- this.basePath = 'https://apiv2stage2.atomex.net';
3702
+ this.basePath = 'https://apiv2stage1.atomex.net';
3798
3703
  this.defaultHeaders = new http.HttpHeaders();
3799
3704
  this.configuration = new Configuration();
3800
3705
  if (basePath) {
@@ -4174,6 +4079,50 @@
4174
4079
  reportProgress: reportProgress
4175
4080
  });
4176
4081
  };
4082
+ CreativeSetsControllerService.prototype.getTemplateListUsingGET = function (advertiserId, type, filters, reqId, token, observe, reportProgress) {
4083
+ if (observe === void 0) { observe = 'body'; }
4084
+ if (reportProgress === void 0) { reportProgress = false; }
4085
+ if (advertiserId === null || advertiserId === undefined) {
4086
+ throw new Error('Required parameter advertiserId was null or undefined when calling getTemplateListUsingGET.');
4087
+ }
4088
+ if (type === null || type === undefined) {
4089
+ throw new Error('Required parameter type was null or undefined when calling getTemplateListUsingGET.');
4090
+ }
4091
+ var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
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);
4100
+ }
4101
+ var headers = this.defaultHeaders;
4102
+ if (reqId !== undefined && reqId !== null) {
4103
+ headers = headers.set('reqId', String(reqId));
4104
+ }
4105
+ if (token !== undefined && token !== null) {
4106
+ headers = headers.set('token', String(token));
4107
+ }
4108
+ // to determine the Accept header
4109
+ var httpHeaderAccepts = [
4110
+ 'application/json'
4111
+ ];
4112
+ var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
4113
+ if (httpHeaderAcceptSelected != undefined) {
4114
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
4115
+ }
4116
+ // to determine the Content-Type header
4117
+ var consumes = [];
4118
+ return this.httpClient.get(this.basePath + "/v2/api/creativesets/templates", {
4119
+ params: queryParameters,
4120
+ withCredentials: this.configuration.withCredentials,
4121
+ headers: headers,
4122
+ observe: observe,
4123
+ reportProgress: reportProgress
4124
+ });
4125
+ };
4177
4126
  CreativeSetsControllerService.prototype.updateUsingPOST = function (creativeSetRequest, id, reqId, token, observe, reportProgress) {
4178
4127
  if (observe === void 0) { observe = 'body'; }
4179
4128
  if (reportProgress === void 0) { reportProgress = false; }
@@ -4239,7 +4188,7 @@
4239
4188
  var CreativeTemplateThemesControllerService = /** @class */ (function () {
4240
4189
  function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
4241
4190
  this.httpClient = httpClient;
4242
- this.basePath = 'https://apiv2stage2.atomex.net';
4191
+ this.basePath = 'https://apiv2stage1.atomex.net';
4243
4192
  this.defaultHeaders = new http.HttpHeaders();
4244
4193
  this.configuration = new Configuration();
4245
4194
  if (basePath) {
@@ -4440,7 +4389,7 @@
4440
4389
  var CreativeTemplateVariablesControllerService = /** @class */ (function () {
4441
4390
  function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
4442
4391
  this.httpClient = httpClient;
4443
- this.basePath = 'https://apiv2stage2.atomex.net';
4392
+ this.basePath = 'https://apiv2stage1.atomex.net';
4444
4393
  this.defaultHeaders = new http.HttpHeaders();
4445
4394
  this.configuration = new Configuration();
4446
4395
  if (basePath) {
@@ -4528,7 +4477,7 @@
4528
4477
  var CreativeTemplatesControllerService = /** @class */ (function () {
4529
4478
  function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
4530
4479
  this.httpClient = httpClient;
4531
- this.basePath = 'https://apiv2stage2.atomex.net';
4480
+ this.basePath = 'https://apiv2stage1.atomex.net';
4532
4481
  this.defaultHeaders = new http.HttpHeaders();
4533
4482
  this.configuration = new Configuration();
4534
4483
  if (basePath) {
@@ -4707,7 +4656,7 @@
4707
4656
  var DashboardControllerService = /** @class */ (function () {
4708
4657
  function DashboardControllerService(httpClient, basePath, configuration) {
4709
4658
  this.httpClient = httpClient;
4710
- this.basePath = 'https://apiv2stage2.atomex.net';
4659
+ this.basePath = 'https://apiv2stage1.atomex.net';
4711
4660
  this.defaultHeaders = new http.HttpHeaders();
4712
4661
  this.configuration = new Configuration();
4713
4662
  if (basePath) {
@@ -5364,7 +5313,7 @@
5364
5313
  var NotificationsControllerService = /** @class */ (function () {
5365
5314
  function NotificationsControllerService(httpClient, basePath, configuration) {
5366
5315
  this.httpClient = httpClient;
5367
- this.basePath = 'https://apiv2stage2.atomex.net';
5316
+ this.basePath = 'https://apiv2stage1.atomex.net';
5368
5317
  this.defaultHeaders = new http.HttpHeaders();
5369
5318
  this.configuration = new Configuration();
5370
5319
  if (basePath) {
@@ -5563,7 +5512,7 @@
5563
5512
  var PixelControllerService = /** @class */ (function () {
5564
5513
  function PixelControllerService(httpClient, basePath, configuration) {
5565
5514
  this.httpClient = httpClient;
5566
- this.basePath = 'https://apiv2stage2.atomex.net';
5515
+ this.basePath = 'https://apiv2stage1.atomex.net';
5567
5516
  this.defaultHeaders = new http.HttpHeaders();
5568
5517
  this.configuration = new Configuration();
5569
5518
  if (basePath) {
@@ -5892,7 +5841,7 @@
5892
5841
  var ReportingControllerService = /** @class */ (function () {
5893
5842
  function ReportingControllerService(httpClient, basePath, configuration) {
5894
5843
  this.httpClient = httpClient;
5895
- this.basePath = 'https://apiv2stage2.atomex.net';
5844
+ this.basePath = 'https://apiv2stage1.atomex.net';
5896
5845
  this.defaultHeaders = new http.HttpHeaders();
5897
5846
  this.configuration = new Configuration();
5898
5847
  if (basePath) {
@@ -6076,7 +6025,7 @@
6076
6025
  var SliceXControllerService = /** @class */ (function () {
6077
6026
  function SliceXControllerService(httpClient, basePath, configuration) {
6078
6027
  this.httpClient = httpClient;
6079
- this.basePath = 'https://apiv2stage2.atomex.net';
6028
+ this.basePath = 'https://apiv2stage1.atomex.net';
6080
6029
  this.defaultHeaders = new http.HttpHeaders();
6081
6030
  this.configuration = new Configuration();
6082
6031
  if (basePath) {
@@ -6344,7 +6293,7 @@
6344
6293
  var StrategyControllerService = /** @class */ (function () {
6345
6294
  function StrategyControllerService(httpClient, basePath, configuration) {
6346
6295
  this.httpClient = httpClient;
6347
- this.basePath = 'https://apiv2stage2.atomex.net';
6296
+ this.basePath = 'https://apiv2stage1.atomex.net';
6348
6297
  this.defaultHeaders = new http.HttpHeaders();
6349
6298
  this.configuration = new Configuration();
6350
6299
  if (basePath) {
@@ -7005,7 +6954,7 @@
7005
6954
  var UILoggerControllerService = /** @class */ (function () {
7006
6955
  function UILoggerControllerService(httpClient, basePath, configuration) {
7007
6956
  this.httpClient = httpClient;
7008
- this.basePath = 'https://apiv2stage2.atomex.net';
6957
+ this.basePath = 'https://apiv2stage1.atomex.net';
7009
6958
  this.defaultHeaders = new http.HttpHeaders();
7010
6959
  this.configuration = new Configuration();
7011
6960
  if (basePath) {
@@ -7107,7 +7056,7 @@
7107
7056
  var UserPreferenceControllerService = /** @class */ (function () {
7108
7057
  function UserPreferenceControllerService(httpClient, basePath, configuration) {
7109
7058
  this.httpClient = httpClient;
7110
- this.basePath = 'https://apiv2stage2.atomex.net';
7059
+ this.basePath = 'https://apiv2stage1.atomex.net';
7111
7060
  this.defaultHeaders = new http.HttpHeaders();
7112
7061
  this.configuration = new Configuration();
7113
7062
  if (basePath) {
@@ -7444,7 +7393,9 @@
7444
7393
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7445
7394
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7446
7395
  DYNAMICHTML: 'DYNAMIC_HTML',
7447
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7396
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7397
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7398
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7448
7399
  };
7449
7400
  })(exports.BaseModelWithCreativeSetType || (exports.BaseModelWithCreativeSetType = {}));
7450
7401
 
@@ -7563,19 +7514,13 @@
7563
7514
  };
7564
7515
  })(exports.CreativeFiles || (exports.CreativeFiles = {}));
7565
7516
 
7566
- /**
7567
- * Api Documentation
7568
- * Api Documentation
7569
- *
7570
- * OpenAPI spec version: 1.0
7571
- *
7572
- *
7573
- * NOTE: This class is auto generated by the swagger code generator program.
7574
- * https://github.com/swagger-api/swagger-codegen.git
7575
- * Do not edit the class manually.
7576
- */
7577
7517
 
7578
7518
  (function (CreativeHtmlFileForSet) {
7519
+ CreativeHtmlFileForSet.TemplateTypeEnum = {
7520
+ DCO: 'DCO',
7521
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7522
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7523
+ };
7579
7524
  CreativeHtmlFileForSet.TypeEnum = {
7580
7525
  Image: 'image',
7581
7526
  Html: 'html',
@@ -7606,7 +7551,9 @@
7606
7551
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7607
7552
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7608
7553
  DYNAMICHTML: 'DYNAMIC_HTML',
7609
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7554
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7555
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7556
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7610
7557
  };
7611
7558
  })(exports.CreativeSetDashboardMetric || (exports.CreativeSetDashboardMetric = {}));
7612
7559
 
@@ -7622,7 +7569,9 @@
7622
7569
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7623
7570
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7624
7571
  DYNAMICHTML: 'DYNAMIC_HTML',
7625
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7572
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7573
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7574
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7626
7575
  };
7627
7576
  })(exports.CreativeSetDetails || (exports.CreativeSetDetails = {}));
7628
7577
 
@@ -7638,7 +7587,9 @@
7638
7587
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7639
7588
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7640
7589
  DYNAMICHTML: 'DYNAMIC_HTML',
7641
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7590
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7591
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7592
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7642
7593
  };
7643
7594
  })(exports.CreativeSetRequest || (exports.CreativeSetRequest = {}));
7644
7595
 
@@ -7665,7 +7616,9 @@
7665
7616
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7666
7617
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7667
7618
  DYNAMICHTML: 'DYNAMIC_HTML',
7668
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7619
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7620
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7621
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7669
7622
  };
7670
7623
  })(exports.CreativeSetResponse || (exports.CreativeSetResponse = {}));
7671
7624
 
@@ -7712,38 +7665,12 @@
7712
7665
  DYNAMICIMAGE: 'DYNAMIC_IMAGE',
7713
7666
  DYNAMICMACRO: 'DYNAMIC_MACRO',
7714
7667
  DYNAMICHTML: 'DYNAMIC_HTML',
7715
- DYNAMICVIDEO: 'DYNAMIC_VIDEO'
7668
+ DYNAMICVIDEO: 'DYNAMIC_VIDEO',
7669
+ HYBRIDSTATICAD: 'HYBRID_STATIC_AD',
7670
+ HYBRIDDYNAMICAD: 'HYBRID_DYNAMIC_AD'
7716
7671
  };
7717
7672
  })(exports.DuplicateCreativeSetResponse || (exports.DuplicateCreativeSetResponse = {}));
7718
7673
 
7719
- /**
7720
- * Api Documentation
7721
- * Api Documentation
7722
- *
7723
- * OpenAPI spec version: 1.0
7724
- *
7725
- *
7726
- * NOTE: This class is auto generated by the swagger code generator program.
7727
- * https://github.com/swagger-api/swagger-codegen.git
7728
- * Do not edit the class manually.
7729
- */
7730
-
7731
- (function (DynamicVideoConfigDTO) {
7732
- DynamicVideoConfigDTO.ConfigKeyEnum = {
7733
- TEMPLATEID: 'TEMPLATE_ID',
7734
- LOGO: 'LOGO',
7735
- SALEPRICEPREFIX: 'SALE_PRICE_PREFIX',
7736
- ORIGINALPRICEPREFIX: 'ORIGINAL_PRICE_PREFIX',
7737
- CTA: 'CTA',
7738
- TITLELENGTH: 'TITLE_LENGTH',
7739
- DISCOUNTSUFFIX: 'DISCOUNT_SUFFIX',
7740
- FONT: 'FONT',
7741
- ROUNDPRICE: 'ROUND_PRICE',
7742
- MUSICFILE: 'MUSIC_FILE',
7743
- VIDEOFILE: 'VIDEO_FILE'
7744
- };
7745
- })(exports.DynamicVideoConfigDTO || (exports.DynamicVideoConfigDTO = {}));
7746
-
7747
7674
  /**
7748
7675
  * Api Documentation
7749
7676
  * Api Documentation