@paypay/mini-app-js-sdk 1.53.0 → 1.54.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 +218 -199
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +4 -0
- package/dist/package/payment-method/SbidBank.vue.d.ts +4 -0
- package/dist/package/payment-method/Wallet.vue.d.ts +4 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +4 -0
- package/dist/package/payment-type/Sbid.vue.d.ts +4 -0
- package/dist/package/payment-type/Wallet.vue.d.ts +4 -0
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +4 -0
- package/dist/types.d.ts +8 -1
- package/dist/utils/getImages.d.ts +1 -0
- package/dist/utils/getLanguage.d.ts +3 -0
- package/dist/utils/helper.d.ts +2 -0
- package/dist/utils/minimumAppVersion.d.ts +1 -0
- package/dist/views/error-sheet/Index.vue.d.ts +8 -9
- package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +3 -0
- package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +1 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +4 -0
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +3 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +5 -3
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +3 -0
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +4 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +1 -0
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +4 -0
- package/dist/views/open-app/App.vue.d.ts +4 -0
- package/dist/views/open-map/App.vue.d.ts +3 -0
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +5 -2
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +4 -0
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +3 -0
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +5 -2
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +5 -2
- package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +4 -0
- package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +10 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +5 -2
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +4 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +4 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +9 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +32 -2
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +5 -1
- package/dist/views/registerPaymentFeatures/api.d.ts +2 -2
- package/dist/views/registerPaymentFeatures/fallback-method/FallbackMethodAppUpdateWarning.vue.d.ts +1 -0
- package/dist/views/registerPaymentFeatures/store.d.ts +4 -2
- package/dist/views/registerPaymentFeatures/types.d.ts +12 -3
- package/dist/views/show-update-warning/App.vue.d.ts +4 -0
- package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +1 -0
- package/dist/views/topup/App.vue.d.ts +4 -0
- package/dist/views/topup/BannerInfo.vue.d.ts +4 -1
- package/dist/views/topup/CashbackInfo.vue.d.ts +3 -0
- package/dist/views/topup/TopupCompletion.vue.d.ts +4 -0
- package/package.json +1 -1
package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
55
55
|
iconTopupSuccess: string;
|
|
56
56
|
icon3DSecure: string;
|
|
57
57
|
iconArrowRightBlue: string;
|
|
58
|
+
iconInfo: string;
|
|
58
59
|
};
|
|
59
60
|
navigateToTopupMethod: () => void;
|
|
60
61
|
store: import("pinia").Store<"registerPaymentFeatures", {
|
|
@@ -96,6 +97,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
96
97
|
errorSheet: {
|
|
97
98
|
isVisible: boolean;
|
|
98
99
|
};
|
|
100
|
+
isEmoneyOnly: boolean;
|
|
101
|
+
showEmoneyOnlyNotice: boolean;
|
|
102
|
+
ptacPaymentMethodId?: string | undefined;
|
|
99
103
|
}, {
|
|
100
104
|
defaultPaymentMethod(): import("../../model/makePayment").PaymentMethod | undefined;
|
|
101
105
|
availablePaymentMethodList(): import("../../model/makePayment").PaymentMethod[] | undefined;
|
|
@@ -112,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
112
116
|
selectPaymentMethod(payload: {
|
|
113
117
|
paymentIndex: number;
|
|
114
118
|
}): void;
|
|
115
|
-
initialize(
|
|
119
|
+
initialize(isEmoneyOnly: boolean, needUpdate: boolean, merchant?: string | undefined, productType?: string | undefined): Promise<void>;
|
|
116
120
|
showAddBankUI(): Promise<void>;
|
|
117
121
|
initAppConfig(): Promise<boolean>;
|
|
118
122
|
handleErrorResponse(response: import("../../utils/fetch").PPFetchResult<unknown, Record<string, unknown>>): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PPFetchResult } from '../../utils/fetch';
|
|
2
|
-
import { GetTopupConfigurationResponse, PostPreTransactionAutoTopupResponse, UpdatePreTransactionAutoTopupConfigurationParams, GetConsultPaymentFeature, GetConsultPaymentFeatureParams } from './types';
|
|
3
|
-
export declare function getTopupConfiguration(): Promise<PPFetchResult<GetTopupConfigurationResponse>>;
|
|
2
|
+
import { GetTopupConfigurationResponse, PostPreTransactionAutoTopupResponse, UpdatePreTransactionAutoTopupConfigurationParams, GetConsultPaymentFeature, GetConsultPaymentFeatureParams, TopupConfigParams } from './types';
|
|
3
|
+
export declare function getTopupConfiguration(params?: TopupConfigParams): Promise<PPFetchResult<GetTopupConfigurationResponse>>;
|
|
4
4
|
export declare function updatePreTransactionAutoTopupConfiguration(params: UpdatePreTransactionAutoTopupConfigurationParams): Promise<PPFetchResult<PostPreTransactionAutoTopupResponse>>;
|
|
5
5
|
export declare function getConsultPaymentFeature(params: GetConsultPaymentFeatureParams): Promise<PPFetchResult<GetConsultPaymentFeature>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MiniAppErrorType } from '../../model/miniAppError';
|
|
2
2
|
import { UIComponentsError } from '../../model/uiComponents';
|
|
3
3
|
import { PaymentMethodInfo, AutoTopupMode } from './types';
|
|
4
|
-
import { PaymentFeatureType } from '../../types';
|
|
5
4
|
import { PPFetchResult } from '../../utils/fetch';
|
|
6
5
|
declare type State = {
|
|
7
6
|
mode: AutoTopupMode;
|
|
@@ -37,6 +36,9 @@ declare type State = {
|
|
|
37
36
|
errorSheet: {
|
|
38
37
|
isVisible: boolean;
|
|
39
38
|
};
|
|
39
|
+
isEmoneyOnly: boolean;
|
|
40
|
+
showEmoneyOnlyNotice: boolean;
|
|
41
|
+
ptacPaymentMethodId?: string;
|
|
40
42
|
};
|
|
41
43
|
declare type Result = {
|
|
42
44
|
type: 'success';
|
|
@@ -60,7 +62,7 @@ export declare const useRegisterPaymentFeaturesStore: import("pinia").StoreDefin
|
|
|
60
62
|
selectPaymentMethod(payload: {
|
|
61
63
|
paymentIndex: number;
|
|
62
64
|
}): void;
|
|
63
|
-
initialize(
|
|
65
|
+
initialize(isEmoneyOnly: boolean, needUpdate: boolean, merchant?: string | undefined, productType?: string | undefined): Promise<void>;
|
|
64
66
|
showAddBankUI(): Promise<void>;
|
|
65
67
|
initAppConfig(): Promise<boolean>;
|
|
66
68
|
handleErrorResponse(response: PPFetchResult<unknown>): void;
|
|
@@ -20,6 +20,7 @@ export declare type TopupConfigurationData = {
|
|
|
20
20
|
preTransactionAutoTopupConfiguration?: PreTransactionAutoTopupConfiguration;
|
|
21
21
|
paymentMethodList?: PaymentMethodInfo[];
|
|
22
22
|
appealDescription: DescriptionInfo;
|
|
23
|
+
preTransactionAutoTopupPaymentMethod?: PaymentMethodInfo;
|
|
23
24
|
};
|
|
24
25
|
export declare type UpdatePreTransactionAutoTopupConfigurationParams = {
|
|
25
26
|
isEnabled: boolean;
|
|
@@ -62,13 +63,21 @@ declare type DescriptionInfo = {
|
|
|
62
63
|
};
|
|
63
64
|
export declare type GetConsultPaymentFeature = {
|
|
64
65
|
unsigned: {
|
|
65
|
-
data:
|
|
66
|
-
nextAction: ConsultPaymentFeatureType;
|
|
67
|
-
};
|
|
66
|
+
data: GetConsultPaymentFeatureResData;
|
|
68
67
|
};
|
|
69
68
|
};
|
|
69
|
+
export declare type GetConsultPaymentFeatureResData = {
|
|
70
|
+
nextAction: ConsultPaymentFeatureType;
|
|
71
|
+
isEmoneyOnly: boolean;
|
|
72
|
+
};
|
|
70
73
|
export declare type GetConsultPaymentFeatureParams = {
|
|
71
74
|
paymentFeatureType: PaymentFeatureType;
|
|
72
75
|
merchant?: string;
|
|
76
|
+
productType?: string;
|
|
77
|
+
};
|
|
78
|
+
export declare type TopupConfigParams = {
|
|
79
|
+
includePaymentMethodList: boolean;
|
|
80
|
+
merchant?: string;
|
|
81
|
+
productType?: string;
|
|
73
82
|
};
|
|
74
83
|
export {};
|
|
@@ -314,6 +314,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
314
314
|
update: string;
|
|
315
315
|
cancel: string;
|
|
316
316
|
};
|
|
317
|
+
eMoneyOnly: string;
|
|
318
|
+
topupNoticeEmoneyOnlyTitle: string;
|
|
319
|
+
topupNoticeEmoneyOnlyDesc: string;
|
|
317
320
|
};
|
|
318
321
|
autoTopupRootFooter: {
|
|
319
322
|
enable: string;
|
|
@@ -416,6 +419,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
416
419
|
iconTopupSuccess: string;
|
|
417
420
|
icon3DSecure: string;
|
|
418
421
|
iconArrowRightBlue: string;
|
|
422
|
+
iconInfo: string;
|
|
419
423
|
};
|
|
420
424
|
}, {
|
|
421
425
|
description(): string;
|
|
@@ -359,6 +359,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
359
359
|
update: string;
|
|
360
360
|
cancel: string;
|
|
361
361
|
};
|
|
362
|
+
eMoneyOnly: string;
|
|
363
|
+
topupNoticeEmoneyOnlyTitle: string;
|
|
364
|
+
topupNoticeEmoneyOnlyDesc: string;
|
|
362
365
|
};
|
|
363
366
|
autoTopupRootFooter: {
|
|
364
367
|
enable: string;
|
|
@@ -461,6 +464,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
461
464
|
iconTopupSuccess: string;
|
|
462
465
|
icon3DSecure: string;
|
|
463
466
|
iconArrowRightBlue: string;
|
|
467
|
+
iconInfo: string;
|
|
464
468
|
};
|
|
465
469
|
isFirstLoad: boolean;
|
|
466
470
|
show3DSecureSheet: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { PaymentMethod } from '../../model/makePayment';
|
|
3
3
|
import { UIComponentsErrorButton } from '../../model/uiComponents';
|
|
4
|
+
import { getButtonType } from '../../utils/helper';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<{
|
|
5
6
|
selectedPaymentMethod: {
|
|
6
7
|
type: PropType<PaymentMethod | null>;
|
|
@@ -15,7 +16,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
16
|
buttonList: import("vue").ComputedRef<UIComponentsErrorButton[] | undefined>;
|
|
16
17
|
click: (item: UIComponentsErrorButton, index: number) => void;
|
|
17
18
|
style: Record<string, string>;
|
|
18
|
-
}, unknown, {}, {
|
|
19
|
+
}, unknown, {}, {
|
|
20
|
+
getButtonType: typeof getButtonType;
|
|
21
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
22
|
click: (_item: UIComponentsErrorButton, _index: number) => true;
|
|
20
23
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
24
|
selectedPaymentMethod: {
|
|
@@ -329,6 +329,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
329
329
|
update: string;
|
|
330
330
|
cancel: string;
|
|
331
331
|
};
|
|
332
|
+
eMoneyOnly: string;
|
|
333
|
+
topupNoticeEmoneyOnlyTitle: string;
|
|
334
|
+
topupNoticeEmoneyOnlyDesc: string;
|
|
332
335
|
};
|
|
333
336
|
autoTopupRootFooter: {
|
|
334
337
|
enable: string;
|
|
@@ -56,6 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
iconTopupSuccess: string;
|
|
57
57
|
icon3DSecure: string;
|
|
58
58
|
iconArrowRightBlue: string;
|
|
59
|
+
iconInfo: string;
|
|
59
60
|
};
|
|
60
61
|
amount: import("vue").ComputedRef<string>;
|
|
61
62
|
statusLabelColor: import("vue").ComputedRef<string | undefined>;
|
|
@@ -369,6 +370,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
369
370
|
update: string;
|
|
370
371
|
cancel: string;
|
|
371
372
|
};
|
|
373
|
+
eMoneyOnly: string;
|
|
374
|
+
topupNoticeEmoneyOnlyTitle: string;
|
|
375
|
+
topupNoticeEmoneyOnlyDesc: string;
|
|
372
376
|
};
|
|
373
377
|
autoTopupRootFooter: {
|
|
374
378
|
enable: string;
|