@revxui/intellibid-client-ts 1.0.26 → 1.0.27
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/{campaignController.service.d.ts → advertiserController.service.d.ts} +3 -3
- package/api/api.d.ts +15 -9
- package/api/dpaEngagementController.service.d.ts +8 -6
- package/api/facebookAdImageController.service.d.ts +52 -0
- package/api/facebookAdVideoController.service.d.ts +63 -0
- package/api/{adVideoController.service.d.ts → sourcePlatformMETAController.service.d.ts} +40 -6
- package/api/{countryController.service.d.ts → sourcePlatformMETADictionaryController.service.d.ts} +6 -6
- package/api/{adImageController.service.d.ts → sourcePlatformTIKTOKController.service.d.ts} +15 -14
- package/api/sourcePlatformTIKTOKDictionaryController.service.d.ts +28 -0
- package/esm2020/api/advertiserController.service.mjs +179 -0
- package/esm2020/api/api.mjs +16 -10
- package/esm2020/api/businessGeoController.service.mjs +4 -4
- package/esm2020/api/campaignInsightsController.service.mjs +4 -4
- package/esm2020/api/dpaCampaignController.service.mjs +4 -4
- package/esm2020/api/dpaEngagementController.service.mjs +15 -6
- package/esm2020/api/facebookAdImageController.service.mjs +144 -0
- package/esm2020/api/facebookAdVideoController.service.mjs +169 -0
- package/esm2020/api/facebookEngagementController.service.mjs +4 -4
- package/esm2020/api/mobileAppDetailController.service.mjs +4 -4
- package/esm2020/api/packageDetailController.service.mjs +4 -4
- package/esm2020/api/sourcePlatformMETAController.service.mjs +253 -0
- package/esm2020/api/sourcePlatformMETADictionaryController.service.mjs +78 -0
- package/esm2020/api/sourcePlatformTIKTOKController.service.mjs +156 -0
- package/esm2020/api/sourcePlatformTIKTOKDictionaryController.service.mjs +78 -0
- package/esm2020/api.module.mjs +24 -15
- package/esm2020/model/adImageResponse.mjs +4 -4
- package/esm2020/model/adSetDetails.mjs +4 -4
- package/esm2020/model/adVideoResponse.mjs +4 -4
- package/esm2020/model/audienceDetails.mjs +4 -4
- package/esm2020/model/businessGeoResponse.mjs +4 -4
- package/esm2020/model/campaignInsightsRecord.mjs +4 -4
- package/esm2020/model/campaignInsightsResponse.mjs +1 -1
- package/esm2020/model/campaignResponse.mjs +4 -4
- package/esm2020/model/campaignSearchResponse.mjs +4 -4
- package/esm2020/model/countryResponse.mjs +4 -4
- package/esm2020/model/createCampaignRequest.mjs +4 -4
- package/esm2020/model/creativeDetails.mjs +1 -1
- package/esm2020/model/dpaCampaignRequest.mjs +1 -1
- package/esm2020/model/dpaCampaignResponse.mjs +1 -1
- package/esm2020/model/dpaEngagementChangeLogResponse.mjs +4 -4
- package/esm2020/model/dpaEngagementRequest.mjs +10 -2
- package/esm2020/model/dpaEngagementResponse.mjs +7 -1
- package/esm2020/model/dpaEngagementSearchResponse.mjs +4 -4
- package/esm2020/model/exclusionRule.mjs +4 -4
- package/esm2020/model/facebookDetails.mjs +1 -1
- package/esm2020/model/facebookEngagementRequest.mjs +4 -4
- package/esm2020/model/facebookEngagementResponse.mjs +4 -4
- package/esm2020/model/imageOverlaySpecDetails.mjs +4 -4
- package/esm2020/model/mobileAppDetailRequest.mjs +4 -4
- package/esm2020/model/mobileAppDetailResponse.mjs +4 -4
- package/esm2020/model/models.mjs +2 -1
- package/esm2020/model/packageDetailResponse.mjs +4 -4
- package/esm2020/model/pageCampaignResponse.mjs +1 -1
- package/esm2020/model/pageDpaEngagementChangeLogResponse.mjs +1 -1
- package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
- package/esm2020/model/pageFacebookEngagementResponse.mjs +1 -1
- package/esm2020/model/pageMobileAppDetailResponse.mjs +1 -1
- package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
- package/esm2020/model/pageableObject.mjs +1 -1
- package/esm2020/model/sortObject.mjs +4 -4
- package/esm2020/model/tiktokCountryResponse.mjs +13 -0
- package/esm2020/model/updateDailyBudgetRequest.mjs +4 -4
- package/esm2020/model/updateMarginRequest.mjs +4 -4
- package/fesm2015/revxui-intellibid-client-ts.mjs +1284 -783
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +1252 -745
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/adImageResponse.d.ts +3 -3
- package/model/adSetDetails.d.ts +3 -3
- package/model/adVideoResponse.d.ts +3 -3
- package/model/audienceDetails.d.ts +3 -3
- package/model/businessGeoResponse.d.ts +3 -3
- package/model/campaignInsightsRecord.d.ts +3 -3
- package/model/campaignInsightsResponse.d.ts +3 -3
- package/model/campaignResponse.d.ts +3 -3
- package/model/campaignSearchResponse.d.ts +3 -3
- package/model/countryResponse.d.ts +3 -3
- package/model/createCampaignRequest.d.ts +3 -3
- package/model/creativeDetails.d.ts +3 -3
- package/model/dpaCampaignRequest.d.ts +3 -3
- package/model/dpaCampaignResponse.d.ts +3 -3
- package/model/dpaEngagementChangeLogResponse.d.ts +3 -3
- package/model/dpaEngagementRequest.d.ts +13 -3
- package/model/dpaEngagementResponse.d.ts +11 -3
- package/model/dpaEngagementSearchResponse.d.ts +3 -3
- package/model/exclusionRule.d.ts +3 -3
- package/model/facebookDetails.d.ts +3 -3
- package/model/facebookEngagementRequest.d.ts +3 -3
- package/model/facebookEngagementResponse.d.ts +3 -3
- package/model/imageOverlaySpecDetails.d.ts +3 -3
- package/model/mobileAppDetailRequest.d.ts +3 -3
- package/model/mobileAppDetailResponse.d.ts +3 -3
- package/model/models.d.ts +1 -0
- package/model/packageDetailResponse.d.ts +3 -3
- package/model/pageCampaignResponse.d.ts +5 -5
- package/model/pageDpaEngagementChangeLogResponse.d.ts +5 -5
- package/model/pageDpaEngagementResponse.d.ts +5 -5
- package/model/pageFacebookEngagementResponse.d.ts +5 -5
- package/model/pageMobileAppDetailResponse.d.ts +5 -5
- package/model/pagePackageDetailResponse.d.ts +5 -5
- package/model/pageableObject.d.ts +5 -5
- package/model/sortObject.d.ts +3 -3
- package/model/tiktokCountryResponse.d.ts +16 -0
- package/model/updateDailyBudgetRequest.d.ts +3 -3
- package/model/updateMarginRequest.d.ts +3 -3
- package/package.json +1 -1
- package/esm2020/api/adImageController.service.mjs +0 -144
- package/esm2020/api/adVideoController.service.mjs +0 -169
- package/esm2020/api/campaignController.service.mjs +0 -179
- package/esm2020/api/countryController.service.mjs +0 -78
|
@@ -87,17 +87,17 @@ class Configuration {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
+
* Intellibid API
|
|
91
|
+
* API documentation for the Intellibid platform
|
|
90
92
|
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
93
|
+
* OpenAPI spec version: 1.0
|
|
94
94
|
*
|
|
95
95
|
*
|
|
96
96
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
97
97
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
98
98
|
* Do not edit the class manually.
|
|
99
99
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
100
|
-
class
|
|
100
|
+
class AdvertiserControllerService {
|
|
101
101
|
constructor(httpClient, basePath, configuration) {
|
|
102
102
|
this.httpClient = httpClient;
|
|
103
103
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -124,37 +124,55 @@ class AdImageControllerService {
|
|
|
124
124
|
}
|
|
125
125
|
return false;
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
if (
|
|
129
|
-
throw new Error('Required parameter
|
|
130
|
-
}
|
|
131
|
-
if (hash === null || hash === undefined) {
|
|
132
|
-
throw new Error('Required parameter hash was null or undefined when calling deleteAdImage.');
|
|
127
|
+
createCampaign(body, observe = 'body', reportProgress = false) {
|
|
128
|
+
if (body === null || body === undefined) {
|
|
129
|
+
throw new Error('Required parameter body was null or undefined when calling createCampaign.');
|
|
133
130
|
}
|
|
134
131
|
let headers = this.defaultHeaders;
|
|
135
132
|
// to determine the Accept header
|
|
136
|
-
let httpHeaderAccepts = [
|
|
133
|
+
let httpHeaderAccepts = [
|
|
134
|
+
'*/*'
|
|
135
|
+
];
|
|
137
136
|
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
138
137
|
if (httpHeaderAcceptSelected != undefined) {
|
|
139
138
|
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
140
139
|
}
|
|
141
140
|
// to determine the Content-Type header
|
|
142
|
-
const consumes = [
|
|
143
|
-
|
|
141
|
+
const consumes = [
|
|
142
|
+
'application/json'
|
|
143
|
+
];
|
|
144
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
145
|
+
if (httpContentTypeSelected != undefined) {
|
|
146
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
147
|
+
}
|
|
148
|
+
return this.httpClient.request('post', `${this.basePath}/api/advertiser`, {
|
|
149
|
+
body: body,
|
|
144
150
|
withCredentials: this.configuration.withCredentials,
|
|
145
151
|
headers: headers,
|
|
146
152
|
observe: observe,
|
|
147
153
|
reportProgress: reportProgress
|
|
148
154
|
});
|
|
149
155
|
}
|
|
150
|
-
|
|
151
|
-
if (adAccountId === null || adAccountId === undefined) {
|
|
152
|
-
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImages.');
|
|
153
|
-
}
|
|
156
|
+
getAllCampaigns(name, vizardPackageId, status, page, size, sort, observe = 'body', reportProgress = false) {
|
|
154
157
|
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
155
|
-
if (
|
|
156
|
-
|
|
157
|
-
|
|
158
|
+
if (name !== undefined && name !== null) {
|
|
159
|
+
queryParameters = queryParameters.set('name', name);
|
|
160
|
+
}
|
|
161
|
+
if (vizardPackageId !== undefined && vizardPackageId !== null) {
|
|
162
|
+
queryParameters = queryParameters.set('vizardPackageId', vizardPackageId);
|
|
163
|
+
}
|
|
164
|
+
if (status !== undefined && status !== null) {
|
|
165
|
+
queryParameters = queryParameters.set('status', status);
|
|
166
|
+
}
|
|
167
|
+
if (page !== undefined && page !== null) {
|
|
168
|
+
queryParameters = queryParameters.set('page', page);
|
|
169
|
+
}
|
|
170
|
+
if (size !== undefined && size !== null) {
|
|
171
|
+
queryParameters = queryParameters.set('size', size);
|
|
172
|
+
}
|
|
173
|
+
if (sort) {
|
|
174
|
+
sort.forEach((element) => {
|
|
175
|
+
queryParameters = queryParameters.append('sort', element);
|
|
158
176
|
});
|
|
159
177
|
}
|
|
160
178
|
let headers = this.defaultHeaders;
|
|
@@ -168,7 +186,7 @@ class AdImageControllerService {
|
|
|
168
186
|
}
|
|
169
187
|
// to determine the Content-Type header
|
|
170
188
|
const consumes = [];
|
|
171
|
-
return this.httpClient.request('get', `${this.basePath}/api/
|
|
189
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser`, {
|
|
172
190
|
params: queryParameters,
|
|
173
191
|
withCredentials: this.configuration.withCredentials,
|
|
174
192
|
headers: headers,
|
|
@@ -176,18 +194,35 @@ class AdImageControllerService {
|
|
|
176
194
|
reportProgress: reportProgress
|
|
177
195
|
});
|
|
178
196
|
}
|
|
179
|
-
|
|
180
|
-
if (
|
|
181
|
-
throw new Error('Required parameter
|
|
197
|
+
getCampaign(id, observe = 'body', reportProgress = false) {
|
|
198
|
+
if (id === null || id === undefined) {
|
|
199
|
+
throw new Error('Required parameter id was null or undefined when calling getCampaign.');
|
|
182
200
|
}
|
|
183
|
-
|
|
184
|
-
|
|
201
|
+
let headers = this.defaultHeaders;
|
|
202
|
+
// to determine the Accept header
|
|
203
|
+
let httpHeaderAccepts = [
|
|
204
|
+
'*/*'
|
|
205
|
+
];
|
|
206
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
207
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
208
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
209
|
+
}
|
|
210
|
+
// to determine the Content-Type header
|
|
211
|
+
const consumes = [];
|
|
212
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}`, {
|
|
213
|
+
withCredentials: this.configuration.withCredentials,
|
|
214
|
+
headers: headers,
|
|
215
|
+
observe: observe,
|
|
216
|
+
reportProgress: reportProgress
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
searchCampaigns(q, observe = 'body', reportProgress = false) {
|
|
220
|
+
if (q === null || q === undefined) {
|
|
221
|
+
throw new Error('Required parameter q was null or undefined when calling searchCampaigns.');
|
|
185
222
|
}
|
|
186
223
|
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
187
|
-
if (
|
|
188
|
-
|
|
189
|
-
queryParameters = queryParameters.append('files', element);
|
|
190
|
-
});
|
|
224
|
+
if (q !== undefined && q !== null) {
|
|
225
|
+
queryParameters = queryParameters.set('q', q);
|
|
191
226
|
}
|
|
192
227
|
let headers = this.defaultHeaders;
|
|
193
228
|
// to determine the Accept header
|
|
@@ -200,7 +235,7 @@ class AdImageControllerService {
|
|
|
200
235
|
}
|
|
201
236
|
// to determine the Content-Type header
|
|
202
237
|
const consumes = [];
|
|
203
|
-
return this.httpClient.request('
|
|
238
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
|
|
204
239
|
params: queryParameters,
|
|
205
240
|
withCredentials: this.configuration.withCredentials,
|
|
206
241
|
headers: headers,
|
|
@@ -209,9 +244,9 @@ class AdImageControllerService {
|
|
|
209
244
|
});
|
|
210
245
|
}
|
|
211
246
|
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
247
|
+
AdvertiserControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
248
|
+
AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService, decorators: [{
|
|
215
250
|
type: Injectable
|
|
216
251
|
}], ctorParameters: function () {
|
|
217
252
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -225,17 +260,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
225
260
|
} });
|
|
226
261
|
|
|
227
262
|
/**
|
|
263
|
+
* Intellibid API
|
|
264
|
+
* API documentation for the Intellibid platform
|
|
228
265
|
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
266
|
+
* OpenAPI spec version: 1.0
|
|
232
267
|
*
|
|
233
268
|
*
|
|
234
269
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
235
270
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
236
271
|
* Do not edit the class manually.
|
|
237
272
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
238
|
-
class
|
|
273
|
+
class BusinessGeoControllerService {
|
|
239
274
|
constructor(httpClient, basePath, configuration) {
|
|
240
275
|
this.httpClient = httpClient;
|
|
241
276
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -262,96 +297,7 @@ class AdVideoControllerService {
|
|
|
262
297
|
}
|
|
263
298
|
return false;
|
|
264
299
|
}
|
|
265
|
-
|
|
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('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}/delete`, {
|
|
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
|
-
}
|
|
300
|
+
getAllBusinessGeos(observe = 'body', reportProgress = false) {
|
|
355
301
|
let headers = this.defaultHeaders;
|
|
356
302
|
// to determine the Accept header
|
|
357
303
|
let httpHeaderAccepts = [
|
|
@@ -363,8 +309,7 @@ class AdVideoControllerService {
|
|
|
363
309
|
}
|
|
364
310
|
// to determine the Content-Type header
|
|
365
311
|
const consumes = [];
|
|
366
|
-
return this.httpClient.request('
|
|
367
|
-
params: queryParameters,
|
|
312
|
+
return this.httpClient.request('get', `${this.basePath}/api/business-geo`, {
|
|
368
313
|
withCredentials: this.configuration.withCredentials,
|
|
369
314
|
headers: headers,
|
|
370
315
|
observe: observe,
|
|
@@ -372,9 +317,9 @@ class AdVideoControllerService {
|
|
|
372
317
|
});
|
|
373
318
|
}
|
|
374
319
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
320
|
+
BusinessGeoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
321
|
+
BusinessGeoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService });
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BusinessGeoControllerService, decorators: [{
|
|
378
323
|
type: Injectable
|
|
379
324
|
}], ctorParameters: function () {
|
|
380
325
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -388,17 +333,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
388
333
|
} });
|
|
389
334
|
|
|
390
335
|
/**
|
|
336
|
+
* Intellibid API
|
|
337
|
+
* API documentation for the Intellibid platform
|
|
391
338
|
*
|
|
392
|
-
*
|
|
393
|
-
*
|
|
394
|
-
*
|
|
339
|
+
* OpenAPI spec version: 1.0
|
|
395
340
|
*
|
|
396
341
|
*
|
|
397
342
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
398
343
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
399
344
|
* Do not edit the class manually.
|
|
400
345
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
401
|
-
class
|
|
346
|
+
class CampaignInsightsControllerService {
|
|
402
347
|
constructor(httpClient, basePath, configuration) {
|
|
403
348
|
this.httpClient = httpClient;
|
|
404
349
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -425,7 +370,26 @@ class BusinessGeoControllerService {
|
|
|
425
370
|
}
|
|
426
371
|
return false;
|
|
427
372
|
}
|
|
428
|
-
|
|
373
|
+
getCampaignInsights(startDate, endDate, interval, observe = 'body', reportProgress = false) {
|
|
374
|
+
if (startDate === null || startDate === undefined) {
|
|
375
|
+
throw new Error('Required parameter startDate was null or undefined when calling getCampaignInsights.');
|
|
376
|
+
}
|
|
377
|
+
if (endDate === null || endDate === undefined) {
|
|
378
|
+
throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
|
|
379
|
+
}
|
|
380
|
+
if (interval === null || interval === undefined) {
|
|
381
|
+
throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
|
|
382
|
+
}
|
|
383
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
384
|
+
if (startDate !== undefined && startDate !== null) {
|
|
385
|
+
queryParameters = queryParameters.set('startDate', startDate);
|
|
386
|
+
}
|
|
387
|
+
if (endDate !== undefined && endDate !== null) {
|
|
388
|
+
queryParameters = queryParameters.set('endDate', endDate);
|
|
389
|
+
}
|
|
390
|
+
if (interval !== undefined && interval !== null) {
|
|
391
|
+
queryParameters = queryParameters.set('interval', interval);
|
|
392
|
+
}
|
|
429
393
|
let headers = this.defaultHeaders;
|
|
430
394
|
// to determine the Accept header
|
|
431
395
|
let httpHeaderAccepts = [
|
|
@@ -437,7 +401,8 @@ class BusinessGeoControllerService {
|
|
|
437
401
|
}
|
|
438
402
|
// to determine the Content-Type header
|
|
439
403
|
const consumes = [];
|
|
440
|
-
return this.httpClient.request('get', `${this.basePath}/api/
|
|
404
|
+
return this.httpClient.request('get', `${this.basePath}/api/campaign-insights`, {
|
|
405
|
+
params: queryParameters,
|
|
441
406
|
withCredentials: this.configuration.withCredentials,
|
|
442
407
|
headers: headers,
|
|
443
408
|
observe: observe,
|
|
@@ -445,9 +410,9 @@ class BusinessGeoControllerService {
|
|
|
445
410
|
});
|
|
446
411
|
}
|
|
447
412
|
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
413
|
+
CampaignInsightsControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
414
|
+
CampaignInsightsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService });
|
|
415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService, decorators: [{
|
|
451
416
|
type: Injectable
|
|
452
417
|
}], ctorParameters: function () {
|
|
453
418
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -461,17 +426,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
461
426
|
} });
|
|
462
427
|
|
|
463
428
|
/**
|
|
429
|
+
* Intellibid API
|
|
430
|
+
* API documentation for the Intellibid platform
|
|
464
431
|
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
*
|
|
432
|
+
* OpenAPI spec version: 1.0
|
|
468
433
|
*
|
|
469
434
|
*
|
|
470
435
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
471
436
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
472
437
|
* Do not edit the class manually.
|
|
473
438
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
474
|
-
class
|
|
439
|
+
class DpaCampaignControllerService {
|
|
475
440
|
constructor(httpClient, basePath, configuration) {
|
|
476
441
|
this.httpClient = httpClient;
|
|
477
442
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -498,9 +463,12 @@ class CampaignControllerService {
|
|
|
498
463
|
}
|
|
499
464
|
return false;
|
|
500
465
|
}
|
|
501
|
-
|
|
466
|
+
createOrUpdateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
502
467
|
if (body === null || body === undefined) {
|
|
503
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
468
|
+
throw new Error('Required parameter body was null or undefined when calling createOrUpdateDpaCampaign.');
|
|
469
|
+
}
|
|
470
|
+
if (id === null || id === undefined) {
|
|
471
|
+
throw new Error('Required parameter id was null or undefined when calling createOrUpdateDpaCampaign.');
|
|
504
472
|
}
|
|
505
473
|
let headers = this.defaultHeaders;
|
|
506
474
|
// to determine the Accept header
|
|
@@ -519,7 +487,7 @@ class CampaignControllerService {
|
|
|
519
487
|
if (httpContentTypeSelected != undefined) {
|
|
520
488
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
521
489
|
}
|
|
522
|
-
return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
|
|
490
|
+
return this.httpClient.request('post', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
523
491
|
body: body,
|
|
524
492
|
withCredentials: this.configuration.withCredentials,
|
|
525
493
|
headers: headers,
|
|
@@ -527,50 +495,34 @@ class CampaignControllerService {
|
|
|
527
495
|
reportProgress: reportProgress
|
|
528
496
|
});
|
|
529
497
|
}
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
queryParameters = queryParameters.set('name', name);
|
|
534
|
-
}
|
|
535
|
-
if (vizardPackageId !== undefined && vizardPackageId !== null) {
|
|
536
|
-
queryParameters = queryParameters.set('vizardPackageId', vizardPackageId);
|
|
498
|
+
getDpaCampaign(id, observe = 'body', reportProgress = false) {
|
|
499
|
+
if (id === null || id === undefined) {
|
|
500
|
+
throw new Error('Required parameter id was null or undefined when calling getDpaCampaign.');
|
|
537
501
|
}
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
if (
|
|
545
|
-
|
|
546
|
-
}
|
|
547
|
-
if (sort) {
|
|
548
|
-
sort.forEach((element) => {
|
|
549
|
-
queryParameters = queryParameters.append('sort', element);
|
|
550
|
-
});
|
|
551
|
-
}
|
|
552
|
-
let headers = this.defaultHeaders;
|
|
553
|
-
// to determine the Accept header
|
|
554
|
-
let httpHeaderAccepts = [
|
|
555
|
-
'*/*'
|
|
556
|
-
];
|
|
557
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
558
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
559
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
502
|
+
let headers = this.defaultHeaders;
|
|
503
|
+
// to determine the Accept header
|
|
504
|
+
let httpHeaderAccepts = [
|
|
505
|
+
'*/*'
|
|
506
|
+
];
|
|
507
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
508
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
509
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
560
510
|
}
|
|
561
511
|
// to determine the Content-Type header
|
|
562
512
|
const consumes = [];
|
|
563
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
|
|
564
|
-
params: queryParameters,
|
|
513
|
+
return this.httpClient.request('get', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
565
514
|
withCredentials: this.configuration.withCredentials,
|
|
566
515
|
headers: headers,
|
|
567
516
|
observe: observe,
|
|
568
517
|
reportProgress: reportProgress
|
|
569
518
|
});
|
|
570
519
|
}
|
|
571
|
-
|
|
520
|
+
updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
521
|
+
if (body === null || body === undefined) {
|
|
522
|
+
throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
|
|
523
|
+
}
|
|
572
524
|
if (id === null || id === undefined) {
|
|
573
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
525
|
+
throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
|
|
574
526
|
}
|
|
575
527
|
let headers = this.defaultHeaders;
|
|
576
528
|
// to determine the Accept header
|
|
@@ -582,35 +534,15 @@ class CampaignControllerService {
|
|
|
582
534
|
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
583
535
|
}
|
|
584
536
|
// to determine the Content-Type header
|
|
585
|
-
const consumes = [
|
|
586
|
-
|
|
587
|
-
withCredentials: this.configuration.withCredentials,
|
|
588
|
-
headers: headers,
|
|
589
|
-
observe: observe,
|
|
590
|
-
reportProgress: reportProgress
|
|
591
|
-
});
|
|
592
|
-
}
|
|
593
|
-
searchCampaigns(q, observe = 'body', reportProgress = false) {
|
|
594
|
-
if (q === null || q === undefined) {
|
|
595
|
-
throw new Error('Required parameter q was null or undefined when calling searchCampaigns.');
|
|
596
|
-
}
|
|
597
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
598
|
-
if (q !== undefined && q !== null) {
|
|
599
|
-
queryParameters = queryParameters.set('q', q);
|
|
600
|
-
}
|
|
601
|
-
let headers = this.defaultHeaders;
|
|
602
|
-
// to determine the Accept header
|
|
603
|
-
let httpHeaderAccepts = [
|
|
604
|
-
'*/*'
|
|
537
|
+
const consumes = [
|
|
538
|
+
'application/json'
|
|
605
539
|
];
|
|
606
|
-
const
|
|
607
|
-
if (
|
|
608
|
-
headers = headers.set('
|
|
540
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
541
|
+
if (httpContentTypeSelected != undefined) {
|
|
542
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
609
543
|
}
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
|
|
613
|
-
params: queryParameters,
|
|
544
|
+
return this.httpClient.request('put', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
545
|
+
body: body,
|
|
614
546
|
withCredentials: this.configuration.withCredentials,
|
|
615
547
|
headers: headers,
|
|
616
548
|
observe: observe,
|
|
@@ -618,9 +550,9 @@ class CampaignControllerService {
|
|
|
618
550
|
});
|
|
619
551
|
}
|
|
620
552
|
}
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
553
|
+
DpaCampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
554
|
+
DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
|
|
624
556
|
type: Injectable
|
|
625
557
|
}], ctorParameters: function () {
|
|
626
558
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -634,17 +566,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
634
566
|
} });
|
|
635
567
|
|
|
636
568
|
/**
|
|
569
|
+
* Intellibid API
|
|
570
|
+
* API documentation for the Intellibid platform
|
|
637
571
|
*
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
*
|
|
572
|
+
* OpenAPI spec version: 1.0
|
|
641
573
|
*
|
|
642
574
|
*
|
|
643
575
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
644
576
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
645
577
|
* Do not edit the class manually.
|
|
646
578
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
647
|
-
class
|
|
579
|
+
class DpaEngagementControllerService {
|
|
648
580
|
constructor(httpClient, basePath, configuration) {
|
|
649
581
|
this.httpClient = httpClient;
|
|
650
582
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -671,25 +603,9 @@ class CampaignInsightsControllerService {
|
|
|
671
603
|
}
|
|
672
604
|
return false;
|
|
673
605
|
}
|
|
674
|
-
|
|
675
|
-
if (
|
|
676
|
-
throw new Error('Required parameter
|
|
677
|
-
}
|
|
678
|
-
if (endDate === null || endDate === undefined) {
|
|
679
|
-
throw new Error('Required parameter endDate was null or undefined when calling getCampaignInsights.');
|
|
680
|
-
}
|
|
681
|
-
if (interval === null || interval === undefined) {
|
|
682
|
-
throw new Error('Required parameter interval was null or undefined when calling getCampaignInsights.');
|
|
683
|
-
}
|
|
684
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
685
|
-
if (startDate !== undefined && startDate !== null) {
|
|
686
|
-
queryParameters = queryParameters.set('startDate', startDate);
|
|
687
|
-
}
|
|
688
|
-
if (endDate !== undefined && endDate !== null) {
|
|
689
|
-
queryParameters = queryParameters.set('endDate', endDate);
|
|
690
|
-
}
|
|
691
|
-
if (interval !== undefined && interval !== null) {
|
|
692
|
-
queryParameters = queryParameters.set('interval', interval);
|
|
606
|
+
activateDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
607
|
+
if (id === null || id === undefined) {
|
|
608
|
+
throw new Error('Required parameter id was null or undefined when calling activateDpaEngagement.');
|
|
693
609
|
}
|
|
694
610
|
let headers = this.defaultHeaders;
|
|
695
611
|
// to determine the Accept header
|
|
@@ -702,69 +618,17 @@ class CampaignInsightsControllerService {
|
|
|
702
618
|
}
|
|
703
619
|
// to determine the Content-Type header
|
|
704
620
|
const consumes = [];
|
|
705
|
-
return this.httpClient.request('
|
|
706
|
-
params: queryParameters,
|
|
621
|
+
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
|
|
707
622
|
withCredentials: this.configuration.withCredentials,
|
|
708
623
|
headers: headers,
|
|
709
624
|
observe: observe,
|
|
710
625
|
reportProgress: reportProgress
|
|
711
626
|
});
|
|
712
627
|
}
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignInsightsControllerService, decorators: [{
|
|
717
|
-
type: Injectable
|
|
718
|
-
}], ctorParameters: function () {
|
|
719
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
720
|
-
type: Optional
|
|
721
|
-
}, {
|
|
722
|
-
type: Inject,
|
|
723
|
-
args: [BASE_PATH]
|
|
724
|
-
}] }, { type: Configuration, decorators: [{
|
|
725
|
-
type: Optional
|
|
726
|
-
}] }];
|
|
727
|
-
} });
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
*
|
|
731
|
-
*
|
|
732
|
-
*
|
|
733
|
-
*
|
|
734
|
-
*
|
|
735
|
-
*
|
|
736
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
737
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
738
|
-
* Do not edit the class manually.
|
|
739
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
740
|
-
class CountryControllerService {
|
|
741
|
-
constructor(httpClient, basePath, configuration) {
|
|
742
|
-
this.httpClient = httpClient;
|
|
743
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
744
|
-
this.defaultHeaders = new HttpHeaders();
|
|
745
|
-
this.configuration = new Configuration();
|
|
746
|
-
if (basePath) {
|
|
747
|
-
this.basePath = basePath;
|
|
748
|
-
}
|
|
749
|
-
if (configuration) {
|
|
750
|
-
this.configuration = configuration;
|
|
751
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
/**
|
|
755
|
-
* @param consumes string[] mime-types
|
|
756
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
757
|
-
*/
|
|
758
|
-
canConsumeForm(consumes) {
|
|
759
|
-
const form = 'multipart/form-data';
|
|
760
|
-
for (const consume of consumes) {
|
|
761
|
-
if (form === consume) {
|
|
762
|
-
return true;
|
|
763
|
-
}
|
|
628
|
+
createDpaEngagement(body, observe = 'body', reportProgress = false) {
|
|
629
|
+
if (body === null || body === undefined) {
|
|
630
|
+
throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
|
|
764
631
|
}
|
|
765
|
-
return false;
|
|
766
|
-
}
|
|
767
|
-
getAllCountries(observe = 'body', reportProgress = false) {
|
|
768
632
|
let headers = this.defaultHeaders;
|
|
769
633
|
// to determine the Accept header
|
|
770
634
|
let httpHeaderAccepts = [
|
|
@@ -775,301 +639,66 @@ class CountryControllerService {
|
|
|
775
639
|
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
776
640
|
}
|
|
777
641
|
// to determine the Content-Type header
|
|
778
|
-
const consumes = [
|
|
779
|
-
|
|
642
|
+
const consumes = [
|
|
643
|
+
'application/json'
|
|
644
|
+
];
|
|
645
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
646
|
+
if (httpContentTypeSelected != undefined) {
|
|
647
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
648
|
+
}
|
|
649
|
+
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement`, {
|
|
650
|
+
body: body,
|
|
780
651
|
withCredentials: this.configuration.withCredentials,
|
|
781
652
|
headers: headers,
|
|
782
653
|
observe: observe,
|
|
783
654
|
reportProgress: reportProgress
|
|
784
655
|
});
|
|
785
656
|
}
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
type: Injectable
|
|
791
|
-
}], ctorParameters: function () {
|
|
792
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
793
|
-
type: Optional
|
|
794
|
-
}, {
|
|
795
|
-
type: Inject,
|
|
796
|
-
args: [BASE_PATH]
|
|
797
|
-
}] }, { type: Configuration, decorators: [{
|
|
798
|
-
type: Optional
|
|
799
|
-
}] }];
|
|
800
|
-
} });
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
*
|
|
804
|
-
*
|
|
805
|
-
*
|
|
806
|
-
*
|
|
807
|
-
*
|
|
808
|
-
*
|
|
809
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
810
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
811
|
-
* Do not edit the class manually.
|
|
812
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
813
|
-
class DpaCampaignControllerService {
|
|
814
|
-
constructor(httpClient, basePath, configuration) {
|
|
815
|
-
this.httpClient = httpClient;
|
|
816
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
817
|
-
this.defaultHeaders = new HttpHeaders();
|
|
818
|
-
this.configuration = new Configuration();
|
|
819
|
-
if (basePath) {
|
|
820
|
-
this.basePath = basePath;
|
|
657
|
+
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, staticCampaign, sourcePlatform, page, size, sort, observe = 'body', reportProgress = false) {
|
|
658
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
659
|
+
if (id !== undefined && id !== null) {
|
|
660
|
+
queryParameters = queryParameters.set('id', id);
|
|
821
661
|
}
|
|
822
|
-
if (
|
|
823
|
-
|
|
824
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
662
|
+
if (campaignId !== undefined && campaignId !== null) {
|
|
663
|
+
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
825
664
|
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
* @param consumes string[] mime-types
|
|
829
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
830
|
-
*/
|
|
831
|
-
canConsumeForm(consumes) {
|
|
832
|
-
const form = 'multipart/form-data';
|
|
833
|
-
for (const consume of consumes) {
|
|
834
|
-
if (form === consume) {
|
|
835
|
-
return true;
|
|
836
|
-
}
|
|
665
|
+
if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
|
|
666
|
+
queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
|
|
837
667
|
}
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
createOrUpdateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
841
|
-
if (body === null || body === undefined) {
|
|
842
|
-
throw new Error('Required parameter body was null or undefined when calling createOrUpdateDpaCampaign.');
|
|
668
|
+
if (name !== undefined && name !== null) {
|
|
669
|
+
queryParameters = queryParameters.set('name', name);
|
|
843
670
|
}
|
|
844
|
-
if (
|
|
845
|
-
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
if (
|
|
854
|
-
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
}
|
|
876
|
-
let headers = this.defaultHeaders;
|
|
877
|
-
// to determine the Accept header
|
|
878
|
-
let httpHeaderAccepts = [
|
|
879
|
-
'*/*'
|
|
880
|
-
];
|
|
881
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
882
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
883
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
884
|
-
}
|
|
885
|
-
// to determine the Content-Type header
|
|
886
|
-
const consumes = [];
|
|
887
|
-
return this.httpClient.request('get', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
888
|
-
withCredentials: this.configuration.withCredentials,
|
|
889
|
-
headers: headers,
|
|
890
|
-
observe: observe,
|
|
891
|
-
reportProgress: reportProgress
|
|
892
|
-
});
|
|
893
|
-
}
|
|
894
|
-
updateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
895
|
-
if (body === null || body === undefined) {
|
|
896
|
-
throw new Error('Required parameter body was null or undefined when calling updateDpaCampaign.');
|
|
897
|
-
}
|
|
898
|
-
if (id === null || id === undefined) {
|
|
899
|
-
throw new Error('Required parameter id was null or undefined when calling updateDpaCampaign.');
|
|
900
|
-
}
|
|
901
|
-
let headers = this.defaultHeaders;
|
|
902
|
-
// to determine the Accept header
|
|
903
|
-
let httpHeaderAccepts = [
|
|
904
|
-
'*/*'
|
|
905
|
-
];
|
|
906
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
907
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
908
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
909
|
-
}
|
|
910
|
-
// to determine the Content-Type header
|
|
911
|
-
const consumes = [
|
|
912
|
-
'application/json'
|
|
913
|
-
];
|
|
914
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
915
|
-
if (httpContentTypeSelected != undefined) {
|
|
916
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
917
|
-
}
|
|
918
|
-
return this.httpClient.request('put', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
|
|
919
|
-
body: body,
|
|
920
|
-
withCredentials: this.configuration.withCredentials,
|
|
921
|
-
headers: headers,
|
|
922
|
-
observe: observe,
|
|
923
|
-
reportProgress: reportProgress
|
|
924
|
-
});
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
DpaCampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
928
|
-
DpaCampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService });
|
|
929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DpaCampaignControllerService, decorators: [{
|
|
930
|
-
type: Injectable
|
|
931
|
-
}], ctorParameters: function () {
|
|
932
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
933
|
-
type: Optional
|
|
934
|
-
}, {
|
|
935
|
-
type: Inject,
|
|
936
|
-
args: [BASE_PATH]
|
|
937
|
-
}] }, { type: Configuration, decorators: [{
|
|
938
|
-
type: Optional
|
|
939
|
-
}] }];
|
|
940
|
-
} });
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
*
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
*
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
950
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
951
|
-
* Do not edit the class manually.
|
|
952
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
953
|
-
class DpaEngagementControllerService {
|
|
954
|
-
constructor(httpClient, basePath, configuration) {
|
|
955
|
-
this.httpClient = httpClient;
|
|
956
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
957
|
-
this.defaultHeaders = new HttpHeaders();
|
|
958
|
-
this.configuration = new Configuration();
|
|
959
|
-
if (basePath) {
|
|
960
|
-
this.basePath = basePath;
|
|
961
|
-
}
|
|
962
|
-
if (configuration) {
|
|
963
|
-
this.configuration = configuration;
|
|
964
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
/**
|
|
968
|
-
* @param consumes string[] mime-types
|
|
969
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
970
|
-
*/
|
|
971
|
-
canConsumeForm(consumes) {
|
|
972
|
-
const form = 'multipart/form-data';
|
|
973
|
-
for (const consume of consumes) {
|
|
974
|
-
if (form === consume) {
|
|
975
|
-
return true;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
return false;
|
|
979
|
-
}
|
|
980
|
-
activateDpaEngagement(id, observe = 'body', reportProgress = false) {
|
|
981
|
-
if (id === null || id === undefined) {
|
|
982
|
-
throw new Error('Required parameter id was null or undefined when calling activateDpaEngagement.');
|
|
983
|
-
}
|
|
984
|
-
let headers = this.defaultHeaders;
|
|
985
|
-
// to determine the Accept header
|
|
986
|
-
let httpHeaderAccepts = [
|
|
987
|
-
'*/*'
|
|
988
|
-
];
|
|
989
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
990
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
991
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
992
|
-
}
|
|
993
|
-
// to determine the Content-Type header
|
|
994
|
-
const consumes = [];
|
|
995
|
-
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
|
|
996
|
-
withCredentials: this.configuration.withCredentials,
|
|
997
|
-
headers: headers,
|
|
998
|
-
observe: observe,
|
|
999
|
-
reportProgress: reportProgress
|
|
1000
|
-
});
|
|
1001
|
-
}
|
|
1002
|
-
createDpaEngagement(body, observe = 'body', reportProgress = false) {
|
|
1003
|
-
if (body === null || body === undefined) {
|
|
1004
|
-
throw new Error('Required parameter body was null or undefined when calling createDpaEngagement.');
|
|
1005
|
-
}
|
|
1006
|
-
let headers = this.defaultHeaders;
|
|
1007
|
-
// to determine the Accept header
|
|
1008
|
-
let httpHeaderAccepts = [
|
|
1009
|
-
'*/*'
|
|
1010
|
-
];
|
|
1011
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1012
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1013
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1014
|
-
}
|
|
1015
|
-
// to determine the Content-Type header
|
|
1016
|
-
const consumes = [
|
|
1017
|
-
'application/json'
|
|
1018
|
-
];
|
|
1019
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1020
|
-
if (httpContentTypeSelected != undefined) {
|
|
1021
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1022
|
-
}
|
|
1023
|
-
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement`, {
|
|
1024
|
-
body: body,
|
|
1025
|
-
withCredentials: this.configuration.withCredentials,
|
|
1026
|
-
headers: headers,
|
|
1027
|
-
observe: observe,
|
|
1028
|
-
reportProgress: reportProgress
|
|
1029
|
-
});
|
|
1030
|
-
}
|
|
1031
|
-
getAllDpaEngagements(id, campaignId, facebookCampaignId, name, payoutType, status, isIntellibidEnabled, isMarketFeedbackEnabled, campaignStatus, staticCampaign, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1032
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1033
|
-
if (id !== undefined && id !== null) {
|
|
1034
|
-
queryParameters = queryParameters.set('id', id);
|
|
1035
|
-
}
|
|
1036
|
-
if (campaignId !== undefined && campaignId !== null) {
|
|
1037
|
-
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
1038
|
-
}
|
|
1039
|
-
if (facebookCampaignId !== undefined && facebookCampaignId !== null) {
|
|
1040
|
-
queryParameters = queryParameters.set('facebookCampaignId', facebookCampaignId);
|
|
1041
|
-
}
|
|
1042
|
-
if (name !== undefined && name !== null) {
|
|
1043
|
-
queryParameters = queryParameters.set('name', name);
|
|
1044
|
-
}
|
|
1045
|
-
if (payoutType !== undefined && payoutType !== null) {
|
|
1046
|
-
queryParameters = queryParameters.set('payoutType', payoutType);
|
|
1047
|
-
}
|
|
1048
|
-
if (status !== undefined && status !== null) {
|
|
1049
|
-
queryParameters = queryParameters.set('status', status);
|
|
1050
|
-
}
|
|
1051
|
-
if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
|
|
1052
|
-
queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
|
|
1053
|
-
}
|
|
1054
|
-
if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
|
|
1055
|
-
queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
|
|
1056
|
-
}
|
|
1057
|
-
if (campaignStatus !== undefined && campaignStatus !== null) {
|
|
1058
|
-
queryParameters = queryParameters.set('campaignStatus', campaignStatus);
|
|
1059
|
-
}
|
|
1060
|
-
if (staticCampaign !== undefined && staticCampaign !== null) {
|
|
1061
|
-
queryParameters = queryParameters.set('staticCampaign', staticCampaign);
|
|
1062
|
-
}
|
|
1063
|
-
if (page !== undefined && page !== null) {
|
|
1064
|
-
queryParameters = queryParameters.set('page', page);
|
|
1065
|
-
}
|
|
1066
|
-
if (size !== undefined && size !== null) {
|
|
1067
|
-
queryParameters = queryParameters.set('size', size);
|
|
1068
|
-
}
|
|
1069
|
-
if (sort) {
|
|
1070
|
-
sort.forEach((element) => {
|
|
1071
|
-
queryParameters = queryParameters.append('sort', element);
|
|
1072
|
-
});
|
|
671
|
+
if (payoutType !== undefined && payoutType !== null) {
|
|
672
|
+
queryParameters = queryParameters.set('payoutType', payoutType);
|
|
673
|
+
}
|
|
674
|
+
if (status !== undefined && status !== null) {
|
|
675
|
+
queryParameters = queryParameters.set('status', status);
|
|
676
|
+
}
|
|
677
|
+
if (isIntellibidEnabled !== undefined && isIntellibidEnabled !== null) {
|
|
678
|
+
queryParameters = queryParameters.set('isIntellibidEnabled', isIntellibidEnabled);
|
|
679
|
+
}
|
|
680
|
+
if (isMarketFeedbackEnabled !== undefined && isMarketFeedbackEnabled !== null) {
|
|
681
|
+
queryParameters = queryParameters.set('isMarketFeedbackEnabled', isMarketFeedbackEnabled);
|
|
682
|
+
}
|
|
683
|
+
if (campaignStatus !== undefined && campaignStatus !== null) {
|
|
684
|
+
queryParameters = queryParameters.set('campaignStatus', campaignStatus);
|
|
685
|
+
}
|
|
686
|
+
if (staticCampaign !== undefined && staticCampaign !== null) {
|
|
687
|
+
queryParameters = queryParameters.set('staticCampaign', staticCampaign);
|
|
688
|
+
}
|
|
689
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
690
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
691
|
+
}
|
|
692
|
+
if (page !== undefined && page !== null) {
|
|
693
|
+
queryParameters = queryParameters.set('page', page);
|
|
694
|
+
}
|
|
695
|
+
if (size !== undefined && size !== null) {
|
|
696
|
+
queryParameters = queryParameters.set('size', size);
|
|
697
|
+
}
|
|
698
|
+
if (sort) {
|
|
699
|
+
sort.forEach((element) => {
|
|
700
|
+
queryParameters = queryParameters.append('sort', element);
|
|
701
|
+
});
|
|
1073
702
|
}
|
|
1074
703
|
let headers = this.defaultHeaders;
|
|
1075
704
|
// to determine the Accept header
|
|
@@ -1191,14 +820,20 @@ class DpaEngagementControllerService {
|
|
|
1191
820
|
reportProgress: reportProgress
|
|
1192
821
|
});
|
|
1193
822
|
}
|
|
1194
|
-
searchDpaEngagements(q, observe = 'body', reportProgress = false) {
|
|
823
|
+
searchDpaEngagements(q, sourcePlatform, observe = 'body', reportProgress = false) {
|
|
1195
824
|
if (q === null || q === undefined) {
|
|
1196
825
|
throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
|
|
1197
826
|
}
|
|
827
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
828
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling searchDpaEngagements.');
|
|
829
|
+
}
|
|
1198
830
|
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1199
831
|
if (q !== undefined && q !== null) {
|
|
1200
832
|
queryParameters = queryParameters.set('q', q);
|
|
1201
833
|
}
|
|
834
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
835
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
836
|
+
}
|
|
1202
837
|
let headers = this.defaultHeaders;
|
|
1203
838
|
// to determine the Accept header
|
|
1204
839
|
let httpHeaderAccepts = [
|
|
@@ -1331,17 +966,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1331
966
|
} });
|
|
1332
967
|
|
|
1333
968
|
/**
|
|
969
|
+
* Intellibid API
|
|
970
|
+
* API documentation for the Intellibid platform
|
|
1334
971
|
*
|
|
1335
|
-
*
|
|
1336
|
-
*
|
|
1337
|
-
*
|
|
972
|
+
* OpenAPI spec version: 1.0
|
|
1338
973
|
*
|
|
1339
974
|
*
|
|
1340
975
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1341
976
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
1342
977
|
* Do not edit the class manually.
|
|
1343
978
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1344
|
-
class
|
|
979
|
+
class FacebookAdImageControllerService {
|
|
1345
980
|
constructor(httpClient, basePath, configuration) {
|
|
1346
981
|
this.httpClient = httpClient;
|
|
1347
982
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -1368,88 +1003,916 @@ class FacebookEngagementControllerService {
|
|
|
1368
1003
|
}
|
|
1369
1004
|
return false;
|
|
1370
1005
|
}
|
|
1371
|
-
|
|
1372
|
-
if (
|
|
1373
|
-
throw new Error('Required parameter
|
|
1006
|
+
deleteAdImage1(adAccountId, hash, observe = 'body', reportProgress = false) {
|
|
1007
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1008
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdImage1.');
|
|
1374
1009
|
}
|
|
1375
|
-
if (
|
|
1376
|
-
throw new Error('Required parameter
|
|
1010
|
+
if (hash === null || hash === undefined) {
|
|
1011
|
+
throw new Error('Required parameter hash was null or undefined when calling deleteAdImage1.');
|
|
1377
1012
|
}
|
|
1378
1013
|
let headers = this.defaultHeaders;
|
|
1379
1014
|
// to determine the Accept header
|
|
1380
|
-
let httpHeaderAccepts = [
|
|
1381
|
-
'*/*'
|
|
1382
|
-
];
|
|
1015
|
+
let httpHeaderAccepts = [];
|
|
1383
1016
|
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1384
1017
|
if (httpHeaderAcceptSelected != undefined) {
|
|
1385
1018
|
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1386
1019
|
}
|
|
1387
1020
|
// to determine the Content-Type header
|
|
1388
|
-
const consumes = [
|
|
1389
|
-
|
|
1390
|
-
];
|
|
1391
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1392
|
-
if (httpContentTypeSelected != undefined) {
|
|
1393
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1394
|
-
}
|
|
1395
|
-
return this.httpClient.request('post', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1396
|
-
body: body,
|
|
1021
|
+
const consumes = [];
|
|
1022
|
+
return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image/${encodeURIComponent(String(hash))}/delete`, {
|
|
1397
1023
|
withCredentials: this.configuration.withCredentials,
|
|
1398
1024
|
headers: headers,
|
|
1399
1025
|
observe: observe,
|
|
1400
1026
|
reportProgress: reportProgress
|
|
1401
1027
|
});
|
|
1402
1028
|
}
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
}
|
|
1408
|
-
if (
|
|
1409
|
-
|
|
1029
|
+
getAllAdImages1(adAccountId, hashes, observe = 'body', reportProgress = false) {
|
|
1030
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1031
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImages1.');
|
|
1032
|
+
}
|
|
1033
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1034
|
+
if (hashes) {
|
|
1035
|
+
hashes.forEach((element) => {
|
|
1036
|
+
queryParameters = queryParameters.append('hashes', element);
|
|
1037
|
+
});
|
|
1038
|
+
}
|
|
1039
|
+
let headers = this.defaultHeaders;
|
|
1040
|
+
// to determine the Accept header
|
|
1041
|
+
let httpHeaderAccepts = [
|
|
1042
|
+
'*/*'
|
|
1043
|
+
];
|
|
1044
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1045
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1046
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1047
|
+
}
|
|
1048
|
+
// to determine the Content-Type header
|
|
1049
|
+
const consumes = [];
|
|
1050
|
+
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
1051
|
+
params: queryParameters,
|
|
1052
|
+
withCredentials: this.configuration.withCredentials,
|
|
1053
|
+
headers: headers,
|
|
1054
|
+
observe: observe,
|
|
1055
|
+
reportProgress: reportProgress
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
uploadAdImages2(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
1059
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1060
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages2.');
|
|
1061
|
+
}
|
|
1062
|
+
if (files === null || files === undefined) {
|
|
1063
|
+
throw new Error('Required parameter files was null or undefined when calling uploadAdImages2.');
|
|
1064
|
+
}
|
|
1065
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1066
|
+
if (files) {
|
|
1067
|
+
files.forEach((element) => {
|
|
1068
|
+
queryParameters = queryParameters.append('files', element);
|
|
1069
|
+
});
|
|
1070
|
+
}
|
|
1071
|
+
let headers = this.defaultHeaders;
|
|
1072
|
+
// to determine the Accept header
|
|
1073
|
+
let httpHeaderAccepts = [
|
|
1074
|
+
'*/*'
|
|
1075
|
+
];
|
|
1076
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1077
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1078
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1079
|
+
}
|
|
1080
|
+
// to determine the Content-Type header
|
|
1081
|
+
const consumes = [];
|
|
1082
|
+
return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
1083
|
+
params: queryParameters,
|
|
1084
|
+
withCredentials: this.configuration.withCredentials,
|
|
1085
|
+
headers: headers,
|
|
1086
|
+
observe: observe,
|
|
1087
|
+
reportProgress: reportProgress
|
|
1088
|
+
});
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
FacebookAdImageControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdImageControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1092
|
+
FacebookAdImageControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdImageControllerService });
|
|
1093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdImageControllerService, decorators: [{
|
|
1094
|
+
type: Injectable
|
|
1095
|
+
}], ctorParameters: function () {
|
|
1096
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1097
|
+
type: Optional
|
|
1098
|
+
}, {
|
|
1099
|
+
type: Inject,
|
|
1100
|
+
args: [BASE_PATH]
|
|
1101
|
+
}] }, { type: Configuration, decorators: [{
|
|
1102
|
+
type: Optional
|
|
1103
|
+
}] }];
|
|
1104
|
+
} });
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Intellibid API
|
|
1108
|
+
* API documentation for the Intellibid platform
|
|
1109
|
+
*
|
|
1110
|
+
* OpenAPI spec version: 1.0
|
|
1111
|
+
*
|
|
1112
|
+
*
|
|
1113
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1114
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1115
|
+
* Do not edit the class manually.
|
|
1116
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1117
|
+
class FacebookAdVideoControllerService {
|
|
1118
|
+
constructor(httpClient, basePath, configuration) {
|
|
1119
|
+
this.httpClient = httpClient;
|
|
1120
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1121
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1122
|
+
this.configuration = new Configuration();
|
|
1123
|
+
if (basePath) {
|
|
1124
|
+
this.basePath = basePath;
|
|
1125
|
+
}
|
|
1126
|
+
if (configuration) {
|
|
1127
|
+
this.configuration = configuration;
|
|
1128
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* @param consumes string[] mime-types
|
|
1133
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1134
|
+
*/
|
|
1135
|
+
canConsumeForm(consumes) {
|
|
1136
|
+
const form = 'multipart/form-data';
|
|
1137
|
+
for (const consume of consumes) {
|
|
1138
|
+
if (form === consume) {
|
|
1139
|
+
return true;
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
return false;
|
|
1143
|
+
}
|
|
1144
|
+
deleteAdVideo1(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
1145
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1146
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdVideo1.');
|
|
1147
|
+
}
|
|
1148
|
+
if (videoId === null || videoId === undefined) {
|
|
1149
|
+
throw new Error('Required parameter videoId was null or undefined when calling deleteAdVideo1.');
|
|
1150
|
+
}
|
|
1151
|
+
let headers = this.defaultHeaders;
|
|
1152
|
+
// to determine the Accept header
|
|
1153
|
+
let httpHeaderAccepts = [];
|
|
1154
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1155
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1156
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1157
|
+
}
|
|
1158
|
+
// to determine the Content-Type header
|
|
1159
|
+
const consumes = [];
|
|
1160
|
+
return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}/delete`, {
|
|
1161
|
+
withCredentials: this.configuration.withCredentials,
|
|
1162
|
+
headers: headers,
|
|
1163
|
+
observe: observe,
|
|
1164
|
+
reportProgress: reportProgress
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
getAdVideo1(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
1168
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1169
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAdVideo1.');
|
|
1170
|
+
}
|
|
1171
|
+
if (videoId === null || videoId === undefined) {
|
|
1172
|
+
throw new Error('Required parameter videoId was null or undefined when calling getAdVideo1.');
|
|
1173
|
+
}
|
|
1174
|
+
let headers = this.defaultHeaders;
|
|
1175
|
+
// to determine the Accept header
|
|
1176
|
+
let httpHeaderAccepts = [
|
|
1177
|
+
'*/*'
|
|
1178
|
+
];
|
|
1179
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1180
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1181
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1182
|
+
}
|
|
1183
|
+
// to determine the Content-Type header
|
|
1184
|
+
const consumes = [];
|
|
1185
|
+
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
|
|
1186
|
+
withCredentials: this.configuration.withCredentials,
|
|
1187
|
+
headers: headers,
|
|
1188
|
+
observe: observe,
|
|
1189
|
+
reportProgress: reportProgress
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
getAllAdVideos1(adAccountId, videoIds, observe = 'body', reportProgress = false) {
|
|
1193
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1194
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideos1.');
|
|
1195
|
+
}
|
|
1196
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1197
|
+
if (videoIds) {
|
|
1198
|
+
videoIds.forEach((element) => {
|
|
1199
|
+
queryParameters = queryParameters.append('videoIds', element);
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
let headers = this.defaultHeaders;
|
|
1203
|
+
// to determine the Accept header
|
|
1204
|
+
let httpHeaderAccepts = [
|
|
1205
|
+
'*/*'
|
|
1206
|
+
];
|
|
1207
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1208
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1209
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1210
|
+
}
|
|
1211
|
+
// to determine the Content-Type header
|
|
1212
|
+
const consumes = [];
|
|
1213
|
+
return this.httpClient.request('get', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
1214
|
+
params: queryParameters,
|
|
1215
|
+
withCredentials: this.configuration.withCredentials,
|
|
1216
|
+
headers: headers,
|
|
1217
|
+
observe: observe,
|
|
1218
|
+
reportProgress: reportProgress
|
|
1219
|
+
});
|
|
1220
|
+
}
|
|
1221
|
+
uploadAdVideos2(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
1222
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1223
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos2.');
|
|
1224
|
+
}
|
|
1225
|
+
if (files === null || files === undefined) {
|
|
1226
|
+
throw new Error('Required parameter files was null or undefined when calling uploadAdVideos2.');
|
|
1227
|
+
}
|
|
1228
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1229
|
+
if (files) {
|
|
1230
|
+
files.forEach((element) => {
|
|
1231
|
+
queryParameters = queryParameters.append('files', element);
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
let headers = this.defaultHeaders;
|
|
1235
|
+
// to determine the Accept header
|
|
1236
|
+
let httpHeaderAccepts = [
|
|
1237
|
+
'*/*'
|
|
1238
|
+
];
|
|
1239
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1240
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1241
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1242
|
+
}
|
|
1243
|
+
// to determine the Content-Type header
|
|
1244
|
+
const consumes = [];
|
|
1245
|
+
return this.httpClient.request('post', `${this.basePath}/api/facebook/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
1246
|
+
params: queryParameters,
|
|
1247
|
+
withCredentials: this.configuration.withCredentials,
|
|
1248
|
+
headers: headers,
|
|
1249
|
+
observe: observe,
|
|
1250
|
+
reportProgress: reportProgress
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
FacebookAdVideoControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdVideoControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1255
|
+
FacebookAdVideoControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdVideoControllerService });
|
|
1256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookAdVideoControllerService, decorators: [{
|
|
1257
|
+
type: Injectable
|
|
1258
|
+
}], ctorParameters: function () {
|
|
1259
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1260
|
+
type: Optional
|
|
1261
|
+
}, {
|
|
1262
|
+
type: Inject,
|
|
1263
|
+
args: [BASE_PATH]
|
|
1264
|
+
}] }, { type: Configuration, decorators: [{
|
|
1265
|
+
type: Optional
|
|
1266
|
+
}] }];
|
|
1267
|
+
} });
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Intellibid API
|
|
1271
|
+
* API documentation for the Intellibid platform
|
|
1272
|
+
*
|
|
1273
|
+
* OpenAPI spec version: 1.0
|
|
1274
|
+
*
|
|
1275
|
+
*
|
|
1276
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1277
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1278
|
+
* Do not edit the class manually.
|
|
1279
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1280
|
+
class FacebookEngagementControllerService {
|
|
1281
|
+
constructor(httpClient, basePath, configuration) {
|
|
1282
|
+
this.httpClient = httpClient;
|
|
1283
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1284
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1285
|
+
this.configuration = new Configuration();
|
|
1286
|
+
if (basePath) {
|
|
1287
|
+
this.basePath = basePath;
|
|
1288
|
+
}
|
|
1289
|
+
if (configuration) {
|
|
1290
|
+
this.configuration = configuration;
|
|
1291
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* @param consumes string[] mime-types
|
|
1296
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1297
|
+
*/
|
|
1298
|
+
canConsumeForm(consumes) {
|
|
1299
|
+
const form = 'multipart/form-data';
|
|
1300
|
+
for (const consume of consumes) {
|
|
1301
|
+
if (form === consume) {
|
|
1302
|
+
return true;
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
return false;
|
|
1306
|
+
}
|
|
1307
|
+
createOrUpdateFacebookEngagement(body, id, observe = 'body', reportProgress = false) {
|
|
1308
|
+
if (body === null || body === undefined) {
|
|
1309
|
+
throw new Error('Required parameter body was null or undefined when calling createOrUpdateFacebookEngagement.');
|
|
1310
|
+
}
|
|
1311
|
+
if (id === null || id === undefined) {
|
|
1312
|
+
throw new Error('Required parameter id was null or undefined when calling createOrUpdateFacebookEngagement.');
|
|
1313
|
+
}
|
|
1314
|
+
let headers = this.defaultHeaders;
|
|
1315
|
+
// to determine the Accept header
|
|
1316
|
+
let httpHeaderAccepts = [
|
|
1317
|
+
'*/*'
|
|
1318
|
+
];
|
|
1319
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1320
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1321
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1322
|
+
}
|
|
1323
|
+
// to determine the Content-Type header
|
|
1324
|
+
const consumes = [
|
|
1325
|
+
'application/json'
|
|
1326
|
+
];
|
|
1327
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1328
|
+
if (httpContentTypeSelected != undefined) {
|
|
1329
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1330
|
+
}
|
|
1331
|
+
return this.httpClient.request('post', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1332
|
+
body: body,
|
|
1333
|
+
withCredentials: this.configuration.withCredentials,
|
|
1334
|
+
headers: headers,
|
|
1335
|
+
observe: observe,
|
|
1336
|
+
reportProgress: reportProgress
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
getAllFacebookEngagements(id, campaignId, facebookAccountId, facebookFanPageId, facebookCatalogId, facebookCatalogType, instagramActorId, facebookPixelId, facebookAppId, facebookProductSetId, tosAccepted, eventSourceGroupId, audienceDsdo, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1340
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1341
|
+
if (id !== undefined && id !== null) {
|
|
1342
|
+
queryParameters = queryParameters.set('id', id);
|
|
1343
|
+
}
|
|
1344
|
+
if (campaignId !== undefined && campaignId !== null) {
|
|
1345
|
+
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
1410
1346
|
}
|
|
1411
1347
|
if (facebookAccountId !== undefined && facebookAccountId !== null) {
|
|
1412
1348
|
queryParameters = queryParameters.set('facebookAccountId', facebookAccountId);
|
|
1413
1349
|
}
|
|
1414
|
-
if (facebookFanPageId !== undefined && facebookFanPageId !== null) {
|
|
1415
|
-
queryParameters = queryParameters.set('facebookFanPageId', facebookFanPageId);
|
|
1350
|
+
if (facebookFanPageId !== undefined && facebookFanPageId !== null) {
|
|
1351
|
+
queryParameters = queryParameters.set('facebookFanPageId', facebookFanPageId);
|
|
1352
|
+
}
|
|
1353
|
+
if (facebookCatalogId !== undefined && facebookCatalogId !== null) {
|
|
1354
|
+
queryParameters = queryParameters.set('facebookCatalogId', facebookCatalogId);
|
|
1355
|
+
}
|
|
1356
|
+
if (facebookCatalogType !== undefined && facebookCatalogType !== null) {
|
|
1357
|
+
queryParameters = queryParameters.set('facebookCatalogType', facebookCatalogType);
|
|
1358
|
+
}
|
|
1359
|
+
if (instagramActorId !== undefined && instagramActorId !== null) {
|
|
1360
|
+
queryParameters = queryParameters.set('instagramActorId', instagramActorId);
|
|
1361
|
+
}
|
|
1362
|
+
if (facebookPixelId !== undefined && facebookPixelId !== null) {
|
|
1363
|
+
queryParameters = queryParameters.set('facebookPixelId', facebookPixelId);
|
|
1364
|
+
}
|
|
1365
|
+
if (facebookAppId !== undefined && facebookAppId !== null) {
|
|
1366
|
+
queryParameters = queryParameters.set('facebookAppId', facebookAppId);
|
|
1367
|
+
}
|
|
1368
|
+
if (facebookProductSetId !== undefined && facebookProductSetId !== null) {
|
|
1369
|
+
queryParameters = queryParameters.set('facebookProductSetId', facebookProductSetId);
|
|
1370
|
+
}
|
|
1371
|
+
if (tosAccepted !== undefined && tosAccepted !== null) {
|
|
1372
|
+
queryParameters = queryParameters.set('tosAccepted', tosAccepted);
|
|
1373
|
+
}
|
|
1374
|
+
if (eventSourceGroupId !== undefined && eventSourceGroupId !== null) {
|
|
1375
|
+
queryParameters = queryParameters.set('eventSourceGroupId', eventSourceGroupId);
|
|
1376
|
+
}
|
|
1377
|
+
if (audienceDsdo !== undefined && audienceDsdo !== null) {
|
|
1378
|
+
queryParameters = queryParameters.set('audienceDsdo', audienceDsdo);
|
|
1379
|
+
}
|
|
1380
|
+
if (page !== undefined && page !== null) {
|
|
1381
|
+
queryParameters = queryParameters.set('page', page);
|
|
1382
|
+
}
|
|
1383
|
+
if (size !== undefined && size !== null) {
|
|
1384
|
+
queryParameters = queryParameters.set('size', size);
|
|
1385
|
+
}
|
|
1386
|
+
if (sort) {
|
|
1387
|
+
sort.forEach((element) => {
|
|
1388
|
+
queryParameters = queryParameters.append('sort', element);
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
let headers = this.defaultHeaders;
|
|
1392
|
+
// to determine the Accept header
|
|
1393
|
+
let httpHeaderAccepts = [
|
|
1394
|
+
'*/*'
|
|
1395
|
+
];
|
|
1396
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1397
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1398
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1399
|
+
}
|
|
1400
|
+
// to determine the Content-Type header
|
|
1401
|
+
const consumes = [];
|
|
1402
|
+
return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement`, {
|
|
1403
|
+
params: queryParameters,
|
|
1404
|
+
withCredentials: this.configuration.withCredentials,
|
|
1405
|
+
headers: headers,
|
|
1406
|
+
observe: observe,
|
|
1407
|
+
reportProgress: reportProgress
|
|
1408
|
+
});
|
|
1409
|
+
}
|
|
1410
|
+
getFacebookEngagement(id, observe = 'body', reportProgress = false) {
|
|
1411
|
+
if (id === null || id === undefined) {
|
|
1412
|
+
throw new Error('Required parameter id was null or undefined when calling getFacebookEngagement.');
|
|
1413
|
+
}
|
|
1414
|
+
let headers = this.defaultHeaders;
|
|
1415
|
+
// to determine the Accept header
|
|
1416
|
+
let httpHeaderAccepts = [
|
|
1417
|
+
'*/*'
|
|
1418
|
+
];
|
|
1419
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1420
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1421
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1422
|
+
}
|
|
1423
|
+
// to determine the Content-Type header
|
|
1424
|
+
const consumes = [];
|
|
1425
|
+
return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1426
|
+
withCredentials: this.configuration.withCredentials,
|
|
1427
|
+
headers: headers,
|
|
1428
|
+
observe: observe,
|
|
1429
|
+
reportProgress: reportProgress
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
FacebookEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1434
|
+
FacebookEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService });
|
|
1435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, decorators: [{
|
|
1436
|
+
type: Injectable
|
|
1437
|
+
}], ctorParameters: function () {
|
|
1438
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1439
|
+
type: Optional
|
|
1440
|
+
}, {
|
|
1441
|
+
type: Inject,
|
|
1442
|
+
args: [BASE_PATH]
|
|
1443
|
+
}] }, { type: Configuration, decorators: [{
|
|
1444
|
+
type: Optional
|
|
1445
|
+
}] }];
|
|
1446
|
+
} });
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* Intellibid API
|
|
1450
|
+
* API documentation for the Intellibid platform
|
|
1451
|
+
*
|
|
1452
|
+
* OpenAPI spec version: 1.0
|
|
1453
|
+
*
|
|
1454
|
+
*
|
|
1455
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1456
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1457
|
+
* Do not edit the class manually.
|
|
1458
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1459
|
+
class MobileAppDetailControllerService {
|
|
1460
|
+
constructor(httpClient, basePath, configuration) {
|
|
1461
|
+
this.httpClient = httpClient;
|
|
1462
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1463
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1464
|
+
this.configuration = new Configuration();
|
|
1465
|
+
if (basePath) {
|
|
1466
|
+
this.basePath = basePath;
|
|
1467
|
+
}
|
|
1468
|
+
if (configuration) {
|
|
1469
|
+
this.configuration = configuration;
|
|
1470
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
/**
|
|
1474
|
+
* @param consumes string[] mime-types
|
|
1475
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1476
|
+
*/
|
|
1477
|
+
canConsumeForm(consumes) {
|
|
1478
|
+
const form = 'multipart/form-data';
|
|
1479
|
+
for (const consume of consumes) {
|
|
1480
|
+
if (form === consume) {
|
|
1481
|
+
return true;
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
return false;
|
|
1485
|
+
}
|
|
1486
|
+
createOrUpdateMobileAppDetail(body, id, observe = 'body', reportProgress = false) {
|
|
1487
|
+
if (body === null || body === undefined) {
|
|
1488
|
+
throw new Error('Required parameter body was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1489
|
+
}
|
|
1490
|
+
if (id === null || id === undefined) {
|
|
1491
|
+
throw new Error('Required parameter id was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1492
|
+
}
|
|
1493
|
+
let headers = this.defaultHeaders;
|
|
1494
|
+
// to determine the Accept header
|
|
1495
|
+
let httpHeaderAccepts = [
|
|
1496
|
+
'*/*'
|
|
1497
|
+
];
|
|
1498
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1499
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1500
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1501
|
+
}
|
|
1502
|
+
// to determine the Content-Type header
|
|
1503
|
+
const consumes = [
|
|
1504
|
+
'application/json'
|
|
1505
|
+
];
|
|
1506
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1507
|
+
if (httpContentTypeSelected != undefined) {
|
|
1508
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1509
|
+
}
|
|
1510
|
+
return this.httpClient.request('post', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
|
|
1511
|
+
body: body,
|
|
1512
|
+
withCredentials: this.configuration.withCredentials,
|
|
1513
|
+
headers: headers,
|
|
1514
|
+
observe: observe,
|
|
1515
|
+
reportProgress: reportProgress
|
|
1516
|
+
});
|
|
1517
|
+
}
|
|
1518
|
+
getAllMobileAppDetails(campaignId, altLandingPage, playStoreLink, playStoreId, fbAppIdForPlayStore, itunesLink, itunesId, fbAppIdForItunes, iosAppName, androidAppName, defaultWebSiteUrl, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1519
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1520
|
+
if (campaignId !== undefined && campaignId !== null) {
|
|
1521
|
+
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
1522
|
+
}
|
|
1523
|
+
if (altLandingPage !== undefined && altLandingPage !== null) {
|
|
1524
|
+
queryParameters = queryParameters.set('altLandingPage', altLandingPage);
|
|
1525
|
+
}
|
|
1526
|
+
if (playStoreLink !== undefined && playStoreLink !== null) {
|
|
1527
|
+
queryParameters = queryParameters.set('playStoreLink', playStoreLink);
|
|
1528
|
+
}
|
|
1529
|
+
if (playStoreId !== undefined && playStoreId !== null) {
|
|
1530
|
+
queryParameters = queryParameters.set('playStoreId', playStoreId);
|
|
1531
|
+
}
|
|
1532
|
+
if (fbAppIdForPlayStore !== undefined && fbAppIdForPlayStore !== null) {
|
|
1533
|
+
queryParameters = queryParameters.set('fbAppIdForPlayStore', fbAppIdForPlayStore);
|
|
1534
|
+
}
|
|
1535
|
+
if (itunesLink !== undefined && itunesLink !== null) {
|
|
1536
|
+
queryParameters = queryParameters.set('itunesLink', itunesLink);
|
|
1537
|
+
}
|
|
1538
|
+
if (itunesId !== undefined && itunesId !== null) {
|
|
1539
|
+
queryParameters = queryParameters.set('itunesId', itunesId);
|
|
1540
|
+
}
|
|
1541
|
+
if (fbAppIdForItunes !== undefined && fbAppIdForItunes !== null) {
|
|
1542
|
+
queryParameters = queryParameters.set('fbAppIdForItunes', fbAppIdForItunes);
|
|
1543
|
+
}
|
|
1544
|
+
if (iosAppName !== undefined && iosAppName !== null) {
|
|
1545
|
+
queryParameters = queryParameters.set('iosAppName', iosAppName);
|
|
1546
|
+
}
|
|
1547
|
+
if (androidAppName !== undefined && androidAppName !== null) {
|
|
1548
|
+
queryParameters = queryParameters.set('androidAppName', androidAppName);
|
|
1549
|
+
}
|
|
1550
|
+
if (defaultWebSiteUrl !== undefined && defaultWebSiteUrl !== null) {
|
|
1551
|
+
queryParameters = queryParameters.set('defaultWebSiteUrl', defaultWebSiteUrl);
|
|
1552
|
+
}
|
|
1553
|
+
if (page !== undefined && page !== null) {
|
|
1554
|
+
queryParameters = queryParameters.set('page', page);
|
|
1555
|
+
}
|
|
1556
|
+
if (size !== undefined && size !== null) {
|
|
1557
|
+
queryParameters = queryParameters.set('size', size);
|
|
1558
|
+
}
|
|
1559
|
+
if (sort) {
|
|
1560
|
+
sort.forEach((element) => {
|
|
1561
|
+
queryParameters = queryParameters.append('sort', element);
|
|
1562
|
+
});
|
|
1563
|
+
}
|
|
1564
|
+
let headers = this.defaultHeaders;
|
|
1565
|
+
// to determine the Accept header
|
|
1566
|
+
let httpHeaderAccepts = [
|
|
1567
|
+
'*/*'
|
|
1568
|
+
];
|
|
1569
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1570
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1571
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1572
|
+
}
|
|
1573
|
+
// to determine the Content-Type header
|
|
1574
|
+
const consumes = [];
|
|
1575
|
+
return this.httpClient.request('get', `${this.basePath}/api/mobile-app`, {
|
|
1576
|
+
params: queryParameters,
|
|
1577
|
+
withCredentials: this.configuration.withCredentials,
|
|
1578
|
+
headers: headers,
|
|
1579
|
+
observe: observe,
|
|
1580
|
+
reportProgress: reportProgress
|
|
1581
|
+
});
|
|
1582
|
+
}
|
|
1583
|
+
getMobileAppDetail(id, observe = 'body', reportProgress = false) {
|
|
1584
|
+
if (id === null || id === undefined) {
|
|
1585
|
+
throw new Error('Required parameter id was null or undefined when calling getMobileAppDetail.');
|
|
1586
|
+
}
|
|
1587
|
+
let headers = this.defaultHeaders;
|
|
1588
|
+
// to determine the Accept header
|
|
1589
|
+
let httpHeaderAccepts = [
|
|
1590
|
+
'*/*'
|
|
1591
|
+
];
|
|
1592
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1593
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1594
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1595
|
+
}
|
|
1596
|
+
// to determine the Content-Type header
|
|
1597
|
+
const consumes = [];
|
|
1598
|
+
return this.httpClient.request('get', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
|
|
1599
|
+
withCredentials: this.configuration.withCredentials,
|
|
1600
|
+
headers: headers,
|
|
1601
|
+
observe: observe,
|
|
1602
|
+
reportProgress: reportProgress
|
|
1603
|
+
});
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
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 });
|
|
1607
|
+
MobileAppDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService });
|
|
1608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MobileAppDetailControllerService, decorators: [{
|
|
1609
|
+
type: Injectable
|
|
1610
|
+
}], ctorParameters: function () {
|
|
1611
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1612
|
+
type: Optional
|
|
1613
|
+
}, {
|
|
1614
|
+
type: Inject,
|
|
1615
|
+
args: [BASE_PATH]
|
|
1616
|
+
}] }, { type: Configuration, decorators: [{
|
|
1617
|
+
type: Optional
|
|
1618
|
+
}] }];
|
|
1619
|
+
} });
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Intellibid API
|
|
1623
|
+
* API documentation for the Intellibid platform
|
|
1624
|
+
*
|
|
1625
|
+
* OpenAPI spec version: 1.0
|
|
1626
|
+
*
|
|
1627
|
+
*
|
|
1628
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1629
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1630
|
+
* Do not edit the class manually.
|
|
1631
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1632
|
+
class PackageDetailControllerService {
|
|
1633
|
+
constructor(httpClient, basePath, configuration) {
|
|
1634
|
+
this.httpClient = httpClient;
|
|
1635
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1636
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1637
|
+
this.configuration = new Configuration();
|
|
1638
|
+
if (basePath) {
|
|
1639
|
+
this.basePath = basePath;
|
|
1640
|
+
}
|
|
1641
|
+
if (configuration) {
|
|
1642
|
+
this.configuration = configuration;
|
|
1643
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
* @param consumes string[] mime-types
|
|
1648
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1649
|
+
*/
|
|
1650
|
+
canConsumeForm(consumes) {
|
|
1651
|
+
const form = 'multipart/form-data';
|
|
1652
|
+
for (const consume of consumes) {
|
|
1653
|
+
if (form === consume) {
|
|
1654
|
+
return true;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
return false;
|
|
1658
|
+
}
|
|
1659
|
+
getAllPackageDetails(id, name, isActive, page, size, sort, observe = 'body', reportProgress = false) {
|
|
1660
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1661
|
+
if (id !== undefined && id !== null) {
|
|
1662
|
+
queryParameters = queryParameters.set('id', id);
|
|
1416
1663
|
}
|
|
1417
|
-
if (
|
|
1418
|
-
queryParameters = queryParameters.set('
|
|
1664
|
+
if (name !== undefined && name !== null) {
|
|
1665
|
+
queryParameters = queryParameters.set('name', name);
|
|
1419
1666
|
}
|
|
1420
|
-
if (
|
|
1421
|
-
queryParameters = queryParameters.set('
|
|
1667
|
+
if (isActive !== undefined && isActive !== null) {
|
|
1668
|
+
queryParameters = queryParameters.set('isActive', isActive);
|
|
1422
1669
|
}
|
|
1423
|
-
if (
|
|
1424
|
-
queryParameters = queryParameters.set('
|
|
1670
|
+
if (page !== undefined && page !== null) {
|
|
1671
|
+
queryParameters = queryParameters.set('page', page);
|
|
1425
1672
|
}
|
|
1426
|
-
if (
|
|
1427
|
-
queryParameters = queryParameters.set('
|
|
1673
|
+
if (size !== undefined && size !== null) {
|
|
1674
|
+
queryParameters = queryParameters.set('size', size);
|
|
1428
1675
|
}
|
|
1429
|
-
if (
|
|
1430
|
-
|
|
1676
|
+
if (sort) {
|
|
1677
|
+
sort.forEach((element) => {
|
|
1678
|
+
queryParameters = queryParameters.append('sort', element);
|
|
1679
|
+
});
|
|
1431
1680
|
}
|
|
1432
|
-
|
|
1433
|
-
|
|
1681
|
+
let headers = this.defaultHeaders;
|
|
1682
|
+
// to determine the Accept header
|
|
1683
|
+
let httpHeaderAccepts = [
|
|
1684
|
+
'*/*'
|
|
1685
|
+
];
|
|
1686
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1687
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1688
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1434
1689
|
}
|
|
1435
|
-
|
|
1436
|
-
|
|
1690
|
+
// to determine the Content-Type header
|
|
1691
|
+
const consumes = [];
|
|
1692
|
+
return this.httpClient.request('get', `${this.basePath}/api/package`, {
|
|
1693
|
+
params: queryParameters,
|
|
1694
|
+
withCredentials: this.configuration.withCredentials,
|
|
1695
|
+
headers: headers,
|
|
1696
|
+
observe: observe,
|
|
1697
|
+
reportProgress: reportProgress
|
|
1698
|
+
});
|
|
1699
|
+
}
|
|
1700
|
+
getPackageDetail(id, observe = 'body', reportProgress = false) {
|
|
1701
|
+
if (id === null || id === undefined) {
|
|
1702
|
+
throw new Error('Required parameter id was null or undefined when calling getPackageDetail.');
|
|
1437
1703
|
}
|
|
1438
|
-
|
|
1439
|
-
|
|
1704
|
+
let headers = this.defaultHeaders;
|
|
1705
|
+
// to determine the Accept header
|
|
1706
|
+
let httpHeaderAccepts = [
|
|
1707
|
+
'*/*'
|
|
1708
|
+
];
|
|
1709
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1710
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1711
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1440
1712
|
}
|
|
1441
|
-
|
|
1442
|
-
|
|
1713
|
+
// to determine the Content-Type header
|
|
1714
|
+
const consumes = [];
|
|
1715
|
+
return this.httpClient.request('get', `${this.basePath}/api/package/${encodeURIComponent(String(id))}`, {
|
|
1716
|
+
withCredentials: this.configuration.withCredentials,
|
|
1717
|
+
headers: headers,
|
|
1718
|
+
observe: observe,
|
|
1719
|
+
reportProgress: reportProgress
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
PackageDetailControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1724
|
+
PackageDetailControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService });
|
|
1725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PackageDetailControllerService, decorators: [{
|
|
1726
|
+
type: Injectable
|
|
1727
|
+
}], ctorParameters: function () {
|
|
1728
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1729
|
+
type: Optional
|
|
1730
|
+
}, {
|
|
1731
|
+
type: Inject,
|
|
1732
|
+
args: [BASE_PATH]
|
|
1733
|
+
}] }, { type: Configuration, decorators: [{
|
|
1734
|
+
type: Optional
|
|
1735
|
+
}] }];
|
|
1736
|
+
} });
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* Intellibid API
|
|
1740
|
+
* API documentation for the Intellibid platform
|
|
1741
|
+
*
|
|
1742
|
+
* OpenAPI spec version: 1.0
|
|
1743
|
+
*
|
|
1744
|
+
*
|
|
1745
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1746
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1747
|
+
* Do not edit the class manually.
|
|
1748
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1749
|
+
class SourcePlatformMETAControllerService {
|
|
1750
|
+
constructor(httpClient, basePath, configuration) {
|
|
1751
|
+
this.httpClient = httpClient;
|
|
1752
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
1753
|
+
this.defaultHeaders = new HttpHeaders();
|
|
1754
|
+
this.configuration = new Configuration();
|
|
1755
|
+
if (basePath) {
|
|
1756
|
+
this.basePath = basePath;
|
|
1443
1757
|
}
|
|
1444
|
-
if (
|
|
1445
|
-
|
|
1758
|
+
if (configuration) {
|
|
1759
|
+
this.configuration = configuration;
|
|
1760
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
/**
|
|
1764
|
+
* @param consumes string[] mime-types
|
|
1765
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
1766
|
+
*/
|
|
1767
|
+
canConsumeForm(consumes) {
|
|
1768
|
+
const form = 'multipart/form-data';
|
|
1769
|
+
for (const consume of consumes) {
|
|
1770
|
+
if (form === consume) {
|
|
1771
|
+
return true;
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
return false;
|
|
1775
|
+
}
|
|
1776
|
+
deleteAdImage(adAccountId, hash, observe = 'body', reportProgress = false) {
|
|
1777
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1778
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdImage.');
|
|
1779
|
+
}
|
|
1780
|
+
if (hash === null || hash === undefined) {
|
|
1781
|
+
throw new Error('Required parameter hash was null or undefined when calling deleteAdImage.');
|
|
1782
|
+
}
|
|
1783
|
+
let headers = this.defaultHeaders;
|
|
1784
|
+
// to determine the Accept header
|
|
1785
|
+
let httpHeaderAccepts = [];
|
|
1786
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1787
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1788
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1789
|
+
}
|
|
1790
|
+
// to determine the Content-Type header
|
|
1791
|
+
const consumes = [];
|
|
1792
|
+
return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-image/${encodeURIComponent(String(hash))}/delete`, {
|
|
1793
|
+
withCredentials: this.configuration.withCredentials,
|
|
1794
|
+
headers: headers,
|
|
1795
|
+
observe: observe,
|
|
1796
|
+
reportProgress: reportProgress
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
deleteAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
1800
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1801
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling deleteAdVideo.');
|
|
1802
|
+
}
|
|
1803
|
+
if (videoId === null || videoId === undefined) {
|
|
1804
|
+
throw new Error('Required parameter videoId was null or undefined when calling deleteAdVideo.');
|
|
1805
|
+
}
|
|
1806
|
+
let headers = this.defaultHeaders;
|
|
1807
|
+
// to determine the Accept header
|
|
1808
|
+
let httpHeaderAccepts = [];
|
|
1809
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1810
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1811
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1812
|
+
}
|
|
1813
|
+
// to determine the Content-Type header
|
|
1814
|
+
const consumes = [];
|
|
1815
|
+
return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}/delete`, {
|
|
1816
|
+
withCredentials: this.configuration.withCredentials,
|
|
1817
|
+
headers: headers,
|
|
1818
|
+
observe: observe,
|
|
1819
|
+
reportProgress: reportProgress
|
|
1820
|
+
});
|
|
1821
|
+
}
|
|
1822
|
+
getAdVideo(adAccountId, videoId, observe = 'body', reportProgress = false) {
|
|
1823
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1824
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAdVideo.');
|
|
1825
|
+
}
|
|
1826
|
+
if (videoId === null || videoId === undefined) {
|
|
1827
|
+
throw new Error('Required parameter videoId was null or undefined when calling getAdVideo.');
|
|
1828
|
+
}
|
|
1829
|
+
let headers = this.defaultHeaders;
|
|
1830
|
+
// to determine the Accept header
|
|
1831
|
+
let httpHeaderAccepts = [
|
|
1832
|
+
'*/*'
|
|
1833
|
+
];
|
|
1834
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1835
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1836
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1837
|
+
}
|
|
1838
|
+
// to determine the Content-Type header
|
|
1839
|
+
const consumes = [];
|
|
1840
|
+
return this.httpClient.request('get', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video/${encodeURIComponent(String(videoId))}`, {
|
|
1841
|
+
withCredentials: this.configuration.withCredentials,
|
|
1842
|
+
headers: headers,
|
|
1843
|
+
observe: observe,
|
|
1844
|
+
reportProgress: reportProgress
|
|
1845
|
+
});
|
|
1846
|
+
}
|
|
1847
|
+
getAllAdImages(adAccountId, hashes, observe = 'body', reportProgress = false) {
|
|
1848
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1849
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImages.');
|
|
1850
|
+
}
|
|
1851
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1852
|
+
if (hashes) {
|
|
1853
|
+
hashes.forEach((element) => {
|
|
1854
|
+
queryParameters = queryParameters.append('hashes', element);
|
|
1855
|
+
});
|
|
1856
|
+
}
|
|
1857
|
+
let headers = this.defaultHeaders;
|
|
1858
|
+
// to determine the Accept header
|
|
1859
|
+
let httpHeaderAccepts = [
|
|
1860
|
+
'*/*'
|
|
1861
|
+
];
|
|
1862
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1863
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1864
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1865
|
+
}
|
|
1866
|
+
// to determine the Content-Type header
|
|
1867
|
+
const consumes = [];
|
|
1868
|
+
return this.httpClient.request('get', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
1869
|
+
params: queryParameters,
|
|
1870
|
+
withCredentials: this.configuration.withCredentials,
|
|
1871
|
+
headers: headers,
|
|
1872
|
+
observe: observe,
|
|
1873
|
+
reportProgress: reportProgress
|
|
1874
|
+
});
|
|
1875
|
+
}
|
|
1876
|
+
getAllAdVideos(adAccountId, videoIds, observe = 'body', reportProgress = false) {
|
|
1877
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1878
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideos.');
|
|
1879
|
+
}
|
|
1880
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1881
|
+
if (videoIds) {
|
|
1882
|
+
videoIds.forEach((element) => {
|
|
1883
|
+
queryParameters = queryParameters.append('videoIds', element);
|
|
1884
|
+
});
|
|
1885
|
+
}
|
|
1886
|
+
let headers = this.defaultHeaders;
|
|
1887
|
+
// to determine the Accept header
|
|
1888
|
+
let httpHeaderAccepts = [
|
|
1889
|
+
'*/*'
|
|
1890
|
+
];
|
|
1891
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1892
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1893
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1894
|
+
}
|
|
1895
|
+
// to determine the Content-Type header
|
|
1896
|
+
const consumes = [];
|
|
1897
|
+
return this.httpClient.request('get', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
1898
|
+
params: queryParameters,
|
|
1899
|
+
withCredentials: this.configuration.withCredentials,
|
|
1900
|
+
headers: headers,
|
|
1901
|
+
observe: observe,
|
|
1902
|
+
reportProgress: reportProgress
|
|
1903
|
+
});
|
|
1904
|
+
}
|
|
1905
|
+
uploadAdImages1(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
1906
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1907
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages1.');
|
|
1446
1908
|
}
|
|
1447
|
-
if (
|
|
1448
|
-
|
|
1909
|
+
if (files === null || files === undefined) {
|
|
1910
|
+
throw new Error('Required parameter files was null or undefined when calling uploadAdImages1.');
|
|
1449
1911
|
}
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1912
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1913
|
+
if (files) {
|
|
1914
|
+
files.forEach((element) => {
|
|
1915
|
+
queryParameters = queryParameters.append('files', element);
|
|
1453
1916
|
});
|
|
1454
1917
|
}
|
|
1455
1918
|
let headers = this.defaultHeaders;
|
|
@@ -1463,7 +1926,7 @@ class FacebookEngagementControllerService {
|
|
|
1463
1926
|
}
|
|
1464
1927
|
// to determine the Content-Type header
|
|
1465
1928
|
const consumes = [];
|
|
1466
|
-
return this.httpClient.request('
|
|
1929
|
+
return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
1467
1930
|
params: queryParameters,
|
|
1468
1931
|
withCredentials: this.configuration.withCredentials,
|
|
1469
1932
|
headers: headers,
|
|
@@ -1471,9 +1934,18 @@ class FacebookEngagementControllerService {
|
|
|
1471
1934
|
reportProgress: reportProgress
|
|
1472
1935
|
});
|
|
1473
1936
|
}
|
|
1474
|
-
|
|
1475
|
-
if (
|
|
1476
|
-
throw new Error('Required parameter
|
|
1937
|
+
uploadAdVideos1(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
1938
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
1939
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos1.');
|
|
1940
|
+
}
|
|
1941
|
+
if (files === null || files === undefined) {
|
|
1942
|
+
throw new Error('Required parameter files was null or undefined when calling uploadAdVideos1.');
|
|
1943
|
+
}
|
|
1944
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1945
|
+
if (files) {
|
|
1946
|
+
files.forEach((element) => {
|
|
1947
|
+
queryParameters = queryParameters.append('files', element);
|
|
1948
|
+
});
|
|
1477
1949
|
}
|
|
1478
1950
|
let headers = this.defaultHeaders;
|
|
1479
1951
|
// to determine the Accept header
|
|
@@ -1486,7 +1958,8 @@ class FacebookEngagementControllerService {
|
|
|
1486
1958
|
}
|
|
1487
1959
|
// to determine the Content-Type header
|
|
1488
1960
|
const consumes = [];
|
|
1489
|
-
return this.httpClient.request('
|
|
1961
|
+
return this.httpClient.request('post', `${this.basePath}/api/meta/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
1962
|
+
params: queryParameters,
|
|
1490
1963
|
withCredentials: this.configuration.withCredentials,
|
|
1491
1964
|
headers: headers,
|
|
1492
1965
|
observe: observe,
|
|
@@ -1494,9 +1967,9 @@ class FacebookEngagementControllerService {
|
|
|
1494
1967
|
});
|
|
1495
1968
|
}
|
|
1496
1969
|
}
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
1970
|
+
SourcePlatformMETAControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETAControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1971
|
+
SourcePlatformMETAControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETAControllerService });
|
|
1972
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETAControllerService, decorators: [{
|
|
1500
1973
|
type: Injectable
|
|
1501
1974
|
}], ctorParameters: function () {
|
|
1502
1975
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -1510,17 +1983,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1510
1983
|
} });
|
|
1511
1984
|
|
|
1512
1985
|
/**
|
|
1986
|
+
* Intellibid API
|
|
1987
|
+
* API documentation for the Intellibid platform
|
|
1513
1988
|
*
|
|
1514
|
-
*
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1989
|
+
* OpenAPI spec version: 1.0
|
|
1517
1990
|
*
|
|
1518
1991
|
*
|
|
1519
1992
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1520
1993
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
1521
1994
|
* Do not edit the class manually.
|
|
1522
1995
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1523
|
-
class
|
|
1996
|
+
class SourcePlatformMETADictionaryControllerService {
|
|
1524
1997
|
constructor(httpClient, basePath, configuration) {
|
|
1525
1998
|
this.httpClient = httpClient;
|
|
1526
1999
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -1547,13 +2020,7 @@ class MobileAppDetailControllerService {
|
|
|
1547
2020
|
}
|
|
1548
2021
|
return false;
|
|
1549
2022
|
}
|
|
1550
|
-
|
|
1551
|
-
if (body === null || body === undefined) {
|
|
1552
|
-
throw new Error('Required parameter body was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1553
|
-
}
|
|
1554
|
-
if (id === null || id === undefined) {
|
|
1555
|
-
throw new Error('Required parameter id was null or undefined when calling createOrUpdateMobileAppDetail.');
|
|
1556
|
-
}
|
|
2023
|
+
getAllMETACountries(observe = 'body', reportProgress = false) {
|
|
1557
2024
|
let headers = this.defaultHeaders;
|
|
1558
2025
|
// to determine the Accept header
|
|
1559
2026
|
let httpHeaderAccepts = [
|
|
@@ -1564,65 +2031,111 @@ class MobileAppDetailControllerService {
|
|
|
1564
2031
|
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1565
2032
|
}
|
|
1566
2033
|
// to determine the Content-Type header
|
|
1567
|
-
const consumes = [
|
|
1568
|
-
|
|
1569
|
-
];
|
|
1570
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1571
|
-
if (httpContentTypeSelected != undefined) {
|
|
1572
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1573
|
-
}
|
|
1574
|
-
return this.httpClient.request('post', `${this.basePath}/api/mobile-app/${encodeURIComponent(String(id))}`, {
|
|
1575
|
-
body: body,
|
|
2034
|
+
const consumes = [];
|
|
2035
|
+
return this.httpClient.request('get', `${this.basePath}/api/meta/dictionary/country`, {
|
|
1576
2036
|
withCredentials: this.configuration.withCredentials,
|
|
1577
2037
|
headers: headers,
|
|
1578
2038
|
observe: observe,
|
|
1579
2039
|
reportProgress: reportProgress
|
|
1580
2040
|
});
|
|
1581
2041
|
}
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
2042
|
+
}
|
|
2043
|
+
SourcePlatformMETADictionaryControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETADictionaryControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2044
|
+
SourcePlatformMETADictionaryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETADictionaryControllerService });
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformMETADictionaryControllerService, decorators: [{
|
|
2046
|
+
type: Injectable
|
|
2047
|
+
}], ctorParameters: function () {
|
|
2048
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2049
|
+
type: Optional
|
|
2050
|
+
}, {
|
|
2051
|
+
type: Inject,
|
|
2052
|
+
args: [BASE_PATH]
|
|
2053
|
+
}] }, { type: Configuration, decorators: [{
|
|
2054
|
+
type: Optional
|
|
2055
|
+
}] }];
|
|
2056
|
+
} });
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* Intellibid API
|
|
2060
|
+
* API documentation for the Intellibid platform
|
|
2061
|
+
*
|
|
2062
|
+
* OpenAPI spec version: 1.0
|
|
2063
|
+
*
|
|
2064
|
+
*
|
|
2065
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2066
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
2067
|
+
* Do not edit the class manually.
|
|
2068
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
2069
|
+
class SourcePlatformTIKTOKControllerService {
|
|
2070
|
+
constructor(httpClient, basePath, configuration) {
|
|
2071
|
+
this.httpClient = httpClient;
|
|
2072
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
2073
|
+
this.defaultHeaders = new HttpHeaders();
|
|
2074
|
+
this.configuration = new Configuration();
|
|
2075
|
+
if (basePath) {
|
|
2076
|
+
this.basePath = basePath;
|
|
1598
2077
|
}
|
|
1599
|
-
if (
|
|
1600
|
-
|
|
2078
|
+
if (configuration) {
|
|
2079
|
+
this.configuration = configuration;
|
|
2080
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
1601
2081
|
}
|
|
1602
|
-
|
|
1603
|
-
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* @param consumes string[] mime-types
|
|
2085
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
2086
|
+
*/
|
|
2087
|
+
canConsumeForm(consumes) {
|
|
2088
|
+
const form = 'multipart/form-data';
|
|
2089
|
+
for (const consume of consumes) {
|
|
2090
|
+
if (form === consume) {
|
|
2091
|
+
return true;
|
|
2092
|
+
}
|
|
1604
2093
|
}
|
|
1605
|
-
|
|
1606
|
-
|
|
2094
|
+
return false;
|
|
2095
|
+
}
|
|
2096
|
+
getAllAdImagesInfo(adAccountId, imageIds, observe = 'body', reportProgress = false) {
|
|
2097
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
2098
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdImagesInfo.');
|
|
1607
2099
|
}
|
|
1608
|
-
if (
|
|
1609
|
-
|
|
2100
|
+
if (imageIds === null || imageIds === undefined) {
|
|
2101
|
+
throw new Error('Required parameter imageIds was null or undefined when calling getAllAdImagesInfo.');
|
|
1610
2102
|
}
|
|
1611
|
-
|
|
1612
|
-
|
|
2103
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
2104
|
+
if (imageIds) {
|
|
2105
|
+
imageIds.forEach((element) => {
|
|
2106
|
+
queryParameters = queryParameters.append('imageIds', element);
|
|
2107
|
+
});
|
|
1613
2108
|
}
|
|
1614
|
-
|
|
1615
|
-
|
|
2109
|
+
let headers = this.defaultHeaders;
|
|
2110
|
+
// to determine the Accept header
|
|
2111
|
+
let httpHeaderAccepts = [
|
|
2112
|
+
'*/*'
|
|
2113
|
+
];
|
|
2114
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2115
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2116
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1616
2117
|
}
|
|
1617
|
-
|
|
1618
|
-
|
|
2118
|
+
// to determine the Content-Type header
|
|
2119
|
+
const consumes = [];
|
|
2120
|
+
return this.httpClient.request('get', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
2121
|
+
params: queryParameters,
|
|
2122
|
+
withCredentials: this.configuration.withCredentials,
|
|
2123
|
+
headers: headers,
|
|
2124
|
+
observe: observe,
|
|
2125
|
+
reportProgress: reportProgress
|
|
2126
|
+
});
|
|
2127
|
+
}
|
|
2128
|
+
uploadAdImages(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
2129
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
2130
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages.');
|
|
1619
2131
|
}
|
|
1620
|
-
if (
|
|
1621
|
-
|
|
2132
|
+
if (files === null || files === undefined) {
|
|
2133
|
+
throw new Error('Required parameter files was null or undefined when calling uploadAdImages.');
|
|
1622
2134
|
}
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
2135
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
2136
|
+
if (files) {
|
|
2137
|
+
files.forEach((element) => {
|
|
2138
|
+
queryParameters = queryParameters.append('files', element);
|
|
1626
2139
|
});
|
|
1627
2140
|
}
|
|
1628
2141
|
let headers = this.defaultHeaders;
|
|
@@ -1636,7 +2149,7 @@ class MobileAppDetailControllerService {
|
|
|
1636
2149
|
}
|
|
1637
2150
|
// to determine the Content-Type header
|
|
1638
2151
|
const consumes = [];
|
|
1639
|
-
return this.httpClient.request('
|
|
2152
|
+
return this.httpClient.request('post', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-image`, {
|
|
1640
2153
|
params: queryParameters,
|
|
1641
2154
|
withCredentials: this.configuration.withCredentials,
|
|
1642
2155
|
headers: headers,
|
|
@@ -1644,9 +2157,18 @@ class MobileAppDetailControllerService {
|
|
|
1644
2157
|
reportProgress: reportProgress
|
|
1645
2158
|
});
|
|
1646
2159
|
}
|
|
1647
|
-
|
|
1648
|
-
if (
|
|
1649
|
-
throw new Error('Required parameter
|
|
2160
|
+
uploadAdVideos(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
2161
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
2162
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdVideos.');
|
|
2163
|
+
}
|
|
2164
|
+
if (files === null || files === undefined) {
|
|
2165
|
+
throw new Error('Required parameter files was null or undefined when calling uploadAdVideos.');
|
|
2166
|
+
}
|
|
2167
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
2168
|
+
if (files) {
|
|
2169
|
+
files.forEach((element) => {
|
|
2170
|
+
queryParameters = queryParameters.append('files', element);
|
|
2171
|
+
});
|
|
1650
2172
|
}
|
|
1651
2173
|
let headers = this.defaultHeaders;
|
|
1652
2174
|
// to determine the Accept header
|
|
@@ -1659,7 +2181,8 @@ class MobileAppDetailControllerService {
|
|
|
1659
2181
|
}
|
|
1660
2182
|
// to determine the Content-Type header
|
|
1661
2183
|
const consumes = [];
|
|
1662
|
-
return this.httpClient.request('
|
|
2184
|
+
return this.httpClient.request('post', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
2185
|
+
params: queryParameters,
|
|
1663
2186
|
withCredentials: this.configuration.withCredentials,
|
|
1664
2187
|
headers: headers,
|
|
1665
2188
|
observe: observe,
|
|
@@ -1667,9 +2190,9 @@ class MobileAppDetailControllerService {
|
|
|
1667
2190
|
});
|
|
1668
2191
|
}
|
|
1669
2192
|
}
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
2193
|
+
SourcePlatformTIKTOKControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2194
|
+
SourcePlatformTIKTOKControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKControllerService });
|
|
2195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKControllerService, decorators: [{
|
|
1673
2196
|
type: Injectable
|
|
1674
2197
|
}], ctorParameters: function () {
|
|
1675
2198
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -1683,17 +2206,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1683
2206
|
} });
|
|
1684
2207
|
|
|
1685
2208
|
/**
|
|
2209
|
+
* Intellibid API
|
|
2210
|
+
* API documentation for the Intellibid platform
|
|
1686
2211
|
*
|
|
1687
|
-
*
|
|
1688
|
-
*
|
|
1689
|
-
*
|
|
2212
|
+
* OpenAPI spec version: 1.0
|
|
1690
2213
|
*
|
|
1691
2214
|
*
|
|
1692
2215
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1693
2216
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
1694
2217
|
* Do not edit the class manually.
|
|
1695
2218
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
1696
|
-
class
|
|
2219
|
+
class SourcePlatformTIKTOKDictionaryControllerService {
|
|
1697
2220
|
constructor(httpClient, basePath, configuration) {
|
|
1698
2221
|
this.httpClient = httpClient;
|
|
1699
2222
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -1720,51 +2243,7 @@ class PackageDetailControllerService {
|
|
|
1720
2243
|
}
|
|
1721
2244
|
return false;
|
|
1722
2245
|
}
|
|
1723
|
-
|
|
1724
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1725
|
-
if (id !== undefined && id !== null) {
|
|
1726
|
-
queryParameters = queryParameters.set('id', id);
|
|
1727
|
-
}
|
|
1728
|
-
if (name !== undefined && name !== null) {
|
|
1729
|
-
queryParameters = queryParameters.set('name', name);
|
|
1730
|
-
}
|
|
1731
|
-
if (isActive !== undefined && isActive !== null) {
|
|
1732
|
-
queryParameters = queryParameters.set('isActive', isActive);
|
|
1733
|
-
}
|
|
1734
|
-
if (page !== undefined && page !== null) {
|
|
1735
|
-
queryParameters = queryParameters.set('page', page);
|
|
1736
|
-
}
|
|
1737
|
-
if (size !== undefined && size !== null) {
|
|
1738
|
-
queryParameters = queryParameters.set('size', size);
|
|
1739
|
-
}
|
|
1740
|
-
if (sort) {
|
|
1741
|
-
sort.forEach((element) => {
|
|
1742
|
-
queryParameters = queryParameters.append('sort', element);
|
|
1743
|
-
});
|
|
1744
|
-
}
|
|
1745
|
-
let headers = this.defaultHeaders;
|
|
1746
|
-
// to determine the Accept header
|
|
1747
|
-
let httpHeaderAccepts = [
|
|
1748
|
-
'*/*'
|
|
1749
|
-
];
|
|
1750
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1751
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
1752
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1753
|
-
}
|
|
1754
|
-
// to determine the Content-Type header
|
|
1755
|
-
const consumes = [];
|
|
1756
|
-
return this.httpClient.request('get', `${this.basePath}/api/package`, {
|
|
1757
|
-
params: queryParameters,
|
|
1758
|
-
withCredentials: this.configuration.withCredentials,
|
|
1759
|
-
headers: headers,
|
|
1760
|
-
observe: observe,
|
|
1761
|
-
reportProgress: reportProgress
|
|
1762
|
-
});
|
|
1763
|
-
}
|
|
1764
|
-
getPackageDetail(id, observe = 'body', reportProgress = false) {
|
|
1765
|
-
if (id === null || id === undefined) {
|
|
1766
|
-
throw new Error('Required parameter id was null or undefined when calling getPackageDetail.');
|
|
1767
|
-
}
|
|
2246
|
+
getAllTiktokCountries(observe = 'body', reportProgress = false) {
|
|
1768
2247
|
let headers = this.defaultHeaders;
|
|
1769
2248
|
// to determine the Accept header
|
|
1770
2249
|
let httpHeaderAccepts = [
|
|
@@ -1776,7 +2255,7 @@ class PackageDetailControllerService {
|
|
|
1776
2255
|
}
|
|
1777
2256
|
// to determine the Content-Type header
|
|
1778
2257
|
const consumes = [];
|
|
1779
|
-
return this.httpClient.request('get', `${this.basePath}/api/
|
|
2258
|
+
return this.httpClient.request('get', `${this.basePath}/api/tiktok/dictionary/country`, {
|
|
1780
2259
|
withCredentials: this.configuration.withCredentials,
|
|
1781
2260
|
headers: headers,
|
|
1782
2261
|
observe: observe,
|
|
@@ -1784,9 +2263,9 @@ class PackageDetailControllerService {
|
|
|
1784
2263
|
});
|
|
1785
2264
|
}
|
|
1786
2265
|
}
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
2266
|
+
SourcePlatformTIKTOKDictionaryControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKDictionaryControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2267
|
+
SourcePlatformTIKTOKDictionaryControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKDictionaryControllerService });
|
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourcePlatformTIKTOKDictionaryControllerService, decorators: [{
|
|
1790
2269
|
type: Injectable
|
|
1791
2270
|
}], ctorParameters: function () {
|
|
1792
2271
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -1799,13 +2278,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1799
2278
|
}] }];
|
|
1800
2279
|
} });
|
|
1801
2280
|
|
|
1802
|
-
const APIS = [
|
|
2281
|
+
const APIS = [AdvertiserControllerService, BusinessGeoControllerService, CampaignInsightsControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService];
|
|
1803
2282
|
|
|
1804
2283
|
/**
|
|
2284
|
+
* Intellibid API
|
|
2285
|
+
* API documentation for the Intellibid platform
|
|
1805
2286
|
*
|
|
1806
|
-
*
|
|
1807
|
-
*
|
|
1808
|
-
*
|
|
2287
|
+
* OpenAPI spec version: 1.0
|
|
1809
2288
|
*
|
|
1810
2289
|
*
|
|
1811
2290
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -1822,10 +2301,10 @@ var AdImageResponse;
|
|
|
1822
2301
|
})(AdImageResponse || (AdImageResponse = {}));
|
|
1823
2302
|
|
|
1824
2303
|
/**
|
|
2304
|
+
* Intellibid API
|
|
2305
|
+
* API documentation for the Intellibid platform
|
|
1825
2306
|
*
|
|
1826
|
-
*
|
|
1827
|
-
*
|
|
1828
|
-
*
|
|
2307
|
+
* OpenAPI spec version: 1.0
|
|
1829
2308
|
*
|
|
1830
2309
|
*
|
|
1831
2310
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -1842,10 +2321,10 @@ var AdSetDetails;
|
|
|
1842
2321
|
})(AdSetDetails || (AdSetDetails = {}));
|
|
1843
2322
|
|
|
1844
2323
|
/**
|
|
2324
|
+
* Intellibid API
|
|
2325
|
+
* API documentation for the Intellibid platform
|
|
1845
2326
|
*
|
|
1846
|
-
*
|
|
1847
|
-
*
|
|
1848
|
-
*
|
|
2327
|
+
* OpenAPI spec version: 1.0
|
|
1849
2328
|
*
|
|
1850
2329
|
*
|
|
1851
2330
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -1886,10 +2365,10 @@ var DpaCampaignResponse;
|
|
|
1886
2365
|
})(DpaCampaignResponse || (DpaCampaignResponse = {}));
|
|
1887
2366
|
|
|
1888
2367
|
/**
|
|
2368
|
+
* Intellibid API
|
|
2369
|
+
* API documentation for the Intellibid platform
|
|
1889
2370
|
*
|
|
1890
|
-
*
|
|
1891
|
-
*
|
|
1892
|
-
*
|
|
2371
|
+
* OpenAPI spec version: 1.0
|
|
1893
2372
|
*
|
|
1894
2373
|
*
|
|
1895
2374
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -1910,8 +2389,24 @@ var DpaEngagementChangeLogResponse;
|
|
|
1910
2389
|
};
|
|
1911
2390
|
})(DpaEngagementChangeLogResponse || (DpaEngagementChangeLogResponse = {}));
|
|
1912
2391
|
|
|
2392
|
+
var DpaEngagementRequest;
|
|
2393
|
+
(function (DpaEngagementRequest) {
|
|
2394
|
+
DpaEngagementRequest.SourcePlatformEnum = {
|
|
2395
|
+
META: 'META',
|
|
2396
|
+
GOOGLE: 'GOOGLE',
|
|
2397
|
+
TIKTOK: 'TIKTOK',
|
|
2398
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
2399
|
+
};
|
|
2400
|
+
})(DpaEngagementRequest || (DpaEngagementRequest = {}));
|
|
2401
|
+
|
|
1913
2402
|
var DpaEngagementResponse;
|
|
1914
2403
|
(function (DpaEngagementResponse) {
|
|
2404
|
+
DpaEngagementResponse.SourcePlatformEnum = {
|
|
2405
|
+
META: 'META',
|
|
2406
|
+
GOOGLE: 'GOOGLE',
|
|
2407
|
+
TIKTOK: 'TIKTOK',
|
|
2408
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
2409
|
+
};
|
|
1915
2410
|
DpaEngagementResponse.RunByEnum = {
|
|
1916
2411
|
CLIENT: 'CLIENT',
|
|
1917
2412
|
VIZURY: 'VIZURY'
|
|
@@ -1944,10 +2439,10 @@ var DpaEngagementResponse;
|
|
|
1944
2439
|
})(DpaEngagementResponse || (DpaEngagementResponse = {}));
|
|
1945
2440
|
|
|
1946
2441
|
/**
|
|
2442
|
+
* Intellibid API
|
|
2443
|
+
* API documentation for the Intellibid platform
|
|
1947
2444
|
*
|
|
1948
|
-
*
|
|
1949
|
-
*
|
|
1950
|
-
*
|
|
2445
|
+
* OpenAPI spec version: 1.0
|
|
1951
2446
|
*
|
|
1952
2447
|
*
|
|
1953
2448
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -1984,17 +2479,20 @@ class ApiModule {
|
|
|
1984
2479
|
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 });
|
|
1985
2480
|
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1986
2481
|
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1987
|
-
|
|
1988
|
-
AdVideoControllerService,
|
|
2482
|
+
AdvertiserControllerService,
|
|
1989
2483
|
BusinessGeoControllerService,
|
|
1990
|
-
CampaignControllerService,
|
|
1991
2484
|
CampaignInsightsControllerService,
|
|
1992
|
-
CountryControllerService,
|
|
1993
2485
|
DpaCampaignControllerService,
|
|
1994
2486
|
DpaEngagementControllerService,
|
|
2487
|
+
FacebookAdImageControllerService,
|
|
2488
|
+
FacebookAdVideoControllerService,
|
|
1995
2489
|
FacebookEngagementControllerService,
|
|
1996
2490
|
MobileAppDetailControllerService,
|
|
1997
|
-
PackageDetailControllerService
|
|
2491
|
+
PackageDetailControllerService,
|
|
2492
|
+
SourcePlatformMETAControllerService,
|
|
2493
|
+
SourcePlatformMETADictionaryControllerService,
|
|
2494
|
+
SourcePlatformTIKTOKControllerService,
|
|
2495
|
+
SourcePlatformTIKTOKDictionaryControllerService
|
|
1998
2496
|
] });
|
|
1999
2497
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
2000
2498
|
type: NgModule,
|
|
@@ -2003,17 +2501,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2003
2501
|
declarations: [],
|
|
2004
2502
|
exports: [],
|
|
2005
2503
|
providers: [
|
|
2006
|
-
|
|
2007
|
-
AdVideoControllerService,
|
|
2504
|
+
AdvertiserControllerService,
|
|
2008
2505
|
BusinessGeoControllerService,
|
|
2009
|
-
CampaignControllerService,
|
|
2010
2506
|
CampaignInsightsControllerService,
|
|
2011
|
-
CountryControllerService,
|
|
2012
2507
|
DpaCampaignControllerService,
|
|
2013
2508
|
DpaEngagementControllerService,
|
|
2509
|
+
FacebookAdImageControllerService,
|
|
2510
|
+
FacebookAdVideoControllerService,
|
|
2014
2511
|
FacebookEngagementControllerService,
|
|
2015
2512
|
MobileAppDetailControllerService,
|
|
2016
|
-
PackageDetailControllerService
|
|
2513
|
+
PackageDetailControllerService,
|
|
2514
|
+
SourcePlatformMETAControllerService,
|
|
2515
|
+
SourcePlatformMETADictionaryControllerService,
|
|
2516
|
+
SourcePlatformTIKTOKControllerService,
|
|
2517
|
+
SourcePlatformTIKTOKDictionaryControllerService
|
|
2017
2518
|
]
|
|
2018
2519
|
}]
|
|
2019
2520
|
}], ctorParameters: function () {
|
|
@@ -2030,5 +2531,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2030
2531
|
* Generated bundle index. Do not edit.
|
|
2031
2532
|
*/
|
|
2032
2533
|
|
|
2033
|
-
export { APIS,
|
|
2534
|
+
export { APIS, AdImageResponse, AdSetDetails, AdvertiserControllerService, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignInsightsControllerService, CampaignResponse, Configuration, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementChangeLogResponse, DpaEngagementControllerService, DpaEngagementRequest, DpaEngagementResponse, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, FacebookEngagementResponse, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService };
|
|
2034
2535
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|