@revxui/intellibid-client-ts 1.0.68 → 1.0.71

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 (105) hide show
  1. package/README.md +2 -2
  2. package/api/advertiserController.service.d.ts +137 -137
  3. package/api/api.d.ts +11 -11
  4. package/api/audienceController.service.d.ts +128 -128
  5. package/api/campaignController.service.d.ts +110 -127
  6. package/api/insightsController.service.d.ts +33 -33
  7. package/api/lookupDataController.service.d.ts +58 -58
  8. package/api.module.d.ts +11 -11
  9. package/configuration.d.ts +48 -48
  10. package/encoder.d.ts +10 -10
  11. package/esm2020/api/advertiserController.service.mjs +327 -327
  12. package/esm2020/api/api.mjs +11 -11
  13. package/esm2020/api/audienceController.service.mjs +326 -326
  14. package/esm2020/api/campaignController.service.mjs +297 -326
  15. package/esm2020/api/insightsController.service.mjs +107 -107
  16. package/esm2020/api/lookupDataController.service.mjs +134 -134
  17. package/esm2020/api.module.mjs +56 -56
  18. package/esm2020/configuration.mjs +58 -58
  19. package/esm2020/encoder.mjs +16 -16
  20. package/esm2020/index.mjs +5 -5
  21. package/esm2020/model/adAccountResponse.mjs +25 -25
  22. package/esm2020/model/advertiserMmpConversionEventResponse.mjs +12 -12
  23. package/esm2020/model/advertiserResponse.mjs +12 -12
  24. package/esm2020/model/advertiserSearchResponse.mjs +12 -12
  25. package/esm2020/model/audienceResponse.mjs +17 -17
  26. package/esm2020/model/blockedEventResponse.mjs +12 -12
  27. package/esm2020/model/businessZoneResponse.mjs +12 -12
  28. package/esm2020/model/campaignChangeLogResponse.mjs +23 -23
  29. package/esm2020/model/campaignInsightRecord.mjs +18 -18
  30. package/esm2020/model/campaignInsightsResponse.mjs +1 -1
  31. package/esm2020/model/campaignRequest.mjs +34 -34
  32. package/esm2020/model/campaignResponse.mjs +26 -26
  33. package/esm2020/model/campaignSearchResponse.mjs +12 -12
  34. package/esm2020/model/childAudience.mjs +38 -38
  35. package/esm2020/model/countryResponse.mjs +12 -12
  36. package/esm2020/model/createBlockedLiveAudienceRequest.mjs +21 -21
  37. package/esm2020/model/createBucketizedCustomAudienceRequest.mjs +37 -37
  38. package/esm2020/model/createBucketizedLiveAudienceRequest.mjs +25 -25
  39. package/esm2020/model/createDsCustomQueryAudienceRequest.mjs +33 -33
  40. package/esm2020/model/goalEventOptionDTO.mjs +13 -13
  41. package/esm2020/model/goalResponse.mjs +12 -12
  42. package/esm2020/model/models.mjs +37 -38
  43. package/esm2020/model/oSResponse.mjs +12 -12
  44. package/esm2020/model/pageAdvertiserResponse.mjs +2 -2
  45. package/esm2020/model/pageCampaignChangeLogResponse.mjs +2 -2
  46. package/esm2020/model/pageCampaignResponse.mjs +2 -2
  47. package/esm2020/model/pageableObject.mjs +1 -1
  48. package/esm2020/model/platformResponse.mjs +12 -12
  49. package/esm2020/model/productSetRequest.mjs +21 -21
  50. package/esm2020/model/productSetResponse.mjs +21 -21
  51. package/esm2020/model/scheduleUpdateRequest.mjs +18 -18
  52. package/esm2020/model/scheduledUpdates.mjs +12 -12
  53. package/esm2020/model/sortObject.mjs +12 -12
  54. package/esm2020/model/supportedGoalEventsResponseDTO.mjs +1 -1
  55. package/esm2020/model/updateAudienceNameRequest.mjs +21 -21
  56. package/esm2020/model/updateDsCustomQuerySqlRequest.mjs +21 -21
  57. package/esm2020/model/validateDsQueryRequest.mjs +12 -12
  58. package/esm2020/revxui-intellibid-client-ts.mjs +4 -4
  59. package/esm2020/variables.mjs +8 -8
  60. package/fesm2015/revxui-intellibid-client-ts.mjs +1661 -1690
  61. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
  62. package/fesm2020/revxui-intellibid-client-ts.mjs +1788 -1829
  63. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
  64. package/index.d.ts +5 -5
  65. package/model/adAccountResponse.d.ts +32 -32
  66. package/model/advertiserMmpConversionEventResponse.d.ts +15 -15
  67. package/model/advertiserResponse.d.ts +32 -32
  68. package/model/advertiserSearchResponse.d.ts +16 -16
  69. package/model/audienceResponse.d.ts +46 -45
  70. package/model/blockedEventResponse.d.ts +15 -15
  71. package/model/businessZoneResponse.d.ts +17 -17
  72. package/model/campaignChangeLogResponse.d.ts +34 -34
  73. package/model/campaignInsightRecord.d.ts +56 -56
  74. package/model/campaignInsightsResponse.d.ts +16 -16
  75. package/model/campaignRequest.d.ts +55 -55
  76. package/model/campaignResponse.d.ts +75 -75
  77. package/model/campaignSearchResponse.d.ts +15 -15
  78. package/model/childAudience.d.ts +68 -69
  79. package/model/countryResponse.d.ts +18 -18
  80. package/model/createBlockedLiveAudienceRequest.d.ts +27 -27
  81. package/model/createBucketizedCustomAudienceRequest.d.ts +56 -56
  82. package/model/createBucketizedLiveAudienceRequest.d.ts +40 -40
  83. package/model/createDsCustomQueryAudienceRequest.d.ts +50 -48
  84. package/model/goalEventOptionDTO.d.ts +14 -15
  85. package/model/goalResponse.d.ts +15 -15
  86. package/model/models.d.ts +36 -37
  87. package/model/oSResponse.d.ts +15 -15
  88. package/model/pageAdvertiserResponse.d.ts +27 -27
  89. package/model/pageCampaignChangeLogResponse.d.ts +27 -27
  90. package/model/pageCampaignResponse.d.ts +27 -27
  91. package/model/pageableObject.d.ts +20 -20
  92. package/model/platformResponse.d.ts +15 -15
  93. package/model/productSetRequest.d.ts +27 -27
  94. package/model/productSetResponse.d.ts +27 -27
  95. package/model/scheduleUpdateRequest.d.ts +22 -22
  96. package/model/scheduledUpdates.d.ts +15 -15
  97. package/model/sortObject.d.ts +18 -18
  98. package/model/supportedGoalEventsResponseDTO.d.ts +19 -19
  99. package/model/updateAudienceNameRequest.d.ts +26 -26
  100. package/model/updateDsCustomQuerySqlRequest.d.ts +26 -26
  101. package/model/validateDsQueryRequest.d.ts +14 -14
  102. package/package.json +1 -1
  103. package/variables.d.ts +8 -8
  104. package/esm2020/model/goalRequest.mjs +0 -13
  105. package/model/goalRequest.d.ts +0 -17
@@ -3,1916 +3,1875 @@ import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from
3
3
  import * as i1 from '@angular/common/http';
4
4
  import { HttpUrlEncodingCodec, HttpHeaders, HttpParams } from '@angular/common/http';
5
5
 
6
- /**
7
- * CustomHttpUrlEncodingCodec
8
- * Fix plus sign (+) not encoding, so sent as blank space
9
- * See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
10
- */
11
- class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
12
- encodeKey(k) {
13
- k = super.encodeKey(k);
14
- return k.replace(/\+/gi, '%2B');
15
- }
16
- encodeValue(v) {
17
- v = super.encodeValue(v);
18
- return v.replace(/\+/gi, '%2B');
19
- }
6
+ /**
7
+ * CustomHttpUrlEncodingCodec
8
+ * Fix plus sign (+) not encoding, so sent as blank space
9
+ * See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
10
+ */
11
+ class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
12
+ encodeKey(k) {
13
+ k = super.encodeKey(k);
14
+ return k.replace(/\+/gi, '%2B');
15
+ }
16
+ encodeValue(v) {
17
+ v = super.encodeValue(v);
18
+ return v.replace(/\+/gi, '%2B');
19
+ }
20
20
  }
21
21
 
