@paypay/mini-app-js-sdk 1.74.0 → 1.76.0
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/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +1431 -1109
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/makePayment.d.ts +7 -0
- package/dist/package/action-sheet/index.d.ts +18 -7
- package/dist/package/button/index.d.ts +2 -2
- package/dist/package/description-info/DescriptionInfoLabel.vue.d.ts +18 -0
- package/dist/package/input/currency/index.d.ts +5 -8
- package/dist/package/input/email/index.d.ts +1 -1
- package/dist/package/input/text/index.d.ts +1 -1
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +5 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +2 -1
- package/dist/package/payment-method/Wallet.vue.d.ts +5 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +5 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +2 -1
- package/dist/package/payment-type/Wallet.vue.d.ts +5 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +5 -0
- package/dist/resources/en.d.ts +1 -0
- package/dist/resources/ja.d.ts +1 -0
- package/dist/utils/api.d.ts +32 -25
- package/dist/utils/getLanguage.d.ts +1 -0
- package/dist/utils/storage.d.ts +1 -0
- package/dist/views/error-sheet/Index.vue.d.ts +3 -0
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +1 -0
- package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +1 -0
- package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +1 -0
- package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +1518 -5
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +1 -0
- package/dist/views/make-payment/App.vue.d.ts +1030 -6
- package/dist/views/make-payment/Main.vue.d.ts +1222 -196
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +6 -2
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +6 -1
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +157 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +10 -4
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +14 -3
- package/dist/views/make-payment/store.d.ts +1024 -7
- package/dist/views/open-app/App.vue.d.ts +1 -0
- package/dist/views/open-map/App.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +1 -0
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +1 -0
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +8 -0
- package/dist/views/show-update-warning/App.vue.d.ts +1 -0
- package/dist/views/topup/App.vue.d.ts +26 -17
- package/dist/views/topup/{CashbackInfo.vue.d.ts → TopupBalanceInfo.vue.d.ts} +25 -44
- package/dist/views/topup/TopupCompletion.vue.d.ts +2 -1
- package/dist/views/topup/TopupFeeInfo.vue.d.ts +37 -0
- package/dist/views/topup/TopupFeeLabel.vue.d.ts +24 -0
- package/dist/views/topup/TopupFeeResultLabel.vue.d.ts +16 -0
- package/package.json +1 -1
|
@@ -39,6 +39,14 @@ export declare type PostPreTransactionAutoTopupResponse = {
|
|
|
39
39
|
data: object;
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
+
export declare type SoftBankNotificationType = {
|
|
43
|
+
text: string;
|
|
44
|
+
linkUrl?: string;
|
|
45
|
+
headerIcon?: string;
|
|
46
|
+
isBold: boolean;
|
|
47
|
+
color: string;
|
|
48
|
+
backgroundColor?: string;
|
|
49
|
+
};
|
|
42
50
|
declare type Currency = 'JPY';
|
|
43
51
|
declare type PostTransactionAutoTopupConfiguration = {
|
|
44
52
|
isEnabled: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AppealDescription, CreditMethod, PaymentMethod as TPaymentMethod } from '../../model/makePayment';
|
|
2
2
|
import { MiniAppErrorType } from '../../model/miniAppError';
|
|
3
|
-
import { UIComponentsErrorButton } from '../../model/uiComponents';
|
|
3
|
+
import { UIComponentsButtonActionType, UIComponentsErrorButton } from '../../model/uiComponents';
|
|
4
4
|
import { TopupParams } from '../../types';
|
|
5
|
-
import { TopupResponseData } from '../../utils/api';
|
|
5
|
+
import { TopupResponseData, WalletInfo } from '../../utils/api';
|
|
6
6
|
import { AnimationItem } from 'lottie-web';
|
|
7
|
-
import { PropType } from 'vue';
|
|
7
|
+
import { PropType, StyleValue } from 'vue';
|
|
8
8
|
declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
show: BooleanConstructor;
|
|
10
10
|
topupParams: {
|
|
@@ -47,11 +47,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
availableBalance: string;
|
|
48
48
|
availableBalanceAfter: string;
|
|
49
49
|
allBalance: string;
|
|
50
|
+
yen: string;
|
|
51
|
+
feeNotIncluded: string;
|
|
52
|
+
fee: string;
|
|
53
|
+
topupAmount: string;
|
|
54
|
+
taxIncluded: string;
|
|
50
55
|
};
|
|
51
56
|
}>;
|
|
52
57
|
}, {
|
|
53
58
|
loading: boolean;
|
|
54
|
-
disabled: boolean;
|
|
55
59
|
errorShow: boolean;
|
|
56
60
|
errorOverlay: boolean;
|
|
57
61
|
errorInfo: {
|
|
@@ -73,14 +77,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
77
|
errorCode: MiniAppErrorType;
|
|
74
78
|
jws: string;
|
|
75
79
|
bannerInfoVisible: boolean;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
inputMoney: number;
|
|
80
|
-
balMoney: string;
|
|
81
|
-
fixBalMoney: number;
|
|
82
|
-
totalCashbackBalance: string;
|
|
83
|
-
fixCashbackBalance: number;
|
|
80
|
+
isSheetExpanded: boolean;
|
|
81
|
+
sheetExpandCompleted: boolean;
|
|
82
|
+
inputMoneyString: string;
|
|
84
83
|
isSelectMoreMoney: boolean;
|
|
85
84
|
isSelectPaymentMethod: boolean;
|
|
86
85
|
paymentMethodList: TPaymentMethod[];
|
|
@@ -90,13 +89,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
89
|
ORDINARY: string;
|
|
91
90
|
};
|
|
92
91
|
lottieAnim: AnimationItem | null;
|
|
93
|
-
|
|
92
|
+
walletData: WalletInfo | null;
|
|
94
93
|
img_animationDone: string;
|
|
95
94
|
isFirstLoad: boolean;
|
|
96
95
|
show3DSecureSheet: boolean;
|
|
97
96
|
topupMinAmount: number;
|
|
98
97
|
appealDescription: AppealDescription | null;
|
|
99
98
|
}, {
|
|
99
|
+
inputMoney(): number;
|
|
100
100
|
descriptionBannerInfo(): {
|
|
101
101
|
label?: string | undefined;
|
|
102
102
|
title?: string | undefined;
|
|
@@ -105,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
105
|
title: string;
|
|
106
106
|
buttonList: {
|
|
107
107
|
title: string;
|
|
108
|
-
actionType:
|
|
108
|
+
actionType: UIComponentsButtonActionType;
|
|
109
109
|
buttonType: import('../../model/uiComponents').UIComponentsButtonType;
|
|
110
110
|
deeplink?: string | undefined;
|
|
111
111
|
googleAnalyticsInfo: unknown;
|
|
@@ -118,21 +118,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
} | undefined;
|
|
119
119
|
} | undefined;
|
|
120
120
|
disablePaymentBtn(): boolean;
|
|
121
|
-
|
|
121
|
+
sheetStyle(): {
|
|
122
|
+
minHeight: string;
|
|
123
|
+
height?: undefined;
|
|
124
|
+
} | {
|
|
122
125
|
height: string;
|
|
126
|
+
minHeight?: undefined;
|
|
123
127
|
};
|
|
128
|
+
actionSheetStyle(): StyleValue & object;
|
|
129
|
+
topSpacerStyle(): StyleValue;
|
|
124
130
|
selectedCardMethod(): CreditMethod | undefined;
|
|
125
131
|
selectedCCType(): string | undefined;
|
|
126
132
|
minAMountErrorMessage(): string;
|
|
133
|
+
maxAmountExceeded(): boolean;
|
|
134
|
+
minAmountUnmet(): boolean;
|
|
127
135
|
}, {
|
|
128
136
|
numberWithCommas: (x?: number) => string;
|
|
129
137
|
init(): Promise<void>;
|
|
130
138
|
createAnime(s: AnimationItem): void;
|
|
131
139
|
findFirstValidMethodTopup(): void;
|
|
132
140
|
switchInput(): Promise<void>;
|
|
141
|
+
onAnimationEnd(): void;
|
|
133
142
|
setMoney(money: number): void;
|
|
134
143
|
closeIconClick(): void;
|
|
135
|
-
checkValidAmount(): void;
|
|
136
144
|
showBannerInfo(): void;
|
|
137
145
|
bannerBtnClick(item?: UIComponentsErrorButton | undefined, index?: number | undefined): void;
|
|
138
146
|
backToHome(): void;
|
|
@@ -143,10 +151,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
151
|
duplicateShallowCancel(): void;
|
|
144
152
|
duplicateCancel(): void;
|
|
145
153
|
completed(): void;
|
|
146
|
-
|
|
154
|
+
executeTopup(agreeSimilarTransaction: boolean, agreeFee: boolean): Promise<null | undefined>;
|
|
147
155
|
showError(): void;
|
|
148
156
|
closeErrorSheet(): void;
|
|
149
157
|
close3DSecureSheet(): void;
|
|
158
|
+
handleErrorNativeAction(button: UIComponentsErrorButton): void;
|
|
150
159
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
151
160
|
click: () => true;
|
|
152
161
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1,29 +1,15 @@
|
|
|
1
|
+
import { WalletInfo } from '../../utils/api';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
type:
|
|
4
|
-
default:
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
totalBalanceInfo: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: () => void;
|
|
10
|
-
required: true;
|
|
3
|
+
walletData: {
|
|
4
|
+
type: () => WalletInfo | null;
|
|
5
|
+
default: null;
|
|
11
6
|
};
|
|
12
|
-
|
|
13
|
-
type:
|
|
14
|
-
default: () => void;
|
|
7
|
+
topupAmount: {
|
|
8
|
+
type: NumberConstructor;
|
|
15
9
|
required: true;
|
|
16
10
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
default: boolean;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
availableBalText: import("vue").ComputedRef<string>;
|
|
24
|
-
isCashbackSave: import("vue").ComputedRef<boolean>;
|
|
25
|
-
style: Record<string, string>;
|
|
26
|
-
remoteStrings: import("vue").Ref<{
|
|
11
|
+
}, unknown, unknown, {
|
|
12
|
+
remoteStrings(): {
|
|
27
13
|
wallet: {
|
|
28
14
|
title: string;
|
|
29
15
|
desc: string;
|
|
@@ -58,36 +44,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
44
|
availableBalance: string;
|
|
59
45
|
availableBalanceAfter: string;
|
|
60
46
|
allBalance: string;
|
|
47
|
+
yen: string;
|
|
48
|
+
feeNotIncluded: string;
|
|
49
|
+
fee: string;
|
|
50
|
+
topupAmount: string;
|
|
51
|
+
taxIncluded: string;
|
|
61
52
|
};
|
|
62
|
-
}
|
|
63
|
-
|
|
53
|
+
};
|
|
54
|
+
availableBalText(): string;
|
|
55
|
+
totalBalanceInfoAfterTopup(): string;
|
|
56
|
+
showsTotalBalanceInfoAfterTopup(): boolean;
|
|
57
|
+
allTotalBalanceInfoAfterTopup(): string;
|
|
58
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
64
59
|
click: () => true;
|
|
65
60
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
|
-
|
|
67
|
-
type:
|
|
68
|
-
default:
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
totalBalanceInfo: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
default: () => void;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
allTotalBalanceInfo: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: () => void;
|
|
79
|
-
required: true;
|
|
61
|
+
walletData: {
|
|
62
|
+
type: () => WalletInfo | null;
|
|
63
|
+
default: null;
|
|
80
64
|
};
|
|
81
|
-
|
|
82
|
-
type:
|
|
83
|
-
default: boolean;
|
|
65
|
+
topupAmount: {
|
|
66
|
+
type: NumberConstructor;
|
|
84
67
|
required: true;
|
|
85
68
|
};
|
|
86
69
|
}>> & {
|
|
87
70
|
onClick?: (() => any) | undefined;
|
|
88
71
|
}, {
|
|
89
|
-
|
|
90
|
-
totalBalanceInfo: string;
|
|
91
|
-
allTotalBalanceInfo: string;
|
|
72
|
+
walletData: WalletInfo | null;
|
|
92
73
|
}>;
|
|
93
74
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { TopupResponseData } from '../../utils/api';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
data: {
|
|
5
5
|
type: PropType<TopupResponseData | null>;
|
|
@@ -348,6 +348,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
348
348
|
update: string;
|
|
349
349
|
cancel: string;
|
|
350
350
|
};
|
|
351
|
+
viewdetails: string;
|
|
351
352
|
eMoneyOnly: string;
|
|
352
353
|
topupNoticeEmoneyOnlyTitle: string;
|
|
353
354
|
topupNoticeEmoneyOnlyDesc: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { TopupFeeInfo } from '../../model/makePayment';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
containerClass: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: null;
|
|
7
|
+
};
|
|
8
|
+
topupFeeInfo: {
|
|
9
|
+
type: PropType<TopupFeeInfo>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
topupAmount: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}, unknown, unknown, {
|
|
17
|
+
leftLabel(): string;
|
|
18
|
+
rightLabel(): string | number | undefined;
|
|
19
|
+
showsYen(): boolean;
|
|
20
|
+
yen(): string;
|
|
21
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
containerClass: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
topupFeeInfo: {
|
|
27
|
+
type: PropType<TopupFeeInfo>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
topupAmount: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
}>>, {
|
|
35
|
+
containerClass: string;
|
|
36
|
+
}>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TopupFeeInfo } from '../../model/makePayment';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
topupFeeInfo: {
|
|
5
|
+
type: PropType<TopupFeeInfo>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
topupAmount: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}, unknown, unknown, {
|
|
13
|
+
feeLabel(): string;
|
|
14
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
topupFeeInfo: {
|
|
16
|
+
type: PropType<TopupFeeInfo>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
topupAmount: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>>, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TopupResponseData } from '../../utils/api';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
topupResult: {
|
|
5
|
+
type: PropType<TopupResponseData>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, unknown, unknown, {
|
|
9
|
+
feeLabel(): string;
|
|
10
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
topupResult: {
|
|
12
|
+
type: PropType<TopupResponseData>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>>, {}>;
|
|
16
|
+
export default _default;
|