@revxui/api-clients-ts 0.10.319 → 0.10.321

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 (87) hide show
  1. package/README.md +2 -2
  2. package/api/audienceController.service.d.ts +30 -33
  3. package/bundles/revxui-api-clients-ts.umd.js +97 -136
  4. package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
  5. package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
  6. package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
  7. package/esm2015/api/adminController.service.js +2 -2
  8. package/esm2015/api/advertiserController.service.js +2 -2
  9. package/esm2015/api/appSettingsController.service.js +2 -2
  10. package/esm2015/api/audienceController.service.js +74 -77
  11. package/esm2015/api/auditController.service.js +2 -2
  12. package/esm2015/api/bulkStrategyController.service.js +2 -2
  13. package/esm2015/api/cSSThemeController_.service.js +2 -2
  14. package/esm2015/api/campaignController.service.js +2 -2
  15. package/esm2015/api/catalogController.service.js +2 -2
  16. package/esm2015/api/clickDestinationController.service.js +2 -2
  17. package/esm2015/api/creativeController.service.js +2 -2
  18. package/esm2015/api/creativeSetsController.service.js +2 -2
  19. package/esm2015/api/creativeTemplateThemesController.service.js +2 -2
  20. package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
  21. package/esm2015/api/creativeTemplatesController.service.js +2 -2
  22. package/esm2015/api/dashboardController.service.js +2 -2
  23. package/esm2015/api/notificationsController.service.js +2 -2
  24. package/esm2015/api/pixelController.service.js +2 -2
  25. package/esm2015/api/reportingController.service.js +2 -2
  26. package/esm2015/api/sliceXController.service.js +2 -2
  27. package/esm2015/api/strategyController.service.js +2 -2
  28. package/esm2015/api/uILoggerController.service.js +2 -2
  29. package/esm2015/api/userPreferenceController.service.js +2 -2
  30. package/esm2015/model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse.js +1 -0
  31. package/esm2015/model/audienceAnalysisRequest.js +12 -0
  32. package/esm2015/model/audienceDTO.js +1 -1
  33. package/{esm5/model/backfillAudienceQueryTemplateDTO.js → esm2015/model/combinedAudienceAnalysisResponse.js} +1 -1
  34. package/esm2015/model/models.js +1 -3
  35. package/esm2015/model/searchRequest.js +1 -1
  36. package/esm2015/model/strategyDTO.js +1 -6
  37. package/esm5/api/adminController.service.js +2 -2
  38. package/esm5/api/advertiserController.service.js +2 -2
  39. package/esm5/api/appSettingsController.service.js +2 -2
  40. package/esm5/api/audienceController.service.js +76 -79
  41. package/esm5/api/auditController.service.js +2 -2
  42. package/esm5/api/bulkStrategyController.service.js +2 -2
  43. package/esm5/api/cSSThemeController_.service.js +2 -2
  44. package/esm5/api/campaignController.service.js +2 -2
  45. package/esm5/api/catalogController.service.js +2 -2
  46. package/esm5/api/clickDestinationController.service.js +2 -2
  47. package/esm5/api/creativeController.service.js +2 -2
  48. package/esm5/api/creativeSetsController.service.js +2 -2
  49. package/esm5/api/creativeTemplateThemesController.service.js +2 -2
  50. package/esm5/api/creativeTemplateVariablesController.service.js +2 -2
  51. package/esm5/api/creativeTemplatesController.service.js +2 -2
  52. package/esm5/api/dashboardController.service.js +2 -2
  53. package/esm5/api/notificationsController.service.js +2 -2
  54. package/esm5/api/pixelController.service.js +2 -2
  55. package/esm5/api/reportingController.service.js +2 -2
  56. package/esm5/api/sliceXController.service.js +2 -2
  57. package/esm5/api/strategyController.service.js +2 -2
  58. package/esm5/api/uILoggerController.service.js +2 -2
  59. package/esm5/api/userPreferenceController.service.js +2 -2
  60. package/esm5/model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse.js +1 -0
  61. package/esm5/model/audienceAnalysisRequest.js +12 -0
  62. package/esm5/model/audienceDTO.js +1 -1
  63. package/{esm2015/model/backfillAudienceQueryTemplateDTO.js → esm5/model/combinedAudienceAnalysisResponse.js} +1 -1
  64. package/esm5/model/models.js +1 -3
  65. package/esm5/model/searchRequest.js +1 -1
  66. package/esm5/model/strategyDTO.js +1 -6
  67. package/fesm2015/revxui-api-clients-ts.js +96 -135
  68. package/fesm2015/revxui-api-clients-ts.js.map +1 -1
  69. package/fesm5/revxui-api-clients-ts.js +98 -137
  70. package/fesm5/revxui-api-clients-ts.js.map +1 -1
  71. package/model/{apiResponseObjectListBackfillAudienceQueryTemplateDTO.d.ts → apiResponseObjectArrayListCombinedAudienceAnalysisResponse.d.ts} +3 -3
  72. package/model/{backfillAudienceQueryTemplateDTO.d.ts → audienceAnalysisRequest.d.ts} +5 -5
  73. package/model/audienceDTO.d.ts +0 -2
  74. package/model/combinedAudienceAnalysisResponse.d.ts +19 -0
  75. package/model/models.d.ts +3 -4
  76. package/model/searchRequest.d.ts +1 -0
  77. package/model/strategyDTO.d.ts +0 -7
  78. package/package.json +1 -1
  79. package/revxui-api-clients-ts.metadata.json +1 -1
  80. package/esm2015/model/apiResponseObjectListBackfillAudienceQueryTemplateDTO.js +0 -1
  81. package/esm2015/model/audienceBackfillQueryTemplateRequest.js +0 -22
  82. package/esm2015/model/audienceBackfillRequest.js +0 -9
  83. package/esm5/model/apiResponseObjectListBackfillAudienceQueryTemplateDTO.js +0 -1
  84. package/esm5/model/audienceBackfillQueryTemplateRequest.js +0 -22
  85. package/esm5/model/audienceBackfillRequest.js +0 -9
  86. package/model/audienceBackfillQueryTemplateRequest.d.ts +0 -26
  87. package/model/audienceBackfillRequest.d.ts +0 -25
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@0.10.319
1
+ ## @revxui/api-clients-ts@0.10.321
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.319 --save
22
+ npm install @revxui/api-clients-ts@0.10.321 --save
23
23
  ```
24
24
 
25
25
  _without publishing (not recommended):_
@@ -12,6 +12,7 @@
12
12
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
13
13
  import { Observable } from 'rxjs';
14
14
  import { ApiResponseObjectApiListResponseAudiencePerformanceDTO } from '../model/apiResponseObjectApiListResponseAudiencePerformanceDTO';
15
+ import { ApiResponseObjectArrayListCombinedAudienceAnalysisResponse } from '../model/apiResponseObjectArrayListCombinedAudienceAnalysisResponse';
15
16
  import { ApiResponseObjectAudienceAccessDTO } from '../model/apiResponseObjectAudienceAccessDTO';
16
17
  import { ApiResponseObjectAudienceDTO } from '../model/apiResponseObjectAudienceDTO';
17
18
  import { ApiResponseObjectBaseModel } from '../model/apiResponseObjectBaseModel';
@@ -19,14 +20,11 @@ import { ApiResponseObjectChartDashboardResponse } from '../model/apiResponseObj
19
20
  import { ApiResponseObjectDmpAudienceDTO } from '../model/apiResponseObjectDmpAudienceDTO';
20
21
  import { ApiResponseObjectEligibleUsersResponse } from '../model/apiResponseObjectEligibleUsersResponse';
21
22
  import { ApiResponseObjectListAudienceDTO } from '../model/apiResponseObjectListAudienceDTO';
22
- import { ApiResponseObjectListBackfillAudienceQueryTemplateDTO } from '../model/apiResponseObjectListBackfillAudienceQueryTemplateDTO';
23
23
  import { ApiResponseObjectMapintResponseMessage } from '../model/apiResponseObjectMapintResponseMessage';
24
24
  import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObjectMaplongResponseMessage';
25
25
  import { ApiResponseObjectMetaRulesDto } from '../model/apiResponseObjectMetaRulesDto';
26
- import { ApiResponseObjectResponseMessage } from '../model/apiResponseObjectResponseMessage';
27
26
  import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
28
- import { AudienceBackfillQueryTemplateRequest } from '../model/audienceBackfillQueryTemplateRequest';
29
- import { AudienceBackfillRequest } from '../model/audienceBackfillRequest';
27
+ import { AudienceAnalysisRequest } from '../model/audienceAnalysisRequest';
30
28
  import { AudienceDTO } from '../model/audienceDTO';
31
29
  import { DashboardRequest } from '../model/dashboardRequest';
32
30
  import { EligibleUsersRequest } from '../model/eligibleUsersRequest';
@@ -73,15 +71,15 @@ export declare class AudienceControllerService {
73
71
  /**
74
72
  * Api to add a backfile rule to the audience
75
73
  *
76
- * @param request request
74
+ * @param audience audience
77
75
  * @param reqId request id
78
76
  * @param token Auth Token
79
77
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
80
78
  * @param reportProgress flag to report request and response progress.
81
79
  */
82
- addBackfillRuleUsingPOST(request: AudienceBackfillRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
83
- addBackfillRuleUsingPOST(request: AudienceBackfillRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
84
- addBackfillRuleUsingPOST(request: AudienceBackfillRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
80
+ addBackfillRuleUsingPOST(audience: AudienceDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectMaplongResponseMessage>;
81
+ addBackfillRuleUsingPOST(audience: AudienceDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectMaplongResponseMessage>>;
82
+ addBackfillRuleUsingPOST(audience: AudienceDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectMaplongResponseMessage>>;
85
83
  /**
86
84
  * Create to checkConnection.
87
85
  *
@@ -130,19 +128,6 @@ export declare class AudienceControllerService {
130
128
  getAccessUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectAudienceAccessDTO>;
131
129
  getAccessUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectAudienceAccessDTO>>;
132
130
  getAccessUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectAudienceAccessDTO>>;
133
- /**
134
- * Api to fetch all active templates
135
- *
136
- * @param id id
137
- * @param request request
138
- * @param reqId request id
139
- * @param token Auth Token
140
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
141
- * @param reportProgress flag to report request and response progress.
142
- */
143
- getActiveTemplatesUsingPOST(id: number, request: AudienceBackfillQueryTemplateRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListBackfillAudienceQueryTemplateDTO>;
144
- getActiveTemplatesUsingPOST(id: number, request: AudienceBackfillQueryTemplateRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListBackfillAudienceQueryTemplateDTO>>;
145
- getActiveTemplatesUsingPOST(id: number, request: AudienceBackfillQueryTemplateRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListBackfillAudienceQueryTemplateDTO>>;
146
131
  /**
147
132
  * Api to get All Audience
148
133
  *
@@ -172,6 +157,18 @@ export declare class AudienceControllerService {
172
157
  getAllDmpAudienceUsingGET(advertiser_id: number, limit?: number, reqId?: string, start?: number, stype?: number, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDmpAudienceDTO>;
173
158
  getAllDmpAudienceUsingGET(advertiser_id: number, limit?: number, reqId?: string, start?: number, stype?: number, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDmpAudienceDTO>>;
174
159
  getAllDmpAudienceUsingGET(advertiser_id: number, limit?: number, reqId?: string, start?: number, stype?: number, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDmpAudienceDTO>>;
160
+ /**
161
+ * APi to get audience analysis count
162
+ *
163
+ * @param audienceAnalysisRequest audienceAnalysisRequest
164
+ * @param reqId request id
165
+ * @param token Auth Token
166
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
167
+ * @param reportProgress flag to report request and response progress.
168
+ */
169
+ getAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectEligibleUsersResponse>;
170
+ getAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectEligibleUsersResponse>>;
171
+ getAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectEligibleUsersResponse>>;
175
172
  /**
176
173
  * Api to get Audience
177
174
  *
@@ -201,6 +198,18 @@ export declare class AudienceControllerService {
201
198
  getChartDataUsingPOST(audienceType: 'WEB_BROWSING' | 'MOBILE_APP' | 'DMP' | 'CRM' | 'RULE_BASED' | 'RULE_BASED_BACKFILL' | 'CRM_EMAIL' | 'CRM_PHONE' | 'LOOKALIKE_AUDIENCE' | 'FACEBOOK_ID', dashboardRequest: DashboardRequest, id: number, metric: string, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectChartDashboardResponse>;
202
199
  getChartDataUsingPOST(audienceType: 'WEB_BROWSING' | 'MOBILE_APP' | 'DMP' | 'CRM' | 'RULE_BASED' | 'RULE_BASED_BACKFILL' | 'CRM_EMAIL' | 'CRM_PHONE' | 'LOOKALIKE_AUDIENCE' | 'FACEBOOK_ID', dashboardRequest: DashboardRequest, id: number, metric: string, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectChartDashboardResponse>>;
203
200
  getChartDataUsingPOST(audienceType: 'WEB_BROWSING' | 'MOBILE_APP' | 'DMP' | 'CRM' | 'RULE_BASED' | 'RULE_BASED_BACKFILL' | 'CRM_EMAIL' | 'CRM_PHONE' | 'LOOKALIKE_AUDIENCE' | 'FACEBOOK_ID', dashboardRequest: DashboardRequest, id: number, metric: string, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectChartDashboardResponse>>;
201
+ /**
202
+ * APi to get audience analysis count for all combination
203
+ *
204
+ * @param audienceAnalysisRequest audienceAnalysisRequest
205
+ * @param reqId request id
206
+ * @param token Auth Token
207
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
208
+ * @param reportProgress flag to report request and response progress.
209
+ */
210
+ getCombinedAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectArrayListCombinedAudienceAnalysisResponse>;
211
+ getCombinedAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectArrayListCombinedAudienceAnalysisResponse>>;
212
+ getCombinedAnalysisAudienceCountUsingPOST(audienceAnalysisRequest: AudienceAnalysisRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectArrayListCombinedAudienceAnalysisResponse>>;
204
213
  /**
205
214
  * Api to get EligibleUsers
206
215
  *
@@ -285,16 +294,4 @@ export declare class AudienceControllerService {
285
294
  updateAudienceUsingPOST(audience: AudienceDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectAudienceDTO>;
286
295
  updateAudienceUsingPOST(audience: AudienceDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectAudienceDTO>>;
287
296
  updateAudienceUsingPOST(audience: AudienceDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectAudienceDTO>>;
288
- /**
289
- * Api to validate a backfill rule
290
- *
291
- * @param query query
292
- * @param reqId request id
293
- * @param token Auth Token
294
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
295
- * @param reportProgress flag to report request and response progress.
296
- */
297
- validateBackfillRuleUsingPOST(query: string, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectResponseMessage>;
298
- validateBackfillRuleUsingPOST(query: string, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectResponseMessage>>;
299
- validateBackfillRuleUsingPOST(query: string, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectResponseMessage>>;
300
297
  }
@@ -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://apiv2stage3.atomex.net';
311
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
528
+ this.basePath = 'https://apiv2stage2.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://apiv2stage3.atomex.net';
974
+ this.basePath = 'https://apiv2stage2.atomex.net';
975
975
  this.defaultHeaders = new http.HttpHeaders();
976
976
  this.configuration = new Configuration();
977
977
  if (basePath) {
@@ -1141,7 +1141,7 @@
1141
1141
  var AudienceControllerService = /** @class */ (function () {
1142
1142
  function AudienceControllerService(httpClient, basePath, configuration) {
1143
1143
  this.httpClient = httpClient;
1144
- this.basePath = 'https://apiv2stage3.atomex.net';
1144
+ this.basePath = 'https://apiv2stage2.atomex.net';
1145
1145
  this.defaultHeaders = new http.HttpHeaders();
1146
1146
  this.configuration = new Configuration();
1147
1147
  if (basePath) {
@@ -1246,11 +1246,11 @@
1246
1246
  reportProgress: reportProgress
1247
1247
  });
1248
1248
  };
1249
- AudienceControllerService.prototype.addBackfillRuleUsingPOST = function (request, reqId, token, observe, reportProgress) {
1249
+ AudienceControllerService.prototype.addBackfillRuleUsingPOST = function (audience, reqId, token, observe, reportProgress) {
1250
1250
  if (observe === void 0) { observe = 'body'; }
1251
1251
  if (reportProgress === void 0) { reportProgress = false; }
1252
- if (request === null || request === undefined) {
1253
- throw new Error('Required parameter request was null or undefined when calling addBackfillRuleUsingPOST.');
1252
+ if (audience === null || audience === undefined) {
1253
+ throw new Error('Required parameter audience was null or undefined when calling addBackfillRuleUsingPOST.');
1254
1254
  }
1255
1255
  var headers = this.defaultHeaders;
1256
1256
  if (reqId !== undefined && reqId !== null) {
@@ -1275,7 +1275,7 @@
1275
1275
  if (httpContentTypeSelected != undefined) {
1276
1276
  headers = headers.set('Content-Type', httpContentTypeSelected);
1277
1277
  }
1278
- return this.httpClient.post(this.basePath + "/v2/api/audience/addbackfillrule", request, {
1278
+ return this.httpClient.post(this.basePath + "/v2/api/audience/addbackfillrule", audience, {
1279
1279
  withCredentials: this.configuration.withCredentials,
1280
1280
  headers: headers,
1281
1281
  observe: observe,
@@ -1421,14 +1421,15 @@
1421
1421
  reportProgress: reportProgress
1422
1422
  });
1423
1423
  };
1424
- AudienceControllerService.prototype.getActiveTemplatesUsingPOST = function (id, request, reqId, token, observe, reportProgress) {
1424
+ AudienceControllerService.prototype.getAllAudienceUsingPOST = function (advertiser_id, refresh, reqId, search, token, observe, reportProgress) {
1425
1425
  if (observe === void 0) { observe = 'body'; }
1426
1426
  if (reportProgress === void 0) { reportProgress = false; }
1427
- if (id === null || id === undefined) {
1428
- throw new Error('Required parameter id was null or undefined when calling getActiveTemplatesUsingPOST.');
1427
+ var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1428
+ if (advertiser_id !== undefined && advertiser_id !== null) {
1429
+ queryParameters = queryParameters.set('advertiser_id', advertiser_id);
1429
1430
  }
1430
- if (request === null || request === undefined) {
1431
- throw new Error('Required parameter request was null or undefined when calling getActiveTemplatesUsingPOST.');
1431
+ if (refresh !== undefined && refresh !== null) {
1432
+ queryParameters = queryParameters.set('refresh', refresh);
1432
1433
  }
1433
1434
  var headers = this.defaultHeaders;
1434
1435
  if (reqId !== undefined && reqId !== null) {
@@ -1453,22 +1454,32 @@
1453
1454
  if (httpContentTypeSelected != undefined) {
1454
1455
  headers = headers.set('Content-Type', httpContentTypeSelected);
1455
1456
  }
1456
- return this.httpClient.post(this.basePath + "/v2/api/audience/activetemplates/" + encodeURIComponent(String(id)), request, {
1457
+ return this.httpClient.post(this.basePath + "/v2/api/audience/all", search, {
1458
+ params: queryParameters,
1457
1459
  withCredentials: this.configuration.withCredentials,
1458
1460
  headers: headers,
1459
1461
  observe: observe,
1460
1462
  reportProgress: reportProgress
1461
1463
  });
1462
1464
  };
1463
- AudienceControllerService.prototype.getAllAudienceUsingPOST = function (advertiser_id, refresh, reqId, search, token, observe, reportProgress) {
1465
+ AudienceControllerService.prototype.getAllDmpAudienceUsingGET = function (advertiser_id, limit, reqId, start, stype, token, observe, reportProgress) {
1464
1466
  if (observe === void 0) { observe = 'body'; }
1465
1467
  if (reportProgress === void 0) { reportProgress = false; }
1468
+ if (advertiser_id === null || advertiser_id === undefined) {
1469
+ throw new Error('Required parameter advertiser_id was null or undefined when calling getAllDmpAudienceUsingGET.');
1470
+ }
1466
1471
  var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1467
1472
  if (advertiser_id !== undefined && advertiser_id !== null) {
1468
1473
  queryParameters = queryParameters.set('advertiser_id', advertiser_id);
1469
1474
  }
1470
- if (refresh !== undefined && refresh !== null) {
1471
- queryParameters = queryParameters.set('refresh', refresh);
1475
+ if (limit !== undefined && limit !== null) {
1476
+ queryParameters = queryParameters.set('limit', limit);
1477
+ }
1478
+ if (start !== undefined && start !== null) {
1479
+ queryParameters = queryParameters.set('start', start);
1480
+ }
1481
+ if (stype !== undefined && stype !== null) {
1482
+ queryParameters = queryParameters.set('stype', stype);
1472
1483
  }
1473
1484
  var headers = this.defaultHeaders;
1474
1485
  if (reqId !== undefined && reqId !== null) {
@@ -1479,21 +1490,15 @@
1479
1490
  }
1480
1491
  // to determine the Accept header
1481
1492
  var httpHeaderAccepts = [
1482
- 'application/json'
1493
+ '*/*'
1483
1494
  ];
1484
1495
  var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1485
1496
  if (httpHeaderAcceptSelected != undefined) {
1486
1497
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1487
1498
  }
1488
1499
  // to determine the Content-Type header
1489
- var consumes = [
1490
- 'application/json'
1491
- ];
1492
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1493
- if (httpContentTypeSelected != undefined) {
1494
- headers = headers.set('Content-Type', httpContentTypeSelected);
1495
- }
1496
- return this.httpClient.post(this.basePath + "/v2/api/audience/all", search, {
1500
+ var consumes = [];
1501
+ return this.httpClient.get(this.basePath + "/v2/api/audience/dmp", {
1497
1502
  params: queryParameters,
1498
1503
  withCredentials: this.configuration.withCredentials,
1499
1504
  headers: headers,
@@ -1501,24 +1506,11 @@
1501
1506
  reportProgress: reportProgress
1502
1507
  });
1503
1508
  };
1504
- AudienceControllerService.prototype.getAllDmpAudienceUsingGET = function (advertiser_id, limit, reqId, start, stype, token, observe, reportProgress) {
1509
+ AudienceControllerService.prototype.getAnalysisAudienceCountUsingPOST = function (audienceAnalysisRequest, reqId, token, observe, reportProgress) {
1505
1510
  if (observe === void 0) { observe = 'body'; }
1506
1511
  if (reportProgress === void 0) { reportProgress = false; }
1507
- if (advertiser_id === null || advertiser_id === undefined) {
1508
- throw new Error('Required parameter advertiser_id was null or undefined when calling getAllDmpAudienceUsingGET.');
1509
- }
1510
- var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1511
- if (advertiser_id !== undefined && advertiser_id !== null) {
1512
- queryParameters = queryParameters.set('advertiser_id', advertiser_id);
1513
- }
1514
- if (limit !== undefined && limit !== null) {
1515
- queryParameters = queryParameters.set('limit', limit);
1516
- }
1517
- if (start !== undefined && start !== null) {
1518
- queryParameters = queryParameters.set('start', start);
1519
- }
1520
- if (stype !== undefined && stype !== null) {
1521
- queryParameters = queryParameters.set('stype', stype);
1512
+ if (audienceAnalysisRequest === null || audienceAnalysisRequest === undefined) {
1513
+ throw new Error('Required parameter audienceAnalysisRequest was null or undefined when calling getAnalysisAudienceCountUsingPOST.');
1522
1514
  }
1523
1515
  var headers = this.defaultHeaders;
1524
1516
  if (reqId !== undefined && reqId !== null) {
@@ -1536,9 +1528,14 @@
1536
1528
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1537
1529
  }
1538
1530
  // to determine the Content-Type header
1539
- var consumes = [];
1540
- return this.httpClient.get(this.basePath + "/v2/api/audience/dmp", {
1541
- params: queryParameters,
1531
+ var consumes = [
1532
+ 'application/json'
1533
+ ];
1534
+ var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1535
+ if (httpContentTypeSelected != undefined) {
1536
+ headers = headers.set('Content-Type', httpContentTypeSelected);
1537
+ }
1538
+ return this.httpClient.post(this.basePath + "/v2/api/audience/audienceanalysis", audienceAnalysisRequest, {
1542
1539
  withCredentials: this.configuration.withCredentials,
1543
1540
  headers: headers,
1544
1541
  observe: observe,
@@ -1639,6 +1636,42 @@
1639
1636
  reportProgress: reportProgress
1640
1637
  });
1641
1638
  };
1639
+ AudienceControllerService.prototype.getCombinedAnalysisAudienceCountUsingPOST = function (audienceAnalysisRequest, reqId, token, observe, reportProgress) {
1640
+ if (observe === void 0) { observe = 'body'; }
1641
+ if (reportProgress === void 0) { reportProgress = false; }
1642
+ if (audienceAnalysisRequest === null || audienceAnalysisRequest === undefined) {
1643
+ throw new Error('Required parameter audienceAnalysisRequest was null or undefined when calling getCombinedAnalysisAudienceCountUsingPOST.');
1644
+ }
1645
+ var headers = this.defaultHeaders;
1646
+ if (reqId !== undefined && reqId !== null) {
1647
+ headers = headers.set('reqId', String(reqId));
1648
+ }
1649
+ if (token !== undefined && token !== null) {
1650
+ headers = headers.set('token', String(token));
1651
+ }
1652
+ // to determine the Accept header
1653
+ var httpHeaderAccepts = [
1654
+ '*/*'
1655
+ ];
1656
+ var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1657
+ if (httpHeaderAcceptSelected != undefined) {
1658
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1659
+ }
1660
+ // to determine the Content-Type header
1661
+ var consumes = [
1662
+ 'application/json'
1663
+ ];
1664
+ var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1665
+ if (httpContentTypeSelected != undefined) {
1666
+ headers = headers.set('Content-Type', httpContentTypeSelected);
1667
+ }
1668
+ return this.httpClient.post(this.basePath + "/v2/api/audience/audienceanalysis/combination", audienceAnalysisRequest, {
1669
+ withCredentials: this.configuration.withCredentials,
1670
+ headers: headers,
1671
+ observe: observe,
1672
+ reportProgress: reportProgress
1673
+ });
1674
+ };
1642
1675
  AudienceControllerService.prototype.getEligibleUsersCountUsingPOST = function (eligibleUsersRequest, reqId, token, observe, reportProgress) {
1643
1676
  if (observe === void 0) { observe = 'body'; }
1644
1677
  if (reportProgress === void 0) { reportProgress = false; }
@@ -1877,42 +1910,6 @@
1877
1910
  reportProgress: reportProgress
1878
1911
  });
1879
1912
  };
1880
- AudienceControllerService.prototype.validateBackfillRuleUsingPOST = function (query, reqId, token, observe, reportProgress) {
1881
- if (observe === void 0) { observe = 'body'; }
1882
- if (reportProgress === void 0) { reportProgress = false; }
1883
- if (query === null || query === undefined) {
1884
- throw new Error('Required parameter query was null or undefined when calling validateBackfillRuleUsingPOST.');
1885
- }
1886
- var headers = this.defaultHeaders;
1887
- if (reqId !== undefined && reqId !== null) {
1888
- headers = headers.set('reqId', String(reqId));
1889
- }
1890
- if (token !== undefined && token !== null) {
1891
- headers = headers.set('token', String(token));
1892
- }
1893
- // to determine the Accept header
1894
- var httpHeaderAccepts = [
1895
- 'application/json'
1896
- ];
1897
- var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1898
- if (httpHeaderAcceptSelected != undefined) {
1899
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1900
- }
1901
- // to determine the Content-Type header
1902
- var consumes = [
1903
- 'application/json'
1904
- ];
1905
- var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1906
- if (httpContentTypeSelected != undefined) {
1907
- headers = headers.set('Content-Type', httpContentTypeSelected);
1908
- }
1909
- return this.httpClient.post(this.basePath + "/v2/api/audience/validatebackfillrule", query, {
1910
- withCredentials: this.configuration.withCredentials,
1911
- headers: headers,
1912
- observe: observe,
1913
- reportProgress: reportProgress
1914
- });
1915
- };
1916
1913
  AudienceControllerService.ctorParameters = function () { return [
1917
1914
  { type: http.HttpClient },
1918
1915
  { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
@@ -1939,7 +1936,7 @@
1939
1936
  var AuditControllerService = /** @class */ (function () {
1940
1937
  function AuditControllerService(httpClient, basePath, configuration) {
1941
1938
  this.httpClient = httpClient;
1942
- this.basePath = 'https://apiv2stage3.atomex.net';
1939
+ this.basePath = 'https://apiv2stage2.atomex.net';
1943
1940
  this.defaultHeaders = new http.HttpHeaders();
1944
1941
  this.configuration = new Configuration();
1945
1942
  if (basePath) {
@@ -2138,7 +2135,7 @@
2138
2135
  var BulkStrategyControllerService = /** @class */ (function () {
2139
2136
  function BulkStrategyControllerService(httpClient, basePath, configuration) {
2140
2137
  this.httpClient = httpClient;
2141
- this.basePath = 'https://apiv2stage3.atomex.net';
2138
+ this.basePath = 'https://apiv2stage2.atomex.net';
2142
2139
  this.defaultHeaders = new http.HttpHeaders();
2143
2140
  this.configuration = new Configuration();
2144
2141
  if (basePath) {
@@ -2381,7 +2378,7 @@
2381
2378
  var CSSThemeController_Service = /** @class */ (function () {
2382
2379
  function CSSThemeController_Service(httpClient, basePath, configuration) {
2383
2380
  this.httpClient = httpClient;
2384
- this.basePath = 'https://apiv2stage3.atomex.net';
2381
+ this.basePath = 'https://apiv2stage2.atomex.net';
2385
2382
  this.defaultHeaders = new http.HttpHeaders();
2386
2383
  this.configuration = new Configuration();
2387
2384
  if (basePath) {
@@ -2502,7 +2499,7 @@
2502
2499
  var CampaignControllerService = /** @class */ (function () {
2503
2500
  function CampaignControllerService(httpClient, basePath, configuration) {
2504
2501
  this.httpClient = httpClient;
2505
- this.basePath = 'https://apiv2stage3.atomex.net';
2502
+ this.basePath = 'https://apiv2stage2.atomex.net';
2506
2503
  this.defaultHeaders = new http.HttpHeaders();
2507
2504
  this.configuration = new Configuration();
2508
2505
  if (basePath) {
@@ -2824,7 +2821,7 @@
2824
2821
  var CatalogControllerService = /** @class */ (function () {
2825
2822
  function CatalogControllerService(httpClient, basePath, configuration) {
2826
2823
  this.httpClient = httpClient;
2827
- this.basePath = 'https://apiv2stage3.atomex.net';
2824
+ this.basePath = 'https://apiv2stage2.atomex.net';
2828
2825
  this.defaultHeaders = new http.HttpHeaders();
2829
2826
  this.configuration = new Configuration();
2830
2827
  if (basePath) {
@@ -3047,7 +3044,7 @@
3047
3044
  var ClickDestinationControllerService = /** @class */ (function () {
3048
3045
  function ClickDestinationControllerService(httpClient, basePath, configuration) {
3049
3046
  this.httpClient = httpClient;
3050
- this.basePath = 'https://apiv2stage3.atomex.net';
3047
+ this.basePath = 'https://apiv2stage2.atomex.net';
3051
3048
  this.defaultHeaders = new http.HttpHeaders();
3052
3049
  this.configuration = new Configuration();
3053
3050
  if (basePath) {
@@ -3297,7 +3294,7 @@
3297
3294
  var CreativeControllerService = /** @class */ (function () {
3298
3295
  function CreativeControllerService(httpClient, basePath, configuration) {
3299
3296
  this.httpClient = httpClient;
3300
- this.basePath = 'https://apiv2stage3.atomex.net';
3297
+ this.basePath = 'https://apiv2stage2.atomex.net';
3301
3298
  this.defaultHeaders = new http.HttpHeaders();
3302
3299
  this.configuration = new Configuration();
3303
3300
  if (basePath) {
@@ -3774,7 +3771,7 @@
3774
3771
  var CreativeSetsControllerService = /** @class */ (function () {
3775
3772
  function CreativeSetsControllerService(httpClient, basePath, configuration) {
3776
3773
  this.httpClient = httpClient;
3777
- this.basePath = 'https://apiv2stage3.atomex.net';
3774
+ this.basePath = 'https://apiv2stage2.atomex.net';
3778
3775
  this.defaultHeaders = new http.HttpHeaders();
3779
3776
  this.configuration = new Configuration();
3780
3777
  if (basePath) {
@@ -4219,7 +4216,7 @@
4219
4216
  var CreativeTemplateThemesControllerService = /** @class */ (function () {
4220
4217
  function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
4221
4218
  this.httpClient = httpClient;
4222
- this.basePath = 'https://apiv2stage3.atomex.net';
4219
+ this.basePath = 'https://apiv2stage2.atomex.net';
4223
4220
  this.defaultHeaders = new http.HttpHeaders();
4224
4221
  this.configuration = new Configuration();
4225
4222
  if (basePath) {
@@ -4420,7 +4417,7 @@
4420
4417
  var CreativeTemplateVariablesControllerService = /** @class */ (function () {
4421
4418
  function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
4422
4419
  this.httpClient = httpClient;
4423
- this.basePath = 'https://apiv2stage3.atomex.net';
4420
+ this.basePath = 'https://apiv2stage2.atomex.net';
4424
4421
  this.defaultHeaders = new http.HttpHeaders();
4425
4422
  this.configuration = new Configuration();
4426
4423
  if (basePath) {
@@ -4508,7 +4505,7 @@
4508
4505
  var CreativeTemplatesControllerService = /** @class */ (function () {
4509
4506
  function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
4510
4507
  this.httpClient = httpClient;
4511
- this.basePath = 'https://apiv2stage3.atomex.net';
4508
+ this.basePath = 'https://apiv2stage2.atomex.net';
4512
4509
  this.defaultHeaders = new http.HttpHeaders();
4513
4510
  this.configuration = new Configuration();
4514
4511
  if (basePath) {
@@ -4687,7 +4684,7 @@
4687
4684
  var DashboardControllerService = /** @class */ (function () {
4688
4685
  function DashboardControllerService(httpClient, basePath, configuration) {
4689
4686
  this.httpClient = httpClient;
4690
- this.basePath = 'https://apiv2stage3.atomex.net';
4687
+ this.basePath = 'https://apiv2stage2.atomex.net';
4691
4688
  this.defaultHeaders = new http.HttpHeaders();
4692
4689
  this.configuration = new Configuration();
4693
4690
  if (basePath) {
@@ -5344,7 +5341,7 @@
5344
5341
  var NotificationsControllerService = /** @class */ (function () {
5345
5342
  function NotificationsControllerService(httpClient, basePath, configuration) {
5346
5343
  this.httpClient = httpClient;
5347
- this.basePath = 'https://apiv2stage3.atomex.net';
5344
+ this.basePath = 'https://apiv2stage2.atomex.net';
5348
5345
  this.defaultHeaders = new http.HttpHeaders();
5349
5346
  this.configuration = new Configuration();
5350
5347
  if (basePath) {
@@ -5543,7 +5540,7 @@
5543
5540
  var PixelControllerService = /** @class */ (function () {
5544
5541
  function PixelControllerService(httpClient, basePath, configuration) {
5545
5542
  this.httpClient = httpClient;
5546
- this.basePath = 'https://apiv2stage3.atomex.net';
5543
+ this.basePath = 'https://apiv2stage2.atomex.net';
5547
5544
  this.defaultHeaders = new http.HttpHeaders();
5548
5545
  this.configuration = new Configuration();
5549
5546
  if (basePath) {
@@ -5872,7 +5869,7 @@
5872
5869
  var ReportingControllerService = /** @class */ (function () {
5873
5870
  function ReportingControllerService(httpClient, basePath, configuration) {
5874
5871
  this.httpClient = httpClient;
5875
- this.basePath = 'https://apiv2stage3.atomex.net';
5872
+ this.basePath = 'https://apiv2stage2.atomex.net';
5876
5873
  this.defaultHeaders = new http.HttpHeaders();
5877
5874
  this.configuration = new Configuration();
5878
5875
  if (basePath) {
@@ -6056,7 +6053,7 @@
6056
6053
  var SliceXControllerService = /** @class */ (function () {
6057
6054
  function SliceXControllerService(httpClient, basePath, configuration) {
6058
6055
  this.httpClient = httpClient;
6059
- this.basePath = 'https://apiv2stage3.atomex.net';
6056
+ this.basePath = 'https://apiv2stage2.atomex.net';
6060
6057
  this.defaultHeaders = new http.HttpHeaders();
6061
6058
  this.configuration = new Configuration();
6062
6059
  if (basePath) {
@@ -6324,7 +6321,7 @@
6324
6321
  var StrategyControllerService = /** @class */ (function () {
6325
6322
  function StrategyControllerService(httpClient, basePath, configuration) {
6326
6323
  this.httpClient = httpClient;
6327
- this.basePath = 'https://apiv2stage3.atomex.net';
6324
+ this.basePath = 'https://apiv2stage2.atomex.net';
6328
6325
  this.defaultHeaders = new http.HttpHeaders();
6329
6326
  this.configuration = new Configuration();
6330
6327
  if (basePath) {
@@ -6985,7 +6982,7 @@
6985
6982
  var UILoggerControllerService = /** @class */ (function () {
6986
6983
  function UILoggerControllerService(httpClient, basePath, configuration) {
6987
6984
  this.httpClient = httpClient;
6988
- this.basePath = 'https://apiv2stage3.atomex.net';
6985
+ this.basePath = 'https://apiv2stage2.atomex.net';
6989
6986
  this.defaultHeaders = new http.HttpHeaders();
6990
6987
  this.configuration = new Configuration();
6991
6988
  if (basePath) {
@@ -7087,7 +7084,7 @@
7087
7084
  var UserPreferenceControllerService = /** @class */ (function () {
7088
7085
  function UserPreferenceControllerService(httpClient, basePath, configuration) {
7089
7086
  this.httpClient = httpClient;
7090
- this.basePath = 'https://apiv2stage3.atomex.net';
7087
+ this.basePath = 'https://apiv2stage2.atomex.net';
7091
7088
  this.defaultHeaders = new http.HttpHeaders();
7092
7089
  this.configuration = new Configuration();
7093
7090
  if (basePath) {
@@ -7343,37 +7340,6 @@
7343
7340
  };
7344
7341
  })(exports.AuctionTypeEditField || (exports.AuctionTypeEditField = {}));
7345
7342
 
7346
- /**
7347
- * Api Documentation
7348
- * Api Documentation
7349
- *
7350
- * OpenAPI spec version: 1.0
7351
- *
7352
- *
7353
- * NOTE: This class is auto generated by the swagger code generator program.
7354
- * https://github.com/swagger-api/swagger-codegen.git
7355
- * Do not edit the class manually.
7356
- */
7357
-
7358
- (function (AudienceBackfillQueryTemplateRequest) {
7359
- AudienceBackfillQueryTemplateRequest.DurationUnitEnum = {
7360
- MINUTE: 'MINUTE',
7361
- HOUR: 'HOUR',
7362
- DAY: 'DAY',
7363
- WEEK: 'WEEK',
7364
- MONTH: 'MONTH'
7365
- };
7366
- })(exports.AudienceBackfillQueryTemplateRequest || (exports.AudienceBackfillQueryTemplateRequest = {}));
7367
-
7368
-
7369
- (function (AudienceBackfillRequest) {
7370
- AudienceBackfillRequest.BackfillScheduleEnum = {
7371
- ONLYONCE: 'ONLY_ONCE',
7372
- ONCEADAY: 'ONCE_A_DAY',
7373
- ONCEAWEEK: 'ONCE_A_WEEK'
7374
- };
7375
- })(exports.AudienceBackfillRequest || (exports.AudienceBackfillRequest = {}));
7376
-
7377
7343
 
7378
7344
  (function (AudienceDTO) {
7379
7345
  AudienceDTO.AudienceTypeEnum = {
@@ -8015,11 +7981,6 @@
8015
7981
  DAYWEIGHTEDRANDOM: 'PS_DAY_WEIGHTED_RANDOM',
8016
7982
  ADVPRCONTENTTS: 'PS_ADV_PR_CONTENT_TS'
8017
7983
  };
8018
- StrategyDTO.PublisherTypesEnum = {
8019
- DIRECT: 'DIRECT',
8020
- RESELLER: 'RESELLER',
8021
- UNKNOWN: 'UNKNOWN'
8022
- };
8023
7984
  })(exports.StrategyDTO || (exports.StrategyDTO = {}));
8024
7985
 
8025
7986
  /**