@revxui/intellibid-client-ts 1.0.26 → 1.0.28

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 (111) hide show
  1. package/README.md +2 -2
  2. package/api/{campaignController.service.d.ts → advertiserController.service.d.ts} +3 -3
  3. package/api/api.d.ts +15 -9
  4. package/api/dpaEngagementController.service.d.ts +8 -6
  5. package/api/facebookAdImageController.service.d.ts +52 -0
  6. package/api/facebookAdVideoController.service.d.ts +63 -0
  7. package/api/{adVideoController.service.d.ts → sourcePlatformMETAController.service.d.ts} +40 -6
  8. package/api/{countryController.service.d.ts → sourcePlatformMETADictionaryController.service.d.ts} +6 -6
  9. package/api/{adImageController.service.d.ts → sourcePlatformTIKTOKController.service.d.ts} +15 -14
  10. package/api/sourcePlatformTIKTOKDictionaryController.service.d.ts +28 -0
  11. package/esm2020/api/advertiserController.service.mjs +179 -0
  12. package/esm2020/api/api.mjs +16 -10
  13. package/esm2020/api/businessGeoController.service.mjs +4 -4
  14. package/esm2020/api/campaignInsightsController.service.mjs +4 -4
  15. package/esm2020/api/dpaCampaignController.service.mjs +4 -4
  16. package/esm2020/api/dpaEngagementController.service.mjs +15 -6
  17. package/esm2020/api/facebookAdImageController.service.mjs +144 -0
  18. package/esm2020/api/facebookAdVideoController.service.mjs +169 -0
  19. package/esm2020/api/facebookEngagementController.service.mjs +4 -4
  20. package/esm2020/api/mobileAppDetailController.service.mjs +4 -4
  21. package/esm2020/api/packageDetailController.service.mjs +4 -4
  22. package/esm2020/api/sourcePlatformMETAController.service.mjs +253 -0
  23. package/esm2020/api/sourcePlatformMETADictionaryController.service.mjs +78 -0
  24. package/esm2020/api/sourcePlatformTIKTOKController.service.mjs +156 -0
  25. package/esm2020/api/sourcePlatformTIKTOKDictionaryController.service.mjs +78 -0
  26. package/esm2020/api.module.mjs +24 -15
  27. package/esm2020/model/adImageResponse.mjs +4 -4
  28. package/esm2020/model/adSetDetails.mjs +4 -4
  29. package/esm2020/model/adVideoResponse.mjs +4 -4
  30. package/esm2020/model/audienceDetails.mjs +4 -4
  31. package/esm2020/model/businessGeoResponse.mjs +4 -4
  32. package/esm2020/model/campaignInsightsRecord.mjs +4 -4
  33. package/esm2020/model/campaignInsightsResponse.mjs +1 -1
  34. package/esm2020/model/campaignResponse.mjs +4 -4
  35. package/esm2020/model/campaignSearchResponse.mjs +4 -4
  36. package/esm2020/model/countryResponse.mjs +4 -4
  37. package/esm2020/model/createCampaignRequest.mjs +4 -4
  38. package/esm2020/model/creativeDetails.mjs +1 -1
  39. package/esm2020/model/dpaCampaignRequest.mjs +1 -1
  40. package/esm2020/model/dpaCampaignResponse.mjs +1 -1
  41. package/esm2020/model/dpaEngagementChangeLogResponse.mjs +4 -4
  42. package/esm2020/model/dpaEngagementRequest.mjs +10 -2
  43. package/esm2020/model/dpaEngagementResponse.mjs +7 -1
  44. package/esm2020/model/dpaEngagementSearchResponse.mjs +4 -4
  45. package/esm2020/model/exclusionRule.mjs +4 -4
  46. package/esm2020/model/facebookDetails.mjs +1 -1
  47. package/esm2020/model/facebookEngagementRequest.mjs +4 -4
  48. package/esm2020/model/facebookEngagementResponse.mjs +4 -4
  49. package/esm2020/model/imageOverlaySpecDetails.mjs +4 -4
  50. package/esm2020/model/mobileAppDetailRequest.mjs +4 -4
  51. package/esm2020/model/mobileAppDetailResponse.mjs +4 -4
  52. package/esm2020/model/models.mjs +2 -1
  53. package/esm2020/model/packageDetailResponse.mjs +4 -4
  54. package/esm2020/model/pageCampaignResponse.mjs +1 -1
  55. package/esm2020/model/pageDpaEngagementChangeLogResponse.mjs +1 -1
  56. package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
  57. package/esm2020/model/pageFacebookEngagementResponse.mjs +1 -1
  58. package/esm2020/model/pageMobileAppDetailResponse.mjs +1 -1
  59. package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
  60. package/esm2020/model/pageableObject.mjs +1 -1
  61. package/esm2020/model/sortObject.mjs +4 -4
  62. package/esm2020/model/tiktokCountryResponse.mjs +13 -0
  63. package/esm2020/model/updateDailyBudgetRequest.mjs +4 -4
  64. package/esm2020/model/updateMarginRequest.mjs +4 -4
  65. package/fesm2015/revxui-intellibid-client-ts.mjs +1284 -783
  66. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
  67. package/fesm2020/revxui-intellibid-client-ts.mjs +1252 -745
  68. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
  69. package/model/adImageResponse.d.ts +3 -3
  70. package/model/adSetDetails.d.ts +3 -3
  71. package/model/adVideoResponse.d.ts +3 -3
  72. package/model/audienceDetails.d.ts +3 -3
  73. package/model/businessGeoResponse.d.ts +3 -3
  74. package/model/campaignInsightsRecord.d.ts +3 -3
  75. package/model/campaignInsightsResponse.d.ts +3 -3
  76. package/model/campaignResponse.d.ts +3 -3
  77. package/model/campaignSearchResponse.d.ts +3 -3
  78. package/model/countryResponse.d.ts +3 -3
  79. package/model/createCampaignRequest.d.ts +3 -3
  80. package/model/creativeDetails.d.ts +3 -3
  81. package/model/dpaCampaignRequest.d.ts +3 -3
  82. package/model/dpaCampaignResponse.d.ts +3 -3
  83. package/model/dpaEngagementChangeLogResponse.d.ts +3 -3
  84. package/model/dpaEngagementRequest.d.ts +13 -3
  85. package/model/dpaEngagementResponse.d.ts +11 -3
  86. package/model/dpaEngagementSearchResponse.d.ts +3 -3
  87. package/model/exclusionRule.d.ts +3 -3
  88. package/model/facebookDetails.d.ts +3 -3
  89. package/model/facebookEngagementRequest.d.ts +3 -3
  90. package/model/facebookEngagementResponse.d.ts +3 -3
  91. package/model/imageOverlaySpecDetails.d.ts +3 -3
  92. package/model/mobileAppDetailRequest.d.ts +3 -3
  93. package/model/mobileAppDetailResponse.d.ts +3 -3
  94. package/model/models.d.ts +1 -0
  95. package/model/packageDetailResponse.d.ts +3 -3
  96. package/model/pageCampaignResponse.d.ts +5 -5
  97. package/model/pageDpaEngagementChangeLogResponse.d.ts +5 -5
  98. package/model/pageDpaEngagementResponse.d.ts +5 -5
  99. package/model/pageFacebookEngagementResponse.d.ts +5 -5
  100. package/model/pageMobileAppDetailResponse.d.ts +5 -5
  101. package/model/pagePackageDetailResponse.d.ts +5 -5
  102. package/model/pageableObject.d.ts +5 -5
  103. package/model/sortObject.d.ts +3 -3
  104. package/model/tiktokCountryResponse.d.ts +16 -0
  105. package/model/updateDailyBudgetRequest.d.ts +3 -3
  106. package/model/updateMarginRequest.d.ts +3 -3
  107. package/package.json +1 -1
  108. package/esm2020/api/adImageController.service.mjs +0 -144
  109. package/esm2020/api/adVideoController.service.mjs +0 -169
  110. package/esm2020/api/campaignController.service.mjs +0 -179
  111. package/esm2020/api/countryController.service.mjs +0 -78
@@ -87,17 +87,17 @@ class Configuration {
87
87
  }
88
88
 
89
89
  /**
90
+ * Intellibid API
91
+ * API documentation for the Intellibid platform
90
92
  *
91
- *
92
- *
93
- *
93
+ * OpenAPI spec version: 1.0
94
94
  *
95
95
  *
96
96
  * NOTE: This class is auto generated by the swagger code generator program.
97
97
  * https://github.com/swagger-api/swagger-codegen.git
98
98
  * Do not edit the class manually.
99
99
  */ /* tslint:disable:no-unused-variable member-ordering */
100
- class AdImageControllerService {
100
+ class AdvertiserControllerService {
101
101
  constructor(httpClient, basePath, configuration) {
102
102
  this.httpClient = httpClient;
103
103
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -124,37 +124,55 @@ class AdImageControllerService {
124
124
  }
125
125
  return false;
126
126
  }
127
- deleteAdImage(adAccountId, hash, observe = 'body', reportProgress = false) {
128
- if (adAccountId === null || adAccountId === undefined) {
129
- throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdImage.');
130
- }
131
- if (hash === null || hash === undefined) {
132
- throw new Error('Required parameter hash was null or undefined when calling deleteAdImage.');
127
+ createCampaign(body, observe = 'body', reportProgress = false) {
128
+ if (body === null || body === undefined) {
129
+ throw new Error('Required parameter body was null or undefined when calling createCampaign.');
133
130
  }
134
131
  let headers = this.defaultHeaders;
135
132
  // to determine the Accept header
136
- let httpHeaderAccepts = [];
133
+ let httpHeaderAccepts = [
134
+ '*/*'
135
+ ];
137
136
  const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
138
137
  if (httpHeaderAcceptSelected != undefined) {
139
138
  headers = headers.set('Accept', httpHeaderAcceptSelected);
140
139
  }
141
140
  // to determine the Content-Type header
142
- const consumes = [];
143
- return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image/${encodeURIComponent(String(hash))}/delete`, {
141
+ const consumes = [
142
+ 'application/json'
143
+ ];
144
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
145
+ if (httpContentTypeSelected != undefined) {
146
+ headers = headers.set('Content-Type', httpContentTypeSelected);
147
+ }
148
+ return this.httpClient.request('post', `${this.basePath}/api/advertiser`, {
149
+ body: body,
144
150
  withCredentials: this.configuration.withCredentials,
145
151
  headers: headers,
146
152
  observe: observe,
147
153
  reportProgress: reportProgress
148
154
  });
149
155
  }
150
- getAllAdImages(adAccountId, hashes, observe = 'body', reportProgress = false) {
151
- if (adAccountId === null || adAccountId === undefined) {
152
- throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImages.');
153
- }
156
+ getAllCampaigns(name, vizardPackageId, status, page, size, sort, observe = 'body', reportProgress = false) {
154
157
  let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
155
- if (hashes) {
156
- hashes.forEach((element) => {
157
- queryParameters = queryParameters.append('hashes', element);
158
+ if (name !== undefined && name !== null) {
159
+ queryParameters = queryParameters.set('name', name);
160
+ }
161
+ if (vizardPackageId !== undefined && vizardPackageId !== null) {
162
+ queryParameters = queryParameters.set('vizardPackageId', vizardPackageId);
163
+ }
164
+ if (status !== undefined && status !== null) {
165
+ queryParameters = queryParameters.set('status', status);
166
+ }
167
+ if (page !== undefined && page !== null) {
168
+ queryParameters = queryParameters.set('page', page);
169
+ }
170
+ if (size !== undefined && size !== null) {
171
+ queryParameters = queryParameters.set('size', size);
172
+ }
173
+ if (sort) {
174
+ sort.forEach((element) => {
175
+ queryParameters = queryParameters.append('sort', element);
158
176
  });
159
177
  }
160
178
  let headers = this.defaultHeaders;
@@ -168,7 +186,7 @@ class AdImageControllerService {
168
186
  }
169
187
  // to determine the Content-Type header
170
188
  const consumes = [];
171
- return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
189
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
172
190
  params: queryParameters,
173
191
  withCredentials: this.configuration.withCredentials,
174
192
  headers: headers,
@@ -176,18 +194,35 @@ class AdImageControllerService {
176
194
  reportProgress: reportProgress
177
195
  });
178
196
  }
179
- uploadAdImages(adAccountId, files, observe = 'body', reportProgress = false) {
180
- if (adAccountId === null || adAccountId === undefined) {
181
- throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages.');
197
+ getCampaign(id, observe = 'body', reportProgress = false) {
198
+ if (id === null || id === undefined) {
199
+ throw new Error('Required parameter id was null or undefined when calling getCampaign.');
182
200
  }
183
- if (files === null || files === undefined) {
184
- throw new Error('Required parameter files was null or undefined when calling uploadAdImages.');
201
+ let headers = this.defaultHeaders;
202
+ // to determine the Accept header
203
+ let httpHeaderAccepts = [
204
+ '*/*'
205
+ ];
206
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
207
+ if (httpHeaderAcceptSelected != undefined) {
208
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
209
+ }
210
+ // to determine the Content-Type header
211
+ const consumes = [];
212
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
213
+ withCredentials: this.configuration.withCredentials,
214
+ headers: headers,
215
+ observe: observe,
216
+ reportProgress: reportProgress
217
+ });
218
+ }
219
+ searchCampaigns(q, observe = 'body', reportProgress = false) {
220
+ if (q === null || q === undefined) {
221
+ throw new Error('Required parameter q was null or undefined when calling searchCampaigns.');
185
222
  }
186
223
  let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
187
- if (files) {
188
- files.forEach((element) => {
189
- queryParameters = queryParameters.append('files', element);
190
- });
224
+ if (q !== undefined && q !== null) {
225
+ queryParameters = queryParameters.set('q', q);
191
226
  }
192
227
  let headers = this.defaultHeaders;
193
228
  // to determine the Accept header
@@ -200,7 +235,7 @@ class AdImageControllerService {
200
235
  }
201
236
  // to determine the Content-Type header
202
237
  const consumes = [];
203
- return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
238
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
204
239
  params: queryParameters,
205
240
  withCredentials: this.configuration.withCredentials,
206
241
  headers: headers,
@@ -209,9 +244,9 @@ class AdImageControllerService {
209
244
  });
210
245
  }
211
246
  }
212
- AdImageControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdImageControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
213
- AdImageControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdImageControllerService });
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdImageControllerService, decorators: [{
247
+ AdvertiserControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
248
+ AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, decorators: [{
215
250
  type: Injectable
216
251
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
217
252
  type: Optional
@@ -223,17 +258,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
223
258
  }] }]; } });
224
259
 
225
260
  /**
261
+ * Intellibid API
262
+ * API documentation for the Intellibid platform
226
263
  *
227
- *
228
- *
229
- *
264
+ * OpenAPI spec version: 1.0
230
265
  *
231
266
  *
232
267
  * NOTE: This class is auto generated by the swagger code generator program.
233
268
  * https://github.com/swagger-api/swagger-codegen.git
234
269
  * Do not edit the class manually.
235
270
  */ /* tslint:disable:no-unused-variable member-ordering */
236
- class AdVideoControllerService {
271
+ class BusinessGeoControllerService {
237
272
  constructor(httpClient, basePath, configuration) {
238
273
  this.httpClient = httpClient;
239
274
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -260,96 +295,7 @@ class AdVideoControllerService {
260
295
  }
261
296
  return false;
262
297
  }
263
- deleteAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
264
- if (adAccountId === null || adAccountId === undefined) {
265
- throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdVideo.');
266
- }
267
- if (videoId === null || videoId === undefined) {
268
- throw new Error('Required parameter videoId was null or undefined when calling deleteAdVideo.');
269
- }
270
- let headers = this.defaultHeaders;
271
- // to determine the Accept header
272
- let httpHeaderAccepts = [];
273
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
274
- if (httpHeaderAcceptSelected != undefined) {
275
- headers = headers.set('Accept', httpHeaderAcceptSelected);
276
- }
277
- // to determine the Content-Type header
278
- const consumes = [];
279
- return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}/delete`, {
280
- withCredentials: this.configuration.withCredentials,
281
- headers: headers,
282
- observe: observe,
283
- reportProgress: reportProgress
284
- });
285
- }
286
- getAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
287
- if (adAccountId === null || adAccountId === undefined) {
288
- throw new Error('Required parameter adAccountId was null or undefined when calling getAdVideo.');
289
- }
290
- if (videoId === null || videoId === undefined) {
291
- throw new Error('Required parameter videoId was null or undefined when calling getAdVideo.');
292
- }
293
- let headers = this.defaultHeaders;
294
- // to determine the Accept header
295
- let httpHeaderAccepts = [
296
- '*/*'
297
- ];
298
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
299
- if (httpHeaderAcceptSelected != undefined) {
300
- headers = headers.set('Accept', httpHeaderAcceptSelected);
301
- }
302
- // to determine the Content-Type header
303
- const consumes = [];
304
- return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
305
- withCredentials: this.configuration.withCredentials,
306
- headers: headers,
307
- observe: observe,
308
- reportProgress: reportProgress
309
- });
310
- }
311
- getAllAdVideos(adAccountId, videoIds, observe = 'body', reportProgress = false) {
312
- if (adAccountId === null || adAccountId === undefined) {
313
- throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideos.');
314
- }
315
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
316
- if (videoIds) {
317
- videoIds.forEach((element) => {
318
- queryParameters = queryParameters.append('videoIds', element);
319
- });
320
- }
321
- let headers = this.defaultHeaders;
322
- // to determine the Accept header
323
- let httpHeaderAccepts = [
324
- '*/*'
325
- ];
326
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
327
- if (httpHeaderAcceptSelected != undefined) {
328
- headers = headers.set('Accept', httpHeaderAcceptSelected);
329
- }
330
- // to determine the Content-Type header
331
- const consumes = [];
332
- return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
333
- params: queryParameters,
334
- withCredentials: this.configuration.withCredentials,
335
- headers: headers,
336
- observe: observe,
337
- reportProgress: reportProgress
338
- });
339
- }
340
- uploadAdVideos(adAccountId, files, observe = 'body', reportProgress = false) {
341
- if (adAccountId === null || adAccountId === undefined) {
342
- throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos.');
343
- }
344
- if (files === null || files === undefined) {
345
- throw new Error('Required parameter files was null or undefined when calling uploadAdVideos.');
346
- }
347
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
348
- if (files) {
349
- files.forEach((element) => {
350
- queryParameters = queryParameters.append('files', element);
351
- });
352
- }
298
+ getAllBusinessGeos(observe = 'body', reportProgress = false) {
353
299
  let headers = this.defaultHeaders;
354
300
  // to determine the Accept header
355
301
  let httpHeaderAccepts = [
@@ -361,8 +307,7 @@ class AdVideoControllerService {
361
307
  }
362
308
  // to determine the Content-Type header
363
309
  const consumes = [];
364
- return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
365
- params: queryParameters,
310
+ return this.httpClient.request('get', `${this.basePath}/api/business-geo`, {
366
311
  withCredentials: this.configuration.withCredentials,
367
312
  headers: headers,
368
313
  observe: observe,
@@ -370,9 +315,9 @@ class AdVideoControllerService {
370
315
  });
371
316
  }
372
317
  }
373
- AdVideoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
374
- AdVideoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService });
375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService, decorators: [{
318
+ BusinessGeoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
319
+ BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
376
321
  type: Injectable
377
322
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
378
323
  type: Optional
@@ -384,17 +329,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
384
329
  }] }]; } });
