@revxui/intellibid-client-ts 1.0.28 → 1.0.30
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/tiktokDpaEngagementController.service.d.ts +30 -0
- package/esm2020/api/api.mjs +4 -2
- package/esm2020/api/tiktokDpaEngagementController.service.mjs +88 -0
- package/esm2020/api.module.mjs +6 -3
- package/esm2020/model/creativeDetails.mjs +1 -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/pageableObject.mjs +1 -1
- package/fesm2015/revxui-intellibid-client-ts.mjs +89 -4
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +87 -4
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/creativeDetails.d.ts +2 -2
- 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/pageableObject.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2250,7 +2250,88 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2250
2250
|
type: Optional
|
|
2251
2251
|
}] }]; } });
|
|
2252
2252
|
|
|
2253
|
-
|
|
2253
|
+
/**
|
|
2254
|
+
* Intellibid API
|
|
2255
|
+
* API documentation for the Intellibid platform
|
|
2256
|
+
*
|
|
2257
|
+
* OpenAPI spec version: 1.0
|
|
2258
|
+
*
|
|
2259
|
+
*
|
|
2260
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2261
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
2262
|
+
* Do not edit the class manually.
|
|
2263
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
2264
|
+
class TiktokDpaEngagementControllerService {
|
|
2265
|
+
constructor(httpClient, basePath, configuration) {
|
|
2266
|
+
this.httpClient = httpClient;
|
|
2267
|
+
this.basePath = 'http://dev1-intellibid-svc.revx.io';
|
|
2268
|
+
this.defaultHeaders = new HttpHeaders();
|
|
2269
|
+
this.configuration = new Configuration();
|
|
2270
|
+
if (basePath) {
|
|
2271
|
+
this.basePath = basePath;
|
|
2272
|
+
}
|
|
2273
|
+
if (configuration) {
|
|
2274
|
+
this.configuration = configuration;
|
|
2275
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
/**
|
|
2279
|
+
* @param consumes string[] mime-types
|
|
2280
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
2281
|
+
*/
|
|
2282
|
+
canConsumeForm(consumes) {
|
|
2283
|
+
const form = 'multipart/form-data';
|
|
2284
|
+
for (const consume of consumes) {
|
|
2285
|
+
if (form === consume) {
|
|
2286
|
+
return true;
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2289
|
+
return false;
|
|
2290
|
+
}
|
|
2291
|
+
createDpaEngagement1(body, observe = 'body', reportProgress = false) {
|
|
2292
|
+
if (body === null || body === undefined) {
|
|
2293
|
+
throw new Error('Required parameter body was null or undefined when calling createDpaEngagement1.');
|
|
2294
|
+
}
|
|
2295
|
+
let headers = this.defaultHeaders;
|
|
2296
|
+
// to determine the Accept header
|
|
2297
|
+
let httpHeaderAccepts = [
|
|
2298
|
+
'*/*'
|
|
2299
|
+
];
|
|
2300
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2301
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
2302
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2303
|
+
}
|
|
2304
|
+
// to determine the Content-Type header
|
|
2305
|
+
const consumes = [
|
|
2306
|
+
'application/json'
|
|
2307
|
+
];
|
|
2308
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2309
|
+
if (httpContentTypeSelected != undefined) {
|
|
2310
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
2311
|
+
}
|
|
2312
|
+
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/tiktok`, {
|
|
2313
|
+
body: body,
|
|
2314
|
+
withCredentials: this.configuration.withCredentials,
|
|
2315
|
+
headers: headers,
|
|
2316
|
+
observe: observe,
|
|
2317
|
+
reportProgress: reportProgress
|
|
2318
|
+
});
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
TiktokDpaEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokDpaEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2322
|
+
TiktokDpaEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokDpaEngagementControllerService });
|
|
2323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TiktokDpaEngagementControllerService, decorators: [{
|
|
2324
|
+
type: Injectable
|
|
2325
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2326
|
+
type: Optional
|
|
2327
|
+
}, {
|
|
2328
|
+
type: Inject,
|
|
2329
|
+
args: [BASE_PATH]
|
|
2330
|
+
}] }, { type: Configuration, decorators: [{
|
|
2331
|
+
type: Optional
|
|
2332
|
+
}] }]; } });
|
|
2333
|
+
|
|
2334
|
+
const APIS = [AdvertiserControllerService, BusinessGeoControllerService, CampaignInsightsControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookAdImageControllerService, FacebookAdVideoControllerService, FacebookEngagementControllerService, MobileAppDetailControllerService, PackageDetailControllerService, SourcePlatformMETAControllerService, SourcePlatformMETADictionaryControllerService, SourcePlatformTIKTOKControllerService, SourcePlatformTIKTOKDictionaryControllerService, TiktokDpaEngagementControllerService];
|
|
2254
2335
|
|
|
2255
2336
|
/**
|
|
2256
2337
|
* Intellibid API
|
|
@@ -2680,7 +2761,8 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
|
2680
2761
|
SourcePlatformMETAControllerService,
|
|
2681
2762
|
SourcePlatformMETADictionaryControllerService,
|
|
2682
2763
|
SourcePlatformTIKTOKControllerService,
|
|
2683
|
-
SourcePlatformTIKTOKDictionaryControllerService
|
|
2764
|
+
SourcePlatformTIKTOKDictionaryControllerService,
|
|
2765
|
+
TiktokDpaEngagementControllerService
|
|
2684
2766
|
] });
|
|
2685
2767
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
2686
2768
|
type: NgModule,
|
|
@@ -2702,7 +2784,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2702
2784
|
SourcePlatformMETAControllerService,
|
|
2703
2785
|
SourcePlatformMETADictionaryControllerService,
|
|
2704
2786
|
SourcePlatformTIKTOKControllerService,
|
|
2705
|
-
SourcePlatformTIKTOKDictionaryControllerService
|
|
2787
|
+
SourcePlatformTIKTOKDictionaryControllerService,
|
|
2788
|
+
TiktokDpaEngagementControllerService
|
|
2706
2789
|
]
|
|
2707
2790
|
}]
|
|
2708
2791
|
}], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
|
|
@@ -2717,5 +2800,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2717
2800
|
* Generated bundle index. Do not edit.
|
|
2718
2801
|
*/
|
|
2719
2802
|
|
|
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 };
|
|
2803
|
+
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, TiktokDpaEngagementControllerService };
|
|
2721
2804
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|