@revxui/intellibid-client-ts 1.0.0

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 (73) hide show
  1. package/README.md +180 -0
  2. package/api/api.d.ts +13 -0
  3. package/api/businessGeoController.service.d.ts +28 -0
  4. package/api/campaignController.service.d.ts +56 -0
  5. package/api/countryController.service.d.ts +28 -0
  6. package/api/dpaCampaignController.service.d.ts +52 -0
  7. package/api/dpaEngagementController.service.d.ts +83 -0
  8. package/api/packageDetailController.service.d.ts +45 -0
  9. package/api.module.d.ts +11 -0
  10. package/configuration.d.ts +48 -0
  11. package/encoder.d.ts +10 -0
  12. package/esm2020/api/api.mjs +14 -0
  13. package/esm2020/api/businessGeoController.service.mjs +78 -0
  14. package/esm2020/api/campaignController.service.mjs +152 -0
  15. package/esm2020/api/countryController.service.mjs +78 -0
  16. package/esm2020/api/dpaCampaignController.service.mjs +145 -0
  17. package/esm2020/api/dpaEngagementController.service.mjs +224 -0
  18. package/esm2020/api/packageDetailController.service.mjs +123 -0
  19. package/esm2020/api.module.mjs +60 -0
  20. package/esm2020/configuration.mjs +59 -0
  21. package/esm2020/encoder.mjs +17 -0
  22. package/esm2020/index.mjs +6 -0
  23. package/esm2020/model/adSetDetails.mjs +20 -0
  24. package/esm2020/model/audienceDetails.mjs +13 -0
  25. package/esm2020/model/businessGeoResponse.mjs +13 -0
  26. package/esm2020/model/campaignResponse.mjs +32 -0
  27. package/esm2020/model/countryResponse.mjs +13 -0
  28. package/esm2020/model/createCampaignRequest.mjs +13 -0
  29. package/esm2020/model/creativeDetails.mjs +2 -0
  30. package/esm2020/model/dpaCampaignRequest.mjs +2 -0
  31. package/esm2020/model/dpaCampaignResponse.mjs +11 -0
  32. package/esm2020/model/dpaEngagementRequest.mjs +2 -0
  33. package/esm2020/model/dpaEngagementResponse.mjs +32 -0
  34. package/esm2020/model/exclusionRule.mjs +13 -0
  35. package/esm2020/model/facebookDetails.mjs +2 -0
  36. package/esm2020/model/imageOverlaySpecDetails.mjs +13 -0
  37. package/esm2020/model/models.mjs +21 -0
  38. package/esm2020/model/packageDetailResponse.mjs +13 -0
  39. package/esm2020/model/pageCampaignResponse.mjs +2 -0
  40. package/esm2020/model/pageDpaEngagementResponse.mjs +2 -0
  41. package/esm2020/model/pagePackageDetailResponse.mjs +2 -0
  42. package/esm2020/model/pageableObject.mjs +2 -0
  43. package/esm2020/model/sortObject.mjs +13 -0
  44. package/esm2020/revxui-intellibid-client-ts.mjs +5 -0
  45. package/esm2020/variables.mjs +9 -0
  46. package/fesm2015/revxui-intellibid-client-ts.mjs +1010 -0
  47. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -0
  48. package/fesm2020/revxui-intellibid-client-ts.mjs +1092 -0
  49. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -0
  50. package/index.d.ts +5 -0
  51. package/model/adSetDetails.d.ts +28 -0
  52. package/model/audienceDetails.d.ts +22 -0
  53. package/model/businessGeoResponse.d.ts +15 -0
  54. package/model/campaignResponse.d.ts +117 -0
  55. package/model/countryResponse.d.ts +16 -0
  56. package/model/createCampaignRequest.d.ts +16 -0
  57. package/model/creativeDetails.d.ts +21 -0
  58. package/model/dpaCampaignRequest.d.ts +17 -0
  59. package/model/dpaCampaignResponse.d.ts +35 -0
  60. package/model/dpaEngagementRequest.d.ts +29 -0
  61. package/model/dpaEngagementResponse.d.ts +90 -0
  62. package/model/exclusionRule.d.ts +15 -0
  63. package/model/facebookDetails.d.ts +27 -0
  64. package/model/imageOverlaySpecDetails.d.ts +20 -0
  65. package/model/models.d.ts +20 -0
  66. package/model/packageDetailResponse.d.ts +16 -0
  67. package/model/pageCampaignResponse.d.ts +27 -0
  68. package/model/pageDpaEngagementResponse.d.ts +27 -0
  69. package/model/pagePackageDetailResponse.d.ts +27 -0
  70. package/model/pageableObject.d.ts +20 -0
  71. package/model/sortObject.d.ts +18 -0
  72. package/package.json +33 -0
  73. package/variables.d.ts +8 -0
