@revxui/intellibid-client-ts 1.0.1 → 1.0.3
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/campaignController.service.d.ts +11 -0
- package/api/dpaCampaignController.service.d.ts +3 -3
- package/api/dpaEngagementController.service.d.ts +11 -0
- package/api/facebookEngagementController.service.d.ts +77 -0
- package/esm2020/api/api.mjs +4 -2
- package/esm2020/api/campaignController.service.mjs +28 -1
- package/esm2020/api/dpaCampaignController.service.mjs +4 -4
- package/esm2020/api/dpaEngagementController.service.mjs +28 -1
- package/esm2020/api/facebookEngagementController.service.mjs +214 -0
- package/esm2020/api.module.mjs +4 -1
- package/esm2020/model/entitySearchResponse.mjs +13 -0
- package/esm2020/model/facebookDetails.mjs +1 -1
- package/esm2020/model/facebookEngagementRequest.mjs +13 -0
- package/esm2020/model/facebookEngagementResponse.mjs +21 -0
- package/esm2020/model/models.mjs +5 -1
- package/esm2020/model/pageFacebookEngagementResponse.mjs +2 -0
- package/esm2020/model/pageableObject.mjs +1 -1
- package/fesm2015/revxui-intellibid-client-ts.mjs +290 -5
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +312 -5
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/entitySearchResponse.d.ts +15 -0
- package/model/facebookDetails.d.ts +1 -1
- package/model/facebookEngagementRequest.d.ts +24 -0
- package/model/facebookEngagementResponse.d.ts +39 -0
- package/model/models.d.ts +4 -0
- package/model/pageFacebookEngagementResponse.d.ts +27 -0
- package/model/pageableObject.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export var FacebookEngagementResponse;
|
|
13
|
+
(function (FacebookEngagementResponse) {
|
|
14
|
+
FacebookEngagementResponse.FacebookCatalogTypeEnum = {
|
|
15
|
+
COMMERCE: 'COMMERCE',
|
|
16
|
+
HOTELS: 'HOTELS',
|
|
17
|
+
DESTINATIONS: 'DESTINATIONS',
|
|
18
|
+
FLIGHTS: 'FLIGHTS'
|
|
19
|
+
};
|
|
20
|
+
})(FacebookEngagementResponse || (FacebookEngagementResponse = {}));
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFjZWJvb2tFbmdhZ2VtZW50UmVzcG9uc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9tb2RlbC9mYWNlYm9va0VuZ2FnZW1lbnRSZXNwb25zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7OztHQVVHO0FBcUJILE1BQU0sS0FBVywwQkFBMEIsQ0FRMUM7QUFSRCxXQUFpQiwwQkFBMEI7SUFFMUIsa0RBQXVCLEdBQUc7UUFDbkMsUUFBUSxFQUFFLFVBQXFDO1FBQy9DLE1BQU0sRUFBRSxRQUFtQztRQUMzQyxZQUFZLEVBQUUsY0FBeUM7UUFDdkQsT0FBTyxFQUFFLFNBQW9DO0tBQ2hELENBQUM7QUFDTixDQUFDLEVBUmdCLDBCQUEwQixLQUExQiwwQkFBMEIsUUFRMUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFxuICogXG4gKlxuICogXG4gKiBcbiAqXG4gKiBOT1RFOiBUaGlzIGNsYXNzIGlzIGF1dG8gZ2VuZXJhdGVkIGJ5IHRoZSBzd2FnZ2VyIGNvZGUgZ2VuZXJhdG9yIHByb2dyYW0uXG4gKiBodHRwczov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FRTJztcbiAgICBleHBvcnQgY29uc3QgRmFjZWJvb2tDYXRhbG9nVHlwZUVudW0gPSB7XG4gICAgICAgIENPTU1FUkNFOiAnQ09NTUVSQ0UnIGFzIEZhY2Vib29rQ2F0YWxvZ1R5cGVFbnVtLFxuICAgICAgICBIT1RFTFM6ICdIT1RFTFMnIGFzIEZhY2Vib29rQ2F0YWxvZ1R5cGVFbnVtLFxuICAgICAgICBERVNUSU5BVElPTlM6ICdERVNUSU5BVElPTlMnIGFzIEZhY2Vib29rQ2F0YWxvZ1R5cGVFbnVtLFxuICAgICAgICBGTElHSFRTOiAnRkxJR0hUUycgYXMgRmFjZWJvb2tDYXRhbG9nVHlwZUVudW1cbiAgICB9O1xufSJdfQ==
|
package/esm2020/model/models.mjs
CHANGED
|
@@ -9,14 +9,18 @@ export * from './dpaCampaignRequest';
|
|
|
9
9
|
export * from './dpaCampaignResponse';
|
|
10
10
|
export * from './dpaEngagementRequest';
|
|
11
11
|
export * from './dpaEngagementResponse';
|
|
12
|
+
export * from './entitySearchResponse';
|
|
12
13
|
export * from './exclusionRule';
|
|
13
14
|
export * from './facebookDetails';
|
|
15
|
+
export * from './facebookEngagementRequest';
|
|
16
|
+
export * from './facebookEngagementResponse';
|
|
14
17
|
export * from './imageOverlaySpecDetails';
|
|
15
18
|
export * from './packageDetailResponse';
|
|
16
19
|
export * from './pageCampaignResponse';
|
|
17
20
|
export * from './pageDpaEngagementResponse';
|
|
21
|
+
export * from './pageFacebookEngagementResponse';
|
|
18
22
|
export * from './pagePackageDetailResponse';
|
|
19
23
|
export * from './pageableObject';
|
|
20
24
|
export * from './sortObject';
|
|
21
25
|
export * from './updateDailyBudgetRequest';
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbW9kZWwvbW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mplY3Q+O1xuICAgIG51bWJlck9mRWxlbWVudHM/OiBudW1iZXI7XG4gICAgcGFnZWFibGU/OiBQYWdlYWJsZU9iamVjdDtcbiAgICBsYXN0PzogYm9vbGVhbjtcbiAgICBzaXplPzogbnVtYmVyO1xuICAgIGNvbnRlbnQ/OiBBcnJheTxGYWNlYm9va0VuZ2FnZW1lbnRSZXNwb25zZT47XG4gICAgbnVtYmVyPzogbnVtYmVyO1xuICAgIGVtcHR5PzogYm9vbGVhbjtcbn0iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZWFibGVPYmplY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9tb2RlbC9wYWdlYWJsZU9iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBcbiAqIFxuICpcbiAqIFxuICogXG4gKlxuICogTk9URTogVGhpcyBjbGFzcyBpcyBhdXRvIGdlbmVyYXRlZCBieSB0aGUgc3dhZ2dlciBjb2RlIGdlbmVyYXRvciBwcm9ncmFtLlxuICogaHR0cHM6Ly9naXRodWIuY29tL3N3YWdnZXItYXBpL3N3YWdnZXItY29kZWdlbi5naXRcbiAqIERvIG5vdCBlZGl0IHRoZSBjbGFzcyBtYW51YWxseS5cbiAqL1xuaW1wb3J0IHsgU29ydE9iamVjdCB9IGZyb20gJy4vc29ydE9iamVjdCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUGFnZWFibGVPYmplY3QgeyBcbiAgICBzb3J0PzogQXJyYXk8U29ydE9iamVjdD47XG4gICAgcGFnZU51bWJlcj86IG51bWJlcjtcbiAgICBwYWdlU2l6ZT86IG51bWJlcjtcbiAgICBwYWdlZD86IGJvb2xlYW47XG4gICAgdW5wYWdlZD86IGJvb2xlYW47XG4gICAgb2Zmc2V0PzogbnVtYmVyO1xufSJdfQ==
|
|
@@ -289,6 +289,33 @@ class CampaignControllerService {
|
|
|
289
289
|
reportProgress: reportProgress
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
|
+
searchCampaigns(q, observe = 'body', reportProgress = false) {
|
|
293
|
+
if (q === null || q === undefined) {
|
|
294
|
+
throw new Error('Required parameter q was null or undefined when calling searchCampaigns.');
|
|
295
|
+
}
|
|
296
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
297
|
+
if (q !== undefined && q !== null) {
|
|
298
|
+
queryParameters = queryParameters.set('q', q);
|
|
299
|
+
}
|
|
300
|
+
let headers = this.defaultHeaders;
|
|
301
|
+
// to determine the Accept header
|
|
302
|
+
let httpHeaderAccepts = [
|
|
303
|
+
'*/*'
|
|
304
|
+
];
|
|
305
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
306
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
307
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
308
|
+
}
|
|
309
|
+
// to determine the Content-Type header
|
|
310
|
+
const consumes = [];
|
|
311
|
+
return this.httpClient.request('get', `${this.basePath}/campaign/search`, {
|
|
312
|
+
params: queryParameters,
|
|
313
|
+
withCredentials: this.configuration.withCredentials,
|
|
314
|
+
headers: headers,
|
|
315
|
+
observe: observe,
|
|
316
|
+
reportProgress: reportProgress
|
|
317
|
+
});
|
|
318
|
+
}
|
|
292
319
|
}
|
|
293
320
|
CampaignControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
294
321
|
CampaignControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CampaignControllerService });
|
|
@@ -416,12 +443,12 @@ class DpaCampaignControllerService {
|
|
|
416
443
|
}
|
|
417
444
|
return false;
|
|
418
445
|
}
|
|
419
|
-
|
|
446
|
+
createOrUpdateDpaCampaign(body, id, observe = 'body', reportProgress = false) {
|
|
420
447
|
if (body === null || body === undefined) {
|
|
421
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
448
|
+
throw new Error('Required parameter body was null or undefined when calling createOrUpdateDpaCampaign.');
|
|
422
449
|
}
|
|
423
450
|
if (id === null || id === undefined) {
|
|
424
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
451
|
+
throw new Error('Required parameter id was null or undefined when calling createOrUpdateDpaCampaign.');
|
|
425
452
|
}
|
|
426
453
|
let headers = this.defaultHeaders;
|
|
427
454
|
// to determine the Accept header
|
|
@@ -732,6 +759,33 @@ class DpaEngagementControllerService {
|
|
|
732
759
|
reportProgress: reportProgress
|
|
733
760
|
});
|
|
734
761
|
}
|
|
762
|
+
searchDpaEngagements(q, observe = 'body', reportProgress = false) {
|
|
763
|
+
if (q === null || q === undefined) {
|
|
764
|
+
throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
|
|
765
|
+
}
|
|
766
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
767
|
+
if (q !== undefined && q !== null) {
|
|
768
|
+
queryParameters = queryParameters.set('q', q);
|
|
769
|
+
}
|
|
770
|
+
let headers = this.defaultHeaders;
|
|
771
|
+
// to determine the Accept header
|
|
772
|
+
let httpHeaderAccepts = [
|
|
773
|
+
'*/*'
|
|
774
|
+
];
|
|
775
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
776
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
777
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
778
|
+
}
|
|
779
|
+
// to determine the Content-Type header
|
|
780
|
+
const consumes = [];
|
|
781
|
+
return this.httpClient.request('get', `${this.basePath}/dpa-engagement/search`, {
|
|
782
|
+
params: queryParameters,
|
|
783
|
+
withCredentials: this.configuration.withCredentials,
|
|
784
|
+
headers: headers,
|
|
785
|
+
observe: observe,
|
|
786
|
+
reportProgress: reportProgress
|
|
787
|
+
});
|
|
788
|
+
}
|
|
735
789
|
updateDailyBudget(body, id, observe = 'body', reportProgress = false) {
|
|
736
790
|
if (body === null || body === undefined) {
|
|
737
791
|
throw new Error('Required parameter body was null or undefined when calling updateDailyBudget.');
|
|
@@ -812,6 +866,214 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
812
866
|
}] }];
|
|
813
867
|
} });
|
|
814
868
|
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
*
|
|
872
|
+
*
|
|
873
|
+
*
|
|
874
|
+
*
|
|
875
|
+
*
|
|
876
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
877
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
878
|
+
* Do not edit the class manually.
|
|
879
|
+
*/ /* tslint:disable:no-unused-variable member-ordering */
|
|
880
|
+
class FacebookEngagementControllerService {
|
|
881
|
+
constructor(httpClient, basePath, configuration) {
|
|
882
|
+
this.httpClient = httpClient;
|
|
883
|
+
this.basePath = 'http://intellibid-api.atomex.net:8081/api';
|
|
884
|
+
this.defaultHeaders = new HttpHeaders();
|
|
885
|
+
this.configuration = new Configuration();
|
|
886
|
+
if (basePath) {
|
|
887
|
+
this.basePath = basePath;
|
|
888
|
+
}
|
|
889
|
+
if (configuration) {
|
|
890
|
+
this.configuration = configuration;
|
|
891
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* @param consumes string[] mime-types
|
|
896
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
897
|
+
*/
|
|
898
|
+
canConsumeForm(consumes) {
|
|
899
|
+
const form = 'multipart/form-data';
|
|
900
|
+
for (const consume of consumes) {
|
|
901
|
+
if (form === consume) {
|
|
902
|
+
return true;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
return false;
|
|
906
|
+
}
|
|
907
|
+
createFacebookEngagement(body, observe = 'body', reportProgress = false) {
|
|
908
|
+
if (body === null || body === undefined) {
|
|
909
|
+
throw new Error('Required parameter body was null or undefined when calling createFacebookEngagement.');
|
|
910
|
+
}
|
|
911
|
+
let headers = this.defaultHeaders;
|
|
912
|
+
// to determine the Accept header
|
|
913
|
+
let httpHeaderAccepts = [
|
|
914
|
+
'*/*'
|
|
915
|
+
];
|
|
916
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
917
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
918
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
919
|
+
}
|
|
920
|
+
// to determine the Content-Type header
|
|
921
|
+
const consumes = [
|
|
922
|
+
'application/json'
|
|
923
|
+
];
|
|
924
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
925
|
+
if (httpContentTypeSelected != undefined) {
|
|
926
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
927
|
+
}
|
|
928
|
+
return this.httpClient.request('post', `${this.basePath}/facebook-engagement`, {
|
|
929
|
+
body: body,
|
|
930
|
+
withCredentials: this.configuration.withCredentials,
|
|
931
|
+
headers: headers,
|
|
932
|
+
observe: observe,
|
|
933
|
+
reportProgress: reportProgress
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
getAllFacebookEngagements(id, campaignId, facebookAccountId, facebookFanPageId, facebookCatalogId, facebookCatalogType, instagramActorId, facebookPixelId, facebookAppId, facebookProductSetId, tosAccepted, eventSourceGroupId, audienceDsdo, page, size, sort, observe = 'body', reportProgress = false) {
|
|
937
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
938
|
+
if (id !== undefined && id !== null) {
|
|
939
|
+
queryParameters = queryParameters.set('id', id);
|
|
940
|
+
}
|
|
941
|
+
if (campaignId !== undefined && campaignId !== null) {
|
|
942
|
+
queryParameters = queryParameters.set('campaignId', campaignId);
|
|
943
|
+
}
|
|
944
|
+
if (facebookAccountId !== undefined && facebookAccountId !== null) {
|
|
945
|
+
queryParameters = queryParameters.set('facebookAccountId', facebookAccountId);
|
|
946
|
+
}
|
|
947
|
+
if (facebookFanPageId !== undefined && facebookFanPageId !== null) {
|
|
948
|
+
queryParameters = queryParameters.set('facebookFanPageId', facebookFanPageId);
|
|
949
|
+
}
|
|
950
|
+
if (facebookCatalogId !== undefined && facebookCatalogId !== null) {
|
|
951
|
+
queryParameters = queryParameters.set('facebookCatalogId', facebookCatalogId);
|
|
952
|
+
}
|
|
953
|
+
if (facebookCatalogType !== undefined && facebookCatalogType !== null) {
|
|
954
|
+
queryParameters = queryParameters.set('facebookCatalogType', facebookCatalogType);
|
|
955
|
+
}
|
|
956
|
+
if (instagramActorId !== undefined && instagramActorId !== null) {
|
|
957
|
+
queryParameters = queryParameters.set('instagramActorId', instagramActorId);
|
|
958
|
+
}
|
|
959
|
+
if (facebookPixelId !== undefined && facebookPixelId !== null) {
|
|
960
|
+
queryParameters = queryParameters.set('facebookPixelId', facebookPixelId);
|
|
961
|
+
}
|
|
962
|
+
if (facebookAppId !== undefined && facebookAppId !== null) {
|
|
963
|
+
queryParameters = queryParameters.set('facebookAppId', facebookAppId);
|
|
964
|
+
}
|
|
965
|
+
if (facebookProductSetId !== undefined && facebookProductSetId !== null) {
|
|
966
|
+
queryParameters = queryParameters.set('facebookProductSetId', facebookProductSetId);
|
|
967
|
+
}
|
|
968
|
+
if (tosAccepted !== undefined && tosAccepted !== null) {
|
|
969
|
+
queryParameters = queryParameters.set('tosAccepted', tosAccepted);
|
|
970
|
+
}
|
|
971
|
+
if (eventSourceGroupId !== undefined && eventSourceGroupId !== null) {
|
|
972
|
+
queryParameters = queryParameters.set('eventSourceGroupId', eventSourceGroupId);
|
|
973
|
+
}
|
|
974
|
+
if (audienceDsdo !== undefined && audienceDsdo !== null) {
|
|
975
|
+
queryParameters = queryParameters.set('audienceDsdo', audienceDsdo);
|
|
976
|
+
}
|
|
977
|
+
if (page !== undefined && page !== null) {
|
|
978
|
+
queryParameters = queryParameters.set('page', page);
|
|
979
|
+
}
|
|
980
|
+
if (size !== undefined && size !== null) {
|
|
981
|
+
queryParameters = queryParameters.set('size', size);
|
|
982
|
+
}
|
|
983
|
+
if (sort) {
|
|
984
|
+
sort.forEach((element) => {
|
|
985
|
+
queryParameters = queryParameters.append('sort', element);
|
|
986
|
+
});
|
|
987
|
+
}
|
|
988
|
+
let headers = this.defaultHeaders;
|
|
989
|
+
// to determine the Accept header
|
|
990
|
+
let httpHeaderAccepts = [
|
|
991
|
+
'*/*'
|
|
992
|
+
];
|
|
993
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
994
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
995
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
996
|
+
}
|
|
997
|
+
// to determine the Content-Type header
|
|
998
|
+
const consumes = [];
|
|
999
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement`, {
|
|
1000
|
+
params: queryParameters,
|
|
1001
|
+
withCredentials: this.configuration.withCredentials,
|
|
1002
|
+
headers: headers,
|
|
1003
|
+
observe: observe,
|
|
1004
|
+
reportProgress: reportProgress
|
|
1005
|
+
});
|
|
1006
|
+
}
|
|
1007
|
+
getFacebookEngagement(id, observe = 'body', reportProgress = false) {
|
|
1008
|
+
if (id === null || id === undefined) {
|
|
1009
|
+
throw new Error('Required parameter id was null or undefined when calling getFacebookEngagement.');
|
|
1010
|
+
}
|
|
1011
|
+
let headers = this.defaultHeaders;
|
|
1012
|
+
// to determine the Accept header
|
|
1013
|
+
let httpHeaderAccepts = [
|
|
1014
|
+
'*/*'
|
|
1015
|
+
];
|
|
1016
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1017
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1018
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1019
|
+
}
|
|
1020
|
+
// to determine the Content-Type header
|
|
1021
|
+
const consumes = [];
|
|
1022
|
+
return this.httpClient.request('get', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1023
|
+
withCredentials: this.configuration.withCredentials,
|
|
1024
|
+
headers: headers,
|
|
1025
|
+
observe: observe,
|
|
1026
|
+
reportProgress: reportProgress
|
|
1027
|
+
});
|
|
1028
|
+
}
|
|
1029
|
+
updateFacebookEngagement(body, id, observe = 'body', reportProgress = false) {
|
|
1030
|
+
if (body === null || body === undefined) {
|
|
1031
|
+
throw new Error('Required parameter body was null or undefined when calling updateFacebookEngagement.');
|
|
1032
|
+
}
|
|
1033
|
+
if (id === null || id === undefined) {
|
|
1034
|
+
throw new Error('Required parameter id was null or undefined when calling updateFacebookEngagement.');
|
|
1035
|
+
}
|
|
1036
|
+
let headers = this.defaultHeaders;
|
|
1037
|
+
// to determine the Accept header
|
|
1038
|
+
let httpHeaderAccepts = [
|
|
1039
|
+
'*/*'
|
|
1040
|
+
];
|
|
1041
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1042
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1043
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1044
|
+
}
|
|
1045
|
+
// to determine the Content-Type header
|
|
1046
|
+
const consumes = [
|
|
1047
|
+
'application/json'
|
|
1048
|
+
];
|
|
1049
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1050
|
+
if (httpContentTypeSelected != undefined) {
|
|
1051
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1052
|
+
}
|
|
1053
|
+
return this.httpClient.request('post', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
|
|
1054
|
+
body: body,
|
|
1055
|
+
withCredentials: this.configuration.withCredentials,
|
|
1056
|
+
headers: headers,
|
|
1057
|
+
observe: observe,
|
|
1058
|
+
reportProgress: reportProgress
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
FacebookEngagementControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1063
|
+
FacebookEngagementControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService });
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FacebookEngagementControllerService, decorators: [{
|
|
1065
|
+
type: Injectable
|
|
1066
|
+
}], ctorParameters: function () {
|
|
1067
|
+
return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1068
|
+
type: Optional
|
|
1069
|
+
}, {
|
|
1070
|
+
type: Inject,
|
|
1071
|
+
args: [BASE_PATH]
|
|
1072
|
+
}] }, { type: Configuration, decorators: [{
|
|
1073
|
+
type: Optional
|
|
1074
|
+
}] }];
|
|
1075
|
+
} });
|
|
1076
|
+
|
|
815
1077
|
/**
|
|
816
1078
|
*
|
|
817
1079
|
*
|
|
@@ -929,7 +1191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
929
1191
|
}] }];
|
|
930
1192
|
} });
|
|
931
1193
|
|
|
932
|
-
const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, PackageDetailControllerService];
|
|
1194
|
+
const APIS = [BusinessGeoControllerService, CampaignControllerService, CountryControllerService, DpaCampaignControllerService, DpaEngagementControllerService, FacebookEngagementControllerService, PackageDetailControllerService];
|
|
933
1195
|
|
|
934
1196
|
/**
|
|
935
1197
|
*
|
|
@@ -1026,6 +1288,27 @@ var DpaEngagementResponse;
|
|
|
1026
1288
|
};
|
|
1027
1289
|
})(DpaEngagementResponse || (DpaEngagementResponse = {}));
|
|
1028
1290
|
|
|
1291
|
+
/**
|
|
1292
|
+
*
|
|
1293
|
+
*
|
|
1294
|
+
*
|
|
1295
|
+
*
|
|
1296
|
+
*
|
|
1297
|
+
*
|
|
1298
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1299
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1300
|
+
* Do not edit the class manually.
|
|
1301
|
+
*/
|
|
1302
|
+
var FacebookEngagementResponse;
|
|
1303
|
+
(function (FacebookEngagementResponse) {
|
|
1304
|
+
FacebookEngagementResponse.FacebookCatalogTypeEnum = {
|
|
1305
|
+
COMMERCE: 'COMMERCE',
|
|
1306
|
+
HOTELS: 'HOTELS',
|
|
1307
|
+
DESTINATIONS: 'DESTINATIONS',
|
|
1308
|
+
FLIGHTS: 'FLIGHTS'
|
|
1309
|
+
};
|
|
1310
|
+
})(FacebookEngagementResponse || (FacebookEngagementResponse = {}));
|
|
1311
|
+
|
|
1029
1312
|
class ApiModule {
|
|
1030
1313
|
static forRoot(configurationFactory) {
|
|
1031
1314
|
return {
|
|
@@ -1051,6 +1334,7 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
|
1051
1334
|
CountryControllerService,
|
|
1052
1335
|
DpaCampaignControllerService,
|
|
1053
1336
|
DpaEngagementControllerService,
|
|
1337
|
+
FacebookEngagementControllerService,
|
|
1054
1338
|
PackageDetailControllerService
|
|
1055
1339
|
] });
|
|
1056
1340
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
|
|
@@ -1065,6 +1349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1065
1349
|
CountryControllerService,
|
|
1066
1350
|
DpaCampaignControllerService,
|
|
1067
1351
|
DpaEngagementControllerService,
|
|
1352
|
+
FacebookEngagementControllerService,
|
|
1068
1353
|
PackageDetailControllerService
|
|
1069
1354
|
]
|
|
1070
1355
|
}]
|
|
@@ -1082,5 +1367,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1082
1367
|
* Generated bundle index. Do not edit.
|
|
1083
1368
|
*/
|
|
1084
1369
|
|
|
1085
|
-
export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, PackageDetailControllerService };
|
|
1370
|
+
export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, PackageDetailControllerService };
|
|
1086
1371
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|