@paypay/mini-app-js-sdk 1.43.0 → 1.46.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/jsbridge-core/lib/reconstructParams.d.ts +2 -3
- package/dist/mini-app-api.d.ts +3 -3
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +3784 -1984
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +2 -3
- package/dist/model/bridge/getConfigure.d.ts +16 -0
- package/dist/model/bridge/registerPaymentFeatures.d.ts +2 -0
- package/dist/model/makePayment.d.ts +24 -9
- package/dist/model/miniAppError.d.ts +0 -1
- package/dist/model/uiComponents.d.ts +1 -1
- package/dist/package/header/index.d.ts +11 -0
- package/dist/package/payment-method/CreditCard.vue.d.ts +8 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +67 -4
- package/dist/package/payment-method/SbidBank.vue.d.ts +67 -4
- package/dist/package/payment-method/Wallet.vue.d.ts +67 -4
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +67 -4
- package/dist/package/payment-type/Sbid.vue.d.ts +67 -4
- package/dist/package/payment-type/Wallet.vue.d.ts +67 -4
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +67 -4
- package/dist/types.d.ts +21 -10
- package/dist/utils/api.d.ts +1 -0
- package/dist/utils/fetch.d.ts +1 -0
- package/dist/utils/getImages.d.ts +6 -0
- package/dist/utils/getLanguage.d.ts +61 -4
- package/dist/utils/helper.d.ts +4 -0
- package/dist/utils/storage.d.ts +3 -0
- package/dist/views/error-sheet/Index.vue.d.ts +67 -4
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +61 -4
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +6 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +67 -4
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +61 -4
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +61 -4
- package/dist/views/make-payment/Main.vue.d.ts +4 -1
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +61 -4
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +114 -4
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +83 -4
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +174 -17
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +61 -4
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +61 -4
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +67 -4
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +8 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +67 -4
- package/dist/views/make-payment/hooks/app-hooks.d.ts +60 -7
- package/dist/views/open-app/App.vue.d.ts +67 -4
- package/dist/views/open-map/App.vue.d.ts +61 -4
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +61 -4
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +67 -4
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +61 -4
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +61 -4
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +61 -4
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +67 -4
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +6 -0
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +177 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +92 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +144 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +150 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +141 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +147 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +90 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +99 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +166 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +170 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +143 -0
- package/dist/views/registerPaymentFeatures/api.d.ts +4 -0
- package/dist/views/registerPaymentFeatures/store.d.ts +88 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +62 -0
- package/dist/views/show-update-warning/App.vue.d.ts +67 -4
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +6 -0
- package/dist/views/topup/App.vue.d.ts +68 -5
- package/dist/views/topup/CashbackInfo.vue.d.ts +61 -4
- package/dist/views/topup/TopupCompletion.vue.d.ts +67 -4
- package/package.json +2 -1
- package/dist/composition-api/useTakePhoto.d.ts +0 -3
- package/dist/model/bridge/takePhoto.d.ts +0 -2
- package/dist/views/take-photo/App.vue.d.ts +0 -322
- package/dist/views/take-photo/helper.d.ts +0 -2
|
@@ -55,7 +55,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
iconKycWarn: string;
|
|
56
56
|
iconMail: string;
|
|
57
57
|
iconGreenTick: string;
|
|
58
|
+
iconExitMiniApp: string;
|
|
59
|
+
iconTopupNotice: string;
|
|
60
|
+
iconTopupSetup: string;
|
|
61
|
+
iconNotice: string;
|
|
62
|
+
iconTopupSuccess: string;
|
|
58
63
|
icon3DSecure: string;
|
|
64
|
+
iconArrowRightBlue: string;
|
|
59
65
|
};
|
|
60
66
|
lg: {
|
|
61
67
|
showUpdateWarning: {
|
|
@@ -92,10 +98,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
98
|
availableBalanceAfter: string;
|
|
93
99
|
allBalance: string;
|
|
94
100
|
};
|
|
95
|
-
takePhoto: {
|
|
96
|
-
camera: string;
|
|
97
|
-
photo: string;
|
|
98
|
-
};
|
|
99
101
|
payment: {
|
|
100
102
|
title: string;
|
|
101
103
|
payAmount: string;
|
|
@@ -110,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
112
|
noAddress: string;
|
|
111
113
|
change: string;
|
|
112
114
|
close: string;
|
|
115
|
+
noCashBack: string;
|
|
113
116
|
};
|
|
114
117
|
duplicate: {
|
|
115
118
|
header: string;
|
|
@@ -281,6 +284,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
281
284
|
};
|
|
282
285
|
cashbackList: {
|
|
283
286
|
close: string;
|
|
287
|
+
condition: string;
|
|
284
288
|
};
|
|
285
289
|
desktopTitle: {
|
|
286
290
|
Payment: string;
|
|
@@ -350,6 +354,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
350
354
|
about3DSecure: string;
|
|
351
355
|
close: string;
|
|
352
356
|
};
|
|
357
|
+
registerPaymentFeatures: {
|
|
358
|
+
autoTopupRoot: {
|
|
359
|
+
title: string;
|
|
360
|
+
titleNeedUpdate: string;
|
|
361
|
+
description: string;
|
|
362
|
+
minAmount: string;
|
|
363
|
+
unit: string;
|
|
364
|
+
addTopupMethod: string;
|
|
365
|
+
noActivatedTopupMethod: string;
|
|
366
|
+
topupNotice: string;
|
|
367
|
+
updateWarning: {
|
|
368
|
+
message: string;
|
|
369
|
+
update: string;
|
|
370
|
+
cancel: string;
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
autoTopupRootFooter: {
|
|
374
|
+
enable: string;
|
|
375
|
+
notice: string;
|
|
376
|
+
notNow: string;
|
|
377
|
+
};
|
|
378
|
+
amountChange: {
|
|
379
|
+
title: string;
|
|
380
|
+
description: string;
|
|
381
|
+
register: string;
|
|
382
|
+
cancel: string;
|
|
383
|
+
};
|
|
384
|
+
amountError: {
|
|
385
|
+
changeLimit: string;
|
|
386
|
+
close: string;
|
|
387
|
+
};
|
|
388
|
+
defaultError: {
|
|
389
|
+
title: string;
|
|
390
|
+
description: string;
|
|
391
|
+
};
|
|
392
|
+
autoTopupConfirmation: {
|
|
393
|
+
title: string;
|
|
394
|
+
description: string;
|
|
395
|
+
change: string;
|
|
396
|
+
cancel: string;
|
|
397
|
+
};
|
|
398
|
+
autoTopupSettingComplete: {
|
|
399
|
+
title: string;
|
|
400
|
+
description: string;
|
|
401
|
+
finish: string;
|
|
402
|
+
};
|
|
403
|
+
setupTopupMethod: {
|
|
404
|
+
title: string;
|
|
405
|
+
description: string;
|
|
406
|
+
finish: string;
|
|
407
|
+
cancel: string;
|
|
408
|
+
};
|
|
409
|
+
selectTopupAmount: {
|
|
410
|
+
title: string;
|
|
411
|
+
recommend: string;
|
|
412
|
+
close: string;
|
|
413
|
+
unit: string;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
353
416
|
};
|
|
354
417
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
355
418
|
sbid: {
|
|
@@ -60,7 +60,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
iconKycWarn: string;
|
|
61
61
|
iconMail: string;
|
|
62
62
|
iconGreenTick: string;
|
|
63
|
+
iconExitMiniApp: string;
|
|
64
|
+
iconTopupNotice: string;
|
|
65
|
+
iconTopupSetup: string;
|
|
66
|
+
iconNotice: string;
|
|
67
|
+
iconTopupSuccess: string;
|
|
63
68
|
icon3DSecure: string;
|
|
69
|
+
iconArrowRightBlue: string;
|
|
64
70
|
};
|
|
65
71
|
lg: {
|
|
66
72
|
showUpdateWarning: {
|
|
@@ -97,10 +103,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
103
|
availableBalanceAfter: string;
|
|
98
104
|
allBalance: string;
|
|
99
105
|
};
|
|
100
|
-
takePhoto: {
|
|
101
|
-
camera: string;
|
|
102
|
-
photo: string;
|
|
103
|
-
};
|
|
104
106
|
payment: {
|
|
105
107
|
title: string;
|
|
106
108
|
payAmount: string;
|
|
@@ -115,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
117
|
noAddress: string;
|
|
116
118
|
change: string;
|
|
117
119
|
close: string;
|
|
120
|
+
noCashBack: string;
|
|
118
121
|
};
|
|
119
122
|
duplicate: {
|
|
120
123
|
header: string;
|
|
@@ -286,6 +289,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
289
|
};
|
|
287
290
|
cashbackList: {
|
|
288
291
|
close: string;
|
|
292
|
+
condition: string;
|
|
289
293
|
};
|
|
290
294
|
desktopTitle: {
|
|
291
295
|
Payment: string;
|
|
@@ -355,6 +359,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
355
359
|
about3DSecure: string;
|
|
356
360
|
close: string;
|
|
357
361
|
};
|
|
362
|
+
registerPaymentFeatures: {
|
|
363
|
+
autoTopupRoot: {
|
|
364
|
+
title: string;
|
|
365
|
+
titleNeedUpdate: string;
|
|
366
|
+
description: string;
|
|
367
|
+
minAmount: string;
|
|
368
|
+
unit: string;
|
|
369
|
+
addTopupMethod: string;
|
|
370
|
+
noActivatedTopupMethod: string;
|
|
371
|
+
topupNotice: string;
|
|
372
|
+
updateWarning: {
|
|
373
|
+
message: string;
|
|
374
|
+
update: string;
|
|
375
|
+
cancel: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
autoTopupRootFooter: {
|
|
379
|
+
enable: string;
|
|
380
|
+
notice: string;
|
|
381
|
+
notNow: string;
|
|
382
|
+
};
|
|
383
|
+
amountChange: {
|
|
384
|
+
title: string;
|
|
385
|
+
description: string;
|
|
386
|
+
register: string;
|
|
387
|
+
cancel: string;
|
|
388
|
+
};
|
|
389
|
+
amountError: {
|
|
390
|
+
changeLimit: string;
|
|
391
|
+
close: string;
|
|
392
|
+
};
|
|
393
|
+
defaultError: {
|
|
394
|
+
title: string;
|
|
395
|
+
description: string;
|
|
396
|
+
};
|
|
397
|
+
autoTopupConfirmation: {
|
|
398
|
+
title: string;
|
|
399
|
+
description: string;
|
|
400
|
+
change: string;
|
|
401
|
+
cancel: string;
|
|
402
|
+
};
|
|
403
|
+
autoTopupSettingComplete: {
|
|
404
|
+
title: string;
|
|
405
|
+
description: string;
|
|
406
|
+
finish: string;
|
|
407
|
+
};
|
|
408
|
+
setupTopupMethod: {
|
|
409
|
+
title: string;
|
|
410
|
+
description: string;
|
|
411
|
+
finish: string;
|
|
412
|
+
cancel: string;
|
|
413
|
+
};
|
|
414
|
+
selectTopupAmount: {
|
|
415
|
+
title: string;
|
|
416
|
+
recommend: string;
|
|
417
|
+
close: string;
|
|
418
|
+
unit: string;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
358
421
|
};
|
|
359
422
|
isDesktop: import("vue").ComputedRef<boolean>;
|
|
360
423
|
isPreTransactionAutoChargeEnabled: import("vue").ComputedRef<boolean | undefined>;
|
|
@@ -60,7 +60,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
iconKycWarn: string;
|
|
61
61
|
iconMail: string;
|
|
62
62
|
iconGreenTick: string;
|
|
63
|
+
iconExitMiniApp: string;
|
|
64
|
+
iconTopupNotice: string;
|
|
65
|
+
iconTopupSetup: string;
|
|
66
|
+
iconNotice: string;
|
|
67
|
+
iconTopupSuccess: string;
|
|
63
68
|
icon3DSecure: string;
|
|
69
|
+
iconArrowRightBlue: string;
|
|
64
70
|
};
|
|
65
71
|
lg: {
|
|
66
72
|
showUpdateWarning: {
|
|
@@ -97,10 +103,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
103
|
availableBalanceAfter: string;
|
|
98
104
|
allBalance: string;
|
|
99
105
|
};
|
|
100
|
-
takePhoto: {
|
|
101
|
-
camera: string;
|
|
102
|
-
photo: string;
|
|
103
|
-
};
|
|
104
106
|
payment: {
|
|
105
107
|
title: string;
|
|
106
108
|
payAmount: string;
|
|
@@ -115,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
117
|
noAddress: string;
|
|
116
118
|
change: string;
|
|
117
119
|
close: string;
|
|
120
|
+
noCashBack: string;
|
|
118
121
|
};
|
|
119
122
|
duplicate: {
|
|
120
123
|
header: string;
|
|
@@ -286,6 +289,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
289
|
};
|
|
287
290
|
cashbackList: {
|
|
288
291
|
close: string;
|
|
292
|
+
condition: string;
|
|
289
293
|
};
|
|
290
294
|
desktopTitle: {
|
|
291
295
|
Payment: string;
|
|
@@ -355,6 +359,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
355
359
|
about3DSecure: string;
|
|
356
360
|
close: string;
|
|
357
361
|
};
|
|
362
|
+
registerPaymentFeatures: {
|
|
363
|
+
autoTopupRoot: {
|
|
364
|
+
title: string;
|
|
365
|
+
titleNeedUpdate: string;
|
|
366
|
+
description: string;
|
|
367
|
+
minAmount: string;
|
|
368
|
+
unit: string;
|
|
369
|
+
addTopupMethod: string;
|
|
370
|
+
noActivatedTopupMethod: string;
|
|
371
|
+
topupNotice: string;
|
|
372
|
+
updateWarning: {
|
|
373
|
+
message: string;
|
|
374
|
+
update: string;
|
|
375
|
+
cancel: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
autoTopupRootFooter: {
|
|
379
|
+
enable: string;
|
|
380
|
+
notice: string;
|
|
381
|
+
notNow: string;
|
|
382
|
+
};
|
|
383
|
+
amountChange: {
|
|
384
|
+
title: string;
|
|
385
|
+
description: string;
|
|
386
|
+
register: string;
|
|
387
|
+
cancel: string;
|
|
388
|
+
};
|
|
389
|
+
amountError: {
|
|
390
|
+
changeLimit: string;
|
|
391
|
+
close: string;
|
|
392
|
+
};
|
|
393
|
+
defaultError: {
|
|
394
|
+
title: string;
|
|
395
|
+
description: string;
|
|
396
|
+
};
|
|
397
|
+
autoTopupConfirmation: {
|
|
398
|
+
title: string;
|
|
399
|
+
description: string;
|
|
400
|
+
change: string;
|
|
401
|
+
cancel: string;
|
|
402
|
+
};
|
|
403
|
+
autoTopupSettingComplete: {
|
|
404
|
+
title: string;
|
|
405
|
+
description: string;
|
|
406
|
+
finish: string;
|
|
407
|
+
};
|
|
408
|
+
setupTopupMethod: {
|
|
409
|
+
title: string;
|
|
410
|
+
description: string;
|
|
411
|
+
finish: string;
|
|
412
|
+
cancel: string;
|
|
413
|
+
};
|
|
414
|
+
selectTopupAmount: {
|
|
415
|
+
title: string;
|
|
416
|
+
recommend: string;
|
|
417
|
+
close: string;
|
|
418
|
+
unit: string;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
358
421
|
};
|
|
359
422
|
openBreakDown: import("vue").Ref<boolean>;
|
|
360
423
|
toggleBreakDown: () => void;
|
package/dist/types.d.ts
CHANGED
|
@@ -179,14 +179,6 @@ export interface GetUserLocationParams extends NativeParams<GetUserLocationResul
|
|
|
179
179
|
validTimeMinutes?: number;
|
|
180
180
|
accuracy?: string;
|
|
181
181
|
}
|
|
182
|
-
export declare enum TakePhotoMode {
|
|
183
|
-
camera = 0,
|
|
184
|
-
album = 1
|
|
185
|
-
}
|
|
186
|
-
export interface TakePhotoResult extends MiniAppResult {
|
|
187
|
-
data?: string;
|
|
188
|
-
}
|
|
189
|
-
export declare type TakePhotoParams = NativeParams<TakePhotoResult>;
|
|
190
182
|
export interface SetTitleParams extends NativeParams<void> {
|
|
191
183
|
title?: string;
|
|
192
184
|
}
|
|
@@ -331,7 +323,7 @@ export interface UserInfo {
|
|
|
331
323
|
avatarUrl: string;
|
|
332
324
|
nickName: string;
|
|
333
325
|
}
|
|
334
|
-
export declare type PopStateInputParams = ShowErrorSheetParams | GetUserAddressParams | InputAddressParams | MakePaymentParams | OpenAppParams | MapParams | ShowAlertParams | ShowUpdateWarningParams |
|
|
326
|
+
export declare type PopStateInputParams = ShowErrorSheetParams | GetUserAddressParams | InputAddressParams | MakePaymentParams | OpenAppParams | MapParams | ShowAlertParams | ShowUpdateWarningParams | TopupParams;
|
|
335
327
|
export declare type Permission = {
|
|
336
328
|
blocker: boolean;
|
|
337
329
|
name: string;
|
|
@@ -392,7 +384,8 @@ export declare enum PpLocalStorageKey {
|
|
|
392
384
|
clientId = "ppjssdk.clientId",
|
|
393
385
|
userInfo = "ppjssdk.userInfo",
|
|
394
386
|
lastPaymentMethod = "ppjssdk.lastPaymentMethod",
|
|
395
|
-
lastTopupPayMethod = "ppjssdk.lastTopupPayMethod"
|
|
387
|
+
lastTopupPayMethod = "ppjssdk.lastTopupPayMethod",
|
|
388
|
+
codeVerifier = "ppjssdk.codeVerifier"
|
|
396
389
|
}
|
|
397
390
|
export declare enum CookieDuration {
|
|
398
391
|
oneDay = 1,
|
|
@@ -407,6 +400,12 @@ export declare type AddressUpdateEvent = {
|
|
|
407
400
|
selectedAddress: Address;
|
|
408
401
|
addresses: Address[];
|
|
409
402
|
};
|
|
403
|
+
export interface RegisterPaymentFeaturesParams extends NativeParams<void> {
|
|
404
|
+
paymentFeatureType: string;
|
|
405
|
+
}
|
|
406
|
+
export declare enum PaymentFeaturetype {
|
|
407
|
+
AUTO_TOPUP = "PRE_TRANSACTION_AUTO_CHARGE"
|
|
408
|
+
}
|
|
410
409
|
export declare type GrantedPermissionRespone = {
|
|
411
410
|
unsigned?: {
|
|
412
411
|
data?: {
|
|
@@ -434,4 +433,16 @@ export declare type SessionResponse = {
|
|
|
434
433
|
};
|
|
435
434
|
};
|
|
436
435
|
};
|
|
436
|
+
export declare enum ChallengeMethod {
|
|
437
|
+
S256 = "S256"
|
|
438
|
+
}
|
|
439
|
+
interface AuthStatusFailResult extends MiniAppErrorResultType {
|
|
440
|
+
code: {
|
|
441
|
+
challenge: string;
|
|
442
|
+
challengeMethod: ChallengeMethod;
|
|
443
|
+
} | null;
|
|
444
|
+
}
|
|
445
|
+
export interface GetAuthStatusParams extends NativeParams<MiniAppResult, AuthStatusFailResult> {
|
|
446
|
+
isInternal?: boolean;
|
|
447
|
+
}
|
|
437
448
|
export {};
|
package/dist/utils/api.d.ts
CHANGED
package/dist/utils/fetch.d.ts
CHANGED
|
@@ -41,5 +41,11 @@ export declare function getImages(): {
|
|
|
41
41
|
iconKycWarn: string;
|
|
42
42
|
iconMail: string;
|
|
43
43
|
iconGreenTick: string;
|
|
44
|
+
iconExitMiniApp: string;
|
|
45
|
+
iconTopupNotice: string;
|
|
46
|
+
iconTopupSetup: string;
|
|
47
|
+
iconNotice: string;
|
|
48
|
+
iconTopupSuccess: string;
|
|
44
49
|
icon3DSecure: string;
|
|
50
|
+
iconArrowRightBlue: string;
|
|
45
51
|
};
|
|
@@ -33,10 +33,6 @@ export declare function getLanguage(): {
|
|
|
33
33
|
availableBalanceAfter: string;
|
|
34
34
|
allBalance: string;
|
|
35
35
|
};
|
|
36
|
-
takePhoto: {
|
|
37
|
-
camera: string;
|
|
38
|
-
photo: string;
|
|
39
|
-
};
|
|
40
36
|
payment: {
|
|
41
37
|
title: string;
|
|
42
38
|
payAmount: string;
|
|
@@ -51,6 +47,7 @@ export declare function getLanguage(): {
|
|
|
51
47
|
noAddress: string;
|
|
52
48
|
change: string;
|
|
53
49
|
close: string;
|
|
50
|
+
noCashBack: string;
|
|
54
51
|
};
|
|
55
52
|
duplicate: {
|
|
56
53
|
header: string;
|
|
@@ -222,6 +219,7 @@ export declare function getLanguage(): {
|
|
|
222
219
|
};
|
|
223
220
|
cashbackList: {
|
|
224
221
|
close: string;
|
|
222
|
+
condition: string;
|
|
225
223
|
};
|
|
226
224
|
desktopTitle: {
|
|
227
225
|
Payment: string;
|
|
@@ -291,5 +289,64 @@ export declare function getLanguage(): {
|
|
|
291
289
|
about3DSecure: string;
|
|
292
290
|
close: string;
|
|
293
291
|
};
|
|
292
|
+
registerPaymentFeatures: {
|
|
293
|
+
autoTopupRoot: {
|
|
294
|
+
title: string;
|
|
295
|
+
titleNeedUpdate: string;
|
|
296
|
+
description: string;
|
|
297
|
+
minAmount: string;
|
|
298
|
+
unit: string;
|
|
299
|
+
addTopupMethod: string;
|
|
300
|
+
noActivatedTopupMethod: string;
|
|
301
|
+
topupNotice: string;
|
|
302
|
+
updateWarning: {
|
|
303
|
+
message: string;
|
|
304
|
+
update: string;
|
|
305
|
+
cancel: string;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
autoTopupRootFooter: {
|
|
309
|
+
enable: string;
|
|
310
|
+
notice: string;
|
|
311
|
+
notNow: string;
|
|
312
|
+
};
|
|
313
|
+
amountChange: {
|
|
314
|
+
title: string;
|
|
315
|
+
description: string;
|
|
316
|
+
register: string;
|
|
317
|
+
cancel: string;
|
|
318
|
+
};
|
|
319
|
+
amountError: {
|
|
320
|
+
changeLimit: string;
|
|
321
|
+
close: string;
|
|
322
|
+
};
|
|
323
|
+
defaultError: {
|
|
324
|
+
title: string;
|
|
325
|
+
description: string;
|
|
326
|
+
};
|
|
327
|
+
autoTopupConfirmation: {
|
|
328
|
+
title: string;
|
|
329
|
+
description: string;
|
|
330
|
+
change: string;
|
|
331
|
+
cancel: string;
|
|
332
|
+
};
|
|
333
|
+
autoTopupSettingComplete: {
|
|
334
|
+
title: string;
|
|
335
|
+
description: string;
|
|
336
|
+
finish: string;
|
|
337
|
+
};
|
|
338
|
+
setupTopupMethod: {
|
|
339
|
+
title: string;
|
|
340
|
+
description: string;
|
|
341
|
+
finish: string;
|
|
342
|
+
cancel: string;
|
|
343
|
+
};
|
|
344
|
+
selectTopupAmount: {
|
|
345
|
+
title: string;
|
|
346
|
+
recommend: string;
|
|
347
|
+
close: string;
|
|
348
|
+
unit: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
294
351
|
};
|
|
295
352
|
export declare function getPayPayLanguage(): string;
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare function getRuntime(): MiniAppRuntime;
|
|
|
40
40
|
export declare function isPayPayMiniApp(): boolean;
|
|
41
41
|
export declare function getAppVersion(): string | null;
|
|
42
42
|
export declare function semVerCompare(a: string, b: string): boolean;
|
|
43
|
+
export declare function checkVersion(minVersion: string): boolean;
|
|
43
44
|
export declare function delay(time?: number): Promise<boolean>;
|
|
44
45
|
export declare const createErrorCode: (errorCode: MiniAppErrorType, jws?: string | null | undefined) => {
|
|
45
46
|
errorCode: MiniAppErrorType;
|
|
@@ -50,4 +51,7 @@ export declare function handleHeightResize(el: HTMLElement, windowHeight: number
|
|
|
50
51
|
export declare function getPaymentMethodStatus(isExpired: boolean, val?: PaymentMethodStatus): unknown;
|
|
51
52
|
export declare function filterErrorButtonList(buttonList: UIComponentsErrorButton[] | null): UIComponentsErrorButton[] | undefined;
|
|
52
53
|
export declare function getFailErrorCode(ppFetchResult: string): MiniAppErrorType.timeOut | MiniAppErrorType.serverError | MiniAppErrorType.tokenExpired | MiniAppErrorType.notAuthorized;
|
|
54
|
+
export declare function getStoreUrl(): "https://play.google.com/store/apps/details?id=jp.ne.paypay.android.app" | "https://itunes.apple.com/app/id1435783608";
|
|
55
|
+
export declare function generateCodeVerifier(length?: number): string;
|
|
56
|
+
export declare function generateCodeChallange(codeVerifier: string): Promise<string>;
|
|
53
57
|
export {};
|
package/dist/utils/storage.d.ts
CHANGED
|
@@ -26,3 +26,6 @@ export declare function getClientId(): string | undefined;
|
|
|
26
26
|
export declare function saveClientId(id: string): void;
|
|
27
27
|
export declare function getUserInfo(): string | undefined;
|
|
28
28
|
export declare function saveUserInfo(userData: string): void;
|
|
29
|
+
export declare function getCodeVerifier(): string | undefined;
|
|
30
|
+
export declare function saveCodeVerifier(codeVerifier: string): void;
|
|
31
|
+
export declare function removeCodeVerifier(): void;
|
|
@@ -81,7 +81,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
iconKycWarn: string;
|
|
82
82
|
iconMail: string;
|
|
83
83
|
iconGreenTick: string;
|
|
84
|
+
iconExitMiniApp: string;
|
|
85
|
+
iconTopupNotice: string;
|
|
86
|
+
iconTopupSetup: string;
|
|
87
|
+
iconNotice: string;
|
|
88
|
+
iconTopupSuccess: string;
|
|
84
89
|
icon3DSecure: string;
|
|
90
|
+
iconArrowRightBlue: string;
|
|
85
91
|
};
|
|
86
92
|
lg: {
|
|
87
93
|
showUpdateWarning: {
|
|
@@ -118,10 +124,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
124
|
availableBalanceAfter: string;
|
|
119
125
|
allBalance: string;
|
|
120
126
|
};
|
|
121
|
-
takePhoto: {
|
|
122
|
-
camera: string;
|
|
123
|
-
photo: string;
|
|
124
|
-
};
|
|
125
127
|
payment: {
|
|
126
128
|
title: string;
|
|
127
129
|
payAmount: string;
|
|
@@ -136,6 +138,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
138
|
noAddress: string;
|
|
137
139
|
change: string;
|
|
138
140
|
close: string;
|
|
141
|
+
noCashBack: string;
|
|
139
142
|
};
|
|
140
143
|
duplicate: {
|
|
141
144
|
header: string;
|
|
@@ -307,6 +310,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
307
310
|
};
|
|
308
311
|
cashbackList: {
|
|
309
312
|
close: string;
|
|
313
|
+
condition: string;
|
|
310
314
|
};
|
|
311
315
|
desktopTitle: {
|
|
312
316
|
Payment: string;
|
|
@@ -376,6 +380,65 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
376
380
|
about3DSecure: string;
|
|
377
381
|
close: string;
|
|
378
382
|
};
|
|
383
|
+
registerPaymentFeatures: {
|
|
384
|
+
autoTopupRoot: {
|
|
385
|
+
title: string;
|
|
386
|
+
titleNeedUpdate: string;
|
|
387
|
+
description: string;
|
|
388
|
+
minAmount: string;
|
|
389
|
+
unit: string;
|
|
390
|
+
addTopupMethod: string;
|
|
391
|
+
noActivatedTopupMethod: string;
|
|
392
|
+
topupNotice: string;
|
|
393
|
+
updateWarning: {
|
|
394
|
+
message: string;
|
|
395
|
+
update: string;
|
|
396
|
+
cancel: string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
autoTopupRootFooter: {
|
|
400
|
+
enable: string;
|
|
401
|
+
notice: string;
|
|
402
|
+
notNow: string;
|
|
403
|
+
};
|
|
404
|
+
amountChange: {
|
|
405
|
+
title: string;
|
|
406
|
+
description: string;
|
|
407
|
+
register: string;
|
|
408
|
+
cancel: string;
|
|
409
|
+
};
|
|
410
|
+
amountError: {
|
|
411
|
+
changeLimit: string;
|
|
412
|
+
close: string;
|
|
413
|
+
};
|
|
414
|
+
defaultError: {
|
|
415
|
+
title: string;
|
|
416
|
+
description: string;
|
|
417
|
+
};
|
|
418
|
+
autoTopupConfirmation: {
|
|
419
|
+
title: string;
|
|
420
|
+
description: string;
|
|
421
|
+
change: string;
|
|
422
|
+
cancel: string;
|
|
423
|
+
};
|
|
424
|
+
autoTopupSettingComplete: {
|
|
425
|
+
title: string;
|
|
426
|
+
description: string;
|
|
427
|
+
finish: string;
|
|
428
|
+
};
|
|
429
|
+
setupTopupMethod: {
|
|
430
|
+
title: string;
|
|
431
|
+
description: string;
|
|
432
|
+
finish: string;
|
|
433
|
+
cancel: string;
|
|
434
|
+
};
|
|
435
|
+
selectTopupAmount: {
|
|
436
|
+
title: string;
|
|
437
|
+
recommend: string;
|
|
438
|
+
close: string;
|
|
439
|
+
unit: string;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
379
442
|
};
|
|
380
443
|
}, {
|
|
381
444
|
buttonListData(): UIComponentsErrorButton[] | ErrorSheetButton[] | null | undefined;
|