@bzbs/react-api-client 1.4.14 → 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/README.md +507 -254
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -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;
|
|
@@ -2058,6 +2060,7 @@ declare class ConsentApi extends BaseService {
|
|
|
2058
2060
|
* @param params.termsAndConditions - The terms and conditions consent version.
|
|
2059
2061
|
* @param params.dataPrivacy - The data privacy consent version.
|
|
2060
2062
|
* @param params.marketingOption - The marketing option consent version.
|
|
2063
|
+
* @param params.consentAge - The consent age.
|
|
2061
2064
|
* @param params.email - The email consent (0 for false, 1 for true).
|
|
2062
2065
|
* @param params.sms - The SMS consent (0 for false, 1 for true).
|
|
2063
2066
|
* @param params.notification - The notification consent (0 for false, 1 for true).
|
|
@@ -2078,6 +2081,7 @@ declare class ConsentApi extends BaseService {
|
|
|
2078
2081
|
termsAndConditions?: string;
|
|
2079
2082
|
dataPrivacy?: string;
|
|
2080
2083
|
marketingOption?: string;
|
|
2084
|
+
consentAge?: string;
|
|
2081
2085
|
email?: string;
|
|
2082
2086
|
sms?: string;
|
|
2083
2087
|
notification?: string;
|
|
@@ -2647,6 +2651,7 @@ declare class RegistrationApi extends BaseService {
|
|
|
2647
2651
|
* @param params.termAndConditionVersion - The term and condition version.
|
|
2648
2652
|
* @param params.dataPrivacyVersion - The data privacy version.
|
|
2649
2653
|
* @param params.marketingOptionsVersion - The marketing options version.
|
|
2654
|
+
* @param params.consentAge - The consent age.
|
|
2650
2655
|
* @param params.emailMarketing - The email marketing.
|
|
2651
2656
|
* @param params.smsMarketing - The SMS marketing.
|
|
2652
2657
|
* @param params.notificationMarketing - The notification marketing.
|
|
@@ -2681,6 +2686,7 @@ declare class RegistrationApi extends BaseService {
|
|
|
2681
2686
|
termAndConditionVersion?: string;
|
|
2682
2687
|
dataPrivacyVersion?: string;
|
|
2683
2688
|
marketingOptionsVersion?: string;
|
|
2689
|
+
consentAge?: string;
|
|
2684
2690
|
emailMarketing?: string;
|
|
2685
2691
|
smsMarketing?: string;
|
|
2686
2692
|
notificationMarketing?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -2058,6 +2060,7 @@ declare class ConsentApi extends BaseService {
|
|
|
2058
2060
|
* @param params.termsAndConditions - The terms and conditions consent version.
|
|
2059
2061
|
* @param params.dataPrivacy - The data privacy consent version.
|
|
2060
2062
|
* @param params.marketingOption - The marketing option consent version.
|
|
2063
|
+
* @param params.consentAge - The consent age.
|
|
2061
2064
|
* @param params.email - The email consent (0 for false, 1 for true).
|
|
2062
2065
|
* @param params.sms - The SMS consent (0 for false, 1 for true).
|
|
2063
2066
|
* @param params.notification - The notification consent (0 for false, 1 for true).
|
|
@@ -2078,6 +2081,7 @@ declare class ConsentApi extends BaseService {
|
|
|
2078
2081
|
termsAndConditions?: string;
|
|
2079
2082
|
dataPrivacy?: string;
|
|
2080
2083
|
marketingOption?: string;
|
|
2084
|
+
consentAge?: string;
|
|
2081
2085
|
email?: string;
|
|
2082
2086
|
sms?: string;
|
|
2083
2087
|
notification?: string;
|
|
@@ -2647,6 +2651,7 @@ declare class RegistrationApi extends BaseService {
|
|
|
2647
2651
|
* @param params.termAndConditionVersion - The term and condition version.
|
|
2648
2652
|
* @param params.dataPrivacyVersion - The data privacy version.
|
|
2649
2653
|
* @param params.marketingOptionsVersion - The marketing options version.
|
|
2654
|
+
* @param params.consentAge - The consent age.
|
|
2650
2655
|
* @param params.emailMarketing - The email marketing.
|
|
2651
2656
|
* @param params.smsMarketing - The SMS marketing.
|
|
2652
2657
|
* @param params.notificationMarketing - The notification marketing.
|
|
@@ -2681,6 +2686,7 @@ declare class RegistrationApi extends BaseService {
|
|
|
2681
2686
|
termAndConditionVersion?: string;
|
|
2682
2687
|
dataPrivacyVersion?: string;
|
|
2683
2688
|
marketingOptionsVersion?: string;
|
|
2689
|
+
consentAge?: string;
|
|
2684
2690
|
emailMarketing?: string;
|
|
2685
2691
|
smsMarketing?: string;
|
|
2686
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,
|