@revxui/intellibid-client-ts 1.0.30 → 1.0.32
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 -3
- package/api/sourcePlatformTIKTOKController.service.d.ts +11 -0
- package/api/tiktokEngagementController.service.d.ts +50 -0
- package/esm2020/api/api.mjs +4 -4
- package/esm2020/api/sourcePlatformTIKTOKController.service.mjs +33 -1
- package/esm2020/api/tiktokEngagementController.service.mjs +142 -0
- package/esm2020/api.module.mjs +4 -4
- package/esm2020/model/createCampaignRequest.mjs +1 -1
- package/esm2020/model/dpaEngagementRequest.mjs +1 -1
- package/esm2020/model/dpaEngagementResponse.mjs +1 -1
- package/esm2020/model/models.mjs +2 -1
- package/esm2020/model/pageableObject.mjs +1 -1
- package/esm2020/model/tiktokEngagement.mjs +2 -0
- package/fesm2015/revxui-intellibid-client-ts.mjs +97 -11
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +97 -11
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/createCampaignRequest.d.ts +1 -0
- package/model/dpaEngagementRequest.d.ts +5 -2
- package/model/dpaEngagementResponse.d.ts +1 -0
- package/model/models.d.ts +1 -0
- package/model/pageableObject.d.ts +2 -2
- package/model/tiktokEngagement.d.ts +26 -0
- package/package.json +1 -1
- package/api/tiktokDpaEngagementController.service.d.ts +0 -30
- package/esm2020/api/tiktokDpaEngagementController.service.mjs +0 -88
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZWFibGVPYmplY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9tb2RlbC9wYWdlYWJsZU9iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBJbnRlbGxpYmlkIEFQSVxuICogQVBJIGRvY3VtZW50YXRpb24gZm9yIHRoZSBJbnRlbGxpYmlkIHBsYXRmb3JtXG4gKlxuICogT3BlbkFQSSBzcGVjIHZlcnNpb246IDEuMFxuICogXG4gKlxuICogTk9URTogVGhpcyBjbGFzcyBpcyBhdXRvIGdlbmVyYXRlZCBieSB0aGUgc3dhZ2dlciBjb2RlIGdlbmVyYXRvciBwcm9ncmFtLlxuICogaHR0cHM6Ly9naXRodWIuY29tL3N3YWdnZXItYXBpL3N3YWdnZXItY29kZWdlbi5naXRcbiAqIERvIG5vdCBlZGl0IHRoZSBjbGFzcyBtYW51YWxseS5cbiAqL1xuaW1wb3J0IHsgU29ydE9iamVjdCB9IGZyb20gJy4vc29ydE9iamVjdCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUGFnZWFibGVPYmplY3QgeyBcbiAgICBzb3J0PzogQXJyYXk8U29ydE9iamVjdD47XG4gICAgcGFnZU51bWJlcj86IG51bWJlcjtcbiAgICBwYWdlU2l6ZT86IG51bWJlcjtcbiAgICBwYWdlZD86IGJvb2xlYW47XG4gICAgdW5wYWdlZD86IGJvb2xlYW47XG4gICAgb2Zmc2V0PzogbnVtYmVyO1xufSJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlrdG9rRW5nYWdlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL3Rpa3Rva0VuZ2FnZW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW50ZWxsaWJpZCBBUElcbiAqIEFQSSBkb2N1bWVudGF0aW9uIGZvciB0aGUgSW50ZWxsaWJpZCBwbGF0Zm9ybVxuICpcbiAqIE9wZW5BUEkgc3BlYyB2ZXJzaW9uOiAxLjBcbiAqIFxuICpcbiAqIE5PVEU6IFRoaXMgY2xhc3MgaXMgYXV0byBnZW5lcmF0ZWQgYnkgdGhlIHN3YWdnZXIgY29kZSBnZW5lcmF0b3IgcHJvZ3JhbS5cbiAqIGh0dHBzOi8vZ2l0aHViLmNvbS9zd2FnZ2VyLWFwaS9zd2FnZ2VyLWNvZGVnZW4uZ2l0XG4gKiBEbyBub3QgZWRpdCB0aGUgY2xhc3MgbWFudWFsbHkuXG4gKi9cbmltcG9ydCB7IEF1ZGllbmNlRGV0YWlscyB9IGZyb20gJy4vYXVkaWVuY2VEZXRhaWxzJztcblxuZXhwb3J0IGludGVyZmFjZSBUaWt0b2tFbmdhZ2VtZW50IHsgXG4gICAgaWQ/OiBudW1iZXI7XG4gICAgYWR2ZXJ0aXNlcklkPzogbnVtYmVyO1xuICAgIHRpa3Rva0FjY291bnRJZD86IHN0cmluZztcbiAgICB0aWt0b2tJZGVudGl0eUlkPzogc3RyaW5nO1xuICAgIHRpa3Rva0RhdGFTb3VyY2VBbmRyb2lkQXBwSUQ/OiBzdHJpbmc7XG4gICAgdGlrdG9rRGF0YVNvdXJjZUlPU0FwcElEPzogc3RyaW5nO1xuICAgIHN0YXRpY0F1ZGllbmNlcz86IEFycmF5PEF1ZGllbmNlRGV0YWlscz47XG4gICAgZHluYW1pY0F1ZGllbmNlcz86IEFycmF5PEF1ZGllbmNlRGV0YWlscz47XG4gICAgY3JlYXRlZE9uPzogRGF0ZTtcbiAgICBjcmVhdGVkQnk/OiBudW1iZXI7XG4gICAgdXBkYXRlZE9uPzogRGF0ZTtcbiAgICB1cGRhdGVkQnk/OiBudW1iZXI7XG59Il19
|
|
@@ -2125,6 +2125,38 @@ class SourcePlatformTIKTOKControllerService {
|
|
|
2125
2125
|
reportProgress: reportProgress
|
|
2126
2126
|
});
|
|
2127
2127
|
}
|
|
2128
|
+
getAllAdVideosInfo(adAccountId, videoIds, observe = 'body', reportProgress = false) {
|
|
2129
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
2130
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideosInfo.');
|
|
2131
|
+
}
|
|
2132
|
+
if (videoIds === null || videoIds === undefined) {
|
|
2133
|
+
throw new Error('Required parameter videoIds was null or undefined when calling getAllAdVideosInfo.');
|
|
2134
|
+
}
|
|
2135
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
2136
|
+
if (videoIds) {
|
|
2137
|
+
videoIds.forEach((element) => {
|
|
2138
|
+
queryParameters = queryParameters.append('videoIds', element);
|
|
2139
|
+
});
|
|
2140
|
+
}
|
|
2141
|
+
let headers = this.defaultHeaders;
|
|
2142
|
+
// to determine the Accept header
|
|
2143
|
+
let httpHeaderAccepts = [
|
|
2144
|
+
'*/*'
|
|
2145
|
+
];
|
|
2146
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2147
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2148
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2149
|
+
}
|
|
2150
|
+
// to determine the Content-Type header
|
|
2151
|
+
const consumes = [];
|
|
2152
|
+
return this.httpClient.request('get', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
2153
|
+
params: queryParameters,
|
|
2154
|
+
withCredentials: this.configuration.withCredentials,
|
|
2155
|
+
headers: headers,
|
|
2156
|
+
observe: observe,
|
|
2157
|
+
reportProgress: reportProgress
|
|
2158
|
+
});
|
|
2159
|
+
}
|
|
2128
2160
|
uploadAdImages(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
2129
2161
|
if (adAccountId === null || adAccountId === undefined) {
|
|
2130
2162
|
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages.');
|
|
@@ -2289,7 +2321,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2289
2321
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
2290
2322
|
* Do not edit the class manually.
|
|
2291
2323
|
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
2292
|
-
class
|
|
2324
|
+
class TiktokEngagementControllerService {
|
|
2293
2325
|
constructor(httpClient, basePath, configuration) {
|
|
2294
2326
|
this.httpClient = httpClient;
|
|
2295
2327
|
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
@@ -2316,9 +2348,63 @@ class TiktokDpaEngagementControllerService {
|
|
|
2316
2348
|
}
|
|
2317
2349
|
return false;
|
|
2318
2350
|
}
|
|
2319
|
-
|
|
2351
|
+
create(body, observe = 'body', reportProgress = false) {
|
|
2320
2352
|
if (body === null || body === undefined) {
|
|
2321
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
2353
|
+
throw new Error('Required parameter body was null or undefined when calling create.');
|
|
2354
|
+
}
|
|
2355
|
+
let headers = this.defaultHeaders;
|
|
2356
|
+
// to determine the Accept header
|
|
2357
|
+
let httpHeaderAccepts = [
|
|
2358
|
+
'*/*'
|
|
2359
|
+
];
|
|
2360
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2361
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2362
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2363
|
+
}
|
|
2364
|
+
// to determine the Content-Type header
|
|
2365
|
+
const consumes = [
|
|
2366
|
+
'application/json'
|
|
2367
|
+
];
|
|
2368
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2369
|
+
if (httpContentTypeSelected != undefined) {
|
|
2370
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
2371
|
+
}
|
|
2372
|
+
return this.httpClient.request('post', `${this.basePath}/api/tiktok-engagement`, {
|
|
2373
|
+
body: body,
|
|
2374
|
+
withCredentials: this.configuration.withCredentials,
|
|
2375
|
+
headers: headers,
|
|
2376
|
+
observe: observe,
|
|
2377
|
+
reportProgress: reportProgress
|
|
2378
|
+
});
|
|
2379
|
+
}
|
|
2380
|
+
getByAdvertiserId(advertiserId, observe = 'body', reportProgress = false) {
|
|
2381
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
2382
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getByAdvertiserId.');
|
|
2383
|
+
}
|
|
2384
|
+
let headers = this.defaultHeaders;
|
|
2385
|
+
// to determine the Accept header
|
|
2386
|
+
let httpHeaderAccepts = [
|
|
2387
|
+
'*/*'
|
|
2388
|
+
];
|
|
2389
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2390
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2391
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2392
|
+
}
|
|
2393
|
+
// to determine the Content-Type header
|
|
2394
|
+
const consumes = [];
|
|
2395
|
+
return this.httpClient.request('get', `${this.basePath}/api/tiktok-engagement/advertiser/${encodeURIComponent(String(advertiserId))}`, {
|
|
2396
|
+
withCredentials: this.configuration.withCredentials,
|
|
2397
|
+
headers: headers,
|
|
2398
|
+
observe: observe,
|
|
2399
|
+
reportProgress: reportProgress
|
|
2400
|
+
});
|
|
2401
|
+
}
|
|
2402
|
+
update(body, id, observe = 'body', reportProgress = false) {
|
|
2403
|
+
if (body === null || body === undefined) {
|
|
2404
|
+
throw new Error('Required parameter body was null or undefined when calling update.');
|
|
2405
|
+
}
|
|
2406
|
+
if (id === null || id === undefined) {
|
|
2407
|
+
throw new Error('Required parameter id was null or undefined when calling update.');
|
|
2322
2408
|
}
|
|
2323
2409
|
let headers = this.defaultHeaders;
|
|
2324
2410
|
// to determine the Accept header
|
|
@@ -2337,7 +2423,7 @@ class TiktokDpaEngagementControllerService {
|
|
|
2337
2423
|
if (httpContentTypeSelected != undefined) {
|
|
2338
2424
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
2339
2425
|
}
|
|
2340
|
-
return this.httpClient.request('
|
|
2426
|
+
return this.httpClient.request('put', `${this.basePath}/api/tiktok-engagement/${encodeURIComponent(String(id))}`, {
|
|
2341
2427
|
body: body,
|
|
2342
2428
|
withCredentials: this.configuration.withCredentials,
|
|
2343
2429
|
headers: headers,
|
|
@@ -2346,9 +2432,9 @@ class TiktokDpaEngagementControllerService {
|
|
|
2346
2432
|
});
|
|
2347
2433
|
}
|
|
2348
2434
|
}
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
2435
|
+
TiktokEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2436
|
+
TiktokEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokEngagementControllerService });
|
|
2437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokEngagementControllerService, decorators: [{
|
|
2352
2438
|
type: Injectable
|
|
2353
2439
|
}], ctorParameters: function () {
|
|
2354
2440
|
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
@@ -2361,7 +2447,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2361
2447
|
}] }];
|
|
2362
2448
|
} });
|
|
2363
2449
|
|
|
2364
|
-
const APIS = [AdvertiserControllerService, BusinessGeoControllerService, CampaignInsightsControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService,
|
|
2450
|
+
const APIS = [AdvertiserControllerService, BusinessGeoControllerService, CampaignInsightsControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService, TiktokEngagementControllerService];
|
|
2365
2451
|
|
|
2366
2452
|
/**
|
|
2367
2453
|
* Intellibid API
|
|
@@ -2576,7 +2662,7 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
|
2576
2662
|
SourcePlatformMETADictionaryControllerService,
|
|
2577
2663
|
SourcePlatformTIKTOKControllerService,
|
|
2578
2664
|
SourcePlatformTIKTOKDictionaryControllerService,
|
|
2579
|
-
|
|
2665
|
+
TiktokEngagementControllerService
|
|
2580
2666
|
] });
|
|
2581
2667
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
2582
2668
|
type: NgModule,
|
|
@@ -2599,7 +2685,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2599
2685
|
SourcePlatformMETADictionaryControllerService,
|
|
2600
2686
|
SourcePlatformTIKTOKControllerService,
|
|
2601
2687
|
SourcePlatformTIKTOKDictionaryControllerService,
|
|
2602
|
-
|
|
2688
|
+
TiktokEngagementControllerService
|
|
2603
2689
|
]
|
|
2604
2690
|
}]
|
|
2605
2691
|
}], ctorParameters: function () {
|
|
@@ -2616,5 +2702,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2616
2702
|
* Generated bundle index. Do not edit.
|
|
2617
2703
|
*/
|
|
2618
2704
|
|
|
2619
|
-
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,
|
|
2705
|
+
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, TiktokEngagementControllerService };
|
|
2620
2706
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|