@revxui/intellibid-client-ts 1.0.65 → 1.0.67
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 -11
- package/api/audienceController.service.d.ts +25 -5
- package/esm2020/api/advertiserController.service.mjs +33 -33
- package/esm2020/api/audienceController.service.mjs +47 -9
- package/esm2020/model/childAudience.mjs +1 -1
- package/esm2020/model/createBucketizedCustomAudienceRequest.mjs +1 -1
- package/esm2020/model/createDsCustomQueryAudienceRequest.mjs +1 -1
- package/esm2020/model/goalResponse.mjs +1 -1
- package/esm2020/model/models.mjs +2 -2
- package/esm2020/model/validateDsQueryRequest.mjs +13 -0
- package/fesm2015/revxui-intellibid-client-ts.mjs +79 -77
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +91 -77
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/childAudience.d.ts +2 -1
- package/model/createBucketizedCustomAudienceRequest.d.ts +2 -1
- package/model/createDsCustomQueryAudienceRequest.d.ts +2 -0
- package/model/goalResponse.d.ts +0 -3
- package/model/models.d.ts +1 -1
- package/model/validateDsQueryRequest.d.ts +14 -0
- package/package.json +1 -1
- package/esm2020/model/audienceSearchRequest.mjs +0 -36
- package/model/audienceSearchRequest.d.ts +0 -45
|
@@ -124,6 +124,38 @@ class AdvertiserControllerService {
|
|
|
124
124
|
}
|
|
125
125
|
return false;
|
|
126
126
|
}
|
|
127
|
+
addProductSet(body, id, observe = 'body', reportProgress = false) {
|
|
128
|
+
if (body === null || body === undefined) {
|
|
129
|
+
throw new Error('Required parameter body was null or undefined when calling addProductSet.');
|
|
130
|
+
}
|
|
131
|
+
if (id === null || id === undefined) {
|
|
132
|
+
throw new Error('Required parameter id was null or undefined when calling addProductSet.');
|
|
133
|
+
}
|
|
134
|
+
let headers = this.defaultHeaders;
|
|
135
|
+
// to determine the Accept header
|
|
136
|
+
let httpHeaderAccepts = [
|
|
137
|
+
'*/*'
|
|
138
|
+
];
|
|
139
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
140
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
141
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
142
|
+
}
|
|
143
|
+
// to determine the Content-Type header
|
|
144
|
+
const consumes = [
|
|
145
|
+
'application/json'
|
|
146
|
+
];
|
|
147
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
148
|
+
if (httpContentTypeSelected != undefined) {
|
|
149
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
150
|
+
}
|
|
151
|
+
return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
152
|
+
body: body,
|
|
153
|
+
withCredentials: this.configuration.withCredentials,
|
|
154
|
+
headers: headers,
|
|
155
|
+
observe: observe,
|
|
156
|
+
reportProgress: reportProgress
|
|
157
|
+
});
|
|
158
|
+
}
|
|
127
159
|
getAdAccounts(id, observe = 'body', reportProgress = false) {
|
|
128
160
|
if (id === null || id === undefined) {
|
|
129
161
|
throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
|
|
@@ -332,38 +364,6 @@ class AdvertiserControllerService {
|
|
|
332
364
|
reportProgress: reportProgress
|
|
333
365
|
});
|
|
334
366
|
}
|
|
335
|
-
upsertProductSet(body, id, observe = 'body', reportProgress = false) {
|
|
336
|
-
if (body === null || body === undefined) {
|
|
337
|
-
throw new Error('Required parameter body was null or undefined when calling upsertProductSet.');
|
|
338
|
-
}
|
|
339
|
-
if (id === null || id === undefined) {
|
|
340
|
-
throw new Error('Required parameter id was null or undefined when calling upsertProductSet.');
|
|
341
|
-
}
|
|
342
|
-
let headers = this.defaultHeaders;
|
|
343
|
-
// to determine the Accept header
|
|
344
|
-
let httpHeaderAccepts = [
|
|
345
|
-
'*/*'
|
|
346
|
-
];
|
|
347
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
348
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
349
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
350
|
-
}
|
|
351
|
-
// to determine the Content-Type header
|
|
352
|
-
const consumes = [
|
|
353
|
-
'application/json'
|
|
354
|
-
];
|
|
355
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
356
|
-
if (httpContentTypeSelected != undefined) {
|
|
357
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
358
|
-
}
|
|
359
|
-
return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
|
|
360
|
-
body: body,
|
|
361
|
-
withCredentials: this.configuration.withCredentials,
|
|
362
|
-
headers: headers,
|
|
363
|
-
observe: observe,
|
|
364
|
-
reportProgress: reportProgress
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
367
|
}
|
|
368
368
|
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 });
|
|
369
369
|
AdvertiserControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdvertiserControllerService });
|
|
@@ -532,13 +532,22 @@ class AudienceControllerService {
|
|
|
532
532
|
reportProgress: reportProgress
|
|
533
533
|
});
|
|
534
534
|
}
|
|
535
|
-
getAllAudiences(
|
|
536
|
-
if (
|
|
537
|
-
throw new Error('Required parameter
|
|
535
|
+
getAllAudiences(advertiserId, groupType, sourcePlatform, audienceType, audienceSource, observe = 'body', reportProgress = false) {
|
|
536
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
537
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getAllAudiences.');
|
|
538
538
|
}
|
|
539
539
|
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
540
|
-
if (
|
|
541
|
-
queryParameters = queryParameters.set('
|
|
540
|
+
if (groupType !== undefined && groupType !== null) {
|
|
541
|
+
queryParameters = queryParameters.set('groupType', groupType);
|
|
542
|
+
}
|
|
543
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
544
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
545
|
+
}
|
|
546
|
+
if (audienceType !== undefined && audienceType !== null) {
|
|
547
|
+
queryParameters = queryParameters.set('audienceType', audienceType);
|
|
548
|
+
}
|
|
549
|
+
if (audienceSource !== undefined && audienceSource !== null) {
|
|
550
|
+
queryParameters = queryParameters.set('audienceSource', audienceSource);
|
|
542
551
|
}
|
|
543
552
|
let headers = this.defaultHeaders;
|
|
544
553
|
// to determine the Accept header
|
|
@@ -551,7 +560,7 @@ class AudienceControllerService {
|
|
|
551
560
|
}
|
|
552
561
|
// to determine the Content-Type header
|
|
553
562
|
const consumes = [];
|
|
554
|
-
return this.httpClient.request('get', `${this.basePath}/api/audiences`, {
|
|
563
|
+
return this.httpClient.request('get', `${this.basePath}/api/audiences/advertiser/${encodeURIComponent(String(advertiserId))}`, {
|
|
555
564
|
params: queryParameters,
|
|
556
565
|
withCredentials: this.configuration.withCredentials,
|
|
557
566
|
headers: headers,
|
|
@@ -605,7 +614,7 @@ class AudienceControllerService {
|
|
|
605
614
|
if (httpContentTypeSelected != undefined) {
|
|
606
615
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
607
616
|
}
|
|
608
|
-
return this.httpClient.request('
|
|
617
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/custom/ds-query/sql`, {
|
|
609
618
|
body: body,
|
|
610
619
|
withCredentials: this.configuration.withCredentials,
|
|
611
620
|
headers: headers,
|
|
@@ -637,7 +646,36 @@ class AudienceControllerService {
|
|
|
637
646
|
if (httpContentTypeSelected != undefined) {
|
|
638
647
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
639
648
|
}
|
|
640
|
-
return this.httpClient.request('
|
|
649
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/groups/${encodeURIComponent(String(groupId))}/name`, {
|
|
650
|
+
body: body,
|
|
651
|
+
withCredentials: this.configuration.withCredentials,
|
|
652
|
+
headers: headers,
|
|
653
|
+
observe: observe,
|
|
654
|
+
reportProgress: reportProgress
|
|
655
|
+
});
|
|
656
|
+
}
|
|
657
|
+
validateDsQuery(body, observe = 'body', reportProgress = false) {
|
|
658
|
+
if (body === null || body === undefined) {
|
|
659
|
+
throw new Error('Required parameter body was null or undefined when calling validateDsQuery.');
|
|
660
|
+
}
|
|
661
|
+
let headers = this.defaultHeaders;
|
|
662
|
+
// to determine the Accept header
|
|
663
|
+
let httpHeaderAccepts = [
|
|
664
|
+
'*/*'
|
|
665
|
+
];
|
|
666
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
667
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
668
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
669
|
+
}
|
|
670
|
+
// to determine the Content-Type header
|
|
671
|
+
const consumes = [
|
|
672
|
+
'application/json'
|
|
673
|
+
];
|
|
674
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
675
|
+
if (httpContentTypeSelected != undefined) {
|
|
676
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
677
|
+
}
|
|
678
|
+
return this.httpClient.request('post', `${this.basePath}/api/audiences/validate-ds-query`, {
|
|
641
679
|
body: body,
|
|
642
680
|
withCredentials: this.configuration.withCredentials,
|
|
643
681
|
headers: headers,
|
|
@@ -1257,42 +1295,6 @@ var AudienceResponse;
|
|
|
1257
1295
|
};
|
|
1258
1296
|
})(AudienceResponse || (AudienceResponse = {}));
|
|
1259
1297
|
|
|
1260
|
-
/**
|
|
1261
|
-
* Intellibid API
|
|
1262
|
-
* API documentation for the Intellibid platform
|
|
1263
|
-
*
|
|
1264
|
-
* OpenAPI spec version: 1.0
|
|
1265
|
-
*
|
|
1266
|
-
*
|
|
1267
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1268
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
1269
|
-
* Do not edit the class manually.
|
|
1270
|
-
*/
|
|
1271
|
-
var AudienceSearchRequest;
|
|
1272
|
-
(function (AudienceSearchRequest) {
|
|
1273
|
-
AudienceSearchRequest.GroupTypeEnum = {
|
|
1274
|
-
BUCKETIZEDLIVE: 'BUCKETIZED_LIVE',
|
|
1275
|
-
BLOCKEDLIVE: 'BLOCKED_LIVE',
|
|
1276
|
-
BUCKETIZEDCUSTOM: 'BUCKETIZED_CUSTOM',
|
|
1277
|
-
DSCUSTOMQUERY: 'DS_CUSTOM_QUERY'
|
|
1278
|
-
};
|
|
1279
|
-
AudienceSearchRequest.SourcePlatformEnum = {
|
|
1280
|
-
META: 'META',
|
|
1281
|
-
TIKTOK: 'TIKTOK',
|
|
1282
|
-
SNAPCHAT: 'SNAPCHAT',
|
|
1283
|
-
GOOGLE: 'GOOGLE',
|
|
1284
|
-
LYADS: 'LYADS'
|
|
1285
|
-
};
|
|
1286
|
-
AudienceSearchRequest.AudienceTypeEnum = {
|
|
1287
|
-
DYNAMIC: 'DYNAMIC',
|
|
1288
|
-
CATALOGUE: 'CATALOGUE'
|
|
1289
|
-
};
|
|
1290
|
-
AudienceSearchRequest.AudienceSourceEnum = {
|
|
1291
|
-
INTELLIBID: 'INTELLIBID',
|
|
1292
|
-
DS: 'DS'
|
|
1293
|
-
};
|
|
1294
|
-
})(AudienceSearchRequest || (AudienceSearchRequest = {}));
|
|
1295
|
-
|
|
1296
1298
|
/**
|
|
1297
1299
|
* Intellibid API
|
|
1298
1300
|
* API documentation for the Intellibid platform
|
|
@@ -1768,6 +1770,18 @@ var UpdateDsCustomQuerySqlRequest;
|
|
|
1768
1770
|
};
|
|
1769
1771
|
})(UpdateDsCustomQuerySqlRequest || (UpdateDsCustomQuerySqlRequest = {}));
|
|
1770
1772
|
|
|
1773
|
+
/**
|
|
1774
|
+
* Intellibid API
|
|
1775
|
+
* API documentation for the Intellibid platform
|
|
1776
|
+
*
|
|
1777
|
+
* OpenAPI spec version: 1.0
|
|
1778
|
+
*
|
|
1779
|
+
*
|
|
1780
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1781
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1782
|
+
* Do not edit the class manually.
|
|
1783
|
+
*/
|
|
1784
|
+
|
|
1771
1785
|
class ApiModule {
|
|
1772
1786
|
static forRoot(configurationFactory) {
|
|
1773
1787
|
return {
|
|
@@ -1820,5 +1834,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1820
1834
|
* Generated bundle index. Do not edit.
|
|
1821
1835
|
*/
|
|
1822
1836
|
|
|
1823
|
-
export { APIS, AdAccountResponse, AdvertiserControllerService, ApiModule, AudienceControllerService, AudienceResponse,
|
|
1837
|
+
export { APIS, AdAccountResponse, AdvertiserControllerService, ApiModule, AudienceControllerService, AudienceResponse, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, ChildAudience, Configuration, CreateBlockedLiveAudienceRequest, CreateBucketizedCustomAudienceRequest, CreateBucketizedLiveAudienceRequest, CreateDsCustomQueryAudienceRequest, InsightsControllerService, LookupDataControllerService, ProductSetRequest, ProductSetResponse, ScheduleUpdateRequest, UpdateAudienceNameRequest, UpdateDsCustomQuerySqlRequest };
|
|
1824
1838
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|