385
330
 
386
331
  /**
332
+ * Intellibid API
333
+ * API documentation for the Intellibid platform
387
334
  *
388
- *
389
- *
390
- *
335
+ * OpenAPI spec version: 1.0
391
336
  *
392
337
  *
393
338
  * NOTE: This class is auto generated by the swagger code generator program.
394
339
  * https://github.com/swagger-api/swagger-codegen.git
395
340
  * Do not edit the class manually.
396
341
  */ /* tslint:disable:no-unused-variable member-ordering */
397
- class BusinessGeoControllerService {
342
+ class CampaignInsightsControllerService {
398
343
  constructor(httpClient, basePath, configuration) {
399
344
  this.httpClient = httpClient;
400
345
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -421,7 +366,26 @@ class BusinessGeoControllerService {
421
366
  }
422
367
  return false;
423
368
  }
424
- getAllBusinessGeos(observe = 'body', reportProgress = false) {
369
+ getCampaignInsights(startDate, endDate, interval, observe = 'body', reportProgress = false) {
370
+ if (startDate === null || startDate === undefined) {
371
+ throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
372
+ }
373
+ if (endDate === null || endDate === undefined) {
374
+ throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
375
+ }
376
+ if (interval === null || interval === undefined) {
377
+ throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
378
+ }
379
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
380
+ if (startDate !== undefined && startDate !== null) {
381
+ queryParameters = queryParameters.set('startDate', startDate);
382
+ }
383
+ if (endDate !== undefined && endDate !== null) {
384
+ queryParameters = queryParameters.set('endDate', endDate);
385
+ }
386
+ if (interval !== undefined && interval !== null) {
387
+ queryParameters = queryParameters.set('interval', interval);
388
+ }
425
389
  let headers = this.defaultHeaders;
426
390
  // to determine the Accept header
427
391
  let httpHeaderAccepts = [
@@ -433,7 +397,8 @@ class BusinessGeoControllerService {
433
397
  }
434
398
  // to determine the Content-Type header
435
399
  const consumes = [];
436
- return this.httpClient.request('get', `${this.basePath}/api/business-geo`, {
400
+ return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
401
+ params: queryParameters,
437
402
  withCredentials: this.configuration.withCredentials,
438
403
  headers: headers,
439
404
  observe: observe,
@@ -441,9 +406,9 @@ class BusinessGeoControllerService {
441
406
  });
442
407
  }
443
408
  }
444
- BusinessGeoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
445
- BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
446
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
409
+ CampaignInsightsControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
410
+ CampaignInsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService });
411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService, decorators: [{
447
412
  type: Injectable
448
413
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
449
414
  type: Optional
@@ -455,17 +420,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
455
420
  }] }]; } });
456
421
 
457
422
  /**
423
+ * Intellibid API
424
+ * API documentation for the Intellibid platform
458
425
  *
459
- *
460
- *
461
- *
426
+ * OpenAPI spec version: 1.0
462
427
  *
463
428
  *
464
429
  * NOTE: This class is auto generated by the swagger code generator program.
465
430
  * https://github.com/swagger-api/swagger-codegen.git
466
431
  * Do not edit the class manually.
467
432
  */ /* tslint:disable:no-unused-variable member-ordering */
