@revxui/intellibid-client-ts 1.0.29 → 1.0.31
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/sourcePlatformTIKTOKController.service.d.ts +11 -0
- package/api/tiktokEngagementController.service.d.ts +50 -0
- package/esm2020/api/api.mjs +4 -2
- package/esm2020/api/sourcePlatformTIKTOKController.service.mjs +33 -1
- package/esm2020/api/tiktokEngagementController.service.mjs +142 -0
- package/esm2020/api.module.mjs +6 -3
- 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/pageCampaignResponse.mjs +1 -1
- package/esm2020/model/pageDpaEngagementChangeLogResponse.mjs +1 -1
- package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
- package/esm2020/model/pageFacebookEngagementResponse.mjs +1 -1
- package/esm2020/model/pageMobileAppDetailResponse.mjs +1 -1
- package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
- package/esm2020/model/tiktokEngagement.mjs +2 -0
- package/fesm2015/revxui-intellibid-client-ts.mjs +175 -4
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +173 -4
- 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/pageCampaignResponse.d.ts +1 -1
- package/model/pageDpaEngagementChangeLogResponse.d.ts +1 -1
- package/model/pageDpaEngagementResponse.d.ts +1 -1
- package/model/pageFacebookEngagementResponse.d.ts +1 -1
- package/model/pageMobileAppDetailResponse.d.ts +1 -1
- package/model/pagePackageDetailResponse.d.ts +1 -1
- package/model/tiktokEngagement.d.ts +26 -0
- package/package.json +1 -1
|
@@ -2101,6 +2101,38 @@ class SourcePlatformTIKTOKControllerService {
|
|
|
2101
2101
|
reportProgress: reportProgress
|
|
2102
2102
|
});
|
|
2103
2103
|
}
|
|
2104
|
+
getAllAdVideosInfo(adAccountId, videoIds, observe = 'body', reportProgress = false) {
|
|
2105
|
+
if (adAccountId === null || adAccountId === undefined) {
|
|
2106
|
+
throw new Error('Required parameter adAccountId was null or undefined when calling getAllAdVideosInfo.');
|
|
2107
|
+
}
|
|
2108
|
+
if (videoIds === null || videoIds === undefined) {
|
|
2109
|
+
throw new Error('Required parameter videoIds was null or undefined when calling getAllAdVideosInfo.');
|
|
2110
|
+
}
|
|
2111
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
2112
|
+
if (videoIds) {
|
|
2113
|
+
videoIds.forEach((element) => {
|
|
2114
|
+
queryParameters = queryParameters.append('videoIds', element);
|
|
2115
|
+
});
|
|
2116
|
+
}
|
|
2117
|
+
let headers = this.defaultHeaders;
|
|
2118
|
+
// to determine the Accept header
|
|
2119
|
+
let httpHeaderAccepts = [
|
|
2120
|
+
'*/*'
|
|
2121
|
+
];
|
|
2122
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2123
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2124
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2125
|
+
}
|
|
2126
|
+
// to determine the Content-Type header
|
|
2127
|
+
const consumes = [];
|
|
2128
|
+
return this.httpClient.request('get', `${this.basePath}/api/tiktok/${encodeURIComponent(String(adAccountId))}/ad-video`, {
|
|
2129
|
+
params: queryParameters,
|
|
2130
|
+
withCredentials: this.configuration.withCredentials,
|
|
2131
|
+
headers: headers,
|
|
2132
|
+
observe: observe,
|
|
2133
|
+
reportProgress: reportProgress
|
|
2134
|
+
});
|
|
2135
|
+
}
|
|
2104
2136
|
uploadAdImages(adAccountId, files, observe = 'body', reportProgress = false) {
|
|
2105
2137
|
if (adAccountId === null || adAccountId === undefined) {
|
|
2106
2138
|
throw new Error('Required parameter adAccountId was null or undefined when calling uploadAdImages.');
|
|
@@ -2250,7 +2282,142 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2250
2282
|
type: Optional
|
|
2251
2283
|
}] }]; } });
|
|
2252
2284
|
|
|
2253
|
-
|
|
2285
|
+
/**
|
|
2286
|
+
* Intellibid API
|
|
2287
|
+
* API documentation for the Intellibid platform
|
|
2288
|
+
*
|
|
2289
|
+
* OpenAPI spec version: 1.0
|
|
2290
|
+
*
|
|
2291
|
+
*
|
|
2292
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2293
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
2294
|
+
* Do not edit the class manually.
|
|
2295
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
2296
|
+
class TiktokEngagementControllerService {
|
|
2297
|
+
constructor(httpClient, basePath, configuration) {
|
|
2298
|
+
this.httpClient = httpClient;
|
|
2299
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
2300
|
+
this.defaultHeaders = new HttpHeaders();
|
|
2301
|
+
this.configuration = new Configuration();
|
|
2302
|
+
if (basePath) {
|
|
2303
|
+
this.basePath = basePath;
|
|
2304
|
+
}
|
|
2305
|
+
if (configuration) {
|
|
2306
|
+
this.configuration = configuration;
|
|
2307
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
/**
|
|
2311
|
+
* @param consumes string[] mime-types
|
|
2312
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
2313
|
+
*/
|
|
2314
|
+
canConsumeForm(consumes) {
|
|
2315
|
+
const form = 'multipart/form-data';
|
|
2316
|
+
for (const consume of consumes) {
|
|
2317
|
+
if (form === consume) {
|
|
2318
|
+
return true;
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
return false;
|
|
2322
|
+
}
|
|
2323
|
+
create(body, observe = 'body', reportProgress = false) {
|
|
2324
|
+
if (body === null || body === undefined) {
|
|
2325
|
+
throw new Error('Required parameter body was null or undefined when calling create.');
|
|
2326
|
+
}
|
|
2327
|
+
let headers = this.defaultHeaders;
|
|
2328
|
+
// to determine the Accept header
|
|
2329
|
+
let httpHeaderAccepts = [
|
|
2330
|
+
'*/*'
|
|
2331
|
+
];
|
|
2332
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2333
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2334
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2335
|
+
}
|
|
2336
|
+
// to determine the Content-Type header
|
|
2337
|
+
const consumes = [
|
|
2338
|
+
'application/json'
|
|
2339
|
+
];
|
|
2340
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2341
|
+
if (httpContentTypeSelected != undefined) {
|
|
2342
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
2343
|
+
}
|
|
2344
|
+
return this.httpClient.request('post', `${this.basePath}/api/tiktok-engagement`, {
|
|
2345
|
+
body: body,
|
|
2346
|
+
withCredentials: this.configuration.withCredentials,
|
|
2347
|
+
headers: headers,
|
|
2348
|
+
observe: observe,
|
|
2349
|
+
reportProgress: reportProgress
|
|
2350
|
+
});
|
|
2351
|
+
}
|
|
2352
|
+
getByAdvertiserId(advertiserId, observe = 'body', reportProgress = false) {
|
|
2353
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
2354
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling getByAdvertiserId.');
|
|
2355
|
+
}
|
|
2356
|
+
let headers = this.defaultHeaders;
|
|
2357
|
+
// to determine the Accept header
|
|
2358
|
+
let httpHeaderAccepts = [
|
|
2359
|
+
'*/*'
|
|
2360
|
+
];
|
|
2361
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2362
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2363
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2364
|
+
}
|
|
2365
|
+
// to determine the Content-Type header
|
|
2366
|
+
const consumes = [];
|
|
2367
|
+
return this.httpClient.request('get', `${this.basePath}/api/tiktok-engagement/advertiser/${encodeURIComponent(String(advertiserId))}`, {
|
|
2368
|
+
withCredentials: this.configuration.withCredentials,
|
|
2369
|
+
headers: headers,
|
|
2370
|
+
observe: observe,
|
|
2371
|
+
reportProgress: reportProgress
|
|
2372
|
+
});
|
|
2373
|
+
}
|
|
2374
|
+
update(body, id, observe = 'body', reportProgress = false) {
|
|
2375
|
+
if (body === null || body === undefined) {
|
|
2376
|
+
throw new Error('Required parameter body was null or undefined when calling update.');
|
|
2377
|
+
}
|
|
2378
|
+
if (id === null || id === undefined) {
|
|
2379
|
+
throw new Error('Required parameter id was null or undefined when calling update.');
|
|
2380
|
+
}
|
|
2381
|
+
let headers = this.defaultHeaders;
|
|
2382
|
+
// to determine the Accept header
|
|
2383
|
+
let httpHeaderAccepts = [
|
|
2384
|
+
'*/*'
|
|
2385
|
+
];
|
|
2386
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2387
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2388
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2389
|
+
}
|
|
2390
|
+
// to determine the Content-Type header
|
|
2391
|
+
const consumes = [
|
|
2392
|
+
'application/json'
|
|
2393
|
+
];
|
|
2394
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2395
|
+
if (httpContentTypeSelected != undefined) {
|
|
2396
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
2397
|
+
}
|
|
2398
|
+
return this.httpClient.request('put', `${this.basePath}/api/tiktok-engagement/${encodeURIComponent(String(id))}`, {
|
|
2399
|
+
body: body,
|
|
2400
|
+
withCredentials: this.configuration.withCredentials,
|
|
2401
|
+
headers: headers,
|
|
2402
|
+
observe: observe,
|
|
2403
|
+
reportProgress: reportProgress
|
|
2404
|
+
});
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
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 });
|
|
2408
|
+
TiktokEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokEngagementControllerService });
|
|
2409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokEngagementControllerService, decorators: [{
|
|
2410
|
+
type: Injectable
|
|
2411
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2412
|
+
type: Optional
|
|
2413
|
+
}, {
|
|
2414
|
+
type: Inject,
|
|
2415
|
+
args: [BASE_PATH]
|
|
2416
|
+
}] }, { type: Configuration, decorators: [{
|
|
2417
|
+
type: Optional
|
|
2418
|
+
}] }]; } });
|
|
2419
|
+
|
|
2420
|
+
const APIS = [AdvertiserControllerService, BusinessGeoControllerService, CampaignInsightsControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService, TiktokEngagementControllerService];
|
|
2254
2421
|
|
|
2255
2422
|
/**
|
|
2256
2423
|
* Intellibid API
|
|
@@ -2680,7 +2847,8 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
|
2680
2847
|
SourcePlatformMETAControllerService,
|
|
2681
2848
|
SourcePlatformMETADictionaryControllerService,
|
|
2682
2849
|
SourcePlatformTIKTOKControllerService,
|
|
2683
|
-
SourcePlatformTIKTOKDictionaryControllerService
|
|
2850
|
+
SourcePlatformTIKTOKDictionaryControllerService,
|
|
2851
|
+
TiktokEngagementControllerService
|
|
2684
2852
|
] });
|
|
2685
2853
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
2686
2854
|
type: NgModule,
|
|
@@ -2702,7 +2870,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2702
2870
|
SourcePlatformMETAControllerService,
|
|
2703
2871
|
SourcePlatformMETADictionaryControllerService,
|
|
2704
2872
|
SourcePlatformTIKTOKControllerService,
|
|
2705
|
-
SourcePlatformTIKTOKDictionaryControllerService
|
|
2873
|
+
SourcePlatformTIKTOKDictionaryControllerService,
|
|
2874
|
+
TiktokEngagementControllerService
|
|
2706
2875
|
]
|
|
2707
2876
|
}]
|
|
2708
2877
|
}], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
|
|
@@ -2717,5 +2886,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2717
2886
|
* Generated bundle index. Do not edit.
|
|
2718
2887
|
*/
|
|
2719
2888
|
|
|
2720
|
-
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 };
|
|
2889
|
+
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 };
|
|
2721
2890
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|