@revxui/intellibid-client-ts 1.0.35 → 1.0.38
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/dpaEngagementController.service.d.ts +11 -35
- package/esm2020/api/dpaEngagementController.service.mjs +22 -86
- package/esm2020/model/dpaEngagementResponse.mjs +1 -1
- package/esm2020/model/models.mjs +3 -4
- 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/esm2020/model/scheduledUpdates.mjs +13 -0
- package/esm2020/model/updateRequest.mjs +20 -0
- package/fesm2015/revxui-intellibid-client-ts.mjs +42 -86
- package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
- package/fesm2020/revxui-intellibid-client-ts.mjs +30 -98
- package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
- package/model/dpaEngagementResponse.d.ts +2 -0
- package/model/models.d.ts +2 -3
- 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 +1 -1
- package/model/{updateMarginRequest.d.ts → scheduledUpdates.d.ts} +4 -2
- package/model/updateRequest.d.ts +24 -0
- package/package.json +1 -1
- package/esm2020/model/updateDailyBudgetRequest.mjs +0 -13
- package/esm2020/model/updateMarginRequest.mjs +0 -13
- package/esm2020/model/updatePayoutRequest.mjs +0 -13
- package/model/updateDailyBudgetRequest.d.ts +0 -14
- package/model/updatePayoutRequest.d.ts +0 -14
|
@@ -812,45 +812,12 @@ class DpaEngagementControllerService {
|
|
|
812
812
|
reportProgress: reportProgress
|
|
813
813
|
});
|
|
814
814
|
}
|
|
815
|
-
|
|
816
|
-
if (q === null || q === undefined) {
|
|
817
|
-
throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
|
|
818
|
-
}
|
|
819
|
-
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
820
|
-
throw new Error('Required parameter sourcePlatform was null or undefined when calling searchDpaEngagements.');
|
|
821
|
-
}
|
|
822
|
-
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
823
|
-
if (q !== undefined && q !== null) {
|
|
824
|
-
queryParameters = queryParameters.set('q', q);
|
|
825
|
-
}
|
|
826
|
-
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
827
|
-
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
828
|
-
}
|
|
829
|
-
let headers = this.defaultHeaders;
|
|
830
|
-
// to determine the Accept header
|
|
831
|
-
let httpHeaderAccepts = [
|
|
832
|
-
'*/*'
|
|
833
|
-
];
|
|
834
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
835
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
836
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
837
|
-
}
|
|
838
|
-
// to determine the Content-Type header
|
|
839
|
-
const consumes = [];
|
|
840
|
-
return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/search`, {
|
|
841
|
-
params: queryParameters,
|
|
842
|
-
withCredentials: this.configuration.withCredentials,
|
|
843
|
-
headers: headers,
|
|
844
|
-
observe: observe,
|
|
845
|
-
reportProgress: reportProgress
|
|
846
|
-
});
|
|
847
|
-
}
|
|
848
|
-
updateDailyBudget(body, id, observe = 'body', reportProgress = false) {
|
|
815
|
+
scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
|
|
849
816
|
if (body === null || body === undefined) {
|
|
850
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
817
|
+
throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
|
|
851
818
|
}
|
|
852
819
|
if (id === null || id === undefined) {
|
|
853
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
820
|
+
throw new Error('Required parameter id was null or undefined when calling scheduleUpdate.');
|
|
854
821
|
}
|
|
855
822
|
let headers = this.defaultHeaders;
|
|
856
823
|
// to determine the Accept header
|
|
@@ -869,7 +836,7 @@ class DpaEngagementControllerService {
|
|
|
869
836
|
if (httpContentTypeSelected != undefined) {
|
|
870
837
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
871
838
|
}
|
|
872
|
-
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/
|
|
839
|
+
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/schedule-update`, {
|
|
873
840
|
body: body,
|
|
874
841
|
withCredentials: this.configuration.withCredentials,
|
|
875
842
|
headers: headers,
|
|
@@ -877,44 +844,19 @@ class DpaEngagementControllerService {
|
|
|
877
844
|
reportProgress: reportProgress
|
|
878
845
|
});
|
|
879
846
|
}
|
|
880
|
-
|
|
881
|
-
if (
|
|
882
|
-
throw new Error('Required parameter
|
|
883
|
-
}
|
|
884
|
-
if (id === null || id === undefined) {
|
|
885
|
-
throw new Error('Required parameter id was null or undefined when calling updateDpaEngagement.');
|
|
886
|
-
}
|
|
887
|
-
let headers = this.defaultHeaders;
|
|
888
|
-
// to determine the Accept header
|
|
889
|
-
let httpHeaderAccepts = [
|
|
890
|
-
'*/*'
|
|
891
|
-
];
|
|
892
|
-
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
893
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
894
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
847
|
+
searchDpaEngagements(q, sourcePlatform, observe = 'body', reportProgress = false) {
|
|
848
|
+
if (q === null || q === undefined) {
|
|
849
|
+
throw new Error('Required parameter q was null or undefined when calling searchDpaEngagements.');
|
|
895
850
|
}
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
'application/json'
|
|
899
|
-
];
|
|
900
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
901
|
-
if (httpContentTypeSelected != undefined) {
|
|
902
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
851
|
+
if (sourcePlatform === null || sourcePlatform === undefined) {
|
|
852
|
+
throw new Error('Required parameter sourcePlatform was null or undefined when calling searchDpaEngagements.');
|
|
903
853
|
}
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
headers: headers,
|
|
908
|
-
observe: observe,
|
|
909
|
-
reportProgress: reportProgress
|
|
910
|
-
});
|
|
911
|
-
}
|
|
912
|
-
updateMargin(body, id, observe = 'body', reportProgress = false) {
|
|
913
|
-
if (body === null || body === undefined) {
|
|
914
|
-
throw new Error('Required parameter body was null or undefined when calling updateMargin.');
|
|
854
|
+
let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
855
|
+
if (q !== undefined && q !== null) {
|
|
856
|
+
queryParameters = queryParameters.set('q', q);
|
|
915
857
|
}
|
|
916
|
-
if (
|
|
917
|
-
|
|
858
|
+
if (sourcePlatform !== undefined && sourcePlatform !== null) {
|
|
859
|
+
queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
|
|
918
860
|
}
|
|
919
861
|
let headers = this.defaultHeaders;
|
|
920
862
|
// to determine the Accept header
|
|
@@ -926,27 +868,21 @@ class DpaEngagementControllerService {
|
|
|
926
868
|
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
927
869
|
}
|
|
928
870
|
// to determine the Content-Type header
|
|
929
|
-
const consumes = [
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
933
|
-
if (httpContentTypeSelected != undefined) {
|
|
934
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
935
|
-
}
|
|
936
|
-
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/margin`, {
|
|
937
|
-
body: body,
|
|
871
|
+
const consumes = [];
|
|
872
|
+
return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/search`, {
|
|
873
|
+
params: queryParameters,
|
|
938
874
|
withCredentials: this.configuration.withCredentials,
|
|
939
875
|
headers: headers,
|
|
940
876
|
observe: observe,
|
|
941
877
|
reportProgress: reportProgress
|
|
942
878
|
});
|
|
943
879
|
}
|
|
944
|
-
|
|
880
|
+
updateDpaEngagement(body, id, observe = 'body', reportProgress = false) {
|
|
945
881
|
if (body === null || body === undefined) {
|
|
946
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
882
|
+
throw new Error('Required parameter body was null or undefined when calling updateDpaEngagement.');
|
|
947
883
|
}
|
|
948
884
|
if (id === null || id === undefined) {
|
|
949
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
885
|
+
throw new Error('Required parameter id was null or undefined when calling updateDpaEngagement.');
|
|
950
886
|
}
|
|
951
887
|
let headers = this.defaultHeaders;
|
|
952
888
|
// to determine the Accept header
|
|
@@ -965,7 +901,7 @@ class DpaEngagementControllerService {
|
|
|
965
901
|
if (httpContentTypeSelected != undefined) {
|
|
966
902
|
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
967
903
|
}
|
|
968
|
-
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}
|
|
904
|
+
return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}`, {
|
|
969
905
|
body: body,
|
|
970
906
|
withCredentials: this.configuration.withCredentials,
|
|
971
907
|
headers: headers,
|
|
@@ -2957,18 +2893,14 @@ var FacebookEngagementResponse;
|
|
|
2957
2893
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
2958
2894
|
* Do not edit the class manually.
|
|
2959
2895
|
*/
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
2969
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
2970
|
-
* Do not edit the class manually.
|
|
2971
|
-
*/
|
|
2896
|
+
var UpdateRequest;
|
|
2897
|
+
(function (UpdateRequest) {
|
|
2898
|
+
UpdateRequest.RequestTypeEnum = {
|
|
2899
|
+
BUDGET: 'BUDGET',
|
|
2900
|
+
MARGIN: 'MARGIN',
|
|
2901
|
+
PAYOUT: 'PAYOUT'
|
|
2902
|
+
};
|
|
2903
|
+
})(UpdateRequest || (UpdateRequest = {}));
|
|
2972
2904
|
|
|
2973
2905
|
class ApiModule {
|
|
2974
2906
|
static forRoot(configurationFactory) {
|
|
@@ -3044,5 +2976,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3044
2976
|
* Generated bundle index. Do not edit.
|
|
3045
2977
|
*/
|
|
3046
2978
|
|
|
3047
|
-
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, TiktokAudienceControllerService, TiktokEngagementControllerService };
|
|
2979
|
+
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, TiktokAudienceControllerService, TiktokEngagementControllerService, UpdateRequest };
|
|
3048
2980
|
//# sourceMappingURL=revxui-intellibid-client-ts.mjs.map
|