468
- class CampaignControllerService {
433
+ class DpaCampaignControllerService {
469
434
  constructor(httpClient, basePath, configuration) {
470
435
  this.httpClient = httpClient;
471
436
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -492,9 +457,12 @@ class CampaignControllerService {
492
457
  }
493
458
  return false;
494
459
  }
495
- createCampaign(body, observe = 'body', reportProgress = false) {
460
+ createOrUpdateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
496
461
  if (body === null || body === undefined) {
497
- throw new Error('Required parameter body was null or undefined when calling createCampaign.');
462
+ throw new Error('Required parameter body was null or undefined when calling createOrUpdateDpaCampaign.');
463
+ }
464
+ if (id === null || id === undefined) {
465
+ throw new Error('Required parameter id was null or undefined when calling createOrUpdateDpaCampaign.');
498
466
  }
499
467
  let headers = this.defaultHeaders;
500
468
  // to determine the Accept header
@@ -513,7 +481,7 @@ class CampaignControllerService {
513
481
  if (httpContentTypeSelected != undefined) {
514
482
  headers = headers.set('Content-Type', httpContentTypeSelected);
515
483
  }
516
- return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
484
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
517
485
  body: body,
518
486
  withCredentials: this.configuration.withCredentials,
519
487
  headers: headers,
@@ -521,50 +489,542 @@ class CampaignControllerService {
521
489
  reportProgress: reportProgress
522
490
  });
523
491
  }
524
- getAllCampaigns(name, vizardPackageId, status, page, size, sort, observe = 'body', reportProgress = false) {
525
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
526
- if (name !== undefined && name !== null) {
527
- queryParameters = queryParameters.set('name', name);
528
- }
529
- if (vizardPackageId !== undefined && vizardPackageId !== null) {
530
- queryParameters = queryParameters.set('vizardPackageId', vizardPackageId);
492
+ getDpaCampaign(id, observe = 'body', reportProgress = false) {
493
+ if (id === null || id === undefined) {
494
+ throw new Error('Required parameter id was null or undefined when calling getDpaCampaign.');
531
495
  }
532
- if (status !== undefined && status !== null) {
533
- queryParameters = queryParameters.set('status', status);
496
+ let headers = this.defaultHeaders;
497
+ // to determine the Accept header
498
+ let httpHeaderAccepts = [
499
+ '*/*'
500
+ ];
501
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
502
+ if (httpHeaderAcceptSelected != undefined) {
503
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
504
+ }
505
+ // to determine the Content-Type header
506
+ const consumes = [];
507
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
508
+ withCredentials: this.configuration.withCredentials,
509
+ headers: headers,
510
+ observe: observe,
511
+ reportProgress: reportProgress
512
+ });
513
+ }
514
+ updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
515
+ if (body === null || body === undefined) {
516
+ throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
517
+ }
518
+ if (id === null || id === undefined) {
519
+ throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
520
+ }
521
+ let headers = this.defaultHeaders;
522
+ // to determine the Accept header
523
+ let httpHeaderAccepts = [
524
+ '*/*'
525
+ ];
526
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
527
+ if (httpHeaderAcceptSelected != undefined) {
528
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
529
+ }
530
+ // to determine the Content-Type header
531
+ const consumes = [
532
+ 'application/json'
533
+ ];
534
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
535
+ if (httpContentTypeSelected != undefined) {
536
+ headers = headers.set('Content-Type', httpContentTypeSelected);
537
+ }
538
+ return this.httpClient.request('put', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
539
+ body: body,
540
+ withCredentials: this.configuration.withCredentials,
541
+ headers: headers,
542
+ observe: observe,
543
+ reportProgress: reportProgress
544
+ });
545
+ }
546
+ }
547
+ DpaCampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
548
+ DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
550
+ type: Injectable
551
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
552
+ type: Optional
553
+ }, {
554
+ type: Inject,
555
+ args: [BASE_PATH]
556
+ }] }, { type: Configuration, decorators: [{
557
+ type: Optional
558
+ }] }]; } });
559
+
560
+ /**
561
+ * Intellibid API
562
+ * API documentation for the Intellibid platform
563
+ *
564
+ * OpenAPI spec version: 1.0
565
+ *
566
+ *
567
+ * NOTE: This class is auto generated by the swagger code generator program.
568
+ * https://github.com/swagger-api/swagger-codegen.git
569
+ * Do not edit the class manually.
570
+ */ /* tslint:disable:no-unused-variable member-ordering */
571
+ class DpaEngagementControllerService {
572
+ constructor(httpClient, basePath, configuration) {
573
+ this.httpClient = httpClient;
574
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
575
+ this.defaultHeaders = new HttpHeaders();
576
+ this.configuration = new Configuration();
577
+ if (basePath) {
578
+ this.basePath = basePath;
579
+ }
580
+ if (configuration) {
581
+ this.configuration = configuration;
582
+ this.basePath = basePath || configuration.basePath || this.basePath;
583
+ }
584
+ }
585
+ /**
586
+ * @param consumes string[] mime-types
587
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
588
+ */
589
+ canConsumeForm(consumes) {
590
+ const form = 'multipart/form-data';
591
+ for (const consume of consumes) {
592
+ if (form === consume) {
593
+ return true;
594
+ }
595
+ }
596
+ return false;
597
+ }
598
+ activateDpaEngagement(id, observe = 'body', reportProgress = false) {
599
+ if (id === null || id === undefined) {
600
+ throw new Error('Required parameter id was null or undefined when calling activateDpaEngagement.');
601
+ }
602
+ let headers = this.defaultHeaders;
603
+ // to determine the Accept header
604
+ let httpHeaderAccepts = [
605
+ '*/*'
606
+ ];
607
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
608
+ if (httpHeaderAcceptSelected != undefined) {
609
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
610
+ }
611
+ // to determine the Content-Type header
612
+ const consumes = [];
613
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
614
+ withCredentials: this.configuration.withCredentials,
615
+ headers: headers,
616
+ observe: observe,
617
+ reportProgress: reportProgress
618
+ });
619
+ }
620
+ createDpaEngagement(body, observe = 'body', reportProgress = false) {
621
+ if (body === null || body === undefined) {
622
+ throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
623
+ }
624
+ let headers = this.defaultHeaders;
625
+ // to determine the Accept header
626
+ let httpHeaderAccepts = [
627
+ '*/*'
628
+ ];
629
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
630
+ if (httpHeaderAcceptSelected != undefined) {
631
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
632
+ }
633
+ // to determine the Content-Type header
634
+ const consumes = [
635
+ 'application/json'
636
+ ];
637
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
638
+ if (httpContentTypeSelected != undefined) {
639
+ headers = headers.set('Content-Type', httpContentTypeSelected);
640
+ }
641
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement`, {
642
+ body: body,
643
+ withCredentials: this.configuration.withCredentials,
644
+ headers: headers,
645
+ observe: observe,
646
+ reportProgress: reportProgress
647
+ });
648
+ }
649
+ getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, staticCampaign, sourcePlatform, page, size, sort, observe = 'body', reportProgress = false) {
650
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
651
+ if (id !== undefined && id !== null) {
652
+ queryParameters = queryParameters.set('id', id);
653
+ }
654
+ if (campaignId !== undefined && campaignId !== null) {
655
+ queryParameters = queryParameters.set('campaignId', campaignId);
656
+ }
657
+ if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
658
+ queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
659
+ }
660
+ if (name !== undefined && name !== null) {
661
+ queryParameters = queryParameters.set('name', name);
662
+ }
663
+ if (payoutType !== undefined && payoutType !== null) {
664
+ queryParameters = queryParameters.set('payoutType', payoutType);
665
+ }
666
+ if (status !== undefined && status !== null) {
667
+ queryParameters = queryParameters.set('status', status);
668
+ }
669
+ if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
670
+ queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
671
+ }
672
+ if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
673
+ queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
674
+ }
675
+ if (campaignStatus !== undefined && campaignStatus !== null) {
676
+ queryParameters = queryParameters.set('campaignStatus', campaignStatus);
677
+ }
678
+ if (staticCampaign !== undefined && staticCampaign !== null) {
679
+ queryParameters = queryParameters.set('staticCampaign', staticCampaign);
680
+ }
681
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
682
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
534
683
  }
535
684
  if (page !== undefined && page !== null) {
536
685
  queryParameters = queryParameters.set('page', page);
537
686
  }
538
- if (size !== undefined && size !== null) {
539
- queryParameters = queryParameters.set('size', size);
687
+ if (size !== undefined && size !== null) {
688
+ queryParameters = queryParameters.set('size', size);
689
+ }
690
+ if (sort) {
691
+ sort.forEach((element) => {
692
+ queryParameters = queryParameters.append('sort', element);
693
+ });
694
+ }
695
+ let headers = this.defaultHeaders;
696
+ // to determine the Accept header
697
+ let httpHeaderAccepts = [
698
+ '*/*'
699
+ ];
700
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
701
+ if (httpHeaderAcceptSelected != undefined) {
702
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
703
+ }
704
+ // to determine the Content-Type header
705
+ const consumes = [];
706
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement`, {
707
+ params: queryParameters,
708
+ withCredentials: this.configuration.withCredentials,
709
+ headers: headers,
710
+ observe: observe,
711
+ reportProgress: reportProgress
712
+ });
713
+ }
714
+ getDpaEngagement(id, observe = 'body', reportProgress = false) {
715
+ if (id === null || id === undefined) {
716
+ throw new Error('Required parameter id was null or undefined when calling getDpaEngagement.');
717
+ }
718
+ let headers = this.defaultHeaders;
719
+ // to determine the Accept header
720
+ let httpHeaderAccepts = [
721
+ '*/*'
722
+ ];
723
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
724
+ if (httpHeaderAcceptSelected != undefined) {
725
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
726
+ }
727
+ // to determine the Content-Type header
728
+ const consumes = [];
729
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}`, {
730
+ withCredentials: this.configuration.withCredentials,
731
+ headers: headers,
732
+ observe: observe,
733
+ reportProgress: reportProgress
734
+ });
735
+ }
736
+ getDpaEngagementLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
737
+ if (id === null || id === undefined) {
738
+ throw new Error('Required parameter id was null or undefined when calling getDpaEngagementLogs.');
739
+ }
740
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
741
+ if (page !== undefined && page !== null) {
742
+ queryParameters = queryParameters.set('page', page);
743
+ }
744
+ if (size !== undefined && size !== null) {
745
+ queryParameters = queryParameters.set('size', size);
746
+ }
747
+ if (sort) {
748
+ sort.forEach((element) => {
749
+ queryParameters = queryParameters.append('sort', element);
750
+ });
751
+ }
752
+ let headers = this.defaultHeaders;
753
+ // to determine the Accept header
754
+ let httpHeaderAccepts = [
755
+ '*/*'
756
+ ];
757
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
758
+ if (httpHeaderAcceptSelected != undefined) {
759
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
760
+ }
761
+ // to determine the Content-Type header
762
+ const consumes = [];
763
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/log`, {
764
+ params: queryParameters,
765
+ withCredentials: this.configuration.withCredentials,
766
+ headers: headers,
767
+ observe: observe,
768
+ reportProgress: reportProgress
769
+ });
770
+ }
771
+ pauseDpaEngagement(id, observe = 'body', reportProgress = false) {
772
+ if (id === null || id === undefined) {
773
+ throw new Error('Required parameter id was null or undefined when calling pauseDpaEngagement.');
774
+ }
775
+ let headers = this.defaultHeaders;
776
+ // to determine the Accept header
777
+ let httpHeaderAccepts = [
778
+ '*/*'
779
+ ];
780
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
781
+ if (httpHeaderAcceptSelected != undefined) {
782
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
783
+ }
784
+ // to determine the Content-Type header
785
+ const consumes = [];
786
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
787
+ withCredentials: this.configuration.withCredentials,
788
+ headers: headers,
789
+ observe: observe,
790
+ reportProgress: reportProgress
791
+ });
792
+ }
793
+ publishDpaEngagement(id, observe = 'body', reportProgress = false) {
794
+ if (id === null || id === undefined) {
795
+ throw new Error('Required parameter id was null or undefined when calling publishDpaEngagement.');
796
+ }
797
+ let headers = this.defaultHeaders;
798
+ // to determine the Accept header
799
+ let httpHeaderAccepts = [
800
+ '*/*'
801
+ ];
802
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
803
+ if (httpHeaderAcceptSelected != undefined) {
804
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
805
+ }
806
+ // to determine the Content-Type header
807
+ const consumes = [];
808
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
809
+ withCredentials: this.configuration.withCredentials,
810
+ headers: headers,
811
+ observe: observe,
812
+ reportProgress: reportProgress
813
+ });
814
+ }
815
+ searchDpaEngagements(q, sourcePlatform, observe = 'body', reportProgress = false) {
816
+ if (q === null || q === undefined) {
817
+ throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
818
+ }
819
+ if (sourcePlatform === null || sourcePlatform === undefined) {
820
+ throw new Error('Required parameter sourcePlatform was null or undefined when calling searchDpaEngagements.');
821
+ }
822
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
823
+ if (q !== undefined && q !== null) {
824
+ queryParameters = queryParameters.set('q', q);
825
+ }
826
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
827
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
828
+ }
829
+ let headers = this.defaultHeaders;
830
+ // to determine the Accept header
831
+ let httpHeaderAccepts = [
832
+ '*/*'
833
+ ];
834
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
835
+ if (httpHeaderAcceptSelected != undefined) {
836
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
837
+ }
838
+ // to determine the Content-Type header
839
+ const consumes = [];
840
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/search`, {
841
+ params: queryParameters,
842
+ withCredentials: this.configuration.withCredentials,
843
+ headers: headers,
844
+ observe: observe,
845
+ reportProgress: reportProgress
846
+ });
847
+ }
848
+ updateDailyBudget(body, id, observe = 'body', reportProgress = false) {
849
+ if (body === null || body === undefined) {
850
+ throw new Error('Required parameter body was null or undefined when calling updateDailyBudget.');
851
+ }
852
+ if (id === null || id === undefined) {
853
+ throw new Error('Required parameter id was null or undefined when calling updateDailyBudget.');
854
+ }
855
+ let headers = this.defaultHeaders;
856
+ // to determine the Accept header
857
+ let httpHeaderAccepts = [
858
+ '*/*'
859
+ ];
860
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
861
+ if (httpHeaderAcceptSelected != undefined) {
862
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
863
+ }
864
+ // to determine the Content-Type header
865
+ const consumes = [
866
+ 'application/json'
867
+ ];
868
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
869
+ if (httpContentTypeSelected != undefined) {
870
+ headers = headers.set('Content-Type', httpContentTypeSelected);
871
+ }
872
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
873
+ body: body,
874
+ withCredentials: this.configuration.withCredentials,
875
+ headers: headers,
876
+ observe: observe,
877
+ reportProgress: reportProgress
878
+ });
879
+ }
880
+ updateDpaEngagement(body, id, observe = 'body', reportProgress = false) {
881
+ if (body === null || body === undefined) {
882
+ throw new Error('Required parameter body was null or undefined when calling updateDpaEngagement.');
883
+ }
884
+ if (id === null || id === undefined) {
885
+ throw new Error('Required parameter id was null or undefined when calling updateDpaEngagement.');
886
+ }
887
+ let headers = this.defaultHeaders;
888
+ // to determine the Accept header
889
+ let httpHeaderAccepts = [
890
+ '*/*'
891
+ ];
892
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
893
+ if (httpHeaderAcceptSelected != undefined) {
894
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
895
+ }
896
+ // to determine the Content-Type header
897
+ const consumes = [
898
+ 'application/json'
899
+ ];
900
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
901
+ if (httpContentTypeSelected != undefined) {
902
+ headers = headers.set('Content-Type', httpContentTypeSelected);
903
+ }
904
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}`, {
905
+ body: body,
906
+ withCredentials: this.configuration.withCredentials,
907
+ headers: headers,
908
+ observe: observe,
909
+ reportProgress: reportProgress
910
+ });
911
+ }
912
+ updateMargin(body, id, observe = 'body', reportProgress = false) {
913
+ if (body === null || body === undefined) {
914
+ throw new Error('Required parameter body was null or undefined when calling updateMargin.');
915
+ }
916
+ if (id === null || id === undefined) {
917
+ throw new Error('Required parameter id was null or undefined when calling updateMargin.');
918
+ }
919
+ let headers = this.defaultHeaders;
920
+ // to determine the Accept header
921
+ let httpHeaderAccepts = [
922
+ '*/*'
923
+ ];
924
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
925
+ if (httpHeaderAcceptSelected != undefined) {
926
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
927
+ }
928
+ // to determine the Content-Type header
929
+ const consumes = [
930
+ 'application/json'
931
+ ];
932
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
933
+ if (httpContentTypeSelected != undefined) {
934
+ headers = headers.set('Content-Type', httpContentTypeSelected);
935
+ }
936
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/margin`, {
937
+ body: body,
938
+ withCredentials: this.configuration.withCredentials,
939
+ headers: headers,
940
+ observe: observe,
941
+ reportProgress: reportProgress
942
+ });
943
+ }
944
+ }
945
+ DpaEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
946
+ DpaEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService });
947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, decorators: [{
948
+ type: Injectable
949
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
950
+ type: Optional
951
+ }, {
952
+ type: Inject,
953
+ args: [BASE_PATH]
954
+ }] }, { type: Configuration, decorators: [{
955
+ type: Optional
956
+ }] }]; } });
957
+
958
+ /**
959
+ * Intellibid API
960
+ * API documentation for the Intellibid platform
961
+ *
962
+ * OpenAPI spec version: 1.0
963
+ *
964
+ *
965
+ * NOTE: This class is auto generated by the swagger code generator program.
966
+ * https://github.com/swagger-api/swagger-codegen.git
967
+ * Do not edit the class manually.
968
+ */ /* tslint:disable:no-unused-variable member-ordering */
969
+ class FacebookAdImageControllerService {
970
+ constructor(httpClient, basePath, configuration) {
971
+ this.httpClient = httpClient;
972
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
973
+ this.defaultHeaders = new HttpHeaders();
974
+ this.configuration = new Configuration();
975
+ if (basePath) {
976
+ this.basePath = basePath;
977
+ }
978
+ if (configuration) {
979
+ this.configuration = configuration;
980
+ this.basePath = basePath || configuration.basePath || this.basePath;
540
981
  }
541
- if (sort) {
542
- sort.forEach((element) => {
543
- queryParameters = queryParameters.append('sort', element);
544
- });
982
+ }
983
+ /**
984
+ * @param consumes string[] mime-types
985
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
986
+ */
987
+ canConsumeForm(consumes) {
988
+ const form = 'multipart/form-data';
989
+ for (const consume of consumes) {
990
+ if (form === consume) {
991
+ return true;
992
+ }
993
+ }
994
+ return false;
995
+ }
996
+ deleteAdImage1(adAccountId, hash, observe = 'body', reportProgress = false) {
997
+ if (adAccountId === null || adAccountId === undefined) {
998
+ throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdImage1.');
999
+ }
1000
+ if (hash === null || hash === undefined) {
1001
+ throw new Error('Required parameter hash was null or undefined when calling deleteAdImage1.');
545
1002
  }
546
1003
  let headers = this.defaultHeaders;
547
1004
  // to determine the Accept header
548
- let httpHeaderAccepts = [
549
- '*/*'
550
- ];
1005
+ let httpHeaderAccepts = [];
551
1006
  const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
552
1007
  if (httpHeaderAcceptSelected != undefined) {
553
1008
  headers = headers.set('Accept', httpHeaderAcceptSelected);
554
1009
  }
555
1010
  // to determine the Content-Type header
556
1011
  const consumes = [];
557
- return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
558
- params: queryParameters,
1012
+ return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image/${encodeURIComponent(String(hash))}/delete`, {
559
1013
  withCredentials: this.configuration.withCredentials,
560
1014
  headers: headers,
561
1015
  observe: observe,
562
1016
  reportProgress: reportProgress
563
1017
  });
564
1018
  }
565
- getCampaign(id, observe = 'body', reportProgress = false) {
566
- if (id === null || id === undefined) {
567
- throw new Error('Required parameter id was null or undefined when calling getCampaign.');
1019
+ getAllAdImages1(adAccountId, hashes, observe = 'body', reportProgress = false) {
1020
+ if (adAccountId === null || adAccountId === undefined) {
1021
+ throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImages1.');
1022
+ }
1023
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1024
+ if (hashes) {
1025
+ hashes.forEach((element) => {
1026
+ queryParameters = queryParameters.append('hashes', element);
1027
+ });
568
1028
  }
569
1029
  let headers = this.defaultHeaders;
570
1030
  // to determine the Accept header
@@ -577,20 +1037,26 @@ class CampaignControllerService {
577
1037
  }
578
1038
  // to determine the Content-Type header
579
1039
  const consumes = [];
580
- return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
1040
+ return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
1041
+ params: queryParameters,
581
1042
  withCredentials: this.configuration.withCredentials,
582
1043
  headers: headers,
583
1044
  observe: observe,
584
1045
  reportProgress: reportProgress
585
1046
  });
586
1047
  }
587
- searchCampaigns(q, observe = 'body', reportProgress = false) {
588
- if (q === null || q === undefined) {
589
- throw new Error('Required parameter q was null or undefined when calling searchCampaigns.');
1048
+ uploadAdImages2(adAccountId, files, observe = 'body', reportProgress = false) {
1049
+ if (adAccountId === null || adAccountId === undefined) {
1050
+ throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages2.');
1051
+ }
1052
+ if (files === null || files === undefined) {
1053
+ throw new Error('Required parameter files was null or undefined when calling uploadAdImages2.');
590
1054
  }
591
1055
  let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
592
- if (q !== undefined && q !== null) {
593
- queryParameters = queryParameters.set('q', q);
1056
+ if (files) {
1057
+ files.forEach((element) => {
1058
+ queryParameters = queryParameters.append('files', element);
1059
+ });
594
1060
  }
595
1061
  let headers = this.defaultHeaders;
596
1062
  // to determine the Accept header
@@ -603,7 +1069,7 @@ class CampaignControllerService {
603
1069
  }
604
1070
  // to determine the Content-Type header
605
1071
  const consumes = [];
606
- return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
1072
+ return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
607
1073
  params: queryParameters,
608
1074
  withCredentials: this.configuration.withCredentials,
609
1075
  headers: headers,
@@ -612,9 +1078,9 @@ class CampaignControllerService {
612
1078
  });
613
1079
  }
614
1080
  }
615
- CampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
616
- CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
1081
+ FacebookAdImageControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdImageControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1082
+ FacebookAdImageControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdImageControllerService });
1083
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdImageControllerService, decorators: [{
618
1084
  type: Injectable
619
1085
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
620
1086
  type: Optional
@@ -626,17 +1092,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
626
1092
  }] }]; } });
