@revxui/intellibid-client-ts 1.0.0 → 1.0.2

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 (85) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +15 -13
  3. package/api/businessGeoController.service.d.ts +28 -28
  4. package/api/campaignController.service.d.ts +67 -56
  5. package/api/countryController.service.d.ts +28 -28
  6. package/api/dpaCampaignController.service.d.ts +52 -52
  7. package/api/dpaEngagementController.service.d.ts +126 -83
  8. package/api/facebookEngagementController.service.d.ts +77 -0
  9. package/api/packageDetailController.service.d.ts +45 -45
  10. package/api.module.d.ts +11 -11
  11. package/configuration.d.ts +48 -48
  12. package/encoder.d.ts +10 -10
  13. package/esm2020/api/api.mjs +16 -14
  14. package/esm2020/api/businessGeoController.service.mjs +77 -77
  15. package/esm2020/api/campaignController.service.mjs +179 -152
  16. package/esm2020/api/countryController.service.mjs +77 -77
  17. package/esm2020/api/dpaCampaignController.service.mjs +145 -145
  18. package/esm2020/api/dpaEngagementController.service.mjs +327 -224
  19. package/esm2020/api/facebookEngagementController.service.mjs +214 -0
  20. package/esm2020/api/packageDetailController.service.mjs +122 -122
  21. package/esm2020/api.module.mjs +63 -60
  22. package/esm2020/configuration.mjs +58 -58
  23. package/esm2020/encoder.mjs +16 -16
  24. package/esm2020/index.mjs +5 -5
  25. package/esm2020/model/adSetDetails.mjs +19 -19
  26. package/esm2020/model/audienceDetails.mjs +12 -12
  27. package/esm2020/model/businessGeoResponse.mjs +12 -12
  28. package/esm2020/model/campaignResponse.mjs +31 -31
  29. package/esm2020/model/countryResponse.mjs +12 -12
  30. package/esm2020/model/createCampaignRequest.mjs +12 -12
  31. package/esm2020/model/creativeDetails.mjs +1 -1
  32. package/esm2020/model/dpaCampaignRequest.mjs +1 -1
  33. package/esm2020/model/dpaCampaignResponse.mjs +11 -11
  34. package/esm2020/model/dpaEngagementRequest.mjs +1 -1
  35. package/esm2020/model/dpaEngagementResponse.mjs +32 -32
  36. package/esm2020/model/entitySearchResponse.mjs +13 -0
  37. package/esm2020/model/exclusionRule.mjs +12 -12
  38. package/esm2020/model/facebookDetails.mjs +2 -2
  39. package/esm2020/model/facebookEngagementRequest.mjs +13 -0
  40. package/esm2020/model/facebookEngagementResponse.mjs +21 -0
  41. package/esm2020/model/imageOverlaySpecDetails.mjs +12 -12
  42. package/esm2020/model/models.mjs +26 -21
  43. package/esm2020/model/packageDetailResponse.mjs +12 -12
  44. package/esm2020/model/pageCampaignResponse.mjs +1 -1
  45. package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
  46. package/esm2020/model/pageFacebookEngagementResponse.mjs +2 -0
  47. package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
  48. package/esm2020/model/pageableObject.mjs +2 -2
  49. package/esm2020/model/sortObject.mjs +12 -12
  50. package/esm2020/model/updateDailyBudgetRequest.mjs +13 -0
  51. package/esm2020/revxui-intellibid-client-ts.mjs +4 -4
  52. package/esm2020/variables.mjs +8 -8
  53. package/fesm2015/revxui-intellibid-client-ts.mjs +1334 -973
  54. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
  55. package/fesm2020/revxui-intellibid-client-ts.mjs +1434 -1039
  56. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
  57. package/index.d.ts +5 -5
  58. package/model/adSetDetails.d.ts +28 -28
  59. package/model/audienceDetails.d.ts +22 -22
  60. package/model/businessGeoResponse.d.ts +15 -15
  61. package/model/campaignResponse.d.ts +117 -117
  62. package/model/countryResponse.d.ts +16 -16
  63. package/model/createCampaignRequest.d.ts +16 -16
  64. package/model/creativeDetails.d.ts +21 -21
  65. package/model/dpaCampaignRequest.d.ts +17 -17
  66. package/model/dpaCampaignResponse.d.ts +35 -35
  67. package/model/dpaEngagementRequest.d.ts +29 -29
  68. package/model/dpaEngagementResponse.d.ts +90 -90
  69. package/model/entitySearchResponse.d.ts +15 -0
  70. package/model/exclusionRule.d.ts +15 -15
  71. package/model/facebookDetails.d.ts +27 -27
  72. package/model/facebookEngagementRequest.d.ts +24 -0
  73. package/model/facebookEngagementResponse.d.ts +39 -0
  74. package/model/imageOverlaySpecDetails.d.ts +20 -20
  75. package/model/models.d.ts +25 -20
  76. package/model/packageDetailResponse.d.ts +16 -16
  77. package/model/pageCampaignResponse.d.ts +27 -27
  78. package/model/pageDpaEngagementResponse.d.ts +27 -27
  79. package/model/pageFacebookEngagementResponse.d.ts +27 -0
  80. package/model/pagePackageDetailResponse.d.ts +27 -27
  81. package/model/pageableObject.d.ts +20 -20
  82. package/model/sortObject.d.ts +18 -18
  83. package/model/updateDailyBudgetRequest.d.ts +14 -0
  84. package/package.json +1 -1
  85. package/variables.d.ts +8 -8
@@ -3,1090 +3,1485 @@ import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from
3
3
  import * as i1 from '@angular/common/http';
4
4
  import { HttpHeaders, HttpUrlEncodingCodec, HttpParams } from '@angular/common/http';
5
5
 
6
- const BASE_PATH = new InjectionToken('basePath');
7
- const COLLECTION_FORMATS = {
8
- 'csv': ',',
9
- 'tsv': ' ',
10
- 'ssv': ' ',
11
- 'pipes': '|'
6
+ const BASE_PATH = new InjectionToken('basePath');
7
+ const COLLECTION_FORMATS = {
8
+ 'csv': ',',
9
+ 'tsv': ' ',
10
+ 'ssv': ' ',
11
+ 'pipes': '|'
12
12
  };
13
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
- }
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
71
  }
