@bzbs/react-api-client 1.2.3 → 1.2.5
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 +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -816,6 +816,7 @@ interface Purchase {
|
|
|
816
816
|
Address?: string;
|
|
817
817
|
FirstName?: string;
|
|
818
818
|
LastName?: string;
|
|
819
|
+
ZipCode?: string;
|
|
819
820
|
Info1?: string;
|
|
820
821
|
Info2?: string;
|
|
821
822
|
Info3?: string;
|
|
@@ -1706,7 +1707,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1706
1707
|
* @param params.addressKey - The address key of a user's address.
|
|
1707
1708
|
* @param params.contactNumber - The contact number of the user.
|
|
1708
1709
|
* @param params.options - Additional options for the redemption.
|
|
1709
|
-
* @param params.
|
|
1710
|
+
* @param params.spPoints - Point Per Unit x Quantity (Donate only).
|
|
1710
1711
|
* @param requestOptions - The options for the HTTP request.
|
|
1711
1712
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
1712
1713
|
*/
|
|
@@ -1715,7 +1716,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1715
1716
|
addressKey?: string;
|
|
1716
1717
|
contactNumber?: string;
|
|
1717
1718
|
pointUnit?: string;
|
|
1718
|
-
|
|
1719
|
+
spPoints?: number;
|
|
1719
1720
|
options?: {
|
|
1720
1721
|
[key: string]: unknown;
|
|
1721
1722
|
};
|
|
@@ -1729,7 +1730,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1729
1730
|
* @param params.addressKey - The address key of a user's address.
|
|
1730
1731
|
* @param params.contactNumber - The contact number of the user.
|
|
1731
1732
|
* @param params.pointUnit - The point unit of the campaign.
|
|
1732
|
-
* @param params.
|
|
1733
|
+
* @param params.spPoints - Point Per Unit x Quantity (Donate only).
|
|
1733
1734
|
* @param params.options - Additional options for the redemption.
|
|
1734
1735
|
* @param requestOptions - The options for the HTTP request.
|
|
1735
1736
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
@@ -1740,7 +1741,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1740
1741
|
addressKey?: string;
|
|
1741
1742
|
contactNumber?: string;
|
|
1742
1743
|
pointUnit?: string;
|
|
1743
|
-
|
|
1744
|
+
spPoints?: number;
|
|
1744
1745
|
options?: {
|
|
1745
1746
|
[key: string]: unknown;
|
|
1746
1747
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -816,6 +816,7 @@ interface Purchase {
|
|
|
816
816
|
Address?: string;
|
|
817
817
|
FirstName?: string;
|
|
818
818
|
LastName?: string;
|
|
819
|
+
ZipCode?: string;
|
|
819
820
|
Info1?: string;
|
|
820
821
|
Info2?: string;
|
|
821
822
|
Info3?: string;
|
|
@@ -1706,7 +1707,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1706
1707
|
* @param params.addressKey - The address key of a user's address.
|
|
1707
1708
|
* @param params.contactNumber - The contact number of the user.
|
|
1708
1709
|
* @param params.options - Additional options for the redemption.
|
|
1709
|
-
* @param params.
|
|
1710
|
+
* @param params.spPoints - Point Per Unit x Quantity (Donate only).
|
|
1710
1711
|
* @param requestOptions - The options for the HTTP request.
|
|
1711
1712
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
1712
1713
|
*/
|
|
@@ -1715,7 +1716,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1715
1716
|
addressKey?: string;
|
|
1716
1717
|
contactNumber?: string;
|
|
1717
1718
|
pointUnit?: string;
|
|
1718
|
-
|
|
1719
|
+
spPoints?: number;
|
|
1719
1720
|
options?: {
|
|
1720
1721
|
[key: string]: unknown;
|
|
1721
1722
|
};
|
|
@@ -1729,7 +1730,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1729
1730
|
* @param params.addressKey - The address key of a user's address.
|
|
1730
1731
|
* @param params.contactNumber - The contact number of the user.
|
|
1731
1732
|
* @param params.pointUnit - The point unit of the campaign.
|
|
1732
|
-
* @param params.
|
|
1733
|
+
* @param params.spPoints - Point Per Unit x Quantity (Donate only).
|
|
1733
1734
|
* @param params.options - Additional options for the redemption.
|
|
1734
1735
|
* @param requestOptions - The options for the HTTP request.
|
|
1735
1736
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
@@ -1740,7 +1741,7 @@ declare class CampaignApi extends BaseService {
|
|
|
1740
1741
|
addressKey?: string;
|
|
1741
1742
|
contactNumber?: string;
|
|
1742
1743
|
pointUnit?: string;
|
|
1743
|
-
|
|
1744
|
+
spPoints?: number;
|
|
1744
1745
|
options?: {
|
|
1745
1746
|
[key: string]: unknown;
|
|
1746
1747
|
};
|
package/dist/index.js
CHANGED
|
@@ -884,7 +884,7 @@ var CampaignApi = class extends BaseService {
|
|
|
884
884
|
* @param params.addressKey - The address key of a user's address.
|
|
885
885
|
* @param params.contactNumber - The contact number of the user.
|
|
886
886
|
* @param params.options - Additional options for the redemption.
|
|
887
|
-
* @param params.
|
|
887
|
+
* @param params.spPoints - Point Per Unit x Quantity (Donate only).
|
|
888
888
|
* @param requestOptions - The options for the HTTP request.
|
|
889
889
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
890
890
|
*/
|
|
@@ -896,7 +896,7 @@ var CampaignApi = class extends BaseService {
|
|
|
896
896
|
address_key: params.addressKey,
|
|
897
897
|
contact_number: params.contactNumber,
|
|
898
898
|
pointUnit: params.pointUnit,
|
|
899
|
-
|
|
899
|
+
sp_points: params.spPoints
|
|
900
900
|
}, params.options),
|
|
901
901
|
{
|
|
902
902
|
headers: __spreadValues({
|
|
@@ -917,7 +917,7 @@ var CampaignApi = class extends BaseService {
|
|
|
917
917
|
* @param params.addressKey - The address key of a user's address.
|
|
918
918
|
* @param params.contactNumber - The contact number of the user.
|
|
919
919
|
* @param params.pointUnit - The point unit of the campaign.
|
|
920
|
-
* @param params.
|
|
920
|
+
* @param params.spPoints - Point Per Unit x Quantity (Donate only).
|
|
921
921
|
* @param params.options - Additional options for the redemption.
|
|
922
922
|
* @param requestOptions - The options for the HTTP request.
|
|
923
923
|
* @returns A promise that resolves to a service response containing the redeem response.
|
|
@@ -931,7 +931,7 @@ var CampaignApi = class extends BaseService {
|
|
|
931
931
|
address_key: params.addressKey,
|
|
932
932
|
contact_number: params.contactNumber,
|
|
933
933
|
pointUnit: params.pointUnit,
|
|
934
|
-
|
|
934
|
+
sp_points: params.spPoints
|
|
935
935
|
}, params.options),
|
|
936
936
|
requestOptions
|
|
937
937
|
);
|