627
1093
 
628
1094
  /**
1095
+ * Intellibid API
1096
+ * API documentation for the Intellibid platform
629
1097
  *
630
- *
631
- *
632
- *
1098
+ * OpenAPI spec version: 1.0
633
1099
  *
634
1100
  *
635
1101
  * NOTE: This class is auto generated by the swagger code generator program.
636
1102
  * https://github.com/swagger-api/swagger-codegen.git
637
1103
  * Do not edit the class manually.
638
1104
  */ /* tslint:disable:no-unused-variable member-ordering */
639
- class CampaignInsightsControllerService {
1105
+ class FacebookAdVideoControllerService {
640
1106
  constructor(httpClient, basePath, configuration) {
641
1107
  this.httpClient = httpClient;
642
1108
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -663,25 +1129,95 @@ class CampaignInsightsControllerService {
663
1129
  }
664
1130
  return false;
665
1131
  }
666
- getCampaignInsights(startDate, endDate, interval, observe = 'body', reportProgress = false) {
667
- if (startDate === null || startDate === undefined) {
668
- throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
1132
+ deleteAdVideo1(adAccountId, videoId, observe = 'body', reportProgress = false) {
1133
+ if (adAccountId === null || adAccountId === undefined) {
1134
+ throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdVideo1.');
669
1135
  }
670
- if (endDate === null || endDate === undefined) {
671
- throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
1136
+ if (videoId === null || videoId === undefined) {
1137
+ throw new Error('Required parameter videoId was null or undefined when calling deleteAdVideo1.');
672
1138
  }
673
- if (interval === null || interval === undefined) {
674
- throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
1139
+ let headers = this.defaultHeaders;
1140
+ // to determine the Accept header
1141
+ let httpHeaderAccepts = [];
1142
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1143
+ if (httpHeaderAcceptSelected != undefined) {
1144
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1145
+ }
1146
+ // to determine the Content-Type header
1147
+ const consumes = [];
1148
+ return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}/delete`, {
1149
+ withCredentials: this.configuration.withCredentials,
1150
+ headers: headers,
1151
+ observe: observe,
1152
+ reportProgress: reportProgress
1153
+ });
1154
+ }
1155
+ getAdVideo1(adAccountId, videoId, observe = 'body', reportProgress = false) {
1156
+ if (adAccountId === null || adAccountId === undefined) {
1157
+ throw new Error('Required parameter adAccountId was null or undefined when calling getAdVideo1.');
1158
+ }
1159
+ if (videoId === null || videoId === undefined) {
1160
+ throw new Error('Required parameter videoId was null or undefined when calling getAdVideo1.');
1161
+ }
1162
+ let headers = this.defaultHeaders;
1163
+ // to determine the Accept header
1164
+ let httpHeaderAccepts = [
1165
+ '*/*'
1166
+ ];
1167
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1168
+ if (httpHeaderAcceptSelected != undefined) {
1169
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1170
+ }
1171
+ // to determine the Content-Type header
1172
+ const consumes = [];
1173
+ return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
1174
+ withCredentials: this.configuration.withCredentials,
1175
+ headers: headers,
1176
+ observe: observe,
1177
+ reportProgress: reportProgress
1178
+ });
1179
+ }
1180
+ getAllAdVideos1(adAccountId, videoIds, observe = 'body', reportProgress = false) {
1181
+ if (adAccountId === null || adAccountId === undefined) {
1182
+ throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideos1.');
675
1183
  }
676
1184
  let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
677
- if (startDate !== undefined && startDate !== null) {
678
- queryParameters = queryParameters.set('startDate', startDate);
1185
+ if (videoIds) {
1186
+ videoIds.forEach((element) => {
1187
+ queryParameters = queryParameters.append('videoIds', element);
1188
+ });
679
1189
  }
680
- if (endDate !== undefined && endDate !== null) {
681
- queryParameters = queryParameters.set('endDate', endDate);
1190
+ let headers = this.defaultHeaders;
1191
+ // to determine the Accept header
1192
+ let httpHeaderAccepts = [
1193
+ '*/*'
1194
+ ];
1195
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1196
+ if (httpHeaderAcceptSelected != undefined) {
1197
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
682
1198
  }
683
- if (interval !== undefined && interval !== null) {
684
- queryParameters = queryParameters.set('interval', interval);
1199
+ // to determine the Content-Type header
1200
+ const consumes = [];
1201
+ return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
1202
+ params: queryParameters,
1203
+ withCredentials: this.configuration.withCredentials,
1204
+ headers: headers,
1205
+ observe: observe,
1206
+ reportProgress: reportProgress
1207
+ });
1208
+ }
1209
+ uploadAdVideos2(adAccountId, files, observe = 'body', reportProgress = false) {
1210
+ if (adAccountId === null || adAccountId === undefined) {
1211
+ throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos2.');
1212
+ }
1213
+ if (files === null || files === undefined) {
1214
+ throw new Error('Required parameter files was null or undefined when calling uploadAdVideos2.');
1215
+ }
1216
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1217
+ if (files) {
1218
+ files.forEach((element) => {
1219
+ queryParameters = queryParameters.append('files', element);
1220
+ });
685
1221
  }
686
1222
  let headers = this.defaultHeaders;
687
1223
  // to determine the Accept header
@@ -694,7 +1230,7 @@ class CampaignInsightsControllerService {
694
1230
  }
695
1231
  // to determine the Content-Type header
696
1232
  const consumes = [];
697
- return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
1233
+ return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
698
1234
  params: queryParameters,
699
1235
  withCredentials: this.configuration.withCredentials,
700
1236
  headers: headers,
@@ -703,9 +1239,9 @@ class CampaignInsightsControllerService {
703
1239
  });
704
1240
  }
705
1241
  }
706
- CampaignInsightsControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
707
- CampaignInsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService });
708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService, decorators: [{
1242
+ FacebookAdVideoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdVideoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1243
+ FacebookAdVideoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdVideoControllerService });
1244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdVideoControllerService, decorators: [{
709
1245
  type: Injectable
710
1246
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
711
1247
  type: Optional
@@ -717,17 +1253,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
717
1253
  }] }]; } });
718
1254
 
719
1255
  /**
1256
+ * Intellibid API
1257
+ * API documentation for the Intellibid platform
720
1258
  *
721
- *
722
- *
723
- *
1259
+ * OpenAPI spec version: 1.0
724
1260
  *
725
1261
  *
726
1262
  * NOTE: This class is auto generated by the swagger code generator program.
727
1263
  * https://github.com/swagger-api/swagger-codegen.git
728
1264
  * Do not edit the class manually.
729
1265
  */ /* tslint:disable:no-unused-variable member-ordering */
730
- class CountryControllerService {
1266
+ class FacebookEngagementControllerService {
731
1267
  constructor(httpClient, basePath, configuration) {
732
1268
  this.httpClient = httpClient;
733
1269
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -741,20 +1277,126 @@ class CountryControllerService {
741
1277
  this.basePath = basePath || configuration.basePath || this.basePath;
742
1278
  }
743
1279
  }
744
- /**
745
- * @param consumes string[] mime-types
746
- * @return true: consumes contains 'multipart/form-data', false: otherwise
747
- */
748
- canConsumeForm(consumes) {
749
- const form = 'multipart/form-data';
750
- for (const consume of consumes) {
751
- if (form === consume) {
752
- return true;
753
- }
1280
+ /**
1281
+ * @param consumes string[] mime-types
1282
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1283
+ */
1284
+ canConsumeForm(consumes) {
1285
+ const form = 'multipart/form-data';
1286
+ for (const consume of consumes) {
1287
+ if (form === consume) {
1288
+ return true;
1289
+ }
1290
+ }
1291
+ return false;
1292
+ }
1293
+ createOrUpdateFacebookEngagement(body, id, observe = 'body', reportProgress = false) {
1294
+ if (body === null || body === undefined) {
1295
+ throw new Error('Required parameter body was null or undefined when calling createOrUpdateFacebookEngagement.');
1296
+ }
1297
+ if (id === null || id === undefined) {
1298
+ throw new Error('Required parameter id was null or undefined when calling createOrUpdateFacebookEngagement.');
1299
+ }
1300
+ let headers = this.defaultHeaders;
1301
+ // to determine the Accept header
1302
+ let httpHeaderAccepts = [
1303
+ '*/*'
1304
+ ];
1305
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1306
+ if (httpHeaderAcceptSelected != undefined) {
1307
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1308
+ }
1309
+ // to determine the Content-Type header
1310
+ const consumes = [
1311
+ 'application/json'
1312
+ ];
1313
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1314
+ if (httpContentTypeSelected != undefined) {
1315
+ headers = headers.set('Content-Type', httpContentTypeSelected);
1316
+ }
1317
+ return this.httpClient.request('post', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
1318
+ body: body,
1319
+ withCredentials: this.configuration.withCredentials,
1320
+ headers: headers,
1321
+ observe: observe,
1322
+ reportProgress: reportProgress
1323
+ });
1324
+ }
1325
+ getAllFacebookEngagements(id, campaignId, facebookAccountId, facebookFanPageId, facebookCatalogId, facebookCatalogType, instagramActorId, facebookPixelId, facebookAppId, facebookProductSetId, tosAccepted, eventSourceGroupId, audienceDsdo, page, size, sort, observe = 'body', reportProgress = false) {
1326
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1327
+ if (id !== undefined && id !== null) {
1328
+ queryParameters = queryParameters.set('id', id);
1329
+ }
1330
+ if (campaignId !== undefined && campaignId !== null) {
1331
+ queryParameters = queryParameters.set('campaignId', campaignId);
1332
+ }
1333
+ if (facebookAccountId !== undefined && facebookAccountId !== null) {
1334
+ queryParameters = queryParameters.set('facebookAccountId', facebookAccountId);
1335
+ }
1336
+ if (facebookFanPageId !== undefined && facebookFanPageId !== null) {
1337
+ queryParameters = queryParameters.set('facebookFanPageId', facebookFanPageId);
1338
+ }
1339
+ if (facebookCatalogId !== undefined && facebookCatalogId !== null) {
1340
+ queryParameters = queryParameters.set('facebookCatalogId', facebookCatalogId);
1341
+ }
1342
+ if (facebookCatalogType !== undefined && facebookCatalogType !== null) {
1343
+ queryParameters = queryParameters.set('facebookCatalogType', facebookCatalogType);
1344
+ }
1345
+ if (instagramActorId !== undefined && instagramActorId !== null) {
1346
+ queryParameters = queryParameters.set('instagramActorId', instagramActorId);
1347
+ }
1348
+ if (facebookPixelId !== undefined && facebookPixelId !== null) {
1349
+ queryParameters = queryParameters.set('facebookPixelId', facebookPixelId);
1350
+ }
1351
+ if (facebookAppId !== undefined && facebookAppId !== null) {
1352
+ queryParameters = queryParameters.set('facebookAppId', facebookAppId);
1353
+ }
1354
+ if (facebookProductSetId !== undefined && facebookProductSetId !== null) {
1355
+ queryParameters = queryParameters.set('facebookProductSetId', facebookProductSetId);
1356
+ }
1357
+ if (tosAccepted !== undefined && tosAccepted !== null) {
1358
+ queryParameters = queryParameters.set('tosAccepted', tosAccepted);
1359
+ }
1360
+ if (eventSourceGroupId !== undefined && eventSourceGroupId !== null) {
1361
+ queryParameters = queryParameters.set('eventSourceGroupId', eventSourceGroupId);
1362
+ }
1363
+ if (audienceDsdo !== undefined && audienceDsdo !== null) {
1364
+ queryParameters = queryParameters.set('audienceDsdo', audienceDsdo);
1365
+ }
1366
+ if (page !== undefined && page !== null) {
1367
+ queryParameters = queryParameters.set('page', page);
1368
+ }
1369
+ if (size !== undefined && size !== null) {
1370
+ queryParameters = queryParameters.set('size', size);
1371
+ }
1372
+ if (sort) {
1373
+ sort.forEach((element) => {
1374
+ queryParameters = queryParameters.append('sort', element);
1375
+ });
1376
+ }
1377
+ let headers = this.defaultHeaders;
1378
+ // to determine the Accept header
1379
+ let httpHeaderAccepts = [
1380
+ '*/*'
1381
+ ];
1382
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1383
+ if (httpHeaderAcceptSelected != undefined) {
1384
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1385
+ }
1386
+ // to determine the Content-Type header
1387
+ const consumes = [];
1388
+ return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement`, {
1389
+ params: queryParameters,
1390
+ withCredentials: this.configuration.withCredentials,
1391
+ headers: headers,
1392
+ observe: observe,
1393
+ reportProgress: reportProgress
1394
+ });
1395
+ }
1396
+ getFacebookEngagement(id, observe = 'body', reportProgress = false) {
1397
+ if (id === null || id === undefined) {
1398
+ throw new Error('Required parameter id was null or undefined when calling getFacebookEngagement.');
754
1399
  }
755
- return false;
756
- }
757
- getAllCountries(observe = 'body', reportProgress = false) {
758
1400
  let headers = this.defaultHeaders;
759
1401
  // to determine the Accept header
760
1402
  let httpHeaderAccepts = [
@@ -766,7 +1408,7 @@ class CountryControllerService {
766
1408
  }
767
1409
  // to determine the Content-Type header
768
1410
  const consumes = [];
769
- return this.httpClient.request('get', `${this.basePath}/api/country`, {
1411
+ return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
770
1412
  withCredentials: this.configuration.withCredentials,
771
1413
  headers: headers,
772
1414
  observe: observe,
@@ -774,9 +1416,9 @@ class CountryControllerService {
774
1416
  });
775
1417
  }
776
1418
  }
777
- CountryControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
778
- CountryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService });
779
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, decorators: [{
1419
+ FacebookEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1420
+ FacebookEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService });
1421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, decorators: [{
780
1422
  type: Injectable
781
1423
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
782
1424
  type: Optional
@@ -788,17 +1430,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
788
1430
  }] }]; } });
789
1431
 
790
1432
  /**
1433
+ * Intellibid API
1434
+ * API documentation for the Intellibid platform
791
1435
  *
792
- *
793
- *
794
- *
1436
+ * OpenAPI spec version: 1.0
795
1437
  *
796
1438
  *
797
1439
  * NOTE: This class is auto generated by the swagger code generator program.
798
1440
  * https://github.com/swagger-api/swagger-codegen.git
799
1441
  * Do not edit the class manually.
800
1442
  */ /* tslint:disable:no-unused-variable member-ordering */