72
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
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
142
  }] }]; } });
143
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
- }
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
158
  }
159
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
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
+ searchCampaigns(q, observe = 'body', reportProgress = false) {
291
+ if (q === null || q === undefined) {
292
+ throw new Error('Required parameter q was null or undefined when calling searchCampaigns.');
293
+ }
294
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
295
+ if (q !== undefined && q !== null) {
296
+ queryParameters = queryParameters.set('q', q);
297
+ }
298
+ let headers = this.defaultHeaders;
299
+ // to determine the Accept header
300
+ let httpHeaderAccepts = [
301
+ '*/*'
302
+ ];
303
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
304
+ if (httpHeaderAcceptSelected != undefined) {
305
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
306
+ }
307
+ // to determine the Content-Type header
308
+ const consumes = [];
309
+ return this.httpClient.request('get', `${this.basePath}/campaign/search`, {
310
+ params: queryParameters,
311
+ withCredentials: this.configuration.withCredentials,
312
+ headers: headers,
313
+ observe: observe,
314
+ reportProgress: reportProgress
315
+ });
316
+ }
317
+ }
318
+ 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 });
319
+ CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
321
+ type: Injectable
322
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
323
+ type: Optional
324
+ }, {
325
+ type: Inject,
326
+ args: [BASE_PATH]
327
+ }] }, { type: Configuration, decorators: [{
328
+ type: Optional
302
329
  }] }]; } });
303
330
 
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
331
+ /**
332
+ *
333
+ *
334
+ *
335
+ *
336
+ *
337
+ *
338
+ * NOTE: This class is auto generated by the swagger code generator program.
339
+ * https://github.com/swagger-api/swagger-codegen.git
340
+ * Do not edit the class manually.
341
+ */ /* tslint:disable:no-unused-variable member-ordering */
342
+ class CountryControllerService {
343
+ constructor(httpClient, basePath, configuration) {
344
+ this.httpClient = httpClient;
345
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
346
+ this.defaultHeaders = new HttpHeaders();
347
+ this.configuration = new Configuration();
348
+ if (basePath) {
349
+ this.basePath = basePath;
350
+ }
351
+ if (configuration) {
352
+ this.configuration = configuration;
353
+ this.basePath = basePath || configuration.basePath || this.basePath;
354
+ }
355
+ }
356
+ /**
357
+ * @param consumes string[] mime-types
358
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
359
+ */
360
+ canConsumeForm(consumes) {
361
+ const form = 'multipart/form-data';
362
+ for (const consume of consumes) {
363
+ if (form === consume) {
364
+ return true;
365
+ }
366
+ }
367
+ return false;
368
+ }
369
+ getAllCountries(observe = 'body', reportProgress = false) {
370
+ let headers = this.defaultHeaders;
371
+ // to determine the Accept header
372
+ let httpHeaderAccepts = [
373
+ '*/*'
374
+ ];
375
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
376
+ if (httpHeaderAcceptSelected != undefined) {
377
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
378
+ }
379
+ // to determine the Content-Type header
380
+ const consumes = [];
381
+ return this.httpClient.request('get', `${this.basePath}/country`, {
382
+ withCredentials: this.configuration.withCredentials,
383
+ headers: headers,
384
+ observe: observe,
385
+ reportProgress: reportProgress
386
+ });
387
+ }
388
+ }
389
+ 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 });
390
+ CountryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService });
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CountryControllerService, decorators: [{
392
+ type: Injectable
393
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
394
+ type: Optional
395
+ }, {
396
+ type: Inject,
397
+ args: [BASE_PATH]
398
+ }] }, { type: Configuration, decorators: [{
399
+ type: Optional
373
400
  }] }]; } });
374
401
 
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
402
+ /**
403
+ *
404
+ *
405
+ *
406
+ *
407
+ *
408
+ *
409
+ * NOTE: This class is auto generated by the swagger code generator program.
410
+ * https://github.com/swagger-api/swagger-codegen.git
411
+ * Do not edit the class manually.
412
+ */ /* tslint:disable:no-unused-variable member-ordering */
413
+ class DpaCampaignControllerService {
414
+ constructor(httpClient, basePath, configuration) {
415
+ this.httpClient = httpClient;
416
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
417
+ this.defaultHeaders = new HttpHeaders();
418
+ this.configuration = new Configuration();
419
+ if (basePath) {
420
+ this.basePath = basePath;
421
+ }
422
+ if (configuration) {
423
+ this.configuration = configuration;
424
+ this.basePath = basePath || configuration.basePath || this.basePath;
425
+ }
426
+ }
427
+ /**
428
+ * @param consumes string[] mime-types
429
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
430
+ */
431
+ canConsumeForm(consumes) {
432
+ const form = 'multipart/form-data';
433
+ for (const consume of consumes) {
434
+ if (form === consume) {
435
+ return true;
436
+ }
437
+ }
438
+ return false;
439
+ }
440
+ createOrUpdateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
441
+ if (body === null || body === undefined) {
442
+ throw new Error('Required parameter body was null or undefined when calling createOrUpdateDpaCampaign.');
443
+ }
444
+ if (id === null || id === undefined) {
445
+ throw new Error('Required parameter id was null or undefined when calling createOrUpdateDpaCampaign.');
446
+ }
447
+ let headers = this.defaultHeaders;
448
+ // to determine the Accept header
449
+ let httpHeaderAccepts = [
450
+ '*/*'
451
+ ];
452
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
453
+ if (httpHeaderAcceptSelected != undefined) {
454
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
455
+ }
456
+ // to determine the Content-Type header
457
+ const consumes = [
458
+ 'application/json'
459
+ ];
460
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
461
+ if (httpContentTypeSelected != undefined) {
462
+ headers = headers.set('Content-Type', httpContentTypeSelected);
463
+ }
464
+ return this.httpClient.request('post', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
465
+ body: body,
466
+ withCredentials: this.configuration.withCredentials,
467
+ headers: headers,
468
+ observe: observe,
469
+ reportProgress: reportProgress
470
+ });
471
+ }
472
+ getDpaCampaign(id, observe = 'body', reportProgress = false) {
473
+ if (id === null || id === undefined) {
474
+ throw new Error('Required parameter id was null or undefined when calling getDpaCampaign.');
475
+ }
476
+ let headers = this.defaultHeaders;
477
+ // to determine the Accept header
478
+ let httpHeaderAccepts = [
479
+ '*/*'
480
+ ];
481
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
482
+ if (httpHeaderAcceptSelected != undefined) {
483
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
484
+ }
485
+ // to determine the Content-Type header
486
+ const consumes = [];
487
+ return this.httpClient.request('get', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
488
+ withCredentials: this.configuration.withCredentials,
489
+ headers: headers,
490
+ observe: observe,
491
+ reportProgress: reportProgress
492
+ });
493
+ }
494
+ updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
495
+ if (body === null || body === undefined) {
496
+ throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
497
+ }
498
+ if (id === null || id === undefined) {
499
+ throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
500
+ }
501
+ let headers = this.defaultHeaders;
502
+ // to determine the Accept header
503
+ let httpHeaderAccepts = [
504
+ '*/*'
505
+ ];
506
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
507
+ if (httpHeaderAcceptSelected != undefined) {
508
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
509
+ }
510
+ // to determine the Content-Type header
511
+ const consumes = [
512
+ 'application/json'
513
+ ];
514
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
515
+ if (httpContentTypeSelected != undefined) {
516
+ headers = headers.set('Content-Type', httpContentTypeSelected);
517
+ }
518
+ return this.httpClient.request('put', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
519
+ body: body,
520
+ withCredentials: this.configuration.withCredentials,
521
+ headers: headers,
522
+ observe: observe,
523
+ reportProgress: reportProgress
524
+ });
525
+ }
526
+ }
527
+ 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 });
528
+ DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
529
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
530
+ type: Injectable
531
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
532
+ type: Optional
533
+ }, {
534
+ type: Inject,
535
+ args: [BASE_PATH]
536
+ }] }, { type: Configuration, decorators: [{
537
+ type: Optional
511
538
  }] }]; } });
