@revxui/intellibid-client-ts 1.0.60 → 1.0.62
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 +11 -23
- package/api/api.d.ts +1 -3
- package/esm2020/api/advertiserController.service.mjs +23 -55
- package/esm2020/api/api.mjs +2 -4
- package/esm2020/api.module.mjs +1 -4
- package/esm2020/model/adAccountResponse.mjs +20 -0
- package/esm2020/model/advertiserResponse.mjs +1 -1
- package/esm2020/model/campaignRequest.mjs +1 -2
- package/esm2020/model/campaignResponse.mjs +1 -2
- package/esm2020/model/models.mjs +2 -8
- package/fesm2015/revxui-intellibid-client-ts.mjs +31 -219
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +34 -256
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/adAccountResponse.d.ts +24 -0
- package/model/advertiserResponse.d.ts +2 -0
- package/model/campaignRequest.d.ts +2 -2
- package/model/campaignResponse.d.ts +2 -2
- package/model/models.d.ts +1 -7
- package/package.json +1 -1
- package/api/audienceController.service.d.ts +0 -41
- package/esm2020/api/audienceController.service.mjs +0 -110
- package/esm2020/model/audienceChildStatusDTO.mjs +0 -22
- package/esm2020/model/audienceGroupStatusResponse.mjs +0 -16
- package/esm2020/model/childPreviewDTO.mjs +0 -13
- package/esm2020/model/createBucketizedLiveAudienceRequest.mjs +0 -19
- package/esm2020/model/createBucketizedLiveAudienceResponse.mjs +0 -10
- package/esm2020/model/productSetResponse.mjs +0 -13
- package/esm2020/model/upsertProductSetRequest.mjs +0 -13
- package/model/audienceChildStatusDTO.d.ts +0 -31
- package/model/audienceGroupStatusResponse.d.ts +0 -42
- package/model/childPreviewDTO.d.ts +0 -19
- package/model/createBucketizedLiveAudienceRequest.d.ts +0 -33
- package/model/createBucketizedLiveAudienceResponse.d.ts +0 -28
- package/model/productSetResponse.d.ts +0 -16
- package/model/upsertProductSetRequest.d.ts +0 -15
|
@@ -124,6 +124,28 @@ class AdvertiserControllerService {
|
|
|
124
124
|
}
|
|
125
125
|
return false;
|
|
126
126
|
}
|
|
127
|
+
getAdAccounts(id, observe = 'body', reportProgress = false) {
|
|
128
|
+
if (id === null || id === undefined) {
|
|
129
|
+
throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
|
|
130
|
+
}
|
|
131
|
+
let headers = this.defaultHeaders;
|
|
132
|
+
// to determine the Accept header
|
|
133
|
+
let httpHeaderAccepts = [
|
|
134
|
+
'*/*'
|
|
135
|
+
];
|
|
136
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
137
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
138
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
139
|
+
}
|
|
140
|
+
// to determine the Content-Type header
|
|
141
|
+
const consumes = [];
|
|
142
|
+
return this.httpClient.request('get', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/ad-accounts`, {
|
|
143
|
+
withCredentials: this.configuration.withCredentials,
|
|
144
|
+
headers: headers,
|
|
145
|
+
observe: observe,
|
|
146
|
+
reportProgress: reportProgress
|
|
147
|
+
});
|
|
148
|
+
}
|
|
127
149
|
getAdvertiser(id, observe = 'body', reportProgress = false) {
|
|
128
150
|
if (id === null || id === undefined) {
|
|
129
151
|
throw new Error('Required parameter id was null or undefined when calling getAdvertiser.');
|
|
@@ -250,28 +272,6 @@ class AdvertiserControllerService {
|
|
|
250
272
|
reportProgress: reportProgress
|
|
251
273
|
});
|
|
252
274
|
}
|
|
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
|
-
}
|
|
275
275
|
searchAdvertisers(q, observe = 'body', reportProgress = false) {
|
|
276
276
|
if (q === null || q === undefined) {
|
|
277
277
|
throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
|
|
@@ -299,38 +299,6 @@ class AdvertiserControllerService {
|
|
|
299
299
|
reportProgress: reportProgress
|
|
300
300
|
});
|
|
301
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
|
-
}
|
|
334
302
|
}
|
|
335
303
|
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 });
|
|
336
304
|
AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
|
|
@@ -347,111 +315,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
347
315
|
}] }];
|
|
348
316
|
} });
|
|
349
317
|
|
|
350
|
-
/**
|
|
351
|
-
* Intellibid API
|
|
352
|
-
* API documentation for the Intellibid platform
|
|
353
|
-
*
|
|
354
|
-
* OpenAPI spec version: 1.0
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
358
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
359
|
-
* Do not edit the class manually.
|
|
360
|
-
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
361
|
-
class AudienceControllerService {
|
|
362
|
-
constructor(httpClient, basePath, configuration) {
|
|
363
|
-
this.httpClient = httpClient;
|
|
364
|
-
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
365
|
-
this.defaultHeaders = new HttpHeaders();
|
|
366
|
-
this.configuration = new Configuration();
|
|
367
|
-
if (basePath) {
|
|
368
|
-
this.basePath = basePath;
|
|
369
|
-
}
|
|
370
|
-
if (configuration) {
|
|
371
|
-
this.configuration = configuration;
|
|
372
|
-
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* @param consumes string[] mime-types
|
|
377
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
378
|
-
*/
|
|
379
|
-
canConsumeForm(consumes) {
|
|
380
|
-
const form = 'multipart/form-data';
|
|
381
|
-
for (const consume of consumes) {
|
|
382
|
-
if (form === consume) {
|
|
383
|
-
return true;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
return false;
|
|
387
|
-
}
|
|
388
|
-
createBucketizedLiveAudience(body, observe = 'body', reportProgress = false) {
|
|
389
|
-
if (body === null || body === undefined) {
|
|
390
|
-
throw new Error('Required parameter body was null or undefined when calling createBucketizedLiveAudience.');
|
|
391
|
-
}
|
|
392
|
-
let headers = this.defaultHeaders;
|
|
393
|
-
// to determine the Accept header
|
|
394
|
-
let httpHeaderAccepts = [
|
|
395
|
-
'*/*'
|
|
396
|
-
];
|
|
397
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
398
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
399
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
400
|
-
}
|
|
401
|
-
// to determine the Content-Type header
|
|
402
|
-
const consumes = [
|
|
403
|
-
'application/json'
|
|
404
|
-
];
|
|
405
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
406
|
-
if (httpContentTypeSelected != undefined) {
|
|
407
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
408
|
-
}
|
|
409
|
-
return this.httpClient.request('post', `${this.basePath}/api/audience/live/bucketized`, {
|
|
410
|
-
body: body,
|
|
411
|
-
withCredentials: this.configuration.withCredentials,
|
|
412
|
-
headers: headers,
|
|
413
|
-
observe: observe,
|
|
414
|
-
reportProgress: reportProgress
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
getGroupStatus(groupId, observe = 'body', reportProgress = false) {
|
|
418
|
-
if (groupId === null || groupId === undefined) {
|
|
419
|
-
throw new Error('Required parameter groupId was null or undefined when calling getGroupStatus.');
|
|
420
|
-
}
|
|
421
|
-
let headers = this.defaultHeaders;
|
|
422
|
-
// to determine the Accept header
|
|
423
|
-
let httpHeaderAccepts = [
|
|
424
|
-
'*/*'
|
|
425
|
-
];
|
|
426
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
427
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
428
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
429
|
-
}
|
|
430
|
-
// to determine the Content-Type header
|
|
431
|
-
const consumes = [];
|
|
432
|
-
return this.httpClient.request('get', `${this.basePath}/api/audience/groups/${encodeURIComponent(String(groupId))}`, {
|
|
433
|
-
withCredentials: this.configuration.withCredentials,
|
|
434
|
-
headers: headers,
|
|
435
|
-
observe: observe,
|
|
436
|
-
reportProgress: reportProgress
|
|
437
|
-
});
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
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 });
|
|
441
|
-
AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
|
|
443
|
-
type: Injectable
|
|
444
|
-
}], ctorParameters: function () {
|
|
445
|
-
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
446
|
-
type: Optional
|
|
447
|
-
}, {
|
|
448
|
-
type: Inject,
|
|
449
|
-
args: [BASE_PATH]
|
|
450
|
-
}] }, { type: Configuration, decorators: [{
|
|
451
|
-
type: Optional
|
|
452
|
-
}] }];
|
|
453
|
-
} });
|
|
454
|
-
|
|
455
318
|
/**
|
|
456
319
|
* Intellibid API
|
|
457
320
|
* API documentation for the Intellibid platform
|
|
@@ -975,7 +838,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
975
838
|
}] }];
|
|
976
839
|
} });
|
|
977
840
|
|
|
978
|
-
const APIS = [AdvertiserControllerService,
|
|
841
|
+
const APIS = [AdvertiserControllerService, CampaignControllerService, InsightsControllerService, LookupDataControllerService];
|
|
979
842
|
|
|
980
843
|
/**
|
|
981
844
|
* Intellibid API
|
|
@@ -988,32 +851,14 @@ const APIS = [AdvertiserControllerService, AudienceControllerService, CampaignCo
|
|
|
988
851
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
989
852
|
* Do not edit the class manually.
|
|
990
853
|
*/
|
|
991
|
-
var
|
|
992
|
-
(function (
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
DELETING: 'DELETING',
|
|
998
|
-
FAILED: 'FAILED'
|
|
999
|
-
};
|
|
1000
|
-
})(AudienceChildStatusDTO || (AudienceChildStatusDTO = {}));
|
|
1001
|
-
|
|
1002
|
-
var AudienceGroupStatusResponse;
|
|
1003
|
-
(function (AudienceGroupStatusResponse) {
|
|
1004
|
-
AudienceGroupStatusResponse.GroupTypeEnum = {
|
|
1005
|
-
BUCKETIZEDLIVE: 'BUCKETIZED_LIVE',
|
|
1006
|
-
BLOCKEDLIVE: 'BLOCKED_LIVE',
|
|
1007
|
-
BUCKETIZEDCUSTOM: 'BUCKETIZED_CUSTOM',
|
|
1008
|
-
DSCUSTOMQUERY: 'DS_CUSTOM_QUERY'
|
|
1009
|
-
};
|
|
1010
|
-
AudienceGroupStatusResponse.SyncStatusEnum = {
|
|
1011
|
-
IDLE: 'IDLE',
|
|
1012
|
-
SYNCING: 'SYNCING',
|
|
1013
|
-
PARTIAL: 'PARTIAL',
|
|
1014
|
-
FAILED: 'FAILED'
|
|
854
|
+
var AdAccountResponse;
|
|
855
|
+
(function (AdAccountResponse) {
|
|
856
|
+
AdAccountResponse.SourcePlatformEnum = {
|
|
857
|
+
META: 'META',
|
|
858
|
+
TIKTOK: 'TIKTOK',
|
|
859
|
+
SNAPCHAT: 'SNAPCHAT'
|
|
1015
860
|
};
|
|
1016
|
-
})(
|
|
861
|
+
})(AdAccountResponse || (AdAccountResponse = {}));
|
|
1017
862
|
|
|
1018
863
|
/**
|
|
1019
864
|
* Intellibid API
|
|
@@ -1074,7 +919,6 @@ var CampaignRequest;
|
|
|
1074
919
|
CampaignRequest.SourcePlatformEnum = {
|
|
1075
920
|
META: 'META',
|
|
1076
921
|
TIKTOK: 'TIKTOK',
|
|
1077
|
-
GOOGLE: 'GOOGLE',
|
|
1078
922
|
SNAPCHAT: 'SNAPCHAT'
|
|
1079
923
|
};
|
|
1080
924
|
CampaignRequest.PayoutTypeEnum = {
|
|
@@ -1096,7 +940,6 @@ var CampaignResponse;
|
|
|
1096
940
|
CampaignResponse.SourcePlatformEnum = {
|
|
1097
941
|
META: 'META',
|
|
1098
942
|
TIKTOK: 'TIKTOK',
|
|
1099
|
-
GOOGLE: 'GOOGLE',
|
|
1100
943
|
SNAPCHAT: 'SNAPCHAT'
|
|
1101
944
|
};
|
|
1102
945
|
CampaignResponse.PayoutTypeEnum = {
|
|
@@ -1113,35 +956,6 @@ var CampaignResponse;
|
|
|
1113
956
|
};
|
|
1114
957
|
})(CampaignResponse || (CampaignResponse = {}));
|
|
1115
958
|
|
|
1116
|
-
/**
|
|
1117
|
-
* Intellibid API
|
|
1118
|
-
* API documentation for the Intellibid platform
|
|
1119
|
-
*
|
|
1120
|
-
* OpenAPI spec version: 1.0
|
|
1121
|
-
*
|
|
1122
|
-
*
|
|
1123
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1124
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1125
|
-
* Do not edit the class manually.
|
|
1126
|
-
*/
|
|
1127
|
-
var CreateBucketizedLiveAudienceRequest;
|
|
1128
|
-
(function (CreateBucketizedLiveAudienceRequest) {
|
|
1129
|
-
CreateBucketizedLiveAudienceRequest.AudienceTypeEnum = {
|
|
1130
|
-
DYNAMIC: 'DYNAMIC',
|
|
1131
|
-
CATALOGUE: 'CATALOGUE'
|
|
1132
|
-
};
|
|
1133
|
-
})(CreateBucketizedLiveAudienceRequest || (CreateBucketizedLiveAudienceRequest = {}));
|
|
1134
|
-
|
|
1135
|
-
var CreateBucketizedLiveAudienceResponse;
|
|
1136
|
-
(function (CreateBucketizedLiveAudienceResponse) {
|
|
1137
|
-
CreateBucketizedLiveAudienceResponse.SyncStatusEnum = {
|
|
1138
|
-
IDLE: 'IDLE',
|
|
1139
|
-
SYNCING: 'SYNCING',
|
|
1140
|
-
PARTIAL: 'PARTIAL',
|
|
1141
|
-
FAILED: 'FAILED'
|
|
1142
|
-
};
|
|
1143
|
-
})(CreateBucketizedLiveAudienceResponse || (CreateBucketizedLiveAudienceResponse = {}));
|
|
1144
|
-
|
|
1145
959
|
/**
|
|
1146
960
|
* Intellibid API
|
|
1147
961
|
* API documentation for the Intellibid platform
|
|
@@ -1182,7 +996,6 @@ ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2
|
|
|
1182
996
|
ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
|
|
1183
997
|
ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
|
|
1184
998
|
AdvertiserControllerService,
|
|
1185
|
-
AudienceControllerService,
|
|
1186
999
|
CampaignControllerService,
|
|
1187
1000
|
InsightsControllerService,
|
|
1188
1001
|
LookupDataControllerService
|
|
@@ -1195,7 +1008,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1195
1008
|
exports: [],
|
|
1196
1009
|
providers: [
|
|
1197
1010
|
AdvertiserControllerService,
|
|
1198
|
-
AudienceControllerService,
|
|
1199
1011
|
CampaignControllerService,
|
|
1200
1012
|
InsightsControllerService,
|
|
1201
1013
|
LookupDataControllerService
|
|
@@ -1215,5 +1027,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1215
1027
|
* Generated bundle index. Do not edit.
|
|
1216
1028
|
*/
|
|
1217
1029
|
|
|
1218
|
-
export { APIS, AdvertiserControllerService, ApiModule,
|
|
1030
|
+
export { APIS, AdAccountResponse, AdvertiserControllerService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, InsightsControllerService, LookupDataControllerService, ScheduleUpdateRequest };
|
|
1219
1031
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|