@paypay/mini-app-js-sdk 1.63.0 → 1.64.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/composition-api/useKycPassport.d.ts +4 -0
- package/dist/composition-api/useShowUpdateWarningKycPassport.d.ts +4 -0
- package/dist/composition-api/useSmsAuth.d.ts +3 -0
- package/dist/mini-app-api.d.ts +4 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +2792 -1324
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getKycPassportInfo.d.ts +3 -0
- package/dist/model/bridge/index.d.ts +47 -0
- package/dist/model/bridge/initKycPassport.d.ts +2 -0
- package/dist/model/bridge/smsAuth.d.ts +2 -0
- package/dist/model/miniAppError.d.ts +8 -1
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +73 -52
- package/dist/package/payment-method/SbidBank.vue.d.ts +73 -52
- package/dist/package/payment-method/Wallet.vue.d.ts +73 -52
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +73 -52
- package/dist/package/payment-type/Sbid.vue.d.ts +73 -52
- package/dist/package/payment-type/Wallet.vue.d.ts +74 -52
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +72 -52
- package/dist/resources/images.d.ts +114 -0
- package/dist/types.d.ts +17 -0
- package/dist/utils/api.d.ts +85 -1
- package/dist/utils/fetch.d.ts +1 -0
- package/dist/utils/getLanguage.d.ts +72 -0
- package/dist/utils/helper.d.ts +1 -0
- package/dist/utils/minimumAppVersion.d.ts +1 -0
- package/dist/utils/storage.d.ts +1 -0
- package/dist/views/error-sheet/Index.vue.d.ts +82 -52
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +72 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +0 -52
- package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +459 -0
- package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +457 -0
- package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +457 -0
- package/dist/views/get-kyc-passport/GetKycPassportRootView.vue.d.ts +36 -0
- package/dist/views/get-kyc-passport/types.d.ts +6 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +73 -52
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +72 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +72 -0
- package/dist/views/init-kyc-passport/App.vue.d.ts +38 -0
- package/dist/views/init-kyc-passport/UpdateWarning.vue.d.ts +55 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +72 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +73 -52
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +73 -52
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +73 -52
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +75 -52
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +72 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +73 -52
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +72 -52
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +72 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +72 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +73 -52
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +72 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +73 -52
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +73 -52
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +1 -52
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +73 -52
- package/dist/views/open-app/App.vue.d.ts +73 -52
- package/dist/views/open-map/App.vue.d.ts +72 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +72 -0
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +73 -52
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +72 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +72 -0
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +72 -0
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +73 -52
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +1 -52
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +3 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +1 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +1 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +0 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +0 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +0 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +4 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +0 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +1 -52
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +1 -52
- package/dist/views/registerPaymentFeatures/fallback-method/FallbackMethodAppUpdateWarning.vue.d.ts +1 -52
- package/dist/views/show-update-warning/App.vue.d.ts +73 -52
- package/dist/views/sms-auth/App.vue.d.ts +580 -0
- package/dist/views/sms-auth/store.d.ts +321 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +1 -52
- package/dist/views/topup/App.vue.d.ts +73 -52
- package/dist/views/topup/CashbackInfo.vue.d.ts +72 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +74 -52
- package/package.json +1 -1
- package/dist/utils/getImages.d.ts +0 -52
|
@@ -12,59 +12,72 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
14
14
|
paymentMethodStatus: import("vue").ComputedRef<status>;
|
|
15
|
-
|
|
16
|
-
iconBalanceError: string;
|
|
17
|
-
animationDone: string;
|
|
18
|
-
merchant: string;
|
|
19
|
-
cashback: string;
|
|
20
|
-
iconCopy: string;
|
|
21
|
-
iconError: string;
|
|
22
|
-
iconOpenApp: string;
|
|
23
|
-
iconAppUpdate: string;
|
|
24
|
-
iconBackArrow: string;
|
|
25
|
-
paypay: string;
|
|
26
|
-
copyIcon: string;
|
|
27
|
-
jcb: string;
|
|
28
|
-
visa: string;
|
|
29
|
-
master: string;
|
|
30
|
-
amex: string;
|
|
31
|
-
iconAlert: string;
|
|
32
|
-
checkGreen: string;
|
|
33
|
-
yahoo: string;
|
|
34
|
-
ppCard: string;
|
|
35
|
-
softbank: string;
|
|
36
|
-
iconBirthday: string;
|
|
37
|
-
iconMinorAge: string;
|
|
38
|
-
iconClose: string;
|
|
39
|
-
whiteIconClose: string;
|
|
40
|
-
myOffer: string;
|
|
41
|
-
lightBlue: string;
|
|
42
|
-
iconBalanceIcon: string;
|
|
43
|
-
share: string;
|
|
44
|
-
rightArrow: string;
|
|
45
|
-
iconGrayError: string;
|
|
46
|
-
paypayRec: string;
|
|
47
|
-
paypayRecWhite: string;
|
|
48
|
-
downArrow: string;
|
|
49
|
-
bankIcon: string;
|
|
50
|
-
confetti: string;
|
|
51
|
-
payLater: string;
|
|
52
|
-
iconPen: string;
|
|
53
|
-
iconInputClear: string;
|
|
54
|
-
iconRightArrowGray: string;
|
|
55
|
-
iconKycWarn: string;
|
|
56
|
-
iconMail: string;
|
|
57
|
-
iconGreenTick: string;
|
|
58
|
-
iconExitMiniApp: string;
|
|
59
|
-
iconTopupNotice: string;
|
|
60
|
-
iconTopupSetup: string;
|
|
61
|
-
iconNotice: string;
|
|
62
|
-
iconTopupSuccess: string;
|
|
63
|
-
icon3DSecure: string;
|
|
64
|
-
iconArrowRightBlue: string;
|
|
65
|
-
iconInfo: string;
|
|
66
|
-
};
|
|
15
|
+
img_softbank: string;
|
|
67
16
|
lg: {
|
|
17
|
+
smsAuth: {
|
|
18
|
+
title: string;
|
|
19
|
+
subTitle: string;
|
|
20
|
+
subInfo: string;
|
|
21
|
+
help: string;
|
|
22
|
+
resend1: string;
|
|
23
|
+
resendText: string;
|
|
24
|
+
questionText: string;
|
|
25
|
+
authenticateBtn: string;
|
|
26
|
+
invalidOtpError: string;
|
|
27
|
+
errorOverLimitTitle: string;
|
|
28
|
+
errorOverLimitText: string;
|
|
29
|
+
defaultBtnText: string;
|
|
30
|
+
errorBtnText: string;
|
|
31
|
+
errorResendTitle: string;
|
|
32
|
+
errorResendText: string;
|
|
33
|
+
defaultErrordesc: string;
|
|
34
|
+
errorOverVerifyLimitTitle: string;
|
|
35
|
+
errorOverVerifyLimitText: string;
|
|
36
|
+
errorExpireTitle: string;
|
|
37
|
+
errorExpireText: string;
|
|
38
|
+
errorVerifyLimit: string;
|
|
39
|
+
errorVerifyText: string;
|
|
40
|
+
cancel: string;
|
|
41
|
+
close: string;
|
|
42
|
+
};
|
|
43
|
+
initKycPassport: {
|
|
44
|
+
UNACCEPTABLE_OP: {
|
|
45
|
+
text: string;
|
|
46
|
+
desc: string;
|
|
47
|
+
btnText1: string;
|
|
48
|
+
btnText2: string;
|
|
49
|
+
};
|
|
50
|
+
KYC_UPDATE_REQUIRED: {
|
|
51
|
+
text: string;
|
|
52
|
+
desc: string;
|
|
53
|
+
btnText1: string;
|
|
54
|
+
btnText2: string;
|
|
55
|
+
};
|
|
56
|
+
NOT_COMPLETED: {
|
|
57
|
+
text: string;
|
|
58
|
+
desc: string;
|
|
59
|
+
btnText1: string;
|
|
60
|
+
btnText2: string;
|
|
61
|
+
};
|
|
62
|
+
KYC_VALIDATION_IN_PROCESS: {
|
|
63
|
+
text: string;
|
|
64
|
+
desc: string;
|
|
65
|
+
btnText1: string;
|
|
66
|
+
btnText2: string;
|
|
67
|
+
};
|
|
68
|
+
DEFAULT: {
|
|
69
|
+
text: string;
|
|
70
|
+
desc: string;
|
|
71
|
+
btnText1: string;
|
|
72
|
+
btnText2: string;
|
|
73
|
+
};
|
|
74
|
+
updateWarning: {
|
|
75
|
+
title: string;
|
|
76
|
+
description: string;
|
|
77
|
+
update: string;
|
|
78
|
+
cancel: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
68
81
|
showUpdateWarning: {
|
|
69
82
|
closeBtn: string;
|
|
70
83
|
notNow: string;
|
|
@@ -424,6 +437,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
424
437
|
};
|
|
425
438
|
};
|
|
426
439
|
};
|
|
440
|
+
getKycPassport: {
|
|
441
|
+
fallbackSmsSheet: {
|
|
442
|
+
title: string;
|
|
443
|
+
text: string;
|
|
444
|
+
button: string;
|
|
445
|
+
buttonClose: string;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
427
448
|
};
|
|
428
449
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
429
450
|
sbid: {
|
|
@@ -17,59 +17,72 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
19
|
formattedBalance: import("vue").ComputedRef<string>;
|
|
20
|
-
|
|
21
|
-
iconBalanceError: string;
|
|
22
|
-
animationDone: string;
|
|
23
|
-
merchant: string;
|
|
24
|
-
cashback: string;
|
|
25
|
-
iconCopy: string;
|
|
26
|
-
iconError: string;
|
|
27
|
-
iconOpenApp: string;
|
|
28
|
-
iconAppUpdate: string;
|
|
29
|
-
iconBackArrow: string;
|
|
30
|
-
paypay: string;
|
|
31
|
-
copyIcon: string;
|
|
32
|
-
jcb: string;
|
|
33
|
-
visa: string;
|
|
34
|
-
master: string;
|
|
35
|
-
amex: string;
|
|
36
|
-
iconAlert: string;
|
|
37
|
-
checkGreen: string;
|
|
38
|
-
yahoo: string;
|
|
39
|
-
ppCard: string;
|
|
40
|
-
softbank: string;
|
|
41
|
-
iconBirthday: string;
|
|
42
|
-
iconMinorAge: string;
|
|
43
|
-
iconClose: string;
|
|
44
|
-
whiteIconClose: string;
|
|
45
|
-
myOffer: string;
|
|
46
|
-
lightBlue: string;
|
|
47
|
-
iconBalanceIcon: string;
|
|
48
|
-
share: string;
|
|
49
|
-
rightArrow: string;
|
|
50
|
-
iconGrayError: string;
|
|
51
|
-
paypayRec: string;
|
|
52
|
-
paypayRecWhite: string;
|
|
53
|
-
downArrow: string;
|
|
54
|
-
bankIcon: string;
|
|
55
|
-
confetti: string;
|
|
56
|
-
payLater: string;
|
|
57
|
-
iconPen: string;
|
|
58
|
-
iconInputClear: string;
|
|
59
|
-
iconRightArrowGray: string;
|
|
60
|
-
iconKycWarn: string;
|
|
61
|
-
iconMail: string;
|
|
62
|
-
iconGreenTick: string;
|
|
63
|
-
iconExitMiniApp: string;
|
|
64
|
-
iconTopupNotice: string;
|
|
65
|
-
iconTopupSetup: string;
|
|
66
|
-
iconNotice: string;
|
|
67
|
-
iconTopupSuccess: string;
|
|
68
|
-
icon3DSecure: string;
|
|
69
|
-
iconArrowRightBlue: string;
|
|
70
|
-
iconInfo: string;
|
|
71
|
-
};
|
|
20
|
+
img_iconBalanceIcon: string;
|
|
72
21
|
lg: {
|
|
22
|
+
smsAuth: {
|
|
23
|
+
title: string;
|
|
24
|
+
subTitle: string;
|
|
25
|
+
subInfo: string;
|
|
26
|
+
help: string;
|
|
27
|
+
resend1: string;
|
|
28
|
+
resendText: string;
|
|
29
|
+
questionText: string;
|
|
30
|
+
authenticateBtn: string;
|
|
31
|
+
invalidOtpError: string;
|
|
32
|
+
errorOverLimitTitle: string;
|
|
33
|
+
errorOverLimitText: string;
|
|
34
|
+
defaultBtnText: string;
|
|
35
|
+
errorBtnText: string;
|
|
36
|
+
errorResendTitle: string;
|
|
37
|
+
errorResendText: string;
|
|
38
|
+
defaultErrordesc: string;
|
|
39
|
+
errorOverVerifyLimitTitle: string;
|
|
40
|
+
errorOverVerifyLimitText: string;
|
|
41
|
+
errorExpireTitle: string;
|
|
42
|
+
errorExpireText: string;
|
|
43
|
+
errorVerifyLimit: string;
|
|
44
|
+
errorVerifyText: string;
|
|
45
|
+
cancel: string;
|
|
46
|
+
close: string;
|
|
47
|
+
};
|
|
48
|
+
initKycPassport: {
|
|
49
|
+
UNACCEPTABLE_OP: {
|
|
50
|
+
text: string;
|
|
51
|
+
desc: string;
|
|
52
|
+
btnText1: string;
|
|
53
|
+
btnText2: string;
|
|
54
|
+
};
|
|
55
|
+
KYC_UPDATE_REQUIRED: {
|
|
56
|
+
text: string;
|
|
57
|
+
desc: string;
|
|
58
|
+
btnText1: string;
|
|
59
|
+
btnText2: string;
|
|
60
|
+
};
|
|
61
|
+
NOT_COMPLETED: {
|
|
62
|
+
text: string;
|
|
63
|
+
desc: string;
|
|
64
|
+
btnText1: string;
|
|
65
|
+
btnText2: string;
|
|
66
|
+
};
|
|
67
|
+
KYC_VALIDATION_IN_PROCESS: {
|
|
68
|
+
text: string;
|
|
69
|
+
desc: string;
|
|
70
|
+
btnText1: string;
|
|
71
|
+
btnText2: string;
|
|
72
|
+
};
|
|
73
|
+
DEFAULT: {
|
|
74
|
+
text: string;
|
|
75
|
+
desc: string;
|
|
76
|
+
btnText1: string;
|
|
77
|
+
btnText2: string;
|
|
78
|
+
};
|
|
79
|
+
updateWarning: {
|
|
80
|
+
title: string;
|
|
81
|
+
description: string;
|
|
82
|
+
update: string;
|
|
83
|
+
cancel: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
73
86
|
showUpdateWarning: {
|
|
74
87
|
closeBtn: string;
|
|
75
88
|
notNow: string;
|
|
@@ -429,7 +442,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
429
442
|
};
|
|
430
443
|
};
|
|
431
444
|
};
|
|
445
|
+
getKycPassport: {
|
|
446
|
+
fallbackSmsSheet: {
|
|
447
|
+
title: string;
|
|
448
|
+
text: string;
|
|
449
|
+
button: string;
|
|
450
|
+
buttonClose: string;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
432
453
|
};
|
|
454
|
+
img_checkGreen: string;
|
|
433
455
|
isDesktop: import("vue").ComputedRef<boolean>;
|
|
434
456
|
isPreTransactionAutoChargeEnabled: import("vue").ComputedRef<boolean | undefined>;
|
|
435
457
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -17,59 +17,71 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
cashBackExpirebleUsable: boolean | undefined;
|
|
18
18
|
showExpirableBalance: boolean | undefined;
|
|
19
19
|
}>;
|
|
20
|
-
images: {
|
|
21
|
-
iconBalanceError: string;
|
|
22
|
-
animationDone: string;
|
|
23
|
-
merchant: string;
|
|
24
|
-
cashback: string;
|
|
25
|
-
iconCopy: string;
|
|
26
|
-
iconError: string;
|
|
27
|
-
iconOpenApp: string;
|
|
28
|
-
iconAppUpdate: string;
|
|
29
|
-
iconBackArrow: string;
|
|
30
|
-
paypay: string;
|
|
31
|
-
copyIcon: string;
|
|
32
|
-
jcb: string;
|
|
33
|
-
visa: string;
|
|
34
|
-
master: string;
|
|
35
|
-
amex: string;
|
|
36
|
-
iconAlert: string;
|
|
37
|
-
checkGreen: string;
|
|
38
|
-
yahoo: string;
|
|
39
|
-
ppCard: string;
|
|
40
|
-
softbank: string;
|
|
41
|
-
iconBirthday: string;
|
|
42
|
-
iconMinorAge: string;
|
|
43
|
-
iconClose: string;
|
|
44
|
-
whiteIconClose: string;
|
|
45
|
-
myOffer: string;
|
|
46
|
-
lightBlue: string;
|
|
47
|
-
iconBalanceIcon: string;
|
|
48
|
-
share: string;
|
|
49
|
-
rightArrow: string;
|
|
50
|
-
iconGrayError: string;
|
|
51
|
-
paypayRec: string;
|
|
52
|
-
paypayRecWhite: string;
|
|
53
|
-
downArrow: string;
|
|
54
|
-
bankIcon: string;
|
|
55
|
-
confetti: string;
|
|
56
|
-
payLater: string;
|
|
57
|
-
iconPen: string;
|
|
58
|
-
iconInputClear: string;
|
|
59
|
-
iconRightArrowGray: string;
|
|
60
|
-
iconKycWarn: string;
|
|
61
|
-
iconMail: string;
|
|
62
|
-
iconGreenTick: string;
|
|
63
|
-
iconExitMiniApp: string;
|
|
64
|
-
iconTopupNotice: string;
|
|
65
|
-
iconTopupSetup: string;
|
|
66
|
-
iconNotice: string;
|
|
67
|
-
iconTopupSuccess: string;
|
|
68
|
-
icon3DSecure: string;
|
|
69
|
-
iconArrowRightBlue: string;
|
|
70
|
-
iconInfo: string;
|
|
71
|
-
};
|
|
72
20
|
lg: {
|
|
21
|
+
smsAuth: {
|
|
22
|
+
title: string;
|
|
23
|
+
subTitle: string;
|
|
24
|
+
subInfo: string;
|
|
25
|
+
help: string;
|
|
26
|
+
resend1: string;
|
|
27
|
+
resendText: string;
|
|
28
|
+
questionText: string;
|
|
29
|
+
authenticateBtn: string;
|
|
30
|
+
invalidOtpError: string;
|
|
31
|
+
errorOverLimitTitle: string;
|
|
32
|
+
errorOverLimitText: string;
|
|
33
|
+
defaultBtnText: string;
|
|
34
|
+
errorBtnText: string;
|
|
35
|
+
errorResendTitle: string;
|
|
36
|
+
errorResendText: string;
|
|
37
|
+
defaultErrordesc: string;
|
|
38
|
+
errorOverVerifyLimitTitle: string;
|
|
39
|
+
errorOverVerifyLimitText: string;
|
|
40
|
+
errorExpireTitle: string;
|
|
41
|
+
errorExpireText: string;
|
|
42
|
+
errorVerifyLimit: string;
|
|
43
|
+
errorVerifyText: string;
|
|
44
|
+
cancel: string;
|
|
45
|
+
close: string;
|
|
46
|
+
};
|
|
47
|
+
initKycPassport: {
|
|
48
|
+
UNACCEPTABLE_OP: {
|
|
49
|
+
text: string;
|
|
50
|
+
desc: string;
|
|
51
|
+
btnText1: string;
|
|
52
|
+
btnText2: string;
|
|
53
|
+
};
|
|
54
|
+
KYC_UPDATE_REQUIRED: {
|
|
55
|
+
text: string;
|
|
56
|
+
desc: string;
|
|
57
|
+
btnText1: string;
|
|
58
|
+
btnText2: string;
|
|
59
|
+
};
|
|
60
|
+
NOT_COMPLETED: {
|
|
61
|
+
text: string;
|
|
62
|
+
desc: string;
|
|
63
|
+
btnText1: string;
|
|
64
|
+
btnText2: string;
|
|
65
|
+
};
|
|
66
|
+
KYC_VALIDATION_IN_PROCESS: {
|
|
67
|
+
text: string;
|
|
68
|
+
desc: string;
|
|
69
|
+
btnText1: string;
|
|
70
|
+
btnText2: string;
|
|
71
|
+
};
|
|
72
|
+
DEFAULT: {
|
|
73
|
+
text: string;
|
|
74
|
+
desc: string;
|
|
75
|
+
btnText1: string;
|
|
76
|
+
btnText2: string;
|
|
77
|
+
};
|
|
78
|
+
updateWarning: {
|
|
79
|
+
title: string;
|
|
80
|
+
description: string;
|
|
81
|
+
update: string;
|
|
82
|
+
cancel: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
73
85
|
showUpdateWarning: {
|
|
74
86
|
closeBtn: string;
|
|
75
87
|
notNow: string;
|
|
@@ -429,6 +441,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
429
441
|
};
|
|
430
442
|
};
|
|
431
443
|
};
|
|
444
|
+
getKycPassport: {
|
|
445
|
+
fallbackSmsSheet: {
|
|
446
|
+
title: string;
|
|
447
|
+
text: string;
|
|
448
|
+
button: string;
|
|
449
|
+
buttonClose: string;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
432
452
|
};
|
|
433
453
|
openBreakDown: import("vue").Ref<boolean>;
|
|
434
454
|
toggleBreakDown: () => void;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
export declare const img_iconBalanceError: string;
|
|
2
|
+
export declare const img_animationDone: string;
|
|
3
|
+
export declare const img_merchant: string;
|
|
4
|
+
export declare const img_cashback: string;
|
|
5
|
+
export declare const img_iconCopy: string;
|
|
6
|
+
export declare const img_iconError: string;
|
|
7
|
+
export declare const img_iconOpenApp: string;
|
|
8
|
+
export declare const img_iconAppUpdate: string;
|
|
9
|
+
export declare const img_iconBackArrow: string;
|
|
10
|
+
export declare const img_paypay: string;
|
|
11
|
+
export declare const img_copyIcon: string;
|
|
12
|
+
export declare const img_jcb: string;
|
|
13
|
+
export declare const img_visa: string;
|
|
14
|
+
export declare const img_master: string;
|
|
15
|
+
export declare const img_amex: string;
|
|
16
|
+
export declare const img_iconAlert: string;
|
|
17
|
+
export declare const img_checkGreen: string;
|
|
18
|
+
export declare const img_yahoo: string;
|
|
19
|
+
export declare const img_ppCard: string;
|
|
20
|
+
export declare const img_softbank: string;
|
|
21
|
+
export declare const img_iconBirthday: string;
|
|
22
|
+
export declare const img_iconMinorAge: string;
|
|
23
|
+
export declare const img_iconClose: string;
|
|
24
|
+
export declare const img_whiteIconClose: string;
|
|
25
|
+
export declare const img_myOffer: string;
|
|
26
|
+
export declare const img_lightBlue: string;
|
|
27
|
+
export declare const img_iconBalanceIcon: string;
|
|
28
|
+
export declare const img_share: string;
|
|
29
|
+
export declare const img_rightArrow: string;
|
|
30
|
+
export declare const img_iconGrayError: string;
|
|
31
|
+
export declare const img_paypayRec: string;
|
|
32
|
+
export declare const img_paypayRecWhite: string;
|
|
33
|
+
export declare const img_downArrow: string;
|
|
34
|
+
export declare const img_bankIcon: string;
|
|
35
|
+
export declare const img_confetti: string;
|
|
36
|
+
export declare const img_payLater: string;
|
|
37
|
+
export declare const img_iconPen: string;
|
|
38
|
+
export declare const img_iconInputClear: string;
|
|
39
|
+
export declare const img_iconRightArrowGray: string;
|
|
40
|
+
export declare const img_iconKycWarn: string;
|
|
41
|
+
export declare const img_iconMail: string;
|
|
42
|
+
export declare const img_iconGreenTick: string;
|
|
43
|
+
export declare const img_iconExitMiniApp: string;
|
|
44
|
+
export declare const img_iconTopupNotice: string;
|
|
45
|
+
export declare const img_iconTopupSetup: string;
|
|
46
|
+
export declare const img_iconNotice: string;
|
|
47
|
+
export declare const img_iconTopupSuccess: string;
|
|
48
|
+
export declare const img_icon3DSecure: string;
|
|
49
|
+
export declare const img_iconArrowRightBlue: string;
|
|
50
|
+
export declare const img_iconInfo: string;
|
|
51
|
+
export declare const img_showStorageAccessPermission: {
|
|
52
|
+
guide: {
|
|
53
|
+
desktop: {
|
|
54
|
+
chrome: {
|
|
55
|
+
image1: string;
|
|
56
|
+
image2: string;
|
|
57
|
+
image3: string;
|
|
58
|
+
};
|
|
59
|
+
safari: {
|
|
60
|
+
image1: string;
|
|
61
|
+
image2: string;
|
|
62
|
+
};
|
|
63
|
+
edge: {
|
|
64
|
+
image1: string;
|
|
65
|
+
image2: string;
|
|
66
|
+
image3: string;
|
|
67
|
+
};
|
|
68
|
+
firefox: {
|
|
69
|
+
image1: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
mobile: {
|
|
73
|
+
android: {
|
|
74
|
+
chrome: {
|
|
75
|
+
image1: string;
|
|
76
|
+
image2: string;
|
|
77
|
+
image3: string;
|
|
78
|
+
image4: string;
|
|
79
|
+
image5: string;
|
|
80
|
+
};
|
|
81
|
+
edge: {
|
|
82
|
+
image1: string;
|
|
83
|
+
image2: string;
|
|
84
|
+
image3: string;
|
|
85
|
+
image4: string;
|
|
86
|
+
image5: string;
|
|
87
|
+
};
|
|
88
|
+
firefox: {
|
|
89
|
+
image1: string;
|
|
90
|
+
image2: string;
|
|
91
|
+
image3: string;
|
|
92
|
+
image4: string;
|
|
93
|
+
image5: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ios: {
|
|
97
|
+
safari: {
|
|
98
|
+
image1: string;
|
|
99
|
+
image2: string;
|
|
100
|
+
};
|
|
101
|
+
edge: {
|
|
102
|
+
image1: string;
|
|
103
|
+
image2: string;
|
|
104
|
+
image3: string;
|
|
105
|
+
image4: string;
|
|
106
|
+
image5: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
export declare const img_paypayMulti: string;
|
|
113
|
+
export declare const img_mobileIcon: string;
|
|
114
|
+
export declare const img_exclaimIcon: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -127,6 +127,9 @@ export interface ShowErrorSheetParams extends NativeParams<void> {
|
|
|
127
127
|
title?: string;
|
|
128
128
|
buttons?: ButtonList[];
|
|
129
129
|
}
|
|
130
|
+
export interface SmsAuthParams extends NativeParams<void> {
|
|
131
|
+
callbackUrl: string;
|
|
132
|
+
}
|
|
130
133
|
export interface SetEnablePullDownRefreshParams extends NativeParams<void> {
|
|
131
134
|
enabled: boolean;
|
|
132
135
|
}
|
|
@@ -260,6 +263,10 @@ export interface RegisterKycParams extends NativeParams<unknown> {
|
|
|
260
263
|
redirectUrl?: string;
|
|
261
264
|
data?: KycData;
|
|
262
265
|
}
|
|
266
|
+
export interface InitKycPassportParams extends NativeParams<unknown> {
|
|
267
|
+
eKycDocuments?: Array<string>;
|
|
268
|
+
callbackUrl: string;
|
|
269
|
+
}
|
|
263
270
|
export interface StartMultiFactorAuthParams extends NativeParams<MiniAppResult> {
|
|
264
271
|
type: string;
|
|
265
272
|
callbackUrl: string;
|
|
@@ -392,6 +399,10 @@ export declare enum PpLocalStorageKey {
|
|
|
392
399
|
lastTopupPayMethod = "ppjssdk.lastTopupPayMethod",
|
|
393
400
|
codeVerifier = "ppjssdk.codeVerifier"
|
|
394
401
|
}
|
|
402
|
+
export declare enum KycPassportMethod {
|
|
403
|
+
biometric = "BIOMETRIC",
|
|
404
|
+
otp = "OTP"
|
|
405
|
+
}
|
|
395
406
|
export declare enum CookieDuration {
|
|
396
407
|
oneDay = 1,
|
|
397
408
|
oneMonth = 30,
|
|
@@ -491,4 +502,10 @@ export interface GetUserPaymentFeatureSettingsParams extends NativeParams<MiniAp
|
|
|
491
502
|
merchant?: string;
|
|
492
503
|
productType?: string;
|
|
493
504
|
}
|
|
505
|
+
export declare const KycPassportUrlParam: {
|
|
506
|
+
authType: string;
|
|
507
|
+
ekycDocuments: string;
|
|
508
|
+
sessionId: string;
|
|
509
|
+
functionName: string;
|
|
510
|
+
};
|
|
494
511
|
export {};
|
package/dist/utils/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MiniAppErrorType } from '../model/miniAppError';
|
|
2
2
|
import { UIComponentsError } from '../model/uiComponents';
|
|
3
|
-
import { Address, NewAddress } from '../types';
|
|
3
|
+
import { Address, InitKycPassportParams, NewAddress } from '../types';
|
|
4
4
|
export declare type TopupQuery = {
|
|
5
5
|
merchant?: string;
|
|
6
6
|
agreeSimilarTransaction?: boolean;
|
|
@@ -94,6 +94,7 @@ export declare function topup(queryParams: TopupQuery, body: TopupBody): Promise
|
|
|
94
94
|
unsigned: {
|
|
95
95
|
resultInfo: {
|
|
96
96
|
code: string;
|
|
97
|
+
codeId?: string | undefined;
|
|
97
98
|
};
|
|
98
99
|
data?: {
|
|
99
100
|
header?: {
|
|
@@ -165,6 +166,89 @@ export declare type GetAddressListResponse = {
|
|
|
165
166
|
};
|
|
166
167
|
export declare function getAddressList(): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
167
168
|
export declare function postAddress(body: NewAddress): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
169
|
+
export declare type GetOTPResponse = {
|
|
170
|
+
signed: {
|
|
171
|
+
jws: string;
|
|
172
|
+
resultInfo: {
|
|
173
|
+
code: MiniAppErrorType;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
unsigned: {
|
|
177
|
+
resultInfo: {
|
|
178
|
+
code: MiniAppErrorType;
|
|
179
|
+
codeId?: string;
|
|
180
|
+
};
|
|
181
|
+
data: {
|
|
182
|
+
otp_key: string;
|
|
183
|
+
phone_number: string;
|
|
184
|
+
prefix: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
export declare type VerifyOTPResponse = {
|
|
189
|
+
signed: {
|
|
190
|
+
jws: string;
|
|
191
|
+
resultInfo: {
|
|
192
|
+
code: MiniAppErrorType;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
unsigned: {
|
|
196
|
+
resultInfo: {
|
|
197
|
+
code: MiniAppErrorType;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
export declare type VerifyOTPBody = {
|
|
202
|
+
otpKey: string;
|
|
203
|
+
otp: number;
|
|
204
|
+
};
|
|
205
|
+
export declare function getOtp(): Promise<import("./fetch").PPFetchResult<GetOTPResponse, Record<string, unknown>>>;
|
|
206
|
+
export declare type KycTypeResponse = {
|
|
207
|
+
signed: {
|
|
208
|
+
resultInfo?: {
|
|
209
|
+
code?: string;
|
|
210
|
+
};
|
|
211
|
+
jws?: string;
|
|
212
|
+
};
|
|
213
|
+
unsigned: {
|
|
214
|
+
resultInfo?: {
|
|
215
|
+
code?: string;
|
|
216
|
+
};
|
|
217
|
+
data?: {
|
|
218
|
+
status?: string;
|
|
219
|
+
kycAt?: string;
|
|
220
|
+
type?: string;
|
|
221
|
+
eKycDocuments?: string;
|
|
222
|
+
kycInfo?: unknown;
|
|
223
|
+
kycPassportMethod?: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
export declare type VerifyKycPassportResponse = {
|
|
228
|
+
signed: {
|
|
229
|
+
resultInfo?: {
|
|
230
|
+
code?: string;
|
|
231
|
+
};
|
|
232
|
+
jws?: string;
|
|
233
|
+
};
|
|
234
|
+
unsigned: {
|
|
235
|
+
resultInfo?: {
|
|
236
|
+
code?: string;
|
|
237
|
+
};
|
|
238
|
+
data?: {
|
|
239
|
+
status?: string;
|
|
240
|
+
kycAt?: string;
|
|
241
|
+
type?: string;
|
|
242
|
+
eKycDocuments?: string;
|
|
243
|
+
kycInfo?: unknown;
|
|
244
|
+
kycPassportMethod?: string;
|
|
245
|
+
nonce: string;
|
|
246
|
+
possessionAuthResult: 'SUCCESS' | 'FAILED';
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
export declare function getInitKycPassport(params: InitKycPassportParams): Promise<import("./fetch").PPFetchResult<KycTypeResponse, Record<string, unknown>>>;
|
|
251
|
+
export declare function verifyOtp(body: VerifyOTPBody): Promise<import("./fetch").PPFetchResult<VerifyOTPResponse, Record<string, unknown>>>;
|
|
168
252
|
export declare function editAddress(body: NewAddress, id: number): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
169
253
|
export declare function deleteAddress(id: number): Promise<import("./fetch").PPFetchResult<GetAddressListResponse, Record<string, unknown>>>;
|
|
170
254
|
export declare function setSelectedAddress(addressId: number): Promise<import("./fetch").PPFetchResult<SetSelectedAddressResponse, Record<string, unknown>>>;
|