@paypay/mini-app-js-sdk 1.19.0 → 1.23.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/dom/index.d.ts +1 -0
- package/dist/composition-api/dom/useCountDown.d.ts +20 -0
- package/dist/composition-api/useInpuAddress.d.ts +1 -1
- package/dist/composition-api/useRegisterEmail.d.ts +1 -1
- package/dist/composition-api/useRenderSmartButton.d.ts +1 -1
- package/dist/jsbridge-core/jsbridge.d.ts +2 -2
- package/dist/jsbridge-core/lib/logger.d.ts +5 -5
- package/dist/mini-app-api.d.ts +2 -2
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.es.js +8603 -5805
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +1 -1
- package/dist/model/bridge/checkPaymentMethod.d.ts +1 -1
- package/dist/model/bridge/closeApp.d.ts +1 -1
- package/dist/model/bridge/copyToClipboard.d.ts +1 -1
- package/dist/model/bridge/debug.d.ts +1 -1
- package/dist/model/bridge/getAppDetail.d.ts +2 -16
- package/dist/model/bridge/getConfigure.d.ts +3 -3
- package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
- package/dist/model/bridge/getSessionData.d.ts +1 -1
- package/dist/model/bridge/getStorageData.d.ts +1 -1
- package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
- package/dist/model/bridge/getUAID.d.ts +1 -1
- package/dist/model/bridge/getUserAddress.d.ts +1 -1
- package/dist/model/bridge/inputAddress.d.ts +1 -1
- package/dist/model/bridge/logout.d.ts +1 -1
- package/dist/model/bridge/openApp.d.ts +1 -1
- package/dist/model/bridge/openMap.d.ts +1 -1
- package/dist/model/bridge/openWebview.d.ts +1 -1
- package/dist/model/bridge/registerEmail.d.ts +1 -1
- package/dist/model/bridge/registerKyc.d.ts +1 -1
- package/dist/model/bridge/renderLoginButton.d.ts +6 -2
- package/dist/model/bridge/renderPayButton.d.ts +5 -1
- package/dist/model/bridge/request.d.ts +1 -1
- package/dist/model/makePayment.d.ts +66 -56
- package/dist/model/uiComponents.d.ts +2 -1
- package/dist/package/action-sheet/index.d.ts +20 -13
- package/dist/package/banner-header/index.vue.d.ts +3 -3
- package/dist/package/button/index.d.ts +17 -9
- package/dist/package/charge-amount-list/index.vue.d.ts +27 -8
- package/dist/package/charge-amount-more-list/index.vue.d.ts +6 -2
- package/dist/package/date-button/index.vue.d.ts +1 -3
- package/dist/package/desktop-header/index.d.ts +21 -0
- package/dist/package/header/index.d.ts +7 -7
- package/dist/package/index.d.ts +1 -0
- package/dist/package/input/index.d.ts +57 -17
- package/dist/package/lottie/index.d.ts +5 -8
- package/dist/package/overlay/index.d.ts +1 -1
- package/dist/package/payment-method/Bank.vue.d.ts +7 -7
- package/dist/package/payment-method/CreditCard.vue.d.ts +5 -5
- package/dist/package/payment-method/SbidBank.vue.d.ts +262 -4
- package/dist/package/payment-method/Wallet.vue.d.ts +265 -7
- package/dist/package/payment-method-list/index.vue.d.ts +14 -2
- package/dist/package/payment-type/Bank.vue.d.ts +5 -5
- package/dist/package/payment-type/CreditCard.vue.d.ts +6 -6
- package/dist/package/payment-type/Sbid.vue.d.ts +260 -2
- package/dist/package/payment-type/Wallet.vue.d.ts +261 -2
- package/dist/package/payment-type/index.d.ts +4 -6
- package/dist/package/select-list/Components.d.ts +43 -3
- package/dist/package/select-list/index.d.ts +11 -2
- package/dist/package/switch/index.d.ts +1 -1
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +286 -0
- package/dist/types.d.ts +48 -16
- package/dist/utils/api.d.ts +38 -17
- package/dist/utils/create/bem.d.ts +2 -2
- package/dist/utils/create/index.d.ts +1 -1
- package/dist/utils/fetch.d.ts +2 -2
- package/dist/utils/getImages.d.ts +36 -5
- package/dist/utils/getLanguage.d.ts +224 -2
- package/dist/utils/helper.d.ts +10 -13
- package/dist/utils/popstateHandler.d.ts +1 -1
- package/dist/utils/storage.d.ts +12 -10
- package/dist/utils/uiConstants.d.ts +1 -0
- package/dist/utils/useBreakpoints.d.ts +5 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/views/email-registration/App.vue.d.ts +231 -8
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +3 -3
- package/dist/views/email-registration/hooks/callback.d.ts +2 -2
- package/dist/views/email-registration/hooks/ui.d.ts +2 -2
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +2 -2
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +271 -13
- package/dist/views/get-user-address/App.vue.d.ts +11 -3
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +243 -11
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +262 -4
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +246 -3
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +227 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +246 -18
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +29 -12
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +235 -3
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +227 -3
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +302 -11
- package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +240 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +259 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +254 -0
- package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +246 -0
- package/dist/views/get-user-address/hooks/ui-hooks.d.ts +45 -2
- package/dist/views/get-user-address/store/error-handle.d.ts +2 -1
- package/dist/views/get-user-address/store/root.d.ts +6 -2
- package/dist/views/input-address/App.vue.d.ts +6 -7
- package/dist/views/input-address/hook/app.d.ts +2 -2
- package/dist/views/input-address/hook/error-handle.d.ts +1 -2
- package/dist/views/make-payment/App.vue.d.ts +3 -3
- package/dist/views/make-payment/Main.vue.d.ts +80 -511
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +230 -8
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +229 -5
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +260 -2
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +260 -2
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +4 -4
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +267 -9
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +240 -3
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +363 -13
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +274 -7
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +537 -226
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +232 -6
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +265 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +1 -1
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +233 -10
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +328 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +338 -18
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +43 -9
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +293 -8
- package/dist/views/make-payment/hooks/app-hooks.d.ts +168 -355
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +29 -15
- package/dist/views/make-payment/store/age-confirm.d.ts +1 -1
- package/dist/views/make-payment/store/handle-error.d.ts +2 -2
- package/dist/views/make-payment/store/root.d.ts +3 -3
- package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -1
- package/dist/views/open-app/App.vue.d.ts +261 -3
- package/dist/views/open-map/App.vue.d.ts +225 -2
- package/dist/views/show-alert/App.vue.d.ts +5 -5
- package/dist/views/show-update-warning/App.vue.d.ts +261 -3
- package/dist/views/smart-button/App.vue.d.ts +10 -10
- package/dist/views/take-photo/App.vue.d.ts +225 -2
- package/dist/views/topup/App.vue.d.ts +298 -22
- package/dist/views/topup/BannerInfo.vue.d.ts +15 -11
- package/dist/views/topup/CashbackInfo.vue.d.ts +226 -3
- package/dist/views/topup/TopupCompletion.vue.d.ts +261 -1
- package/package.json +5 -4
|
@@ -1,253 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { BannerInfo, CashBackDetail, ConsultResponse, getPaymentMethodsResponse, MakePaymentResponse, PaymentMethod, PaymentMethodType } from '../../../model/makePayment';
|
|
2
3
|
import { UIComponentsError } from '../../../model/uiComponents';
|
|
3
|
-
import {
|
|
4
|
-
import { MakePaymentParams, Address } from '../../../types';
|
|
4
|
+
import { MakePaymentParams } from '../../../types';
|
|
5
5
|
import { ErrorResponse } from '../../../utils/fetch';
|
|
6
6
|
export interface Props {
|
|
7
|
-
show
|
|
7
|
+
show?: boolean;
|
|
8
8
|
paymentParams: MakePaymentParams;
|
|
9
9
|
}
|
|
10
10
|
export declare function usePaymentMethod(props: Props): {
|
|
11
|
-
getPaymentMethods: (dryRun?: boolean) => Promise<{
|
|
11
|
+
getPaymentMethods: (dryRun?: boolean | undefined) => Promise<{
|
|
12
12
|
res: ErrorResponse | getPaymentMethodsResponse;
|
|
13
13
|
result: boolean;
|
|
14
14
|
}>;
|
|
15
|
+
showPaymentMethod: () => void;
|
|
15
16
|
selectPayment: (index: number) => void;
|
|
16
17
|
paymentMethod: ComputedRef<PaymentMethod>;
|
|
17
|
-
paymentMethods: ComputedRef<
|
|
18
|
-
paymentMethodId: string;
|
|
19
|
-
bankInfo: unknown;
|
|
20
|
-
paymentMethodType: PaymentMethodType.WALLET;
|
|
21
|
-
descriptionBannerInfo?: {
|
|
22
|
-
label?: string;
|
|
23
|
-
title?: string;
|
|
24
|
-
iconImageUrl?: string;
|
|
25
|
-
displayResponse?: {
|
|
26
|
-
title: string;
|
|
27
|
-
buttonList: {
|
|
28
|
-
nativeAction: string;
|
|
29
|
-
title: string;
|
|
30
|
-
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
31
|
-
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
32
|
-
deeplink?: string;
|
|
33
|
-
googleAnalyticsInfo: any;
|
|
34
|
-
}[];
|
|
35
|
-
iconUrl?: string;
|
|
36
|
-
description: string;
|
|
37
|
-
canCloseByOutsideTap: boolean;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
walletInfo: {
|
|
41
|
-
cashBackBalanceInfo: {
|
|
42
|
-
balance: number;
|
|
43
|
-
currency: "JPY";
|
|
44
|
-
usable: boolean;
|
|
45
|
-
};
|
|
46
|
-
cashBackExpirableBalanceInfo: {
|
|
47
|
-
balance: number;
|
|
48
|
-
currency: "JPY";
|
|
49
|
-
usable: boolean;
|
|
50
|
-
};
|
|
51
|
-
emoneyBalanceInfo: {
|
|
52
|
-
balance: number;
|
|
53
|
-
currency: "JPY";
|
|
54
|
-
usable: boolean;
|
|
55
|
-
};
|
|
56
|
-
prepaidBalanceInfo: {
|
|
57
|
-
balance: number;
|
|
58
|
-
currency: "JPY";
|
|
59
|
-
usable: boolean;
|
|
60
|
-
};
|
|
61
|
-
walletSummary: {
|
|
62
|
-
totalBalanceInfo: {
|
|
63
|
-
balance: number;
|
|
64
|
-
currency: "JPY";
|
|
65
|
-
usable: boolean;
|
|
66
|
-
};
|
|
67
|
-
payoutableBalanceInfo: {
|
|
68
|
-
balance: number;
|
|
69
|
-
currency: "JPY";
|
|
70
|
-
usable: boolean;
|
|
71
|
-
};
|
|
72
|
-
transferableBalanceInfo: {
|
|
73
|
-
balance: number;
|
|
74
|
-
currency: "JPY";
|
|
75
|
-
usable: boolean;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
walletDetail: {
|
|
79
|
-
emoneyBalanceInfo?: {
|
|
80
|
-
balance: number;
|
|
81
|
-
currency: "JPY";
|
|
82
|
-
usable: boolean;
|
|
83
|
-
};
|
|
84
|
-
prepaidBalanceInfo?: {
|
|
85
|
-
balance: number;
|
|
86
|
-
currency: "JPY";
|
|
87
|
-
usable: boolean;
|
|
88
|
-
};
|
|
89
|
-
cashBackBalanceInfo?: {
|
|
90
|
-
balance: number;
|
|
91
|
-
currency: "JPY";
|
|
92
|
-
usable: boolean;
|
|
93
|
-
};
|
|
94
|
-
cashBackExpirableBalanceInfo?: {
|
|
95
|
-
balance: number;
|
|
96
|
-
currency: "JPY";
|
|
97
|
-
usable: boolean;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
} | {
|
|
102
|
-
walletInfo: unknown;
|
|
103
|
-
paymentMethodId: string & Number;
|
|
104
|
-
bankInfo: unknown;
|
|
105
|
-
paymentMethodType: PaymentMethodType.CREDIT_CARD;
|
|
106
|
-
descriptionBannerInfo?: {
|
|
107
|
-
label?: string;
|
|
108
|
-
title?: string;
|
|
109
|
-
iconImageUrl?: string;
|
|
110
|
-
displayResponse?: {
|
|
111
|
-
title: string;
|
|
112
|
-
buttonList: {
|
|
113
|
-
nativeAction: string;
|
|
114
|
-
title: string;
|
|
115
|
-
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
116
|
-
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
117
|
-
deeplink?: string;
|
|
118
|
-
googleAnalyticsInfo: any;
|
|
119
|
-
}[];
|
|
120
|
-
iconUrl?: string;
|
|
121
|
-
description: string;
|
|
122
|
-
canCloseByOutsideTap: boolean;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
paymentMethodDescriptionInfo: any;
|
|
126
|
-
creditCardInfo: {
|
|
127
|
-
brand: import("../../../model/makePayment").CreditTypes;
|
|
128
|
-
isAuthenticated: boolean;
|
|
129
|
-
isExpired: boolean;
|
|
130
|
-
isYjCard: boolean;
|
|
131
|
-
last4digits: string;
|
|
132
|
-
ccType: string;
|
|
133
|
-
paymentMethodStatus: import("../../../model/makePayment").PaymentMethodStatus;
|
|
134
|
-
};
|
|
135
|
-
} | {
|
|
136
|
-
walletInfo: unknown;
|
|
137
|
-
paymentMethodId: string & Number;
|
|
138
|
-
paymentMethodType: PaymentMethodType.BANK | PaymentMethodType.YMONEY_BANK;
|
|
139
|
-
descriptionBannerInfo?: {
|
|
140
|
-
label?: string;
|
|
141
|
-
title?: string;
|
|
142
|
-
iconImageUrl?: string;
|
|
143
|
-
displayResponse?: {
|
|
144
|
-
title: string;
|
|
145
|
-
buttonList: {
|
|
146
|
-
nativeAction: string;
|
|
147
|
-
title: string;
|
|
148
|
-
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
149
|
-
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
150
|
-
deeplink?: string;
|
|
151
|
-
googleAnalyticsInfo: any;
|
|
152
|
-
}[];
|
|
153
|
-
iconUrl?: string;
|
|
154
|
-
description: string;
|
|
155
|
-
canCloseByOutsideTap: boolean;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
paymentMethodDescriptionInfo: any;
|
|
159
|
-
bankInfo: {
|
|
160
|
-
paymentMethodStatusLabel: string;
|
|
161
|
-
paymentMethodStatus: import("../../../model/makePayment").PaymentMethodStatus;
|
|
162
|
-
bankName: string;
|
|
163
|
-
bankLogoUrl: string;
|
|
164
|
-
bankCode: string;
|
|
165
|
-
bankCardImage: {
|
|
166
|
-
cardUrl: string;
|
|
167
|
-
textColor: string;
|
|
168
|
-
uiColor: string;
|
|
169
|
-
};
|
|
170
|
-
bankBranchName: string;
|
|
171
|
-
bankBranchCode: string;
|
|
172
|
-
bankAccountType: string;
|
|
173
|
-
bankAccountNumberLast2digits: string;
|
|
174
|
-
};
|
|
175
|
-
} | {
|
|
176
|
-
walletInfo: unknown;
|
|
177
|
-
paymentMethodId: string & Number;
|
|
178
|
-
bankInfo: unknown;
|
|
179
|
-
paymentMethodType: PaymentMethodType.SBID_CARRIER_BILLING;
|
|
180
|
-
descriptionBannerInfo?: {
|
|
181
|
-
label?: string;
|
|
182
|
-
title?: string;
|
|
183
|
-
iconImageUrl?: string;
|
|
184
|
-
displayResponse?: {
|
|
185
|
-
title: string;
|
|
186
|
-
buttonList: {
|
|
187
|
-
nativeAction: string;
|
|
188
|
-
title: string;
|
|
189
|
-
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
190
|
-
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
191
|
-
deeplink?: string;
|
|
192
|
-
googleAnalyticsInfo: any;
|
|
193
|
-
}[];
|
|
194
|
-
iconUrl?: string;
|
|
195
|
-
description: string;
|
|
196
|
-
canCloseByOutsideTap: boolean;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
paymentMethodDescriptionInfo: any;
|
|
200
|
-
sbidCarrierBillingInfo: {
|
|
201
|
-
paymentMethodStatus: import("../../../model/makePayment").PaymentMethodStatus;
|
|
202
|
-
};
|
|
203
|
-
} | {
|
|
204
|
-
walletInfo: unknown;
|
|
205
|
-
paymentMethodId: string & Number;
|
|
206
|
-
bankInfo: unknown;
|
|
207
|
-
paymentMethodType: PaymentMethodType.PAY_LATER | PaymentMethodType.PAY_LATER_CC;
|
|
208
|
-
descriptionBannerInfo?: {
|
|
209
|
-
label?: string;
|
|
210
|
-
title?: string;
|
|
211
|
-
iconImageUrl?: string;
|
|
212
|
-
displayResponse?: {
|
|
213
|
-
title: string;
|
|
214
|
-
buttonList: {
|
|
215
|
-
nativeAction: string;
|
|
216
|
-
title: string;
|
|
217
|
-
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
218
|
-
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
219
|
-
deeplink?: string;
|
|
220
|
-
googleAnalyticsInfo: any;
|
|
221
|
-
}[];
|
|
222
|
-
iconUrl?: string;
|
|
223
|
-
description: string;
|
|
224
|
-
canCloseByOutsideTap: boolean;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
paymentMethodDescriptionInfo: any;
|
|
228
|
-
})[]>;
|
|
18
|
+
paymentMethods: ComputedRef<PaymentMethod[]>;
|
|
229
19
|
selectPaymentIndex: ComputedRef<number>;
|
|
230
|
-
bannerInfo: ComputedRef<
|
|
231
|
-
|
|
232
|
-
title?: string;
|
|
233
|
-
iconImageUrl?: string;
|
|
234
|
-
displayResponse?: {
|
|
235
|
-
title: string;
|
|
236
|
-
buttonList: {
|
|
237
|
-
nativeAction: string;
|
|
238
|
-
title: string;
|
|
239
|
-
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
240
|
-
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
241
|
-
deeplink?: string;
|
|
242
|
-
googleAnalyticsInfo: any;
|
|
243
|
-
}[];
|
|
244
|
-
iconUrl?: string;
|
|
245
|
-
description: string;
|
|
246
|
-
canCloseByOutsideTap: boolean;
|
|
247
|
-
};
|
|
248
|
-
}>;
|
|
20
|
+
bannerInfo: ComputedRef<BannerInfo>;
|
|
21
|
+
showPaymentMethodList: ComputedRef<boolean>;
|
|
249
22
|
};
|
|
250
|
-
export declare function useConsult(props: Props
|
|
23
|
+
export declare function useConsult(props: Props): {
|
|
251
24
|
showConsult: ComputedRef<boolean>;
|
|
252
25
|
consultInfo: ComputedRef<{
|
|
253
26
|
title: string;
|
|
@@ -256,18 +29,19 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
256
29
|
title: string;
|
|
257
30
|
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
258
31
|
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
259
|
-
deeplink?: string;
|
|
260
|
-
googleAnalyticsInfo:
|
|
32
|
+
deeplink?: string | undefined;
|
|
33
|
+
googleAnalyticsInfo: unknown;
|
|
34
|
+
type: unknown;
|
|
261
35
|
}[];
|
|
262
|
-
iconUrl?: string;
|
|
36
|
+
iconUrl?: string | undefined;
|
|
263
37
|
description: string;
|
|
264
38
|
canCloseByOutsideTap: boolean;
|
|
265
|
-
}>;
|
|
39
|
+
} | null>;
|
|
266
40
|
insufficientBalanceInfo: ComputedRef<{
|
|
267
41
|
appealDescription: {
|
|
268
42
|
backgroundColor: string;
|
|
269
43
|
color: string;
|
|
270
|
-
headerIcon: string;
|
|
44
|
+
headerIcon: string | null;
|
|
271
45
|
isBold: true;
|
|
272
46
|
linkUrl: string;
|
|
273
47
|
text: string;
|
|
@@ -275,12 +49,11 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
275
49
|
insufficientAmount: number;
|
|
276
50
|
paymentMethodList: ({
|
|
277
51
|
paymentMethodId: string;
|
|
278
|
-
|
|
279
|
-
paymentMethodType: PaymentMethodType.WALLET;
|
|
52
|
+
paymentMethodType: PaymentMethodType;
|
|
280
53
|
descriptionBannerInfo?: {
|
|
281
|
-
label?: string;
|
|
282
|
-
title?: string;
|
|
283
|
-
iconImageUrl?: string;
|
|
54
|
+
label?: string | undefined;
|
|
55
|
+
title?: string | undefined;
|
|
56
|
+
iconImageUrl?: string | undefined;
|
|
284
57
|
displayResponse?: {
|
|
285
58
|
title: string;
|
|
286
59
|
buttonList: {
|
|
@@ -288,36 +61,45 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
288
61
|
title: string;
|
|
289
62
|
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
290
63
|
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
291
|
-
deeplink?: string;
|
|
292
|
-
googleAnalyticsInfo:
|
|
64
|
+
deeplink?: string | undefined;
|
|
65
|
+
googleAnalyticsInfo: unknown;
|
|
66
|
+
type: unknown;
|
|
293
67
|
}[];
|
|
294
|
-
iconUrl?: string;
|
|
68
|
+
iconUrl?: string | undefined;
|
|
295
69
|
description: string;
|
|
296
70
|
canCloseByOutsideTap: boolean;
|
|
71
|
+
} | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
creditCardInfo?: unknown;
|
|
74
|
+
bankInfo?: unknown;
|
|
75
|
+
sbidCarrierBillingInfo?: unknown;
|
|
76
|
+
paymentMethodDescriptionInfo?: {
|
|
77
|
+
statusDescription: {
|
|
78
|
+
[x: string]: unknown;
|
|
297
79
|
};
|
|
298
|
-
};
|
|
299
|
-
walletInfo
|
|
300
|
-
cashBackBalanceInfo
|
|
80
|
+
} | undefined;
|
|
81
|
+
walletInfo?: {
|
|
82
|
+
cashBackBalanceInfo?: {
|
|
301
83
|
balance: number;
|
|
302
84
|
currency: "JPY";
|
|
303
85
|
usable: boolean;
|
|
304
|
-
};
|
|
305
|
-
cashBackExpirableBalanceInfo
|
|
86
|
+
} | undefined;
|
|
87
|
+
cashBackExpirableBalanceInfo?: {
|
|
306
88
|
balance: number;
|
|
307
89
|
currency: "JPY";
|
|
308
90
|
usable: boolean;
|
|
309
|
-
};
|
|
310
|
-
emoneyBalanceInfo
|
|
91
|
+
} | undefined;
|
|
92
|
+
emoneyBalanceInfo?: {
|
|
311
93
|
balance: number;
|
|
312
94
|
currency: "JPY";
|
|
313
95
|
usable: boolean;
|
|
314
|
-
};
|
|
315
|
-
prepaidBalanceInfo
|
|
96
|
+
} | undefined;
|
|
97
|
+
prepaidBalanceInfo?: {
|
|
316
98
|
balance: number;
|
|
317
99
|
currency: "JPY";
|
|
318
100
|
usable: boolean;
|
|
319
|
-
};
|
|
320
|
-
walletSummary
|
|
101
|
+
} | undefined;
|
|
102
|
+
walletSummary?: {
|
|
321
103
|
totalBalanceInfo: {
|
|
322
104
|
balance: number;
|
|
323
105
|
currency: "JPY";
|
|
@@ -333,39 +115,38 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
333
115
|
currency: "JPY";
|
|
334
116
|
usable: boolean;
|
|
335
117
|
};
|
|
336
|
-
};
|
|
337
|
-
walletDetail
|
|
118
|
+
} | undefined;
|
|
119
|
+
walletDetail?: {
|
|
338
120
|
emoneyBalanceInfo?: {
|
|
339
121
|
balance: number;
|
|
340
122
|
currency: "JPY";
|
|
341
123
|
usable: boolean;
|
|
342
|
-
};
|
|
124
|
+
} | undefined;
|
|
343
125
|
prepaidBalanceInfo?: {
|
|
344
126
|
balance: number;
|
|
345
127
|
currency: "JPY";
|
|
346
128
|
usable: boolean;
|
|
347
|
-
};
|
|
129
|
+
} | undefined;
|
|
348
130
|
cashBackBalanceInfo?: {
|
|
349
131
|
balance: number;
|
|
350
132
|
currency: "JPY";
|
|
351
133
|
usable: boolean;
|
|
352
|
-
};
|
|
134
|
+
} | undefined;
|
|
353
135
|
cashBackExpirableBalanceInfo?: {
|
|
354
136
|
balance: number;
|
|
355
137
|
currency: "JPY";
|
|
356
138
|
usable: boolean;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
};
|
|
139
|
+
} | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
} | undefined;
|
|
360
142
|
} | {
|
|
361
|
-
walletInfo
|
|
362
|
-
paymentMethodId: string
|
|
363
|
-
|
|
364
|
-
paymentMethodType: PaymentMethodType.CREDIT_CARD;
|
|
143
|
+
walletInfo?: unknown;
|
|
144
|
+
paymentMethodId: string;
|
|
145
|
+
paymentMethodType: PaymentMethodType;
|
|
365
146
|
descriptionBannerInfo?: {
|
|
366
|
-
label?: string;
|
|
367
|
-
title?: string;
|
|
368
|
-
iconImageUrl?: string;
|
|
147
|
+
label?: string | undefined;
|
|
148
|
+
title?: string | undefined;
|
|
149
|
+
iconImageUrl?: string | undefined;
|
|
369
150
|
displayResponse?: {
|
|
370
151
|
title: string;
|
|
371
152
|
buttonList: {
|
|
@@ -373,32 +154,39 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
373
154
|
title: string;
|
|
374
155
|
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
375
156
|
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
376
|
-
deeplink?: string;
|
|
377
|
-
googleAnalyticsInfo:
|
|
157
|
+
deeplink?: string | undefined;
|
|
158
|
+
googleAnalyticsInfo: unknown;
|
|
159
|
+
type: unknown;
|
|
378
160
|
}[];
|
|
379
|
-
iconUrl?: string;
|
|
161
|
+
iconUrl?: string | undefined;
|
|
380
162
|
description: string;
|
|
381
163
|
canCloseByOutsideTap: boolean;
|
|
164
|
+
} | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
bankInfo?: unknown;
|
|
167
|
+
sbidCarrierBillingInfo?: unknown;
|
|
168
|
+
paymentMethodDescriptionInfo?: {
|
|
169
|
+
statusDescription: {
|
|
170
|
+
[x: string]: unknown;
|
|
382
171
|
};
|
|
383
|
-
};
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
};
|
|
172
|
+
} | undefined;
|
|
173
|
+
creditCardInfo?: {
|
|
174
|
+
brand?: import("../../../model/makePayment").CreditTypes | undefined;
|
|
175
|
+
isAuthenticated?: boolean | undefined;
|
|
176
|
+
isExpired?: boolean | undefined;
|
|
177
|
+
isYjCard?: boolean | undefined;
|
|
178
|
+
last4digits?: string | undefined;
|
|
179
|
+
ccType?: string | undefined;
|
|
180
|
+
paymentMethodStatus?: import("../../../model/makePayment").PaymentMethodStatus | undefined;
|
|
181
|
+
} | undefined;
|
|
394
182
|
} | {
|
|
395
|
-
walletInfo
|
|
396
|
-
paymentMethodId: string
|
|
397
|
-
paymentMethodType: PaymentMethodType
|
|
183
|
+
walletInfo?: unknown;
|
|
184
|
+
paymentMethodId: string;
|
|
185
|
+
paymentMethodType: PaymentMethodType;
|
|
398
186
|
descriptionBannerInfo?: {
|
|
399
|
-
label?: string;
|
|
400
|
-
title?: string;
|
|
401
|
-
iconImageUrl?: string;
|
|
187
|
+
label?: string | undefined;
|
|
188
|
+
title?: string | undefined;
|
|
189
|
+
iconImageUrl?: string | undefined;
|
|
402
190
|
displayResponse?: {
|
|
403
191
|
title: string;
|
|
404
192
|
buttonList: {
|
|
@@ -406,40 +194,46 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
406
194
|
title: string;
|
|
407
195
|
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
408
196
|
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
409
|
-
deeplink?: string;
|
|
410
|
-
googleAnalyticsInfo:
|
|
197
|
+
deeplink?: string | undefined;
|
|
198
|
+
googleAnalyticsInfo: unknown;
|
|
199
|
+
type: unknown;
|
|
411
200
|
}[];
|
|
412
|
-
iconUrl?: string;
|
|
201
|
+
iconUrl?: string | undefined;
|
|
413
202
|
description: string;
|
|
414
203
|
canCloseByOutsideTap: boolean;
|
|
204
|
+
} | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
creditCardInfo?: unknown;
|
|
207
|
+
sbidCarrierBillingInfo?: unknown;
|
|
208
|
+
paymentMethodDescriptionInfo?: {
|
|
209
|
+
statusDescription: {
|
|
210
|
+
[x: string]: unknown;
|
|
415
211
|
};
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
bankCardImage: {
|
|
212
|
+
} | undefined;
|
|
213
|
+
bankInfo?: {
|
|
214
|
+
paymentMethodStatusLabel?: string | undefined;
|
|
215
|
+
paymentMethodStatus?: import("../../../model/makePayment").PaymentMethodStatus | undefined;
|
|
216
|
+
bankName?: string | undefined;
|
|
217
|
+
bankLogoUrl?: string | undefined;
|
|
218
|
+
bankCode?: string | undefined;
|
|
219
|
+
bankCardImage?: {
|
|
425
220
|
cardUrl: string;
|
|
426
221
|
textColor: string;
|
|
427
222
|
uiColor: string;
|
|
428
|
-
};
|
|
429
|
-
bankBranchName
|
|
430
|
-
bankBranchCode
|
|
431
|
-
bankAccountType
|
|
432
|
-
bankAccountNumberLast2digits
|
|
433
|
-
};
|
|
223
|
+
} | undefined;
|
|
224
|
+
bankBranchName?: string | undefined;
|
|
225
|
+
bankBranchCode?: string | undefined;
|
|
226
|
+
bankAccountType?: string | undefined;
|
|
227
|
+
bankAccountNumberLast2digits?: string | undefined;
|
|
228
|
+
} | undefined;
|
|
434
229
|
} | {
|
|
435
|
-
walletInfo
|
|
436
|
-
paymentMethodId: string
|
|
437
|
-
|
|
438
|
-
paymentMethodType: PaymentMethodType.SBID_CARRIER_BILLING;
|
|
230
|
+
walletInfo?: unknown;
|
|
231
|
+
paymentMethodId: string;
|
|
232
|
+
paymentMethodType: PaymentMethodType;
|
|
439
233
|
descriptionBannerInfo?: {
|
|
440
|
-
label?: string;
|
|
441
|
-
title?: string;
|
|
442
|
-
iconImageUrl?: string;
|
|
234
|
+
label?: string | undefined;
|
|
235
|
+
title?: string | undefined;
|
|
236
|
+
iconImageUrl?: string | undefined;
|
|
443
237
|
displayResponse?: {
|
|
444
238
|
title: string;
|
|
445
239
|
buttonList: {
|
|
@@ -447,27 +241,33 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
447
241
|
title: string;
|
|
448
242
|
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
449
243
|
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
450
|
-
deeplink?: string;
|
|
451
|
-
googleAnalyticsInfo:
|
|
244
|
+
deeplink?: string | undefined;
|
|
245
|
+
googleAnalyticsInfo: unknown;
|
|
246
|
+
type: unknown;
|
|
452
247
|
}[];
|
|
453
|
-
iconUrl?: string;
|
|
248
|
+
iconUrl?: string | undefined;
|
|
454
249
|
description: string;
|
|
455
250
|
canCloseByOutsideTap: boolean;
|
|
251
|
+
} | undefined;
|
|
252
|
+
} | undefined;
|
|
253
|
+
creditCardInfo?: unknown;
|
|
254
|
+
bankInfo?: unknown;
|
|
255
|
+
paymentMethodDescriptionInfo?: {
|
|
256
|
+
statusDescription: {
|
|
257
|
+
[x: string]: unknown;
|
|
456
258
|
};
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
};
|
|
259
|
+
} | undefined;
|
|
260
|
+
sbidCarrierBillingInfo?: {
|
|
261
|
+
paymentMethodStatus?: import("../../../model/makePayment").PaymentMethodStatus | undefined;
|
|
262
|
+
} | undefined;
|
|
462
263
|
} | {
|
|
463
|
-
walletInfo
|
|
464
|
-
paymentMethodId: string
|
|
465
|
-
|
|
466
|
-
paymentMethodType: PaymentMethodType.PAY_LATER | PaymentMethodType.PAY_LATER_CC;
|
|
264
|
+
walletInfo?: unknown;
|
|
265
|
+
paymentMethodId: string;
|
|
266
|
+
paymentMethodType: PaymentMethodType;
|
|
467
267
|
descriptionBannerInfo?: {
|
|
468
|
-
label?: string;
|
|
469
|
-
title?: string;
|
|
470
|
-
iconImageUrl?: string;
|
|
268
|
+
label?: string | undefined;
|
|
269
|
+
title?: string | undefined;
|
|
270
|
+
iconImageUrl?: string | undefined;
|
|
471
271
|
displayResponse?: {
|
|
472
272
|
title: string;
|
|
473
273
|
buttonList: {
|
|
@@ -475,40 +275,47 @@ export declare function useConsult(props: Props, { emit }: SetupContext): {
|
|
|
475
275
|
title: string;
|
|
476
276
|
actionType: import("../../../model/uiComponents").UIComponentsButtonActionType;
|
|
477
277
|
buttonType: import("../../../model/uiComponents").UIComponentsButtonType;
|
|
478
|
-
deeplink?: string;
|
|
479
|
-
googleAnalyticsInfo:
|
|
278
|
+
deeplink?: string | undefined;
|
|
279
|
+
googleAnalyticsInfo: unknown;
|
|
280
|
+
type: unknown;
|
|
480
281
|
}[];
|
|
481
|
-
iconUrl?: string;
|
|
282
|
+
iconUrl?: string | undefined;
|
|
482
283
|
description: string;
|
|
483
284
|
canCloseByOutsideTap: boolean;
|
|
285
|
+
} | undefined;
|
|
286
|
+
} | undefined;
|
|
287
|
+
creditCardInfo?: unknown;
|
|
288
|
+
bankInfo?: unknown;
|
|
289
|
+
sbidCarrierBillingInfo?: unknown;
|
|
290
|
+
paymentMethodDescriptionInfo?: {
|
|
291
|
+
statusDescription: {
|
|
292
|
+
[x: string]: unknown;
|
|
484
293
|
};
|
|
485
|
-
};
|
|
486
|
-
paymentMethodDescriptionInfo: any;
|
|
294
|
+
} | undefined;
|
|
487
295
|
})[];
|
|
488
|
-
prepaidOnly: boolean;
|
|
296
|
+
prepaidOnly: boolean | null;
|
|
489
297
|
recommendedTopupAmount: number;
|
|
490
298
|
totalBalanceInfo: {
|
|
491
299
|
balance: number;
|
|
492
300
|
currency: "JPY";
|
|
493
301
|
};
|
|
494
|
-
}>;
|
|
302
|
+
} | null>;
|
|
495
303
|
getConsult: () => Promise<boolean>;
|
|
496
304
|
closeConsult: () => void;
|
|
497
305
|
setConsult: (consult: UIComponentsError) => void;
|
|
498
306
|
getConsultForTopup: (_retryCount?: number) => Promise<false | ErrorResponse | ConsultResponse>;
|
|
499
307
|
};
|
|
500
|
-
export declare function usePayment(props: Props, { paymentMethod, duplicatePayment,
|
|
308
|
+
export declare function usePayment(props: Props, { paymentMethod, duplicatePayment, }: {
|
|
501
309
|
paymentMethod: ComputedRef<PaymentMethod>;
|
|
502
310
|
duplicatePayment: ComputedRef<boolean>;
|
|
503
|
-
selectedAddress: ComputedRef<Address>;
|
|
504
311
|
}): {
|
|
505
|
-
pay: () => Promise<MakePaymentResponse>;
|
|
312
|
+
pay: () => Promise<MakePaymentResponse | undefined>;
|
|
506
313
|
paymentId: ComputedRef<string>;
|
|
507
314
|
};
|
|
508
315
|
export declare function useCashBackDetail(props: Props): {
|
|
509
316
|
cashBackDetail: ComputedRef<{
|
|
510
317
|
cashBackAmount: number;
|
|
511
|
-
cashBackAmountText?: string;
|
|
318
|
+
cashBackAmountText?: string | undefined;
|
|
512
319
|
cashBackDetailLinkLabel: string;
|
|
513
320
|
cashBackDetailList: {
|
|
514
321
|
amountText: string;
|
|
@@ -517,20 +324,20 @@ export declare function useCashBackDetail(props: Props): {
|
|
|
517
324
|
campaignId: string;
|
|
518
325
|
status: string;
|
|
519
326
|
isMeti: boolean;
|
|
520
|
-
bannerId?: string;
|
|
521
|
-
optionalText?: string;
|
|
522
|
-
googleAnalyticsInfo?:
|
|
327
|
+
bannerId?: string | undefined;
|
|
328
|
+
optionalText?: string | undefined;
|
|
329
|
+
googleAnalyticsInfo?: unknown;
|
|
523
330
|
}[];
|
|
524
331
|
animationInfoList: {
|
|
525
332
|
soundUrl: string;
|
|
526
333
|
campaignUrl: string;
|
|
527
|
-
campaignHomeUrl?: string;
|
|
334
|
+
campaignHomeUrl?: string | undefined;
|
|
528
335
|
amount: number;
|
|
529
336
|
showAgeConfirmFlag: boolean;
|
|
530
337
|
shareDetail?: {
|
|
531
338
|
text: string;
|
|
532
339
|
imageUrl: string;
|
|
533
|
-
};
|
|
340
|
+
} | undefined;
|
|
534
341
|
animationType: import("../../../model/makePayment").CashBackAnimationType;
|
|
535
342
|
optionalText: string;
|
|
536
343
|
campaignId: string;
|
|
@@ -539,12 +346,13 @@ export declare function useCashBackDetail(props: Props): {
|
|
|
539
346
|
optionalText: string;
|
|
540
347
|
animationUrl: string;
|
|
541
348
|
couponCashbackDetail: string;
|
|
542
|
-
googleAnalyticsInfo:
|
|
349
|
+
googleAnalyticsInfo: unknown;
|
|
543
350
|
cashBackDescription: string;
|
|
544
351
|
cashBackDetailListDescription: string;
|
|
545
|
-
lotteryAnimationUrl?: string;
|
|
546
|
-
}>;
|
|
352
|
+
lotteryAnimationUrl?: string | undefined;
|
|
353
|
+
} | null>;
|
|
547
354
|
hasCashBackAnimation: ComputedRef<boolean>;
|
|
355
|
+
hasConfirmAge: ComputedRef<boolean>;
|
|
548
356
|
calculating: ComputedRef<boolean>;
|
|
549
357
|
calculated: ComputedRef<boolean>;
|
|
550
358
|
handleCashBackDetails: (cashBackDetail: CashBackDetail) => Promise<void>;
|
|
@@ -566,3 +374,8 @@ export declare function useCharge(props: Props): {
|
|
|
566
374
|
duplicateTopup: boolean;
|
|
567
375
|
}) => Promise<boolean>;
|
|
568
376
|
};
|
|
377
|
+
export declare function useCloseConfirmation(): {
|
|
378
|
+
showCloseConfirmation: ComputedRef<boolean>;
|
|
379
|
+
openCloseConfirmation: () => void;
|
|
380
|
+
closeCloseConfirmation: () => void;
|
|
381
|
+
};
|