@bzbs/react-api-client 1.4.13 → 1.4.15

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 CHANGED
@@ -502,7 +502,7 @@ interface RedeemResponse {
502
502
  Points?: number;
503
503
  UpdatedPoints?: UpdatedPoints | null;
504
504
  PrivilegeMessage?: string;
505
- PrivilegeMessageEn?: string;
505
+ PrivilegeMessageEN?: string;
506
506
  PrivilegeMessageFormat?: string;
507
507
  Buzzebees?: Buzzebees | null;
508
508
  }
@@ -769,6 +769,8 @@ interface ProfileResponse {
769
769
  Remark?: string;
770
770
  TermAndCondition?: number;
771
771
  DataPrivacy?: number;
772
+ MarketingOption?: number;
773
+ ConsentAge?: number;
772
774
  EmailMarketing?: number;
773
775
  SMSMarketing?: number;
774
776
  NotificationMarketing?: number;
@@ -897,6 +899,7 @@ interface UseCampaignResponse {
897
899
  ItemNumber?: number;
898
900
  Serial?: string;
899
901
  PrivilegeMessage?: string;
902
+ PrivilegeMessageEN?: string;
900
903
  UsedDate?: number;
901
904
  CurrentDate?: number;
902
905
  PrivilegeMessageFormat?: string;
@@ -2057,6 +2060,7 @@ declare class ConsentApi extends BaseService {
2057
2060
  * @param params.termsAndConditions - The terms and conditions consent version.
2058
2061
  * @param params.dataPrivacy - The data privacy consent version.
2059
2062
  * @param params.marketingOption - The marketing option consent version.
2063
+ * @param params.consentAge - The consent age.
2060
2064
  * @param params.email - The email consent (0 for false, 1 for true).
2061
2065
  * @param params.sms - The SMS consent (0 for false, 1 for true).
2062
2066
  * @param params.notification - The notification consent (0 for false, 1 for true).
@@ -2077,6 +2081,7 @@ declare class ConsentApi extends BaseService {
2077
2081
  termsAndConditions?: string;
2078
2082
  dataPrivacy?: string;
2079
2083
  marketingOption?: string;
2084
+ consentAge?: string;
2080
2085
  email?: string;
2081
2086
  sms?: string;
2082
2087
  notification?: string;
@@ -2646,6 +2651,7 @@ declare class RegistrationApi extends BaseService {
2646
2651
  * @param params.termAndConditionVersion - The term and condition version.
2647
2652
  * @param params.dataPrivacyVersion - The data privacy version.
2648
2653
  * @param params.marketingOptionsVersion - The marketing options version.
2654
+ * @param params.consentAge - The consent age.
2649
2655
  * @param params.emailMarketing - The email marketing.
2650
2656
  * @param params.smsMarketing - The SMS marketing.
2651
2657
  * @param params.notificationMarketing - The notification marketing.
@@ -2680,6 +2686,7 @@ declare class RegistrationApi extends BaseService {
2680
2686
  termAndConditionVersion?: string;
2681
2687
  dataPrivacyVersion?: string;
2682
2688
  marketingOptionsVersion?: string;
2689
+ consentAge?: string;
2683
2690
  emailMarketing?: string;
2684
2691
  smsMarketing?: string;
2685
2692
  notificationMarketing?: string;
package/dist/index.d.ts CHANGED
@@ -502,7 +502,7 @@ interface RedeemResponse {
502
502
  Points?: number;
503
503
  UpdatedPoints?: UpdatedPoints | null;
504
504
  PrivilegeMessage?: string;
505
- PrivilegeMessageEn?: string;
505
+ PrivilegeMessageEN?: string;
506
506
  PrivilegeMessageFormat?: string;
507
507
  Buzzebees?: Buzzebees | null;
508
508
  }
@@ -769,6 +769,8 @@ interface ProfileResponse {
769
769
  Remark?: string;
770
770
  TermAndCondition?: number;
771
771
  DataPrivacy?: number;
772
+ MarketingOption?: number;
773
+ ConsentAge?: number;
772
774
  EmailMarketing?: number;
773
775
  SMSMarketing?: number;
774
776
  NotificationMarketing?: number;
@@ -897,6 +899,7 @@ interface UseCampaignResponse {
897
899
  ItemNumber?: number;
898
900
  Serial?: string;
899
901
  PrivilegeMessage?: string;
902
+ PrivilegeMessageEN?: string;
900
903
  UsedDate?: number;
901
904
  CurrentDate?: number;
902
905
  PrivilegeMessageFormat?: string;
@@ -2057,6 +2060,7 @@ declare class ConsentApi extends BaseService {
2057
2060
  * @param params.termsAndConditions - The terms and conditions consent version.
2058
2061
  * @param params.dataPrivacy - The data privacy consent version.
2059
2062
  * @param params.marketingOption - The marketing option consent version.
2063
+ * @param params.consentAge - The consent age.
2060
2064
  * @param params.email - The email consent (0 for false, 1 for true).
2061
2065
  * @param params.sms - The SMS consent (0 for false, 1 for true).
2062
2066
  * @param params.notification - The notification consent (0 for false, 1 for true).
@@ -2077,6 +2081,7 @@ declare class ConsentApi extends BaseService {
2077
2081
  termsAndConditions?: string;
2078
2082
  dataPrivacy?: string;
2079
2083
  marketingOption?: string;
2084
+ consentAge?: string;
2080
2085
  email?: string;
2081
2086
  sms?: string;
2082
2087
  notification?: string;
@@ -2646,6 +2651,7 @@ declare class RegistrationApi extends BaseService {
2646
2651
  * @param params.termAndConditionVersion - The term and condition version.
2647
2652
  * @param params.dataPrivacyVersion - The data privacy version.
2648
2653
  * @param params.marketingOptionsVersion - The marketing options version.
2654
+ * @param params.consentAge - The consent age.
2649
2655
  * @param params.emailMarketing - The email marketing.
2650
2656
  * @param params.smsMarketing - The SMS marketing.
2651
2657
  * @param params.notificationMarketing - The notification marketing.
@@ -2680,6 +2686,7 @@ declare class RegistrationApi extends BaseService {
2680
2686
  termAndConditionVersion?: string;
2681
2687
  dataPrivacyVersion?: string;
2682
2688
  marketingOptionsVersion?: string;
2689
+ consentAge?: string;
2683
2690
  emailMarketing?: string;
2684
2691
  smsMarketing?: string;
2685
2692
  notificationMarketing?: string;
package/dist/index.js CHANGED
@@ -1330,6 +1330,7 @@ var ConsentApi = class extends BaseService {
1330
1330
  * @param params.termsAndConditions - The terms and conditions consent version.
1331
1331
  * @param params.dataPrivacy - The data privacy consent version.
1332
1332
  * @param params.marketingOption - The marketing option consent version.
1333
+ * @param params.consentAge - The consent age.
1333
1334
  * @param params.email - The email consent (0 for false, 1 for true).
1334
1335
  * @param params.sms - The SMS consent (0 for false, 1 for true).
1335
1336
  * @param params.notification - The notification consent (0 for false, 1 for true).
@@ -1354,6 +1355,7 @@ var ConsentApi = class extends BaseService {
1354
1355
  termandcondition: params.termsAndConditions,
1355
1356
  dataprivacy: params.dataPrivacy,
1356
1357
  marketingoption: params.marketingOption,
1358
+ consentage: params.consentAge,
1357
1359
  email: params.email,
1358
1360
  sms: params.sms,
1359
1361
  notification: params.notification,
@@ -2154,6 +2156,7 @@ var RegistrationApi = class extends BaseService {
2154
2156
  * @param params.termAndConditionVersion - The term and condition version.
2155
2157
  * @param params.dataPrivacyVersion - The data privacy version.
2156
2158
  * @param params.marketingOptionsVersion - The marketing options version.
2159
+ * @param params.consentAge - The consent age.
2157
2160
  * @param params.emailMarketing - The email marketing.
2158
2161
  * @param params.smsMarketing - The SMS marketing.
2159
2162
  * @param params.notificationMarketing - The notification marketing.
@@ -2192,6 +2195,7 @@ var RegistrationApi = class extends BaseService {
2192
2195
  termandcondition: params.termAndConditionVersion,
2193
2196
  dataprivacy: params.dataPrivacyVersion,
2194
2197
  marketingOption: params.marketingOptionsVersion,
2198
+ consentage: params.consentAge,
2195
2199
  mktoption_email: params.emailMarketing,
2196
2200
  mktoption_sms: params.smsMarketing,
2197
2201
  mktoption_notification: params.notificationMarketing,