512
539
 
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
540
+ /**
541
+ *
542
+ *
543
+ *
544
+ *
545
+ *
546
+ *
547
+ * NOTE: This class is auto generated by the swagger code generator program.
548
+ * https://github.com/swagger-api/swagger-codegen.git
549
+ * Do not edit the class manually.
550
+ */ /* tslint:disable:no-unused-variable member-ordering */
551
+ class DpaEngagementControllerService {
552
+ constructor(httpClient, basePath, configuration) {
553
+ this.httpClient = httpClient;
554
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
555
+ this.defaultHeaders = new HttpHeaders();
556
+ this.configuration = new Configuration();
557
+ if (basePath) {
558
+ this.basePath = basePath;
559
+ }
560
+ if (configuration) {
561
+ this.configuration = configuration;
562
+ this.basePath = basePath || configuration.basePath || this.basePath;
563
+ }
564
+ }
565
+ /**
566
+ * @param consumes string[] mime-types
567
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
568
+ */
569
+ canConsumeForm(consumes) {
570
+ const form = 'multipart/form-data';
571
+ for (const consume of consumes) {
572
+ if (form === consume) {
573
+ return true;
574
+ }
575
+ }
576
+ return false;
577
+ }
578
+ activateDpaEngagement(id, observe = 'body', reportProgress = false) {
579
+ if (id === null || id === undefined) {
580
+ throw new Error('Required parameter id was null or undefined when calling activateDpaEngagement.');
581
+ }
582
+ let headers = this.defaultHeaders;
583
+ // to determine the Accept header
584
+ let httpHeaderAccepts = [
585
+ '*/*'
586
+ ];
587
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
588
+ if (httpHeaderAcceptSelected != undefined) {
589
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
590
+ }
591
+ // to determine the Content-Type header
592
+ const consumes = [];
593
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
594
+ withCredentials: this.configuration.withCredentials,
595
+ headers: headers,
596
+ observe: observe,
597
+ reportProgress: reportProgress
598
+ });
599
+ }
600
+ createDpaEngagement(body, observe = 'body', reportProgress = false) {
601
+ if (body === null || body === undefined) {
602
+ throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
603
+ }
604
+ let headers = this.defaultHeaders;
605
+ // to determine the Accept header
606
+ let httpHeaderAccepts = [
607
+ '*/*'
608
+ ];
609
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
610
+ if (httpHeaderAcceptSelected != undefined) {
611
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
612
+ }
613
+ // to determine the Content-Type header
614
+ const consumes = [
615
+ 'application/json'
616
+ ];
617
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
618
+ if (httpContentTypeSelected != undefined) {
619
+ headers = headers.set('Content-Type', httpContentTypeSelected);
620
+ }
621
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement`, {
622
+ body: body,
623
+ withCredentials: this.configuration.withCredentials,
624
+ headers: headers,
625
+ observe: observe,
626
+ reportProgress: reportProgress
627
+ });
628
+ }
629
+ getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, page, size, sort, observe = 'body', reportProgress = false) {
630
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
631
+ if (id !== undefined && id !== null) {
632
+ queryParameters = queryParameters.set('id', id);
633
+ }
634
+ if (campaignId !== undefined && campaignId !== null) {
635
+ queryParameters = queryParameters.set('campaignId', campaignId);
636
+ }
637
+ if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
638
+ queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
639
+ }
640
+ if (name !== undefined && name !== null) {
641
+ queryParameters = queryParameters.set('name', name);
642
+ }
643
+ if (payoutType !== undefined && payoutType !== null) {
644
+ queryParameters = queryParameters.set('payoutType', payoutType);
645
+ }
646
+ if (status !== undefined && status !== null) {
647
+ queryParameters = queryParameters.set('status', status);
648
+ }
649
+ if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
650
+ queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
651
+ }
652
+ if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
653
+ queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
654
+ }
655
+ if (campaignStatus !== undefined && campaignStatus !== null) {
656
+ queryParameters = queryParameters.set('campaignStatus', campaignStatus);
657
+ }
658
+ if (page !== undefined && page !== null) {
659
+ queryParameters = queryParameters.set('page', page);
660
+ }
661
+ if (size !== undefined && size !== null) {
662
+ queryParameters = queryParameters.set('size', size);
663
+ }
664
+ if (sort) {
665
+ sort.forEach((element) => {
666
+ queryParameters = queryParameters.append('sort', element);
667
+ });
668
+ }
669
+ let headers = this.defaultHeaders;
670
+ // to determine the Accept header
671
+ let httpHeaderAccepts = [
672
+ '*/*'
673
+ ];
674
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
675
+ if (httpHeaderAcceptSelected != undefined) {
676
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
677
+ }
678
+ // to determine the Content-Type header
679
+ const consumes = [];
680
+ return this.httpClient.request('get', `${this.basePath}/dpa-engagement`, {
681
+ params: queryParameters,
682
+ withCredentials: this.configuration.withCredentials,
683
+ headers: headers,
684
+ observe: observe,
685
+ reportProgress: reportProgress
686
+ });
687
+ }
688
+ getDpaEngagement(id, observe = 'body', reportProgress = false) {
689
+ if (id === null || id === undefined) {
690
+ throw new Error('Required parameter id was null or undefined when calling getDpaEngagement.');
691
+ }
692
+ let headers = this.defaultHeaders;
693
+ // to determine the Accept header
694
+ let httpHeaderAccepts = [
695
+ '*/*'
696
+ ];
697
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
698
+ if (httpHeaderAcceptSelected != undefined) {
699
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
700
+ }
701
+ // to determine the Content-Type header
702
+ const consumes = [];
703
+ return this.httpClient.request('get', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
704
+ withCredentials: this.configuration.withCredentials,
705
+ headers: headers,
706
+ observe: observe,
707
+ reportProgress: reportProgress
708
+ });
709
+ }
710
+ pauseDpaEngagement(id, observe = 'body', reportProgress = false) {
711
+ if (id === null || id === undefined) {
712
+ throw new Error('Required parameter id was null or undefined when calling pauseDpaEngagement.');
713
+ }
714
+ let headers = this.defaultHeaders;
715
+ // to determine the Accept header
716
+ let httpHeaderAccepts = [
717
+ '*/*'
718
+ ];
719
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
720
+ if (httpHeaderAcceptSelected != undefined) {
721
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
722
+ }
723
+ // to determine the Content-Type header
724
+ const consumes = [];
725
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
726
+ withCredentials: this.configuration.withCredentials,
727
+ headers: headers,
728
+ observe: observe,
729
+ reportProgress: reportProgress
730
+ });
731
+ }
732
+ publishDpaEngagement(id, observe = 'body', reportProgress = false) {
733
+ if (id === null || id === undefined) {
734
+ throw new Error('Required parameter id was null or undefined when calling publishDpaEngagement.');
735
+ }
736
+ let headers = this.defaultHeaders;
737
+ // to determine the Accept header
738
+ let httpHeaderAccepts = [
739
+ '*/*'
740
+ ];
741
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
742
+ if (httpHeaderAcceptSelected != undefined) {
743
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
744
+ }
745
+ // to determine the Content-Type header
746
+ const consumes = [];
747
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
748
+ withCredentials: this.configuration.withCredentials,
749
+ headers: headers,
750
+ observe: observe,
751
+ reportProgress: reportProgress
752
+ });
753
+ }
754
+ searchDpaEngagements(q, observe = 'body', reportProgress = false) {
755
+ if (q === null || q === undefined) {
756
+ throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
757
+ }
758
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
759
+ if (q !== undefined && q !== null) {
760
+ queryParameters = queryParameters.set('q', q);
761
+ }
762
+ let headers = this.defaultHeaders;
763
+ // to determine the Accept header
764
+ let httpHeaderAccepts = [
765
+ '*/*'
766
+ ];
767
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
768
+ if (httpHeaderAcceptSelected != undefined) {
769
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
770
+ }
771
+ // to determine the Content-Type header
772
+ const consumes = [];
773
+ return this.httpClient.request('get', `${this.basePath}/dpa-engagement/search`, {
774
+ params: queryParameters,
775
+ withCredentials: this.configuration.withCredentials,
776
+ headers: headers,
777
+ observe: observe,
778
+ reportProgress: reportProgress
779
+ });
780
+ }
781
+ updateDailyBudget(body, id, observe = 'body', reportProgress = false) {
782
+ if (body === null || body === undefined) {
783
+ throw new Error('Required parameter body was null or undefined when calling updateDailyBudget.');
784
+ }
785
+ if (id === null || id === undefined) {
786
+ throw new Error('Required parameter id was null or undefined when calling updateDailyBudget.');
787
+ }
788
+ let headers = this.defaultHeaders;
789
+ // to determine the Accept header
790
+ let httpHeaderAccepts = [
791
+ '*/*'
792
+ ];
793
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
794
+ if (httpHeaderAcceptSelected != undefined) {
795
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
796
+ }
797
+ // to determine the Content-Type header
798
+ const consumes = [
799
+ 'application/json'
800
+ ];
801
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
802
+ if (httpContentTypeSelected != undefined) {
803
+ headers = headers.set('Content-Type', httpContentTypeSelected);
804
+ }
805
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
806
+ body: body,
807
+ withCredentials: this.configuration.withCredentials,
808
+ headers: headers,
809
+ observe: observe,
810
+ reportProgress: reportProgress
811
+ });
812
+ }
813
+ updateDpaEngagement(body, id, observe = 'body', reportProgress = false) {
814
+ if (body === null || body === undefined) {
815
+ throw new Error('Required parameter body was null or undefined when calling updateDpaEngagement.');
816
+ }
817
+ if (id === null || id === undefined) {
818
+ throw new Error('Required parameter id was null or undefined when calling updateDpaEngagement.');
819
+ }
820
+ let headers = this.defaultHeaders;
821
+ // to determine the Accept header
822
+ let httpHeaderAccepts = [
823
+ '*/*'
824
+ ];
825
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
826
+ if (httpHeaderAcceptSelected != undefined) {
827
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
828
+ }
829
+ // to determine the Content-Type header
830
+ const consumes = [
831
+ 'application/json'
832
+ ];
833
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
834
+ if (httpContentTypeSelected != undefined) {
835
+ headers = headers.set('Content-Type', httpContentTypeSelected);
836
+ }
837
+ return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
838
+ body: body,
839
+ withCredentials: this.configuration.withCredentials,
840
+ headers: headers,
841
+ observe: observe,
842
+ reportProgress: reportProgress
843
+ });
844
+ }
845
+ }
846
+ 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 });
847
+ DpaEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService });
848
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaEngagementControllerService, decorators: [{
849
+ type: Injectable
850
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
851
+ type: Optional
852
+ }, {
853
+ type: Inject,
854
+ args: [BASE_PATH]
855
+ }] }, { type: Configuration, decorators: [{
856
+ type: Optional
727
857
  }] }]; } });
728
858
 
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
859
+ /**
860
+ *
861
+ *
862
+ *
863
+ *
864
+ *
865
+ *
866
+ * NOTE: This class is auto generated by the swagger code generator program.
867
+ * https://github.com/swagger-api/swagger-codegen.git
868
+ * Do not edit the class manually.
869
+ */ /* tslint:disable:no-unused-variable member-ordering */
870
+ class FacebookEngagementControllerService {
871
+ constructor(httpClient, basePath, configuration) {
872
+ this.httpClient = httpClient;
873
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
874
+ this.defaultHeaders = new HttpHeaders();
875
+ this.configuration = new Configuration();
876
+ if (basePath) {
877
+ this.basePath = basePath;
878
+ }
879
+ if (configuration) {
880
+ this.configuration = configuration;
881
+ this.basePath = basePath || configuration.basePath || this.basePath;
882
+ }
883
+ }
884
+ /**
885
+ * @param consumes string[] mime-types
886
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
887
+ */
888
+ canConsumeForm(consumes) {
889
+ const form = 'multipart/form-data';
890
+ for (const consume of consumes) {
891
+ if (form === consume) {
892
+ return true;
893
+ }
894
+ }
895
+ return false;
896
+ }
897
+ createFacebookEngagement(body, observe = 'body', reportProgress = false) {
898
+ if (body === null || body === undefined) {
899
+ throw new Error('Required parameter body was null or undefined when calling createFacebookEngagement.');
900
+ }
901
+ let headers = this.defaultHeaders;
902
+ // to determine the Accept header
903
+ let httpHeaderAccepts = [
904
+ '*/*'
905
+ ];
906
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
907
+ if (httpHeaderAcceptSelected != undefined) {
908
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
909
+ }
910
+ // to determine the Content-Type header
911
+ const consumes = [
912
+ 'application/json'
913
+ ];
914
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
915
+ if (httpContentTypeSelected != undefined) {
916
+ headers = headers.set('Content-Type', httpContentTypeSelected);
917
+ }
918
+ return this.httpClient.request('post', `${this.basePath}/facebook-engagement`, {
919
+ body: body,
920
+ withCredentials: this.configuration.withCredentials,
921
+ headers: headers,
922
+ observe: observe,
923
+ reportProgress: reportProgress
924
+ });
925
+ }
926
+ getAllFacebookEngagements(id, campaignId, facebookAccountId, facebookFanPageId, facebookCatalogId, facebookCatalogType, instagramActorId, facebookPixelId, facebookAppId, facebookProductSetId, tosAccepted, eventSourceGroupId, audienceDsdo, page, size, sort, observe = 'body', reportProgress = false) {
927
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
928
+ if (id !== undefined && id !== null) {
929
+ queryParameters = queryParameters.set('id', id);
930
+ }
931
+ if (campaignId !== undefined && campaignId !== null) {
932
+ queryParameters = queryParameters.set('campaignId', campaignId);
933
+ }
934
+ if (facebookAccountId !== undefined && facebookAccountId !== null) {
935
+ queryParameters = queryParameters.set('facebookAccountId', facebookAccountId);
936
+ }
937
+ if (facebookFanPageId !== undefined && facebookFanPageId !== null) {
938
+ queryParameters = queryParameters.set('facebookFanPageId', facebookFanPageId);
939
+ }
940
+ if (facebookCatalogId !== undefined && facebookCatalogId !== null) {
941
+ queryParameters = queryParameters.set('facebookCatalogId', facebookCatalogId);
942
+ }
943
+ if (facebookCatalogType !== undefined && facebookCatalogType !== null) {
944
+ queryParameters = queryParameters.set('facebookCatalogType', facebookCatalogType);
945
+ }
946
+ if (instagramActorId !== undefined && instagramActorId !== null) {
947
+ queryParameters = queryParameters.set('instagramActorId', instagramActorId);
948
+ }
949
+ if (facebookPixelId !== undefined && facebookPixelId !== null) {
950
+ queryParameters = queryParameters.set('facebookPixelId', facebookPixelId);
951
+ }
952
+ if (facebookAppId !== undefined && facebookAppId !== null) {
953
+ queryParameters = queryParameters.set('facebookAppId', facebookAppId);
954
+ }
955
+ if (facebookProductSetId !== undefined && facebookProductSetId !== null) {
956
+ queryParameters = queryParameters.set('facebookProductSetId', facebookProductSetId);
957
+ }
958
+ if (tosAccepted !== undefined && tosAccepted !== null) {
959
+ queryParameters = queryParameters.set('tosAccepted', tosAccepted);
960
+ }
961
+ if (eventSourceGroupId !== undefined && eventSourceGroupId !== null) {
962
+ queryParameters = queryParameters.set('eventSourceGroupId', eventSourceGroupId);
963
+ }
964
+ if (audienceDsdo !== undefined && audienceDsdo !== null) {
965
+ queryParameters = queryParameters.set('audienceDsdo', audienceDsdo);
966
+ }
967
+ if (page !== undefined && page !== null) {
968
+ queryParameters = queryParameters.set('page', page);
969
+ }
970
+ if (size !== undefined && size !== null) {
971
+ queryParameters = queryParameters.set('size', size);
972
+ }
973
+ if (sort) {
974
+ sort.forEach((element) => {
975
+ queryParameters = queryParameters.append('sort', element);
976
+ });
977
+ }
978
+ let headers = this.defaultHeaders;
979
+ // to determine the Accept header
980
+ let httpHeaderAccepts = [
981
+ '*/*'
982
+ ];
983
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
984
+ if (httpHeaderAcceptSelected != undefined) {
985
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
986
+ }
987
+ // to determine the Content-Type header
988
+ const consumes = [];
989
+ return this.httpClient.request('get', `${this.basePath}/facebook-engagement`, {
990
+ params: queryParameters,
991
+ withCredentials: this.configuration.withCredentials,
992
+ headers: headers,
993
+ observe: observe,
994
+ reportProgress: reportProgress
995
+ });
996
+ }
997
+ getFacebookEngagement(id, observe = 'body', reportProgress = false) {
998
+ if (id === null || id === undefined) {
999
+ throw new Error('Required parameter id was null or undefined when calling getFacebookEngagement.');
1000
+ }
1001
+ let headers = this.defaultHeaders;
1002
+ // to determine the Accept header
1003
+ let httpHeaderAccepts = [
1004
+ '*/*'
1005
+ ];
1006
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1007
+ if (httpHeaderAcceptSelected != undefined) {
1008
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1009
+ }
1010
+ // to determine the Content-Type header
1011
+ const consumes = [];
1012
+ return this.httpClient.request('get', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
1013
+ withCredentials: this.configuration.withCredentials,
1014
+ headers: headers,
1015
+ observe: observe,
1016
+ reportProgress: reportProgress
1017
+ });
1018
+ }
1019
+ updateFacebookEngagement(body, id, observe = 'body', reportProgress = false) {
1020
+ if (body === null || body === undefined) {
1021
+ throw new Error('Required parameter body was null or undefined when calling updateFacebookEngagement.');
1022
+ }
1023
+ if (id === null || id === undefined) {
1024
+ throw new Error('Required parameter id was null or undefined when calling updateFacebookEngagement.');
1025
+ }
1026
+ let headers = this.defaultHeaders;
1027
+ // to determine the Accept header
1028
+ let httpHeaderAccepts = [
1029
+ '*/*'
1030
+ ];
1031
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1032
+ if (httpHeaderAcceptSelected != undefined) {
1033
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1034
+ }
1035
+ // to determine the Content-Type header
1036
+ const consumes = [
1037
+ 'application/json'
1038
+ ];
1039
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1040
+ if (httpContentTypeSelected != undefined) {
1041
+ headers = headers.set('Content-Type', httpContentTypeSelected);
1042
+ }
1043
+ return this.httpClient.request('post', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
1044
+ body: body,
1045
+ withCredentials: this.configuration.withCredentials,
1046
+ headers: headers,
1047
+ observe: observe,
1048
+ reportProgress: reportProgress
1049
+ });
1050
+ }
1051
+ }
1052
+ 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 });
1053
+ FacebookEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService });
1054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, decorators: [{
1055
+ type: Injectable
1056
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1057
+ type: Optional
1058
+ }, {
1059
+ type: Inject,
1060
+ args: [BASE_PATH]
1061
+ }] }, { type: Configuration, decorators: [{
1062
+ type: Optional
1063
+ }] }]; } });
1064
+
1065
+ /**
1066
+ *
1067
+ *
1068
+ *
1069
+ *
1070
+ *
1071
+ *
1072
+ * NOTE: This class is auto generated by the swagger code generator program.
1073
+ * https://github.com/swagger-api/swagger-codegen.git
1074
+ * Do not edit the class manually.
1075
+ */ /* tslint:disable:no-unused-variable member-ordering */
1076
+ class PackageDetailControllerService {
1077
+ constructor(httpClient, basePath, configuration) {
1078
+ this.httpClient = httpClient;
1079
+ this.basePath = 'http://intellibid-api.atomex.net:8081/api';
1080
+ this.defaultHeaders = new HttpHeaders();
1081
+ this.configuration = new Configuration();
1082
+ if (basePath) {
1083
+ this.basePath = basePath;
1084
+ }
1085
+ if (configuration) {
1086
+ this.configuration = configuration;
1087
+ this.basePath = basePath || configuration.basePath || this.basePath;
1088
+ }
1089
+ }
1090
+ /**
1091
+ * @param consumes string[] mime-types
1092
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1093
+ */
1094
+ canConsumeForm(consumes) {
1095
+ const form = 'multipart/form-data';
1096
+ for (const consume of consumes) {
1097
+ if (form === consume) {
1098
+ return true;
1099
+ }
1100
+ }
1101
+ return false;
1102
+ }
1103
+ getAllPackageDetails(id, name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
1104
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1105
+ if (id !== undefined && id !== null) {
1106
+ queryParameters = queryParameters.set('id', id);
1107
+ }
1108
+ if (name !== undefined && name !== null) {
1109
+ queryParameters = queryParameters.set('name', name);
1110
+ }
1111
+ if (isActive !== undefined && isActive !== null) {
1112
+ queryParameters = queryParameters.set('isActive', isActive);
1113
+ }
1114
+ if (page !== undefined && page !== null) {
1115
+ queryParameters = queryParameters.set('page', page);
1116
+ }
1117
+ if (size !== undefined && size !== null) {
1118
+ queryParameters = queryParameters.set('size', size);
1119
+ }
1120
+ if (sort) {
1121
+ sort.forEach((element) => {
1122
+ queryParameters = queryParameters.append('sort', element);
1123
+ });
1124
+ }
1125
+ let headers = this.defaultHeaders;
1126
+ // to determine the Accept header
1127
+ let httpHeaderAccepts = [
1128
+ '*/*'
1129
+ ];
1130
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1131
+ if (httpHeaderAcceptSelected != undefined) {
1132
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1133
+ }
1134
+ // to determine the Content-Type header
1135
+ const consumes = [];
1136
+ return this.httpClient.request('get', `${this.basePath}/package`, {
1137
+ params: queryParameters,
1138
+ withCredentials: this.configuration.withCredentials,
1139
+ headers: headers,
1140
+ observe: observe,
1141
+ reportProgress: reportProgress
1142
+ });
1143
+ }
1144
+ getPackageDetail(id, observe = 'body', reportProgress = false) {
1145
+ if (id === null || id === undefined) {
1146
+ throw new Error('Required parameter id was null or undefined when calling getPackageDetail.');
1147
+ }
1148
+ let headers = this.defaultHeaders;
1149
+ // to determine the Accept header
1150
+ let httpHeaderAccepts = [
1151
+ '*/*'
1152
+ ];
1153
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1154
+ if (httpHeaderAcceptSelected != undefined) {
1155
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1156
+ }
1157
+ // to determine the Content-Type header
1158
+ const consumes = [];
1159
+ return this.httpClient.request('get', `${this.basePath}/package/${encodeURIComponent(String(id))}`, {
1160
+ withCredentials: this.configuration.withCredentials,
1161
+ headers: headers,
1162
+ observe: observe,
1163
+ reportProgress: reportProgress
1164
+ });
1165
+ }
1166
+ }
1167
+ 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 });
1168
+ PackageDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService });
1169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, decorators: [{
1170
+ type: Injectable
1171
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1172
+ type: Optional
1173
+ }, {
1174
+ type: Inject,
1175
+ args: [BASE_PATH]
1176
+ }] }, { type: Configuration, decorators: [{
1177
+ type: Optional
842
1178
  }] }]; } });
843
1179
 
844
- const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, PackageDetailControllerService];
1180
+ const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookEngagementControllerService, PackageDetailControllerService];
845
1181
 
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
- };
1182
+ /**
1183
+ *
1184
+ *
1185
+ *
1186
+ *
1187
+ *
1188
+ *
1189
+ * NOTE: This class is auto generated by the swagger code generator program.
1190
+ * https://github.com/swagger-api/swagger-codegen.git
1191
+ * Do not edit the class manually.
1192
+ */
1193
+ var AdSetDetails;
1194
+ (function (AdSetDetails) {
1195
+ AdSetDetails.TypeEnum = {
1196
+ IB: 'IB',
1197
+ Engage: 'Engage',
1198
+ Default: 'Default'
1199
+ };
864
1200
  })(AdSetDetails || (AdSetDetails = {}));
865
1201
 
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.
1202
+ /**
1203
+ *
1204
+ *
1205
+ *
1206
+ *
1207
+ *
1208
+ *
1209
+ * NOTE: This class is auto generated by the swagger code generator program.
1210
+ * https://github.com/swagger-api/swagger-codegen.git
1211
+ * Do not edit the class manually.
876
1212
  */
877
1213
 
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.
1214
+ /**
1215
+ *
1216
+ *
1217
+ *
1218
+ *
1219
+ *
1220
+ *
1221
+ * NOTE: This class is auto generated by the swagger code generator program.
1222
+ * https://github.com/swagger-api/swagger-codegen.git
1223
+ * Do not edit the class manually.
888
1224
  */
889
1225
 
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
- };
1226
+ /**
1227
+ *
1228
+ *
1229
+ *
1230
+ *
1231
+ *
1232
+ *
1233
+ * NOTE: This class is auto generated by the swagger code generator program.
1234
+ * https://github.com/swagger-api/swagger-codegen.git
1235
+ * Do not edit the class manually.
1236
+ */
1237
+ var CampaignResponse;
1238
+ (function (CampaignResponse) {
1239
+ CampaignResponse.StatusEnum = {
1240
+ INACTIVE: 'INACTIVE',
1241
+ PAUSED: 'PAUSED',
1242
+ ACTIVE: 'ACTIVE',
1243
+ SOFTPAUSE: 'SOFTPAUSE'
1244
+ };
1245
+ CampaignResponse.SegDbTypeEnum = {
1246
+ SEGMENTATION: 'SEGMENTATION',
1247
+ COUNT: 'COUNT'
1248
+ };
1249
+ CampaignResponse.CampaignTypeEnum = {
1250
+ BRANDING: 'BRANDING',
1251
+ UA: 'UA',
1252
+ RETARGETING: 'RETARGETING',
1253
+ DSP: 'DSP',
1254
+ DMP: 'DMP'
1255
+ };
920
1256
  })(CampaignResponse || (CampaignResponse = {}));
921
1257
 
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.
1258
+ /**
1259
+ *
1260
+ *
1261
+ *
1262
+ *
1263
+ *
1264
+ *
1265
+ * NOTE: This class is auto generated by the swagger code generator program.
1266
+ * https://github.com/swagger-api/swagger-codegen.git
1267
+ * Do not edit the class manually.
932
1268
  */
933
1269
 
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.
1270
+ /**
1271
+ *
1272
+ *
1273
+ *
1274
+ *
1275
+ *
1276
+ *
1277
+ * NOTE: This class is auto generated by the swagger code generator program.
1278
+ * https://github.com/swagger-api/swagger-codegen.git
1279
+ * Do not edit the class manually.
944
1280
  */
945
1281
 
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
- };
1282
+ var DpaCampaignResponse;
1283
+ (function (DpaCampaignResponse) {
1284
+ DpaCampaignResponse.StatusEnum = {
1285
+ DRAFT: 'DRAFT',
1286
+ INITIALIZED: 'INITIALIZED',
1287
+ RUNNING: 'RUNNING',
1288
+ UPDATING: 'UPDATING',
1289
+ PAUSED: 'PAUSED'
1290
+ };
955
1291
  })(DpaCampaignResponse || (DpaCampaignResponse = {}));
956
1292
 
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
- };
1293
+ var DpaEngagementResponse;
1294
+ (function (DpaEngagementResponse) {
1295
+ DpaEngagementResponse.RunByEnum = {
1296
+ CLIENT: 'CLIENT',
1297
+ VIZURY: 'VIZURY'
1298
+ };
1299
+ DpaEngagementResponse.PayoutTypeEnum = {
1300
+ CPM: 'CPM',
1301
+ CPC: 'CPC',
1302
+ CPA: 'CPA',
1303
+ CPS: 'CPS',
1304
+ CPAClientAttributed: 'CPA - Client Attributed',
1305
+ CPSClientAttributed: 'CPS - Client Attributed',
1306
+ MARGIN: 'MARGIN'
1307
+ };
1308
+ DpaEngagementResponse.StatusEnum = {
1309
+ DRAFT: 'DRAFT',
1310
+ INITIALIZED: 'INITIALIZED',
1311
+ RUNNING: 'RUNNING',
1312
+ UPDATING: 'UPDATING',
1313
+ PAUSED: 'PAUSED'
1314
+ };
1315
+ DpaEngagementResponse.TemplateEnum = {
1316
+ None: 'none',
1317
+ TextOnImage: 'text-on-image',
1318
+ Price: 'price',
1319
+ PercentageOff: 'percentage_off',
1320
+ StrikethroughPrice: 'strikethrough_price',
1321
+ ImageOverlay: 'image-overlay'
1322
+ };
987
1323
  })(DpaEngagementResponse || (DpaEngagementResponse = {}));
988
1324
 
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.
1325
+ /**
1326
+ *
1327
+ *
1328
+ *
1329
+ *
1330
+ *
1331
+ *
1332
+ * NOTE: This class is auto generated by the swagger code generator program.
1333
+ * https://github.com/swagger-api/swagger-codegen.git
1334
+ * Do not edit the class manually.
999
1335
  */
1000
1336
 
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.
1337
+ /**
1338
+ *
1339
+ *
1340
+ *
1341
+ *
1342
+ *
1343
+ *
1344
+ * NOTE: This class is auto generated by the swagger code generator program.
1345
+ * https://github.com/swagger-api/swagger-codegen.git
1346
+ * Do not edit the class manually.
1011
1347
  */
1012
1348
 
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.
1349
+ /**
1350
+ *
1351
+ *
1352
+ *
1353
+ *
1354
+ *
1355
+ *
1356
+ * NOTE: This class is auto generated by the swagger code generator program.
1357
+ * https://github.com/swagger-api/swagger-codegen.git
1358
+ * Do not edit the class manually.
1023
1359
  */
1024
1360
 
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.
1361
+ /**
1362
+ *
1363
+ *
1364
+ *
1365
+ *
1366
+ *
1367
+ *
1368
+ * NOTE: This class is auto generated by the swagger code generator program.
1369
+ * https://github.com/swagger-api/swagger-codegen.git
1370
+ * Do not edit the class manually.
1371
+ */
1372
+ var FacebookEngagementResponse;
1373
+ (function (FacebookEngagementResponse) {
1374
+ FacebookEngagementResponse.FacebookCatalogTypeEnum = {
1375
+ COMMERCE: 'COMMERCE',
1376
+ HOTELS: 'HOTELS',
1377
+ DESTINATIONS: 'DESTINATIONS',
1378
+ FLIGHTS: 'FLIGHTS'
1379
+ };
1380
+ })(FacebookEngagementResponse || (FacebookEngagementResponse = {}));
1381
+
1382
+ /**
1383
+ *
1384
+ *
1385
+ *
1386
+ *
1387
+ *
1388
+ *
1389
+ * NOTE: This class is auto generated by the swagger code generator program.
1390
+ * https://github.com/swagger-api/swagger-codegen.git
1391
+ * Do not edit the class manually.
1035
1392
  */
1036
1393
 
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
1394
+ /**
1395
+ *
1396
+ *
1397
+ *
1398
+ *
1399
+ *
1400
+ *
1401
+ * NOTE: This class is auto generated by the swagger code generator program.
1402
+ * https://github.com/swagger-api/swagger-codegen.git
1403
+ * Do not edit the class manually.
1404
+ */
1405
+
1406
+ /**
1407
+ *
1408
+ *
1409
+ *
1410
+ *
1411
+ *
1412
+ *
1413
+ * NOTE: This class is auto generated by the swagger code generator program.
1414
+ * https://github.com/swagger-api/swagger-codegen.git
1415
+ * Do not edit the class manually.
1416
+ */
1417
+
1418
+ /**
1419
+ *
1420
+ *
1421
+ *
1422
+ *
1423
+ *
1424
+ *
1425
+ * NOTE: This class is auto generated by the swagger code generator program.
1426
+ * https://github.com/swagger-api/swagger-codegen.git
1427
+ * Do not edit the class manually.
1428
+ */
1429
+
1430
+ class ApiModule {
1431
+ static forRoot(configurationFactory) {
1432
+ return {
1433
+ ngModule: ApiModule,
1434
+ providers: [{ provide: Configuration, useFactory: configurationFactory }]
1435
+ };
1436
+ }
1437
+ constructor(parentModule, http) {
1438
+ if (parentModule) {
1439
+ throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
1440
+ }
1441
+ if (!http) {
1442
+ throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
1443
+ 'See also https://github.com/angular/angular/issues/20575');
1444
+ }
1445
+ }
1446
+ }
1447
+ 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 });
1448
+ ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
1449
+ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
1450
+ BusinessGeoControllerService,
1451
+ CampaignControllerService,
1452
+ CountryControllerService,
1453
+ DpaCampaignControllerService,
1454
+ DpaEngagementControllerService,
1455
+ FacebookEngagementControllerService,
1456
+ PackageDetailControllerService
1457
+ ] });
1458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
1459
+ type: NgModule,
1460
+ args: [{
1461
+ imports: [],
1462
+ declarations: [],
1463
+ exports: [],
1464
+ providers: [
1465
+ BusinessGeoControllerService,
1466
+ CampaignControllerService,
1467
+ CountryControllerService,
1468
+ DpaCampaignControllerService,
1469
+ DpaEngagementControllerService,
1470
+ FacebookEngagementControllerService,
1471
+ PackageDetailControllerService
1472
+ ]
1473
+ }]
1474
+ }], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
1475
+ type: Optional
1476
+ }, {
1477
+ type: SkipSelf
1478
+ }] }, { type: i1.HttpClient, decorators: [{
1479
+ type: Optional
1085
1480
  }] }]; } });
1086
1481
 
1087
- /**
1088
- * Generated bundle index. Do not edit.
1482
+ /**
1483
+ * Generated bundle index. Do not edit.
1089
1484
  */
1090
1485
 
1091
- export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, PackageDetailControllerService };
1486
+ export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, PackageDetailControllerService };
1092
1487
  //# sourceMappingURL=revxui-intellibid-client-ts.mjs.map