@revxui/intellibid-client-ts 1.0.58 → 1.0.59
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/advertiserController.service.d.ts +23 -0
- package/api/api.d.ts +3 -1
- package/api/audienceController.service.d.ts +41 -0
- package/esm2020/api/advertiserController.service.mjs +55 -1
- package/esm2020/api/api.mjs +4 -2
- package/esm2020/api/audienceController.service.mjs +110 -0
- package/esm2020/api.module.mjs +4 -1
- package/esm2020/model/audienceChildStatusDTO.mjs +22 -0
- package/esm2020/model/audienceGroupStatusResponse.mjs +16 -0
- package/esm2020/model/childPreviewDTO.mjs +13 -0
- package/esm2020/model/createBucketizedLiveAudienceRequest.mjs +19 -0
- package/esm2020/model/createBucketizedLiveAudienceResponse.mjs +10 -0
- package/esm2020/model/models.mjs +8 -1
- package/esm2020/model/pageAdvertiserResponse.mjs +1 -1
- package/esm2020/model/pageCampaignChangeLogResponse.mjs +1 -1
- package/esm2020/model/pageCampaignResponse.mjs +1 -1
- package/esm2020/model/productSetResponse.mjs +13 -0
- package/esm2020/model/upsertProductSetRequest.mjs +13 -0
- package/fesm2015/revxui-intellibid-client-ts.mjs +230 -2
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +264 -2
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/audienceChildStatusDTO.d.ts +31 -0
- package/model/audienceGroupStatusResponse.d.ts +42 -0
- package/model/childPreviewDTO.d.ts +19 -0
- package/model/createBucketizedLiveAudienceRequest.d.ts +33 -0
- package/model/createBucketizedLiveAudienceResponse.d.ts +28 -0
- package/model/models.d.ts +7 -0
- package/model/pageAdvertiserResponse.d.ts +1 -1
- package/model/pageCampaignChangeLogResponse.d.ts +1 -1
- package/model/pageCampaignResponse.d.ts +1 -1
- package/model/productSetResponse.d.ts +16 -0
- package/model/upsertProductSetRequest.d.ts +15 -0
- package/package.json +1 -1
|
@@ -250,6 +250,28 @@ class AdvertiserControllerService {
|
|
|
250
250
|
reportProgress: reportProgress
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
+
listProductSets(id, observe = 'body', reportProgress = false) {
|
|
254
|
+
if (id === null || id === undefined) {
|
|
255
|
+
throw new Error('Required parameter id was null or undefined when calling listProductSets.');
|
|
256
|
+
}
|
|
257
|
+
let headers = this.defaultHeaders;
|
|
258
|
+
// to determine the Accept header
|
|
259
|
+
let httpHeaderAccepts = [
|
|
260
|
+
'*/*'
|
|
261
|
+
];
|
|
262
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
263
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
264
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
265
|
+
}
|
|
266
|
+
// to determine the Content-Type header
|
|
267
|
+
const consumes = [];
|
|
268
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
269
|
+
withCredentials: this.configuration.withCredentials,
|
|
270
|
+
headers: headers,
|
|
271
|
+
observe: observe,
|
|
272
|
+
reportProgress: reportProgress
|
|
273
|
+
});
|
|
274
|
+
}
|
|
253
275
|
searchAdvertisers(q, observe = 'body', reportProgress = false) {
|
|
254
276
|
if (q === null || q === undefined) {
|
|
255
277
|
throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
|
|
@@ -277,6 +299,38 @@ class AdvertiserControllerService {
|
|
|
277
299
|
reportProgress: reportProgress
|
|
278
300
|
});
|
|
279
301
|
}
|
|
302
|
+
upsertProductSet(body, id, observe = 'body', reportProgress = false) {
|
|
303
|
+
if (body === null || body === undefined) {
|
|
304
|
+
throw new Error('Required parameter body was null or undefined when calling upsertProductSet.');
|
|
305
|
+
}
|
|
306
|
+
if (id === null || id === undefined) {
|
|
307
|
+
throw new Error('Required parameter id was null or undefined when calling upsertProductSet.');
|
|
308
|
+
}
|
|
309
|
+
let headers = this.defaultHeaders;
|
|
310
|
+
// to determine the Accept header
|
|
311
|
+
let httpHeaderAccepts = [
|
|
312
|
+
'*/*'
|
|
313
|
+
];
|
|
314
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
315
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
316
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
317
|
+
}
|
|
318
|
+
// to determine the Content-Type header
|
|
319
|
+
const consumes = [
|
|
320
|
+
'application/json'
|
|
321
|
+
];
|
|
322
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
323
|
+
if (httpContentTypeSelected != undefined) {
|
|
324
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
325
|
+
}
|
|
326
|
+
return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
327
|
+
body: body,
|
|
328
|
+
withCredentials: this.configuration.withCredentials,
|
|
329
|
+
headers: headers,
|
|
330
|
+
observe: observe,
|
|
331
|
+
reportProgress: reportProgress
|
|
332
|
+
});
|
|
333
|
+
}
|
|
280
334
|
}
|
|
281
335
|
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 });
|
|
282
336
|
AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
|
|
@@ -291,6 +345,109 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
291
345
|
type: Optional
|
|
292
346
|
}] }]; } });
|
|
293
347
|
|
|
348
|
+
/**
|
|
349
|
+
* Intellibid API
|
|
350
|
+
* API documentation for the Intellibid platform
|
|
351
|
+
*
|
|
352
|
+
* OpenAPI spec version: 1.0
|
|
353
|
+
*
|
|
354
|
+
*
|
|
355
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
356
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
357
|
+
* Do not edit the class manually.
|
|
358
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
359
|
+
class AudienceControllerService {
|
|
360
|
+
constructor(httpClient, basePath, configuration) {
|
|
361
|
+
this.httpClient = httpClient;
|
|
362
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
363
|
+
this.defaultHeaders = new HttpHeaders();
|
|
364
|
+
this.configuration = new Configuration();
|
|
365
|
+
if (basePath) {
|
|
366
|
+
this.basePath = basePath;
|
|
367
|
+
}
|
|
368
|
+
if (configuration) {
|
|
369
|
+
this.configuration = configuration;
|
|
370
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* @param consumes string[] mime-types
|
|
375
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
376
|
+
*/
|
|
377
|
+
canConsumeForm(consumes) {
|
|
378
|
+
const form = 'multipart/form-data';
|
|
379
|
+
for (const consume of consumes) {
|
|
380
|
+
if (form === consume) {
|
|
381
|
+
return true;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
return false;
|
|
385
|
+
}
|
|
386
|
+
createBucketizedLiveAudience(body, observe = 'body', reportProgress = false) {
|
|
387
|
+
if (body === null || body === undefined) {
|
|
388
|
+
throw new Error('Required parameter body was null or undefined when calling createBucketizedLiveAudience.');
|
|
389
|
+
}
|
|
390
|
+
let headers = this.defaultHeaders;
|
|
391
|
+
// to determine the Accept header
|
|
392
|
+
let httpHeaderAccepts = [
|
|
393
|
+
'*/*'
|
|
394
|
+
];
|
|
395
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
396
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
397
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
398
|
+
}
|
|
399
|
+
// to determine the Content-Type header
|
|
400
|
+
const consumes = [
|
|
401
|
+
'application/json'
|
|
402
|
+
];
|
|
403
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
404
|
+
if (httpContentTypeSelected != undefined) {
|
|
405
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
406
|
+
}
|
|
407
|
+
return this.httpClient.request('post', `${this.basePath}/api/audience/live/bucketized`, {
|
|
408
|
+
body: body,
|
|
409
|
+
withCredentials: this.configuration.withCredentials,
|
|
410
|
+
headers: headers,
|
|
411
|
+
observe: observe,
|
|
412
|
+
reportProgress: reportProgress
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
getGroupStatus(groupId, observe = 'body', reportProgress = false) {
|
|
416
|
+
if (groupId === null || groupId === undefined) {
|
|
417
|
+
throw new Error('Required parameter groupId was null or undefined when calling getGroupStatus.');
|
|
418
|
+
}
|
|
419
|
+
let headers = this.defaultHeaders;
|
|
420
|
+
// to determine the Accept header
|
|
421
|
+
let httpHeaderAccepts = [
|
|
422
|
+
'*/*'
|
|
423
|
+
];
|
|
424
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
425
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
426
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
427
|
+
}
|
|
428
|
+
// to determine the Content-Type header
|
|
429
|
+
const consumes = [];
|
|
430
|
+
return this.httpClient.request('get', `${this.basePath}/api/audience/groups/${encodeURIComponent(String(groupId))}`, {
|
|
431
|
+
withCredentials: this.configuration.withCredentials,
|
|
432
|
+
headers: headers,
|
|
433
|
+
observe: observe,
|
|
434
|
+
reportProgress: reportProgress
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
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 });
|
|
439
|
+
AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
|
|
441
|
+
type: Injectable
|
|
442
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
443
|
+
type: Optional
|
|
444
|
+
}, {
|
|
445
|
+
type: Inject,
|
|
446
|
+
args: [BASE_PATH]
|
|
447
|
+
}] }, { type: Configuration, decorators: [{
|
|
448
|
+
type: Optional
|
|
449
|
+
}] }]; } });
|
|
450
|
+
|
|
294
451
|
/**
|
|
295
452
|
* Intellibid API
|
|
296
453
|
* API documentation for the Intellibid platform
|
|
@@ -808,7 +965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
808
965
|
type: Optional
|
|
809
966
|
}] }]; } });
|
|
810
967
|
|
|
811
|
-
const APIS = [AdvertiserControllerService, CampaignControllerService, InsightsControllerService, LookupDataControllerService];
|
|
968
|
+
const APIS = [AdvertiserControllerService, AudienceControllerService, CampaignControllerService, InsightsControllerService, LookupDataControllerService];
|
|
812
969
|
|
|
813
970
|
/**
|
|
814
971
|
* Intellibid API
|
|
@@ -846,6 +1003,44 @@ const APIS = [AdvertiserControllerService, CampaignControllerService, InsightsCo
|
|
|
846
1003
|
* Do not edit the class manually.
|
|
847
1004
|
*/
|
|
848
1005
|
|
|
1006
|
+
/**
|
|
1007
|
+
* Intellibid API
|
|
1008
|
+
* API documentation for the Intellibid platform
|
|
1009
|
+
*
|
|
1010
|
+
* OpenAPI spec version: 1.0
|
|
1011
|
+
*
|
|
1012
|
+
*
|
|
1013
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1014
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1015
|
+
* Do not edit the class manually.
|
|
1016
|
+
*/
|
|
1017
|
+
var AudienceChildStatusDTO;
|
|
1018
|
+
(function (AudienceChildStatusDTO) {
|
|
1019
|
+
AudienceChildStatusDTO.StatusEnum = {
|
|
1020
|
+
CREATING: 'CREATING',
|
|
1021
|
+
ACTIVE: 'ACTIVE',
|
|
1022
|
+
UPDATING: 'UPDATING',
|
|
1023
|
+
DELETING: 'DELETING',
|
|
1024
|
+
FAILED: 'FAILED'
|
|
1025
|
+
};
|
|
1026
|
+
})(AudienceChildStatusDTO || (AudienceChildStatusDTO = {}));
|
|
1027
|
+
|
|
1028
|
+
var AudienceGroupStatusResponse;
|
|
1029
|
+
(function (AudienceGroupStatusResponse) {
|
|
1030
|
+
AudienceGroupStatusResponse.GroupTypeEnum = {
|
|
1031
|
+
BUCKETIZEDLIVE: 'BUCKETIZED_LIVE',
|
|
1032
|
+
BLOCKEDLIVE: 'BLOCKED_LIVE',
|
|
1033
|
+
BUCKETIZEDCUSTOM: 'BUCKETIZED_CUSTOM',
|
|
1034
|
+
DSCUSTOMQUERY: 'DS_CUSTOM_QUERY'
|
|
1035
|
+
};
|
|
1036
|
+
AudienceGroupStatusResponse.SyncStatusEnum = {
|
|
1037
|
+
IDLE: 'IDLE',
|
|
1038
|
+
SYNCING: 'SYNCING',
|
|
1039
|
+
PARTIAL: 'PARTIAL',
|
|
1040
|
+
FAILED: 'FAILED'
|
|
1041
|
+
};
|
|
1042
|
+
})(AudienceGroupStatusResponse || (AudienceGroupStatusResponse = {}));
|
|
1043
|
+
|
|
849
1044
|
/**
|
|
850
1045
|
* Intellibid API
|
|
851
1046
|
* API documentation for the Intellibid platform
|
|
@@ -980,6 +1175,59 @@ var CampaignResponse;
|
|
|
980
1175
|
* Do not edit the class manually.
|
|
981
1176
|
*/
|
|
982
1177
|
|
|
1178
|
+
/**
|
|
1179
|
+
* Intellibid API
|
|
1180
|
+
* API documentation for the Intellibid platform
|
|
1181
|
+
*
|
|
1182
|
+
* OpenAPI spec version: 1.0
|
|
1183
|
+
*
|
|
1184
|
+
*
|
|
1185
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1186
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1187
|
+
* Do not edit the class manually.
|
|
1188
|
+
*/
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Intellibid API
|
|
1192
|
+
* API documentation for the Intellibid platform
|
|
1193
|
+
*
|
|
1194
|
+
* OpenAPI spec version: 1.0
|
|
1195
|
+
*
|
|
1196
|
+
*
|
|
1197
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1198
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1199
|
+
* Do not edit the class manually.
|
|
1200
|
+
*/
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Intellibid API
|
|
1204
|
+
* API documentation for the Intellibid platform
|
|
1205
|
+
*
|
|
1206
|
+
* OpenAPI spec version: 1.0
|
|
1207
|
+
*
|
|
1208
|
+
*
|
|
1209
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1210
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1211
|
+
* Do not edit the class manually.
|
|
1212
|
+
*/
|
|
1213
|
+
var CreateBucketizedLiveAudienceRequest;
|
|
1214
|
+
(function (CreateBucketizedLiveAudienceRequest) {
|
|
1215
|
+
CreateBucketizedLiveAudienceRequest.AudienceTypeEnum = {
|
|
1216
|
+
DYNAMIC: 'DYNAMIC',
|
|
1217
|
+
CATALOGUE: 'CATALOGUE'
|
|
1218
|
+
};
|
|
1219
|
+
})(CreateBucketizedLiveAudienceRequest || (CreateBucketizedLiveAudienceRequest = {}));
|
|
1220
|
+
|
|
1221
|
+
var CreateBucketizedLiveAudienceResponse;
|
|
1222
|
+
(function (CreateBucketizedLiveAudienceResponse) {
|
|
1223
|
+
CreateBucketizedLiveAudienceResponse.SyncStatusEnum = {
|
|
1224
|
+
IDLE: 'IDLE',
|
|
1225
|
+
SYNCING: 'SYNCING',
|
|
1226
|
+
PARTIAL: 'PARTIAL',
|
|
1227
|
+
FAILED: 'FAILED'
|
|
1228
|
+
};
|
|
1229
|
+
})(CreateBucketizedLiveAudienceResponse || (CreateBucketizedLiveAudienceResponse = {}));
|
|
1230
|
+
|
|
983
1231
|
/**
|
|
984
1232
|
* Intellibid API
|
|
985
1233
|
* API documentation for the Intellibid platform
|
|
@@ -1071,6 +1319,18 @@ var ScheduleUpdateRequest;
|
|
|
1071
1319
|
* Do not edit the class manually.
|
|
1072
1320
|
*/
|
|
1073
1321
|
|
|
1322
|
+
/**
|
|
1323
|
+
* Intellibid API
|
|
1324
|
+
* API documentation for the Intellibid platform
|
|
1325
|
+
*
|
|
1326
|
+
* OpenAPI spec version: 1.0
|
|
1327
|
+
*
|
|
1328
|
+
*
|
|
1329
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1330
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1331
|
+
* Do not edit the class manually.
|
|
1332
|
+
*/
|
|
1333
|
+
|
|
1074
1334
|
class ApiModule {
|
|
1075
1335
|
static forRoot(configurationFactory) {
|
|
1076
1336
|
return {
|
|
@@ -1092,6 +1352,7 @@ ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2
|
|
|
1092
1352
|
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1093
1353
|
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1094
1354
|
AdvertiserControllerService,
|
|
1355
|
+
AudienceControllerService,
|
|
1095
1356
|
CampaignControllerService,
|
|
1096
1357
|
InsightsControllerService,
|
|
1097
1358
|
LookupDataControllerService
|
|
@@ -1104,6 +1365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1104
1365
|
exports: [],
|
|
1105
1366
|
providers: [
|
|
1106
1367
|
AdvertiserControllerService,
|
|
1368
|
+
AudienceControllerService,
|
|
1107
1369
|
CampaignControllerService,
|
|
1108
1370
|
InsightsControllerService,
|
|
1109
1371
|
LookupDataControllerService
|
|
@@ -1121,5 +1383,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1121
1383
|
* Generated bundle index. Do not edit.
|
|
1122
1384
|
*/
|
|
1123
1385
|
|
|
1124
|
-
export { APIS, AdvertiserControllerService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, InsightsControllerService, LookupDataControllerService, ScheduleUpdateRequest };
|
|
1386
|
+
export { APIS, AdvertiserControllerService, ApiModule, AudienceChildStatusDTO, AudienceControllerService, AudienceGroupStatusResponse, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, CreateBucketizedLiveAudienceRequest, CreateBucketizedLiveAudienceResponse, InsightsControllerService, LookupDataControllerService, ScheduleUpdateRequest };
|
|
1125
1387
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|