@revxui/intellibid-client-ts 1.0.56 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/api.d.ts +3 -1
- package/api/audienceController.service.d.ts +63 -0
- package/esm2020/api/api.mjs +4 -2
- package/esm2020/api/audienceController.service.mjs +174 -0
- package/esm2020/api.module.mjs +4 -1
- package/esm2020/model/audienceListResponse.mjs +2 -0
- package/esm2020/model/audienceResponseDTO.mjs +2 -0
- package/esm2020/model/configItemDTO.mjs +13 -0
- package/esm2020/model/createBlockedAudienceRequest.mjs +21 -0
- package/esm2020/model/createDynamicAudienceRequest.mjs +21 -0
- package/esm2020/model/createStaticAudienceRequest.mjs +21 -0
- package/esm2020/model/models.mjs +7 -1
- package/esm2020/model/pageableObject.mjs +1 -1
- package/fesm2015/revxui-intellibid-client-ts.mjs +235 -2
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +245 -2
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/audienceListResponse.d.ts +15 -0
- package/model/audienceResponseDTO.d.ts +20 -0
- package/model/configItemDTO.d.ts +15 -0
- package/model/createBlockedAudienceRequest.d.ts +24 -0
- package/model/createDynamicAudienceRequest.d.ts +26 -0
- package/model/createStaticAudienceRequest.d.ts +24 -0
- package/model/models.d.ts +6 -0
- package/model/pageableObject.d.ts +1 -1
- package/package.json +1 -1
|
@@ -249,6 +249,174 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
249
249
|
}] }];
|
|
250
250
|
} });
|
|
251
251
|
|
|
252
|
+
/**
|
|
253
|
+
* Intellibid API
|
|
254
|
+
* API documentation for the Intellibid platform
|
|
255
|
+
*
|
|
256
|
+
* OpenAPI spec version: 1.0
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
260
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
261
|
+
* Do not edit the class manually.
|
|
262
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
263
|
+
class AudienceControllerService {
|
|
264
|
+
constructor(httpClient, basePath, configuration) {
|
|
265
|
+
this.httpClient = httpClient;
|
|
266
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
267
|
+
this.defaultHeaders = new HttpHeaders();
|
|
268
|
+
this.configuration = new Configuration();
|
|
269
|
+
if (basePath) {
|
|
270
|
+
this.basePath = basePath;
|
|
271
|
+
}
|
|
272
|
+
if (configuration) {
|
|
273
|
+
this.configuration = configuration;
|
|
274
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* @param consumes string[] mime-types
|
|
279
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
280
|
+
*/
|
|
281
|
+
canConsumeForm(consumes) {
|
|
282
|
+
const form = 'multipart/form-data';
|
|
283
|
+
for (const consume of consumes) {
|
|
284
|
+
if (form === consume) {
|
|
285
|
+
return true;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return false;
|
|
289
|
+
}
|
|
290
|
+
createBlockedAudience(body, observe = 'body', reportProgress = false) {
|
|
291
|
+
if (body === null || body === undefined) {
|
|
292
|
+
throw new Error('Required parameter body was null or undefined when calling createBlockedAudience.');
|
|
293
|
+
}
|
|
294
|
+
let headers = this.defaultHeaders;
|
|
295
|
+
// to determine the Accept header
|
|
296
|
+
let httpHeaderAccepts = [];
|
|
297
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
298
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
299
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
300
|
+
}
|
|
301
|
+
// to determine the Content-Type header
|
|
302
|
+
const consumes = [
|
|
303
|
+
'application/json'
|
|
304
|
+
];
|
|
305
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
306
|
+
if (httpContentTypeSelected != undefined) {
|
|
307
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
308
|
+
}
|
|
309
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/blocked`, {
|
|
310
|
+
body: body,
|
|
311
|
+
withCredentials: this.configuration.withCredentials,
|
|
312
|
+
headers: headers,
|
|
313
|
+
observe: observe,
|
|
314
|
+
reportProgress: reportProgress
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
createDynamicAudiences(body, observe = 'body', reportProgress = false) {
|
|
318
|
+
if (body === null || body === undefined) {
|
|
319
|
+
throw new Error('Required parameter body was null or undefined when calling createDynamicAudiences.');
|
|
320
|
+
}
|
|
321
|
+
let headers = this.defaultHeaders;
|
|
322
|
+
// to determine the Accept header
|
|
323
|
+
let httpHeaderAccepts = [];
|
|
324
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
325
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
326
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
327
|
+
}
|
|
328
|
+
// to determine the Content-Type header
|
|
329
|
+
const consumes = [
|
|
330
|
+
'application/json'
|
|
331
|
+
];
|
|
332
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
333
|
+
if (httpContentTypeSelected != undefined) {
|
|
334
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
335
|
+
}
|
|
336
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/product-set`, {
|
|
337
|
+
body: body,
|
|
338
|
+
withCredentials: this.configuration.withCredentials,
|
|
339
|
+
headers: headers,
|
|
340
|
+
observe: observe,
|
|
341
|
+
reportProgress: reportProgress
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
createStaticAudiences(body, observe = 'body', reportProgress = false) {
|
|
345
|
+
if (body === null || body === undefined) {
|
|
346
|
+
throw new Error('Required parameter body was null or undefined when calling createStaticAudiences.');
|
|
347
|
+
}
|
|
348
|
+
let headers = this.defaultHeaders;
|
|
349
|
+
// to determine the Accept header
|
|
350
|
+
let httpHeaderAccepts = [];
|
|
351
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
352
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
353
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
354
|
+
}
|
|
355
|
+
// to determine the Content-Type header
|
|
356
|
+
const consumes = [
|
|
357
|
+
'application/json'
|
|
358
|
+
];
|
|
359
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
360
|
+
if (httpContentTypeSelected != undefined) {
|
|
361
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
362
|
+
}
|
|
363
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/static`, {
|
|
364
|
+
body: body,
|
|
365
|
+
withCredentials: this.configuration.withCredentials,
|
|
366
|
+
headers: headers,
|
|
367
|
+
observe: observe,
|
|
368
|
+
reportProgress: reportProgress
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
getAudiences(advertiserId, sourcePlatform, observe = 'body', reportProgress = false) {
|
|
372
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
373
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getAudiences.');
|
|
374
|
+
}
|
|
375
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
376
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling getAudiences.');
|
|
377
|
+
}
|
|
378
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
379
|
+
if (advertiserId !== undefined && advertiserId !== null) {
|
|
380
|
+
queryParameters = queryParameters.set('advertiserId', advertiserId);
|
|
381
|
+
}
|
|
382
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
383
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
384
|
+
}
|
|
385
|
+
let headers = this.defaultHeaders;
|
|
386
|
+
// to determine the Accept header
|
|
387
|
+
let httpHeaderAccepts = [
|
|
388
|
+
'*/*'
|
|
389
|
+
];
|
|
390
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
391
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
392
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
393
|
+
}
|
|
394
|
+
// to determine the Content-Type header
|
|
395
|
+
const consumes = [];
|
|
396
|
+
return this.httpClient.request('get', `${this.basePath}/api/audiences`, {
|
|
397
|
+
params: queryParameters,
|
|
398
|
+
withCredentials: this.configuration.withCredentials,
|
|
399
|
+
headers: headers,
|
|
400
|
+
observe: observe,
|
|
401
|
+
reportProgress: reportProgress
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
AudienceControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
406
|
+
AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
|
|
408
|
+
type: Injectable
|
|
409
|
+
}], ctorParameters: function () {
|
|
410
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
411
|
+
type: Optional
|
|
412
|
+
}, {
|
|
413
|
+
type: Inject,
|
|
414
|
+
args: [BASE_PATH]
|
|
415
|
+
}] }, { type: Configuration, decorators: [{
|
|
416
|
+
type: Optional
|
|
417
|
+
}] }];
|
|
418
|
+
} });
|
|
419
|
+
|
|
252
420
|
/**
|
|
253
421
|
* Intellibid API
|
|
254
422
|
* API documentation for the Intellibid platform
|
|
@@ -712,7 +880,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
712
880
|
}] }];
|
|
713
881
|
} });
|
|
714
882
|
|
|
715
|
-
const APIS = [AdvertiserControllerService, CampaignControllerService, InsightsControllerService, OsMasterControllerService];
|
|
883
|
+
const APIS = [AdvertiserControllerService, AudienceControllerService, CampaignControllerService, InsightsControllerService, OsMasterControllerService];
|
|
716
884
|
|
|
717
885
|
/**
|
|
718
886
|
* Intellibid API
|
|
@@ -812,6 +980,69 @@ var CampaignResponse;
|
|
|
812
980
|
};
|
|
813
981
|
})(CampaignResponse || (CampaignResponse = {}));
|
|
814
982
|
|
|
983
|
+
/**
|
|
984
|
+
* Intellibid API
|
|
985
|
+
* API documentation for the Intellibid platform
|
|
986
|
+
*
|
|
987
|
+
* OpenAPI spec version: 1.0
|
|
988
|
+
*
|
|
989
|
+
*
|
|
990
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
991
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
992
|
+
* Do not edit the class manually.
|
|
993
|
+
*/
|
|
994
|
+
var CreateBlockedAudienceRequest;
|
|
995
|
+
(function (CreateBlockedAudienceRequest) {
|
|
996
|
+
CreateBlockedAudienceRequest.SourcePlatformEnum = {
|
|
997
|
+
META: 'META',
|
|
998
|
+
TIKTOK: 'TIKTOK',
|
|
999
|
+
GOOGLE: 'GOOGLE',
|
|
1000
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
1001
|
+
};
|
|
1002
|
+
})(CreateBlockedAudienceRequest || (CreateBlockedAudienceRequest = {}));
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Intellibid API
|
|
1006
|
+
* API documentation for the Intellibid platform
|
|
1007
|
+
*
|
|
1008
|
+
* OpenAPI spec version: 1.0
|
|
1009
|
+
*
|
|
1010
|
+
*
|
|
1011
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1012
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1013
|
+
* Do not edit the class manually.
|
|
1014
|
+
*/
|
|
1015
|
+
var CreateDynamicAudienceRequest;
|
|
1016
|
+
(function (CreateDynamicAudienceRequest) {
|
|
1017
|
+
CreateDynamicAudienceRequest.SourcePlatformEnum = {
|
|
1018
|
+
META: 'META',
|
|
1019
|
+
TIKTOK: 'TIKTOK',
|
|
1020
|
+
GOOGLE: 'GOOGLE',
|
|
1021
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
1022
|
+
};
|
|
1023
|
+
})(CreateDynamicAudienceRequest || (CreateDynamicAudienceRequest = {}));
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Intellibid API
|
|
1027
|
+
* API documentation for the Intellibid platform
|
|
1028
|
+
*
|
|
1029
|
+
* OpenAPI spec version: 1.0
|
|
1030
|
+
*
|
|
1031
|
+
*
|
|
1032
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1033
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1034
|
+
* Do not edit the class manually.
|
|
1035
|
+
*/
|
|
1036
|
+
var CreateStaticAudienceRequest;
|
|
1037
|
+
(function (CreateStaticAudienceRequest) {
|
|
1038
|
+
CreateStaticAudienceRequest.SourcePlatformEnum = {
|
|
1039
|
+
META: 'META',
|
|
1040
|
+
TIKTOK: 'TIKTOK',
|
|
1041
|
+
GOOGLE: 'GOOGLE',
|
|
1042
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
1043
|
+
};
|
|
1044
|
+
})(CreateStaticAudienceRequest || (CreateStaticAudienceRequest = {}));
|
|
1045
|
+
|
|
815
1046
|
/**
|
|
816
1047
|
* Intellibid API
|
|
817
1048
|
* API documentation for the Intellibid platform
|
|
@@ -852,6 +1083,7 @@ ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2
|
|
|
852
1083
|
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
853
1084
|
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
854
1085
|
AdvertiserControllerService,
|
|
1086
|
+
AudienceControllerService,
|
|
855
1087
|
CampaignControllerService,
|
|
856
1088
|
InsightsControllerService,
|
|
857
1089
|
OsMasterControllerService
|
|
@@ -864,6 +1096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
864
1096
|
exports: [],
|
|
865
1097
|
providers: [
|
|
866
1098
|
AdvertiserControllerService,
|
|
1099
|
+
AudienceControllerService,
|
|
867
1100
|
CampaignControllerService,
|
|
868
1101
|
InsightsControllerService,
|
|
869
1102
|
OsMasterControllerService
|
|
@@ -883,5 +1116,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
883
1116
|
* Generated bundle index. Do not edit.
|
|
884
1117
|
*/
|
|
885
1118
|
|
|
886
|
-
export { APIS, AdvertiserControllerService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, InsightsControllerService, OsMasterControllerService, ScheduleUpdateRequest };
|
|
1119
|
+
export { APIS, AdvertiserControllerService, ApiModule, AudienceControllerService, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, CreateBlockedAudienceRequest, CreateDynamicAudienceRequest, CreateStaticAudienceRequest, InsightsControllerService, OsMasterControllerService, ScheduleUpdateRequest };
|
|
887
1120
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|