22
- const BASE_PATH = new InjectionToken('basePath');
23
- const COLLECTION_FORMATS = {
24
- 'csv': ',',
25
- 'tsv': ' ',
26
- 'ssv': ' ',
27
- 'pipes': '|'
22
+ const BASE_PATH = new InjectionToken('basePath');
23
+ const COLLECTION_FORMATS = {
24
+ 'csv': ',',
25
+ 'tsv': ' ',
26
+ 'ssv': ' ',
27
+ 'pipes': '|'
28
28
  };
29
29
 
30
- class Configuration {
31
- constructor(configurationParameters = {}) {
32
- this.apiKeys = configurationParameters.apiKeys;
33
- this.username = configurationParameters.username;
34
- this.password = configurationParameters.password;
35
- this.accessToken = configurationParameters.accessToken;
36
- this.basePath = configurationParameters.basePath;
37
- this.withCredentials = configurationParameters.withCredentials;
38
- }
39
- /**
40
- * Select the correct content-type to use for a request.
41
- * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
42
- * If no content type is found return the first found type if the contentTypes is not empty
43
- * @param contentTypes - the array of content types that are available for selection
44
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
45
- */
46
- selectHeaderContentType(contentTypes) {
47
- if (contentTypes.length == 0) {
48
- return undefined;
49
- }
50
- let type = contentTypes.find(x => this.isJsonMime(x));
51
- if (type === undefined) {
52
- return contentTypes[0];
53
- }
54
- return type;
55
- }
56
- /**
57
- * Select the correct accept content-type to use for a request.
58
- * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
59
- * If no content type is found return the first found type if the contentTypes is not empty
60
- * @param accepts - the array of content types that are available for selection.
61
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
62
- */
63
- selectHeaderAccept(accepts) {
64
- if (accepts.length == 0) {
65
- return undefined;
66
- }
67
- let type = accepts.find(x => this.isJsonMime(x));
68
- if (type === undefined) {
69
- return accepts[0];
70
- }
71
- return type;
72
- }
73
- /**
74
- * Check if the given MIME is a JSON MIME.
75
- * JSON MIME examples:
76
- * application/json
77
- * application/json; charset=UTF8
78
- * APPLICATION/JSON
79
- * application/vnd.company+json
80
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
81
- * @return True if the given MIME is JSON, false otherwise.
82
- */
83
- isJsonMime(mime) {
84
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
85
- return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
86
- }
30
+ class Configuration {
31
+ constructor(configurationParameters = {}) {
32
+ this.apiKeys = configurationParameters.apiKeys;
33
+ this.username = configurationParameters.username;
34
+ this.password = configurationParameters.password;
35
+ this.accessToken = configurationParameters.accessToken;
36
+ this.basePath = configurationParameters.basePath;
37
+ this.withCredentials = configurationParameters.withCredentials;
38
+ }
39
+ /**
40
+ * Select the correct content-type to use for a request.
41
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
42
+ * If no content type is found return the first found type if the contentTypes is not empty
43
+ * @param contentTypes - the array of content types that are available for selection
44
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
45
+ */
46
+ selectHeaderContentType(contentTypes) {
47
+ if (contentTypes.length == 0) {
48
+ return undefined;
49
+ }
50
+ let type = contentTypes.find(x => this.isJsonMime(x));
51
+ if (type === undefined) {
52
+ return contentTypes[0];
53
+ }
54
+ return type;
55
+ }
56
+ /**
57
+ * Select the correct accept content-type to use for a request.
58
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
59
+ * If no content type is found return the first found type if the contentTypes is not empty
60
+ * @param accepts - the array of content types that are available for selection.
61
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
62
+ */
63
+ selectHeaderAccept(accepts) {
64
+ if (accepts.length == 0) {
65
+ return undefined;
66
+ }
67
+ let type = accepts.find(x => this.isJsonMime(x));
68
+ if (type === undefined) {
69
+ return accepts[0];
70
+ }
71
+ return type;
72
+ }
73
+ /**
74
+ * Check if the given MIME is a JSON MIME.
75
+ * JSON MIME examples:
76
+ * application/json
77
+ * application/json; charset=UTF8
78
+ * APPLICATION/JSON
79
+ * application/vnd.company+json
80
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
81
+ * @return True if the given MIME is JSON, false otherwise.
82
+ */
83
+ isJsonMime(mime) {
84
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
85
+ return mime != null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
86
+ }
87
87
  }
88
88
 
89
- /**
90
- * Intellibid API
91
- * API documentation for the Intellibid platform
92
- *
93
- * OpenAPI spec version: 1.0
94
- *
95
- *
96
- * NOTE: This class is auto generated by the swagger code generator program.
97
- * https://github.com/swagger-api/swagger-codegen.git
98
- * Do not edit the class manually.
99
- */ /* tslint:disable:no-unused-variable member-ordering */
100
- class AdvertiserControllerService {
101
- constructor(httpClient, basePath, configuration) {
102
- this.httpClient = httpClient;
103
- this.basePath = 'http://dev1-intellibid-svc.revx.io';
104
- this.defaultHeaders = new HttpHeaders();
105
- this.configuration = new Configuration();
106
- if (basePath) {
107
- this.basePath = basePath;
108
- }
109
- if (configuration) {
110
- this.configuration = configuration;
111
- this.basePath = basePath || configuration.basePath || this.basePath;
112
- }
113
- }
114
- /**
115
- * @param consumes string[] mime-types
116
- * @return true: consumes contains 'multipart/form-data', false: otherwise
117
- */
118
- canConsumeForm(consumes) {
119
- const form = 'multipart/form-data';
120
- for (const consume of consumes) {
121
- if (form === consume) {
122
- return true;
123
- }
124
- }
125
- return false;
126
- }
127
- addProductSet(body, id, observe = 'body', reportProgress = false) {
128
- if (body === null || body === undefined) {
129
- throw new Error('Required parameter body was null or undefined when calling addProductSet.');
130
- }
131
- if (id === null || id === undefined) {
132
- throw new Error('Required parameter id was null or undefined when calling addProductSet.');
133
- }
134
- let headers = this.defaultHeaders;
135
- // to determine the Accept header
136
- let httpHeaderAccepts = [
137
- '*/*'
138
- ];
139
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
140
- if (httpHeaderAcceptSelected != undefined) {
141
- headers = headers.set('Accept', httpHeaderAcceptSelected);
142
- }
143
- // to determine the Content-Type header
144
- const consumes = [
145
- 'application/json'
146
- ];
147
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
148
- if (httpContentTypeSelected != undefined) {
149
- headers = headers.set('Content-Type', httpContentTypeSelected);
150
- }
151
- return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
152
- body: body,
153
- withCredentials: this.configuration.withCredentials,
154
- headers: headers,
155
- observe: observe,
156
- reportProgress: reportProgress
157
- });
158
- }
159
- getAdAccounts(id, observe = 'body', reportProgress = false) {
160
- if (id === null || id === undefined) {
161
- throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
162
- }
163
- let headers = this.defaultHeaders;
164
- // to determine the Accept header
165
- let httpHeaderAccepts = [
166
- '*/*'
167
- ];
168
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
169
- if (httpHeaderAcceptSelected != undefined) {
170
- headers = headers.set('Accept', httpHeaderAcceptSelected);
171
- }
172
- // to determine the Content-Type header
173
- const consumes = [];
174
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/ad-accounts`, {
175
- withCredentials: this.configuration.withCredentials,
176
- headers: headers,
177
- observe: observe,
178
- reportProgress: reportProgress
179
- });
180
- }
181
- getAdvertiser(id, observe = 'body', reportProgress = false) {
182
- if (id === null || id === undefined) {
183
- throw new Error('Required parameter id was null or undefined when calling getAdvertiser.');
184
- }
185
- let headers = this.defaultHeaders;
186
- // to determine the Accept header
187
- let httpHeaderAccepts = [
188
- '*/*'
189
- ];
190
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
191
- if (httpHeaderAcceptSelected != undefined) {
192
- headers = headers.set('Accept', httpHeaderAcceptSelected);
193
- }
194
- // to determine the Content-Type header
195
- const consumes = [];
196
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
197
- withCredentials: this.configuration.withCredentials,
198
- headers: headers,
199
- observe: observe,
200
- reportProgress: reportProgress
201
- });
202
- }
203
- getAllAdvertisers(name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
204
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
205
- if (name !== undefined && name !== null) {
206
- queryParameters = queryParameters.set('name', name);
207
- }
208
- if (isActive !== undefined && isActive !== null) {
209
- queryParameters = queryParameters.set('isActive', isActive);
210
- }
211
- if (page !== undefined && page !== null) {
212
- queryParameters = queryParameters.set('page', page);
213
- }
214
- if (size !== undefined && size !== null) {
215
- queryParameters = queryParameters.set('size', size);
216
- }
217
- if (sort) {
218
- sort.forEach((element) => {
219
- queryParameters = queryParameters.append('sort', element);
220
- });
221
- }
222
- let headers = this.defaultHeaders;
223
- // to determine the Accept header
224
- let httpHeaderAccepts = [
225
- '*/*'
226
- ];
227
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
228
- if (httpHeaderAcceptSelected != undefined) {
229
- headers = headers.set('Accept', httpHeaderAcceptSelected);
230
- }
231
- // to determine the Content-Type header
232
- const consumes = [];
233
- return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
234
- params: queryParameters,
235
- withCredentials: this.configuration.withCredentials,
236
- headers: headers,
237
- observe: observe,
238
- reportProgress: reportProgress
239
- });
240
- }
241
- getBlockedEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
242
- if (id === null || id === undefined) {
243
- throw new Error('Required parameter id was null or undefined when calling getBlockedEventsByAdvertiser.');
244
- }
245
- let headers = this.defaultHeaders;
246
- // to determine the Accept header
247
- let httpHeaderAccepts = [
248
- '*/*'
249
- ];
250
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
251
- if (httpHeaderAcceptSelected != undefined) {
252
- headers = headers.set('Accept', httpHeaderAcceptSelected);
253
- }
254
- // to determine the Content-Type header
255
- const consumes = [];
256
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/blocked-events`, {
257
- withCredentials: this.configuration.withCredentials,
258
- headers: headers,
259
- observe: observe,
260
- reportProgress: reportProgress
261
- });
262
- }
263
- getGoalsByAdvertiser(id, observe = 'body', reportProgress = false) {
264
- if (id === null || id === undefined) {
265
- throw new Error('Required parameter id was null or undefined when calling getGoalsByAdvertiser.');
266
- }
267
- let headers = this.defaultHeaders;
268
- // to determine the Accept header
269
- let httpHeaderAccepts = [
270
- '*/*'
271
- ];
272
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
273
- if (httpHeaderAcceptSelected != undefined) {
274
- headers = headers.set('Accept', httpHeaderAcceptSelected);
275
- }
276
- // to determine the Content-Type header
277
- const consumes = [];
278
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/goals`, {
279
- withCredentials: this.configuration.withCredentials,
280
- headers: headers,
281
- observe: observe,
282
- reportProgress: reportProgress
283
- });
284
- }
285
- getMMPConversionEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
286
- if (id === null || id === undefined) {
287
- throw new Error('Required parameter id was null or undefined when calling getMMPConversionEventsByAdvertiser.');
288
- }
289
- let headers = this.defaultHeaders;
290
- // to determine the Accept header
291
- let httpHeaderAccepts = [
292
- '*/*'
293
- ];
294
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
295
- if (httpHeaderAcceptSelected != undefined) {
296
- headers = headers.set('Accept', httpHeaderAcceptSelected);
297
- }
298
- // to determine the Content-Type header
299
- const consumes = [];
300
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/mmp-conversion-events`, {
301
- withCredentials: this.configuration.withCredentials,
302
- headers: headers,
303
- observe: observe,
304
- reportProgress: reportProgress
305
- });
306
- }
307
- getProductSets(id, sourcePlatform, adAccountId, observe = 'body', reportProgress = false) {
308
- if (id === null || id === undefined) {
309
- throw new Error('Required parameter id was null or undefined when calling getProductSets.');
310
- }
311
- if (sourcePlatform === null || sourcePlatform === undefined) {
312
- throw new Error('Required parameter sourcePlatform was null or undefined when calling getProductSets.');
313
- }
314
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
315
- if (sourcePlatform !== undefined && sourcePlatform !== null) {
316
- queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
317
- }
318
- if (adAccountId !== undefined && adAccountId !== null) {
319
- queryParameters = queryParameters.set('adAccountId', adAccountId);
320
- }
321
- let headers = this.defaultHeaders;
322
- // to determine the Accept header
323
- let httpHeaderAccepts = [
324
- '*/*'
325
- ];
326
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
327
- if (httpHeaderAcceptSelected != undefined) {
328
- headers = headers.set('Accept', httpHeaderAcceptSelected);
329
- }
330
- // to determine the Content-Type header
331
- const consumes = [];
332
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
333
- params: queryParameters,
334
- withCredentials: this.configuration.withCredentials,
335
- headers: headers,
336
- observe: observe,
337
- reportProgress: reportProgress
338
- });
339
- }
340
- getSupportedGoalEvents(advertiserId, platform, adAccountId, observe = 'body', reportProgress = false) {
341
- if (advertiserId === null || advertiserId === undefined) {
342
- throw new Error('Required parameter advertiserId was null or undefined when calling getSupportedGoalEvents.');
343
- }
344
- if (platform === null || platform === undefined) {
345
- throw new Error('Required parameter platform was null or undefined when calling getSupportedGoalEvents.');
346
- }
347
- if (adAccountId === null || adAccountId === undefined) {
348
- throw new Error('Required parameter adAccountId was null or undefined when calling getSupportedGoalEvents.');
349
- }
350
- let headers = this.defaultHeaders;
351
- // to determine the Accept header
352
- let httpHeaderAccepts = [
353
- '*/*'
354
- ];
355
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
356
- if (httpHeaderAcceptSelected != undefined) {
357
- headers = headers.set('Accept', httpHeaderAcceptSelected);
358
- }
359
- // to determine the Content-Type header
360
- const consumes = [];
361
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/advertisers/${encodeURIComponent(String(advertiserId))}/platforms/${encodeURIComponent(String(platform))}/ad-accounts/${encodeURIComponent(String(adAccountId))}/goal-events`, {
362
- withCredentials: this.configuration.withCredentials,
363
- headers: headers,
364
- observe: observe,
365
- reportProgress: reportProgress
366
- });
367
- }
368
- searchAdvertisers(q, observe = 'body', reportProgress = false) {
369
- if (q === null || q === undefined) {
370
- throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
371
- }
372
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
373
- if (q !== undefined && q !== null) {
374
- queryParameters = queryParameters.set('q', q);
375
- }
376
- let headers = this.defaultHeaders;
377
- // to determine the Accept header
378
- let httpHeaderAccepts = [
379
- '*/*'
380
- ];
381
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
382
- if (httpHeaderAcceptSelected != undefined) {
383
- headers = headers.set('Accept', httpHeaderAcceptSelected);
384
- }
385
- // to determine the Content-Type header
386
- const consumes = [];
387
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
388
- params: queryParameters,
389
- withCredentials: this.configuration.withCredentials,
390
- headers: headers,
391
- observe: observe,
392
- reportProgress: reportProgress
393
- });
394
- }
395
- }
396
- AdvertiserControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
397
- AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
398
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, decorators: [{
399
- type: Injectable
400
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
401
- type: Optional
402
- }, {
403
- type: Inject,
404
- args: [BASE_PATH]
405
- }] }, { type: Configuration, decorators: [{
406
- type: Optional
89
+ /**
90
+ * Intellibid API
91
+ * API documentation for the Intellibid platform
92
+ *
93
+ * OpenAPI spec version: 1.0
94
+ *
95
+ *
96
+ * NOTE: This class is auto generated by the swagger code generator program.
97
+ * https://github.com/swagger-api/swagger-codegen.git
98
+ * Do not edit the class manually.
99
+ */ /* tslint:disable:no-unused-variable member-ordering */
100
+ class AdvertiserControllerService {
101
+ constructor(httpClient, basePath, configuration) {
102
+ this.httpClient = httpClient;
103
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
104
+ this.defaultHeaders = new HttpHeaders();
105
+ this.configuration = new Configuration();
106
+ if (basePath) {
107
+ this.basePath = basePath;
108
+ }
109
+ if (configuration) {
110
+ this.configuration = configuration;
111
+ this.basePath = basePath || configuration.basePath || this.basePath;
112
+ }
113
+ }
114
+ /**
115
+ * @param consumes string[] mime-types
116
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
117
+ */
118
+ canConsumeForm(consumes) {
119
+ const form = 'multipart/form-data';
120
+ for (const consume of consumes) {
121
+ if (form === consume) {
122
+ return true;
123
+ }
124
+ }
125
+ return false;
126
+ }
127
+ addProductSet(body, id, observe = 'body', reportProgress = false) {
128
+ if (body === null || body === undefined) {
129
+ throw new Error('Required parameter body was null or undefined when calling addProductSet.');
130
+ }
131
+ if (id === null || id === undefined) {
132
+ throw new Error('Required parameter id was null or undefined when calling addProductSet.');
133
+ }
134
+ let headers = this.defaultHeaders;
135
+ // to determine the Accept header
136
+ let httpHeaderAccepts = [
137
+ '*/*'
138
+ ];
139
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
140
+ if (httpHeaderAcceptSelected != undefined) {
141
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
142
+ }
143
+ // to determine the Content-Type header
144
+ const consumes = [
145
+ 'application/json'
146
+ ];
147
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
148
+ if (httpContentTypeSelected != undefined) {
149
+ headers = headers.set('Content-Type', httpContentTypeSelected);
150
+ }
151
+ return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
152
+ body: body,
153
+ withCredentials: this.configuration.withCredentials,
154
+ headers: headers,
155
+ observe: observe,
156
+ reportProgress: reportProgress
157
+ });
158
+ }
159
+ getAdAccounts(id, observe = 'body', reportProgress = false) {
160
+ if (id === null || id === undefined) {
161
+ throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
162
+ }
163
+ let headers = this.defaultHeaders;
164
+ // to determine the Accept header
165
+ let httpHeaderAccepts = [
166
+ '*/*'
167
+ ];
168
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
169
+ if (httpHeaderAcceptSelected != undefined) {
170
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
171
+ }
172
+ // to determine the Content-Type header
173
+ const consumes = [];
174
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/ad-accounts`, {
175
+ withCredentials: this.configuration.withCredentials,
176
+ headers: headers,
177
+ observe: observe,
178
+ reportProgress: reportProgress
179
+ });
180
+ }
181
+ getAdvertiser(id, observe = 'body', reportProgress = false) {
182
+ if (id === null || id === undefined) {
183
+ throw new Error('Required parameter id was null or undefined when calling getAdvertiser.');
184
+ }
185
+ let headers = this.defaultHeaders;
186
+ // to determine the Accept header
187
+ let httpHeaderAccepts = [
188
+ '*/*'
189
+ ];
190
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
191
+ if (httpHeaderAcceptSelected != undefined) {
192
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
193
+ }
194
+ // to determine the Content-Type header
195
+ const consumes = [];
196
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
197
+ withCredentials: this.configuration.withCredentials,
198
+ headers: headers,
199
+ observe: observe,
200
+ reportProgress: reportProgress
201
+ });
202
+ }
203
+ getAllAdvertisers(name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
204
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
205
+ if (name !== undefined && name !== null) {
206
+ queryParameters = queryParameters.set('name', name);
207
+ }
208
+ if (isActive !== undefined && isActive !== null) {
209
+ queryParameters = queryParameters.set('isActive', isActive);
210
+ }
211
+ if (page !== undefined && page !== null) {
212
+ queryParameters = queryParameters.set('page', page);
213
+ }
214
+ if (size !== undefined && size !== null) {
215
+ queryParameters = queryParameters.set('size', size);
216
+ }
217
+ if (sort) {
218
+ sort.forEach((element) => {
219
+ queryParameters = queryParameters.append('sort', element);
220
+ });
221
+ }
222
+ let headers = this.defaultHeaders;
223
+ // to determine the Accept header
224
+ let httpHeaderAccepts = [
225
+ '*/*'
226
+ ];
227
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
228
+ if (httpHeaderAcceptSelected != undefined) {
229
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
230
+ }
231
+ // to determine the Content-Type header
232
+ const consumes = [];
233
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
234
+ params: queryParameters,
235
+ withCredentials: this.configuration.withCredentials,
236
+ headers: headers,
237
+ observe: observe,
238
+ reportProgress: reportProgress
239
+ });
240
+ }
241
+ getBlockedEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
242
+ if (id === null || id === undefined) {
243
+ throw new Error('Required parameter id was null or undefined when calling getBlockedEventsByAdvertiser.');
244
+ }
245
+ let headers = this.defaultHeaders;
246
+ // to determine the Accept header
247
+ let httpHeaderAccepts = [
248
+ '*/*'
249
+ ];
250
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
251
+ if (httpHeaderAcceptSelected != undefined) {
252
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
253
+ }
254
+ // to determine the Content-Type header
255
+ const consumes = [];
256
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/blocked-events`, {
257
+ withCredentials: this.configuration.withCredentials,
258
+ headers: headers,
259
+ observe: observe,
260
+ reportProgress: reportProgress
261
+ });
262
+ }
263
+ getGoalsByAdvertiser(id, observe = 'body', reportProgress = false) {
264
+ if (id === null || id === undefined) {
265
+ throw new Error('Required parameter id was null or undefined when calling getGoalsByAdvertiser.');
266
+ }
267
+ let headers = this.defaultHeaders;
268
+ // to determine the Accept header
269
+ let httpHeaderAccepts = [
270
+ '*/*'
271
+ ];
272
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
273
+ if (httpHeaderAcceptSelected != undefined) {
274
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
275
+ }
276
+ // to determine the Content-Type header
277
+ const consumes = [];
278
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/goals`, {
279
+ withCredentials: this.configuration.withCredentials,
280
+ headers: headers,
281
+ observe: observe,
282
+ reportProgress: reportProgress
283
+ });
284
+ }
285
+ getMMPConversionEventsByAdvertiser(id, observe = 'body', reportProgress = false) {
286
+ if (id === null || id === undefined) {
287
+ throw new Error('Required parameter id was null or undefined when calling getMMPConversionEventsByAdvertiser.');
288
+ }
289
+ let headers = this.defaultHeaders;
290
+ // to determine the Accept header
291
+ let httpHeaderAccepts = [
292
+ '*/*'
293
+ ];
294
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
295
+ if (httpHeaderAcceptSelected != undefined) {
296
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
297
+ }
298
+ // to determine the Content-Type header
299
+ const consumes = [];
300
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/mmp-conversion-events`, {
301
+ withCredentials: this.configuration.withCredentials,
302
+ headers: headers,
303
+ observe: observe,
304
+ reportProgress: reportProgress
305
+ });
306
+ }
307
+ getProductSets(id, sourcePlatform, adAccountId, observe = 'body', reportProgress = false) {
308
+ if (id === null || id === undefined) {
309
+ throw new Error('Required parameter id was null or undefined when calling getProductSets.');
310
+ }
311
+ if (sourcePlatform === null || sourcePlatform === undefined) {
312
+ throw new Error('Required parameter sourcePlatform was null or undefined when calling getProductSets.');
313
+ }
314
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
315
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
316
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
317
+ }
318
+ if (adAccountId !== undefined && adAccountId !== null) {
319
+ queryParameters = queryParameters.set('adAccountId', adAccountId);
320
+ }
321
+ let headers = this.defaultHeaders;
322
+ // to determine the Accept header
323
+ let httpHeaderAccepts = [
324
+ '*/*'
325
+ ];
326
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
327
+ if (httpHeaderAcceptSelected != undefined) {
328
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
329
+ }
330
+ // to determine the Content-Type header
331
+ const consumes = [];
332
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
333
+ params: queryParameters,
334
+ withCredentials: this.configuration.withCredentials,
335
+ headers: headers,
336
+ observe: observe,
337
+ reportProgress: reportProgress
338
+ });
339
+ }
340
+ getSupportedGoalEvents(advertiserId, platform, adAccountId, observe = 'body', reportProgress = false) {
341
+ if (advertiserId === null || advertiserId === undefined) {
342
+ throw new Error('Required parameter advertiserId was null or undefined when calling getSupportedGoalEvents.');
343
+ }
344
+ if (platform === null || platform === undefined) {
345
+ throw new Error('Required parameter platform was null or undefined when calling getSupportedGoalEvents.');
346
+ }
347
+ if (adAccountId === null || adAccountId === undefined) {
348
+ throw new Error('Required parameter adAccountId was null or undefined when calling getSupportedGoalEvents.');
349
+ }
350
+ let headers = this.defaultHeaders;
351
+ // to determine the Accept header
352
+ let httpHeaderAccepts = [
353
+ '*/*'
354
+ ];
355
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
356
+ if (httpHeaderAcceptSelected != undefined) {
357
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
358
+ }
359
+ // to determine the Content-Type header
360
+ const consumes = [];
361
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/advertisers/${encodeURIComponent(String(advertiserId))}/platforms/${encodeURIComponent(String(platform))}/ad-accounts/${encodeURIComponent(String(adAccountId))}/goal-events`, {
362
+ withCredentials: this.configuration.withCredentials,
363
+ headers: headers,
364
+ observe: observe,
365
+ reportProgress: reportProgress
366
+ });
367
+ }
368
+ searchAdvertisers(q, observe = 'body', reportProgress = false) {
369
+ if (q === null || q === undefined) {
370
+ throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
371
+ }
372
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
373
+ if (q !== undefined && q !== null) {
374
+ queryParameters = queryParameters.set('q', q);
375
+ }
376
+ let headers = this.defaultHeaders;
377
+ // to determine the Accept header
378
+ let httpHeaderAccepts = [
379
+ '*/*'
380
+ ];
381
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
382
+ if (httpHeaderAcceptSelected != undefined) {
383
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
384
+ }
385
+ // to determine the Content-Type header
386
+ const consumes = [];
387
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
388
+ params: queryParameters,
389
+ withCredentials: this.configuration.withCredentials,
390
+ headers: headers,
391
+ observe: observe,
392
+ reportProgress: reportProgress
393
+ });
394
+ }
395
+ }
396
+ AdvertiserControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
397
+ AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, decorators: [{
399
+ type: Injectable
400
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
401
+ type: Optional
402
+ }, {
403
+ type: Inject,
404
+ args: [BASE_PATH]
405
+ }] }, { type: Configuration, decorators: [{
406
+ type: Optional
407
407
  }] }]; } });
408
408
 
