@bzbs/react-api-client 0.0.11 → 0.0.13
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 +12 -12
- package/dist/index.d.ts +12 -12
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -505,6 +505,13 @@ interface Notification {
|
|
|
505
505
|
ETag: string;
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
+
interface OtpResponse {
|
|
509
|
+
refcode?: string;
|
|
510
|
+
channel?: string;
|
|
511
|
+
expiredate?: number;
|
|
512
|
+
expireinseconds?: number;
|
|
513
|
+
}
|
|
514
|
+
|
|
508
515
|
interface LineAuthResponse {
|
|
509
516
|
access_token: string;
|
|
510
517
|
token_type: string;
|
|
@@ -772,17 +779,6 @@ interface UseCampaignResponse {
|
|
|
772
779
|
expireIn?: number;
|
|
773
780
|
}
|
|
774
781
|
|
|
775
|
-
interface OtpResponse {
|
|
776
|
-
refcode?: string;
|
|
777
|
-
channel?: string;
|
|
778
|
-
expiredate?: number;
|
|
779
|
-
expireinseconds?: number;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
interface ValidateOtpResponse {
|
|
783
|
-
validatecode?: string;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
782
|
interface Version {
|
|
787
783
|
allowUse?: boolean;
|
|
788
784
|
hasNewVersion?: boolean;
|
|
@@ -815,6 +811,10 @@ interface ResumeResponse {
|
|
|
815
811
|
authenticated?: boolean;
|
|
816
812
|
}
|
|
817
813
|
|
|
814
|
+
interface ValidateOtpResponse {
|
|
815
|
+
validatecode?: string;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
818
|
declare class AuthenticateApi extends BaseService {
|
|
819
819
|
constructor(client: AxiosInstance, baseUrl: string);
|
|
820
820
|
/**
|
|
@@ -1889,4 +1889,4 @@ declare class BzbsService {
|
|
|
1889
1889
|
init(client: AxiosInstance | undefined, baseUrl: string | undefined, baseLineUrl: string | undefined): void;
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
|
-
export { type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartCountResponse, type Category, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type Dashboard, type Detail, type ExpiringPoints, type FavoriteResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestOptions, type ServiceResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type Trace, type UpdatedPoints, type UseCampaignResponse };
|
|
1892
|
+
export { type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartCountResponse, type Category, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type Dashboard, type Detail, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type OtpResponse, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestOptions, type ResumeResponse, type ServiceResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version };
|
package/dist/index.d.ts
CHANGED
|
@@ -505,6 +505,13 @@ interface Notification {
|
|
|
505
505
|
ETag: string;
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
+
interface OtpResponse {
|
|
509
|
+
refcode?: string;
|
|
510
|
+
channel?: string;
|
|
511
|
+
expiredate?: number;
|
|
512
|
+
expireinseconds?: number;
|
|
513
|
+
}
|
|
514
|
+
|
|
508
515
|
interface LineAuthResponse {
|
|
509
516
|
access_token: string;
|
|
510
517
|
token_type: string;
|
|
@@ -772,17 +779,6 @@ interface UseCampaignResponse {
|
|
|
772
779
|
expireIn?: number;
|
|
773
780
|
}
|
|
774
781
|
|
|
775
|
-
interface OtpResponse {
|
|
776
|
-
refcode?: string;
|
|
777
|
-
channel?: string;
|
|
778
|
-
expiredate?: number;
|
|
779
|
-
expireinseconds?: number;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
interface ValidateOtpResponse {
|
|
783
|
-
validatecode?: string;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
782
|
interface Version {
|
|
787
783
|
allowUse?: boolean;
|
|
788
784
|
hasNewVersion?: boolean;
|
|
@@ -815,6 +811,10 @@ interface ResumeResponse {
|
|
|
815
811
|
authenticated?: boolean;
|
|
816
812
|
}
|
|
817
813
|
|
|
814
|
+
interface ValidateOtpResponse {
|
|
815
|
+
validatecode?: string;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
818
|
declare class AuthenticateApi extends BaseService {
|
|
819
819
|
constructor(client: AxiosInstance, baseUrl: string);
|
|
820
820
|
/**
|
|
@@ -1889,4 +1889,4 @@ declare class BzbsService {
|
|
|
1889
1889
|
init(client: AxiosInstance | undefined, baseUrl: string | undefined, baseLineUrl: string | undefined): void;
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
|
-
export { type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartCountResponse, type Category, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type Dashboard, type Detail, type ExpiringPoints, type FavoriteResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestOptions, type ServiceResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type Trace, type UpdatedPoints, type UseCampaignResponse };
|
|
1892
|
+
export { type Badge, BaseService, type Buzzebees, type BzbsErrorResponse, BzbsService, type Campaign, type CampaignDetail, type CartCountResponse, type Category, type ConfirmOtpResponse, type Consent, type CouponResponse, type CouponResponseData, type Dashboard, type Detail, type ExpiringPoints, type FavoriteResponse, type ForgetPasswordResponse, type LineAuthResponse, type LoginResponse, type Mission, type Notification, type OtpResponse, type Picture, type Place, type PlaceService, type PointLog, type ProfileResponse, type Purchase, type RedeemResponse, type RegistrationResponse, type RequestOptions, type ResumeResponse, type ServiceResponse, type StatusResponse, type Style, type SubCampaign, type SubCampaignStyle, type Trace, type UpdatedPoints, type UseCampaignResponse, type ValidateOtpResponse, type Version };
|