801
- class DpaCampaignControllerService {
1443
+ class MobileAppDetailControllerService {
802
1444
  constructor(httpClient, basePath, configuration) {
803
1445
  this.httpClient = httpClient;
804
1446
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -825,12 +1467,12 @@ class DpaCampaignControllerService {
825
1467
  }
826
1468
  return false;
827
1469
  }
828
- createOrUpdateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
1470
+ createOrUpdateMobileAppDetail(body, id, observe = 'body', reportProgress = false) {
829
1471
  if (body === null || body === undefined) {
830
- throw new Error('Required parameter body was null or undefined when calling createOrUpdateDpaCampaign.');
1472
+ throw new Error('Required parameter body was null or undefined when calling createOrUpdateMobileAppDetail.');
831
1473
  }
832
1474
  if (id === null || id === undefined) {
833
- throw new Error('Required parameter id was null or undefined when calling createOrUpdateDpaCampaign.');
1475
+ throw new Error('Required parameter id was null or undefined when calling createOrUpdateMobileAppDetail.');
834
1476
  }
835
1477
  let headers = this.defaultHeaders;
836
1478
  // to determine the Accept header
@@ -849,7 +1491,7 @@ class DpaCampaignControllerService {
849
1491
  if (httpContentTypeSelected != undefined) {
850
1492
  headers = headers.set('Content-Type', httpContentTypeSelected);
851
1493
  }
852
- return this.httpClient.request('post', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
1494
+ return this.httpClient.request('post', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
853
1495
  body: body,
854
1496
  withCredentials: this.configuration.withCredentials,
855
1497
  headers: headers,
@@ -857,9 +1499,51 @@ class DpaCampaignControllerService {
857
1499
  reportProgress: reportProgress
858
1500
  });
859
1501
  }
860
- getDpaCampaign(id, observe = 'body', reportProgress = false) {
861
- if (id === null || id === undefined) {
862
- throw new Error('Required parameter id was null or undefined when calling getDpaCampaign.');
1502
+ getAllMobileAppDetails(campaignId, altLandingPage, playStoreLink, playStoreId, fbAppIdForPlayStore, itunesLink, itunesId, fbAppIdForItunes, iosAppName, androidAppName, defaultWebSiteUrl, page, size, sort, observe = 'body', reportProgress = false) {
1503
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1504
+ if (campaignId !== undefined && campaignId !== null) {
1505
+ queryParameters = queryParameters.set('campaignId', campaignId);
1506
+ }
1507
+ if (altLandingPage !== undefined && altLandingPage !== null) {
1508
+ queryParameters = queryParameters.set('altLandingPage', altLandingPage);
1509
+ }
1510
+ if (playStoreLink !== undefined && playStoreLink !== null) {
1511
+ queryParameters = queryParameters.set('playStoreLink', playStoreLink);
1512
+ }
1513
+ if (playStoreId !== undefined && playStoreId !== null) {
1514
+ queryParameters = queryParameters.set('playStoreId', playStoreId);
1515
+ }
1516
+ if (fbAppIdForPlayStore !== undefined && fbAppIdForPlayStore !== null) {
1517
+ queryParameters = queryParameters.set('fbAppIdForPlayStore', fbAppIdForPlayStore);
1518
+ }
1519
+ if (itunesLink !== undefined && itunesLink !== null) {
1520
+ queryParameters = queryParameters.set('itunesLink', itunesLink);
1521
+ }
1522
+ if (itunesId !== undefined && itunesId !== null) {
1523
+ queryParameters = queryParameters.set('itunesId', itunesId);
1524
+ }
1525
+ if (fbAppIdForItunes !== undefined && fbAppIdForItunes !== null) {
1526
+ queryParameters = queryParameters.set('fbAppIdForItunes', fbAppIdForItunes);
1527
+ }
1528
+ if (iosAppName !== undefined && iosAppName !== null) {
1529
+ queryParameters = queryParameters.set('iosAppName', iosAppName);
1530
+ }
1531
+ if (androidAppName !== undefined && androidAppName !== null) {
1532
+ queryParameters = queryParameters.set('androidAppName', androidAppName);
1533
+ }
1534
+ if (defaultWebSiteUrl !== undefined && defaultWebSiteUrl !== null) {
1535
+ queryParameters = queryParameters.set('defaultWebSiteUrl', defaultWebSiteUrl);
1536
+ }
1537
+ if (page !== undefined && page !== null) {
1538
+ queryParameters = queryParameters.set('page', page);
1539
+ }
1540
+ if (size !== undefined && size !== null) {
1541
+ queryParameters = queryParameters.set('size', size);
1542
+ }
1543
+ if (sort) {
1544
+ sort.forEach((element) => {
1545
+ queryParameters = queryParameters.append('sort', element);
1546
+ });
863
1547
  }
864
1548
  let headers = this.defaultHeaders;
865
1549
  // to determine the Accept header
@@ -872,19 +1556,17 @@ class DpaCampaignControllerService {
872
1556
  }
873
1557
  // to determine the Content-Type header
874
1558
  const consumes = [];
875
- return this.httpClient.request('get', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
1559
+ return this.httpClient.request('get', `${this.basePath}/api/mobile-app`, {
1560
+ params: queryParameters,
876
1561
  withCredentials: this.configuration.withCredentials,
877
1562
  headers: headers,
878
1563
  observe: observe,
879
1564
  reportProgress: reportProgress
880
1565
  });
881
1566
  }
882
- updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
883
- if (body === null || body === undefined) {
884
- throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
885
- }
1567
+ getMobileAppDetail(id, observe = 'body', reportProgress = false) {
886
1568
  if (id === null || id === undefined) {
887
- throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
1569
+ throw new Error('Required parameter id was null or undefined when calling getMobileAppDetail.');
888
1570
  }
889
1571
  let headers = this.defaultHeaders;
890
1572
  // to determine the Accept header
@@ -896,15 +1578,8 @@ class DpaCampaignControllerService {
896
1578
  headers = headers.set('Accept', httpHeaderAcceptSelected);
897
1579
  }
898
1580
  // to determine the Content-Type header
899
- const consumes = [
900
- 'application/json'
901
- ];
902
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
903
- if (httpContentTypeSelected != undefined) {
904
- headers = headers.set('Content-Type', httpContentTypeSelected);
905
- }
906
- return this.httpClient.request('put', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
907
- body: body,
1581
+ const consumes = [];
1582
+ return this.httpClient.request('get', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
908
1583
  withCredentials: this.configuration.withCredentials,
909
1584
  headers: headers,
910
1585
  observe: observe,
@@ -912,9 +1587,9 @@ class DpaCampaignControllerService {
912
1587
  });
913
1588
  }
914
1589
  }
915
- DpaCampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
916
- DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
1590
+ MobileAppDetailControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1591
+ MobileAppDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService });
1592
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, decorators: [{
918
1593
  type: Injectable
919
1594
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
920
1595
  type: Optional
@@ -926,17 +1601,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
926
1601
  }] }]; } });
927
1602
 
928
1603
  /**
1604
+ * Intellibid API
1605
+ * API documentation for the Intellibid platform
929
1606
  *
930
- *
931
- *
932
- *
1607
+ * OpenAPI spec version: 1.0
933
1608
  *
934
1609
  *
935
1610
  * NOTE: This class is auto generated by the swagger code generator program.
936
1611
  * https://github.com/swagger-api/swagger-codegen.git
937
1612
  * Do not edit the class manually.
938
1613
  */ /* tslint:disable:no-unused-variable member-ordering */