409
- /**
410
- * Intellibid API
411
- * API documentation for the Intellibid platform
412
- *
413
- * OpenAPI spec version: 1.0
414
- *
415
- *
416
- * NOTE: This class is auto generated by the swagger code generator program.
417
- * https://github.com/swagger-api/swagger-codegen.git
418
- * Do not edit the class manually.
419
- */ /* tslint:disable:no-unused-variable member-ordering */
420
- class AudienceControllerService {
421
- constructor(httpClient, basePath, configuration) {
422
- this.httpClient = httpClient;
423
- this.basePath = 'http://dev1-intellibid-svc.revx.io';
424
- this.defaultHeaders = new HttpHeaders();
425
- this.configuration = new Configuration();
426
- if (basePath) {
427
- this.basePath = basePath;
428
- }
429
- if (configuration) {
430
- this.configuration = configuration;
431
- this.basePath = basePath || configuration.basePath || this.basePath;
432
- }
433
- }
434
- /**
435
- * @param consumes string[] mime-types
436
- * @return true: consumes contains 'multipart/form-data', false: otherwise
437
- */
438
- canConsumeForm(consumes) {
439
- const form = 'multipart/form-data';
440
- for (const consume of consumes) {
441
- if (form === consume) {
442
- return true;
443
- }
444
- }
445
- return false;
446
- }
447
- createBlockedLiveAudience(body, observe = 'body', reportProgress = false) {
448
- if (body === null || body === undefined) {
449
- throw new Error('Required parameter body was null or undefined when calling createBlockedLiveAudience.');
450
- }
451
- let headers = this.defaultHeaders;
452
- // to determine the Accept header
453
- let httpHeaderAccepts = [
454
- '*/*'
455
- ];
456
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
457
- if (httpHeaderAcceptSelected != undefined) {
458
- headers = headers.set('Accept', httpHeaderAcceptSelected);
459
- }
460
- // to determine the Content-Type header
461
- const consumes = [
462
- 'application/json'
463
- ];
464
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
465
- if (httpContentTypeSelected != undefined) {
466
- headers = headers.set('Content-Type', httpContentTypeSelected);
467
- }
468
- return this.httpClient.request('post', `${this.basePath}/api/audiences/live/blocked`, {
469
- body: body,
470
- withCredentials: this.configuration.withCredentials,
471
- headers: headers,
472
- observe: observe,
473
- reportProgress: reportProgress
474
- });
475
- }
476
- createBucketizedCustom(body, observe = 'body', reportProgress = false) {
477
- if (body === null || body === undefined) {
478
- throw new Error('Required parameter body was null or undefined when calling createBucketizedCustom.');
479
- }
480
- let headers = this.defaultHeaders;
481
- // to determine the Accept header
482
- let httpHeaderAccepts = [
483
- '*/*'
484
- ];
485
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
486
- if (httpHeaderAcceptSelected != undefined) {
487
- headers = headers.set('Accept', httpHeaderAcceptSelected);
488
- }
489
- // to determine the Content-Type header
490
- const consumes = [
491
- 'application/json'
492
- ];
493
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
494
- if (httpContentTypeSelected != undefined) {
495
- headers = headers.set('Content-Type', httpContentTypeSelected);
496
- }
497
- return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/bucketized`, {
498
- body: body,
499
- withCredentials: this.configuration.withCredentials,
500
- headers: headers,
501
- observe: observe,
502
- reportProgress: reportProgress
503
- });
504
- }
505
- createBucketizedLive(body, observe = 'body', reportProgress = false) {
506
- if (body === null || body === undefined) {
507
- throw new Error('Required parameter body was null or undefined when calling createBucketizedLive.');
508
- }
509
- let headers = this.defaultHeaders;
510
- // to determine the Accept header
511
- let httpHeaderAccepts = [
512
- '*/*'
513
- ];
514
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
515
- if (httpHeaderAcceptSelected != undefined) {
516
- headers = headers.set('Accept', httpHeaderAcceptSelected);
517
- }
518
- // to determine the Content-Type header
519
- const consumes = [
520
- 'application/json'
521
- ];
522
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
523
- if (httpContentTypeSelected != undefined) {
524
- headers = headers.set('Content-Type', httpContentTypeSelected);
525
- }
526
- return this.httpClient.request('post', `${this.basePath}/api/audiences/live/bucketized`, {
527
- body: body,
528
- withCredentials: this.configuration.withCredentials,
529
- headers: headers,
530
- observe: observe,
531
- reportProgress: reportProgress
532
- });
533
- }
534
- createDsCustomQuery(body, observe = 'body', reportProgress = false) {
535
- if (body === null || body === undefined) {
536
- throw new Error('Required parameter body was null or undefined when calling createDsCustomQuery.');
537
- }
538
- let headers = this.defaultHeaders;
539
- // to determine the Accept header
540
- let httpHeaderAccepts = [
541
- '*/*'
542
- ];
543
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
544
- if (httpHeaderAcceptSelected != undefined) {
545
- headers = headers.set('Accept', httpHeaderAcceptSelected);
546
- }
547
- // to determine the Content-Type header
548
- const consumes = [
549
- 'application/json'
550
- ];
551
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
552
- if (httpContentTypeSelected != undefined) {
553
- headers = headers.set('Content-Type', httpContentTypeSelected);
554
- }
555
- return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/ds-query`, {
556
- body: body,
557
- withCredentials: this.configuration.withCredentials,
558
- headers: headers,
559
- observe: observe,
560
- reportProgress: reportProgress
561
- });
562
- }
563
- getAllAudiences(advertiserId, groupType, sourcePlatform, audienceType, audienceSource, observe = 'body', reportProgress = false) {
564
- if (advertiserId === null || advertiserId === undefined) {
565
- throw new Error('Required parameter advertiserId was null or undefined when calling getAllAudiences.');
566
- }
567
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
568
- if (groupType !== undefined && groupType !== null) {
569
- queryParameters = queryParameters.set('groupType', groupType);
570
- }
571
- if (sourcePlatform !== undefined && sourcePlatform !== null) {
572
- queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
573
- }
574
- if (audienceType !== undefined && audienceType !== null) {
575
- queryParameters = queryParameters.set('audienceType', audienceType);
576
- }
577
- if (audienceSource !== undefined && audienceSource !== null) {
578
- queryParameters = queryParameters.set('audienceSource', audienceSource);
579
- }
580
- let headers = this.defaultHeaders;
581
- // to determine the Accept header
582
- let httpHeaderAccepts = [
583
- '*/*'
584
- ];
585
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
586
- if (httpHeaderAcceptSelected != undefined) {
587
- headers = headers.set('Accept', httpHeaderAcceptSelected);
588
- }
589
- // to determine the Content-Type header
590
- const consumes = [];
591
- return this.httpClient.request('get', `${this.basePath}/api/audiences/advertiser/${encodeURIComponent(String(advertiserId))}`, {
592
- params: queryParameters,
593
- withCredentials: this.configuration.withCredentials,
594
- headers: headers,
595
- observe: observe,
596
- reportProgress: reportProgress
597
- });
598
- }
599
- getGroupStatus(groupId, observe = 'body', reportProgress = false) {
600
- if (groupId === null || groupId === undefined) {
601
- throw new Error('Required parameter groupId was null or undefined when calling getGroupStatus.');
602
- }
603
- let headers = this.defaultHeaders;
604
- // to determine the Accept header
605
- let httpHeaderAccepts = [
606
- '*/*'
607
- ];
608
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
609
- if (httpHeaderAcceptSelected != undefined) {
610
- headers = headers.set('Accept', httpHeaderAcceptSelected);
611
- }
612
- // to determine the Content-Type header
613
- const consumes = [];
614
- return this.httpClient.request('get', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}`, {
615
- withCredentials: this.configuration.withCredentials,
616
- headers: headers,
617
- observe: observe,
618
- reportProgress: reportProgress
619
- });
620
- }
621
- updateDsCustomQuerySql(body, groupId, observe = 'body', reportProgress = false) {
622
- if (body === null || body === undefined) {
623
- throw new Error('Required parameter body was null or undefined when calling updateDsCustomQuerySql.');
624
- }
625
- if (groupId === null || groupId === undefined) {
626
- throw new Error('Required parameter groupId was null or undefined when calling updateDsCustomQuerySql.');
627
- }
628
- let headers = this.defaultHeaders;
629
- // to determine the Accept header
630
- let httpHeaderAccepts = [
631
- '*/*'
632
- ];
633
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
634
- if (httpHeaderAcceptSelected != undefined) {
635
- headers = headers.set('Accept', httpHeaderAcceptSelected);
636
- }
637
- // to determine the Content-Type header
638
- const consumes = [
639
- 'application/json'
640
- ];
641
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
642
- if (httpContentTypeSelected != undefined) {
643
- headers = headers.set('Content-Type', httpContentTypeSelected);
644
- }
645
- return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/custom/ds-query/sql`, {
646
- body: body,
647
- withCredentials: this.configuration.withCredentials,
648
- headers: headers,
649
- observe: observe,
650
- reportProgress: reportProgress
651
- });
652
- }
653
- updateName(body, groupId, observe = 'body', reportProgress = false) {
654
- if (body === null || body === undefined) {
655
- throw new Error('Required parameter body was null or undefined when calling updateName.');
656
- }
657
- if (groupId === null || groupId === undefined) {
658
- throw new Error('Required parameter groupId was null or undefined when calling updateName.');
659
- }
660
- let headers = this.defaultHeaders;
661
- // to determine the Accept header
662
- let httpHeaderAccepts = [
663
- '*/*'
664
- ];
665
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
666
- if (httpHeaderAcceptSelected != undefined) {
667
- headers = headers.set('Accept', httpHeaderAcceptSelected);
668
- }
669
- // to determine the Content-Type header
670
- const consumes = [
671
- 'application/json'
672
- ];
673
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
674
- if (httpContentTypeSelected != undefined) {
675
- headers = headers.set('Content-Type', httpContentTypeSelected);
676
- }
677
- return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/name`, {
678
- body: body,
679
- withCredentials: this.configuration.withCredentials,
680
- headers: headers,
681
- observe: observe,
682
- reportProgress: reportProgress
683
- });
684
- }
685
- validateDsQuery(body, observe = 'body', reportProgress = false) {
686
- if (body === null || body === undefined) {
687
- throw new Error('Required parameter body was null or undefined when calling validateDsQuery.');
688
- }
689
- let headers = this.defaultHeaders;
690
- // to determine the Accept header
691
- let httpHeaderAccepts = [
692
- '*/*'
693
- ];
694
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
695
- if (httpHeaderAcceptSelected != undefined) {
696
- headers = headers.set('Accept', httpHeaderAcceptSelected);
697
- }
698
- // to determine the Content-Type header
699
- const consumes = [
700
- 'application/json'
701
- ];
702
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
703
- if (httpContentTypeSelected != undefined) {
704
- headers = headers.set('Content-Type', httpContentTypeSelected);
705
- }
706
- return this.httpClient.request('post', `${this.basePath}/api/audiences/validate-ds-query`, {
707
- body: body,
708
- withCredentials: this.configuration.withCredentials,
709
- headers: headers,
710
- observe: observe,
711
- reportProgress: reportProgress
712
- });
713
- }
714
- }
715
- AudienceControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
716
- AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
717
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
718
- type: Injectable
719
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
720
- type: Optional
721
- }, {
722
- type: Inject,
723
- args: [BASE_PATH]
724
- }] }, { type: Configuration, decorators: [{
725
- type: Optional
409
+ /**
410
+ * Intellibid API
411
+ * API documentation for the Intellibid platform
412
+ *
413
+ * OpenAPI spec version: 1.0
414
+ *
415
+ *
416
+ * NOTE: This class is auto generated by the swagger code generator program.
417
+ * https://github.com/swagger-api/swagger-codegen.git
418
+ * Do not edit the class manually.
419
+ */ /* tslint:disable:no-unused-variable member-ordering */
420
+ class AudienceControllerService {
421
+ constructor(httpClient, basePath, configuration) {
422
+ this.httpClient = httpClient;
423
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
424
+ this.defaultHeaders = new HttpHeaders();
425
+ this.configuration = new Configuration();
426
+ if (basePath) {
427
+ this.basePath = basePath;
428
+ }
429
+ if (configuration) {
430
+ this.configuration = configuration;
431
+ this.basePath = basePath || configuration.basePath || this.basePath;
432
+ }
433
+ }
434
+ /**
435
+ * @param consumes string[] mime-types
436
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
437
+ */
438
+ canConsumeForm(consumes) {
439
+ const form = 'multipart/form-data';
440
+ for (const consume of consumes) {
441
+ if (form === consume) {
442
+ return true;
443
+ }
444
+ }
445
+ return false;
446
+ }
447
+ createBlockedLiveAudience(body, observe = 'body', reportProgress = false) {
448
+ if (body === null || body === undefined) {
449
+ throw new Error('Required parameter body was null or undefined when calling createBlockedLiveAudience.');
450
+ }
451
+ let headers = this.defaultHeaders;
452
+ // to determine the Accept header
453
+ let httpHeaderAccepts = [
454
+ '*/*'
455
+ ];
456
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
457
+ if (httpHeaderAcceptSelected != undefined) {
458
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
459
+ }
460
+ // to determine the Content-Type header
461
+ const consumes = [
462
+ 'application/json'
463
+ ];
464
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
465
+ if (httpContentTypeSelected != undefined) {
466
+ headers = headers.set('Content-Type', httpContentTypeSelected);
467
+ }
468
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/live/blocked`, {
469
+ body: body,
470
+ withCredentials: this.configuration.withCredentials,
471
+ headers: headers,
472
+ observe: observe,
473
+ reportProgress: reportProgress
474
+ });
475
+ }
476
+ createBucketizedCustom(body, observe = 'body', reportProgress = false) {
477
+ if (body === null || body === undefined) {
478
+ throw new Error('Required parameter body was null or undefined when calling createBucketizedCustom.');
479
+ }
480
+ let headers = this.defaultHeaders;
481
+ // to determine the Accept header
482
+ let httpHeaderAccepts = [
483
+ '*/*'
484
+ ];
485
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
486
+ if (httpHeaderAcceptSelected != undefined) {
487
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
488
+ }
489
+ // to determine the Content-Type header
490
+ const consumes = [
491
+ 'application/json'
492
+ ];
493
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
494
+ if (httpContentTypeSelected != undefined) {
495
+ headers = headers.set('Content-Type', httpContentTypeSelected);
496
+ }
497
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/bucketized`, {
498
+ body: body,
499
+ withCredentials: this.configuration.withCredentials,
500
+ headers: headers,
501
+ observe: observe,
502
+ reportProgress: reportProgress
503
+ });
504
+ }
505
+ createBucketizedLive(body, observe = 'body', reportProgress = false) {
506
+ if (body === null || body === undefined) {
507
+ throw new Error('Required parameter body was null or undefined when calling createBucketizedLive.');
508
+ }
509
+ let headers = this.defaultHeaders;
510
+ // to determine the Accept header
511
+ let httpHeaderAccepts = [
512
+ '*/*'
513
+ ];
514
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
515
+ if (httpHeaderAcceptSelected != undefined) {
516
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
517
+ }
518
+ // to determine the Content-Type header
519
+ const consumes = [
520
+ 'application/json'
521
+ ];
522
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
523
+ if (httpContentTypeSelected != undefined) {
524
+ headers = headers.set('Content-Type', httpContentTypeSelected);
525
+ }
526
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/live/bucketized`, {
527
+ body: body,
528
+ withCredentials: this.configuration.withCredentials,
529
+ headers: headers,
530
+ observe: observe,
531
+ reportProgress: reportProgress
532
+ });
533
+ }
534
+ createDsCustomQuery(body, observe = 'body', reportProgress = false) {
535
+ if (body === null || body === undefined) {
536
+ throw new Error('Required parameter body was null or undefined when calling createDsCustomQuery.');
537
+ }
538
+ let headers = this.defaultHeaders;
539
+ // to determine the Accept header
540
+ let httpHeaderAccepts = [
541
+ '*/*'
542
+ ];
543
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
544
+ if (httpHeaderAcceptSelected != undefined) {
545
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
546
+ }
547
+ // to determine the Content-Type header
548
+ const consumes = [
549
+ 'application/json'
550
+ ];
551
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
552
+ if (httpContentTypeSelected != undefined) {
553
+ headers = headers.set('Content-Type', httpContentTypeSelected);
554
+ }
555
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/custom/ds-query`, {
556
+ body: body,
557
+ withCredentials: this.configuration.withCredentials,
558
+ headers: headers,
559
+ observe: observe,
560
+ reportProgress: reportProgress
561
+ });
562
+ }
563
+ getAllAudiences(advertiserId, groupType, sourcePlatform, audienceType, audienceSource, observe = 'body', reportProgress = false) {
564
+ if (advertiserId === null || advertiserId === undefined) {
565
+ throw new Error('Required parameter advertiserId was null or undefined when calling getAllAudiences.');
566
+ }
567
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
568
+ if (groupType !== undefined && groupType !== null) {
569
+ queryParameters = queryParameters.set('groupType', groupType);
570
+ }
571
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
572
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
573
+ }
574
+ if (audienceType !== undefined && audienceType !== null) {
575
+ queryParameters = queryParameters.set('audienceType', audienceType);
576
+ }
577
+ if (audienceSource !== undefined && audienceSource !== null) {
578
+ queryParameters = queryParameters.set('audienceSource', audienceSource);
579
+ }
580
+ let headers = this.defaultHeaders;
581
+ // to determine the Accept header
582
+ let httpHeaderAccepts = [
583
+ '*/*'
584
+ ];
585
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
586
+ if (httpHeaderAcceptSelected != undefined) {
587
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
588
+ }
589
+ // to determine the Content-Type header
590
+ const consumes = [];
591
+ return this.httpClient.request('get', `${this.basePath}/api/audiences/advertiser/${encodeURIComponent(String(advertiserId))}`, {
592
+ params: queryParameters,
593
+ withCredentials: this.configuration.withCredentials,
594
+ headers: headers,
595
+ observe: observe,
596
+ reportProgress: reportProgress
597
+ });
598
+ }
599
+ getGroupStatus(groupId, observe = 'body', reportProgress = false) {
600
+ if (groupId === null || groupId === undefined) {
601
+ throw new Error('Required parameter groupId was null or undefined when calling getGroupStatus.');
602
+ }
603
+ let headers = this.defaultHeaders;
604
+ // to determine the Accept header
605
+ let httpHeaderAccepts = [
606
+ '*/*'
607
+ ];
608
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
609
+ if (httpHeaderAcceptSelected != undefined) {
610
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
611
+ }
612
+ // to determine the Content-Type header
613
+ const consumes = [];
614
+ return this.httpClient.request('get', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}`, {
615
+ withCredentials: this.configuration.withCredentials,
616
+ headers: headers,
617
+ observe: observe,
618
+ reportProgress: reportProgress
619
+ });
620
+ }
621
+ updateDsCustomQuerySql(body, groupId, observe = 'body', reportProgress = false) {
622
+ if (body === null || body === undefined) {
623
+ throw new Error('Required parameter body was null or undefined when calling updateDsCustomQuerySql.');
624
+ }
625
+ if (groupId === null || groupId === undefined) {
626
+ throw new Error('Required parameter groupId was null or undefined when calling updateDsCustomQuerySql.');
627
+ }
628
+ let headers = this.defaultHeaders;
629
+ // to determine the Accept header
630
+ let httpHeaderAccepts = [
631
+ '*/*'
632
+ ];
633
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
634
+ if (httpHeaderAcceptSelected != undefined) {
635
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
636
+ }
637
+ // to determine the Content-Type header
638
+ const consumes = [
639
+ 'application/json'
640
+ ];
641
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
642
+ if (httpContentTypeSelected != undefined) {
643
+ headers = headers.set('Content-Type', httpContentTypeSelected);
644
+ }
645
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/custom/ds-query/sql`, {
646
+ body: body,
647
+ withCredentials: this.configuration.withCredentials,
648
+ headers: headers,
649
+ observe: observe,
650
+ reportProgress: reportProgress
651
+ });
652
+ }
653
+ updateName(body, groupId, observe = 'body', reportProgress = false) {
654
+ if (body === null || body === undefined) {
655
+ throw new Error('Required parameter body was null or undefined when calling updateName.');
656
+ }
657
+ if (groupId === null || groupId === undefined) {
658
+ throw new Error('Required parameter groupId was null or undefined when calling updateName.');
659
+ }
660
+ let headers = this.defaultHeaders;
661
+ // to determine the Accept header
662
+ let httpHeaderAccepts = [
663
+ '*/*'
664
+ ];
665
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
666
+ if (httpHeaderAcceptSelected != undefined) {
667
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
668
+ }
669
+ // to determine the Content-Type header
670
+ const consumes = [
671
+ 'application/json'
672
+ ];
673
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
674
+ if (httpContentTypeSelected != undefined) {
675
+ headers = headers.set('Content-Type', httpContentTypeSelected);
676
+ }
677
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/name`, {
678
+ body: body,
679
+ withCredentials: this.configuration.withCredentials,
680
+ headers: headers,
681
+ observe: observe,
682
+ reportProgress: reportProgress
683
+ });
684
+ }
685
+ validateDsQuery(body, observe = 'body', reportProgress = false) {
686
+ if (body === null || body === undefined) {
687
+ throw new Error('Required parameter body was null or undefined when calling validateDsQuery.');
688
+ }
689
+ let headers = this.defaultHeaders;
690
+ // to determine the Accept header
691
+ let httpHeaderAccepts = [
692
+ '*/*'
693
+ ];
694
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
695
+ if (httpHeaderAcceptSelected != undefined) {
696
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
697
+ }
698
+ // to determine the Content-Type header
699
+ const consumes = [
700
+ 'application/json'
701
+ ];
702
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
703
+ if (httpContentTypeSelected != undefined) {
704
+ headers = headers.set('Content-Type', httpContentTypeSelected);
705
+ }
706
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/validate-ds-query`, {
707
+ body: body,
708
+ withCredentials: this.configuration.withCredentials,
709
+ headers: headers,
710
+ observe: observe,
711
+ reportProgress: reportProgress
712
+ });
713
+ }
714
+ }
715
+ AudienceControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
716
+ AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
717
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
718
+ type: Injectable
719
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
720
+ type: Optional
721
+ }, {
722
+ type: Inject,
723
+ args: [BASE_PATH]
724
+ }] }, { type: Configuration, decorators: [{
725
+ type: Optional
726
726
  }] }]; } });
727
727
 
728
- /**
729
- * Intellibid API
730
- * API documentation for the Intellibid platform
731
- *
732
- * OpenAPI spec version: 1.0
733
- *
734
- *
735
- * NOTE: This class is auto generated by the swagger code generator program.
736
- * https://github.com/swagger-api/swagger-codegen.git
737
- * Do not edit the class manually.
738
- */ /* tslint:disable:no-unused-variable member-ordering */
739
- class CampaignControllerService {
740
- constructor(httpClient, basePath, configuration) {
741
- this.httpClient = httpClient;
742
- this.basePath = 'http://dev1-intellibid-svc.revx.io';
743
- this.defaultHeaders = new HttpHeaders();
744
- this.configuration = new Configuration();
745
- if (basePath) {
746
- this.basePath = basePath;
747
- }
748
- if (configuration) {
749
- this.configuration = configuration;
750
- this.basePath = basePath || configuration.basePath || this.basePath;
751
- }
752
- }
753
- /**
754
- * @param consumes string[] mime-types
755
- * @return true: consumes contains 'multipart/form-data', false: otherwise
756
- */
757
- canConsumeForm(consumes) {
758
- const form = 'multipart/form-data';
759
- for (const consume of consumes) {
760
- if (form === consume) {
761
- return true;
762
- }
763
- }
764
- return false;
765
- }
766
- createCampaign(body, observe = 'body', reportProgress = false) {
767
- if (body === null || body === undefined) {
768
- throw new Error('Required parameter body was null or undefined when calling createCampaign.');
769
- }
770
- let headers = this.defaultHeaders;
771
- // to determine the Accept header
772
- let httpHeaderAccepts = [
773
- '*/*'
774
- ];
775
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
776
- if (httpHeaderAcceptSelected != undefined) {
777
- headers = headers.set('Accept', httpHeaderAcceptSelected);
778
- }
779
- // to determine the Content-Type header
780
- const consumes = [
781
- 'application/json'
782
- ];
783
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
784
- if (httpContentTypeSelected != undefined) {
785
- headers = headers.set('Content-Type', httpContentTypeSelected);
786
- }
787
- return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
788
- body: body,
789
- withCredentials: this.configuration.withCredentials,
790
- headers: headers,
791
- observe: observe,
792
- reportProgress: reportProgress
793
- });
794
- }
795
- getAllCampaigns(id, advertiserId, name, platformCampaignId, payoutType, marketFeedbackEnabled, activeOnPlatform, sourcePlatform, page, size, sort, observe = 'body', reportProgress = false) {
796
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
797
- if (id !== undefined && id !== null) {
798
- queryParameters = queryParameters.set('id', id);
799
- }
800
- if (advertiserId !== undefined && advertiserId !== null) {
801
- queryParameters = queryParameters.set('advertiserId', advertiserId);
802
- }
803
- if (name !== undefined && name !== null) {
804
- queryParameters = queryParameters.set('name', name);
805
- }
806
- if (platformCampaignId !== undefined && platformCampaignId !== null) {
807
- queryParameters = queryParameters.set('platformCampaignId', platformCampaignId);
808
- }
809
- if (payoutType !== undefined && payoutType !== null) {
810
- queryParameters = queryParameters.set('payoutType', payoutType);
811
- }
812
- if (marketFeedbackEnabled !== undefined && marketFeedbackEnabled !== null) {
813
- queryParameters = queryParameters.set('marketFeedbackEnabled', marketFeedbackEnabled);
814
- }
815
- if (activeOnPlatform !== undefined && activeOnPlatform !== null) {
816
- queryParameters = queryParameters.set('activeOnPlatform', activeOnPlatform);
817
- }
818
- if (sourcePlatform !== undefined && sourcePlatform !== null) {
819
- queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
820
- }
821
- if (page !== undefined && page !== null) {
822
- queryParameters = queryParameters.set('page', page);
823
- }
824
- if (size !== undefined && size !== null) {
825
- queryParameters = queryParameters.set('size', size);
826
- }
827
- if (sort) {
828
- sort.forEach((element) => {
829
- queryParameters = queryParameters.append('sort', element);
830
- });
831
- }
832
- let headers = this.defaultHeaders;
833
- // to determine the Accept header
834
- let httpHeaderAccepts = [
835
- '*/*'
836
- ];
837
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
838
- if (httpHeaderAcceptSelected != undefined) {
839
- headers = headers.set('Accept', httpHeaderAcceptSelected);
840
- }
841
- // to determine the Content-Type header
842
- const consumes = [];
843
- return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
844
- params: queryParameters,
845
- withCredentials: this.configuration.withCredentials,
846
- headers: headers,
847
- observe: observe,
848
- reportProgress: reportProgress
849
- });
850
- }
851
- getCampaign(id, observe = 'body', reportProgress = false) {
852
- if (id === null || id === undefined) {
853
- throw new Error('Required parameter id was null or undefined when calling getCampaign.');
854
- }
855
- let headers = this.defaultHeaders;
856
- // to determine the Accept header
857
- let httpHeaderAccepts = [
858
- '*/*'
859
- ];
860
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
861
- if (httpHeaderAcceptSelected != undefined) {
862
- headers = headers.set('Accept', httpHeaderAcceptSelected);
863
- }
864
- // to determine the Content-Type header
865
- const consumes = [];
866
- return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
867
- withCredentials: this.configuration.withCredentials,
868
- headers: headers,
869
- observe: observe,
870
- reportProgress: reportProgress
871
- });
872
- }
873
- getCampaignLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
874
- if (id === null || id === undefined) {
875
- throw new Error('Required parameter id was null or undefined when calling getCampaignLogs.');
876
- }
877
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
878
- if (page !== undefined && page !== null) {
879
- queryParameters = queryParameters.set('page', page);
880
- }
881
- if (size !== undefined && size !== null) {
882
- queryParameters = queryParameters.set('size', size);
883
- }
884
- if (sort) {
885
- sort.forEach((element) => {
886
- queryParameters = queryParameters.append('sort', element);
887
- });
888
- }
889
- let headers = this.defaultHeaders;
890
- // to determine the Accept header
891
- let httpHeaderAccepts = [
892
- '*/*'
893
- ];
894
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
895
- if (httpHeaderAcceptSelected != undefined) {
896
- headers = headers.set('Accept', httpHeaderAcceptSelected);
897
- }
898
- // to determine the Content-Type header
899
- const consumes = [];
900
- return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/log`, {
901
- params: queryParameters,
902
- withCredentials: this.configuration.withCredentials,
903
- headers: headers,
904
- observe: observe,
905
- reportProgress: reportProgress
906
- });
907
- }
908
- goalforAdAccount(body, observe = 'body', reportProgress = false) {
909
- if (body === null || body === undefined) {
910
- throw new Error('Required parameter body was null or undefined when calling goalforAdAccount.');
911
- }
912
- let headers = this.defaultHeaders;
913
- // to determine the Accept header
914
- let httpHeaderAccepts = [
915
- '*/*'
916
- ];
917
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
918
- if (httpHeaderAcceptSelected != undefined) {
919
- headers = headers.set('Accept', httpHeaderAcceptSelected);
920
- }
921
- // to determine the Content-Type header
922
- const consumes = [
923
- 'application/json'
924
- ];
925
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
926
- if (httpContentTypeSelected != undefined) {
927
- headers = headers.set('Content-Type', httpContentTypeSelected);
928
- }
929
- return this.httpClient.request('post', `${this.basePath}/api/campaign/goal-events`, {
930
- body: body,
931
- withCredentials: this.configuration.withCredentials,
932
- headers: headers,
933
- observe: observe,
934
- reportProgress: reportProgress
935
- });
936
- }
937
- scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
938
- if (body === null || body === undefined) {
939
- throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
940
- }
941
- if (id === null || id === undefined) {
942
- throw new Error('Required parameter id was null or undefined when calling scheduleUpdate.');
943
- }
944
- let headers = this.defaultHeaders;
945
- // to determine the Accept header
946
- let httpHeaderAccepts = [
947
- '*/*'
948
- ];
949
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
950
- if (httpHeaderAcceptSelected != undefined) {
951
- headers = headers.set('Accept', httpHeaderAcceptSelected);
952
- }
953
- // to determine the Content-Type header
954
- const consumes = [
955
- 'application/json'
956
- ];
957
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
958
- if (httpContentTypeSelected != undefined) {
959
- headers = headers.set('Content-Type', httpContentTypeSelected);
960
- }
961
- return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/schedule-update`, {
962
- body: body,
963
- withCredentials: this.configuration.withCredentials,
964
- headers: headers,
965
- observe: observe,
966
- reportProgress: reportProgress
967
- });
968
- }
969
- searchCampaign(q, sourcePlatform, observe = 'body', reportProgress = false) {
970
- if (q === null || q === undefined) {
971
- throw new Error('Required parameter q was null or undefined when calling searchCampaign.');
972
- }
973
- if (sourcePlatform === null || sourcePlatform === undefined) {
974
- throw new Error('Required parameter sourcePlatform was null or undefined when calling searchCampaign.');
975
- }
976
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
977
- if (q !== undefined && q !== null) {
978
- queryParameters = queryParameters.set('q', q);
979
- }
980
- if (sourcePlatform !== undefined && sourcePlatform !== null) {
981
- queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
982
- }
983
- let headers = this.defaultHeaders;
984
- // to determine the Accept header
985
- let httpHeaderAccepts = [
986
- '*/*'
987
- ];
988
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
989
- if (httpHeaderAcceptSelected != undefined) {
990
- headers = headers.set('Accept', httpHeaderAcceptSelected);
991
- }
992
- // to determine the Content-Type header
993
- const consumes = [];
994
- return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
995
- params: queryParameters,
996
- withCredentials: this.configuration.withCredentials,
997
- headers: headers,
998
- observe: observe,
999
- reportProgress: reportProgress
1000
- });
1001
- }
1002
- setStatus(id, active, observe = 'body', reportProgress = false) {
1003
- if (id === null || id === undefined) {
1004
- throw new Error('Required parameter id was null or undefined when calling setStatus.');
1005
- }
1006
- if (active === null || active === undefined) {
1007
- throw new Error('Required parameter active was null or undefined when calling setStatus.');
1008
- }
1009
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1010
- if (active !== undefined && active !== null) {
1011
- queryParameters = queryParameters.set('active', active);
1012
- }
1013
- let headers = this.defaultHeaders;
1014
- // to determine the Accept header
1015
- let httpHeaderAccepts = [
1016
- '*/*'
1017
- ];
1018
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1019
- if (httpHeaderAcceptSelected != undefined) {
1020
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1021
- }
1022
- // to determine the Content-Type header
1023
- const consumes = [];
1024
- return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/status`, {
1025
- params: queryParameters,
1026
- withCredentials: this.configuration.withCredentials,
1027
- headers: headers,
1028
- observe: observe,
1029
- reportProgress: reportProgress
1030
- });
1031
- }
1032
- }
1033
- 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 });
1034
- CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
1035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
1036
- type: Injectable
1037
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1038
- type: Optional
1039
- }, {
1040
- type: Inject,
1041
- args: [BASE_PATH]
1042
- }] }, { type: Configuration, decorators: [{
1043
- type: Optional
728
+ /**
729
+ * Intellibid API
730
+ * API documentation for the Intellibid platform
731
+ *
732
+ * OpenAPI spec version: 1.0
733
+ *
734
+ *
735
+ * NOTE: This class is auto generated by the swagger code generator program.
736
+ * https://github.com/swagger-api/swagger-codegen.git
737
+ * Do not edit the class manually.
738
+ */ /* tslint:disable:no-unused-variable member-ordering */
739
+ class CampaignControllerService {
740
+ constructor(httpClient, basePath, configuration) {
741
+ this.httpClient = httpClient;
742
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
743
+ this.defaultHeaders = new HttpHeaders();
744
+ this.configuration = new Configuration();
745
+ if (basePath) {
746
+ this.basePath = basePath;
747
+ }
748
+ if (configuration) {
749
+ this.configuration = configuration;
750
+ this.basePath = basePath || configuration.basePath || this.basePath;
751
+ }
752
+ }
753
+ /**
754
+ * @param consumes string[] mime-types
755
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
756
+ */
757
+ canConsumeForm(consumes) {
758
+ const form = 'multipart/form-data';
759
+ for (const consume of consumes) {
760
+ if (form === consume) {
761
+ return true;
762
+ }
763
+ }
764
+ return false;
765
+ }
766
+ createCampaign(body, observe = 'body', reportProgress = false) {
767
+ if (body === null || body === undefined) {
768
+ throw new Error('Required parameter body was null or undefined when calling createCampaign.');
769
+ }
770
+ let headers = this.defaultHeaders;
771
+ // to determine the Accept header
772
+ let httpHeaderAccepts = [
773
+ '*/*'
774
+ ];
775
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
776
+ if (httpHeaderAcceptSelected != undefined) {
777
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
778
+ }
779
+ // to determine the Content-Type header
780
+ const consumes = [
781
+ 'application/json'
782
+ ];
783
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
784
+ if (httpContentTypeSelected != undefined) {
785
+ headers = headers.set('Content-Type', httpContentTypeSelected);
786
+ }
787
+ return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
788
+ body: body,
789
+ withCredentials: this.configuration.withCredentials,
790
+ headers: headers,
791
+ observe: observe,
792
+ reportProgress: reportProgress
793
+ });
794
+ }
795
+ getAllCampaigns(id, advertiserId, name, platformCampaignId, payoutType, marketFeedbackEnabled, activeOnPlatform, sourcePlatform, page, size, sort, observe = 'body', reportProgress = false) {
796
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
797
+ if (id !== undefined && id !== null) {
798
+ queryParameters = queryParameters.set('id', id);
799
+ }
800
+ if (advertiserId !== undefined && advertiserId !== null) {
801
+ queryParameters = queryParameters.set('advertiserId', advertiserId);
802
+ }
803
+ if (name !== undefined && name !== null) {
804
+ queryParameters = queryParameters.set('name', name);
805
+ }
806
+ if (platformCampaignId !== undefined && platformCampaignId !== null) {
807
+ queryParameters = queryParameters.set('platformCampaignId', platformCampaignId);
808
+ }
809
+ if (payoutType !== undefined && payoutType !== null) {
810
+ queryParameters = queryParameters.set('payoutType', payoutType);
811
+ }
812
+ if (marketFeedbackEnabled !== undefined && marketFeedbackEnabled !== null) {
813
+ queryParameters = queryParameters.set('marketFeedbackEnabled', marketFeedbackEnabled);
814
+ }
815
+ if (activeOnPlatform !== undefined && activeOnPlatform !== null) {
816
+ queryParameters = queryParameters.set('activeOnPlatform', activeOnPlatform);
817
+ }
818
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
819
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
820
+ }
821
+ if (page !== undefined && page !== null) {
822
+ queryParameters = queryParameters.set('page', page);
823
+ }
824
+ if (size !== undefined && size !== null) {
825
+ queryParameters = queryParameters.set('size', size);
826
+ }
827
+ if (sort) {
828
+ sort.forEach((element) => {
829
+ queryParameters = queryParameters.append('sort', element);
830
+ });
831
+ }
832
+ let headers = this.defaultHeaders;
833
+ // to determine the Accept header
834
+ let httpHeaderAccepts = [
835
+ '*/*'
836
+ ];
837
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
838
+ if (httpHeaderAcceptSelected != undefined) {
839
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
840
+ }
841
+ // to determine the Content-Type header
842
+ const consumes = [];
843
+ return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
844
+ params: queryParameters,
845
+ withCredentials: this.configuration.withCredentials,
846
+ headers: headers,
847
+ observe: observe,
848
+ reportProgress: reportProgress
849
+ });
850
+ }
851
+ getCampaign(id, observe = 'body', reportProgress = false) {
852
+ if (id === null || id === undefined) {
853
+ throw new Error('Required parameter id was null or undefined when calling getCampaign.');
854
+ }
855
+ let headers = this.defaultHeaders;
856
+ // to determine the Accept header
857
+ let httpHeaderAccepts = [
858
+ '*/*'
859
+ ];
860
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
861
+ if (httpHeaderAcceptSelected != undefined) {
862
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
863
+ }
864
+ // to determine the Content-Type header
865
+ const consumes = [];
866
+ return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
867
+ withCredentials: this.configuration.withCredentials,
868
+ headers: headers,
869
+ observe: observe,
870
+ reportProgress: reportProgress
871
+ });
872
+ }
873
+ getCampaignLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
874
+ if (id === null || id === undefined) {
875
+ throw new Error('Required parameter id was null or undefined when calling getCampaignLogs.');
876
+ }
877
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
878
+ if (page !== undefined && page !== null) {
879
+ queryParameters = queryParameters.set('page', page);
880
+ }
881
+ if (size !== undefined && size !== null) {
882
+ queryParameters = queryParameters.set('size', size);
883
+ }
884
+ if (sort) {
885
+ sort.forEach((element) => {
886
+ queryParameters = queryParameters.append('sort', element);
887
+ });
888
+ }
889
+ let headers = this.defaultHeaders;
890
+ // to determine the Accept header
891
+ let httpHeaderAccepts = [
892
+ '*/*'
893
+ ];
894
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
895
+ if (httpHeaderAcceptSelected != undefined) {
896
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
897
+ }
898
+ // to determine the Content-Type header
899
+ const consumes = [];
900
+ return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/log`, {
901
+ params: queryParameters,
902
+ withCredentials: this.configuration.withCredentials,
903
+ headers: headers,
904
+ observe: observe,
905
+ reportProgress: reportProgress
906
+ });
907
+ }
908
+ scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
909
+ if (body === null || body === undefined) {
910
+ throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
911
+ }
912
+ if (id === null || id === undefined) {
913
+ throw new Error('Required parameter id was null or undefined when calling scheduleUpdate.');
914
+ }
915
+ let headers = this.defaultHeaders;
916
+ // to determine the Accept header
917
+ let httpHeaderAccepts = [
918
+ '*/*'
919
+ ];
920
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
921
+ if (httpHeaderAcceptSelected != undefined) {
922
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
923
+ }
924
+ // to determine the Content-Type header
925
+ const consumes = [
926
+ 'application/json'
927
+ ];
928
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
929
+ if (httpContentTypeSelected != undefined) {
930
+ headers = headers.set('Content-Type', httpContentTypeSelected);
931
+ }
932
+ return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/schedule-update`, {
933
+ body: body,
934
+ withCredentials: this.configuration.withCredentials,
935
+ headers: headers,
936
+ observe: observe,
937
+ reportProgress: reportProgress
938
+ });
939
+ }
940
+ searchCampaign(q, sourcePlatform, observe = 'body', reportProgress = false) {
941
+ if (q === null || q === undefined) {
942
+ throw new Error('Required parameter q was null or undefined when calling searchCampaign.');
943
+ }
944
+ if (sourcePlatform === null || sourcePlatform === undefined) {
945
+ throw new Error('Required parameter sourcePlatform was null or undefined when calling searchCampaign.');
946
+ }
947
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
948
+ if (q !== undefined && q !== null) {
949
+ queryParameters = queryParameters.set('q', q);
950
+ }
951
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
952
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
953
+ }
954
+ let headers = this.defaultHeaders;
955
+ // to determine the Accept header
956
+ let httpHeaderAccepts = [
957
+ '*/*'
958
+ ];
959
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
960
+ if (httpHeaderAcceptSelected != undefined) {
961
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
962
+ }
963
+ // to determine the Content-Type header
964
+ const consumes = [];
965
+ return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
966
+ params: queryParameters,
967
+ withCredentials: this.configuration.withCredentials,
968
+ headers: headers,
969
+ observe: observe,
970
+ reportProgress: reportProgress
971
+ });
972
+ }
973
+ setStatus(id, active, observe = 'body', reportProgress = false) {
974
+ if (id === null || id === undefined) {
975
+ throw new Error('Required parameter id was null or undefined when calling setStatus.');
976
+ }
977
+ if (active === null || active === undefined) {
978
+ throw new Error('Required parameter active was null or undefined when calling setStatus.');
979
+ }
980
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
981
+ if (active !== undefined && active !== null) {
982
+ queryParameters = queryParameters.set('active', active);
983
+ }
984
+ let headers = this.defaultHeaders;
985
+ // to determine the Accept header
986
+ let httpHeaderAccepts = [
987
+ '*/*'
988
+ ];
989
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
990
+ if (httpHeaderAcceptSelected != undefined) {
991
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
992
+ }
993
+ // to determine the Content-Type header
994
+ const consumes = [];
995
+ return this.httpClient.request('post', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}/status`, {
996
+ params: queryParameters,
997
+ withCredentials: this.configuration.withCredentials,
998
+ headers: headers,
999
+ observe: observe,
1000
+ reportProgress: reportProgress
1001
+ });
1002
+ }
1003
+ }
1004
+ 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 });
1005
+ CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
1006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, decorators: [{
1007
+ type: Injectable
1008
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1009
+ type: Optional
1010
+ }, {
1011
+ type: Inject,
1012
+ args: [BASE_PATH]
1013
+ }] }, { type: Configuration, decorators: [{
1014
+ type: Optional
1044
1015
  }] }]; } });
1045
1016
 
1046
- /**
1047
- * Intellibid API
1048
- * API documentation for the Intellibid platform
1049
- *
1050
- * OpenAPI spec version: 1.0
1051
- *
1052
- *
1053
- * NOTE: This class is auto generated by the swagger code generator program.
1054
- * https://github.com/swagger-api/swagger-codegen.git
1055
- * Do not edit the class manually.
1056
- */ /* tslint:disable:no-unused-variable member-ordering */
1057
- class InsightsControllerService {
1058
- constructor(httpClient, basePath, configuration) {
1059
- this.httpClient = httpClient;
1060
- this.basePath = 'http://dev1-intellibid-svc.revx.io';
1061
- this.defaultHeaders = new HttpHeaders();
1062
- this.configuration = new Configuration();
1063
- if (basePath) {
1064
- this.basePath = basePath;
1065
- }
1066
- if (configuration) {
1067
- this.configuration = configuration;
1068
- this.basePath = basePath || configuration.basePath || this.basePath;
1069
- }
1070
- }
1071
- /**
1072
- * @param consumes string[] mime-types
1073
- * @return true: consumes contains 'multipart/form-data', false: otherwise
1074
- */
1075
- canConsumeForm(consumes) {
1076
- const form = 'multipart/form-data';
1077
- for (const consume of consumes) {
1078
- if (form === consume) {
1079
- return true;
1080
- }
1081
- }
1082
- return false;
1083
- }
1084
- getCampaignInsights(startDate, endDate, sourcePlatform, interval, requireMmpReport, observe = 'body', reportProgress = false) {
1085
- if (startDate === null || startDate === undefined) {
1086
- throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
1087
- }
1088
- if (endDate === null || endDate === undefined) {
1089
- throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
1090
- }
1091
- if (sourcePlatform === null || sourcePlatform === undefined) {
1092
- throw new Error('Required parameter sourcePlatform was null or undefined when calling getCampaignInsights.');
1093
- }
1094
- if (interval === null || interval === undefined) {
1095
- throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
1096
- }
1097
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1098
- if (startDate !== undefined && startDate !== null) {
1099
- queryParameters = queryParameters.set('startDate', startDate);
1100
- }
1101
- if (endDate !== undefined && endDate !== null) {
1102
- queryParameters = queryParameters.set('endDate', endDate);
1103
- }
1104
- if (sourcePlatform !== undefined && sourcePlatform !== null) {
1105
- queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
1106
- }
1107
- if (interval !== undefined && interval !== null) {
1108
- queryParameters = queryParameters.set('interval', interval);
1109
- }
1110
- if (requireMmpReport !== undefined && requireMmpReport !== null) {
1111
- queryParameters = queryParameters.set('requireMmpReport', requireMmpReport);
1112
- }
1113
- let headers = this.defaultHeaders;
1114
- // to determine the Accept header
1115
- let httpHeaderAccepts = [
1116
- '*/*'
1117
- ];
1118
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1119
- if (httpHeaderAcceptSelected != undefined) {
1120
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1121
- }
1122
- // to determine the Content-Type header
1123
- const consumes = [];
1124
- return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
1125
- params: queryParameters,
1126
- withCredentials: this.configuration.withCredentials,
1127
- headers: headers,
1128
- observe: observe,
1129
- reportProgress: reportProgress
1130
- });
1131
- }
1132
- }
1133
- InsightsControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1134
- InsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService });
1135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, decorators: [{
1136
- type: Injectable
1137
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1138
- type: Optional
1139
- }, {
1140
- type: Inject,
1141
- args: [BASE_PATH]
1142
- }] }, { type: Configuration, decorators: [{
1143
- type: Optional
1017
+ /**
1018
+ * Intellibid API
1019
+ * API documentation for the Intellibid platform
1020
+ *
1021
+ * OpenAPI spec version: 1.0
1022
+ *
1023
+ *
1024
+ * NOTE: This class is auto generated by the swagger code generator program.
1025
+ * https://github.com/swagger-api/swagger-codegen.git
1026
+ * Do not edit the class manually.
1027
+ */ /* tslint:disable:no-unused-variable member-ordering */
1028
+ class InsightsControllerService {
1029
+ constructor(httpClient, basePath, configuration) {
1030
+ this.httpClient = httpClient;
1031
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
1032
+ this.defaultHeaders = new HttpHeaders();
1033
+ this.configuration = new Configuration();
1034
+ if (basePath) {
1035
+ this.basePath = basePath;
1036
+ }
1037
+ if (configuration) {
1038
+ this.configuration = configuration;
1039
+ this.basePath = basePath || configuration.basePath || this.basePath;
1040
+ }
1041
+ }
1042
+ /**
1043
+ * @param consumes string[] mime-types
1044
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1045
+ */
1046
+ canConsumeForm(consumes) {
1047
+ const form = 'multipart/form-data';
1048
+ for (const consume of consumes) {
1049
+ if (form === consume) {
1050
+ return true;
1051
+ }
1052
+ }
1053
+ return false;
1054
+ }
1055
+ getCampaignInsights(startDate, endDate, sourcePlatform, interval, requireMmpReport, observe = 'body', reportProgress = false) {
1056
+ if (startDate === null || startDate === undefined) {
1057
+ throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
1058
+ }
1059
+ if (endDate === null || endDate === undefined) {
1060
+ throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
1061
+ }
1062
+ if (sourcePlatform === null || sourcePlatform === undefined) {
1063
+ throw new Error('Required parameter sourcePlatform was null or undefined when calling getCampaignInsights.');
1064
+ }
1065
+ if (interval === null || interval === undefined) {
1066
+ throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
1067
+ }
1068
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
1069
+ if (startDate !== undefined && startDate !== null) {
1070
+ queryParameters = queryParameters.set('startDate', startDate);
1071
+ }
1072
+ if (endDate !== undefined && endDate !== null) {
1073
+ queryParameters = queryParameters.set('endDate', endDate);
1074
+ }
1075
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
1076
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
1077
+ }
1078
+ if (interval !== undefined && interval !== null) {
1079
+ queryParameters = queryParameters.set('interval', interval);
1080
+ }
1081
+ if (requireMmpReport !== undefined && requireMmpReport !== null) {
1082
+ queryParameters = queryParameters.set('requireMmpReport', requireMmpReport);
1083
+ }
1084
+ let headers = this.defaultHeaders;
1085
+ // to determine the Accept header
1086
+ let httpHeaderAccepts = [
1087
+ '*/*'
1088
+ ];
1089
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1090
+ if (httpHeaderAcceptSelected != undefined) {
1091
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1092
+ }
1093
+ // to determine the Content-Type header
1094
+ const consumes = [];
1095
+ return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
1096
+ params: queryParameters,
1097
+ withCredentials: this.configuration.withCredentials,
1098
+ headers: headers,
1099
+ observe: observe,
1100
+ reportProgress: reportProgress
1101
+ });
1102
+ }
1103
+ }
1104
+ InsightsControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1105
+ InsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService });
1106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsightsControllerService, decorators: [{
1107
+ type: Injectable
1108
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1109
+ type: Optional
1110
+ }, {
1111
+ type: Inject,
1112
+ args: [BASE_PATH]
1113
+ }] }, { type: Configuration, decorators: [{
1114
+ type: Optional
1144
1115
  }] }]; } });
1145
1116
 
1146
- /**
1147
- * Intellibid API
1148
- * API documentation for the Intellibid platform
1149
- *
1150
- * OpenAPI spec version: 1.0
1151
- *
1152
- *
1153
- * NOTE: This class is auto generated by the swagger code generator program.
1154
- * https://github.com/swagger-api/swagger-codegen.git
1155
- * Do not edit the class manually.
1156
- */ /* tslint:disable:no-unused-variable member-ordering */
1157
- class LookupDataControllerService {
1158
- constructor(httpClient, basePath, configuration) {
1159
- this.httpClient = httpClient;
1160
- this.basePath = 'http://dev1-intellibid-svc.revx.io';
1161
- this.defaultHeaders = new HttpHeaders();
1162
- this.configuration = new Configuration();
1163
- if (basePath) {
1164
- this.basePath = basePath;
1165
- }
1166
- if (configuration) {
1167
- this.configuration = configuration;
1168
- this.basePath = basePath || configuration.basePath || this.basePath;
1169
- }
1170
- }
1171
- /**
1172
- * @param consumes string[] mime-types
1173
- * @return true: consumes contains 'multipart/form-data', false: otherwise
1174
- */
1175
- canConsumeForm(consumes) {
1176
- const form = 'multipart/form-data';
1177
- for (const consume of consumes) {
1178
- if (form === consume) {
1179
- return true;
1180
- }
1181
- }
1182
- return false;
1183
- }
1184
- getAllActiveOS(observe = 'body', reportProgress = false) {
1185
- let headers = this.defaultHeaders;
1186
- // to determine the Accept header
1187
- let httpHeaderAccepts = [
1188
- '*/*'
1189
- ];
1190
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1191
- if (httpHeaderAcceptSelected != undefined) {
1192
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1193
- }
1194
- // to determine the Content-Type header
1195
- const consumes = [];
1196
- return this.httpClient.request('get', `${this.basePath}/api/lookups/os`, {
1197
- withCredentials: this.configuration.withCredentials,
1198
- headers: headers,
1199
- observe: observe,
1200
- reportProgress: reportProgress
1201
- });
1202
- }
1203
- getAllActivePlatforms(observe = 'body', reportProgress = false) {
1204
- let headers = this.defaultHeaders;
1205
- // to determine the Accept header
1206
- let httpHeaderAccepts = [
1207
- '*/*'
1208
- ];
1209
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1210
- if (httpHeaderAcceptSelected != undefined) {
1211
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1212
- }
1213
- // to determine the Content-Type header
1214
- const consumes = [];
1215
- return this.httpClient.request('get', `${this.basePath}/api/lookups/platforms`, {
1216
- withCredentials: this.configuration.withCredentials,
1217
- headers: headers,
1218
- observe: observe,
1219
- reportProgress: reportProgress
1220
- });
1221
- }
1222
- getAllBusinessZones(observe = 'body', reportProgress = false) {
1223
- let headers = this.defaultHeaders;
1224
- // to determine the Accept header
1225
- let httpHeaderAccepts = [
1226
- '*/*'
1227
- ];
1228
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1229
- if (httpHeaderAcceptSelected != undefined) {
1230
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1231
- }
1232
- // to determine the Content-Type header
1233
- const consumes = [];
1234
- return this.httpClient.request('get', `${this.basePath}/api/lookups/business-zones`, {
1235
- withCredentials: this.configuration.withCredentials,
1236
- headers: headers,
1237
- observe: observe,
1238
- reportProgress: reportProgress
1239
- });
1240
- }
1241
- getAllCountries(observe = 'body', reportProgress = false) {
1242
- let headers = this.defaultHeaders;
1243
- // to determine the Accept header
1244
- let httpHeaderAccepts = [
1245
- '*/*'
1246
- ];
1247
- const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1248
- if (httpHeaderAcceptSelected != undefined) {
1249
- headers = headers.set('Accept', httpHeaderAcceptSelected);
1250
- }
1251
- // to determine the Content-Type header
1252
- const consumes = [];
1253
- return this.httpClient.request('get', `${this.basePath}/api/lookups/countries`, {
1254
- withCredentials: this.configuration.withCredentials,
1255
- headers: headers,
1256
- observe: observe,
1257
- reportProgress: reportProgress
1258
- });
1259
- }
1260
- }
1261
- LookupDataControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1262
- LookupDataControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService });
1263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, decorators: [{
1264
- type: Injectable
1265
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1266
- type: Optional
1267
- }, {
1268
- type: Inject,
1269
- args: [BASE_PATH]
1270
- }] }, { type: Configuration, decorators: [{
1271
- type: Optional
1117
+ /**
1118
+ * Intellibid API
1119
+ * API documentation for the Intellibid platform
1120
+ *
1121
+ * OpenAPI spec version: 1.0
1122
+ *
1123
+ *
1124
+ * NOTE: This class is auto generated by the swagger code generator program.
1125
+ * https://github.com/swagger-api/swagger-codegen.git
1126
+ * Do not edit the class manually.
1127
+ */ /* tslint:disable:no-unused-variable member-ordering */
1128
+ class LookupDataControllerService {
1129
+ constructor(httpClient, basePath, configuration) {
1130
+ this.httpClient = httpClient;
1131
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
1132
+ this.defaultHeaders = new HttpHeaders();
1133
+ this.configuration = new Configuration();
1134
+ if (basePath) {
1135
+ this.basePath = basePath;
1136
+ }
1137
+ if (configuration) {
1138
+ this.configuration = configuration;
1139
+ this.basePath = basePath || configuration.basePath || this.basePath;
1140
+ }
1141
+ }
1142
+ /**
1143
+ * @param consumes string[] mime-types
1144
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1145
+ */
1146
+ canConsumeForm(consumes) {
1147
+ const form = 'multipart/form-data';
1148
+ for (const consume of consumes) {
1149
+ if (form === consume) {
1150
+ return true;
1151
+ }
1152
+ }
1153
+ return false;
1154
+ }
1155
+ getAllActiveOS(observe = 'body', reportProgress = false) {
1156
+ let headers = this.defaultHeaders;
1157
+ // to determine the Accept header
1158
+ let httpHeaderAccepts = [
1159
+ '*/*'
1160
+ ];
1161
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1162
+ if (httpHeaderAcceptSelected != undefined) {
1163
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1164
+ }
1165
+ // to determine the Content-Type header
1166
+ const consumes = [];
1167
+ return this.httpClient.request('get', `${this.basePath}/api/lookups/os`, {
1168
+ withCredentials: this.configuration.withCredentials,
1169
+ headers: headers,
1170
+ observe: observe,
1171
+ reportProgress: reportProgress
1172
+ });
1173
+ }
1174
+ getAllActivePlatforms(observe = 'body', reportProgress = false) {
1175
+ let headers = this.defaultHeaders;
1176
+ // to determine the Accept header
1177
+ let httpHeaderAccepts = [
1178
+ '*/*'
1179
+ ];
1180
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1181
+ if (httpHeaderAcceptSelected != undefined) {
1182
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1183
+ }
1184
+ // to determine the Content-Type header
1185
+ const consumes = [];
1186
+ return this.httpClient.request('get', `${this.basePath}/api/lookups/platforms`, {
1187
+ withCredentials: this.configuration.withCredentials,
1188
+ headers: headers,
1189
+ observe: observe,
1190
+ reportProgress: reportProgress
1191
+ });
1192
+ }
1193
+ getAllBusinessZones(observe = 'body', reportProgress = false) {
1194
+ let headers = this.defaultHeaders;
1195
+ // to determine the Accept header
1196
+ let httpHeaderAccepts = [
1197
+ '*/*'
1198
+ ];
1199
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1200
+ if (httpHeaderAcceptSelected != undefined) {
1201
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1202
+ }
1203
+ // to determine the Content-Type header
1204
+ const consumes = [];
1205
+ return this.httpClient.request('get', `${this.basePath}/api/lookups/business-zones`, {
1206
+ withCredentials: this.configuration.withCredentials,
1207
+ headers: headers,
1208
+ observe: observe,
1209
+ reportProgress: reportProgress
1210
+ });
1211
+ }
1212
+ getAllCountries(observe = 'body', reportProgress = false) {
1213
+ let headers = this.defaultHeaders;
1214
+ // to determine the Accept header
1215
+ let httpHeaderAccepts = [
1216
+ '*/*'
1217
+ ];
1218
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1219
+ if (httpHeaderAcceptSelected != undefined) {
1220
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
1221
+ }
1222
+ // to determine the Content-Type header
1223
+ const consumes = [];
1224
+ return this.httpClient.request('get', `${this.basePath}/api/lookups/countries`, {
1225
+ withCredentials: this.configuration.withCredentials,
1226
+ headers: headers,
1227
+ observe: observe,
1228
+ reportProgress: reportProgress
1229
+ });
1230
+ }
1231
+ }
1232
+ LookupDataControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1233
+ LookupDataControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService });
1234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LookupDataControllerService, decorators: [{
1235
+ type: Injectable
1236
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1237
+ type: Optional
1238
+ }, {
1239
+ type: Inject,
1240
+ args: [BASE_PATH]
1241
+ }] }, { type: Configuration, decorators: [{
1242
+ type: Optional
1272
1243
  }] }]; } });
1273
1244
 
1274
1245
  const APIS = [AdvertiserControllerService, AudienceControllerService, CampaignControllerService, InsightsControllerService, LookupDataControllerService];
1275
1246
 
1276
- /**
1277
- * Intellibid API
1278
- * API documentation for the Intellibid platform
1279
- *
1280
- * OpenAPI spec version: 1.0
1281
- *
1282
- *
1283
- * NOTE: This class is auto generated by the swagger code generator program.
1284
- * https://github.com/swagger-api/swagger-codegen.git
1285
- * Do not edit the class manually.
1286
- */
1287
- var AdAccountResponse;
1288
- (function (AdAccountResponse) {
1289
- AdAccountResponse.SourcePlatformEnum = {
1290
- META: 'META',
1291
- TIKTOK: 'TIKTOK',
1292
- SNAPCHAT: 'SNAPCHAT',
1293
- GOOGLE: 'GOOGLE',
1294
- LYADS: 'LYADS'
1295
- };
1296
- AdAccountResponse.AccountTypeEnum = {
1297
- SEARCH: 'SEARCH',
1298
- DISPLAY: 'DISPLAY'
1299
- };
1247
+ /**
1248
+ * Intellibid API
1249
+ * API documentation for the Intellibid platform
1250
+ *
1251
+ * OpenAPI spec version: 1.0
1252
+ *
1253
+ *
1254
+ * NOTE: This class is auto generated by the swagger code generator program.
1255
+ * https://github.com/swagger-api/swagger-codegen.git
1256
+ * Do not edit the class manually.
1257
+ */
1258
+ var AdAccountResponse;
1259
+ (function (AdAccountResponse) {
1260
+ AdAccountResponse.SourcePlatformEnum = {
1261
+ META: 'META',
1262
+ TIKTOK: 'TIKTOK',
1263
+ SNAPCHAT: 'SNAPCHAT',
1264
+ GOOGLE: 'GOOGLE',
1265
+ LYADS: 'LYADS'
1266
+ };
1267
+ AdAccountResponse.AccountTypeEnum = {
1268
+ SEARCH: 'SEARCH',
1269
+ DISPLAY: 'DISPLAY'
1270
+ };
1300
1271
  })(AdAccountResponse || (AdAccountResponse = {}));
1301
1272
 
1302
- /**
1303
- * Intellibid API
1304
- * API documentation for the Intellibid platform
1305
- *
1306
- * OpenAPI spec version: 1.0
1307
- *
1308
- *
1309
- * NOTE: This class is auto generated by the swagger code generator program.
1310
- * https://github.com/swagger-api/swagger-codegen.git
1311
- * Do not edit the class manually.
1273
+ /**
1274
+ * Intellibid API
1275
+ * API documentation for the Intellibid platform
1276
+ *
1277
+ * OpenAPI spec version: 1.0
1278
+ *
1279
+ *
1280
+ * NOTE: This class is auto generated by the swagger code generator program.
1281
+ * https://github.com/swagger-api/swagger-codegen.git
1282
+ * Do not edit the class manually.
1312
1283
  */
1313
1284
 
1314
- /**
1315
- * Intellibid API
1316
- * API documentation for the Intellibid platform
1317
- *
1318
- * OpenAPI spec version: 1.0
1319
- *
1320
- *
1321
- * NOTE: This class is auto generated by the swagger code generator program.
1322
- * https://github.com/swagger-api/swagger-codegen.git
1323
- * Do not edit the class manually.
1285
+ /**
1286
+ * Intellibid API
1287
+ * API documentation for the Intellibid platform
1288
+ *
1289
+ * OpenAPI spec version: 1.0
1290
+ *
1291
+ *
1292
+ * NOTE: This class is auto generated by the swagger code generator program.
1293
+ * https://github.com/swagger-api/swagger-codegen.git
1294
+ * Do not edit the class manually.
1324
1295
  */
1325
1296
 
1326
- /**
1327
- * Intellibid API
1328
- * API documentation for the Intellibid platform
1329
- *
1330
- * OpenAPI spec version: 1.0
1331
- *
1332
- *
1333
- * NOTE: This class is auto generated by the swagger code generator program.
1334
- * https://github.com/swagger-api/swagger-codegen.git
1335
- * Do not edit the class manually.
1297
+ /**
1298
+ * Intellibid API
1299
+ * API documentation for the Intellibid platform
1300
+ *
1301
+ * OpenAPI spec version: 1.0
1302
+ *
1303
+ *
1304
+ * NOTE: This class is auto generated by the swagger code generator program.
1305
+ * https://github.com/swagger-api/swagger-codegen.git
1306
+ * Do not edit the class manually.
1336
1307
  */
1337
1308
 
1338
- var AudienceResponse;
1339
- (function (AudienceResponse) {
1340
- AudienceResponse.GroupTypeEnum = {
1341
- BUCKETIZEDLIVE: 'BUCKETIZED_LIVE',
1342
- BLOCKEDLIVE: 'BLOCKED_LIVE',
1343
- BUCKETIZEDCUSTOM: 'BUCKETIZED_CUSTOM',
1344
- DSCUSTOMQUERY: 'DS_CUSTOM_QUERY'
1345
- };
1346
- AudienceResponse.SyncStatusEnum = {
1347
- IDLE: 'IDLE',
1348
- SYNCING: 'SYNCING',
1349
- PARTIAL: 'PARTIAL',
1350
- FAILED: 'FAILED',
1351
- GAVEUP: 'GAVE_UP'
1352
- };
1309
+ var AudienceResponse;
1310
+ (function (AudienceResponse) {
1311
+ AudienceResponse.GroupTypeEnum = {
1312
+ BUCKETIZEDLIVE: 'BUCKETIZED_LIVE',
1313
+ BLOCKEDLIVE: 'BLOCKED_LIVE',
1314
+ BUCKETIZEDCUSTOM: 'BUCKETIZED_CUSTOM',
1315
+ DSCUSTOMQUERY: 'DS_CUSTOM_QUERY'
1316
+ };
1317
+ AudienceResponse.SyncStatusEnum = {
1318
+ IDLE: 'IDLE',
1319
+ SYNCING: 'SYNCING',
1320
+ PARTIAL: 'PARTIAL',
1321
+ FAILED: 'FAILED',
1322
+ GAVEUP: 'GAVE_UP'
1323
+ };
1353
1324
  })(AudienceResponse || (AudienceResponse = {}));
1354
1325
 
1355
- /**
1356
- * Intellibid API
1357
- * API documentation for the Intellibid platform
1358
- *
1359
- * OpenAPI spec version: 1.0
1360
- *
1361
- *
1362
- * NOTE: This class is auto generated by the swagger code generator program.
1363
- * https://github.com/swagger-api/swagger-codegen.git
1364
- * Do not edit the class manually.
1326
+ /**
1327
+ * Intellibid API
1328
+ * API documentation for the Intellibid platform
1329
+ *
1330
+ * OpenAPI spec version: 1.0
1331
+ *
1332
+ *
1333
+ * NOTE: This class is auto generated by the swagger code generator program.
1334
+ * https://github.com/swagger-api/swagger-codegen.git
1335
+ * Do not edit the class manually.
1365
1336
  */
1366
1337
 
1367
- /**
1368
- * Intellibid API
1369
- * API documentation for the Intellibid platform
1370
- *
1371
- * OpenAPI spec version: 1.0
1372
- *
1373
- *
1374
- * NOTE: This class is auto generated by the swagger code generator program.
1375
- * https://github.com/swagger-api/swagger-codegen.git
1376
- * Do not edit the class manually.
1338
+ /**
1339
+ * Intellibid API
1340
+ * API documentation for the Intellibid platform
1341
+ *
1342
+ * OpenAPI spec version: 1.0
1343
+ *
1344
+ *
1345
+ * NOTE: This class is auto generated by the swagger code generator program.
1346
+ * https://github.com/swagger-api/swagger-codegen.git
1347
+ * Do not edit the class manually.
1377
1348
  */
1378
1349
 
1379
- /**
1380
- * Intellibid API
1381
- * API documentation for the Intellibid platform
1382
- *
1383
- * OpenAPI spec version: 1.0
1384
- *
1385
- *
1386
- * NOTE: This class is auto generated by the swagger code generator program.
1387
- * https://github.com/swagger-api/swagger-codegen.git
1388
- * Do not edit the class manually.
1389
- */
1390
- var CampaignChangeLogResponse;
1391
- (function (CampaignChangeLogResponse) {
1392
- CampaignChangeLogResponse.EntityChangedEnum = {
1393
- STATUS: 'STATUS',
1394
- BUDGET: 'BUDGET',
1395
- PAYOUTVALUE: 'PAYOUT_VALUE'
1396
- };
1397
- CampaignChangeLogResponse.StatusEnum = {
1398
- SUCCESS: 'SUCCESS',
1399
- FAILED: 'FAILED'
1400
- };
1350
+ /**
1351
+ * Intellibid API
1352
+ * API documentation for the Intellibid platform
1353
+ *
1354
+ * OpenAPI spec version: 1.0
1355
+ *
1356
+ *
1357
+ * NOTE: This class is auto generated by the swagger code generator program.
1358
+ * https://github.com/swagger-api/swagger-codegen.git
1359
+ * Do not edit the class manually.
1360
+ */
1361
+ var CampaignChangeLogResponse;
1362
+ (function (CampaignChangeLogResponse) {
1363
+ CampaignChangeLogResponse.EntityChangedEnum = {
1364
+ STATUS: 'STATUS',
1365
+ BUDGET: 'BUDGET',
1366
+ PAYOUTVALUE: 'PAYOUT_VALUE'
1367
+ };
1368
+ CampaignChangeLogResponse.StatusEnum = {
1369
+ SUCCESS: 'SUCCESS',
1370
+ FAILED: 'FAILED'
1371
+ };
1401
1372
  })(CampaignChangeLogResponse || (CampaignChangeLogResponse = {}));
1402
1373
 
1403
- /**
1404
- * Intellibid API
1405
- * API documentation for the Intellibid platform
1406
- *
1407
- * OpenAPI spec version: 1.0
1408
- *
1409
- *
1410
- * NOTE: This class is auto generated by the swagger code generator program.
1411
- * https://github.com/swagger-api/swagger-codegen.git
1412
- * Do not edit the class manually.
1413
- */
1414
- var CampaignInsightRecord;
1415
- (function (CampaignInsightRecord) {
1416
- CampaignInsightRecord.PayoutTypeEnum = {
1417
- DYNAMICMARGIN: 'DYNAMIC_MARGIN',
1418
- PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
1419
- };
1374
+ /**
1375
+ * Intellibid API
1376
+ * API documentation for the Intellibid platform
1377
+ *
1378
+ * OpenAPI spec version: 1.0
1379
+ *
1380
+ *
1381
+ * NOTE: This class is auto generated by the swagger code generator program.
1382
+ * https://github.com/swagger-api/swagger-codegen.git
1383
+ * Do not edit the class manually.
1384
+ */
1385
+ var CampaignInsightRecord;
1386
+ (function (CampaignInsightRecord) {
1387
+ CampaignInsightRecord.PayoutTypeEnum = {
1388
+ DYNAMICMARGIN: 'DYNAMIC_MARGIN',
1389
+ PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
1390
+ };
1420
1391
  })(CampaignInsightRecord || (CampaignInsightRecord = {}));
1421
1392
 
1422
- /**
1423
- * Intellibid API
1424
- * API documentation for the Intellibid platform
1425
- *
1426
- * OpenAPI spec version: 1.0
1427
- *
1428
- *
1429
- * NOTE: This class is auto generated by the swagger code generator program.
1430
- * https://github.com/swagger-api/swagger-codegen.git
1431
- * Do not edit the class manually.
1432
- */
1433
- var CampaignRequest;
1434
- (function (CampaignRequest) {
1435
- CampaignRequest.SourcePlatformEnum = {
1436
- META: 'META',
1437
- TIKTOK: 'TIKTOK',
1438
- SNAPCHAT: 'SNAPCHAT',
1439
- GOOGLE: 'GOOGLE',
1440
- LYADS: 'LYADS'
1441
- };
1442
- CampaignRequest.PayoutTypeEnum = {
1443
- DYNAMICMARGIN: 'DYNAMIC_MARGIN',
1444
- PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
1445
- };
1446
- CampaignRequest.GoalEnum = {
1447
- COSTPERRESULT: 'COST_PER_RESULT',
1448
- ROAS: 'ROAS'
1449
- };
1450
- CampaignRequest.MmpAttributionSettingEnum = {
1451
- CTA: 'CTA',
1452
- CTAANDVTA: 'CTA_AND_VTA'
1453
- };
1393
+ /**
1394
+ * Intellibid API
1395
+ * API documentation for the Intellibid platform
1396
+ *
1397
+ * OpenAPI spec version: 1.0
1398
+ *
1399
+ *
1400
+ * NOTE: This class is auto generated by the swagger code generator program.
1401
+ * https://github.com/swagger-api/swagger-codegen.git
1402
+ * Do not edit the class manually.
1403
+ */
1404
+ var CampaignRequest;
1405
+ (function (CampaignRequest) {
1406
+ CampaignRequest.SourcePlatformEnum = {
1407
+ META: 'META',
1408
+ TIKTOK: 'TIKTOK',
1409
+ SNAPCHAT: 'SNAPCHAT',
1410
+ GOOGLE: 'GOOGLE',
1411
+ LYADS: 'LYADS'
1412
+ };
1413
+ CampaignRequest.PayoutTypeEnum = {
1414
+ DYNAMICMARGIN: 'DYNAMIC_MARGIN',
1415
+ PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
1416
+ };
1417
+ CampaignRequest.GoalEnum = {
1418
+ COSTPERRESULT: 'COST_PER_RESULT',
1419
+ ROAS: 'ROAS'
1420
+ };
1421
+ CampaignRequest.MmpAttributionSettingEnum = {
1422
+ CTA: 'CTA',
1423
+ CTAANDVTA: 'CTA_AND_VTA'
1424
+ };
1454
1425
  })(CampaignRequest || (CampaignRequest = {}));
1455
1426
 
1456
- var CampaignResponse;
1457
- (function (CampaignResponse) {
1458
- CampaignResponse.SourcePlatformEnum = {
1459
- META: 'META',
1460
- TIKTOK: 'TIKTOK',
1461
- SNAPCHAT: 'SNAPCHAT',
1462
- GOOGLE: 'GOOGLE',
1463
- LYADS: 'LYADS'
1464
- };
1465
- CampaignResponse.AccountTypeEnum = {
1466
- SEARCH: 'SEARCH',
1467
- DISPLAY: 'DISPLAY'
1468
- };
1469
- CampaignResponse.PayoutTypeEnum = {
1470
- DYNAMICMARGIN: 'DYNAMIC_MARGIN',
1471
- PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
1472
- };
1473
- CampaignResponse.GoalEnum = {
1474
- COSTPERRESULT: 'COST_PER_RESULT',
1475
- ROAS: 'ROAS'
1476
- };
1477
- CampaignResponse.MmpAttributionSettingEnum = {
1478
- CTA: 'CTA',
1479
- CTAANDVTA: 'CTA_AND_VTA'
1480
- };
1427
+ var CampaignResponse;
1428
+ (function (CampaignResponse) {
1429
+ CampaignResponse.SourcePlatformEnum = {
1430
+ META: 'META',
1431
+ TIKTOK: 'TIKTOK',
1432
+ SNAPCHAT: 'SNAPCHAT',
1433
+ GOOGLE: 'GOOGLE',
1434
+ LYADS: 'LYADS'
1435
+ };
1436
+ CampaignResponse.AccountTypeEnum = {
1437
+ SEARCH: 'SEARCH',
1438
+ DISPLAY: 'DISPLAY'
1439
+ };
1440
+ CampaignResponse.PayoutTypeEnum = {
1441
+ DYNAMICMARGIN: 'DYNAMIC_MARGIN',
1442
+ PAYOUTPERCONVERSION: 'PAYOUT_PER_CONVERSION'
1443
+ };
1444
+ CampaignResponse.GoalEnum = {
1445
+ COSTPERRESULT: 'COST_PER_RESULT',
1446
+ ROAS: 'ROAS'
1447
+ };
1448
+ CampaignResponse.MmpAttributionSettingEnum = {
1449
+ CTA: 'CTA',
1450
+ CTAANDVTA: 'CTA_AND_VTA'
1451
+ };
1481
1452
  })(CampaignResponse || (CampaignResponse = {}));
1482
1453
 
1483
- /**
1484
- * Intellibid API
1485
- * API documentation for the Intellibid platform
1486
- *
1487
- * OpenAPI spec version: 1.0
1488
- *
1489
- *
1490
- * NOTE: This class is auto generated by the swagger code generator program.
1491
- * https://github.com/swagger-api/swagger-codegen.git
1492
- * Do not edit the class manually.
1454
+ /**
1455
+ * Intellibid API
1456
+ * API documentation for the Intellibid platform
1457
+ *
1458
+ * OpenAPI spec version: 1.0
1459
+ *
1460
+ *
1461
+ * NOTE: This class is auto generated by the swagger code generator program.
1462
+ * https://github.com/swagger-api/swagger-codegen.git
1463
+ * Do not edit the class manually.
1493
1464
  */
1494
1465
 
1495
- /**
1496
- * Intellibid API
1497
- * API documentation for the Intellibid platform
1498
- *
1499
- * OpenAPI spec version: 1.0
1500
- *
1501
- *
1502
- * NOTE: This class is auto generated by the swagger code generator program.
1503
- * https://github.com/swagger-api/swagger-codegen.git
1504
- * Do not edit the class manually.
1505
- */
1506
- var ChildAudience;
1507
- (function (ChildAudience) {
1508
- ChildAudience.AudienceTypeEnum = {
1509
- DYNAMIC: 'DYNAMIC',
1510
- CATALOGUE: 'CATALOGUE'
1511
- };
1512
- ChildAudience.AudienceSourceEnum = {
1513
- INTELLIBID: 'INTELLIBID',
1514
- DS: 'DS'
1515
- };
1516
- ChildAudience.UploadModeEnum = {
1517
- API: 'API',
1518
- CSV: 'CSV'
1519
- };
1520
- ChildAudience.UploadFrequencyEnum = {
1521
- ONCE: 'ONCE',
1522
- DAILY: 'DAILY',
1523
- EVERY2D: 'EVERY_2D',
1524
- WEEKLY: 'WEEKLY',
1525
- MONTHLY: 'MONTHLY'
1526
- };
1527
- ChildAudience.BlockingOperatorEnum = {
1528
- GTE: 'GTE',
1529
- EQ: 'EQ'
1530
- };
1466
+ /**
1467
+ * Intellibid API
1468
+ * API documentation for the Intellibid platform
1469
+ *
1470
+ * OpenAPI spec version: 1.0
1471
+ *
1472
+ *
1473
+ * NOTE: This class is auto generated by the swagger code generator program.
1474
+ * https://github.com/swagger-api/swagger-codegen.git
1475
+ * Do not edit the class manually.
1476
+ */
1477
+ var ChildAudience;
1478
+ (function (ChildAudience) {
1479
+ ChildAudience.AudienceTypeEnum = {
1480
+ DYNAMIC: 'DYNAMIC',
1481
+ CATALOGUE: 'CATALOGUE'
1482
+ };
1483
+ ChildAudience.AudienceSourceEnum = {
1484
+ INTELLIBID: 'INTELLIBID',
1485
+ DS: 'DS'
1486
+ };
1487
+ ChildAudience.UploadModeEnum = {
1488
+ API: 'API',
1489
+ CSV: 'CSV'
1490
+ };
1491
+ ChildAudience.UploadFrequencyEnum = {
1492
+ ONCE: 'ONCE',
1493
+ DAILY: 'DAILY',
1494
+ EVERY2D: 'EVERY_2D',
1495
+ WEEKLY: 'WEEKLY',
1496
+ MONTHLY: 'MONTHLY'
1497
+ };
1498
+ ChildAudience.BlockingOperatorEnum = {
1499
+ GTE: 'GTE',
1500
+ EQ: 'EQ'
1501
+ };
1531
1502
  })(ChildAudience || (ChildAudience = {}));
1532
1503
 
1533
- /**
1534
- * Intellibid API
1535
- * API documentation for the Intellibid platform
1536
- *
1537
- * OpenAPI spec version: 1.0
1538
- *
1539
- *
1540
- * NOTE: This class is auto generated by the swagger code generator program.
1541
- * https://github.com/swagger-api/swagger-codegen.git
1542
- * Do not edit the class manually.
1504
+ /**
1505
+ * Intellibid API
1506
+ * API documentation for the Intellibid platform
1507
+ *
1508
+ * OpenAPI spec version: 1.0
1509
+ *
1510
+ *
1511
+ * NOTE: This class is auto generated by the swagger code generator program.
1512
+ * https://github.com/swagger-api/swagger-codegen.git
1513
+ * Do not edit the class manually.
1543
1514
  */
1544
1515
 
1545
- /**
1546
- * Intellibid API
1547
- * API documentation for the Intellibid platform
1548
- *
1549
- * OpenAPI spec version: 1.0
1550
- *
1551
- *
1552
- * NOTE: This class is auto generated by the swagger code generator program.
1553
- * https://github.com/swagger-api/swagger-codegen.git
1554
- * Do not edit the class manually.
1555
- */
1556
- var CreateBlockedLiveAudienceRequest;
1557
- (function (CreateBlockedLiveAudienceRequest) {
1558
- CreateBlockedLiveAudienceRequest.SourcePlatformEnum = {
1559
- META: 'META',
1560
- TIKTOK: 'TIKTOK',
1561
- SNAPCHAT: 'SNAPCHAT',
1562
- GOOGLE: 'GOOGLE',
1563
- LYADS: 'LYADS'
1564
- };
1516
+ /**
1517
+ * Intellibid API
1518
+ * API documentation for the Intellibid platform
1519
+ *
1520
+ * OpenAPI spec version: 1.0
1521
+ *
1522
+ *
1523
+ * NOTE: This class is auto generated by the swagger code generator program.
1524
+ * https://github.com/swagger-api/swagger-codegen.git
1525
+ * Do not edit the class manually.
1526
+ */
1527
+ var CreateBlockedLiveAudienceRequest;
1528
+ (function (CreateBlockedLiveAudienceRequest) {
1529
+ CreateBlockedLiveAudienceRequest.SourcePlatformEnum = {
1530
+ META: 'META',
1531
+ TIKTOK: 'TIKTOK',
1532
+ SNAPCHAT: 'SNAPCHAT',
1533
+ GOOGLE: 'GOOGLE',
1534
+ LYADS: 'LYADS'
1535
+ };
1565
1536
  })(CreateBlockedLiveAudienceRequest || (CreateBlockedLiveAudienceRequest = {}));
1566
1537
 
1567
- /**
1568
- * Intellibid API
1569
- * API documentation for the Intellibid platform
1570
- *
1571
- * OpenAPI spec version: 1.0
1572
- *
1573
- *
1574
- * NOTE: This class is auto generated by the swagger code generator program.
1575
- * https://github.com/swagger-api/swagger-codegen.git
1576
- * Do not edit the class manually.
1577
- */
1578
- var CreateBucketizedCustomAudienceRequest;
1579
- (function (CreateBucketizedCustomAudienceRequest) {
1580
- CreateBucketizedCustomAudienceRequest.SourcePlatformEnum = {
1581
- META: 'META',
1582
- TIKTOK: 'TIKTOK',
1583
- SNAPCHAT: 'SNAPCHAT',
1584
- GOOGLE: 'GOOGLE',
1585
- LYADS: 'LYADS'
1586
- };
1587
- CreateBucketizedCustomAudienceRequest.AudienceSourceEnum = {
1588
- INTELLIBID: 'INTELLIBID',
1589
- DS: 'DS'
1590
- };
1591
- CreateBucketizedCustomAudienceRequest.UploadModeEnum = {
1592
- API: 'API',
1593
- CSV: 'CSV'
1594
- };
1595
- CreateBucketizedCustomAudienceRequest.UploadFrequencyEnum = {
1596
- ONCE: 'ONCE',
1597
- DAILY: 'DAILY',
1598
- EVERY2D: 'EVERY_2D',
1599
- WEEKLY: 'WEEKLY',
1600
- MONTHLY: 'MONTHLY'
1601
- };
1538
+ /**
1539
+ * Intellibid API
1540
+ * API documentation for the Intellibid platform
1541
+ *
1542
+ * OpenAPI spec version: 1.0
1543
+ *
1544
+ *
1545
+ * NOTE: This class is auto generated by the swagger code generator program.
1546
+ * https://github.com/swagger-api/swagger-codegen.git
1547
+ * Do not edit the class manually.
1548
+ */
1549
+ var CreateBucketizedCustomAudienceRequest;
1550
+ (function (CreateBucketizedCustomAudienceRequest) {
1551
+ CreateBucketizedCustomAudienceRequest.SourcePlatformEnum = {
1552
+ META: 'META',
1553
+ TIKTOK: 'TIKTOK',
1554
+ SNAPCHAT: 'SNAPCHAT',
1555
+ GOOGLE: 'GOOGLE',
1556
+ LYADS: 'LYADS'
1557
+ };
1558
+ CreateBucketizedCustomAudienceRequest.AudienceSourceEnum = {
1559
+ INTELLIBID: 'INTELLIBID',
1560
+ DS: 'DS'
1561
+ };
1562
+ CreateBucketizedCustomAudienceRequest.UploadModeEnum = {
1563
+ API: 'API',
1564
+ CSV: 'CSV'
1565
+ };
1566
+ CreateBucketizedCustomAudienceRequest.UploadFrequencyEnum = {
1567
+ ONCE: 'ONCE',
1568
+ DAILY: 'DAILY',
1569
+ EVERY2D: 'EVERY_2D',
1570
+ WEEKLY: 'WEEKLY',
1571
+ MONTHLY: 'MONTHLY'
1572
+ };
1602
1573
  })(CreateBucketizedCustomAudienceRequest || (CreateBucketizedCustomAudienceRequest = {}));
1603
1574
 
1604
- /**
1605
- * Intellibid API
1606
- * API documentation for the Intellibid platform
1607
- *
1608
- * OpenAPI spec version: 1.0
1609
- *
1610
- *
1611
- * NOTE: This class is auto generated by the swagger code generator program.
1612
- * https://github.com/swagger-api/swagger-codegen.git
1613
- * Do not edit the class manually.
1614
- */
1615
- var CreateBucketizedLiveAudienceRequest;
1616
- (function (CreateBucketizedLiveAudienceRequest) {
1617
- CreateBucketizedLiveAudienceRequest.SourcePlatformEnum = {
1618
- META: 'META',
1619
- TIKTOK: 'TIKTOK',
1620
- SNAPCHAT: 'SNAPCHAT',
1621
- GOOGLE: 'GOOGLE',
1622
- LYADS: 'LYADS'
1623
- };
1624
- CreateBucketizedLiveAudienceRequest.AudienceTypeEnum = {
1625
- DYNAMIC: 'DYNAMIC',
1626
- CATALOGUE: 'CATALOGUE'
1627
- };
1575
+ /**
1576
+ * Intellibid API
1577
+ * API documentation for the Intellibid platform
1578
+ *
1579
+ * OpenAPI spec version: 1.0
1580
+ *
1581
+ *
1582
+ * NOTE: This class is auto generated by the swagger code generator program.
1583
+ * https://github.com/swagger-api/swagger-codegen.git
1584
+ * Do not edit the class manually.
1585
+ */
1586
+ var CreateBucketizedLiveAudienceRequest;
1587
+ (function (CreateBucketizedLiveAudienceRequest) {
1588
+ CreateBucketizedLiveAudienceRequest.SourcePlatformEnum = {
1589
+ META: 'META',
1590
+ TIKTOK: 'TIKTOK',
1591
+ SNAPCHAT: 'SNAPCHAT',
1592
+ GOOGLE: 'GOOGLE',
1593
+ LYADS: 'LYADS'
1594
+ };
1595
+ CreateBucketizedLiveAudienceRequest.AudienceTypeEnum = {
1596
+ DYNAMIC: 'DYNAMIC',
1597
+ CATALOGUE: 'CATALOGUE'
1598
+ };
1628
1599
  })(CreateBucketizedLiveAudienceRequest || (CreateBucketizedLiveAudienceRequest = {}));
1629
1600
 
1630
- /**
1631
- * Intellibid API
1632
- * API documentation for the Intellibid platform
1633
- *
1634
- * OpenAPI spec version: 1.0
1635
- *
1636
- *
1637
- * NOTE: This class is auto generated by the swagger code generator program.
1638
- * https://github.com/swagger-api/swagger-codegen.git
1639
- * Do not edit the class manually.
1640
- */
1641
- var CreateDsCustomQueryAudienceRequest;
1642
- (function (CreateDsCustomQueryAudienceRequest) {
1643
- CreateDsCustomQueryAudienceRequest.SourcePlatformEnum = {
1644
- META: 'META',
1645
- TIKTOK: 'TIKTOK',
1646
- SNAPCHAT: 'SNAPCHAT',
1647
- GOOGLE: 'GOOGLE',
1648
- LYADS: 'LYADS'
1649
- };
1650
- CreateDsCustomQueryAudienceRequest.UploadModeEnum = {
1651
- API: 'API',
1652
- CSV: 'CSV'
1653
- };
1654
- CreateDsCustomQueryAudienceRequest.UploadFrequencyEnum = {
1655
- ONCE: 'ONCE',
1656
- DAILY: 'DAILY',
1657
- EVERY2D: 'EVERY_2D',
1658
- WEEKLY: 'WEEKLY',
1659
- MONTHLY: 'MONTHLY'
1660
- };
1601
+ /**
1602
+ * Intellibid API
1603
+ * API documentation for the Intellibid platform
1604
+ *
1605
+ * OpenAPI spec version: 1.0
1606
+ *
1607
+ *
1608
+ * NOTE: This class is auto generated by the swagger code generator program.
1609
+ * https://github.com/swagger-api/swagger-codegen.git
1610
+ * Do not edit the class manually.
1611
+ */
1612
+ var CreateDsCustomQueryAudienceRequest;
1613
+ (function (CreateDsCustomQueryAudienceRequest) {
1614
+ CreateDsCustomQueryAudienceRequest.SourcePlatformEnum = {
1615
+ META: 'META',
1616
+ TIKTOK: 'TIKTOK',
1617
+ SNAPCHAT: 'SNAPCHAT',
1618
+ GOOGLE: 'GOOGLE',
1619
+ LYADS: 'LYADS'
1620
+ };
1621
+ CreateDsCustomQueryAudienceRequest.UploadModeEnum = {
1622
+ API: 'API',
1623
+ CSV: 'CSV'
1624
+ };
1625
+ CreateDsCustomQueryAudienceRequest.UploadFrequencyEnum = {
1626
+ ONCE: 'ONCE',
1627
+ DAILY: 'DAILY',
1628
+ EVERY2D: 'EVERY_2D',
1629
+ WEEKLY: 'WEEKLY',
1630
+ MONTHLY: 'MONTHLY'
1631
+ };
1661
1632
  })(CreateDsCustomQueryAudienceRequest || (CreateDsCustomQueryAudienceRequest = {}));
1662
1633
 
1663
- /**
1664
- * Intellibid API
1665
- * API documentation for the Intellibid platform
1666
- *
1667
- * OpenAPI spec version: 1.0
1668
- *
1669
- *
1670
- * NOTE: This class is auto generated by the swagger code generator program.
1671
- * https://github.com/swagger-api/swagger-codegen.git
1672
- * Do not edit the class manually.
1634
+ /**
1635
+ * Intellibid API
1636
+ * API documentation for the Intellibid platform
1637
+ *
1638
+ * OpenAPI spec version: 1.0
1639
+ *
1640
+ *
1641
+ * NOTE: This class is auto generated by the swagger code generator program.
1642
+ * https://github.com/swagger-api/swagger-codegen.git
1643
+ * Do not edit the class manually.
1673
1644
  */
1674
1645
 
1675
- /**
1676
- * Intellibid API
1677
- * API documentation for the Intellibid platform
1678
- *
1679
- * OpenAPI spec version: 1.0
1680
- *
1681
- *
1682
- * NOTE: This class is auto generated by the swagger code generator program.
1683
- * https://github.com/swagger-api/swagger-codegen.git
1684
- * Do not edit the class manually.
1646
+ /**
1647
+ * Intellibid API
1648
+ * API documentation for the Intellibid platform
1649
+ *
1650
+ * OpenAPI spec version: 1.0
1651
+ *
1652
+ *
1653
+ * NOTE: This class is auto generated by the swagger code generator program.
1654
+ * https://github.com/swagger-api/swagger-codegen.git
1655
+ * Do not edit the class manually.
1685
1656
  */
1686
1657
 
1687
- /**
1688
- * Intellibid API
1689
- * API documentation for the Intellibid platform
1690
- *
1691
- * OpenAPI spec version: 1.0
1692
- *
1693
- *
1694
- * NOTE: This class is auto generated by the swagger code generator program.
1695
- * https://github.com/swagger-api/swagger-codegen.git
1696
- * Do not edit the class manually.
1658
+ /**
1659
+ * Intellibid API
1660
+ * API documentation for the Intellibid platform
1661
+ *
1662
+ * OpenAPI spec version: 1.0
1663
+ *
1664
+ *
1665
+ * NOTE: This class is auto generated by the swagger code generator program.
1666
+ * https://github.com/swagger-api/swagger-codegen.git
1667
+ * Do not edit the class manually.
1697
1668
  */
1698
1669
 
1699
- /**
1700
- * Intellibid API
1701
- * API documentation for the Intellibid platform
1702
- *
1703
- * OpenAPI spec version: 1.0
1704
- *
1705
- *
1706
- * NOTE: This class is auto generated by the swagger code generator program.
1707
- * https://github.com/swagger-api/swagger-codegen.git
1708
- * Do not edit the class manually.
1670
+ /**
1671
+ * Intellibid API
1672
+ * API documentation for the Intellibid platform
1673
+ *
1674
+ * OpenAPI spec version: 1.0
1675
+ *
1676
+ *
1677
+ * NOTE: This class is auto generated by the swagger code generator program.
1678
+ * https://github.com/swagger-api/swagger-codegen.git
1679
+ * Do not edit the class manually.
1709
1680
  */
1710
1681
 
1711
- /**
1712
- * Intellibid API
1713
- * API documentation for the Intellibid platform
1714
- *
1715
- * OpenAPI spec version: 1.0
1716
- *
1717
- *
1718
- * NOTE: This class is auto generated by the swagger code generator program.
1719
- * https://github.com/swagger-api/swagger-codegen.git
1720
- * Do not edit the class manually.
1682
+ /**
1683
+ * Intellibid API
1684
+ * API documentation for the Intellibid platform
1685
+ *
1686
+ * OpenAPI spec version: 1.0
1687
+ *
1688
+ *
1689
+ * NOTE: This class is auto generated by the swagger code generator program.
1690
+ * https://github.com/swagger-api/swagger-codegen.git
1691
+ * Do not edit the class manually.
1721
1692
  */
1722
-
1723
- /**
1724
- * Intellibid API
1725
- * API documentation for the Intellibid platform
1726
- *
1727
- * OpenAPI spec version: 1.0
1728
- *
1729
- *
1730
- * NOTE: This class is auto generated by the swagger code generator program.
1731
- * https://github.com/swagger-api/swagger-codegen.git
1732
- * Do not edit the class manually.
1733
- */
1734
- var ProductSetRequest;
1735
- (function (ProductSetRequest) {
1736
- ProductSetRequest.SourcePlatformEnum = {
1737
- META: 'META',
1738
- TIKTOK: 'TIKTOK',
1739
- SNAPCHAT: 'SNAPCHAT',
1740
- GOOGLE: 'GOOGLE',
1741
- LYADS: 'LYADS'
1742
- };
1693
+ var ProductSetRequest;
1694
+ (function (ProductSetRequest) {
1695
+ ProductSetRequest.SourcePlatformEnum = {
1696
+ META: 'META',
1697
+ TIKTOK: 'TIKTOK',
1698
+ SNAPCHAT: 'SNAPCHAT',
1699
+ GOOGLE: 'GOOGLE',
1700
+ LYADS: 'LYADS'
1701
+ };
1743
1702
  })(ProductSetRequest || (ProductSetRequest = {}));
1744
1703
 
1745
- /**
1746
- * Intellibid API
1747
- * API documentation for the Intellibid platform
1748
- *
1749
- * OpenAPI spec version: 1.0
1750
- *
1751
- *
1752
- * NOTE: This class is auto generated by the swagger code generator program.
1753
- * https://github.com/swagger-api/swagger-codegen.git
1754
- * Do not edit the class manually.
1755
- */
1756
- var ProductSetResponse;
1757
- (function (ProductSetResponse) {
1758
- ProductSetResponse.SourcePlatformEnum = {
1759
- META: 'META',
1760
- TIKTOK: 'TIKTOK',
1761
- SNAPCHAT: 'SNAPCHAT',
1762
- GOOGLE: 'GOOGLE',
1763
- LYADS: 'LYADS'
1764
- };
1704
+ /**
1705
+ * Intellibid API
1706
+ * API documentation for the Intellibid platform
1707
+ *
1708
+ * OpenAPI spec version: 1.0
1709
+ *
1710
+ *
1711
+ * NOTE: This class is auto generated by the swagger code generator program.
1712
+ * https://github.com/swagger-api/swagger-codegen.git
1713
+ * Do not edit the class manually.
1714
+ */
1715
+ var ProductSetResponse;
1716
+ (function (ProductSetResponse) {
1717
+ ProductSetResponse.SourcePlatformEnum = {
1718
+ META: 'META',
1719
+ TIKTOK: 'TIKTOK',
1720
+ SNAPCHAT: 'SNAPCHAT',
1721
+ GOOGLE: 'GOOGLE',
1722
+ LYADS: 'LYADS'
1723
+ };
1765
1724
  })(ProductSetResponse || (ProductSetResponse = {}));
1766
1725
 
1767
- /**
1768
- * Intellibid API
1769
- * API documentation for the Intellibid platform
1770
- *
1771
- * OpenAPI spec version: 1.0
1772
- *
1773
- *
1774
- * NOTE: This class is auto generated by the swagger code generator program.
1775
- * https://github.com/swagger-api/swagger-codegen.git
1776
- * Do not edit the class manually.
1777
- */
1778
- var ScheduleUpdateRequest;
1779
- (function (ScheduleUpdateRequest) {
1780
- ScheduleUpdateRequest.RequestTypeEnum = {
1781
- BUDGET: 'BUDGET',
1782
- PAYOUTVALUE: 'PAYOUT_VALUE'
1783
- };
1726
+ /**
1727
+ * Intellibid API
1728
+ * API documentation for the Intellibid platform
1729
+ *
1730
+ * OpenAPI spec version: 1.0
1731
+ *
1732
+ *
1733
+ * NOTE: This class is auto generated by the swagger code generator program.
1734
+ * https://github.com/swagger-api/swagger-codegen.git
1735
+ * Do not edit the class manually.
1736
+ */
1737
+ var ScheduleUpdateRequest;
1738
+ (function (ScheduleUpdateRequest) {
1739
+ ScheduleUpdateRequest.RequestTypeEnum = {
1740
+ BUDGET: 'BUDGET',
1741
+ PAYOUTVALUE: 'PAYOUT_VALUE'
1742
+ };
1784
1743
  })(ScheduleUpdateRequest || (ScheduleUpdateRequest = {}));
1785
1744
 
1786
- /**
1787
- * Intellibid API
1788
- * API documentation for the Intellibid platform
1789
- *
1790
- * OpenAPI spec version: 1.0
1791
- *
1792
- *
1793
- * NOTE: This class is auto generated by the swagger code generator program.
1794
- * https://github.com/swagger-api/swagger-codegen.git
1795
- * Do not edit the class manually.
1745
+ /**
1746
+ * Intellibid API
1747
+ * API documentation for the Intellibid platform
1748
+ *
1749
+ * OpenAPI spec version: 1.0
1750
+ *
1751
+ *
1752
+ * NOTE: This class is auto generated by the swagger code generator program.
1753
+ * https://github.com/swagger-api/swagger-codegen.git
1754
+ * Do not edit the class manually.
1796
1755
  */
1797
1756
 
1798
- /**
1799
- * Intellibid API
1800
- * API documentation for the Intellibid platform
1801
- *
1802
- * OpenAPI spec version: 1.0
1803
- *
1804
- *
1805
- * NOTE: This class is auto generated by the swagger code generator program.
1806
- * https://github.com/swagger-api/swagger-codegen.git
1807
- * Do not edit the class manually.
1757
+ /**
1758
+ * Intellibid API
1759
+ * API documentation for the Intellibid platform
1760
+ *
1761
+ * OpenAPI spec version: 1.0
1762
+ *
1763
+ *
1764
+ * NOTE: This class is auto generated by the swagger code generator program.
1765
+ * https://github.com/swagger-api/swagger-codegen.git
1766
+ * Do not edit the class manually.
1808
1767
  */
1809
1768
 
1810
- /**
1811
- * Intellibid API
1812
- * API documentation for the Intellibid platform
1813
- *
1814
- * OpenAPI spec version: 1.0
1815
- *
1816
- *
1817
- * NOTE: This class is auto generated by the swagger code generator program.
1818
- * https://github.com/swagger-api/swagger-codegen.git
1819
- * Do not edit the class manually.
1820
- */
1821
- var UpdateAudienceNameRequest;
1822
- (function (UpdateAudienceNameRequest) {
1823
- UpdateAudienceNameRequest.SourcePlatformEnum = {
1824
- META: 'META',
1825
- TIKTOK: 'TIKTOK',
1826
- SNAPCHAT: 'SNAPCHAT',
1827
- GOOGLE: 'GOOGLE',
1828
- LYADS: 'LYADS'
1829
- };
1769
+ /**
1770
+ * Intellibid API
1771
+ * API documentation for the Intellibid platform
1772
+ *
1773
+ * OpenAPI spec version: 1.0
1774
+ *
1775
+ *
1776
+ * NOTE: This class is auto generated by the swagger code generator program.
1777
+ * https://github.com/swagger-api/swagger-codegen.git
1778
+ * Do not edit the class manually.
1779
+ */
1780
+ var UpdateAudienceNameRequest;
1781
+ (function (UpdateAudienceNameRequest) {
1782
+ UpdateAudienceNameRequest.SourcePlatformEnum = {
1783
+ META: 'META',
1784
+ TIKTOK: 'TIKTOK',
1785
+ SNAPCHAT: 'SNAPCHAT',
1786
+ GOOGLE: 'GOOGLE',
1787
+ LYADS: 'LYADS'
1788
+ };
1830
1789
  })(UpdateAudienceNameRequest || (UpdateAudienceNameRequest = {}));
1831
1790
 
1832
- /**
1833
- * Intellibid API
1834
- * API documentation for the Intellibid platform
1835
- *
1836
- * OpenAPI spec version: 1.0
1837
- *
1838
- *
1839
- * NOTE: This class is auto generated by the swagger code generator program.
1840
- * https://github.com/swagger-api/swagger-codegen.git
1841
- * Do not edit the class manually.
1842
- */
1843
- var UpdateDsCustomQuerySqlRequest;
1844
- (function (UpdateDsCustomQuerySqlRequest) {
1845
- UpdateDsCustomQuerySqlRequest.SourcePlatformEnum = {
1846
- META: 'META',
1847
- TIKTOK: 'TIKTOK',
1848
- SNAPCHAT: 'SNAPCHAT',
1849
- GOOGLE: 'GOOGLE',
1850
- LYADS: 'LYADS'
1851
- };
1791
+ /**
1792
+ * Intellibid API
1793
+ * API documentation for the Intellibid platform
1794
+ *
1795
+ * OpenAPI spec version: 1.0
1796
+ *
1797
+ *
1798
+ * NOTE: This class is auto generated by the swagger code generator program.
1799
+ * https://github.com/swagger-api/swagger-codegen.git
1800
+ * Do not edit the class manually.
1801
+ */
1802
+ var UpdateDsCustomQuerySqlRequest;
1803
+ (function (UpdateDsCustomQuerySqlRequest) {
1804
+ UpdateDsCustomQuerySqlRequest.SourcePlatformEnum = {
1805
+ META: 'META',
1806
+ TIKTOK: 'TIKTOK',
1807
+ SNAPCHAT: 'SNAPCHAT',
1808
+ GOOGLE: 'GOOGLE',
1809
+ LYADS: 'LYADS'
1810
+ };
1852
1811
  })(UpdateDsCustomQuerySqlRequest || (UpdateDsCustomQuerySqlRequest = {}));
1853
1812
 
1854
- /**
1855
- * Intellibid API
1856
- * API documentation for the Intellibid platform
1857
- *
1858
- * OpenAPI spec version: 1.0
1859
- *
1860
- *
1861
- * NOTE: This class is auto generated by the swagger code generator program.
1862
- * https://github.com/swagger-api/swagger-codegen.git
1863
- * Do not edit the class manually.
1813
+ /**
1814
+ * Intellibid API
1815
+ * API documentation for the Intellibid platform
1816
+ *
1817
+ * OpenAPI spec version: 1.0
1818
+ *
1819
+ *
1820
+ * NOTE: This class is auto generated by the swagger code generator program.
1821
+ * https://github.com/swagger-api/swagger-codegen.git
1822
+ * Do not edit the class manually.
1864
1823
  */
1865
1824
 
1866
- class ApiModule {
1867
- static forRoot(configurationFactory) {
1868
- return {
1869
- ngModule: ApiModule,
1870
- providers: [{ provide: Configuration, useFactory: configurationFactory }]
1871
- };
1872
- }
1873
- constructor(parentModule, http) {
1874
- if (parentModule) {
1875
- throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
1876
- }
1877
- if (!http) {
1878
- throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
1879
- 'See also https://github.com/angular/angular/issues/20575');
1880
- }
1881
- }
1882
- }
1883
- 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 });
1884
- ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
1885
- ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
1886
- AdvertiserControllerService,
1887
- AudienceControllerService,
1888
- CampaignControllerService,
1889
- InsightsControllerService,
1890
- LookupDataControllerService
1891
- ] });
1892
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
1893
- type: NgModule,
1894
- args: [{
1895
- imports: [],
1896
- declarations: [],
1897
- exports: [],
1898
- providers: [
1899
- AdvertiserControllerService,
1900
- AudienceControllerService,
1901
- CampaignControllerService,
1902
- InsightsControllerService,
1903
- LookupDataControllerService
1904
- ]
1905
- }]
1906
- }], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
1907
- type: Optional
1908
- }, {
1909
- type: SkipSelf
1910
- }] }, { type: i1.HttpClient, decorators: [{
1911
- type: Optional
1825
+ class ApiModule {
1826
+ static forRoot(configurationFactory) {
1827
+ return {
1828
+ ngModule: ApiModule,
1829
+ providers: [{ provide: Configuration, useFactory: configurationFactory }]
1830
+ };
1831
+ }
1832
+ constructor(parentModule, http) {
1833
+ if (parentModule) {
1834
+ throw new Error('ApiModule is already loaded. Import in your base AppModule only.');
1835
+ }
1836
+ if (!http) {
1837
+ throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
1838
+ 'See also https://github.com/angular/angular/issues/20575');
1839
+ }
1840
+ }
1841
+ }
1842
+ 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 });
1843
+ ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
1844
+ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
1845
+ AdvertiserControllerService,
1846
+ AudienceControllerService,
1847
+ CampaignControllerService,
1848
+ InsightsControllerService,
1849
+ LookupDataControllerService
1850
+ ] });
1851
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
1852
+ type: NgModule,
1853
+ args: [{
1854
+ imports: [],
1855
+ declarations: [],
1856
+ exports: [],
1857
+ providers: [
1858
+ AdvertiserControllerService,
1859
+ AudienceControllerService,
1860
+ CampaignControllerService,
1861
+ InsightsControllerService,
1862
+ LookupDataControllerService
1863
+ ]
1864
+ }]
1865
+ }], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
1866
+ type: Optional
1867
+ }, {
1868
+ type: SkipSelf
1869
+ }] }, { type: i1.HttpClient, decorators: [{
1870
+ type: Optional
1912
1871
  }] }]; } });
1913
1872
 
1914
- /**
1915
- * Generated bundle index. Do not edit.
1873
+ /**
1874
+ * Generated bundle index. Do not edit.
1916
1875
  */
1917
1876
 
1918
1877
  export { APIS, AdAccountResponse, AdvertiserControllerService, ApiModule, AudienceControllerService, AudienceResponse, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, ChildAudience, Configuration, CreateBlockedLiveAudienceRequest, CreateBucketizedCustomAudienceRequest, CreateBucketizedLiveAudienceRequest, CreateDsCustomQueryAudienceRequest, InsightsControllerService, LookupDataControllerService, ProductSetRequest, ProductSetResponse, ScheduleUpdateRequest, UpdateAudienceNameRequest, UpdateDsCustomQuerySqlRequest };