@revxui/intellibid-client-ts 1.0.12 → 1.2.1
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.
- package/README.md +2 -2
- package/api/api.d.ts +1 -7
- package/api/dpaEngagementController.service.d.ts +3 -18
- package/esm2020/api/api.mjs +2 -8
- package/esm2020/api/businessGeoController.service.mjs +3 -3
- package/esm2020/api/campaignController.service.mjs +6 -6
- package/esm2020/api/countryController.service.mjs +3 -3
- package/esm2020/api/dpaCampaignController.service.mjs +5 -5
- package/esm2020/api/dpaEngagementController.service.mjs +12 -50
- package/esm2020/api/facebookEngagementController.service.mjs +5 -5
- package/esm2020/api/packageDetailController.service.mjs +4 -4
- package/esm2020/api.module.mjs +1 -10
- package/esm2020/model/creativeDetails.mjs +1 -1
- package/esm2020/model/dpaEngagementRequest.mjs +1 -1
- package/esm2020/model/dpaEngagementResponse.mjs +1 -1
- package/esm2020/model/models.mjs +1 -8
- package/esm2020/model/pageCampaignResponse.mjs +1 -1
- package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
- package/esm2020/model/pageFacebookEngagementResponse.mjs +1 -1
- package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
- package/esm2020/model/pageableObject.mjs +1 -1
- package/fesm2015/revxui-intellibid-client-ts.mjs +50 -612
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +50 -642
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/creativeDetails.d.ts +0 -4
- package/model/dpaEngagementRequest.d.ts +0 -1
- package/model/dpaEngagementResponse.d.ts +0 -2
- package/model/models.d.ts +0 -7
- package/model/pageCampaignResponse.d.ts +1 -1
- package/model/pageDpaEngagementResponse.d.ts +1 -1
- package/model/pageFacebookEngagementResponse.d.ts +1 -1
- package/model/pagePackageDetailResponse.d.ts +1 -1
- package/model/pageableObject.d.ts +1 -1
- package/package.json +1 -1
- package/api/adImageController.service.d.ts +0 -52
- package/api/adVideoController.service.d.ts +0 -63
- package/api/mobileAppDetailController.service.d.ts +0 -65
- package/esm2020/api/adImageController.service.mjs +0 -144
- package/esm2020/api/adVideoController.service.mjs +0 -169
- package/esm2020/api/mobileAppDetailController.service.mjs +0 -179
- package/esm2020/model/adImageResponse.mjs +0 -20
- package/esm2020/model/adVideoResponse.mjs +0 -13
- package/esm2020/model/dpaEngagementChangeLogResponse.mjs +0 -24
- package/esm2020/model/mobileAppDetailRequest.mjs +0 -13
- package/esm2020/model/mobileAppDetailResponse.mjs +0 -13
- package/esm2020/model/pageDpaEngagementChangeLogResponse.mjs +0 -2
- package/esm2020/model/pageMobileAppDetailResponse.mjs +0 -2
- package/model/adImageResponse.d.ts +0 -26
- package/model/adVideoResponse.d.ts +0 -18
- package/model/dpaEngagementChangeLogResponse.d.ts +0 -36
- package/model/mobileAppDetailRequest.d.ts +0 -23
- package/model/mobileAppDetailResponse.d.ts +0 -24
- package/model/pageDpaEngagementChangeLogResponse.d.ts +0 -27
- package/model/pageMobileAppDetailResponse.d.ts +0 -27
|
@@ -1,23 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
|
-
import {
|
|
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
|
-
}
|
|
20
|
-
}
|
|
4
|
+
import { HttpHeaders, HttpUrlEncodingCodec, HttpParams } from '@angular/common/http';
|
|
21
5
|
|
|
22
6
|
const BASE_PATH = new InjectionToken('basePath');
|
|
23
7
|
const COLLECTION_FORMATS = {
|
|
@@ -86,307 +70,6 @@ class Configuration {
|
|
|
86
70
|
}
|
|
87
71
|
}
|
|
88
72
|
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
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 AdImageControllerService {
|
|
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
|
-
deleteAdImage(adAccountId, hash, observe = 'body', reportProgress = false) {
|
|
128
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
129
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdImage.');
|
|
130
|
-
}
|
|
131
|
-
if (hash === null || hash === undefined) {
|
|
132
|
-
throw new Error('Required parameter hash was null or undefined when calling deleteAdImage.');
|
|
133
|
-
}
|
|
134
|
-
let headers = this.defaultHeaders;
|
|
135
|
-
// to determine the Accept header
|
|
136
|
-
let httpHeaderAccepts = [];
|
|
137
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
138
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
139
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
140
|
-
}
|
|
141
|
-
// to determine the Content-Type header
|
|
142
|
-
const consumes = [];
|
|
143
|
-
return this.httpClient.request('delete', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image/${encodeURIComponent(String(hash))}`, {
|
|
144
|
-
withCredentials: this.configuration.withCredentials,
|
|
145
|
-
headers: headers,
|
|
146
|
-
observe: observe,
|
|
147
|
-
reportProgress: reportProgress
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
getAllAdImages(adAccountId, hashes, observe = 'body', reportProgress = false) {
|
|
151
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
152
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImages.');
|
|
153
|
-
}
|
|
154
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
155
|
-
if (hashes) {
|
|
156
|
-
hashes.forEach((element) => {
|
|
157
|
-
queryParameters = queryParameters.append('hashes', element);
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
let headers = this.defaultHeaders;
|
|
161
|
-
// to determine the Accept header
|
|
162
|
-
let httpHeaderAccepts = [
|
|
163
|
-
'*/*'
|
|
164
|
-
];
|
|
165
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
166
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
167
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
168
|
-
}
|
|
169
|
-
// to determine the Content-Type header
|
|
170
|
-
const consumes = [];
|
|
171
|
-
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
172
|
-
params: queryParameters,
|
|
173
|
-
withCredentials: this.configuration.withCredentials,
|
|
174
|
-
headers: headers,
|
|
175
|
-
observe: observe,
|
|
176
|
-
reportProgress: reportProgress
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
uploadAdImages(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
180
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
181
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages.');
|
|
182
|
-
}
|
|
183
|
-
if (files === null || files === undefined) {
|
|
184
|
-
throw new Error('Required parameter files was null or undefined when calling uploadAdImages.');
|
|
185
|
-
}
|
|
186
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
187
|
-
if (files) {
|
|
188
|
-
files.forEach((element) => {
|
|
189
|
-
queryParameters = queryParameters.append('files', element);
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
let headers = this.defaultHeaders;
|
|
193
|
-
// to determine the Accept header
|
|
194
|
-
let httpHeaderAccepts = [
|
|
195
|
-
'*/*'
|
|
196
|
-
];
|
|
197
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
198
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
199
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
200
|
-
}
|
|
201
|
-
// to determine the Content-Type header
|
|
202
|
-
const consumes = [];
|
|
203
|
-
return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
204
|
-
params: queryParameters,
|
|
205
|
-
withCredentials: this.configuration.withCredentials,
|
|
206
|
-
headers: headers,
|
|
207
|
-
observe: observe,
|
|
208
|
-
reportProgress: reportProgress
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
AdImageControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdImageControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
213
|
-
AdImageControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdImageControllerService });
|
|
214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdImageControllerService, decorators: [{
|
|
215
|
-
type: Injectable
|
|
216
|
-
}], ctorParameters: function () {
|
|
217
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
218
|
-
type: Optional
|
|
219
|
-
}, {
|
|
220
|
-
type: Inject,
|
|
221
|
-
args: [BASE_PATH]
|
|
222
|
-
}] }, { type: Configuration, decorators: [{
|
|
223
|
-
type: Optional
|
|
224
|
-
}] }];
|
|
225
|
-
} });
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
235
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
236
|
-
* Do not edit the class manually.
|
|
237
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
238
|
-
class AdVideoControllerService {
|
|
239
|
-
constructor(httpClient, basePath, configuration) {
|
|
240
|
-
this.httpClient = httpClient;
|
|
241
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
242
|
-
this.defaultHeaders = new HttpHeaders();
|
|
243
|
-
this.configuration = new Configuration();
|
|
244
|
-
if (basePath) {
|
|
245
|
-
this.basePath = basePath;
|
|
246
|
-
}
|
|
247
|
-
if (configuration) {
|
|
248
|
-
this.configuration = configuration;
|
|
249
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* @param consumes string[] mime-types
|
|
254
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
255
|
-
*/
|
|
256
|
-
canConsumeForm(consumes) {
|
|
257
|
-
const form = 'multipart/form-data';
|
|
258
|
-
for (const consume of consumes) {
|
|
259
|
-
if (form === consume) {
|
|
260
|
-
return true;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
return false;
|
|
264
|
-
}
|
|
265
|
-
deleteAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
266
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
267
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdVideo.');
|
|
268
|
-
}
|
|
269
|
-
if (videoId === null || videoId === undefined) {
|
|
270
|
-
throw new Error('Required parameter videoId was null or undefined when calling deleteAdVideo.');
|
|
271
|
-
}
|
|
272
|
-
let headers = this.defaultHeaders;
|
|
273
|
-
// to determine the Accept header
|
|
274
|
-
let httpHeaderAccepts = [];
|
|
275
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
276
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
277
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
278
|
-
}
|
|
279
|
-
// to determine the Content-Type header
|
|
280
|
-
const consumes = [];
|
|
281
|
-
return this.httpClient.request('delete', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
|
|
282
|
-
withCredentials: this.configuration.withCredentials,
|
|
283
|
-
headers: headers,
|
|
284
|
-
observe: observe,
|
|
285
|
-
reportProgress: reportProgress
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
getAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
289
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
290
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling getAdVideo.');
|
|
291
|
-
}
|
|
292
|
-
if (videoId === null || videoId === undefined) {
|
|
293
|
-
throw new Error('Required parameter videoId was null or undefined when calling getAdVideo.');
|
|
294
|
-
}
|
|
295
|
-
let headers = this.defaultHeaders;
|
|
296
|
-
// to determine the Accept header
|
|
297
|
-
let httpHeaderAccepts = [
|
|
298
|
-
'*/*'
|
|
299
|
-
];
|
|
300
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
301
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
302
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
303
|
-
}
|
|
304
|
-
// to determine the Content-Type header
|
|
305
|
-
const consumes = [];
|
|
306
|
-
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
|
|
307
|
-
withCredentials: this.configuration.withCredentials,
|
|
308
|
-
headers: headers,
|
|
309
|
-
observe: observe,
|
|
310
|
-
reportProgress: reportProgress
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
getAllAdVideos(adAccountId, videoIds, observe = 'body', reportProgress = false) {
|
|
314
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
315
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideos.');
|
|
316
|
-
}
|
|
317
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
318
|
-
if (videoIds) {
|
|
319
|
-
videoIds.forEach((element) => {
|
|
320
|
-
queryParameters = queryParameters.append('videoIds', element);
|
|
321
|
-
});
|
|
322
|
-
}
|
|
323
|
-
let headers = this.defaultHeaders;
|
|
324
|
-
// to determine the Accept header
|
|
325
|
-
let httpHeaderAccepts = [
|
|
326
|
-
'*/*'
|
|
327
|
-
];
|
|
328
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
329
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
330
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
331
|
-
}
|
|
332
|
-
// to determine the Content-Type header
|
|
333
|
-
const consumes = [];
|
|
334
|
-
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
335
|
-
params: queryParameters,
|
|
336
|
-
withCredentials: this.configuration.withCredentials,
|
|
337
|
-
headers: headers,
|
|
338
|
-
observe: observe,
|
|
339
|
-
reportProgress: reportProgress
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
uploadAdVideos(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
343
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
344
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos.');
|
|
345
|
-
}
|
|
346
|
-
if (files === null || files === undefined) {
|
|
347
|
-
throw new Error('Required parameter files was null or undefined when calling uploadAdVideos.');
|
|
348
|
-
}
|
|
349
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
350
|
-
if (files) {
|
|
351
|
-
files.forEach((element) => {
|
|
352
|
-
queryParameters = queryParameters.append('files', element);
|
|
353
|
-
});
|
|
354
|
-
}
|
|
355
|
-
let headers = this.defaultHeaders;
|
|
356
|
-
// to determine the Accept header
|
|
357
|
-
let httpHeaderAccepts = [
|
|
358
|
-
'*/*'
|
|
359
|
-
];
|
|
360
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
361
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
362
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
363
|
-
}
|
|
364
|
-
// to determine the Content-Type header
|
|
365
|
-
const consumes = [];
|
|
366
|
-
return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
367
|
-
params: queryParameters,
|
|
368
|
-
withCredentials: this.configuration.withCredentials,
|
|
369
|
-
headers: headers,
|
|
370
|
-
observe: observe,
|
|
371
|
-
reportProgress: reportProgress
|
|
372
|
-
});
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
AdVideoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
376
|
-
AdVideoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService });
|
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService, decorators: [{
|
|
378
|
-
type: Injectable
|
|
379
|
-
}], ctorParameters: function () {
|
|
380
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
381
|
-
type: Optional
|
|
382
|
-
}, {
|
|
383
|
-
type: Inject,
|
|
384
|
-
args: [BASE_PATH]
|
|
385
|
-
}] }, { type: Configuration, decorators: [{
|
|
386
|
-
type: Optional
|
|
387
|
-
}] }];
|
|
388
|
-
} });
|
|
389
|
-
|
|
390
73
|
/**
|
|
391
74
|
*
|
|
392
75
|
*
|
|
@@ -401,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
401
84
|
class BusinessGeoControllerService {
|
|
402
85
|
constructor(httpClient, basePath, configuration) {
|
|
403
86
|
this.httpClient = httpClient;
|
|
404
|
-
this.basePath = 'http://
|
|
87
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
405
88
|
this.defaultHeaders = new HttpHeaders();
|
|
406
89
|
this.configuration = new Configuration();
|
|
407
90
|
if (basePath) {
|
|
@@ -437,7 +120,7 @@ class BusinessGeoControllerService {
|
|
|
437
120
|
}
|
|
438
121
|
// to determine the Content-Type header
|
|
439
122
|
const consumes = [];
|
|
440
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
123
|
+
return this.httpClient.request('get', `${this.basePath}/business-geo`, {
|
|
441
124
|
withCredentials: this.configuration.withCredentials,
|
|
442
125
|
headers: headers,
|
|
443
126
|
observe: observe,
|
|
@@ -460,6 +143,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
460
143
|
}] }];
|
|
461
144
|
} });
|
|
462
145
|
|
|
146
|
+
/**
|
|
147
|
+
* CustomHttpUrlEncodingCodec
|
|
148
|
+
* Fix plus sign (+) not encoding, so sent as blank space
|
|
149
|
+
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
|
|
150
|
+
*/
|
|
151
|
+
class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
152
|
+
encodeKey(k) {
|
|
153
|
+
k = super.encodeKey(k);
|
|
154
|
+
return k.replace(/\+/gi, '%2B');
|
|
155
|
+
}
|
|
156
|
+
encodeValue(v) {
|
|
157
|
+
v = super.encodeValue(v);
|
|
158
|
+
return v.replace(/\+/gi, '%2B');
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
463
162
|
/**
|
|
464
163
|
*
|
|
465
164
|
*
|
|
@@ -474,7 +173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
474
173
|
class CampaignControllerService {
|
|
475
174
|
constructor(httpClient, basePath, configuration) {
|
|
476
175
|
this.httpClient = httpClient;
|
|
477
|
-
this.basePath = 'http://
|
|
176
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
478
177
|
this.defaultHeaders = new HttpHeaders();
|
|
479
178
|
this.configuration = new Configuration();
|
|
480
179
|
if (basePath) {
|
|
@@ -519,7 +218,7 @@ class CampaignControllerService {
|
|
|
519
218
|
if (httpContentTypeSelected != undefined) {
|
|
520
219
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
521
220
|
}
|
|
522
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
221
|
+
return this.httpClient.request('post', `${this.basePath}/campaign`, {
|
|
523
222
|
body: body,
|
|
524
223
|
withCredentials: this.configuration.withCredentials,
|
|
525
224
|
headers: headers,
|
|
@@ -560,7 +259,7 @@ class CampaignControllerService {
|
|
|
560
259
|
}
|
|
561
260
|
// to determine the Content-Type header
|
|
562
261
|
const consumes = [];
|
|
563
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
262
|
+
return this.httpClient.request('get', `${this.basePath}/campaign`, {
|
|
564
263
|
params: queryParameters,
|
|
565
264
|
withCredentials: this.configuration.withCredentials,
|
|
566
265
|
headers: headers,
|
|
@@ -583,7 +282,7 @@ class CampaignControllerService {
|
|
|
583
282
|
}
|
|
584
283
|
// to determine the Content-Type header
|
|
585
284
|
const consumes = [];
|
|
586
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
285
|
+
return this.httpClient.request('get', `${this.basePath}/campaign/${encodeURIComponent(String(id))}`, {
|
|
587
286
|
withCredentials: this.configuration.withCredentials,
|
|
588
287
|
headers: headers,
|
|
589
288
|
observe: observe,
|
|
@@ -609,7 +308,7 @@ class CampaignControllerService {
|
|
|
609
308
|
}
|
|
610
309
|
// to determine the Content-Type header
|
|
611
310
|
const consumes = [];
|
|
612
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
311
|
+
return this.httpClient.request('get', `${this.basePath}/campaign/search`, {
|
|
613
312
|
params: queryParameters,
|
|
614
313
|
withCredentials: this.configuration.withCredentials,
|
|
615
314
|
headers: headers,
|
|
@@ -647,7 +346,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
647
346
|
class CountryControllerService {
|
|
648
347
|
constructor(httpClient, basePath, configuration) {
|
|
649
348
|
this.httpClient = httpClient;
|
|
650
|
-
this.basePath = 'http://
|
|
349
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
651
350
|
this.defaultHeaders = new HttpHeaders();
|
|
652
351
|
this.configuration = new Configuration();
|
|
653
352
|
if (basePath) {
|
|
@@ -683,7 +382,7 @@ class CountryControllerService {
|
|
|
683
382
|
}
|
|
684
383
|
// to determine the Content-Type header
|
|
685
384
|
const consumes = [];
|
|
686
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
385
|
+
return this.httpClient.request('get', `${this.basePath}/country`, {
|
|
687
386
|
withCredentials: this.configuration.withCredentials,
|
|
688
387
|
headers: headers,
|
|
689
388
|
observe: observe,
|
|
@@ -720,7 +419,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
720
419
|
class DpaCampaignControllerService {
|
|
721
420
|
constructor(httpClient, basePath, configuration) {
|
|
722
421
|
this.httpClient = httpClient;
|
|
723
|
-
this.basePath = 'http://
|
|
422
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
724
423
|
this.defaultHeaders = new HttpHeaders();
|
|
725
424
|
this.configuration = new Configuration();
|
|
726
425
|
if (basePath) {
|
|
@@ -768,7 +467,7 @@ class DpaCampaignControllerService {
|
|
|
768
467
|
if (httpContentTypeSelected != undefined) {
|
|
769
468
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
770
469
|
}
|
|
771
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
470
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
772
471
|
body: body,
|
|
773
472
|
withCredentials: this.configuration.withCredentials,
|
|
774
473
|
headers: headers,
|
|
@@ -791,7 +490,7 @@ class DpaCampaignControllerService {
|
|
|
791
490
|
}
|
|
792
491
|
// to determine the Content-Type header
|
|
793
492
|
const consumes = [];
|
|
794
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
493
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
795
494
|
withCredentials: this.configuration.withCredentials,
|
|
796
495
|
headers: headers,
|
|
797
496
|
observe: observe,
|
|
@@ -822,7 +521,7 @@ class DpaCampaignControllerService {
|
|
|
822
521
|
if (httpContentTypeSelected != undefined) {
|
|
823
522
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
824
523
|
}
|
|
825
|
-
return this.httpClient.request('put', `${this.basePath}/
|
|
524
|
+
return this.httpClient.request('put', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
826
525
|
body: body,
|
|
827
526
|
withCredentials: this.configuration.withCredentials,
|
|
828
527
|
headers: headers,
|
|
@@ -860,7 +559,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
860
559
|
class DpaEngagementControllerService {
|
|
861
560
|
constructor(httpClient, basePath, configuration) {
|
|
862
561
|
this.httpClient = httpClient;
|
|
863
|
-
this.basePath = 'http://
|
|
562
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
864
563
|
this.defaultHeaders = new HttpHeaders();
|
|
865
564
|
this.configuration = new Configuration();
|
|
866
565
|
if (basePath) {
|
|
@@ -899,7 +598,7 @@ class DpaEngagementControllerService {
|
|
|
899
598
|
}
|
|
900
599
|
// to determine the Content-Type header
|
|
901
600
|
const consumes = [];
|
|
902
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
601
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
|
|
903
602
|
withCredentials: this.configuration.withCredentials,
|
|
904
603
|
headers: headers,
|
|
905
604
|
observe: observe,
|
|
@@ -927,7 +626,7 @@ class DpaEngagementControllerService {
|
|
|
927
626
|
if (httpContentTypeSelected != undefined) {
|
|
928
627
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
929
628
|
}
|
|
930
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
629
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement`, {
|
|
931
630
|
body: body,
|
|
932
631
|
withCredentials: this.configuration.withCredentials,
|
|
933
632
|
headers: headers,
|
|
@@ -935,7 +634,7 @@ class DpaEngagementControllerService {
|
|
|
935
634
|
reportProgress: reportProgress
|
|
936
635
|
});
|
|
937
636
|
}
|
|
938
|
-
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus,
|
|
637
|
+
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, page, size, sort, observe = 'body', reportProgress = false) {
|
|
939
638
|
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
940
639
|
if (id !== undefined && id !== null) {
|
|
941
640
|
queryParameters = queryParameters.set('id', id);
|
|
@@ -964,9 +663,6 @@ class DpaEngagementControllerService {
|
|
|
964
663
|
if (campaignStatus !== undefined && campaignStatus !== null) {
|
|
965
664
|
queryParameters = queryParameters.set('campaignStatus', campaignStatus);
|
|
966
665
|
}
|
|
967
|
-
if (isStatic !== undefined && isStatic !== null) {
|
|
968
|
-
queryParameters = queryParameters.set('isStatic', isStatic);
|
|
969
|
-
}
|
|
970
666
|
if (page !== undefined && page !== null) {
|
|
971
667
|
queryParameters = queryParameters.set('page', page);
|
|
972
668
|
}
|
|
@@ -989,7 +685,7 @@ class DpaEngagementControllerService {
|
|
|
989
685
|
}
|
|
990
686
|
// to determine the Content-Type header
|
|
991
687
|
const consumes = [];
|
|
992
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
688
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement`, {
|
|
993
689
|
params: queryParameters,
|
|
994
690
|
withCredentials: this.configuration.withCredentials,
|
|
995
691
|
headers: headers,
|
|
@@ -1012,42 +708,7 @@ class DpaEngagementControllerService {
|
|
|
1012
708
|
}
|
|
1013
709
|
// to determine the Content-Type header
|
|
1014
710
|
const consumes = [];
|
|
1015
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1016
|
-
withCredentials: this.configuration.withCredentials,
|
|
1017
|
-
headers: headers,
|
|
1018
|
-
observe: observe,
|
|
1019
|
-
reportProgress: reportProgress
|
|
1020
|
-
});
|
|
1021
|
-
}
|
|
1022
|
-
getDpaEngagementLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1023
|
-
if (id === null || id === undefined) {
|
|
1024
|
-
throw new Error('Required parameter id was null or undefined when calling getDpaEngagementLogs.');
|
|
1025
|
-
}
|
|
1026
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1027
|
-
if (page !== undefined && page !== null) {
|
|
1028
|
-
queryParameters = queryParameters.set('page', page);
|
|
1029
|
-
}
|
|
1030
|
-
if (size !== undefined && size !== null) {
|
|
1031
|
-
queryParameters = queryParameters.set('size', size);
|
|
1032
|
-
}
|
|
1033
|
-
if (sort) {
|
|
1034
|
-
sort.forEach((element) => {
|
|
1035
|
-
queryParameters = queryParameters.append('sort', element);
|
|
1036
|
-
});
|
|
1037
|
-
}
|
|
1038
|
-
let headers = this.defaultHeaders;
|
|
1039
|
-
// to determine the Accept header
|
|
1040
|
-
let httpHeaderAccepts = [
|
|
1041
|
-
'*/*'
|
|
1042
|
-
];
|
|
1043
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1044
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1045
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1046
|
-
}
|
|
1047
|
-
// to determine the Content-Type header
|
|
1048
|
-
const consumes = [];
|
|
1049
|
-
return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/log`, {
|
|
1050
|
-
params: queryParameters,
|
|
711
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
1051
712
|
withCredentials: this.configuration.withCredentials,
|
|
1052
713
|
headers: headers,
|
|
1053
714
|
observe: observe,
|
|
@@ -1069,7 +730,7 @@ class DpaEngagementControllerService {
|
|
|
1069
730
|
}
|
|
1070
731
|
// to determine the Content-Type header
|
|
1071
732
|
const consumes = [];
|
|
1072
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
733
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
|
|
1073
734
|
withCredentials: this.configuration.withCredentials,
|
|
1074
735
|
headers: headers,
|
|
1075
736
|
observe: observe,
|
|
@@ -1091,7 +752,7 @@ class DpaEngagementControllerService {
|
|
|
1091
752
|
}
|
|
1092
753
|
// to determine the Content-Type header
|
|
1093
754
|
const consumes = [];
|
|
1094
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
755
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
|
|
1095
756
|
withCredentials: this.configuration.withCredentials,
|
|
1096
757
|
headers: headers,
|
|
1097
758
|
observe: observe,
|
|
@@ -1117,7 +778,7 @@ class DpaEngagementControllerService {
|
|
|
1117
778
|
}
|
|
1118
779
|
// to determine the Content-Type header
|
|
1119
780
|
const consumes = [];
|
|
1120
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
781
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/search`, {
|
|
1121
782
|
params: queryParameters,
|
|
1122
783
|
withCredentials: this.configuration.withCredentials,
|
|
1123
784
|
headers: headers,
|
|
@@ -1149,7 +810,7 @@ class DpaEngagementControllerService {
|
|
|
1149
810
|
if (httpContentTypeSelected != undefined) {
|
|
1150
811
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1151
812
|
}
|
|
1152
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
813
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
|
|
1153
814
|
body: body,
|
|
1154
815
|
withCredentials: this.configuration.withCredentials,
|
|
1155
816
|
headers: headers,
|
|
@@ -1181,7 +842,7 @@ class DpaEngagementControllerService {
|
|
|
1181
842
|
if (httpContentTypeSelected != undefined) {
|
|
1182
843
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1183
844
|
}
|
|
1184
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
845
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
1185
846
|
body: body,
|
|
1186
847
|
withCredentials: this.configuration.withCredentials,
|
|
1187
848
|
headers: headers,
|
|
@@ -1219,7 +880,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1219
880
|
class FacebookEngagementControllerService {
|
|
1220
881
|
constructor(httpClient, basePath, configuration) {
|
|
1221
882
|
this.httpClient = httpClient;
|
|
1222
|
-
this.basePath = 'http://
|
|
883
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
1223
884
|
this.defaultHeaders = new HttpHeaders();
|
|
1224
885
|
this.configuration = new Configuration();
|
|
1225
886
|
if (basePath) {
|
|
@@ -1267,7 +928,7 @@ class FacebookEngagementControllerService {
|
|
|
1267
928
|
if (httpContentTypeSelected != undefined) {
|
|
1268
929
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1269
930
|
}
|
|
1270
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
931
|
+
return this.httpClient.request('post', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1271
932
|
body: body,
|
|
1272
933
|
withCredentials: this.configuration.withCredentials,
|
|
1273
934
|
headers: headers,
|
|
@@ -1338,7 +999,7 @@ class FacebookEngagementControllerService {
|
|
|
1338
999
|
}
|
|
1339
1000
|
// to determine the Content-Type header
|
|
1340
1001
|
const consumes = [];
|
|
1341
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1002
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement`, {
|
|
1342
1003
|
params: queryParameters,
|
|
1343
1004
|
withCredentials: this.configuration.withCredentials,
|
|
1344
1005
|
headers: headers,
|
|
@@ -1361,7 +1022,7 @@ class FacebookEngagementControllerService {
|
|
|
1361
1022
|
}
|
|
1362
1023
|
// to determine the Content-Type header
|
|
1363
1024
|
const consumes = [];
|
|
1364
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1025
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1365
1026
|
withCredentials: this.configuration.withCredentials,
|
|
1366
1027
|
headers: headers,
|
|
1367
1028
|
observe: observe,
|
|
@@ -1384,179 +1045,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1384
1045
|
}] }];
|
|
1385
1046
|
} });
|
|
1386
1047
|
|
|
1387
|
-
/**
|
|
1388
|
-
*
|
|
1389
|
-
*
|
|
1390
|
-
*
|
|
1391
|
-
*
|
|
1392
|
-
*
|
|
1393
|
-
*
|
|
1394
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1395
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1396
|
-
* Do not edit the class manually.
|
|
1397
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1398
|
-
class MobileAppDetailControllerService {
|
|
1399
|
-
constructor(httpClient, basePath, configuration) {
|
|
1400
|
-
this.httpClient = httpClient;
|
|
1401
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1402
|
-
this.defaultHeaders = new HttpHeaders();
|
|
1403
|
-
this.configuration = new Configuration();
|
|
1404
|
-
if (basePath) {
|
|
1405
|
-
this.basePath = basePath;
|
|
1406
|
-
}
|
|
1407
|
-
if (configuration) {
|
|
1408
|
-
this.configuration = configuration;
|
|
1409
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1410
|
-
}
|
|
1411
|
-
}
|
|
1412
|
-
/**
|
|
1413
|
-
* @param consumes string[] mime-types
|
|
1414
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1415
|
-
*/
|
|
1416
|
-
canConsumeForm(consumes) {
|
|
1417
|
-
const form = 'multipart/form-data';
|
|
1418
|
-
for (const consume of consumes) {
|
|
1419
|
-
if (form === consume) {
|
|
1420
|
-
return true;
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
return false;
|
|
1424
|
-
}
|
|
1425
|
-
createOrUpdateMobileAppDetail(body, id, observe = 'body', reportProgress = false) {
|
|
1426
|
-
if (body === null || body === undefined) {
|
|
1427
|
-
throw new Error('Required parameter body was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1428
|
-
}
|
|
1429
|
-
if (id === null || id === undefined) {
|
|
1430
|
-
throw new Error('Required parameter id was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1431
|
-
}
|
|
1432
|
-
let headers = this.defaultHeaders;
|
|
1433
|
-
// to determine the Accept header
|
|
1434
|
-
let httpHeaderAccepts = [
|
|
1435
|
-
'*/*'
|
|
1436
|
-
];
|
|
1437
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1438
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1439
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1440
|
-
}
|
|
1441
|
-
// to determine the Content-Type header
|
|
1442
|
-
const consumes = [
|
|
1443
|
-
'application/json'
|
|
1444
|
-
];
|
|
1445
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1446
|
-
if (httpContentTypeSelected != undefined) {
|
|
1447
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1448
|
-
}
|
|
1449
|
-
return this.httpClient.request('post', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
|
|
1450
|
-
body: body,
|
|
1451
|
-
withCredentials: this.configuration.withCredentials,
|
|
1452
|
-
headers: headers,
|
|
1453
|
-
observe: observe,
|
|
1454
|
-
reportProgress: reportProgress
|
|
1455
|
-
});
|
|
1456
|
-
}
|
|
1457
|
-
getAllMobileAppDetails(campaignId, altLandingPage, playStoreLink, playStoreId, fbAppIdForPlayStore, itunesLink, itunesId, fbAppIdForItunes, iosAppName, androidAppName, defaultWebSiteUrl, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1458
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1459
|
-
if (campaignId !== undefined && campaignId !== null) {
|
|
1460
|
-
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
1461
|
-
}
|
|
1462
|
-
if (altLandingPage !== undefined && altLandingPage !== null) {
|
|
1463
|
-
queryParameters = queryParameters.set('altLandingPage', altLandingPage);
|
|
1464
|
-
}
|
|
1465
|
-
if (playStoreLink !== undefined && playStoreLink !== null) {
|
|
1466
|
-
queryParameters = queryParameters.set('playStoreLink', playStoreLink);
|
|
1467
|
-
}
|
|
1468
|
-
if (playStoreId !== undefined && playStoreId !== null) {
|
|
1469
|
-
queryParameters = queryParameters.set('playStoreId', playStoreId);
|
|
1470
|
-
}
|
|
1471
|
-
if (fbAppIdForPlayStore !== undefined && fbAppIdForPlayStore !== null) {
|
|
1472
|
-
queryParameters = queryParameters.set('fbAppIdForPlayStore', fbAppIdForPlayStore);
|
|
1473
|
-
}
|
|
1474
|
-
if (itunesLink !== undefined && itunesLink !== null) {
|
|
1475
|
-
queryParameters = queryParameters.set('itunesLink', itunesLink);
|
|
1476
|
-
}
|
|
1477
|
-
if (itunesId !== undefined && itunesId !== null) {
|
|
1478
|
-
queryParameters = queryParameters.set('itunesId', itunesId);
|
|
1479
|
-
}
|
|
1480
|
-
if (fbAppIdForItunes !== undefined && fbAppIdForItunes !== null) {
|
|
1481
|
-
queryParameters = queryParameters.set('fbAppIdForItunes', fbAppIdForItunes);
|
|
1482
|
-
}
|
|
1483
|
-
if (iosAppName !== undefined && iosAppName !== null) {
|
|
1484
|
-
queryParameters = queryParameters.set('iosAppName', iosAppName);
|
|
1485
|
-
}
|
|
1486
|
-
if (androidAppName !== undefined && androidAppName !== null) {
|
|
1487
|
-
queryParameters = queryParameters.set('androidAppName', androidAppName);
|
|
1488
|
-
}
|
|
1489
|
-
if (defaultWebSiteUrl !== undefined && defaultWebSiteUrl !== null) {
|
|
1490
|
-
queryParameters = queryParameters.set('defaultWebSiteUrl', defaultWebSiteUrl);
|
|
1491
|
-
}
|
|
1492
|
-
if (page !== undefined && page !== null) {
|
|
1493
|
-
queryParameters = queryParameters.set('page', page);
|
|
1494
|
-
}
|
|
1495
|
-
if (size !== undefined && size !== null) {
|
|
1496
|
-
queryParameters = queryParameters.set('size', size);
|
|
1497
|
-
}
|
|
1498
|
-
if (sort) {
|
|
1499
|
-
sort.forEach((element) => {
|
|
1500
|
-
queryParameters = queryParameters.append('sort', element);
|
|
1501
|
-
});
|
|
1502
|
-
}
|
|
1503
|
-
let headers = this.defaultHeaders;
|
|
1504
|
-
// to determine the Accept header
|
|
1505
|
-
let httpHeaderAccepts = [
|
|
1506
|
-
'*/*'
|
|
1507
|
-
];
|
|
1508
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1509
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1510
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1511
|
-
}
|
|
1512
|
-
// to determine the Content-Type header
|
|
1513
|
-
const consumes = [];
|
|
1514
|
-
return this.httpClient.request('get', `${this.basePath}/api/mobile-app`, {
|
|
1515
|
-
params: queryParameters,
|
|
1516
|
-
withCredentials: this.configuration.withCredentials,
|
|
1517
|
-
headers: headers,
|
|
1518
|
-
observe: observe,
|
|
1519
|
-
reportProgress: reportProgress
|
|
1520
|
-
});
|
|
1521
|
-
}
|
|
1522
|
-
getMobileAppDetail(id, observe = 'body', reportProgress = false) {
|
|
1523
|
-
if (id === null || id === undefined) {
|
|
1524
|
-
throw new Error('Required parameter id was null or undefined when calling getMobileAppDetail.');
|
|
1525
|
-
}
|
|
1526
|
-
let headers = this.defaultHeaders;
|
|
1527
|
-
// to determine the Accept header
|
|
1528
|
-
let httpHeaderAccepts = [
|
|
1529
|
-
'*/*'
|
|
1530
|
-
];
|
|
1531
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1532
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1533
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1534
|
-
}
|
|
1535
|
-
// to determine the Content-Type header
|
|
1536
|
-
const consumes = [];
|
|
1537
|
-
return this.httpClient.request('get', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
|
|
1538
|
-
withCredentials: this.configuration.withCredentials,
|
|
1539
|
-
headers: headers,
|
|
1540
|
-
observe: observe,
|
|
1541
|
-
reportProgress: reportProgress
|
|
1542
|
-
});
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
MobileAppDetailControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1546
|
-
MobileAppDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService });
|
|
1547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, decorators: [{
|
|
1548
|
-
type: Injectable
|
|
1549
|
-
}], ctorParameters: function () {
|
|
1550
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1551
|
-
type: Optional
|
|
1552
|
-
}, {
|
|
1553
|
-
type: Inject,
|
|
1554
|
-
args: [BASE_PATH]
|
|
1555
|
-
}] }, { type: Configuration, decorators: [{
|
|
1556
|
-
type: Optional
|
|
1557
|
-
}] }];
|
|
1558
|
-
} });
|
|
1559
|
-
|
|
1560
1048
|
/**
|
|
1561
1049
|
*
|
|
1562
1050
|
*
|
|
@@ -1571,7 +1059,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1571
1059
|
class PackageDetailControllerService {
|
|
1572
1060
|
constructor(httpClient, basePath, configuration) {
|
|
1573
1061
|
this.httpClient = httpClient;
|
|
1574
|
-
this.basePath = 'http://
|
|
1062
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
1575
1063
|
this.defaultHeaders = new HttpHeaders();
|
|
1576
1064
|
this.configuration = new Configuration();
|
|
1577
1065
|
if (basePath) {
|
|
@@ -1628,7 +1116,7 @@ class PackageDetailControllerService {
|
|
|
1628
1116
|
}
|
|
1629
1117
|
// to determine the Content-Type header
|
|
1630
1118
|
const consumes = [];
|
|
1631
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1119
|
+
return this.httpClient.request('get', `${this.basePath}/package`, {
|
|
1632
1120
|
params: queryParameters,
|
|
1633
1121
|
withCredentials: this.configuration.withCredentials,
|
|
1634
1122
|
headers: headers,
|
|
@@ -1651,7 +1139,7 @@ class PackageDetailControllerService {
|
|
|
1651
1139
|
}
|
|
1652
1140
|
// to determine the Content-Type header
|
|
1653
1141
|
const consumes = [];
|
|
1654
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1142
|
+
return this.httpClient.request('get', `${this.basePath}/package/${encodeURIComponent(String(id))}`, {
|
|
1655
1143
|
withCredentials: this.configuration.withCredentials,
|
|
1656
1144
|
headers: headers,
|
|
1657
1145
|
observe: observe,
|
|
@@ -1674,27 +1162,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1674
1162
|
}] }];
|
|
1675
1163
|
} });
|
|
1676
1164
|
|
|
1677
|
-
const APIS = [
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
*
|
|
1681
|
-
*
|
|
1682
|
-
*
|
|
1683
|
-
*
|
|
1684
|
-
*
|
|
1685
|
-
*
|
|
1686
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1687
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1688
|
-
* Do not edit the class manually.
|
|
1689
|
-
*/
|
|
1690
|
-
var AdImageResponse;
|
|
1691
|
-
(function (AdImageResponse) {
|
|
1692
|
-
AdImageResponse.StatusEnum = {
|
|
1693
|
-
ACTIVE: 'ACTIVE',
|
|
1694
|
-
DELETED: 'DELETED',
|
|
1695
|
-
INTERNAL: 'INTERNAL'
|
|
1696
|
-
};
|
|
1697
|
-
})(AdImageResponse || (AdImageResponse = {}));
|
|
1165
|
+
const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookEngagementControllerService, PackageDetailControllerService];
|
|
1698
1166
|
|
|
1699
1167
|
/**
|
|
1700
1168
|
*
|
|
@@ -1760,30 +1228,6 @@ var DpaCampaignResponse;
|
|
|
1760
1228
|
};
|
|
1761
1229
|
})(DpaCampaignResponse || (DpaCampaignResponse = {}));
|
|
1762
1230
|
|
|
1763
|
-
/**
|
|
1764
|
-
*
|
|
1765
|
-
*
|
|
1766
|
-
*
|
|
1767
|
-
*
|
|
1768
|
-
*
|
|
1769
|
-
*
|
|
1770
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1771
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1772
|
-
* Do not edit the class manually.
|
|
1773
|
-
*/
|
|
1774
|
-
var DpaEngagementChangeLogResponse;
|
|
1775
|
-
(function (DpaEngagementChangeLogResponse) {
|
|
1776
|
-
DpaEngagementChangeLogResponse.EntityChangedEnum = {
|
|
1777
|
-
STATUS: 'STATUS',
|
|
1778
|
-
BUDGET: 'BUDGET',
|
|
1779
|
-
ENGAGEMENT: 'ENGAGEMENT'
|
|
1780
|
-
};
|
|
1781
|
-
DpaEngagementChangeLogResponse.StatusEnum = {
|
|
1782
|
-
SUCCESS: 'SUCCESS',
|
|
1783
|
-
FAILED: 'FAILED'
|
|
1784
|
-
};
|
|
1785
|
-
})(DpaEngagementChangeLogResponse || (DpaEngagementChangeLogResponse = {}));
|
|
1786
|
-
|
|
1787
1231
|
var DpaEngagementResponse;
|
|
1788
1232
|
(function (DpaEngagementResponse) {
|
|
1789
1233
|
DpaEngagementResponse.RunByEnum = {
|
|
@@ -1858,15 +1302,12 @@ class ApiModule {
|
|
|
1858
1302
|
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 });
|
|
1859
1303
|
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1860
1304
|
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1861
|
-
AdImageControllerService,
|
|
1862
|
-
AdVideoControllerService,
|
|
1863
1305
|
BusinessGeoControllerService,
|
|
1864
1306
|
CampaignControllerService,
|
|
1865
1307
|
CountryControllerService,
|
|
1866
1308
|
DpaCampaignControllerService,
|
|
1867
1309
|
DpaEngagementControllerService,
|
|
1868
1310
|
FacebookEngagementControllerService,
|
|
1869
|
-
MobileAppDetailControllerService,
|
|
1870
1311
|
PackageDetailControllerService
|
|
1871
1312
|
] });
|
|
1872
1313
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
@@ -1876,15 +1317,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1876
1317
|
declarations: [],
|
|
1877
1318
|
exports: [],
|
|
1878
1319
|
providers: [
|
|
1879
|
-
AdImageControllerService,
|
|
1880
|
-
AdVideoControllerService,
|
|
1881
1320
|
BusinessGeoControllerService,
|
|
1882
1321
|
CampaignControllerService,
|
|
1883
1322
|
CountryControllerService,
|
|
1884
1323
|
DpaCampaignControllerService,
|
|
1885
1324
|
DpaEngagementControllerService,
|
|
1886
1325
|
FacebookEngagementControllerService,
|
|
1887
|
-
MobileAppDetailControllerService,
|
|
1888
1326
|
PackageDetailControllerService
|
|
1889
1327
|
]
|
|
1890
1328
|
}]
|
|
@@ -1902,5 +1340,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1902
1340
|
* Generated bundle index. Do not edit.
|
|
1903
1341
|
*/
|
|
1904
1342
|
|
|
1905
|
-
export { APIS,
|
|
1343
|
+
export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, PackageDetailControllerService };
|
|
1906
1344
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|