@paypay/mini-app-js-sdk 1.73.1 → 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 +1661 -1289
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/getConfigure.d.ts +2 -2
- 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/init-kyc-passport/App.vue.d.ts +2 -2
- 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 +3 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +6 -5
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +3 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +2 -0
- package/dist/views/registerPaymentFeatures/store.d.ts +3 -0
- package/dist/views/registerPaymentFeatures/types.d.ts +9 -0
- package/dist/views/show-update-warning/App.vue.d.ts +1 -0
- package/dist/views/sms-auth/App.vue.d.ts +4 -4
- package/dist/views/sms-auth/store.d.ts +1 -1
- 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
|
@@ -33,7 +33,7 @@ export declare type ConfigurationResponse = {
|
|
|
33
33
|
variables: Variables;
|
|
34
34
|
};
|
|
35
35
|
export declare function initAppConfiguration(): Promise<boolean>;
|
|
36
|
-
declare type AppConfig = {
|
|
36
|
+
export declare type AppConfig = {
|
|
37
37
|
topupButtonsAmount: Array<{
|
|
38
38
|
description: string;
|
|
39
39
|
value: number[];
|
|
@@ -58,5 +58,5 @@ declare type AppConfig = {
|
|
|
58
58
|
value: number;
|
|
59
59
|
}>;
|
|
60
60
|
};
|
|
61
|
-
export declare function getAppConfig(): AppConfig | null
|
|
61
|
+
export declare function getAppConfig(): Promise<AppConfig | null>;
|
|
62
62
|
export {};
|
|
@@ -64,12 +64,14 @@ declare type MethodBase = {
|
|
|
64
64
|
statusDescription: DescriptionInfo | null;
|
|
65
65
|
additionalDescription: DescriptionInfo | null;
|
|
66
66
|
detailDescription: DescriptionInfo | null;
|
|
67
|
+
label?: DescriptionInfo | null;
|
|
67
68
|
amountInfo?: {
|
|
68
69
|
label: string;
|
|
69
70
|
amount: number;
|
|
70
71
|
currency: string;
|
|
71
72
|
};
|
|
72
73
|
};
|
|
74
|
+
feeInfo?: TopupFeeInfo;
|
|
73
75
|
};
|
|
74
76
|
export declare type DescriptionInfo = {
|
|
75
77
|
text: string;
|
|
@@ -215,6 +217,11 @@ export declare type ResponseBase = {
|
|
|
215
217
|
};
|
|
216
218
|
};
|
|
217
219
|
export declare type PaymentMethod = WalletMethod | CreditMethod | BankMethod | SbidBankMethod | PayLaterCCMethod | PayLaterMethod;
|
|
220
|
+
export declare type TopupFeeInfo = {
|
|
221
|
+
feePercentage?: number;
|
|
222
|
+
label: string;
|
|
223
|
+
zeroFeeText?: string;
|
|
224
|
+
};
|
|
218
225
|
declare type PaymentMethodPreference = {
|
|
219
226
|
preTransactionAutoChargeEnabled: boolean;
|
|
220
227
|
prioritizedPaymentMethodsEnabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, StyleValue } from 'vue';
|
|
2
2
|
export declare const ActionSheet: import("vue").DefineComponent<{
|
|
3
3
|
show: BooleanConstructor;
|
|
4
4
|
class: {
|
|
@@ -26,7 +26,7 @@ export declare const ActionSheet: import("vue").DefineComponent<{
|
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
28
|
style: {
|
|
29
|
-
type:
|
|
29
|
+
type: PropType<StyleValue & object>;
|
|
30
30
|
default: () => {};
|
|
31
31
|
required: false;
|
|
32
32
|
};
|
|
@@ -44,6 +44,11 @@ export declare const ActionSheet: import("vue").DefineComponent<{
|
|
|
44
44
|
type: StringConstructor;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
|
+
topSpacerStyle: {
|
|
48
|
+
type: PropType<StyleValue>;
|
|
49
|
+
required: false;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
47
52
|
}, {
|
|
48
53
|
slots: Readonly<{
|
|
49
54
|
[name: string]: import("vue").Slot | undefined;
|
|
@@ -52,14 +57,13 @@ export declare const ActionSheet: import("vue").DefineComponent<{
|
|
|
52
57
|
touchStart: (e: TouchEvent) => void;
|
|
53
58
|
touchEnd: () => void;
|
|
54
59
|
touchMove: (e: TouchEvent) => void;
|
|
55
|
-
parentStyle: import("vue").ComputedRef<
|
|
56
|
-
[key: string]: string;
|
|
57
|
-
}>;
|
|
60
|
+
parentStyle: import("vue").ComputedRef<import("vue").CSSProperties | StyleValue[]>;
|
|
58
61
|
close: () => void;
|
|
59
62
|
capitalizedTypeValue: import("vue").ComputedRef<string>;
|
|
60
63
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
64
|
close: () => true;
|
|
62
65
|
afterLeave: () => true;
|
|
66
|
+
transitionEnd: () => true;
|
|
63
67
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
68
|
show: BooleanConstructor;
|
|
65
69
|
class: {
|
|
@@ -87,7 +91,7 @@ export declare const ActionSheet: import("vue").DefineComponent<{
|
|
|
87
91
|
default: boolean;
|
|
88
92
|
};
|
|
89
93
|
style: {
|
|
90
|
-
type:
|
|
94
|
+
type: PropType<StyleValue & object>;
|
|
91
95
|
default: () => {};
|
|
92
96
|
required: false;
|
|
93
97
|
};
|
|
@@ -105,11 +109,17 @@ export declare const ActionSheet: import("vue").DefineComponent<{
|
|
|
105
109
|
type: StringConstructor;
|
|
106
110
|
default: string;
|
|
107
111
|
};
|
|
112
|
+
topSpacerStyle: {
|
|
113
|
+
type: PropType<StyleValue>;
|
|
114
|
+
required: false;
|
|
115
|
+
default: null;
|
|
116
|
+
};
|
|
108
117
|
}>> & {
|
|
109
118
|
onClose?: (() => any) | undefined;
|
|
110
119
|
onAfterLeave?: (() => any) | undefined;
|
|
120
|
+
onTransitionEnd?: (() => any) | undefined;
|
|
111
121
|
}, {
|
|
112
|
-
style:
|
|
122
|
+
style: StyleValue & object;
|
|
113
123
|
type: "primary" | "secondary" | "alert";
|
|
114
124
|
show: boolean;
|
|
115
125
|
class: string | Record<string, any>;
|
|
@@ -120,4 +130,5 @@ export declare const ActionSheet: import("vue").DefineComponent<{
|
|
|
120
130
|
noPaddingBottom: boolean;
|
|
121
131
|
noOverlay: boolean;
|
|
122
132
|
containerClass: string;
|
|
133
|
+
topSpacerStyle: StyleValue;
|
|
123
134
|
}>;
|
|
@@ -83,10 +83,10 @@ export declare const Button: import("vue").DefineComponent<{
|
|
|
83
83
|
type: ButtonType;
|
|
84
84
|
name: string;
|
|
85
85
|
class: string | Record<string, any>;
|
|
86
|
+
size: ButtonSize;
|
|
87
|
+
block: boolean;
|
|
86
88
|
disabled: boolean;
|
|
87
89
|
loading: boolean;
|
|
88
|
-
block: boolean;
|
|
89
|
-
size: ButtonSize;
|
|
90
90
|
tabIndex: number;
|
|
91
91
|
disabledClassName: string;
|
|
92
92
|
noMargin: boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DescriptionInfo } from '../../model/makePayment';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
descriptionInfo: {
|
|
4
|
+
type: () => DescriptionInfo | null;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
}, unknown, unknown, {
|
|
8
|
+
style(): import("vue").CSSProperties;
|
|
9
|
+
label(): string;
|
|
10
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
descriptionInfo: {
|
|
12
|
+
type: () => DescriptionInfo | null;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
}>>, {
|
|
16
|
+
descriptionInfo: DescriptionInfo | null;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
@@ -20,9 +20,8 @@ export declare const Currency: import("vue").DefineComponent<{
|
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
22
|
modelValue: {
|
|
23
|
-
type:
|
|
24
|
-
required:
|
|
25
|
-
default: string;
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
26
25
|
};
|
|
27
26
|
placeholder: {
|
|
28
27
|
type: StringConstructor;
|
|
@@ -76,9 +75,8 @@ export declare const Currency: import("vue").DefineComponent<{
|
|
|
76
75
|
default: boolean;
|
|
77
76
|
};
|
|
78
77
|
modelValue: {
|
|
79
|
-
type:
|
|
80
|
-
required:
|
|
81
|
-
default: string;
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
required: true;
|
|
82
80
|
};
|
|
83
81
|
placeholder: {
|
|
84
82
|
type: StringConstructor;
|
|
@@ -113,11 +111,10 @@ export declare const Currency: import("vue").DefineComponent<{
|
|
|
113
111
|
}, {
|
|
114
112
|
name: string;
|
|
115
113
|
class: string | Record<string, any>;
|
|
114
|
+
border: boolean;
|
|
116
115
|
disabled: boolean;
|
|
117
116
|
id: string;
|
|
118
|
-
border: boolean;
|
|
119
117
|
autofocus: boolean;
|
|
120
|
-
modelValue: string | number;
|
|
121
118
|
placeholder: string;
|
|
122
119
|
maxlength: string | number;
|
|
123
120
|
inputAlign: string;
|
|
@@ -125,9 +125,9 @@ export declare const Email: import("vue").DefineComponent<{
|
|
|
125
125
|
}, {
|
|
126
126
|
name: string;
|
|
127
127
|
class: string | Record<string, any>;
|
|
128
|
+
border: boolean;
|
|
128
129
|
disabled: boolean;
|
|
129
130
|
id: string;
|
|
130
|
-
border: boolean;
|
|
131
131
|
modelValue: string | number;
|
|
132
132
|
placeholder: string;
|
|
133
133
|
maxlength: string | number;
|
|
@@ -138,9 +138,9 @@ export declare const Input: import("vue").DefineComponent<{
|
|
|
138
138
|
name: string;
|
|
139
139
|
class: string | Record<string, any>;
|
|
140
140
|
required: boolean;
|
|
141
|
+
border: boolean;
|
|
141
142
|
disabled: boolean;
|
|
142
143
|
id: string;
|
|
143
|
-
border: boolean;
|
|
144
144
|
autofocus: boolean;
|
|
145
145
|
prepend: string;
|
|
146
146
|
modelValue: string | number;
|
|
@@ -50,6 +50,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
availableBalance: string;
|
|
51
51
|
availableBalanceAfter: string;
|
|
52
52
|
allBalance: string;
|
|
53
|
+
yen: string;
|
|
54
|
+
feeNotIncluded: string;
|
|
55
|
+
fee: string;
|
|
56
|
+
topupAmount: string;
|
|
57
|
+
taxIncluded: string;
|
|
53
58
|
};
|
|
54
59
|
}>;
|
|
55
60
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DescriptionInfo, SbidBankMethod } from '../../model/makePayment';
|
|
1
2
|
import { PropType } from 'vue';
|
|
2
|
-
import { SbidBankMethod, DescriptionInfo } from '../../model/makePayment';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
sbid: {
|
|
5
5
|
type: PropType<SbidBankMethod>;
|
|
@@ -346,6 +346,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
346
346
|
update: string;
|
|
347
347
|
cancel: string;
|
|
348
348
|
};
|
|
349
|
+
viewdetails: string;
|
|
349
350
|
eMoneyOnly: string;
|
|
350
351
|
topupNoticeEmoneyOnlyTitle: string;
|
|
351
352
|
topupNoticeEmoneyOnlyDesc: string;
|
|
@@ -56,6 +56,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
availableBalance: string;
|
|
57
57
|
availableBalanceAfter: string;
|
|
58
58
|
allBalance: string;
|
|
59
|
+
yen: string;
|
|
60
|
+
feeNotIncluded: string;
|
|
61
|
+
fee: string;
|
|
62
|
+
topupAmount: string;
|
|
63
|
+
taxIncluded: string;
|
|
59
64
|
};
|
|
60
65
|
}>;
|
|
61
66
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -52,6 +52,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
availableBalance: string;
|
|
53
53
|
availableBalanceAfter: string;
|
|
54
54
|
allBalance: string;
|
|
55
|
+
yen: string;
|
|
56
|
+
feeNotIncluded: string;
|
|
57
|
+
fee: string;
|
|
58
|
+
topupAmount: string;
|
|
59
|
+
taxIncluded: string;
|
|
55
60
|
};
|
|
56
61
|
}>;
|
|
57
62
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { SbidBankMethod, status } from '../../model/makePayment';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
sbid: {
|
|
5
5
|
type: PropType<SbidBankMethod>;
|
|
@@ -349,6 +349,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
349
349
|
update: string;
|
|
350
350
|
cancel: string;
|
|
351
351
|
};
|
|
352
|
+
viewdetails: string;
|
|
352
353
|
eMoneyOnly: string;
|
|
353
354
|
topupNoticeEmoneyOnlyTitle: string;
|
|
354
355
|
topupNoticeEmoneyOnlyDesc: string;
|
|
@@ -53,6 +53,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
availableBalance: string;
|
|
54
54
|
availableBalanceAfter: string;
|
|
55
55
|
allBalance: string;
|
|
56
|
+
yen: string;
|
|
57
|
+
feeNotIncluded: string;
|
|
58
|
+
fee: string;
|
|
59
|
+
topupAmount: string;
|
|
60
|
+
taxIncluded: string;
|
|
56
61
|
};
|
|
57
62
|
}>;
|
|
58
63
|
img_checkGreen: string;
|
|
@@ -54,6 +54,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
availableBalance: string;
|
|
55
55
|
availableBalanceAfter: string;
|
|
56
56
|
allBalance: string;
|
|
57
|
+
yen: string;
|
|
58
|
+
feeNotIncluded: string;
|
|
59
|
+
fee: string;
|
|
60
|
+
topupAmount: string;
|
|
61
|
+
taxIncluded: string;
|
|
57
62
|
};
|
|
58
63
|
}>;
|
|
59
64
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
package/dist/resources/en.d.ts
CHANGED
package/dist/resources/ja.d.ts
CHANGED
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, InitKycPassportParams, NewAddress } from '../types';
|
|
3
|
+
import { Address, InitKycPassportParams, MakePaymentParams, NewAddress } from '../types';
|
|
4
4
|
export declare type TopupQuery = {
|
|
5
5
|
merchant?: string;
|
|
6
6
|
agreeSimilarTransaction?: boolean;
|
|
@@ -16,6 +16,8 @@ export declare type TopupBody = {
|
|
|
16
16
|
amount: PaymentAmount;
|
|
17
17
|
requestedAt: number;
|
|
18
18
|
prepaidOnly?: boolean;
|
|
19
|
+
feePercentage?: number;
|
|
20
|
+
agreedWithTheFee?: boolean;
|
|
19
21
|
};
|
|
20
22
|
export interface TopupResponseData {
|
|
21
23
|
merchantTopUpId: string;
|
|
@@ -27,6 +29,10 @@ export interface TopupResponseData {
|
|
|
27
29
|
amount: number;
|
|
28
30
|
currency: string;
|
|
29
31
|
};
|
|
32
|
+
fee?: {
|
|
33
|
+
amount: number;
|
|
34
|
+
currency: string;
|
|
35
|
+
};
|
|
30
36
|
acceptedAt?: number;
|
|
31
37
|
requestedAt: number;
|
|
32
38
|
responseValidTill: number;
|
|
@@ -46,32 +52,28 @@ export interface TopupResponse {
|
|
|
46
52
|
data: TopupResponseData;
|
|
47
53
|
};
|
|
48
54
|
}
|
|
49
|
-
declare type
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
balance: number;
|
|
67
|
-
currency: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
cashBackUseStatus: string;
|
|
55
|
+
export declare type WalletInfo = {
|
|
56
|
+
walletSummary: {
|
|
57
|
+
allTotalBalanceInfo: {
|
|
58
|
+
balance: number;
|
|
59
|
+
currency: string;
|
|
60
|
+
};
|
|
61
|
+
totalBalanceInfo: {
|
|
62
|
+
balance: number;
|
|
63
|
+
currency: string;
|
|
64
|
+
};
|
|
65
|
+
transferableBalanceInfo: {
|
|
66
|
+
balance: number;
|
|
67
|
+
currency: string;
|
|
68
|
+
};
|
|
69
|
+
payoutableBalanceInfo: {
|
|
70
|
+
balance: number;
|
|
71
|
+
currency: string;
|
|
71
72
|
};
|
|
72
73
|
};
|
|
74
|
+
cashBackUseStatus: string;
|
|
73
75
|
};
|
|
74
|
-
export declare function topup(queryParams: TopupQuery, body: TopupBody): Promise<{
|
|
76
|
+
export declare function topup(queryParams: TopupQuery, body: TopupBody, paymentParams?: MakePaymentParams): Promise<{
|
|
75
77
|
ppFetchResult: "notAuthorized";
|
|
76
78
|
body: null;
|
|
77
79
|
} | {
|
|
@@ -129,7 +131,12 @@ export declare type BalanceParams = {
|
|
|
129
131
|
sourceInfoApp?: string;
|
|
130
132
|
};
|
|
131
133
|
export declare function getBalance(params?: BalanceParams): Promise<import("./fetch").PPFetchResult<unknown, Record<string, unknown>>>;
|
|
132
|
-
|
|
134
|
+
declare type WalletInfoResponse = {
|
|
135
|
+
data: {
|
|
136
|
+
payload: WalletInfo;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export declare function getWalletInfo(): Promise<import("./fetch").PPFetchResult<WalletInfoResponse, Record<string, unknown>>>;
|
|
133
140
|
export declare type ShallowAddress = {
|
|
134
141
|
prefecture: string;
|
|
135
142
|
cityAndOaza: string;
|
package/dist/utils/storage.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare function getRefreshToken(): string;
|
|
|
7
7
|
export declare function saveRefreshToken(token: string): void;
|
|
8
8
|
export declare function saveEnv(env: string): void;
|
|
9
9
|
export declare function getEnv(): string | undefined;
|
|
10
|
+
export declare function isProdEnv(): boolean;
|
|
10
11
|
export declare function getClientUUID(): string;
|
|
11
12
|
export declare function getDeviceUUIDFromNative(): string;
|
|
12
13
|
export declare function getDeviceUUID(): string;
|
|
@@ -374,6 +374,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
374
374
|
update: string;
|
|
375
375
|
cancel: string;
|
|
376
376
|
};
|
|
377
|
+
viewdetails: string;
|
|
377
378
|
eMoneyOnly: string;
|
|
378
379
|
topupNoticeEmoneyOnlyTitle: string;
|
|
379
380
|
topupNoticeEmoneyOnlyDesc: string;
|
|
@@ -528,6 +529,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
528
529
|
getButtonType: typeof getButtonType;
|
|
529
530
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
530
531
|
'close-click': () => true;
|
|
532
|
+
nativeAction: (_button: UIComponentsErrorButton) => true;
|
|
531
533
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
532
534
|
show: {
|
|
533
535
|
type: BooleanConstructor;
|
|
@@ -562,6 +564,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
562
564
|
};
|
|
563
565
|
}>> & {
|
|
564
566
|
"onClose-click"?: (() => any) | undefined;
|
|
567
|
+
onNativeAction?: ((_button: UIComponentsErrorButton) => any) | undefined;
|
|
565
568
|
}, {
|
|
566
569
|
show: boolean;
|
|
567
570
|
errorTitle: string;
|