939
- class DpaEngagementControllerService {
1614
+ class PackageDetailControllerService {
940
1615
  constructor(httpClient, basePath, configuration) {
941
1616
  this.httpClient = httpClient;
942
1617
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -963,88 +1638,16 @@ class DpaEngagementControllerService {
963
1638
  }
964
1639
  return false;
965
1640
  }
966
- activateDpaEngagement(id, observe = 'body', reportProgress = false) {
967
- if (id === null || id === undefined) {
968
- throw new Error('Required parameter id was null or undefined when calling activateDpaEngagement.');
969
- }
970
- let headers = this.defaultHeaders;
971
- // to determine the Accept header
972
- let httpHeaderAccepts = [
973
- '*/*'
974
- ];
975
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
976
- if (httpHeaderAcceptSelected != undefined) {
977
- headers = headers.set('Accept', httpHeaderAcceptSelected);
978
- }
979
- // to determine the Content-Type header
980
- const consumes = [];
981
- return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
982
- withCredentials: this.configuration.withCredentials,
983
- headers: headers,
984
- observe: observe,
985
- reportProgress: reportProgress
986
- });
987
- }
988
- createDpaEngagement(body, observe = 'body', reportProgress = false) {
989
- if (body === null || body === undefined) {
990
- throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
991
- }
992
- let headers = this.defaultHeaders;
993
- // to determine the Accept header
994
- let httpHeaderAccepts = [
995
- '*/*'
996
- ];
997
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
998
- if (httpHeaderAcceptSelected != undefined) {
999
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1000
- }
1001
- // to determine the Content-Type header
1002
- const consumes = [
1003
- 'application/json'
1004
- ];
1005
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1006
- if (httpContentTypeSelected != undefined) {
1007
- headers = headers.set('Content-Type', httpContentTypeSelected);
1008
- }
1009
- return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement`, {
1010
- body: body,
1011
- withCredentials: this.configuration.withCredentials,
1012
- headers: headers,
1013
- observe: observe,
1014
- reportProgress: reportProgress
1015
- });
1016
- }
1017
- getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, staticCampaign, page, size, sort, observe = 'body', reportProgress = false) {
1641
+ getAllPackageDetails(id, name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
1018
1642
  let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1019
1643
  if (id !== undefined && id !== null) {
1020
1644
  queryParameters = queryParameters.set('id', id);
1021
1645
  }
1022
- if (campaignId !== undefined && campaignId !== null) {
1023
- queryParameters = queryParameters.set('campaignId', campaignId);
1024
- }
1025
- if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
1026
- queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
1027
- }
1028
1646
  if (name !== undefined && name !== null) {
1029
1647
  queryParameters = queryParameters.set('name', name);
1030
1648
  }
1031
- if (payoutType !== undefined && payoutType !== null) {
1032
- queryParameters = queryParameters.set('payoutType', payoutType);
1033
- }
1034
- if (status !== undefined && status !== null) {
1035
- queryParameters = queryParameters.set('status', status);
1036
- }
1037
- if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
1038
- queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
1039
- }
1040
- if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
1041
- queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
1042
- }
1043
- if (campaignStatus !== undefined && campaignStatus !== null) {
1044
- queryParameters = queryParameters.set('campaignStatus', campaignStatus);
1045
- }
1046
- if (staticCampaign !== undefined && staticCampaign !== null) {
1047
- queryParameters = queryParameters.set('staticCampaign', staticCampaign);
1649
+ if (isActive !== undefined && isActive !== null) {
1650
+ queryParameters = queryParameters.set('isActive', isActive);
1048
1651
  }
1049
1652
  if (page !== undefined && page !== null) {
1050
1653
  queryParameters = queryParameters.set('page', page);
@@ -1068,7 +1671,7 @@ class DpaEngagementControllerService {
1068
1671
  }
1069
1672
  // to determine the Content-Type header
1070
1673
  const consumes = [];
1071
- return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement`, {
1674
+ return this.httpClient.request('get', `${this.basePath}/api/package`, {
1072
1675
  params: queryParameters,
1073
1676
  withCredentials: this.configuration.withCredentials,
1074
1677
  headers: headers,
@@ -1076,9 +1679,9 @@ class DpaEngagementControllerService {
1076
1679
  reportProgress: reportProgress
1077
1680
  });
1078
1681
  }
1079
- getDpaEngagement(id, observe = 'body', reportProgress = false) {
1682
+ getPackageDetail(id, observe = 'body', reportProgress = false) {
1080
1683
  if (id === null || id === undefined) {
1081
- throw new Error('Required parameter id was null or undefined when calling getDpaEngagement.');
1684
+ throw new Error('Required parameter id was null or undefined when calling getPackageDetail.');
1082
1685
  }
1083
1686
  let headers = this.defaultHeaders;
1084
1687
  // to determine the Accept header
@@ -1091,73 +1694,117 @@ class DpaEngagementControllerService {
1091
1694
  }
1092
1695
  // to determine the Content-Type header
1093
1696
  const consumes = [];
1094
- return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}`, {
1697
+ return this.httpClient.request('get', `${this.basePath}/api/package/${encodeURIComponent(String(id))}`, {
1095
1698
  withCredentials: this.configuration.withCredentials,
1096
1699
  headers: headers,
1097
1700
  observe: observe,
1098
1701
  reportProgress: reportProgress
1099
1702
  });
1100
1703
  }
1101
- getDpaEngagementLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
1102
- if (id === null || id === undefined) {
1103
- throw new Error('Required parameter id was null or undefined when calling getDpaEngagementLogs.');
1704
+ }
1705
+ PackageDetailControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1706
+ PackageDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService });
1707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, decorators: [{
1708
+ type: Injectable
1709
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1710
+ type: Optional
1711
+ }, {
1712
+ type: Inject,
1713
+ args: [BASE_PATH]
1714
+ }] }, { type: Configuration, decorators: [{
1715
+ type: Optional
1716
+ }] }]; } });
1717
+
1718
+ /**
1719
+ * Intellibid API
1720
+ * API documentation for the Intellibid platform
1721
+ *
1722
+ * OpenAPI spec version: 1.0
1723
+ *
1724
+ *
1725
+ * NOTE: This class is auto generated by the swagger code generator program.
1726
+ * https://github.com/swagger-api/swagger-codegen.git
1727
+ * Do not edit the class manually.
1728
+ */ /* tslint:disable:no-unused-variable member-ordering */
1729
+ class SourcePlatformMETAControllerService {
1730
+ constructor(httpClient, basePath, configuration) {
1731
+ this.httpClient = httpClient;
1732
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
1733
+ this.defaultHeaders = new HttpHeaders();
1734
+ this.configuration = new Configuration();
1735
+ if (basePath) {
1736
+ this.basePath = basePath;
1104
1737
  }
1105
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1106
- if (page !== undefined && page !== null) {
1107
- queryParameters = queryParameters.set('page', page);
1738
+ if (configuration) {
1739
+ this.configuration = configuration;
1740
+ this.basePath = basePath || configuration.basePath || this.basePath;
1741
+ }
1742
+ }
1743
+ /**
1744
+ * @param consumes string[] mime-types
1745
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1746
+ */
1747
+ canConsumeForm(consumes) {
1748
+ const form = 'multipart/form-data';
1749
+ for (const consume of consumes) {
1750
+ if (form === consume) {
1751
+ return true;
1752
+ }
1108
1753
  }
1109
- if (size !== undefined && size !== null) {
1110
- queryParameters = queryParameters.set('size', size);
1754
+ return false;
1755
+ }
1756
+ deleteAdImage(adAccountId, hash, observe = 'body', reportProgress = false) {
1757
+ if (adAccountId === null || adAccountId === undefined) {
1758
+ throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdImage.');
1111
1759
  }
1112
- if (sort) {
1113
- sort.forEach((element) => {
1114
- queryParameters = queryParameters.append('sort', element);
1115
- });
1760
+ if (hash === null || hash === undefined) {
1761
+ throw new Error('Required parameter hash was null or undefined when calling deleteAdImage.');
1116
1762
  }
1117
1763
  let headers = this.defaultHeaders;
1118
1764
  // to determine the Accept header
1119
- let httpHeaderAccepts = [
1120
- '*/*'
1121
- ];
1765
+ let httpHeaderAccepts = [];
1122
1766
  const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1123
1767
  if (httpHeaderAcceptSelected != undefined) {
1124
1768
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1125
1769
  }
1126
1770
  // to determine the Content-Type header
1127
1771
  const consumes = [];
1128
- return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/log`, {
1129
- params: queryParameters,
1772
+ return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-image/${encodeURIComponent(String(hash))}/delete`, {
1130
1773
  withCredentials: this.configuration.withCredentials,
1131
1774
  headers: headers,
1132
1775
  observe: observe,
1133
1776
  reportProgress: reportProgress
1134
1777
  });
1135
1778
  }
1136
- pauseDpaEngagement(id, observe = 'body', reportProgress = false) {
1137
- if (id === null || id === undefined) {
1138
- throw new Error('Required parameter id was null or undefined when calling pauseDpaEngagement.');
1779
+ deleteAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
1780
+ if (adAccountId === null || adAccountId === undefined) {
1781
+ throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdVideo.');
1782
+ }
1783
+ if (videoId === null || videoId === undefined) {
1784
+ throw new Error('Required parameter videoId was null or undefined when calling deleteAdVideo.');
1139
1785
  }
1140
1786
  let headers = this.defaultHeaders;
1141
1787
  // to determine the Accept header
1142
- let httpHeaderAccepts = [
1143
- '*/*'
1144
- ];
1788
+ let httpHeaderAccepts = [];
1145
1789
  const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1146
1790
  if (httpHeaderAcceptSelected != undefined) {
1147
1791
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1148
1792
  }
1149
1793
  // to determine the Content-Type header
1150
1794
  const consumes = [];
1151
- return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
1795
+ return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}/delete`, {
1152
1796
  withCredentials: this.configuration.withCredentials,
1153
1797
  headers: headers,
1154
1798
  observe: observe,
1155
1799
  reportProgress: reportProgress
1156
1800
  });
1157
1801
  }
1158
- publishDpaEngagement(id, observe = 'body', reportProgress = false) {
1159
- if (id === null || id === undefined) {
1160
- throw new Error('Required parameter id was null or undefined when calling publishDpaEngagement.');
1802
+ getAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
1803
+ if (adAccountId === null || adAccountId === undefined) {
1804
+ throw new Error('Required parameter adAccountId was null or undefined when calling getAdVideo.');
1805
+ }
1806
+ if (videoId === null || videoId === undefined) {
1807
+ throw new Error('Required parameter videoId was null or undefined when calling getAdVideo.');
1161
1808
  }
1162
1809
  let headers = this.defaultHeaders;
1163
1810
  // to determine the Accept header
@@ -1170,20 +1817,22 @@ class DpaEngagementControllerService {
1170
1817
  }
1171
1818
  // to determine the Content-Type header
1172
1819
  const consumes = [];
1173
- return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
1820
+ return this.httpClient.request('get', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
1174
1821
  withCredentials: this.configuration.withCredentials,
1175
1822
  headers: headers,
1176
1823
  observe: observe,
1177
1824
  reportProgress: reportProgress
1178
1825
  });
1179
1826
  }
1180
- searchDpaEngagements(q, observe = 'body', reportProgress = false) {
1181
- if (q === null || q === undefined) {
1182
- throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
1827
+ getAllAdImages(adAccountId, hashes, observe = 'body', reportProgress = false) {
1828
+ if (adAccountId === null || adAccountId === undefined) {
1829
+ throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImages.');
1183
1830
  }
1184
1831
  let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1185
- if (q !== undefined && q !== null) {
1186
- queryParameters = queryParameters.set('q', q);
1832
+ if (hashes) {
1833
+ hashes.forEach((element) => {
1834
+ queryParameters = queryParameters.append('hashes', element);
1835
+ });
1187
1836
  }
1188
1837
  let headers = this.defaultHeaders;
1189
1838
  // to determine the Accept header
@@ -1196,7 +1845,7 @@ class DpaEngagementControllerService {
1196
1845
  }
1197
1846
  // to determine the Content-Type header
1198
1847
  const consumes = [];
1199
- return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/search`, {
1848
+ return this.httpClient.request('get', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-image`, {
1200
1849
  params: queryParameters,
1201
1850
  withCredentials: this.configuration.withCredentials,
1202
1851
  headers: headers,
@@ -1204,12 +1853,15 @@ class DpaEngagementControllerService {
1204
1853
  reportProgress: reportProgress
1205
1854
  });
1206
1855
  }
1207
- updateDailyBudget(body, id, observe = 'body', reportProgress = false) {
1208
- if (body === null || body === undefined) {
1209
- throw new Error('Required parameter body was null or undefined when calling updateDailyBudget.');
1856
+ getAllAdVideos(adAccountId, videoIds, observe = 'body', reportProgress = false) {
1857
+ if (adAccountId === null || adAccountId === undefined) {
1858
+ throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideos.');
1210
1859
  }
1211
- if (id === null || id === undefined) {
1212
- throw new Error('Required parameter id was null or undefined when calling updateDailyBudget.');
1860
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1861
+ if (videoIds) {
1862
+ videoIds.forEach((element) => {
1863
+ queryParameters = queryParameters.append('videoIds', element);
1864
+ });
1213
1865
  }
1214
1866
  let headers = this.defaultHeaders;
1215
1867
  // to determine the Accept header
@@ -1221,27 +1873,27 @@ class DpaEngagementControllerService {
1221
1873
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1222
1874
  }
1223
1875
  // to determine the Content-Type header
1224
- const consumes = [
1225
- 'application/json'
1226
- ];
1227
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1228
- if (httpContentTypeSelected != undefined) {
1229
- headers = headers.set('Content-Type', httpContentTypeSelected);
1230
- }
1231
- return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
1232
- body: body,
1876
+ const consumes = [];
1877
+ return this.httpClient.request('get', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video`, {
1878
+ params: queryParameters,
1233
1879
  withCredentials: this.configuration.withCredentials,
1234
1880
  headers: headers,
1235
1881
  observe: observe,
1236
1882
  reportProgress: reportProgress
1237
1883
  });
1238
1884
  }
1239
- updateDpaEngagement(body, id, observe = 'body', reportProgress = false) {
1240
- if (body === null || body === undefined) {
1241
- throw new Error('Required parameter body was null or undefined when calling updateDpaEngagement.');
1885
+ uploadAdImages1(adAccountId, files, observe = 'body', reportProgress = false) {
1886
+ if (adAccountId === null || adAccountId === undefined) {
1887
+ throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages1.');
1242
1888
  }
1243
- if (id === null || id === undefined) {
1244
- throw new Error('Required parameter id was null or undefined when calling updateDpaEngagement.');
1889
+ if (files === null || files === undefined) {
1890
+ throw new Error('Required parameter files was null or undefined when calling uploadAdImages1.');
1891
+ }
1892
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1893
+ if (files) {
1894
+ files.forEach((element) => {
1895
+ queryParameters = queryParameters.append('files', element);
1896
+ });
1245
1897
  }
1246
1898
  let headers = this.defaultHeaders;
1247
1899
  // to determine the Accept header
@@ -1253,27 +1905,27 @@ class DpaEngagementControllerService {
1253
1905
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1254
1906
  }
1255
1907
  // to determine the Content-Type header
1256
- const consumes = [
1257
- 'application/json'
1258
- ];
1259
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1260
- if (httpContentTypeSelected != undefined) {
1261
- headers = headers.set('Content-Type', httpContentTypeSelected);
1262
- }
1263
- return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}`, {
1264
- body: body,
1908
+ const consumes = [];
1909
+ return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-image`, {
1910
+ params: queryParameters,
1265
1911
  withCredentials: this.configuration.withCredentials,
1266
1912
  headers: headers,
1267
1913
  observe: observe,
1268
1914
  reportProgress: reportProgress
1269
1915
  });
1270
1916
  }
1271
- updateMargin(body, id, observe = 'body', reportProgress = false) {
1272
- if (body === null || body === undefined) {
1273
- throw new Error('Required parameter body was null or undefined when calling updateMargin.');
1917
+ uploadAdVideos1(adAccountId, files, observe = 'body', reportProgress = false) {
1918
+ if (adAccountId === null || adAccountId === undefined) {
1919
+ throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos1.');
1274
1920
  }
1275
- if (id === null || id === undefined) {
1276
- throw new Error('Required parameter id was null or undefined when calling updateMargin.');
1921
+ if (files === null || files === undefined) {
1922
+ throw new Error('Required parameter files was null or undefined when calling uploadAdVideos1.');
1923
+ }
1924
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1925
+ if (files) {
1926
+ files.forEach((element) => {
1927
+ queryParameters = queryParameters.append('files', element);
1928
+ });
1277
1929
  }
1278
1930
  let headers = this.defaultHeaders;
1279
1931
  // to determine the Accept header
@@ -1285,15 +1937,9 @@ class DpaEngagementControllerService {
1285
1937
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1286
1938
  }
1287
1939
  // to determine the Content-Type header
1288
- const consumes = [
1289
- 'application/json'
1290
- ];
1291
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1292
- if (httpContentTypeSelected != undefined) {
1293
- headers = headers.set('Content-Type', httpContentTypeSelected);
1294
- }
1295
- return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/margin`, {
1296
- body: body,
1940
+ const consumes = [];
1941
+ return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video`, {
1942
+ params: queryParameters,
1297
1943
  withCredentials: this.configuration.withCredentials,
1298
1944
  headers: headers,
1299
1945
  observe: observe,
@@ -1301,9 +1947,9 @@ class DpaEngagementControllerService {
1301
1947
  });
1302
1948
  }
1303
1949
  }
1304
- DpaEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1305
- DpaEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService });
1306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, decorators: [{
1950
+ SourcePlatformMETAControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETAControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1951
+ SourcePlatformMETAControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETAControllerService });
1952
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETAControllerService, decorators: [{
1307
1953
  type: Injectable
1308
1954
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1309
1955
  type: Optional
@@ -1315,150 +1961,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1315
1961
  }] }]; } });
1316
1962
 
1317
1963
  /**
1964
+ * Intellibid API
1965
+ * API documentation for the Intellibid platform
1318
1966
  *
1319
- *
1320
- *
1321
- *
1967
+ * OpenAPI spec version: 1.0
1322
1968
  *
1323
1969
  *
1324
1970
  * NOTE: This class is auto generated by the swagger code generator program.
1325
1971
  * https://github.com/swagger-api/swagger-codegen.git
1326
1972
  * Do not edit the class manually.
1327
1973
  */ /* tslint:disable:no-unused-variable member-ordering */
1328
- class FacebookEngagementControllerService {
1974
+ class SourcePlatformMETADictionaryControllerService {
1329
1975
  constructor(httpClient, basePath, configuration) {
1330
1976
  this.httpClient = httpClient;
1331
1977
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
1332
1978
  this.defaultHeaders = new HttpHeaders();
1333
- this.configuration = new Configuration();
1334
- if (basePath) {
1335
- this.basePath = basePath;
1336
- }
1337
- if (configuration) {
1338
- this.configuration = configuration;
1339
- this.basePath = basePath || configuration.basePath || this.basePath;
1340
- }
1341
- }
1342
- /**
1343
- * @param consumes string[] mime-types
1344
- * @return true: consumes contains 'multipart/form-data', false: otherwise
1345
- */
1346
- canConsumeForm(consumes) {
1347
- const form = 'multipart/form-data';
1348
- for (const consume of consumes) {
1349
- if (form === consume) {
1350
- return true;
1351
- }
1352
- }
1353
- return false;
1354
- }
1355
- createOrUpdateFacebookEngagement(body, id, observe = 'body', reportProgress = false) {
1356
- if (body === null || body === undefined) {
1357
- throw new Error('Required parameter body was null or undefined when calling createOrUpdateFacebookEngagement.');
1358
- }
1359
- if (id === null || id === undefined) {
1360
- throw new Error('Required parameter id was null or undefined when calling createOrUpdateFacebookEngagement.');
1361
- }
1362
- let headers = this.defaultHeaders;
1363
- // to determine the Accept header
1364
- let httpHeaderAccepts = [
1365
- '*/*'
1366
- ];
1367
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1368
- if (httpHeaderAcceptSelected != undefined) {
1369
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1370
- }
1371
- // to determine the Content-Type header
1372
- const consumes = [
1373
- 'application/json'
1374
- ];
1375
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1376
- if (httpContentTypeSelected != undefined) {
1377
- headers = headers.set('Content-Type', httpContentTypeSelected);
1378
- }
1379
- return this.httpClient.request('post', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
1380
- body: body,
1381
- withCredentials: this.configuration.withCredentials,
1382
- headers: headers,
1383
- observe: observe,
1384
- reportProgress: reportProgress
1385
- });
1386
- }
1387
- getAllFacebookEngagements(id, campaignId, facebookAccountId, facebookFanPageId, facebookCatalogId, facebookCatalogType, instagramActorId, facebookPixelId, facebookAppId, facebookProductSetId, tosAccepted, eventSourceGroupId, audienceDsdo, page, size, sort, observe = 'body', reportProgress = false) {
1388
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1389
- if (id !== undefined && id !== null) {
1390
- queryParameters = queryParameters.set('id', id);
1391
- }
1392
- if (campaignId !== undefined && campaignId !== null) {
1393
- queryParameters = queryParameters.set('campaignId', campaignId);
1394
- }
1395
- if (facebookAccountId !== undefined && facebookAccountId !== null) {
1396
- queryParameters = queryParameters.set('facebookAccountId', facebookAccountId);
1397
- }
1398
- if (facebookFanPageId !== undefined && facebookFanPageId !== null) {
1399
- queryParameters = queryParameters.set('facebookFanPageId', facebookFanPageId);
1400
- }
1401
- if (facebookCatalogId !== undefined && facebookCatalogId !== null) {
1402
- queryParameters = queryParameters.set('facebookCatalogId', facebookCatalogId);
1403
- }
1404
- if (facebookCatalogType !== undefined && facebookCatalogType !== null) {
1405
- queryParameters = queryParameters.set('facebookCatalogType', facebookCatalogType);
1406
- }
1407
- if (instagramActorId !== undefined && instagramActorId !== null) {
1408
- queryParameters = queryParameters.set('instagramActorId', instagramActorId);
1409
- }
1410
- if (facebookPixelId !== undefined && facebookPixelId !== null) {
1411
- queryParameters = queryParameters.set('facebookPixelId', facebookPixelId);
1412
- }
1413
- if (facebookAppId !== undefined && facebookAppId !== null) {
1414
- queryParameters = queryParameters.set('facebookAppId', facebookAppId);
1415
- }
1416
- if (facebookProductSetId !== undefined && facebookProductSetId !== null) {
1417
- queryParameters = queryParameters.set('facebookProductSetId', facebookProductSetId);
1418
- }
1419
- if (tosAccepted !== undefined && tosAccepted !== null) {
1420
- queryParameters = queryParameters.set('tosAccepted', tosAccepted);
1421
- }
1422
- if (eventSourceGroupId !== undefined && eventSourceGroupId !== null) {
1423
- queryParameters = queryParameters.set('eventSourceGroupId', eventSourceGroupId);
1424
- }
1425
- if (audienceDsdo !== undefined && audienceDsdo !== null) {
1426
- queryParameters = queryParameters.set('audienceDsdo', audienceDsdo);
1427
- }
1428
- if (page !== undefined && page !== null) {
1429
- queryParameters = queryParameters.set('page', page);
1430
- }
1431
- if (size !== undefined && size !== null) {
1432
- queryParameters = queryParameters.set('size', size);
1433
- }
1434
- if (sort) {
1435
- sort.forEach((element) => {
1436
- queryParameters = queryParameters.append('sort', element);
1437
- });
1438
- }
1439
- let headers = this.defaultHeaders;
1440
- // to determine the Accept header
1441
- let httpHeaderAccepts = [
1442
- '*/*'
1443
- ];
1444
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1445
- if (httpHeaderAcceptSelected != undefined) {
1446
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1979
+ this.configuration = new Configuration();
1980
+ if (basePath) {
1981
+ this.basePath = basePath;
1982
+ }
1983
+ if (configuration) {
1984
+ this.configuration = configuration;
1985
+ this.basePath = basePath || configuration.basePath || this.basePath;
1447
1986
  }
1448
- // to determine the Content-Type header
1449
- const consumes = [];
1450
- return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement`, {
1451
- params: queryParameters,
1452
- withCredentials: this.configuration.withCredentials,
1453
- headers: headers,
1454
- observe: observe,
1455
- reportProgress: reportProgress
1456
- });
1457
1987
  }
1458
- getFacebookEngagement(id, observe = 'body', reportProgress = false) {
1459
- if (id === null || id === undefined) {
1460
- throw new Error('Required parameter id was null or undefined when calling getFacebookEngagement.');
1988
+ /**
1989
+ * @param consumes string[] mime-types
1990
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1991
+ */
1992
+ canConsumeForm(consumes) {
1993
+ const form = 'multipart/form-data';
1994
+ for (const consume of consumes) {
1995
+ if (form === consume) {
1996
+ return true;
1997
+ }
1461
1998
  }
1999
+ return false;
2000
+ }
2001
+ getAllMETACountries(observe = 'body', reportProgress = false) {
1462
2002
  let headers = this.defaultHeaders;
1463
2003
  // to determine the Accept header
1464
2004
  let httpHeaderAccepts = [
@@ -1470,7 +2010,7 @@ class FacebookEngagementControllerService {
1470
2010
  }
1471
2011
  // to determine the Content-Type header
1472
2012
  const consumes = [];
1473
- return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
2013
+ return this.httpClient.request('get', `${this.basePath}/api/meta/dictionary/country`, {
1474
2014
  withCredentials: this.configuration.withCredentials,
1475
2015
  headers: headers,
1476
2016
  observe: observe,
@@ -1478,9 +2018,9 @@ class FacebookEngagementControllerService {
1478
2018
  });
1479
2019
  }
1480
2020
  }
1481
- FacebookEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1482
- FacebookEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService });
1483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, decorators: [{
2021
+ SourcePlatformMETADictionaryControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETADictionaryControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2022
+ SourcePlatformMETADictionaryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETADictionaryControllerService });
2023
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETADictionaryControllerService, decorators: [{
1484
2024
  type: Injectable
1485
2025
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1486
2026
  type: Optional
@@ -1492,17 +2032,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1492
2032
  }] }]; } });
1493
2033
 
1494
2034
  /**
2035
+ * Intellibid API
2036
+ * API documentation for the Intellibid platform
1495
2037
  *
1496
- *
1497
- *
1498
- *
2038
+ * OpenAPI spec version: 1.0
1499
2039
  *
1500
2040
  *
1501
2041
  * NOTE: This class is auto generated by the swagger code generator program.
1502
2042
  * https://github.com/swagger-api/swagger-codegen.git
1503
2043
  * Do not edit the class manually.
1504
2044
  */ /* tslint:disable:no-unused-variable member-ordering */
1505
- class MobileAppDetailControllerService {
2045
+ class SourcePlatformTIKTOKControllerService {
1506
2046
  constructor(httpClient, basePath, configuration) {
1507
2047
  this.httpClient = httpClient;
1508
2048
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -1529,12 +2069,18 @@ class MobileAppDetailControllerService {
1529
2069
  }
1530
2070
  return false;
1531
2071
  }
1532
- createOrUpdateMobileAppDetail(body, id, observe = 'body', reportProgress = false) {
1533
- if (body === null || body === undefined) {
1534
- throw new Error('Required parameter body was null or undefined when calling createOrUpdateMobileAppDetail.');
2072
+ getAllAdImagesInfo(adAccountId, imageIds, observe = 'body', reportProgress = false) {
2073
+ if (adAccountId === null || adAccountId === undefined) {
2074
+ throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImagesInfo.');
1535
2075
  }
1536
- if (id === null || id === undefined) {
1537
- throw new Error('Required parameter id was null or undefined when calling createOrUpdateMobileAppDetail.');
2076
+ if (imageIds === null || imageIds === undefined) {
2077
+ throw new Error('Required parameter imageIds was null or undefined when calling getAllAdImagesInfo.');
2078
+ }
2079
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
2080
+ if (imageIds) {
2081
+ imageIds.forEach((element) => {
2082
+ queryParameters = queryParameters.append('imageIds', element);
2083
+ });
1538
2084
  }
1539
2085
  let headers = this.defaultHeaders;
1540
2086
  // to determine the Accept header
@@ -1546,65 +2092,26 @@ class MobileAppDetailControllerService {
1546
2092
  headers = headers.set('Accept', httpHeaderAcceptSelected);
1547
2093
  }
1548
2094
  // to determine the Content-Type header
1549
- const consumes = [
1550
- 'application/json'
1551
- ];
1552
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1553
- if (httpContentTypeSelected != undefined) {
1554
- headers = headers.set('Content-Type', httpContentTypeSelected);
1555
- }
1556
- return this.httpClient.request('post', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
1557
- body: body,
2095
+ const consumes = [];
2096
+ return this.httpClient.request('get', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-image`, {
2097
+ params: queryParameters,
1558
2098
  withCredentials: this.configuration.withCredentials,
1559
2099
  headers: headers,
1560
2100
  observe: observe,
1561
2101
  reportProgress: reportProgress
1562
2102
  });
1563
2103
  }
1564
- getAllMobileAppDetails(campaignId, altLandingPage, playStoreLink, playStoreId, fbAppIdForPlayStore, itunesLink, itunesId, fbAppIdForItunes, iosAppName, androidAppName, defaultWebSiteUrl, page, size, sort, observe = 'body', reportProgress = false) {
1565
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1566
- if (campaignId !== undefined && campaignId !== null) {
1567
- queryParameters = queryParameters.set('campaignId', campaignId);
1568
- }
1569
- if (altLandingPage !== undefined && altLandingPage !== null) {
1570
- queryParameters = queryParameters.set('altLandingPage', altLandingPage);
1571
- }
1572
- if (playStoreLink !== undefined && playStoreLink !== null) {
1573
- queryParameters = queryParameters.set('playStoreLink', playStoreLink);
1574
- }
1575
- if (playStoreId !== undefined && playStoreId !== null) {
1576
- queryParameters = queryParameters.set('playStoreId', playStoreId);
1577
- }
1578
- if (fbAppIdForPlayStore !== undefined && fbAppIdForPlayStore !== null) {
1579
- queryParameters = queryParameters.set('fbAppIdForPlayStore', fbAppIdForPlayStore);
1580
- }
1581
- if (itunesLink !== undefined && itunesLink !== null) {
1582
- queryParameters = queryParameters.set('itunesLink', itunesLink);
1583
- }
1584
- if (itunesId !== undefined && itunesId !== null) {
1585
- queryParameters = queryParameters.set('itunesId', itunesId);
1586
- }
1587
- if (fbAppIdForItunes !== undefined && fbAppIdForItunes !== null) {
1588
- queryParameters = queryParameters.set('fbAppIdForItunes', fbAppIdForItunes);
1589
- }
1590
- if (iosAppName !== undefined && iosAppName !== null) {
1591
- queryParameters = queryParameters.set('iosAppName', iosAppName);
1592
- }
1593
- if (androidAppName !== undefined && androidAppName !== null) {
1594
- queryParameters = queryParameters.set('androidAppName', androidAppName);
1595
- }
1596
- if (defaultWebSiteUrl !== undefined && defaultWebSiteUrl !== null) {
1597
- queryParameters = queryParameters.set('defaultWebSiteUrl', defaultWebSiteUrl);
1598
- }
1599
- if (page !== undefined && page !== null) {
1600
- queryParameters = queryParameters.set('page', page);
2104
+ uploadAdImages(adAccountId, files, observe = 'body', reportProgress = false) {
2105
+ if (adAccountId === null || adAccountId === undefined) {
2106
+ throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages.');
1601
2107
  }
1602
- if (size !== undefined && size !== null) {
1603
- queryParameters = queryParameters.set('size', size);
2108
+ if (files === null || files === undefined) {
2109
+ throw new Error('Required parameter files was null or undefined when calling uploadAdImages.');
1604
2110
  }
1605
- if (sort) {
1606
- sort.forEach((element) => {
1607
- queryParameters = queryParameters.append('sort', element);
2111
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
2112
+ if (files) {
2113
+ files.forEach((element) => {
2114
+ queryParameters = queryParameters.append('files', element);
1608
2115
  });
1609
2116
  }
1610
2117
  let headers = this.defaultHeaders;
@@ -1618,7 +2125,7 @@ class MobileAppDetailControllerService {
1618
2125
  }
1619
2126
  // to determine the Content-Type header
1620
2127
  const consumes = [];
1621
- return this.httpClient.request('get', `${this.basePath}/api/mobile-app`, {
2128
+ return this.httpClient.request('post', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-image`, {
1622
2129
  params: queryParameters,
1623
2130
  withCredentials: this.configuration.withCredentials,
1624
2131
  headers: headers,
@@ -1626,9 +2133,18 @@ class MobileAppDetailControllerService {
1626
2133
  reportProgress: reportProgress
1627
2134
  });
1628
2135
  }
1629
- getMobileAppDetail(id, observe = 'body', reportProgress = false) {
1630
- if (id === null || id === undefined) {
1631
- throw new Error('Required parameter id was null or undefined when calling getMobileAppDetail.');
2136
+ uploadAdVideos(adAccountId, files, observe = 'body', reportProgress = false) {
2137
+ if (adAccountId === null || adAccountId === undefined) {
2138
+ throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos.');
2139
+ }
2140
+ if (files === null || files === undefined) {
2141
+ throw new Error('Required parameter files was null or undefined when calling uploadAdVideos.');
2142
+ }
2143
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
2144
+ if (files) {
2145
+ files.forEach((element) => {
2146
+ queryParameters = queryParameters.append('files', element);
2147
+ });
1632
2148
  }
1633
2149
  let headers = this.defaultHeaders;
1634
2150
  // to determine the Accept header
@@ -1641,7 +2157,8 @@ class MobileAppDetailControllerService {
1641
2157
  }
1642
2158
  // to determine the Content-Type header
1643
2159
  const consumes = [];
1644
- return this.httpClient.request('get', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
2160
+ return this.httpClient.request('post', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-video`, {
2161
+ params: queryParameters,
1645
2162
  withCredentials: this.configuration.withCredentials,
1646
2163
  headers: headers,
1647
2164
  observe: observe,
@@ -1649,9 +2166,9 @@ class MobileAppDetailControllerService {
1649
2166
  });
1650
2167
  }
1651
2168
  }
1652
- MobileAppDetailControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1653
- MobileAppDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService });
1654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, decorators: [{
2169
+ SourcePlatformTIKTOKControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2170
+ SourcePlatformTIKTOKControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKControllerService });
2171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKControllerService, decorators: [{
1655
2172
  type: Injectable
1656
2173
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1657
2174
  type: Optional
@@ -1663,17 +2180,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1663
2180
  }] }]; } });
1664
2181
 
1665
2182
  /**
2183
+ * Intellibid API
2184
+ * API documentation for the Intellibid platform
1666
2185
  *
1667
- *
1668
- *
1669
- *
2186
+ * OpenAPI spec version: 1.0
1670
2187
  *
1671
2188
  *
1672
2189
  * NOTE: This class is auto generated by the swagger code generator program.
1673
2190
  * https://github.com/swagger-api/swagger-codegen.git
1674
2191
  * Do not edit the class manually.
1675
2192
  */ /* tslint:disable:no-unused-variable member-ordering */
1676
- class PackageDetailControllerService {
2193
+ class SourcePlatformTIKTOKDictionaryControllerService {
1677
2194
  constructor(httpClient, basePath, configuration) {
1678
2195
  this.httpClient = httpClient;
1679
2196
  this.basePath = 'http://dev1-intellibid-svc.revx.io';
@@ -1700,51 +2217,7 @@ class PackageDetailControllerService {
1700
2217
  }
1701
2218
  return false;
1702
2219
  }
1703
- getAllPackageDetails(id, name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
1704
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1705
- if (id !== undefined && id !== null) {
1706
- queryParameters = queryParameters.set('id', id);
1707
- }
1708
- if (name !== undefined && name !== null) {
1709
- queryParameters = queryParameters.set('name', name);
1710
- }
1711
- if (isActive !== undefined && isActive !== null) {
1712
- queryParameters = queryParameters.set('isActive', isActive);
1713
- }
1714
- if (page !== undefined && page !== null) {
1715
- queryParameters = queryParameters.set('page', page);
1716
- }
1717
- if (size !== undefined && size !== null) {
1718
- queryParameters = queryParameters.set('size', size);
1719
- }
1720
- if (sort) {
1721
- sort.forEach((element) => {
1722
- queryParameters = queryParameters.append('sort', element);
1723
- });
1724
- }
1725
- let headers = this.defaultHeaders;
1726
- // to determine the Accept header
1727
- let httpHeaderAccepts = [
1728
- '*/*'
1729
- ];
1730
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1731
- if (httpHeaderAcceptSelected != undefined) {
1732
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1733
- }
1734
- // to determine the Content-Type header
1735
- const consumes = [];
1736
- return this.httpClient.request('get', `${this.basePath}/api/package`, {
1737
- params: queryParameters,
1738
- withCredentials: this.configuration.withCredentials,
1739
- headers: headers,
1740
- observe: observe,
1741
- reportProgress: reportProgress
1742
- });
1743
- }
1744
- getPackageDetail(id, observe = 'body', reportProgress = false) {
1745
- if (id === null || id === undefined) {
1746
- throw new Error('Required parameter id was null or undefined when calling getPackageDetail.');
1747
- }
2220
+ getAllTiktokCountries(observe = 'body', reportProgress = false) {
1748
2221
  let headers = this.defaultHeaders;
1749
2222
  // to determine the Accept header
1750
2223
  let httpHeaderAccepts = [
@@ -1756,7 +2229,7 @@ class PackageDetailControllerService {
1756
2229
  }
1757
2230
  // to determine the Content-Type header
1758
2231
  const consumes = [];
1759
- return this.httpClient.request('get', `${this.basePath}/api/package/${encodeURIComponent(String(id))}`, {
2232
+ return this.httpClient.request('get', `${this.basePath}/api/tiktok/dictionary/country`, {
1760
2233
  withCredentials: this.configuration.withCredentials,
1761
2234
  headers: headers,
1762
2235
  observe: observe,
@@ -1764,9 +2237,9 @@ class PackageDetailControllerService {
1764
2237
  });
1765
2238
  }
1766
2239
  }
1767
- PackageDetailControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1768
- PackageDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService });
1769
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, decorators: [{
2240
+ SourcePlatformTIKTOKDictionaryControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKDictionaryControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2241
+ SourcePlatformTIKTOKDictionaryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKDictionaryControllerService });
2242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKDictionaryControllerService, decorators: [{
1770
2243
  type: Injectable
1771
2244
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1772
2245
  type: Optional
@@ -1777,13 +2250,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1777
2250
  type: Optional
1778
2251
  }] }]; } });
1779
2252
 
1780
- const APIS = [AdImageControllerService, AdVideoControllerService, BusinessGeoControllerService, CampaignControllerService, CampaignInsightsControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookEngagementControllerService, MobileAppDetailControllerService, PackageDetailControllerService];
2253
+ const APIS = [AdvertiserControllerService, BusinessGeoControllerService, CampaignInsightsControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService];
1781
2254
 
1782
2255
  /**
2256
+ * Intellibid API
2257
+ * API documentation for the Intellibid platform
1783
2258
  *
1784
- *
1785
- *
1786
- *
2259
+ * OpenAPI spec version: 1.0
1787
2260
  *
1788
2261
  *
1789
2262
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1800,10 +2273,10 @@ var AdImageResponse;
1800
2273
  })(AdImageResponse || (AdImageResponse = {}));
1801
2274
 
1802
2275
  /**
2276
+ * Intellibid API
2277
+ * API documentation for the Intellibid platform
1803
2278
  *
1804
- *
1805
- *
1806
- *
2279
+ * OpenAPI spec version: 1.0
1807
2280
  *
1808
2281
  *
1809
2282
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1820,10 +2293,10 @@ var AdSetDetails;
1820
2293
  })(AdSetDetails || (AdSetDetails = {}));
1821
2294
 
1822
2295
  /**
2296
+ * Intellibid API
2297
+ * API documentation for the Intellibid platform
1823
2298
  *
1824
- *
1825
- *
1826
- *
2299
+ * OpenAPI spec version: 1.0
1827
2300
  *
1828
2301
  *
1829
2302
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1832,10 +2305,10 @@ var AdSetDetails;
1832
2305
  */
1833
2306
 
1834
2307
  /**
2308
+ * Intellibid API
2309
+ * API documentation for the Intellibid platform
1835
2310
  *
1836
- *
1837
- *
1838
- *
2311
+ * OpenAPI spec version: 1.0
1839
2312
  *
1840
2313
  *
1841
2314
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1844,10 +2317,10 @@ var AdSetDetails;
1844
2317
  */
1845
2318
 
1846
2319
  /**
2320
+ * Intellibid API
2321
+ * API documentation for the Intellibid platform
1847
2322
  *
1848
- *
1849
- *
1850
- *
2323
+ * OpenAPI spec version: 1.0
1851
2324
  *
1852
2325
  *
1853
2326
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1856,10 +2329,10 @@ var AdSetDetails;
1856
2329
  */
1857
2330
 
1858
2331
  /**
2332
+ * Intellibid API
2333
+ * API documentation for the Intellibid platform
1859
2334
  *
1860
- *
1861
- *
1862
- *
2335
+ * OpenAPI spec version: 1.0
1863
2336
  *
1864
2337
  *
1865
2338
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1868,10 +2341,10 @@ var AdSetDetails;
1868
2341
  */
1869
2342
 
1870
2343
  /**
2344
+ * Intellibid API
2345
+ * API documentation for the Intellibid platform
1871
2346
  *
1872
- *
1873
- *
1874
- *
2347
+ * OpenAPI spec version: 1.0
1875
2348
  *
1876
2349
  *
1877
2350
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1900,10 +2373,10 @@ var CampaignResponse;
1900
2373
  })(CampaignResponse || (CampaignResponse = {}));
1901
2374
 
1902
2375
  /**
2376
+ * Intellibid API
2377
+ * API documentation for the Intellibid platform
1903
2378
  *
1904
- *
1905
- *
1906
- *
2379
+ * OpenAPI spec version: 1.0
1907
2380
  *
1908
2381
  *
1909
2382
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1912,10 +2385,10 @@ var CampaignResponse;
1912
2385
  */
1913
2386
 
1914
2387
  /**
2388
+ * Intellibid API
2389
+ * API documentation for the Intellibid platform
1915
2390
  *
1916
- *
1917
- *
1918
- *
2391
+ * OpenAPI spec version: 1.0
1919
2392
  *
1920
2393
  *
1921
2394
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1924,10 +2397,10 @@ var CampaignResponse;
1924
2397
  */
1925
2398
 
1926
2399
  /**
2400
+ * Intellibid API
2401
+ * API documentation for the Intellibid platform
1927
2402
  *
1928
- *
1929
- *
1930
- *
2403
+ * OpenAPI spec version: 1.0
1931
2404
  *
1932
2405
  *
1933
2406
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1948,10 +2421,10 @@ var DpaCampaignResponse;
1948
2421
  })(DpaCampaignResponse || (DpaCampaignResponse = {}));
1949
2422
 
1950
2423
  /**
2424
+ * Intellibid API
2425
+ * API documentation for the Intellibid platform
1951
2426
  *
1952
- *
1953
- *
1954
- *
2427
+ * OpenAPI spec version: 1.0
1955
2428
  *
1956
2429
  *
1957
2430
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -1972,8 +2445,24 @@ var DpaEngagementChangeLogResponse;
1972
2445
  };
1973
2446
  })(DpaEngagementChangeLogResponse || (DpaEngagementChangeLogResponse = {}));
1974
2447
 
2448
+ var DpaEngagementRequest;
2449
+ (function (DpaEngagementRequest) {
2450
+ DpaEngagementRequest.SourcePlatformEnum = {
2451
+ META: 'META',
2452
+ GOOGLE: 'GOOGLE',
2453
+ TIKTOK: 'TIKTOK',
2454
+ SNAPCHAT: 'SNAPCHAT'
2455
+ };
2456
+ })(DpaEngagementRequest || (DpaEngagementRequest = {}));
2457
+
1975
2458
  var DpaEngagementResponse;
1976
2459
  (function (DpaEngagementResponse) {
2460
+ DpaEngagementResponse.SourcePlatformEnum = {
2461
+ META: 'META',
2462
+ GOOGLE: 'GOOGLE',
2463
+ TIKTOK: 'TIKTOK',
2464
+ SNAPCHAT: 'SNAPCHAT'
2465
+ };
1977
2466
  DpaEngagementResponse.RunByEnum = {
1978
2467
  CLIENT: 'CLIENT',
1979
2468
  VIZURY: 'VIZURY'
@@ -2006,10 +2495,10 @@ var DpaEngagementResponse;
2006
2495
  })(DpaEngagementResponse || (DpaEngagementResponse = {}));
2007
2496
 
2008
2497
  /**
2498
+ * Intellibid API
2499
+ * API documentation for the Intellibid platform
2009
2500
  *
2010
- *
2011
- *
2012
- *
2501
+ * OpenAPI spec version: 1.0
2013
2502
  *
2014
2503
  *
2015
2504
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2018,10 +2507,10 @@ var DpaEngagementResponse;
2018
2507
  */
2019
2508
 
2020
2509
  /**
2510
+ * Intellibid API
2511
+ * API documentation for the Intellibid platform
2021
2512
  *
2022
- *
2023
- *
2024
- *
2513
+ * OpenAPI spec version: 1.0
2025
2514
  *
2026
2515
  *
2027
2516
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2030,10 +2519,10 @@ var DpaEngagementResponse;
2030
2519
  */
2031
2520
 
2032
2521
  /**
2522
+ * Intellibid API
2523
+ * API documentation for the Intellibid platform
2033
2524
  *
2034
- *
2035
- *
2036
- *
2525
+ * OpenAPI spec version: 1.0
2037
2526
  *
2038
2527
  *
2039
2528
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2042,10 +2531,10 @@ var DpaEngagementResponse;
2042
2531
  */
2043
2532
 
2044
2533
  /**
2534
+ * Intellibid API
2535
+ * API documentation for the Intellibid platform
2045
2536
  *
2046
- *
2047
- *
2048
- *
2537
+ * OpenAPI spec version: 1.0
2049
2538
  *
2050
2539
  *
2051
2540
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2063,10 +2552,10 @@ var FacebookEngagementResponse;
2063
2552
  })(FacebookEngagementResponse || (FacebookEngagementResponse = {}));
2064
2553
 
2065
2554
  /**
2555
+ * Intellibid API
2556
+ * API documentation for the Intellibid platform
2066
2557
  *
2067
- *
2068
- *
2069
- *
2558
+ * OpenAPI spec version: 1.0
2070
2559
  *
2071
2560
  *
2072
2561
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2075,10 +2564,10 @@ var FacebookEngagementResponse;
2075
2564
  */
2076
2565
 
2077
2566
  /**
2567
+ * Intellibid API
2568
+ * API documentation for the Intellibid platform
2078
2569
  *
2079
- *
2080
- *
2081
- *
2570
+ * OpenAPI spec version: 1.0
2082
2571
  *
2083
2572
  *
2084
2573
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2087,10 +2576,10 @@ var FacebookEngagementResponse;
2087
2576
  */
2088
2577
 
2089
2578
  /**
2579
+ * Intellibid API
2580
+ * API documentation for the Intellibid platform
2090
2581
  *
2091
- *
2092
- *
2093
- *
2582
+ * OpenAPI spec version: 1.0
2094
2583
  *
2095
2584
  *
2096
2585
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2099,10 +2588,10 @@ var FacebookEngagementResponse;
2099
2588
  */
2100
2589
 
2101
2590
  /**
2591
+ * Intellibid API
2592
+ * API documentation for the Intellibid platform
2102
2593
  *
2103
- *
2104
- *
2105
- *
2594
+ * OpenAPI spec version: 1.0
2106
2595
  *
2107
2596
  *
2108
2597
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2111,10 +2600,10 @@ var FacebookEngagementResponse;
2111
2600
  */
2112
2601
 
2113
2602
  /**
2603
+ * Intellibid API
2604
+ * API documentation for the Intellibid platform
2114
2605
  *
2115
- *
2116
- *
2117
- *
2606
+ * OpenAPI spec version: 1.0
2118
2607
  *
2119
2608
  *
2120
2609
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2123,10 +2612,10 @@ var FacebookEngagementResponse;
2123
2612
  */
2124
2613
 
2125
2614
  /**
2615
+ * Intellibid API
2616
+ * API documentation for the Intellibid platform
2126
2617
  *
2127
- *
2128
- *
2129
- *
2618
+ * OpenAPI spec version: 1.0
2130
2619
  *
2131
2620
  *
2132
2621
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2135,10 +2624,22 @@ var FacebookEngagementResponse;
2135
2624
  */
2136
2625
 
2137
2626
  /**
2627
+ * Intellibid API
2628
+ * API documentation for the Intellibid platform
2138
2629
  *
2630
+ * OpenAPI spec version: 1.0
2139
2631
  *
2140
2632
  *
2633
+ * NOTE: This class is auto generated by the swagger code generator program.
2634
+ * https://github.com/swagger-api/swagger-codegen.git
2635
+ * Do not edit the class manually.
2636
+ */
2637
+
2638
+ /**
2639
+ * Intellibid API
2640
+ * API documentation for the Intellibid platform
2141
2641
  *
2642
+ * OpenAPI spec version: 1.0
2142
2643
  *
2143
2644
  *
2144
2645
  * NOTE: This class is auto generated by the swagger code generator program.
@@ -2166,17 +2667,20 @@ class ApiModule {
2166
2667
  ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
2167
2668
  ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
2168
2669
  ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
2169
- AdImageControllerService,
2170
- AdVideoControllerService,
2670
+ AdvertiserControllerService,
2171
2671
  BusinessGeoControllerService,
2172
- CampaignControllerService,
2173
2672
  CampaignInsightsControllerService,
2174
- CountryControllerService,
2175
2673
  DpaCampaignControllerService,
2176
2674
  DpaEngagementControllerService,
2675
+ FacebookAdImageControllerService,
2676
+ FacebookAdVideoControllerService,
2177
2677
  FacebookEngagementControllerService,
2178
2678
  MobileAppDetailControllerService,
2179
- PackageDetailControllerService
2679
+ PackageDetailControllerService,
2680
+ SourcePlatformMETAControllerService,
2681
+ SourcePlatformMETADictionaryControllerService,
2682
+ SourcePlatformTIKTOKControllerService,
2683
+ SourcePlatformTIKTOKDictionaryControllerService
2180
2684
  ] });
2181
2685
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
2182
2686
  type: NgModule,
@@ -2185,17 +2689,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2185
2689
  declarations: [],
2186
2690
  exports: [],
2187
2691
  providers: [
2188
- AdImageControllerService,
2189
- AdVideoControllerService,
2692
+ AdvertiserControllerService,
2190
2693
  BusinessGeoControllerService,
2191
- CampaignControllerService,
2192
2694
  CampaignInsightsControllerService,
2193
- CountryControllerService,
2194
2695
  DpaCampaignControllerService,
2195
2696
  DpaEngagementControllerService,
2697
+ FacebookAdImageControllerService,
2698
+ FacebookAdVideoControllerService,
2196
2699
  FacebookEngagementControllerService,
2197
2700
  MobileAppDetailControllerService,
2198
- PackageDetailControllerService
2701
+ PackageDetailControllerService,
2702
+ SourcePlatformMETAControllerService,
2703
+ SourcePlatformMETADictionaryControllerService,
2704
+ SourcePlatformTIKTOKControllerService,
2705
+ SourcePlatformTIKTOKDictionaryControllerService
2199
2706
  ]
2200
2707
  }]
2201
2708
  }], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
@@ -2210,5 +2717,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2210
2717
  * Generated bundle index. Do not edit.
2211
2718
  */
2212
2719
 
2213
- export { APIS, AdImageControllerService, AdImageResponse, AdSetDetails, AdVideoControllerService, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignInsightsControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementChangeLogResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, MobileAppDetailControllerService, PackageDetailControllerService };
2720
+ export { APIS, AdImageResponse, AdSetDetails, AdvertiserControllerService, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignInsightsControllerService, CampaignResponse, Configuration, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementChangeLogResponse, DpaEngagementControllerService, DpaEngagementRequest, DpaEngagementResponse, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, FacebookEngagementResponse, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService };
2214
2721
  //# sourceMappingURL=revxui-intellibid-client-ts.mjs.map