@@ -0,0 +1,1092 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from '@angular/core';
3
+ import * as i1 from '@angular/common/http';
4
+ import { HttpHeaders, HttpUrlEncodingCodec, HttpParams } from '@angular/common/http';
5
+
6
+ const BASE_PATH = new InjectionToken('basePath');
7
+ const COLLECTION_FORMATS = {
8
+ 'csv': ',',
9
+ 'tsv': ' ',
10
+ 'ssv': ' ',
11
+ 'pipes': '|'
12
+ };
13
+
14
+ class Configuration {
15
+ constructor(configurationParameters = {}) {
16
+ this.apiKeys = configurationParameters.apiKeys;
17
+ this.username = configurationParameters.username;
18
+ this.password = configurationParameters.password;
19
+ this.accessToken = configurationParameters.accessToken;
20
+ this.basePath = configurationParameters.basePath;
21
+ this.withCredentials = configurationParameters.withCredentials;
22
+ }
23
+ /**
24
+ * Select the correct content-type to use for a request.
25
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
26
+ * If no content type is found return the first found type if the contentTypes is not empty
27
+ * @param contentTypes - the array of content types that are available for selection
28
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
29
+ */
30
+ selectHeaderContentType(contentTypes) {
31
+ if (contentTypes.length == 0) {
32
+ return undefined;
33
+ }
34
+ let type = contentTypes.find(x => this.isJsonMime(x));
35
+ if (type === undefined) {
36
+ return contentTypes[0];
37
+ }
38
+ return type;
39
+ }
40
+ /**
41
+ * Select the correct accept content-type to use for a request.
42
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
43
+ * If no content type is found return the first found type if the contentTypes is not empty
44
+ * @param accepts - the array of content types that are available for selection.
45
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
46
+ */
47
+ selectHeaderAccept(accepts) {
48
+ if (accepts.length == 0) {
49
+ return undefined;
50
+ }
51
+ let type = accepts.find(x => this.isJsonMime(x));
52
+ if (type === undefined) {
53
+ return accepts[0];
54
+ }
55
+ return type;
56
+ }
57
+ /**
58
+ * Check if the given MIME is a JSON MIME.
59
+ * JSON MIME examples:
60
+ * application/json
61
+ * application/json; charset=UTF8
62
+ * APPLICATION/JSON
63
+ * application/vnd.company+json
64
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
65
+ * @return True if the given MIME is JSON, false otherwise.
66
+ */
67
+ isJsonMime(mime) {
68
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
69
+ return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
70
+ }
71
+ }
72
+
73
+ /**
74
+ *
75
+ *
76
+ *
77
+ *
78
+ *
79
+ *
80
+ * NOTE: This class is auto generated by the swagger code generator program.
81
+ * https://github.com/swagger-api/swagger-codegen.git
82
+ * Do not edit the class manually.
83
+ */ /* tslint:disable:no-unused-variable member-ordering */
84
+ class BusinessGeoControllerService {
85
+ constructor(httpClient, basePath, configuration) {
86
+ this.httpClient = httpClient;
87
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
88
+ this.defaultHeaders = new HttpHeaders();
89
+ this.configuration = new Configuration();
90
+ if (basePath) {
91
+ this.basePath = basePath;
92
+ }
93
+ if (configuration) {
94
+ this.configuration = configuration;
95
+ this.basePath = basePath || configuration.basePath || this.basePath;
96
+ }
97
+ }
98
+ /**
99
+ * @param consumes string[] mime-types
100
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
101
+ */
102
+ canConsumeForm(consumes) {
103
+ const form = 'multipart/form-data';
104
+ for (const consume of consumes) {
105
+ if (form === consume) {
106
+ return true;
107
+ }
108
+ }
109
+ return false;
110
+ }
111
+ getAllBusinessGeos(observe = 'body', reportProgress = false) {
112
+ let headers = this.defaultHeaders;
113
+ // to determine the Accept header
114
+ let httpHeaderAccepts = [
115
+ '*/*'
116
+ ];
117
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
118
+ if (httpHeaderAcceptSelected != undefined) {
119
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
120
+ }
121
+ // to determine the Content-Type header
122
+ const consumes = [];
123
+ return this.httpClient.request('get', `${this.basePath}/business-geo`, {
124
+ withCredentials: this.configuration.withCredentials,
125
+ headers: headers,
126
+ observe: observe,
127
+ reportProgress: reportProgress
128
+ });
129
+ }
130
+ }
131
+ 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 });
132
+ BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
134
+ type: Injectable
135
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
136
+ type: Optional
137
+ }, {
138
+ type: Inject,
139
+ args: [BASE_PATH]
140
+ }] }, { type: Configuration, decorators: [{
141
+ type: Optional
142
+ }] }]; } });
143
+
144
+ /**
145
+ * CustomHttpUrlEncodingCodec
146
+ * Fix plus sign (+) not encoding, so sent as blank space
147
+ * See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
148
+ */
149
+ class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
150
+ encodeKey(k) {
151
+ k = super.encodeKey(k);
152
+ return k.replace(/\+/gi, '%2B');
153
+ }
154
+ encodeValue(v) {
155
+ v = super.encodeValue(v);
156
+ return v.replace(/\+/gi, '%2B');
157
+ }
158
+ }
159
+
160
+ /**
161
+ *
162
+ *
163
+ *
164
+ *
165
+ *
166
+ *
167
+ * NOTE: This class is auto generated by the swagger code generator program.
168
+ * https://github.com/swagger-api/swagger-codegen.git
169
+ * Do not edit the class manually.
170
+ */ /* tslint:disable:no-unused-variable member-ordering */
171
+ class CampaignControllerService {
172
+ constructor(httpClient, basePath, configuration) {
173
+ this.httpClient = httpClient;
174
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
175
+ this.defaultHeaders = new HttpHeaders();
176
+ this.configuration = new Configuration();
177
+ if (basePath) {
178
+ this.basePath = basePath;
179
+ }
180
+ if (configuration) {
181
+ this.configuration = configuration;
182
+ this.basePath = basePath || configuration.basePath || this.basePath;
183
+ }
184
+ }
185
+ /**
186
+ * @param consumes string[] mime-types
187
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
188
+ */
189
+ canConsumeForm(consumes) {
190
+ const form = 'multipart/form-data';
191
+ for (const consume of consumes) {
192
+ if (form === consume) {
193
+ return true;
194
+ }
195
+ }
196
+ return false;
197
+ }
198
+ createCampaign(body, observe = 'body', reportProgress = false) {
199
+ if (body === null || body === undefined) {
200
+ throw new Error('Required parameter body was null or undefined when calling createCampaign.');
201
+ }
202
+ let headers = this.defaultHeaders;
203
+ // to determine the Accept header
204
+ let httpHeaderAccepts = [
205
+ '*/*'
206
+ ];
207
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
208
+ if (httpHeaderAcceptSelected != undefined) {
209
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
210
+ }
211
+ // to determine the Content-Type header
212
+ const consumes = [
213
+ 'application/json'
214
+ ];
215
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
216
+ if (httpContentTypeSelected != undefined) {
217
+ headers = headers.set('Content-Type', httpContentTypeSelected);
218
+ }
219
+ return this.httpClient.request('post', `${this.basePath}/campaign`, {
220
+ body: body,
221
+ withCredentials: this.configuration.withCredentials,
222
+ headers: headers,
223
+ observe: observe,
224
+ reportProgress: reportProgress
225
+ });
226
+ }
227
+ getAllCampaigns(name, vizardPackageId, status, page, size, sort, observe = 'body', reportProgress = false) {
228
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
229
+ if (name !== undefined && name !== null) {
230
+ queryParameters = queryParameters.set('name', name);
231
+ }
232
+ if (vizardPackageId !== undefined && vizardPackageId !== null) {
233
+ queryParameters = queryParameters.set('vizardPackageId', vizardPackageId);
234
+ }
235
+ if (status !== undefined && status !== null) {
236
+ queryParameters = queryParameters.set('status', status);
237
+ }
238
+ if (page !== undefined && page !== null) {
239
+ queryParameters = queryParameters.set('page', page);
240
+ }
241
+ if (size !== undefined && size !== null) {
242
+ queryParameters = queryParameters.set('size', size);
243
+ }
244
+ if (sort) {
245
+ sort.forEach((element) => {
246
+ queryParameters = queryParameters.append('sort', element);
247
+ });
248
+ }
249
+ let headers = this.defaultHeaders;
250
+ // to determine the Accept header
251
+ let httpHeaderAccepts = [
252
+ '*/*'
253
+ ];
254
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
255
+ if (httpHeaderAcceptSelected != undefined) {
256
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
257
+ }
258
+ // to determine the Content-Type header
259
+ const consumes = [];
260
+ return this.httpClient.request('get', `${this.basePath}/campaign`, {
261
+ params: queryParameters,
262
+ withCredentials: this.configuration.withCredentials,
263
+ headers: headers,
264
+ observe: observe,
265
+ reportProgress: reportProgress
266
+ });
267
+ }
268
+ getCampaign(id, observe = 'body', reportProgress = false) {
269
+ if (id === null || id === undefined) {
270
+ throw new Error('Required parameter id was null or undefined when calling getCampaign.');
271
+ }
272
+ let headers = this.defaultHeaders;
273
+ // to determine the Accept header
274
+ let httpHeaderAccepts = [
275
+ '*/*'
276
+ ];
277
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
278
+ if (httpHeaderAcceptSelected != undefined) {
279
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
280
+ }
281
+ // to determine the Content-Type header
282
+ const consumes = [];
283
+ return this.httpClient.request('get', `${this.basePath}/campaign/${encodeURIComponent(String(id))}`, {
284
+ withCredentials: this.configuration.withCredentials,
285
+ headers: headers,
286
+ observe: observe,
287
+ reportProgress: reportProgress
288
+ });
289
+ }
290
+ }
291
+ 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 });
292
+ CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
294
+ type: Injectable
295
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
296
+ type: Optional
297
+ }, {
298
+ type: Inject,
299
+ args: [BASE_PATH]
300
+ }] }, { type: Configuration, decorators: [{
301
+ type: Optional
302
+ }] }]; } });
303
+
304
+ /**
305
+ *
306
+ *
307
+ *
308
+ *
309
+ *
310
+ *
311
+ * NOTE: This class is auto generated by the swagger code generator program.
312
+ * https://github.com/swagger-api/swagger-codegen.git
313
+ * Do not edit the class manually.
314
+ */ /* tslint:disable:no-unused-variable member-ordering */
315
+ class CountryControllerService {
316
+ constructor(httpClient, basePath, configuration) {
317
+ this.httpClient = httpClient;
318
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
319
+ this.defaultHeaders = new HttpHeaders();
320
+ this.configuration = new Configuration();
321
+ if (basePath) {
322
+ this.basePath = basePath;
323
+ }
324
+ if (configuration) {
325
+ this.configuration = configuration;
326
+ this.basePath = basePath || configuration.basePath || this.basePath;
327
+ }
328
+ }
329
+ /**
330
+ * @param consumes string[] mime-types
331
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
332
+ */
333
+ canConsumeForm(consumes) {
334
+ const form = 'multipart/form-data';
335
+ for (const consume of consumes) {
336
+ if (form === consume) {
337
+ return true;
338
+ }
339
+ }
340
+ return false;
341
+ }
342
+ getAllCountries(observe = 'body', reportProgress = false) {
343
+ let headers = this.defaultHeaders;
344
+ // to determine the Accept header
345
+ let httpHeaderAccepts = [
346
+ '*/*'
347
+ ];
348
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
349
+ if (httpHeaderAcceptSelected != undefined) {
350
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
351
+ }
352
+ // to determine the Content-Type header
353
+ const consumes = [];
354
+ return this.httpClient.request('get', `${this.basePath}/country`, {
355
+ withCredentials: this.configuration.withCredentials,
356
+ headers: headers,
357
+ observe: observe,
358
+ reportProgress: reportProgress
359
+ });
360
+ }
361
+ }
362
+ 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 });
363
+ CountryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService });
364
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, decorators: [{
365
+ type: Injectable
366
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
367
+ type: Optional
368
+ }, {
369
+ type: Inject,
370
+ args: [BASE_PATH]
371
+ }] }, { type: Configuration, decorators: [{
372
+ type: Optional
373
+ }] }]; } });
374
+
375
+ /**
376
+ *
377
+ *
378
+ *
379
+ *
380
+ *
381
+ *
382
+ * NOTE: This class is auto generated by the swagger code generator program.
383
+ * https://github.com/swagger-api/swagger-codegen.git
384
+ * Do not edit the class manually.
385
+ */ /* tslint:disable:no-unused-variable member-ordering */
386
+ class DpaCampaignControllerService {
387
+ constructor(httpClient, basePath, configuration) {
388
+ this.httpClient = httpClient;
389
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
390
+ this.defaultHeaders = new HttpHeaders();
391
+ this.configuration = new Configuration();
392
+ if (basePath) {
393
+ this.basePath = basePath;
394
+ }
395
+ if (configuration) {
396
+ this.configuration = configuration;
397
+ this.basePath = basePath || configuration.basePath || this.basePath;
398
+ }
399
+ }
400
+ /**
401
+ * @param consumes string[] mime-types
402
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
403
+ */
404
+ canConsumeForm(consumes) {
405
+ const form = 'multipart/form-data';
406
+ for (const consume of consumes) {
407
+ if (form === consume) {
408
+ return true;
409
+ }
410
+ }
411
+ return false;
412
+ }
413
+ createDpaCampaign(body, id, observe = 'body', reportProgress = false) {
414
+ if (body === null || body === undefined) {
415
+ throw new Error('Required parameter body was null or undefined when calling createDpaCampaign.');
416
+ }
417
+ if (id === null || id === undefined) {
418
+ throw new Error('Required parameter id was null or undefined when calling createDpaCampaign.');
419
+ }
420
+ let headers = this.defaultHeaders;
421
+ // to determine the Accept header
422
+ let httpHeaderAccepts = [
423
+ '*/*'
424
+ ];
425
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
426
+ if (httpHeaderAcceptSelected != undefined) {
427
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
428
+ }
429
+ // to determine the Content-Type header
430
+ const consumes = [
431
+ 'application/json'
432
+ ];
433
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
434
+ if (httpContentTypeSelected != undefined) {
435
+ headers = headers.set('Content-Type', httpContentTypeSelected);
436
+ }
437
+ return this.httpClient.request('post', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
438
+ body: body,
439
+ withCredentials: this.configuration.withCredentials,
440
+ headers: headers,
441
+ observe: observe,
442
+ reportProgress: reportProgress
443
+ });
444
+ }
445
+ getDpaCampaign(id, observe = 'body', reportProgress = false) {
446
+ if (id === null || id === undefined) {
447
+ throw new Error('Required parameter id was null or undefined when calling getDpaCampaign.');
448
+ }
449
+ let headers = this.defaultHeaders;
450
+ // to determine the Accept header
451
+ let httpHeaderAccepts = [
452
+ '*/*'
453
+ ];
454
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
455
+ if (httpHeaderAcceptSelected != undefined) {
456
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
457
+ }
458
+ // to determine the Content-Type header
459
+ const consumes = [];
460
+ return this.httpClient.request('get', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
461
+ withCredentials: this.configuration.withCredentials,
462
+ headers: headers,
463
+ observe: observe,
464
+ reportProgress: reportProgress
465
+ });
466
+ }
467
+ updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
468
+ if (body === null || body === undefined) {
469
+ throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
470
+ }
471
+ if (id === null || id === undefined) {
472
+ throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
473
+ }
474
+ let headers = this.defaultHeaders;
475
+ // to determine the Accept header
476
+ let httpHeaderAccepts = [
477
+ '*/*'
478
+ ];
479
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
480
+ if (httpHeaderAcceptSelected != undefined) {
481
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
482
+ }
483
+ // to determine the Content-Type header
484
+ const consumes = [
485
+ 'application/json'
486
+ ];
487
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
488
+ if (httpContentTypeSelected != undefined) {
489
+ headers = headers.set('Content-Type', httpContentTypeSelected);
490
+ }
491
+ return this.httpClient.request('put', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
492
+ body: body,
493
+ withCredentials: this.configuration.withCredentials,
494
+ headers: headers,
495
+ observe: observe,
496
+ reportProgress: reportProgress
497
+ });
498
+ }
499
+ }
500
+ 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 });
501
+ DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
502
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
503
+ type: Injectable
504
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
505
+ type: Optional
506
+ }, {
507
+ type: Inject,
508
+ args: [BASE_PATH]
509
+ }] }, { type: Configuration, decorators: [{
510
+ type: Optional
511
+ }] }]; } });
512
+
513
+ /**
514
+ *
515
+ *
516
+ *
517
+ *
518
+ *
519
+ *
520
+ * NOTE: This class is auto generated by the swagger code generator program.
521
+ * https://github.com/swagger-api/swagger-codegen.git
522
+ * Do not edit the class manually.
523
+ */ /* tslint:disable:no-unused-variable member-ordering */
524
+ class DpaEngagementControllerService {
525
+ constructor(httpClient, basePath, configuration) {
526
+ this.httpClient = httpClient;
527
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
528
+ this.defaultHeaders = new HttpHeaders();
529
+ this.configuration = new Configuration();
530
+ if (basePath) {
531
+ this.basePath = basePath;
532
+ }
533
+ if (configuration) {
534
+ this.configuration = configuration;
535
+ this.basePath = basePath || configuration.basePath || this.basePath;
536
+ }
537
+ }
538
+ /**
539
+ * @param consumes string[] mime-types
540
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
541
+ */
542
+ canConsumeForm(consumes) {
543
+ const form = 'multipart/form-data';
544
+ for (const consume of consumes) {
545
+ if (form === consume) {
546
+ return true;
547
+ }
548
+ }
549
+ return false;
550
+ }
551
+ createDpaEngagement(body, observe = 'body', reportProgress = false) {
552
+ if (body === null || body === undefined) {
553
+ throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
554
+ }
555
+ let headers = this.defaultHeaders;
556
+ // to determine the Accept header
557
+ let httpHeaderAccepts = [
558
+ '*/*'
559
+ ];
560
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
561
+ if (httpHeaderAcceptSelected != undefined) {
562
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
563
+ }
564
+ // to determine the Content-Type header
565
+ const consumes = [
566
+ 'application/json'
567
+ ];
568
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
569
+ if (httpContentTypeSelected != undefined) {
570
+ headers = headers.set('Content-Type', httpContentTypeSelected);
571
+ }
572
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement`, {
573
+ body: body,
574
+ withCredentials: this.configuration.withCredentials,
575
+ headers: headers,
576
+ observe: observe,
577
+ reportProgress: reportProgress
578
+ });
579
+ }
580
+ getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, page, size, sort, observe = 'body', reportProgress = false) {
581
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
582
+ if (id !== undefined && id !== null) {
583
+ queryParameters = queryParameters.set('id', id);
584
+ }
585
+ if (campaignId !== undefined && campaignId !== null) {
586
+ queryParameters = queryParameters.set('campaignId', campaignId);
587
+ }
588
+ if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
589
+ queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
590
+ }
591
+ if (name !== undefined && name !== null) {
592
+ queryParameters = queryParameters.set('name', name);
593
+ }
594
+ if (payoutType !== undefined && payoutType !== null) {
595
+ queryParameters = queryParameters.set('payoutType', payoutType);
596
+ }
597
+ if (status !== undefined && status !== null) {
598
+ queryParameters = queryParameters.set('status', status);
599
+ }
600
+ if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
601
+ queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
602
+ }
603
+ if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
604
+ queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
605
+ }
606
+ if (campaignStatus !== undefined && campaignStatus !== null) {
607
+ queryParameters = queryParameters.set('campaignStatus', campaignStatus);
608
+ }
609
+ if (page !== undefined && page !== null) {
610
+ queryParameters = queryParameters.set('page', page);
611
+ }
612
+ if (size !== undefined && size !== null) {
613
+ queryParameters = queryParameters.set('size', size);
614
+ }
615
+ if (sort) {
616
+ sort.forEach((element) => {
617
+ queryParameters = queryParameters.append('sort', element);
618
+ });
619
+ }
620
+ let headers = this.defaultHeaders;
621
+ // to determine the Accept header
622
+ let httpHeaderAccepts = [
623
+ '*/*'
624
+ ];
625
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
626
+ if (httpHeaderAcceptSelected != undefined) {
627
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
628
+ }
629
+ // to determine the Content-Type header
630
+ const consumes = [];
631
+ return this.httpClient.request('get', `${this.basePath}/dpa-engagement`, {
632
+ params: queryParameters,
633
+ withCredentials: this.configuration.withCredentials,
634
+ headers: headers,
635
+ observe: observe,
636
+ reportProgress: reportProgress
637
+ });
638
+ }
639
+ getDpaEngagement(id, observe = 'body', reportProgress = false) {
640
+ if (id === null || id === undefined) {
641
+ throw new Error('Required parameter id was null or undefined when calling getDpaEngagement.');
642
+ }
643
+ let headers = this.defaultHeaders;
644
+ // to determine the Accept header
645
+ let httpHeaderAccepts = [
646
+ '*/*'
647
+ ];
648
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
649
+ if (httpHeaderAcceptSelected != undefined) {
650
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
651
+ }
652
+ // to determine the Content-Type header
653
+ const consumes = [];
654
+ return this.httpClient.request('get', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
655
+ withCredentials: this.configuration.withCredentials,
656
+ headers: headers,
657
+ observe: observe,
658
+ reportProgress: reportProgress
659
+ });
660
+ }
661
+ publishDpaEngagement(id, observe = 'body', reportProgress = false) {
662
+ if (id === null || id === undefined) {
663
+ throw new Error('Required parameter id was null or undefined when calling publishDpaEngagement.');
664
+ }
665
+ let headers = this.defaultHeaders;
666
+ // to determine the Accept header
667
+ let httpHeaderAccepts = [
668
+ '*/*'
669
+ ];
670
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
671
+ if (httpHeaderAcceptSelected != undefined) {
672
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
673
+ }
674
+ // to determine the Content-Type header
675
+ const consumes = [];
676
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
677
+ withCredentials: this.configuration.withCredentials,
678
+ headers: headers,
679
+ observe: observe,
680
+ reportProgress: reportProgress
681
+ });
682
+ }
683
+ updateDpaEngagement(body, id, observe = 'body', reportProgress = false) {
684
+ if (body === null || body === undefined) {
685
+ throw new Error('Required parameter body was null or undefined when calling updateDpaEngagement.');
686
+ }
687
+ if (id === null || id === undefined) {
688
+ throw new Error('Required parameter id was null or undefined when calling updateDpaEngagement.');
689
+ }
690
+ let headers = this.defaultHeaders;
691
+ // to determine the Accept header
692
+ let httpHeaderAccepts = [
693
+ '*/*'
694
+ ];
695
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
696
+ if (httpHeaderAcceptSelected != undefined) {
697
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
698
+ }
699
+ // to determine the Content-Type header
700
+ const consumes = [
701
+ 'application/json'
702
+ ];
703
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
704
+ if (httpContentTypeSelected != undefined) {
705
+ headers = headers.set('Content-Type', httpContentTypeSelected);
706
+ }
707
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
708
+ body: body,
709
+ withCredentials: this.configuration.withCredentials,
710
+ headers: headers,
711
+ observe: observe,
712
+ reportProgress: reportProgress
713
+ });
714
+ }
715
+ }
716
+ 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 });
717
+ DpaEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService });
718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, decorators: [{
719
+ type: Injectable
720
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
721
+ type: Optional
722
+ }, {
723
+ type: Inject,
724
+ args: [BASE_PATH]
725
+ }] }, { type: Configuration, decorators: [{
726
+ type: Optional
727
+ }] }]; } });
728
+
729
+ /**
730
+ *
731
+ *
732
+ *
733
+ *
734
+ *
735
+ *
736
+ * NOTE: This class is auto generated by the swagger code generator program.
737
+ * https://github.com/swagger-api/swagger-codegen.git
738
+ * Do not edit the class manually.
739
+ */ /* tslint:disable:no-unused-variable member-ordering */
740
+ class PackageDetailControllerService {
741
+ constructor(httpClient, basePath, configuration) {
742
+ this.httpClient = httpClient;
743
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
744
+ this.defaultHeaders = new HttpHeaders();
745
+ this.configuration = new Configuration();
746
+ if (basePath) {
747
+ this.basePath = basePath;
748
+ }
749
+ if (configuration) {
750
+ this.configuration = configuration;
751
+ this.basePath = basePath || configuration.basePath || this.basePath;
752
+ }
753
+ }
754
+ /**
755
+ * @param consumes string[] mime-types
756
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
757
+ */
758
+ canConsumeForm(consumes) {
759
+ const form = 'multipart/form-data';
760
+ for (const consume of consumes) {
761
+ if (form === consume) {
762
+ return true;
763
+ }
764
+ }
765
+ return false;
766
+ }
767
+ getAllPackageDetails(id, name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
768
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
769
+ if (id !== undefined && id !== null) {
770
+ queryParameters = queryParameters.set('id', id);
771
+ }
772
+ if (name !== undefined && name !== null) {
773
+ queryParameters = queryParameters.set('name', name);
774
+ }
775
+ if (isActive !== undefined && isActive !== null) {
776
+ queryParameters = queryParameters.set('isActive', isActive);
777
+ }
778
+ if (page !== undefined && page !== null) {
779
+ queryParameters = queryParameters.set('page', page);
780
+ }
781
+ if (size !== undefined && size !== null) {
782
+ queryParameters = queryParameters.set('size', size);
783
+ }
784
+ if (sort) {
785
+ sort.forEach((element) => {
786
+ queryParameters = queryParameters.append('sort', element);
787
+ });
788
+ }
789
+ let headers = this.defaultHeaders;
790
+ // to determine the Accept header
791
+ let httpHeaderAccepts = [
792
+ '*/*'
793
+ ];
794
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
795
+ if (httpHeaderAcceptSelected != undefined) {
796
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
797
+ }
798
+ // to determine the Content-Type header
799
+ const consumes = [];
800
+ return this.httpClient.request('get', `${this.basePath}/package`, {
801
+ params: queryParameters,
802
+ withCredentials: this.configuration.withCredentials,
803
+ headers: headers,
804
+ observe: observe,
805
+ reportProgress: reportProgress
806
+ });
807
+ }
808
+ getPackageDetail(id, observe = 'body', reportProgress = false) {
809
+ if (id === null || id === undefined) {
810
+ throw new Error('Required parameter id was null or undefined when calling getPackageDetail.');
811
+ }
812
+ let headers = this.defaultHeaders;
813
+ // to determine the Accept header
814
+ let httpHeaderAccepts = [
815
+ '*/*'
816
+ ];
817
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
818
+ if (httpHeaderAcceptSelected != undefined) {
819
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
820
+ }
821
+ // to determine the Content-Type header
822
+ const consumes = [];
823
+ return this.httpClient.request('get', `${this.basePath}/package/${encodeURIComponent(String(id))}`, {
824
+ withCredentials: this.configuration.withCredentials,
825
+ headers: headers,
826
+ observe: observe,
827
+ reportProgress: reportProgress
828
+ });
829
+ }
830
+ }
831
+ 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 });
832
+ PackageDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService });
833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, decorators: [{
834
+ type: Injectable
835
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
836
+ type: Optional
837
+ }, {
838
+ type: Inject,
839
+ args: [BASE_PATH]
840
+ }] }, { type: Configuration, decorators: [{
841
+ type: Optional
842
+ }] }]; } });
843
+
844
+ const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, PackageDetailControllerService];
845
+
846
+ /**
847
+ *
848
+ *
849
+ *
850
+ *
851
+ *
852
+ *
853
+ * NOTE: This class is auto generated by the swagger code generator program.
854
+ * https://github.com/swagger-api/swagger-codegen.git
855
+ * Do not edit the class manually.
856
+ */
857
+ var AdSetDetails;
858
+ (function (AdSetDetails) {
859
+ AdSetDetails.TypeEnum = {
860
+ IB: 'IB',
861
+ Engage: 'Engage',
862
+ Default: 'Default'
863
+ };
864
+ })(AdSetDetails || (AdSetDetails = {}));
865
+
866
+ /**
867
+ *
868
+ *
869
+ *
870
+ *
871
+ *
872
+ *
873
+ * NOTE: This class is auto generated by the swagger code generator program.
874
+ * https://github.com/swagger-api/swagger-codegen.git
875
+ * Do not edit the class manually.
876
+ */
877
+
878
+ /**
879
+ *
880
+ *
881
+ *
882
+ *
883
+ *
884
+ *
885
+ * NOTE: This class is auto generated by the swagger code generator program.
886
+ * https://github.com/swagger-api/swagger-codegen.git
887
+ * Do not edit the class manually.
888
+ */
889
+
890
+ /**
891
+ *
892
+ *
893
+ *
894
+ *
895
+ *
896
+ *
897
+ * NOTE: This class is auto generated by the swagger code generator program.
898
+ * https://github.com/swagger-api/swagger-codegen.git
899
+ * Do not edit the class manually.
900
+ */
901
+ var CampaignResponse;
902
+ (function (CampaignResponse) {
903
+ CampaignResponse.StatusEnum = {
904
+ INACTIVE: 'INACTIVE',
905
+ PAUSED: 'PAUSED',
906
+ ACTIVE: 'ACTIVE',
907
+ SOFTPAUSE: 'SOFTPAUSE'
908
+ };
909
+ CampaignResponse.SegDbTypeEnum = {
910
+ SEGMENTATION: 'SEGMENTATION',
911
+ COUNT: 'COUNT'
912
+ };
913
+ CampaignResponse.CampaignTypeEnum = {
914
+ BRANDING: 'BRANDING',
915
+ UA: 'UA',
916
+ RETARGETING: 'RETARGETING',
917
+ DSP: 'DSP',
918
+ DMP: 'DMP'
919
+ };
920
+ })(CampaignResponse || (CampaignResponse = {}));
921
+
922
+ /**
923
+ *
924
+ *
925
+ *
926
+ *
927
+ *
928
+ *
929
+ * NOTE: This class is auto generated by the swagger code generator program.
930
+ * https://github.com/swagger-api/swagger-codegen.git
931
+ * Do not edit the class manually.
932
+ */
933
+
934
+ /**
935
+ *
936
+ *
937
+ *
938
+ *
939
+ *
940
+ *
941
+ * NOTE: This class is auto generated by the swagger code generator program.
942
+ * https://github.com/swagger-api/swagger-codegen.git
943
+ * Do not edit the class manually.
944
+ */
945
+
946
+ var DpaCampaignResponse;
947
+ (function (DpaCampaignResponse) {
948
+ DpaCampaignResponse.StatusEnum = {
949
+ UNCONFIGURED: 'UNCONFIGURED',
950
+ INITIALIZED: 'INITIALIZED',
951
+ RUNNING: 'RUNNING',
952
+ UPDATING: 'UPDATING',
953
+ PAUSED: 'PAUSED'
954
+ };
955
+ })(DpaCampaignResponse || (DpaCampaignResponse = {}));
956
+
957
+ var DpaEngagementResponse;
958
+ (function (DpaEngagementResponse) {
959
+ DpaEngagementResponse.RunByEnum = {
960
+ CLIENT: 'CLIENT',
961
+ VIZURY: 'VIZURY'
962
+ };
963
+ DpaEngagementResponse.PayoutTypeEnum = {
964
+ CPM: 'CPM',
965
+ CPC: 'CPC',
966
+ CPA: 'CPA',
967
+ CPS: 'CPS',
968
+ CPAClientAttributed: 'CPA - Client Attributed',
969
+ CPSClientAttributed: 'CPS - Client Attributed',
970
+ MARGIN: 'MARGIN'
971
+ };
972
+ DpaEngagementResponse.StatusEnum = {
973
+ UNCONFIGURED: 'UNCONFIGURED',
974
+ INITIALIZED: 'INITIALIZED',
975
+ RUNNING: 'RUNNING',
976
+ UPDATING: 'UPDATING',
977
+ PAUSED: 'PAUSED'
978
+ };
979
+ DpaEngagementResponse.TemplateEnum = {
980
+ None: 'none',
981
+ TextOnImage: 'text-on-image',
982
+ Price: 'price',
983
+ PercentageOff: 'percentage_off',
984
+ StrikethroughPrice: 'strikethrough_price',
985
+ ImageOverlay: 'image-overlay'
986
+ };
987
+ })(DpaEngagementResponse || (DpaEngagementResponse = {}));
988
+
989
+ /**
990
+ *
991
+ *
992
+ *
993
+ *
994
+ *
995
+ *
996
+ * NOTE: This class is auto generated by the swagger code generator program.
997
+ * https://github.com/swagger-api/swagger-codegen.git
998
+ * Do not edit the class manually.
999
+ */
1000
+
1001
+ /**
1002
+ *
1003
+ *
1004
+ *
1005
+ *
1006
+ *
1007
+ *
1008
+ * NOTE: This class is auto generated by the swagger code generator program.
1009
+ * https://github.com/swagger-api/swagger-codegen.git
1010
+ * Do not edit the class manually.
1011
+ */
1012
+
1013
+ /**
1014
+ *
1015
+ *
1016
+ *
1017
+ *
1018
+ *
1019
+ *
1020
+ * NOTE: This class is auto generated by the swagger code generator program.
1021
+ * https://github.com/swagger-api/swagger-codegen.git
1022
+ * Do not edit the class manually.
1023
+ */
1024
+
1025
+ /**
1026
+ *
1027
+ *
1028
+ *
1029
+ *
1030
+ *
1031
+ *
1032
+ * NOTE: This class is auto generated by the swagger code generator program.
1033
+ * https://github.com/swagger-api/swagger-codegen.git
1034
+ * Do not edit the class manually.
1035
+ */
1036
+
1037
+ class ApiModule {
1038
+ static forRoot(configurationFactory) {
1039
+ return {
1040
+ ngModule: ApiModule,
1041
+ providers: [{ provide: Configuration, useFactory: configurationFactory }]
1042
+ };
1043
+ }
1044
+ constructor(parentModule, http) {
1045
+ if (parentModule) {
1046
+ throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
1047
+ }
1048
+ if (!http) {
1049
+ throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
1050
+ 'See also https://github.com/angular/angular/issues/20575');
1051
+ }
1052
+ }
1053
+ }
1054
+ 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 });
1055
+ ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
1056
+ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
1057
+ BusinessGeoControllerService,
1058
+ CampaignControllerService,
1059
+ CountryControllerService,
1060
+ DpaCampaignControllerService,
1061
+ DpaEngagementControllerService,
1062
+ PackageDetailControllerService
1063
+ ] });
1064
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
1065
+ type: NgModule,
1066
+ args: [{
1067
+ imports: [],
1068
+ declarations: [],
1069
+ exports: [],
1070
+ providers: [
1071
+ BusinessGeoControllerService,
1072
+ CampaignControllerService,
1073
+ CountryControllerService,
1074
+ DpaCampaignControllerService,
1075
+ DpaEngagementControllerService,
1076
+ PackageDetailControllerService
1077
+ ]
1078
+ }]
1079
+ }], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
1080
+ type: Optional
1081
+ }, {
1082
+ type: SkipSelf
1083
+ }] }, { type: i1.HttpClient, decorators: [{
1084
+ type: Optional
1085
+ }] }]; } });
1086
+
1087
+ /**
1088
+ * Generated bundle index. Do not edit.
1089
+ */
1090
+
1091
+ export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, PackageDetailControllerService };
1092
+ //# sourceMappingURL=revxui-intellibid-client-ts.mjs.map