@bzbs/react-api-client 1.2.2 → 1.2.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/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -841,6 +841,7 @@ var CampaignApi = class extends BaseService {
|
|
|
841
841
|
* @param params.addressKey - The address key of a user's address.
|
|
842
842
|
* @param params.contactNumber - The contact number of the user.
|
|
843
843
|
* @param params.options - Additional options for the redemption.
|
|
844
|
+
* @param params.spPoint - Point Per Unit x Quantity (Donate only).
|
|
844
845
|
* @param requestOptions - The options for the HTTP request.
|
|
845
846
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
846
847
|
*/
|
|
@@ -851,7 +852,8 @@ var CampaignApi = class extends BaseService {
|
|
|
851
852
|
__spreadValues({
|
|
852
853
|
address_key: params.addressKey,
|
|
853
854
|
contact_number: params.contactNumber,
|
|
854
|
-
pointUnit: params.pointUnit
|
|
855
|
+
pointUnit: params.pointUnit,
|
|
856
|
+
sp_point: params.spPoint
|
|
855
857
|
}, params.options),
|
|
856
858
|
{
|
|
857
859
|
headers: __spreadValues({
|
|
@@ -872,6 +874,7 @@ var CampaignApi = class extends BaseService {
|
|
|
872
874
|
* @param params.addressKey - The address key of a user's address.
|
|
873
875
|
* @param params.contactNumber - The contact number of the user.
|
|
874
876
|
* @param params.pointUnit - The point unit of the campaign.
|
|
877
|
+
* @param params.spPoint - Point Per Unit x Quantity (Donate only).
|
|
875
878
|
* @param params.options - Additional options for the redemption.
|
|
876
879
|
* @param requestOptions - The options for the HTTP request.
|
|
877
880
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
@@ -884,7 +887,8 @@ var CampaignApi = class extends BaseService {
|
|
|
884
887
|
quantity: params.quantity,
|
|
885
888
|
address_key: params.addressKey,
|
|
886
889
|
contact_number: params.contactNumber,
|
|
887
|
-
pointUnit: params.pointUnit
|
|
890
|
+
pointUnit: params.pointUnit,
|
|
891
|
+
sp_point: params.spPoint
|
|
888
892
|
}, params.options),
|
|
889
893
|
requestOptions
|
|
890
894
|
);
|