@revxui/intellibid-client-ts 1.0.13 → 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 +2 -2
- package/model/pageDpaEngagementResponse.d.ts +2 -2
- package/model/pageFacebookEngagementResponse.d.ts +2 -2
- package/model/pagePackageDetailResponse.d.ts +2 -2
- package/model/pageableObject.d.ts +2 -2
- 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,303 +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 () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
217
|
-
type: Optional
|
|
218
|
-
}, {
|
|
219
|
-
type: Inject,
|
|
220
|
-
args: [BASE_PATH]
|
|
221
|
-
}] }, { type: Configuration, decorators: [{
|
|
222
|
-
type: Optional
|
|
223
|
-
}] }]; } });
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
233
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
234
|
-
* Do not edit the class manually.
|
|
235
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
236
|
-
class AdVideoControllerService {
|
|
237
|
-
constructor(httpClient, basePath, configuration) {
|
|
238
|
-
this.httpClient = httpClient;
|
|
239
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
240
|
-
this.defaultHeaders = new HttpHeaders();
|
|
241
|
-
this.configuration = new Configuration();
|
|
242
|
-
if (basePath) {
|
|
243
|
-
this.basePath = basePath;
|
|
244
|
-
}
|
|
245
|
-
if (configuration) {
|
|
246
|
-
this.configuration = configuration;
|
|
247
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* @param consumes string[] mime-types
|
|
252
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
253
|
-
*/
|
|
254
|
-
canConsumeForm(consumes) {
|
|
255
|
-
const form = 'multipart/form-data';
|
|
256
|
-
for (const consume of consumes) {
|
|
257
|
-
if (form === consume) {
|
|
258
|
-
return true;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
return false;
|
|
262
|
-
}
|
|
263
|
-
deleteAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
264
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
265
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdVideo.');
|
|
266
|
-
}
|
|
267
|
-
if (videoId === null || videoId === undefined) {
|
|
268
|
-
throw new Error('Required parameter videoId was null or undefined when calling deleteAdVideo.');
|
|
269
|
-
}
|
|
270
|
-
let headers = this.defaultHeaders;
|
|
271
|
-
// to determine the Accept header
|
|
272
|
-
let httpHeaderAccepts = [];
|
|
273
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
274
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
275
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
276
|
-
}
|
|
277
|
-
// to determine the Content-Type header
|
|
278
|
-
const consumes = [];
|
|
279
|
-
return this.httpClient.request('delete', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
|
|
280
|
-
withCredentials: this.configuration.withCredentials,
|
|
281
|
-
headers: headers,
|
|
282
|
-
observe: observe,
|
|
283
|
-
reportProgress: reportProgress
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
getAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
287
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
288
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling getAdVideo.');
|
|
289
|
-
}
|
|
290
|
-
if (videoId === null || videoId === undefined) {
|
|
291
|
-
throw new Error('Required parameter videoId was null or undefined when calling getAdVideo.');
|
|
292
|
-
}
|
|
293
|
-
let headers = this.defaultHeaders;
|
|
294
|
-
// to determine the Accept header
|
|
295
|
-
let httpHeaderAccepts = [
|
|
296
|
-
'*/*'
|
|
297
|
-
];
|
|
298
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
299
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
300
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
301
|
-
}
|
|
302
|
-
// to determine the Content-Type header
|
|
303
|
-
const consumes = [];
|
|
304
|
-
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
|
|
305
|
-
withCredentials: this.configuration.withCredentials,
|
|
306
|
-
headers: headers,
|
|
307
|
-
observe: observe,
|
|
308
|
-
reportProgress: reportProgress
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
getAllAdVideos(adAccountId, videoIds, observe = 'body', reportProgress = false) {
|
|
312
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
313
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideos.');
|
|
314
|
-
}
|
|
315
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
316
|
-
if (videoIds) {
|
|
317
|
-
videoIds.forEach((element) => {
|
|
318
|
-
queryParameters = queryParameters.append('videoIds', element);
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
let headers = this.defaultHeaders;
|
|
322
|
-
// to determine the Accept header
|
|
323
|
-
let httpHeaderAccepts = [
|
|
324
|
-
'*/*'
|
|
325
|
-
];
|
|
326
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
327
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
328
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
329
|
-
}
|
|
330
|
-
// to determine the Content-Type header
|
|
331
|
-
const consumes = [];
|
|
332
|
-
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
333
|
-
params: queryParameters,
|
|
334
|
-
withCredentials: this.configuration.withCredentials,
|
|
335
|
-
headers: headers,
|
|
336
|
-
observe: observe,
|
|
337
|
-
reportProgress: reportProgress
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
uploadAdVideos(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
341
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
342
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos.');
|
|
343
|
-
}
|
|
344
|
-
if (files === null || files === undefined) {
|
|
345
|
-
throw new Error('Required parameter files was null or undefined when calling uploadAdVideos.');
|
|
346
|
-
}
|
|
347
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
348
|
-
if (files) {
|
|
349
|
-
files.forEach((element) => {
|
|
350
|
-
queryParameters = queryParameters.append('files', element);
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
let headers = this.defaultHeaders;
|
|
354
|
-
// to determine the Accept header
|
|
355
|
-
let httpHeaderAccepts = [
|
|
356
|
-
'*/*'
|
|
357
|
-
];
|
|
358
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
359
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
360
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
361
|
-
}
|
|
362
|
-
// to determine the Content-Type header
|
|
363
|
-
const consumes = [];
|
|
364
|
-
return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
365
|
-
params: queryParameters,
|
|
366
|
-
withCredentials: this.configuration.withCredentials,
|
|
367
|
-
headers: headers,
|
|
368
|
-
observe: observe,
|
|
369
|
-
reportProgress: reportProgress
|
|
370
|
-
});
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
AdVideoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
374
|
-
AdVideoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService });
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdVideoControllerService, decorators: [{
|
|
376
|
-
type: Injectable
|
|
377
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
378
|
-
type: Optional
|
|
379
|
-
}, {
|
|
380
|
-
type: Inject,
|
|
381
|
-
args: [BASE_PATH]
|
|
382
|
-
}] }, { type: Configuration, decorators: [{
|
|
383
|
-
type: Optional
|
|
384
|
-
}] }]; } });
|
|
385
|
-
|
|
386
73
|
/**
|
|
387
74
|
*
|
|
388
75
|
*
|
|
@@ -397,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
397
84
|
class BusinessGeoControllerService {
|
|
398
85
|
constructor(httpClient, basePath, configuration) {
|
|
399
86
|
this.httpClient = httpClient;
|
|
400
|
-
this.basePath = 'http://
|
|
87
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
401
88
|
this.defaultHeaders = new HttpHeaders();
|
|
402
89
|
this.configuration = new Configuration();
|
|
403
90
|
if (basePath) {
|
|
@@ -433,7 +120,7 @@ class BusinessGeoControllerService {
|
|
|
433
120
|
}
|
|
434
121
|
// to determine the Content-Type header
|
|
435
122
|
const consumes = [];
|
|
436
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
123
|
+
return this.httpClient.request('get', `${this.basePath}/business-geo`, {
|
|
437
124
|
withCredentials: this.configuration.withCredentials,
|
|
438
125
|
headers: headers,
|
|
439
126
|
observe: observe,
|
|
@@ -454,6 +141,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
454
141
|
type: Optional
|
|
455
142
|
}] }]; } });
|
|
456
143
|
|
|
144
|
+
/**
|
|
145
|
+
* CustomHttpUrlEncodingCodec
|
|
146
|
+
* Fix plus sign (+) not encoding, so sent as blank space
|
|
147
|
+
* See: https://github.com/angular/angular/issues/11058#issuecomment-247367318
|
|
148
|
+
*/
|
|
149
|
+
class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
|
|
150
|
+
encodeKey(k) {
|
|
151
|
+
k = super.encodeKey(k);
|
|
152
|
+
return k.replace(/\+/gi, '%2B');
|
|
153
|
+
}
|
|
154
|
+
encodeValue(v) {
|
|
155
|
+
v = super.encodeValue(v);
|
|
156
|
+
return v.replace(/\+/gi, '%2B');
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
457
160
|
/**
|
|
458
161
|
*
|
|
459
162
|
*
|
|
@@ -468,7 +171,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
468
171
|
class CampaignControllerService {
|
|
469
172
|
constructor(httpClient, basePath, configuration) {
|
|
470
173
|
this.httpClient = httpClient;
|
|
471
|
-
this.basePath = 'http://
|
|
174
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
472
175
|
this.defaultHeaders = new HttpHeaders();
|
|
473
176
|
this.configuration = new Configuration();
|
|
474
177
|
if (basePath) {
|
|
@@ -513,7 +216,7 @@ class CampaignControllerService {
|
|
|
513
216
|
if (httpContentTypeSelected != undefined) {
|
|
514
217
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
515
218
|
}
|
|
516
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
219
|
+
return this.httpClient.request('post', `${this.basePath}/campaign`, {
|
|
517
220
|
body: body,
|
|
518
221
|
withCredentials: this.configuration.withCredentials,
|
|
519
222
|
headers: headers,
|
|
@@ -554,7 +257,7 @@ class CampaignControllerService {
|
|
|
554
257
|
}
|
|
555
258
|
// to determine the Content-Type header
|
|
556
259
|
const consumes = [];
|
|
557
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
260
|
+
return this.httpClient.request('get', `${this.basePath}/campaign`, {
|
|
558
261
|
params: queryParameters,
|
|
559
262
|
withCredentials: this.configuration.withCredentials,
|
|
560
263
|
headers: headers,
|
|
@@ -577,7 +280,7 @@ class CampaignControllerService {
|
|
|
577
280
|
}
|
|
578
281
|
// to determine the Content-Type header
|
|
579
282
|
const consumes = [];
|
|
580
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
283
|
+
return this.httpClient.request('get', `${this.basePath}/campaign/${encodeURIComponent(String(id))}`, {
|
|
581
284
|
withCredentials: this.configuration.withCredentials,
|
|
582
285
|
headers: headers,
|
|
583
286
|
observe: observe,
|
|
@@ -603,7 +306,7 @@ class CampaignControllerService {
|
|
|
603
306
|
}
|
|
604
307
|
// to determine the Content-Type header
|
|
605
308
|
const consumes = [];
|
|
606
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
309
|
+
return this.httpClient.request('get', `${this.basePath}/campaign/search`, {
|
|
607
310
|
params: queryParameters,
|
|
608
311
|
withCredentials: this.configuration.withCredentials,
|
|
609
312
|
headers: headers,
|
|
@@ -639,7 +342,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
639
342
|
class CountryControllerService {
|
|
640
343
|
constructor(httpClient, basePath, configuration) {
|
|
641
344
|
this.httpClient = httpClient;
|
|
642
|
-
this.basePath = 'http://
|
|
345
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
643
346
|
this.defaultHeaders = new HttpHeaders();
|
|
644
347
|
this.configuration = new Configuration();
|
|
645
348
|
if (basePath) {
|
|
@@ -675,7 +378,7 @@ class CountryControllerService {
|
|
|
675
378
|
}
|
|
676
379
|
// to determine the Content-Type header
|
|
677
380
|
const consumes = [];
|
|
678
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
381
|
+
return this.httpClient.request('get', `${this.basePath}/country`, {
|
|
679
382
|
withCredentials: this.configuration.withCredentials,
|
|
680
383
|
headers: headers,
|
|
681
384
|
observe: observe,
|
|
@@ -710,7 +413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
710
413
|
class DpaCampaignControllerService {
|
|
711
414
|
constructor(httpClient, basePath, configuration) {
|
|
712
415
|
this.httpClient = httpClient;
|
|
713
|
-
this.basePath = 'http://
|
|
416
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
714
417
|
this.defaultHeaders = new HttpHeaders();
|
|
715
418
|
this.configuration = new Configuration();
|
|
716
419
|
if (basePath) {
|
|
@@ -758,7 +461,7 @@ class DpaCampaignControllerService {
|
|
|
758
461
|
if (httpContentTypeSelected != undefined) {
|
|
759
462
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
760
463
|
}
|
|
761
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
464
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
762
465
|
body: body,
|
|
763
466
|
withCredentials: this.configuration.withCredentials,
|
|
764
467
|
headers: headers,
|
|
@@ -781,7 +484,7 @@ class DpaCampaignControllerService {
|
|
|
781
484
|
}
|
|
782
485
|
// to determine the Content-Type header
|
|
783
486
|
const consumes = [];
|
|
784
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
487
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
785
488
|
withCredentials: this.configuration.withCredentials,
|
|
786
489
|
headers: headers,
|
|
787
490
|
observe: observe,
|
|
@@ -812,7 +515,7 @@ class DpaCampaignControllerService {
|
|
|
812
515
|
if (httpContentTypeSelected != undefined) {
|
|
813
516
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
814
517
|
}
|
|
815
|
-
return this.httpClient.request('put', `${this.basePath}/
|
|
518
|
+
return this.httpClient.request('put', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
816
519
|
body: body,
|
|
817
520
|
withCredentials: this.configuration.withCredentials,
|
|
818
521
|
headers: headers,
|
|
@@ -848,7 +551,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
848
551
|
class DpaEngagementControllerService {
|
|
849
552
|
constructor(httpClient, basePath, configuration) {
|
|
850
553
|
this.httpClient = httpClient;
|
|
851
|
-
this.basePath = 'http://
|
|
554
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
852
555
|
this.defaultHeaders = new HttpHeaders();
|
|
853
556
|
this.configuration = new Configuration();
|
|
854
557
|
if (basePath) {
|
|
@@ -887,7 +590,7 @@ class DpaEngagementControllerService {
|
|
|
887
590
|
}
|
|
888
591
|
// to determine the Content-Type header
|
|
889
592
|
const consumes = [];
|
|
890
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
593
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
|
|
891
594
|
withCredentials: this.configuration.withCredentials,
|
|
892
595
|
headers: headers,
|
|
893
596
|
observe: observe,
|
|
@@ -915,7 +618,7 @@ class DpaEngagementControllerService {
|
|
|
915
618
|
if (httpContentTypeSelected != undefined) {
|
|
916
619
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
917
620
|
}
|
|
918
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
621
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement`, {
|
|
919
622
|
body: body,
|
|
920
623
|
withCredentials: this.configuration.withCredentials,
|
|
921
624
|
headers: headers,
|
|
@@ -923,7 +626,7 @@ class DpaEngagementControllerService {
|
|
|
923
626
|
reportProgress: reportProgress
|
|
924
627
|
});
|
|
925
628
|
}
|
|
926
|
-
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus,
|
|
629
|
+
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, page, size, sort, observe = 'body', reportProgress = false) {
|
|
927
630
|
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
928
631
|
if (id !== undefined && id !== null) {
|
|
929
632
|
queryParameters = queryParameters.set('id', id);
|
|
@@ -952,9 +655,6 @@ class DpaEngagementControllerService {
|
|
|
952
655
|
if (campaignStatus !== undefined && campaignStatus !== null) {
|
|
953
656
|
queryParameters = queryParameters.set('campaignStatus', campaignStatus);
|
|
954
657
|
}
|
|
955
|
-
if (isStatic !== undefined && isStatic !== null) {
|
|
956
|
-
queryParameters = queryParameters.set('isStatic', isStatic);
|
|
957
|
-
}
|
|
958
658
|
if (page !== undefined && page !== null) {
|
|
959
659
|
queryParameters = queryParameters.set('page', page);
|
|
960
660
|
}
|
|
@@ -977,7 +677,7 @@ class DpaEngagementControllerService {
|
|
|
977
677
|
}
|
|
978
678
|
// to determine the Content-Type header
|
|
979
679
|
const consumes = [];
|
|
980
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
680
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement`, {
|
|
981
681
|
params: queryParameters,
|
|
982
682
|
withCredentials: this.configuration.withCredentials,
|
|
983
683
|
headers: headers,
|
|
@@ -1000,42 +700,7 @@ class DpaEngagementControllerService {
|
|
|
1000
700
|
}
|
|
1001
701
|
// to determine the Content-Type header
|
|
1002
702
|
const consumes = [];
|
|
1003
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1004
|
-
withCredentials: this.configuration.withCredentials,
|
|
1005
|
-
headers: headers,
|
|
1006
|
-
observe: observe,
|
|
1007
|
-
reportProgress: reportProgress
|
|
1008
|
-
});
|
|
1009
|
-
}
|
|
1010
|
-
getDpaEngagementLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1011
|
-
if (id === null || id === undefined) {
|
|
1012
|
-
throw new Error('Required parameter id was null or undefined when calling getDpaEngagementLogs.');
|
|
1013
|
-
}
|
|
1014
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1015
|
-
if (page !== undefined && page !== null) {
|
|
1016
|
-
queryParameters = queryParameters.set('page', page);
|
|
1017
|
-
}
|
|
1018
|
-
if (size !== undefined && size !== null) {
|
|
1019
|
-
queryParameters = queryParameters.set('size', size);
|
|
1020
|
-
}
|
|
1021
|
-
if (sort) {
|
|
1022
|
-
sort.forEach((element) => {
|
|
1023
|
-
queryParameters = queryParameters.append('sort', element);
|
|
1024
|
-
});
|
|
1025
|
-
}
|
|
1026
|
-
let headers = this.defaultHeaders;
|
|
1027
|
-
// to determine the Accept header
|
|
1028
|
-
let httpHeaderAccepts = [
|
|
1029
|
-
'*/*'
|
|
1030
|
-
];
|
|
1031
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1032
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1033
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1034
|
-
}
|
|
1035
|
-
// to determine the Content-Type header
|
|
1036
|
-
const consumes = [];
|
|
1037
|
-
return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/log`, {
|
|
1038
|
-
params: queryParameters,
|
|
703
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
1039
704
|
withCredentials: this.configuration.withCredentials,
|
|
1040
705
|
headers: headers,
|
|
1041
706
|
observe: observe,
|
|
@@ -1057,7 +722,7 @@ class DpaEngagementControllerService {
|
|
|
1057
722
|
}
|
|
1058
723
|
// to determine the Content-Type header
|
|
1059
724
|
const consumes = [];
|
|
1060
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
725
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
|
|
1061
726
|
withCredentials: this.configuration.withCredentials,
|
|
1062
727
|
headers: headers,
|
|
1063
728
|
observe: observe,
|
|
@@ -1079,7 +744,7 @@ class DpaEngagementControllerService {
|
|
|
1079
744
|
}
|
|
1080
745
|
// to determine the Content-Type header
|
|
1081
746
|
const consumes = [];
|
|
1082
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
747
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
|
|
1083
748
|
withCredentials: this.configuration.withCredentials,
|
|
1084
749
|
headers: headers,
|
|
1085
750
|
observe: observe,
|
|
@@ -1105,7 +770,7 @@ class DpaEngagementControllerService {
|
|
|
1105
770
|
}
|
|
1106
771
|
// to determine the Content-Type header
|
|
1107
772
|
const consumes = [];
|
|
1108
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
773
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/search`, {
|
|
1109
774
|
params: queryParameters,
|
|
1110
775
|
withCredentials: this.configuration.withCredentials,
|
|
1111
776
|
headers: headers,
|
|
@@ -1137,7 +802,7 @@ class DpaEngagementControllerService {
|
|
|
1137
802
|
if (httpContentTypeSelected != undefined) {
|
|
1138
803
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1139
804
|
}
|
|
1140
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
805
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
|
|
1141
806
|
body: body,
|
|
1142
807
|
withCredentials: this.configuration.withCredentials,
|
|
1143
808
|
headers: headers,
|
|
@@ -1169,7 +834,7 @@ class DpaEngagementControllerService {
|
|
|
1169
834
|
if (httpContentTypeSelected != undefined) {
|
|
1170
835
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1171
836
|
}
|
|
1172
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
837
|
+
return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
1173
838
|
body: body,
|
|
1174
839
|
withCredentials: this.configuration.withCredentials,
|
|
1175
840
|
headers: headers,
|
|
@@ -1205,7 +870,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1205
870
|
class FacebookEngagementControllerService {
|
|
1206
871
|
constructor(httpClient, basePath, configuration) {
|
|
1207
872
|
this.httpClient = httpClient;
|
|
1208
|
-
this.basePath = 'http://
|
|
873
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
1209
874
|
this.defaultHeaders = new HttpHeaders();
|
|
1210
875
|
this.configuration = new Configuration();
|
|
1211
876
|
if (basePath) {
|
|
@@ -1253,7 +918,7 @@ class FacebookEngagementControllerService {
|
|
|
1253
918
|
if (httpContentTypeSelected != undefined) {
|
|
1254
919
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1255
920
|
}
|
|
1256
|
-
return this.httpClient.request('post', `${this.basePath}/
|
|
921
|
+
return this.httpClient.request('post', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1257
922
|
body: body,
|
|
1258
923
|
withCredentials: this.configuration.withCredentials,
|
|
1259
924
|
headers: headers,
|
|
@@ -1324,7 +989,7 @@ class FacebookEngagementControllerService {
|
|
|
1324
989
|
}
|
|
1325
990
|
// to determine the Content-Type header
|
|
1326
991
|
const consumes = [];
|
|
1327
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
992
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement`, {
|
|
1328
993
|
params: queryParameters,
|
|
1329
994
|
withCredentials: this.configuration.withCredentials,
|
|
1330
995
|
headers: headers,
|
|
@@ -1347,7 +1012,7 @@ class FacebookEngagementControllerService {
|
|
|
1347
1012
|
}
|
|
1348
1013
|
// to determine the Content-Type header
|
|
1349
1014
|
const consumes = [];
|
|
1350
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1015
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1351
1016
|
withCredentials: this.configuration.withCredentials,
|
|
1352
1017
|
headers: headers,
|
|
1353
1018
|
observe: observe,
|
|
@@ -1368,177 +1033,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1368
1033
|
type: Optional
|
|
1369
1034
|
}] }]; } });
|
|
1370
1035
|
|
|
1371
|
-
/**
|
|
1372
|
-
*
|
|
1373
|
-
*
|
|
1374
|
-
*
|
|
1375
|
-
*
|
|
1376
|
-
*
|
|
1377
|
-
*
|
|
1378
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1379
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1380
|
-
* Do not edit the class manually.
|
|
1381
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1382
|
-
class MobileAppDetailControllerService {
|
|
1383
|
-
constructor(httpClient, basePath, configuration) {
|
|
1384
|
-
this.httpClient = httpClient;
|
|
1385
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1386
|
-
this.defaultHeaders = new HttpHeaders();
|
|
1387
|
-
this.configuration = new Configuration();
|
|
1388
|
-
if (basePath) {
|
|
1389
|
-
this.basePath = basePath;
|
|
1390
|
-
}
|
|
1391
|
-
if (configuration) {
|
|
1392
|
-
this.configuration = configuration;
|
|
1393
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
/**
|
|
1397
|
-
* @param consumes string[] mime-types
|
|
1398
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1399
|
-
*/
|
|
1400
|
-
canConsumeForm(consumes) {
|
|
1401
|
-
const form = 'multipart/form-data';
|
|
1402
|
-
for (const consume of consumes) {
|
|
1403
|
-
if (form === consume) {
|
|
1404
|
-
return true;
|
|
1405
|
-
}
|
|
1406
|
-
}
|
|
1407
|
-
return false;
|
|
1408
|
-
}
|
|
1409
|
-
createOrUpdateMobileAppDetail(body, id, observe = 'body', reportProgress = false) {
|
|
1410
|
-
if (body === null || body === undefined) {
|
|
1411
|
-
throw new Error('Required parameter body was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1412
|
-
}
|
|
1413
|
-
if (id === null || id === undefined) {
|
|
1414
|
-
throw new Error('Required parameter id was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1415
|
-
}
|
|
1416
|
-
let headers = this.defaultHeaders;
|
|
1417
|
-
// to determine the Accept header
|
|
1418
|
-
let httpHeaderAccepts = [
|
|
1419
|
-
'*/*'
|
|
1420
|
-
];
|
|
1421
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1422
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1423
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1424
|
-
}
|
|
1425
|
-
// to determine the Content-Type header
|
|
1426
|
-
const consumes = [
|
|
1427
|
-
'application/json'
|
|
1428
|
-
];
|
|
1429
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1430
|
-
if (httpContentTypeSelected != undefined) {
|
|
1431
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1432
|
-
}
|
|
1433
|
-
return this.httpClient.request('post', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
|
|
1434
|
-
body: body,
|
|
1435
|
-
withCredentials: this.configuration.withCredentials,
|
|
1436
|
-
headers: headers,
|
|
1437
|
-
observe: observe,
|
|
1438
|
-
reportProgress: reportProgress
|
|
1439
|
-
});
|
|
1440
|
-
}
|
|
1441
|
-
getAllMobileAppDetails(campaignId, altLandingPage, playStoreLink, playStoreId, fbAppIdForPlayStore, itunesLink, itunesId, fbAppIdForItunes, iosAppName, androidAppName, defaultWebSiteUrl, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1442
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1443
|
-
if (campaignId !== undefined && campaignId !== null) {
|
|
1444
|
-
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
1445
|
-
}
|
|
1446
|
-
if (altLandingPage !== undefined && altLandingPage !== null) {
|
|
1447
|
-
queryParameters = queryParameters.set('altLandingPage', altLandingPage);
|
|
1448
|
-
}
|
|
1449
|
-
if (playStoreLink !== undefined && playStoreLink !== null) {
|
|
1450
|
-
queryParameters = queryParameters.set('playStoreLink', playStoreLink);
|
|
1451
|
-
}
|
|
1452
|
-
if (playStoreId !== undefined && playStoreId !== null) {
|
|
1453
|
-
queryParameters = queryParameters.set('playStoreId', playStoreId);
|
|
1454
|
-
}
|
|
1455
|
-
if (fbAppIdForPlayStore !== undefined && fbAppIdForPlayStore !== null) {
|
|
1456
|
-
queryParameters = queryParameters.set('fbAppIdForPlayStore', fbAppIdForPlayStore);
|
|
1457
|
-
}
|
|
1458
|
-
if (itunesLink !== undefined && itunesLink !== null) {
|
|
1459
|
-
queryParameters = queryParameters.set('itunesLink', itunesLink);
|
|
1460
|
-
}
|
|
1461
|
-
if (itunesId !== undefined && itunesId !== null) {
|
|
1462
|
-
queryParameters = queryParameters.set('itunesId', itunesId);
|
|
1463
|
-
}
|
|
1464
|
-
if (fbAppIdForItunes !== undefined && fbAppIdForItunes !== null) {
|
|
1465
|
-
queryParameters = queryParameters.set('fbAppIdForItunes', fbAppIdForItunes);
|
|
1466
|
-
}
|
|
1467
|
-
if (iosAppName !== undefined && iosAppName !== null) {
|
|
1468
|
-
queryParameters = queryParameters.set('iosAppName', iosAppName);
|
|
1469
|
-
}
|
|
1470
|
-
if (androidAppName !== undefined && androidAppName !== null) {
|
|
1471
|
-
queryParameters = queryParameters.set('androidAppName', androidAppName);
|
|
1472
|
-
}
|
|
1473
|
-
if (defaultWebSiteUrl !== undefined && defaultWebSiteUrl !== null) {
|
|
1474
|
-
queryParameters = queryParameters.set('defaultWebSiteUrl', defaultWebSiteUrl);
|
|
1475
|
-
}
|
|
1476
|
-
if (page !== undefined && page !== null) {
|
|
1477
|
-
queryParameters = queryParameters.set('page', page);
|
|
1478
|
-
}
|
|
1479
|
-
if (size !== undefined && size !== null) {
|
|
1480
|
-
queryParameters = queryParameters.set('size', size);
|
|
1481
|
-
}
|
|
1482
|
-
if (sort) {
|
|
1483
|
-
sort.forEach((element) => {
|
|
1484
|
-
queryParameters = queryParameters.append('sort', element);
|
|
1485
|
-
});
|
|
1486
|
-
}
|
|
1487
|
-
let headers = this.defaultHeaders;
|
|
1488
|
-
// to determine the Accept header
|
|
1489
|
-
let httpHeaderAccepts = [
|
|
1490
|
-
'*/*'
|
|
1491
|
-
];
|
|
1492
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1493
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1494
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1495
|
-
}
|
|
1496
|
-
// to determine the Content-Type header
|
|
1497
|
-
const consumes = [];
|
|
1498
|
-
return this.httpClient.request('get', `${this.basePath}/api/mobile-app`, {
|
|
1499
|
-
params: queryParameters,
|
|
1500
|
-
withCredentials: this.configuration.withCredentials,
|
|
1501
|
-
headers: headers,
|
|
1502
|
-
observe: observe,
|
|
1503
|
-
reportProgress: reportProgress
|
|
1504
|
-
});
|
|
1505
|
-
}
|
|
1506
|
-
getMobileAppDetail(id, observe = 'body', reportProgress = false) {
|
|
1507
|
-
if (id === null || id === undefined) {
|
|
1508
|
-
throw new Error('Required parameter id was null or undefined when calling getMobileAppDetail.');
|
|
1509
|
-
}
|
|
1510
|
-
let headers = this.defaultHeaders;
|
|
1511
|
-
// to determine the Accept header
|
|
1512
|
-
let httpHeaderAccepts = [
|
|
1513
|
-
'*/*'
|
|
1514
|
-
];
|
|
1515
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1516
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1517
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1518
|
-
}
|
|
1519
|
-
// to determine the Content-Type header
|
|
1520
|
-
const consumes = [];
|
|
1521
|
-
return this.httpClient.request('get', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
|
|
1522
|
-
withCredentials: this.configuration.withCredentials,
|
|
1523
|
-
headers: headers,
|
|
1524
|
-
observe: observe,
|
|
1525
|
-
reportProgress: reportProgress
|
|
1526
|
-
});
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
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 });
|
|
1530
|
-
MobileAppDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService });
|
|
1531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, decorators: [{
|
|
1532
|
-
type: Injectable
|
|
1533
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1534
|
-
type: Optional
|
|
1535
|
-
}, {
|
|
1536
|
-
type: Inject,
|
|
1537
|
-
args: [BASE_PATH]
|
|
1538
|
-
}] }, { type: Configuration, decorators: [{
|
|
1539
|
-
type: Optional
|
|
1540
|
-
}] }]; } });
|
|
1541
|
-
|
|
1542
1036
|
/**
|
|
1543
1037
|
*
|
|
1544
1038
|
*
|
|
@@ -1553,7 +1047,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1553
1047
|
class PackageDetailControllerService {
|
|
1554
1048
|
constructor(httpClient, basePath, configuration) {
|
|
1555
1049
|
this.httpClient = httpClient;
|
|
1556
|
-
this.basePath = 'http://
|
|
1050
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
1557
1051
|
this.defaultHeaders = new HttpHeaders();
|
|
1558
1052
|
this.configuration = new Configuration();
|
|
1559
1053
|
if (basePath) {
|
|
@@ -1610,7 +1104,7 @@ class PackageDetailControllerService {
|
|
|
1610
1104
|
}
|
|
1611
1105
|
// to determine the Content-Type header
|
|
1612
1106
|
const consumes = [];
|
|
1613
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1107
|
+
return this.httpClient.request('get', `${this.basePath}/package`, {
|
|
1614
1108
|
params: queryParameters,
|
|
1615
1109
|
withCredentials: this.configuration.withCredentials,
|
|
1616
1110
|
headers: headers,
|
|
@@ -1633,7 +1127,7 @@ class PackageDetailControllerService {
|
|
|
1633
1127
|
}
|
|
1634
1128
|
// to determine the Content-Type header
|
|
1635
1129
|
const consumes = [];
|
|
1636
|
-
return this.httpClient.request('get', `${this.basePath}/
|
|
1130
|
+
return this.httpClient.request('get', `${this.basePath}/package/${encodeURIComponent(String(id))}`, {
|
|
1637
1131
|
withCredentials: this.configuration.withCredentials,
|
|
1638
1132
|
headers: headers,
|
|
1639
1133
|
observe: observe,
|
|
@@ -1654,27 +1148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1654
1148
|
type: Optional
|
|
1655
1149
|
}] }]; } });
|
|
1656
1150
|
|
|
1657
|
-
const APIS = [
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
*
|
|
1661
|
-
*
|
|
1662
|
-
*
|
|
1663
|
-
*
|
|
1664
|
-
*
|
|
1665
|
-
*
|
|
1666
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1667
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1668
|
-
* Do not edit the class manually.
|
|
1669
|
-
*/
|
|
1670
|
-
var AdImageResponse;
|
|
1671
|
-
(function (AdImageResponse) {
|
|
1672
|
-
AdImageResponse.StatusEnum = {
|
|
1673
|
-
ACTIVE: 'ACTIVE',
|
|
1674
|
-
DELETED: 'DELETED',
|
|
1675
|
-
INTERNAL: 'INTERNAL'
|
|
1676
|
-
};
|
|
1677
|
-
})(AdImageResponse || (AdImageResponse = {}));
|
|
1151
|
+
const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookEngagementControllerService, PackageDetailControllerService];
|
|
1678
1152
|
|
|
1679
1153
|
/**
|
|
1680
1154
|
*
|
|
@@ -1720,18 +1194,6 @@ var AdSetDetails;
|
|
|
1720
1194
|
* Do not edit the class manually.
|
|
1721
1195
|
*/
|
|
1722
1196
|
|
|
1723
|
-
/**
|
|
1724
|
-
*
|
|
1725
|
-
*
|
|
1726
|
-
*
|
|
1727
|
-
*
|
|
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
|
-
|
|
1735
1197
|
/**
|
|
1736
1198
|
*
|
|
1737
1199
|
*
|
|
@@ -1812,30 +1274,6 @@ var DpaCampaignResponse;
|
|
|
1812
1274
|
};
|
|
1813
1275
|
})(DpaCampaignResponse || (DpaCampaignResponse = {}));
|
|
1814
1276
|
|
|
1815
|
-
/**
|
|
1816
|
-
*
|
|
1817
|
-
*
|
|
1818
|
-
*
|
|
1819
|
-
*
|
|
1820
|
-
*
|
|
1821
|
-
*
|
|
1822
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1823
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1824
|
-
* Do not edit the class manually.
|
|
1825
|
-
*/
|
|
1826
|
-
var DpaEngagementChangeLogResponse;
|
|
1827
|
-
(function (DpaEngagementChangeLogResponse) {
|
|
1828
|
-
DpaEngagementChangeLogResponse.EntityChangedEnum = {
|
|
1829
|
-
STATUS: 'STATUS',
|
|
1830
|
-
BUDGET: 'BUDGET',
|
|
1831
|
-
ENGAGEMENT: 'ENGAGEMENT'
|
|
1832
|
-
};
|
|
1833
|
-
DpaEngagementChangeLogResponse.StatusEnum = {
|
|
1834
|
-
SUCCESS: 'SUCCESS',
|
|
1835
|
-
FAILED: 'FAILED'
|
|
1836
|
-
};
|
|
1837
|
-
})(DpaEngagementChangeLogResponse || (DpaEngagementChangeLogResponse = {}));
|
|
1838
|
-
|
|
1839
1277
|
var DpaEngagementResponse;
|
|
1840
1278
|
(function (DpaEngagementResponse) {
|
|
1841
1279
|
DpaEngagementResponse.RunByEnum = {
|
|
@@ -1974,30 +1412,6 @@ var FacebookEngagementResponse;
|
|
|
1974
1412
|
* Do not edit the class manually.
|
|
1975
1413
|
*/
|
|
1976
1414
|
|
|
1977
|
-
/**
|
|
1978
|
-
*
|
|
1979
|
-
*
|
|
1980
|
-
*
|
|
1981
|
-
*
|
|
1982
|
-
*
|
|
1983
|
-
*
|
|
1984
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1985
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1986
|
-
* Do not edit the class manually.
|
|
1987
|
-
*/
|
|
1988
|
-
|
|
1989
|
-
/**
|
|
1990
|
-
*
|
|
1991
|
-
*
|
|
1992
|
-
*
|
|
1993
|
-
*
|
|
1994
|
-
*
|
|
1995
|
-
*
|
|
1996
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1997
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1998
|
-
* Do not edit the class manually.
|
|
1999
|
-
*/
|
|
2000
|
-
|
|
2001
1415
|
class ApiModule {
|
|
2002
1416
|
static forRoot(configurationFactory) {
|
|
2003
1417
|
return {
|
|
@@ -2018,15 +1432,12 @@ class ApiModule {
|
|
|
2018
1432
|
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 });
|
|
2019
1433
|
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
2020
1434
|
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
2021
|
-
AdImageControllerService,
|
|
2022
|
-
AdVideoControllerService,
|
|
2023
1435
|
BusinessGeoControllerService,
|
|
2024
1436
|
CampaignControllerService,
|
|
2025
1437
|
CountryControllerService,
|
|
2026
1438
|
DpaCampaignControllerService,
|
|
2027
1439
|
DpaEngagementControllerService,
|
|
2028
1440
|
FacebookEngagementControllerService,
|
|
2029
|
-
MobileAppDetailControllerService,
|
|
2030
1441
|
PackageDetailControllerService
|
|
2031
1442
|
] });
|
|
2032
1443
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
@@ -2036,15 +1447,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2036
1447
|
declarations: [],
|
|
2037
1448
|
exports: [],
|
|
2038
1449
|
providers: [
|
|
2039
|
-
AdImageControllerService,
|
|
2040
|
-
AdVideoControllerService,
|
|
2041
1450
|
BusinessGeoControllerService,
|
|
2042
1451
|
CampaignControllerService,
|
|
2043
1452
|
CountryControllerService,
|
|
2044
1453
|
DpaCampaignControllerService,
|
|
2045
1454
|
DpaEngagementControllerService,
|
|
2046
1455
|
FacebookEngagementControllerService,
|
|
2047
|
-
MobileAppDetailControllerService,
|
|
2048
1456
|
PackageDetailControllerService
|
|
2049
1457
|
]
|
|
2050
1458
|
}]
|
|
@@ -2060,5 +1468,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2060
1468
|
* Generated bundle index. Do not edit.
|
|
2061
1469
|
*/
|
|
2062
1470
|
|
|
2063
|
-
export { APIS,
|
|
1471
|
+
export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, PackageDetailControllerService };
|
|
2064
1472
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|