@bzbs/react-api-client 2.0.0 → 2.0.1
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/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -875,14 +875,18 @@ var CampaignApi = class extends BaseService {
|
|
|
875
875
|
* @param params.deviceLocale - The device locale for the campaigns.
|
|
876
876
|
* @param params.locale - The locale for the campaigns.
|
|
877
877
|
* @param params.keyword - The keyword for the campaigns.
|
|
878
|
-
* @param params.startDate - The start date for the campaigns.
|
|
878
|
+
* @param params.startDate - The start date for the campaigns. Example: 2017-07-21T17:32:28Z
|
|
879
879
|
* @param params.sponsorId - The sponsor ID for the campaigns.
|
|
880
880
|
* @param params.maxPoints - The maximum points for the campaigns.
|
|
881
881
|
* @param params.minPoints - The minimum points for the campaigns.
|
|
882
|
+
* @param params.minPrice - The minimum price for the campaigns.
|
|
883
|
+
* @param params.maxPrice - The maximum price for the campaigns.
|
|
882
884
|
* @param params.sortBy - The sort order for the campaigns.
|
|
883
885
|
* @param params.center - The coordinates for the center of the campaigns.
|
|
884
886
|
* @param params.hashTags - The hash tags for the campaigns.
|
|
885
887
|
* @param params.locationAgencyId - The location agency ID for the campaigns.
|
|
888
|
+
* @param params.campaignservice - Use campaign service.
|
|
889
|
+
* @param params.mode - The mode for the campaigns.
|
|
886
890
|
* @param params.options - (Optional) Additional params for the request.
|
|
887
891
|
* @param requestOptions - The options for the HTTP request.
|
|
888
892
|
* @returns A promise that resolves to a ServiceResponse containing an array of Campaign objects.
|
|
@@ -904,10 +908,14 @@ var CampaignApi = class extends BaseService {
|
|
|
904
908
|
sponsorId: params.sponsorId,
|
|
905
909
|
maxpoints: params.maxPoints,
|
|
906
910
|
minpoints: params.minPoints,
|
|
907
|
-
|
|
911
|
+
sortby: params.sortBy,
|
|
908
912
|
center: params.center,
|
|
909
913
|
tags: params.hashTags,
|
|
910
|
-
locationAgencyId: params.locationAgencyId
|
|
914
|
+
locationAgencyId: params.locationAgencyId,
|
|
915
|
+
campaignservice: params.campaignservice,
|
|
916
|
+
mode: params.mode,
|
|
917
|
+
minprice: params.minPrice,
|
|
918
|
+
maxprice: params.maxPrice
|
|
911
919
|
}, params.options),
|
|
912
920
|
requestOptions
|
|
913
921
|
);
|