@paypay/mini-app-js-sdk 1.39.0 → 1.42.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/useRegisterEmail.d.ts +1 -1
- package/dist/mini-app-api.d.ts +2 -1
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.d.ts +2 -1
- package/dist/mini-app-js-sdk.es.js +8751 -8457
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +1 -1
- package/dist/model/bridge/debug.d.ts +1 -1
- package/dist/model/bridge/getAuthStatus.d.ts +1 -1
- package/dist/model/bridge/getBankInfo.d.ts +1 -1
- package/dist/model/bridge/getConfigure.d.ts +6 -0
- package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
- package/dist/model/bridge/getPlatformInformation.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/getUserProfile.d.ts +1 -1
- package/dist/model/bridge/logout.d.ts +1 -1
- package/dist/model/bridge/registerEmail.d.ts +1 -1
- package/dist/model/bridge/scanCode.d.ts +1 -1
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +1 -1
- package/dist/model/makePayment.d.ts +21 -19
- package/dist/package/action-sheet/index.d.ts +1 -1
- package/dist/package/banner-header/index.vue.d.ts +1 -1
- package/dist/package/input/currency/index.d.ts +124 -0
- package/dist/package/input/email/index.d.ts +137 -0
- package/dist/package/input/{index.d.ts → text/index.d.ts} +0 -113
- package/dist/package/input/zip/index.d.ts +107 -0
- package/dist/package/payment-method/PayLaterCC.vue.d.ts +3 -3
- package/dist/package/payment-type/CreditCard.vue.d.ts +11 -0
- package/dist/package/payment-type/PayLaterCC.vue.d.ts +14 -3
- package/dist/package/payment-type/Wallet.vue.d.ts +11 -0
- package/dist/package/payment-type/index.d.ts +11 -0
- package/dist/package/select-list/index.d.ts +2 -2
- package/dist/types.d.ts +28 -1
- package/dist/utils/api.d.ts +53 -6
- package/dist/utils/fetch.d.ts +9 -0
- package/dist/utils/helper.d.ts +1 -0
- package/dist/views/email-registration/App.vue.d.ts +1 -1
- package/dist/views/email-registration/hooks/callback.d.ts +1 -1
- package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +2 -2
- package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +1 -1
- package/dist/views/error-sheet/Index.vue.d.ts +1 -1
- package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +1 -1
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +1 -1
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +1 -2
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +130 -88
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +8 -9
- package/dist/views/make-payment/hooks/app-hooks.d.ts +70 -49
- package/dist/views/make-payment/store/handle-error.d.ts +2 -2
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +2 -2
- package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -5
- package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +252 -70
- package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +252 -70
- package/dist/views/register-user-info/store.d.ts +28 -70
- package/dist/views/topup/App.vue.d.ts +2 -1
- package/package.json +2 -2
- package/dist/composition-api/dom/index.d.ts +0 -6
- package/dist/jsbridge-core/index.d.ts +0 -4
- package/dist/model/bridge/index.d.ts +0 -46
- package/dist/package/index.d.ts +0 -18
- package/dist/package/switch/index.d.ts +0 -23
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
};
|
|
49
49
|
paymentMethod: import("vue").ComputedRef<{
|
|
50
50
|
paymentMethodId: string;
|
|
51
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
51
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.WALLET;
|
|
52
52
|
descriptionBannerInfo?: {
|
|
53
53
|
label?: string | undefined;
|
|
54
54
|
title?: string | undefined;
|
|
@@ -69,15 +69,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
canCloseByOutsideTap: boolean;
|
|
70
70
|
} | undefined;
|
|
71
71
|
} | undefined;
|
|
72
|
-
creditCardInfo?: unknown;
|
|
73
|
-
bankInfo?: unknown;
|
|
74
|
-
sbidCarrierBillingInfo?: unknown;
|
|
75
|
-
payLaterCcInfo?: unknown;
|
|
76
|
-
paymentMethodDescriptionInfo?: {
|
|
77
|
-
statusDescription: {
|
|
78
|
-
[x: string]: unknown;
|
|
79
|
-
} | null;
|
|
80
|
-
} | undefined;
|
|
81
72
|
walletInfo?: {
|
|
82
73
|
cashBackBalanceInfo?: {
|
|
83
74
|
balance: number;
|
|
@@ -140,10 +131,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
131
|
} | undefined;
|
|
141
132
|
} | undefined;
|
|
142
133
|
} | undefined;
|
|
134
|
+
creditCardInfo?: unknown;
|
|
135
|
+
bankInfo?: unknown;
|
|
136
|
+
sbidCarrierBillingInfo?: unknown;
|
|
137
|
+
payLaterCcInfo?: unknown;
|
|
138
|
+
paymentMethodDescriptionInfo?: {
|
|
139
|
+
statusDescription: Record<string, unknown> | null;
|
|
140
|
+
} | undefined;
|
|
143
141
|
} | {
|
|
144
|
-
walletInfo?: unknown;
|
|
145
142
|
paymentMethodId: string;
|
|
146
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
143
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.CREDIT_CARD;
|
|
147
144
|
descriptionBannerInfo?: {
|
|
148
145
|
label?: string | undefined;
|
|
149
146
|
title?: string | undefined;
|
|
@@ -164,14 +161,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
164
161
|
canCloseByOutsideTap: boolean;
|
|
165
162
|
} | undefined;
|
|
166
163
|
} | undefined;
|
|
167
|
-
|
|
168
|
-
sbidCarrierBillingInfo?: unknown;
|
|
169
|
-
payLaterCcInfo?: unknown;
|
|
170
|
-
paymentMethodDescriptionInfo?: {
|
|
171
|
-
statusDescription: {
|
|
172
|
-
[x: string]: unknown;
|
|
173
|
-
} | null;
|
|
174
|
-
} | undefined;
|
|
164
|
+
walletInfo?: unknown;
|
|
175
165
|
creditCardInfo?: {
|
|
176
166
|
brand?: import('../../../../model/makePayment').CreditTypes | undefined;
|
|
177
167
|
isAuthenticated?: boolean | undefined;
|
|
@@ -181,10 +171,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
171
|
ccType?: string | undefined;
|
|
182
172
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
183
173
|
} | undefined;
|
|
174
|
+
bankInfo?: unknown;
|
|
175
|
+
sbidCarrierBillingInfo?: unknown;
|
|
176
|
+
payLaterCcInfo?: unknown;
|
|
177
|
+
paymentMethodDescriptionInfo?: {
|
|
178
|
+
statusDescription: Record<string, unknown> | null;
|
|
179
|
+
} | undefined;
|
|
184
180
|
} | {
|
|
185
|
-
walletInfo?: unknown;
|
|
186
181
|
paymentMethodId: string;
|
|
187
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
182
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.BANK | import('../../../../model/makePayment').PaymentMethodType.YMONEY_BANK;
|
|
188
183
|
descriptionBannerInfo?: {
|
|
189
184
|
label?: string | undefined;
|
|
190
185
|
title?: string | undefined;
|
|
@@ -205,14 +200,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
205
200
|
canCloseByOutsideTap: boolean;
|
|
206
201
|
} | undefined;
|
|
207
202
|
} | undefined;
|
|
203
|
+
walletInfo?: unknown;
|
|
208
204
|
creditCardInfo?: unknown;
|
|
209
|
-
sbidCarrierBillingInfo?: unknown;
|
|
210
|
-
payLaterCcInfo?: unknown;
|
|
211
|
-
paymentMethodDescriptionInfo?: {
|
|
212
|
-
statusDescription: {
|
|
213
|
-
[x: string]: unknown;
|
|
214
|
-
} | null;
|
|
215
|
-
} | undefined;
|
|
216
205
|
bankInfo?: {
|
|
217
206
|
paymentMethodStatusLabel?: string | undefined;
|
|
218
207
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
@@ -229,10 +218,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
218
|
bankAccountType?: string | undefined;
|
|
230
219
|
bankAccountNumberLast2digits?: string | undefined;
|
|
231
220
|
} | undefined;
|
|
221
|
+
sbidCarrierBillingInfo?: unknown;
|
|
222
|
+
payLaterCcInfo?: unknown;
|
|
223
|
+
paymentMethodDescriptionInfo?: {
|
|
224
|
+
statusDescription: Record<string, unknown> | null;
|
|
225
|
+
} | undefined;
|
|
232
226
|
} | {
|
|
233
|
-
walletInfo?: unknown;
|
|
234
227
|
paymentMethodId: string;
|
|
235
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
228
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.SBID_CARRIER_BILLING;
|
|
236
229
|
descriptionBannerInfo?: {
|
|
237
230
|
label?: string | undefined;
|
|
238
231
|
title?: string | undefined;
|
|
@@ -253,21 +246,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
253
246
|
canCloseByOutsideTap: boolean;
|
|
254
247
|
} | undefined;
|
|
255
248
|
} | undefined;
|
|
249
|
+
walletInfo?: unknown;
|
|
256
250
|
creditCardInfo?: unknown;
|
|
257
251
|
bankInfo?: unknown;
|
|
258
|
-
payLaterCcInfo?: unknown;
|
|
259
|
-
paymentMethodDescriptionInfo?: {
|
|
260
|
-
statusDescription: {
|
|
261
|
-
[x: string]: unknown;
|
|
262
|
-
} | null;
|
|
263
|
-
} | undefined;
|
|
264
252
|
sbidCarrierBillingInfo?: {
|
|
265
253
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
266
254
|
} | undefined;
|
|
255
|
+
payLaterCcInfo?: unknown;
|
|
256
|
+
paymentMethodDescriptionInfo?: {
|
|
257
|
+
statusDescription: Record<string, unknown> | null;
|
|
258
|
+
} | undefined;
|
|
267
259
|
} | {
|
|
268
|
-
walletInfo?: unknown;
|
|
269
260
|
paymentMethodId: string;
|
|
270
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
261
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.PAY_LATER_CC;
|
|
271
262
|
descriptionBannerInfo?: {
|
|
272
263
|
label?: string | undefined;
|
|
273
264
|
title?: string | undefined;
|
|
@@ -288,18 +279,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
288
279
|
canCloseByOutsideTap: boolean;
|
|
289
280
|
} | undefined;
|
|
290
281
|
} | undefined;
|
|
282
|
+
walletInfo?: unknown;
|
|
291
283
|
creditCardInfo?: unknown;
|
|
292
284
|
bankInfo?: unknown;
|
|
293
285
|
sbidCarrierBillingInfo?: unknown;
|
|
294
|
-
paymentMethodDescriptionInfo?: {
|
|
295
|
-
statusDescription: {
|
|
296
|
-
[x: string]: unknown;
|
|
297
|
-
} | null;
|
|
298
|
-
} | undefined;
|
|
299
286
|
payLaterCcInfo?: {
|
|
300
287
|
availableAmount?: number | undefined;
|
|
301
288
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
302
289
|
} | undefined;
|
|
290
|
+
paymentMethodDescriptionInfo?: {
|
|
291
|
+
statusDescription: Record<string, unknown> | null;
|
|
292
|
+
} | undefined;
|
|
293
|
+
} | {
|
|
294
|
+
paymentMethodId: string;
|
|
295
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.PAY_LATER;
|
|
296
|
+
descriptionBannerInfo?: {
|
|
297
|
+
label?: string | undefined;
|
|
298
|
+
title?: string | undefined;
|
|
299
|
+
iconImageUrl?: string | undefined;
|
|
300
|
+
displayResponse?: {
|
|
301
|
+
title: string;
|
|
302
|
+
buttonList: {
|
|
303
|
+
nativeAction: string;
|
|
304
|
+
title: string;
|
|
305
|
+
actionType: import('../../../../model/uiComponents').UIComponentsButtonActionType;
|
|
306
|
+
buttonType: import('../../../../model/uiComponents').UIComponentsButtonType;
|
|
307
|
+
deeplink?: string | undefined;
|
|
308
|
+
googleAnalyticsInfo: unknown;
|
|
309
|
+
type: unknown;
|
|
310
|
+
}[];
|
|
311
|
+
iconUrl?: string | undefined;
|
|
312
|
+
description: string;
|
|
313
|
+
canCloseByOutsideTap: boolean;
|
|
314
|
+
} | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
walletInfo?: unknown;
|
|
317
|
+
creditCardInfo?: unknown;
|
|
318
|
+
bankInfo?: unknown;
|
|
319
|
+
sbidCarrierBillingInfo?: unknown;
|
|
320
|
+
payLaterCcInfo?: unknown;
|
|
321
|
+
paymentMethodDescriptionInfo?: {
|
|
322
|
+
statusDescription: Record<string, unknown> | null;
|
|
323
|
+
} | undefined;
|
|
303
324
|
}>;
|
|
304
325
|
bannerInfo: import("vue").ComputedRef<{
|
|
305
326
|
label?: string | undefined;
|
|
@@ -326,7 +347,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
326
347
|
mount: import("vue").ComputedRef<boolean>;
|
|
327
348
|
paymentMethods: import("vue").ComputedRef<({
|
|
328
349
|
paymentMethodId: string;
|
|
329
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
350
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.WALLET;
|
|
330
351
|
descriptionBannerInfo?: {
|
|
331
352
|
label?: string | undefined;
|
|
332
353
|
title?: string | undefined;
|
|
@@ -347,15 +368,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
347
368
|
canCloseByOutsideTap: boolean;
|
|
348
369
|
} | undefined;
|
|
349
370
|
} | undefined;
|
|
350
|
-
creditCardInfo?: unknown;
|
|
351
|
-
bankInfo?: unknown;
|
|
352
|
-
sbidCarrierBillingInfo?: unknown;
|
|
353
|
-
payLaterCcInfo?: unknown;
|
|
354
|
-
paymentMethodDescriptionInfo?: {
|
|
355
|
-
statusDescription: {
|
|
356
|
-
[x: string]: unknown;
|
|
357
|
-
} | null;
|
|
358
|
-
} | undefined;
|
|
359
371
|
walletInfo?: {
|
|
360
372
|
cashBackBalanceInfo?: {
|
|
361
373
|
balance: number;
|
|
@@ -418,10 +430,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
418
430
|
} | undefined;
|
|
419
431
|
} | undefined;
|
|
420
432
|
} | undefined;
|
|
433
|
+
creditCardInfo?: unknown;
|
|
434
|
+
bankInfo?: unknown;
|
|
435
|
+
sbidCarrierBillingInfo?: unknown;
|
|
436
|
+
payLaterCcInfo?: unknown;
|
|
437
|
+
paymentMethodDescriptionInfo?: {
|
|
438
|
+
statusDescription: Record<string, unknown> | null;
|
|
439
|
+
} | undefined;
|
|
421
440
|
} | {
|
|
422
|
-
walletInfo?: unknown;
|
|
423
441
|
paymentMethodId: string;
|
|
424
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
442
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.CREDIT_CARD;
|
|
425
443
|
descriptionBannerInfo?: {
|
|
426
444
|
label?: string | undefined;
|
|
427
445
|
title?: string | undefined;
|
|
@@ -442,14 +460,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
442
460
|
canCloseByOutsideTap: boolean;
|
|
443
461
|
} | undefined;
|
|
444
462
|
} | undefined;
|
|
445
|
-
|
|
446
|
-
sbidCarrierBillingInfo?: unknown;
|
|
447
|
-
payLaterCcInfo?: unknown;
|
|
448
|
-
paymentMethodDescriptionInfo?: {
|
|
449
|
-
statusDescription: {
|
|
450
|
-
[x: string]: unknown;
|
|
451
|
-
} | null;
|
|
452
|
-
} | undefined;
|
|
463
|
+
walletInfo?: unknown;
|
|
453
464
|
creditCardInfo?: {
|
|
454
465
|
brand?: import('../../../../model/makePayment').CreditTypes | undefined;
|
|
455
466
|
isAuthenticated?: boolean | undefined;
|
|
@@ -459,10 +470,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
459
470
|
ccType?: string | undefined;
|
|
460
471
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
461
472
|
} | undefined;
|
|
473
|
+
bankInfo?: unknown;
|
|
474
|
+
sbidCarrierBillingInfo?: unknown;
|
|
475
|
+
payLaterCcInfo?: unknown;
|
|
476
|
+
paymentMethodDescriptionInfo?: {
|
|
477
|
+
statusDescription: Record<string, unknown> | null;
|
|
478
|
+
} | undefined;
|
|
462
479
|
} | {
|
|
463
|
-
walletInfo?: unknown;
|
|
464
480
|
paymentMethodId: string;
|
|
465
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
481
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.BANK | import('../../../../model/makePayment').PaymentMethodType.YMONEY_BANK;
|
|
466
482
|
descriptionBannerInfo?: {
|
|
467
483
|
label?: string | undefined;
|
|
468
484
|
title?: string | undefined;
|
|
@@ -483,14 +499,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
483
499
|
canCloseByOutsideTap: boolean;
|
|
484
500
|
} | undefined;
|
|
485
501
|
} | undefined;
|
|
502
|
+
walletInfo?: unknown;
|
|
486
503
|
creditCardInfo?: unknown;
|
|
487
|
-
sbidCarrierBillingInfo?: unknown;
|
|
488
|
-
payLaterCcInfo?: unknown;
|
|
489
|
-
paymentMethodDescriptionInfo?: {
|
|
490
|
-
statusDescription: {
|
|
491
|
-
[x: string]: unknown;
|
|
492
|
-
} | null;
|
|
493
|
-
} | undefined;
|
|
494
504
|
bankInfo?: {
|
|
495
505
|
paymentMethodStatusLabel?: string | undefined;
|
|
496
506
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
@@ -507,10 +517,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
507
517
|
bankAccountType?: string | undefined;
|
|
508
518
|
bankAccountNumberLast2digits?: string | undefined;
|
|
509
519
|
} | undefined;
|
|
520
|
+
sbidCarrierBillingInfo?: unknown;
|
|
521
|
+
payLaterCcInfo?: unknown;
|
|
522
|
+
paymentMethodDescriptionInfo?: {
|
|
523
|
+
statusDescription: Record<string, unknown> | null;
|
|
524
|
+
} | undefined;
|
|
510
525
|
} | {
|
|
511
|
-
walletInfo?: unknown;
|
|
512
526
|
paymentMethodId: string;
|
|
513
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
527
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.SBID_CARRIER_BILLING;
|
|
514
528
|
descriptionBannerInfo?: {
|
|
515
529
|
label?: string | undefined;
|
|
516
530
|
title?: string | undefined;
|
|
@@ -531,21 +545,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
531
545
|
canCloseByOutsideTap: boolean;
|
|
532
546
|
} | undefined;
|
|
533
547
|
} | undefined;
|
|
548
|
+
walletInfo?: unknown;
|
|
534
549
|
creditCardInfo?: unknown;
|
|
535
550
|
bankInfo?: unknown;
|
|
536
|
-
payLaterCcInfo?: unknown;
|
|
537
|
-
paymentMethodDescriptionInfo?: {
|
|
538
|
-
statusDescription: {
|
|
539
|
-
[x: string]: unknown;
|
|
540
|
-
} | null;
|
|
541
|
-
} | undefined;
|
|
542
551
|
sbidCarrierBillingInfo?: {
|
|
543
552
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
544
553
|
} | undefined;
|
|
554
|
+
payLaterCcInfo?: unknown;
|
|
555
|
+
paymentMethodDescriptionInfo?: {
|
|
556
|
+
statusDescription: Record<string, unknown> | null;
|
|
557
|
+
} | undefined;
|
|
545
558
|
} | {
|
|
546
|
-
walletInfo?: unknown;
|
|
547
559
|
paymentMethodId: string;
|
|
548
|
-
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType;
|
|
560
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.PAY_LATER_CC;
|
|
549
561
|
descriptionBannerInfo?: {
|
|
550
562
|
label?: string | undefined;
|
|
551
563
|
title?: string | undefined;
|
|
@@ -566,18 +578,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
566
578
|
canCloseByOutsideTap: boolean;
|
|
567
579
|
} | undefined;
|
|
568
580
|
} | undefined;
|
|
581
|
+
walletInfo?: unknown;
|
|
569
582
|
creditCardInfo?: unknown;
|
|
570
583
|
bankInfo?: unknown;
|
|
571
584
|
sbidCarrierBillingInfo?: unknown;
|
|
572
|
-
paymentMethodDescriptionInfo?: {
|
|
573
|
-
statusDescription: {
|
|
574
|
-
[x: string]: unknown;
|
|
575
|
-
} | null;
|
|
576
|
-
} | undefined;
|
|
577
585
|
payLaterCcInfo?: {
|
|
578
586
|
availableAmount?: number | undefined;
|
|
579
587
|
paymentMethodStatus?: import('../../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
580
588
|
} | undefined;
|
|
589
|
+
paymentMethodDescriptionInfo?: {
|
|
590
|
+
statusDescription: Record<string, unknown> | null;
|
|
591
|
+
} | undefined;
|
|
592
|
+
} | {
|
|
593
|
+
paymentMethodId: string;
|
|
594
|
+
paymentMethodType: import('../../../../model/makePayment').PaymentMethodType.PAY_LATER;
|
|
595
|
+
descriptionBannerInfo?: {
|
|
596
|
+
label?: string | undefined;
|
|
597
|
+
title?: string | undefined;
|
|
598
|
+
iconImageUrl?: string | undefined;
|
|
599
|
+
displayResponse?: {
|
|
600
|
+
title: string;
|
|
601
|
+
buttonList: {
|
|
602
|
+
nativeAction: string;
|
|
603
|
+
title: string;
|
|
604
|
+
actionType: import('../../../../model/uiComponents').UIComponentsButtonActionType;
|
|
605
|
+
buttonType: import('../../../../model/uiComponents').UIComponentsButtonType;
|
|
606
|
+
deeplink?: string | undefined;
|
|
607
|
+
googleAnalyticsInfo: unknown;
|
|
608
|
+
type: unknown;
|
|
609
|
+
}[];
|
|
610
|
+
iconUrl?: string | undefined;
|
|
611
|
+
description: string;
|
|
612
|
+
canCloseByOutsideTap: boolean;
|
|
613
|
+
} | undefined;
|
|
614
|
+
} | undefined;
|
|
615
|
+
walletInfo?: unknown;
|
|
616
|
+
creditCardInfo?: unknown;
|
|
617
|
+
bankInfo?: unknown;
|
|
618
|
+
sbidCarrierBillingInfo?: unknown;
|
|
619
|
+
payLaterCcInfo?: unknown;
|
|
620
|
+
paymentMethodDescriptionInfo?: {
|
|
621
|
+
statusDescription: Record<string, unknown> | null;
|
|
622
|
+
} | undefined;
|
|
581
623
|
})[]>;
|
|
582
624
|
setMoney: (price: number) => number;
|
|
583
625
|
showChargeList: import("vue").ComputedRef<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { PaymentMethod
|
|
2
|
+
import { PaymentMethod } from '../../../model/makePayment';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
title: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -31,10 +31,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
required: true;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
type:
|
|
34
|
+
isTopupPay: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
36
|
required: false;
|
|
37
|
-
default:
|
|
37
|
+
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
}, {
|
|
40
40
|
show: () => void;
|
|
@@ -379,7 +379,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
379
379
|
iconGreenTick: string;
|
|
380
380
|
icon3DSecure: string;
|
|
381
381
|
};
|
|
382
|
-
isTopupPay: import("vue").ComputedRef<boolean>;
|
|
383
382
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
384
383
|
title: {
|
|
385
384
|
type: StringConstructor;
|
|
@@ -411,17 +410,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
411
410
|
required: true;
|
|
412
411
|
default: boolean;
|
|
413
412
|
};
|
|
414
|
-
|
|
415
|
-
type:
|
|
413
|
+
isTopupPay: {
|
|
414
|
+
type: BooleanConstructor;
|
|
416
415
|
required: false;
|
|
417
|
-
default:
|
|
416
|
+
default: boolean;
|
|
418
417
|
};
|
|
419
418
|
}>>, {
|
|
420
|
-
type: PaymentOpType;
|
|
421
419
|
title: string;
|
|
422
420
|
paymentMethod: PaymentMethod;
|
|
423
421
|
paymentMethods: PaymentMethod[];
|
|
424
422
|
selectPaymentIndex: number;
|
|
425
423
|
showPaymentMethodList: boolean;
|
|
424
|
+
isTopupPay: boolean;
|
|
426
425
|
}>;
|
|
427
426
|
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
-
import { BannerInfo, CashBackDetail, ConsultResponse, GetPaymentMethodsResponse,
|
|
2
|
+
import { BannerInfo, CashBackDetail, ConsultResponse, GetPaymentMethodsResponse, PaymentMethod, PaymentMethodType } from '../../../model/makePayment';
|
|
3
3
|
import { UIComponentsError } from '../../../model/uiComponents';
|
|
4
4
|
import { MakePaymentParams } from '../../../types';
|
|
5
|
-
import {
|
|
5
|
+
import { PPFetchResult } from '../../../utils/fetch';
|
|
6
6
|
export interface Props {
|
|
7
7
|
show?: boolean;
|
|
8
8
|
paymentParams: MakePaymentParams;
|
|
9
9
|
}
|
|
10
10
|
export declare function usePaymentMethod(props: Props): {
|
|
11
11
|
getPaymentMethods: (dryRun?: boolean | undefined) => Promise<{
|
|
12
|
-
res:
|
|
12
|
+
res: PPFetchResult<GetPaymentMethodsResponse>;
|
|
13
13
|
result: boolean;
|
|
14
14
|
}>;
|
|
15
15
|
showPaymentMethod: () => void;
|
|
@@ -49,7 +49,7 @@ export declare function useConsult(props: Props): {
|
|
|
49
49
|
insufficientAmount: number;
|
|
50
50
|
paymentMethodList: ({
|
|
51
51
|
paymentMethodId: string;
|
|
52
|
-
paymentMethodType: PaymentMethodType;
|
|
52
|
+
paymentMethodType: PaymentMethodType.WALLET;
|
|
53
53
|
descriptionBannerInfo?: {
|
|
54
54
|
label?: string | undefined;
|
|
55
55
|
title?: string | undefined;
|
|
@@ -70,15 +70,6 @@ export declare function useConsult(props: Props): {
|
|
|
70
70
|
canCloseByOutsideTap: boolean;
|
|
71
71
|
} | undefined;
|
|
72
72
|
} | undefined;
|
|
73
|
-
creditCardInfo?: unknown;
|
|
74
|
-
bankInfo?: unknown;
|
|
75
|
-
sbidCarrierBillingInfo?: unknown;
|
|
76
|
-
payLaterCcInfo?: unknown;
|
|
77
|
-
paymentMethodDescriptionInfo?: {
|
|
78
|
-
statusDescription: {
|
|
79
|
-
[x: string]: unknown;
|
|
80
|
-
} | null;
|
|
81
|
-
} | undefined;
|
|
82
73
|
walletInfo?: {
|
|
83
74
|
cashBackBalanceInfo?: {
|
|
84
75
|
balance: number;
|
|
@@ -141,10 +132,16 @@ export declare function useConsult(props: Props): {
|
|
|
141
132
|
} | undefined;
|
|
142
133
|
} | undefined;
|
|
143
134
|
} | undefined;
|
|
135
|
+
creditCardInfo?: unknown;
|
|
136
|
+
bankInfo?: unknown;
|
|
137
|
+
sbidCarrierBillingInfo?: unknown;
|
|
138
|
+
payLaterCcInfo?: unknown;
|
|
139
|
+
paymentMethodDescriptionInfo?: {
|
|
140
|
+
statusDescription: Record<string, unknown> | null;
|
|
141
|
+
} | undefined;
|
|
144
142
|
} | {
|
|
145
|
-
walletInfo?: unknown;
|
|
146
143
|
paymentMethodId: string;
|
|
147
|
-
paymentMethodType: PaymentMethodType;
|
|
144
|
+
paymentMethodType: PaymentMethodType.CREDIT_CARD;
|
|
148
145
|
descriptionBannerInfo?: {
|
|
149
146
|
label?: string | undefined;
|
|
150
147
|
title?: string | undefined;
|
|
@@ -165,14 +162,7 @@ export declare function useConsult(props: Props): {
|
|
|
165
162
|
canCloseByOutsideTap: boolean;
|
|
166
163
|
} | undefined;
|
|
167
164
|
} | undefined;
|
|
168
|
-
|
|
169
|
-
sbidCarrierBillingInfo?: unknown;
|
|
170
|
-
payLaterCcInfo?: unknown;
|
|
171
|
-
paymentMethodDescriptionInfo?: {
|
|
172
|
-
statusDescription: {
|
|
173
|
-
[x: string]: unknown;
|
|
174
|
-
} | null;
|
|
175
|
-
} | undefined;
|
|
165
|
+
walletInfo?: unknown;
|
|
176
166
|
creditCardInfo?: {
|
|
177
167
|
brand?: import('../../../model/makePayment').CreditTypes | undefined;
|
|
178
168
|
isAuthenticated?: boolean | undefined;
|
|
@@ -182,10 +172,15 @@ export declare function useConsult(props: Props): {
|
|
|
182
172
|
ccType?: string | undefined;
|
|
183
173
|
paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
184
174
|
} | undefined;
|
|
175
|
+
bankInfo?: unknown;
|
|
176
|
+
sbidCarrierBillingInfo?: unknown;
|
|
177
|
+
payLaterCcInfo?: unknown;
|
|
178
|
+
paymentMethodDescriptionInfo?: {
|
|
179
|
+
statusDescription: Record<string, unknown> | null;
|
|
180
|
+
} | undefined;
|
|
185
181
|
} | {
|
|
186
|
-
walletInfo?: unknown;
|
|
187
182
|
paymentMethodId: string;
|
|
188
|
-
paymentMethodType: PaymentMethodType;
|
|
183
|
+
paymentMethodType: PaymentMethodType.BANK | PaymentMethodType.YMONEY_BANK;
|
|
189
184
|
descriptionBannerInfo?: {
|
|
190
185
|
label?: string | undefined;
|
|
191
186
|
title?: string | undefined;
|
|
@@ -206,14 +201,8 @@ export declare function useConsult(props: Props): {
|
|
|
206
201
|
canCloseByOutsideTap: boolean;
|
|
207
202
|
} | undefined;
|
|
208
203
|
} | undefined;
|
|
204
|
+
walletInfo?: unknown;
|
|
209
205
|
creditCardInfo?: unknown;
|
|
210
|
-
sbidCarrierBillingInfo?: unknown;
|
|
211
|
-
payLaterCcInfo?: unknown;
|
|
212
|
-
paymentMethodDescriptionInfo?: {
|
|
213
|
-
statusDescription: {
|
|
214
|
-
[x: string]: unknown;
|
|
215
|
-
} | null;
|
|
216
|
-
} | undefined;
|
|
217
206
|
bankInfo?: {
|
|
218
207
|
paymentMethodStatusLabel?: string | undefined;
|
|
219
208
|
paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
@@ -230,10 +219,14 @@ export declare function useConsult(props: Props): {
|
|
|
230
219
|
bankAccountType?: string | undefined;
|
|
231
220
|
bankAccountNumberLast2digits?: string | undefined;
|
|
232
221
|
} | undefined;
|
|
222
|
+
sbidCarrierBillingInfo?: unknown;
|
|
223
|
+
payLaterCcInfo?: unknown;
|
|
224
|
+
paymentMethodDescriptionInfo?: {
|
|
225
|
+
statusDescription: Record<string, unknown> | null;
|
|
226
|
+
} | undefined;
|
|
233
227
|
} | {
|
|
234
|
-
walletInfo?: unknown;
|
|
235
228
|
paymentMethodId: string;
|
|
236
|
-
paymentMethodType: PaymentMethodType;
|
|
229
|
+
paymentMethodType: PaymentMethodType.SBID_CARRIER_BILLING;
|
|
237
230
|
descriptionBannerInfo?: {
|
|
238
231
|
label?: string | undefined;
|
|
239
232
|
title?: string | undefined;
|
|
@@ -254,21 +247,19 @@ export declare function useConsult(props: Props): {
|
|
|
254
247
|
canCloseByOutsideTap: boolean;
|
|
255
248
|
} | undefined;
|
|
256
249
|
} | undefined;
|
|
250
|
+
walletInfo?: unknown;
|
|
257
251
|
creditCardInfo?: unknown;
|
|
258
252
|
bankInfo?: unknown;
|
|
259
|
-
payLaterCcInfo?: unknown;
|
|
260
|
-
paymentMethodDescriptionInfo?: {
|
|
261
|
-
statusDescription: {
|
|
262
|
-
[x: string]: unknown;
|
|
263
|
-
} | null;
|
|
264
|
-
} | undefined;
|
|
265
253
|
sbidCarrierBillingInfo?: {
|
|
266
254
|
paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
267
255
|
} | undefined;
|
|
256
|
+
payLaterCcInfo?: unknown;
|
|
257
|
+
paymentMethodDescriptionInfo?: {
|
|
258
|
+
statusDescription: Record<string, unknown> | null;
|
|
259
|
+
} | undefined;
|
|
268
260
|
} | {
|
|
269
|
-
walletInfo?: unknown;
|
|
270
261
|
paymentMethodId: string;
|
|
271
|
-
paymentMethodType: PaymentMethodType;
|
|
262
|
+
paymentMethodType: PaymentMethodType.PAY_LATER_CC;
|
|
272
263
|
descriptionBannerInfo?: {
|
|
273
264
|
label?: string | undefined;
|
|
274
265
|
title?: string | undefined;
|
|
@@ -289,18 +280,48 @@ export declare function useConsult(props: Props): {
|
|
|
289
280
|
canCloseByOutsideTap: boolean;
|
|
290
281
|
} | undefined;
|
|
291
282
|
} | undefined;
|
|
283
|
+
walletInfo?: unknown;
|
|
292
284
|
creditCardInfo?: unknown;
|
|
293
285
|
bankInfo?: unknown;
|
|
294
286
|
sbidCarrierBillingInfo?: unknown;
|
|
295
|
-
paymentMethodDescriptionInfo?: {
|
|
296
|
-
statusDescription: {
|
|
297
|
-
[x: string]: unknown;
|
|
298
|
-
} | null;
|
|
299
|
-
} | undefined;
|
|
300
287
|
payLaterCcInfo?: {
|
|
301
288
|
availableAmount?: number | undefined;
|
|
302
289
|
paymentMethodStatus?: import('../../../model/makePayment').PaymentMethodStatus | undefined;
|
|
303
290
|
} | undefined;
|
|
291
|
+
paymentMethodDescriptionInfo?: {
|
|
292
|
+
statusDescription: Record<string, unknown> | null;
|
|
293
|
+
} | undefined;
|
|
294
|
+
} | {
|
|
295
|
+
paymentMethodId: string;
|
|
296
|
+
paymentMethodType: PaymentMethodType.PAY_LATER;
|
|
297
|
+
descriptionBannerInfo?: {
|
|
298
|
+
label?: string | undefined;
|
|
299
|
+
title?: string | undefined;
|
|
300
|
+
iconImageUrl?: string | undefined;
|
|
301
|
+
displayResponse?: {
|
|
302
|
+
title: string;
|
|
303
|
+
buttonList: {
|
|
304
|
+
nativeAction: string;
|
|
305
|
+
title: string;
|
|
306
|
+
actionType: import('../../../model/uiComponents').UIComponentsButtonActionType;
|
|
307
|
+
buttonType: import('../../../model/uiComponents').UIComponentsButtonType;
|
|
308
|
+
deeplink?: string | undefined;
|
|
309
|
+
googleAnalyticsInfo: unknown;
|
|
310
|
+
type: unknown;
|
|
311
|
+
}[];
|
|
312
|
+
iconUrl?: string | undefined;
|
|
313
|
+
description: string;
|
|
314
|
+
canCloseByOutsideTap: boolean;
|
|
315
|
+
} | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
walletInfo?: unknown;
|
|
318
|
+
creditCardInfo?: unknown;
|
|
319
|
+
bankInfo?: unknown;
|
|
320
|
+
sbidCarrierBillingInfo?: unknown;
|
|
321
|
+
payLaterCcInfo?: unknown;
|
|
322
|
+
paymentMethodDescriptionInfo?: {
|
|
323
|
+
statusDescription: Record<string, unknown> | null;
|
|
324
|
+
} | undefined;
|
|
304
325
|
})[];
|
|
305
326
|
prepaidOnly: boolean | null;
|
|
306
327
|
recommendedTopupAmount: number;
|
|
@@ -312,13 +333,13 @@ export declare function useConsult(props: Props): {
|
|
|
312
333
|
getConsult: () => Promise<boolean>;
|
|
313
334
|
closeConsult: () => void;
|
|
314
335
|
setConsult: (consult: UIComponentsError) => void;
|
|
315
|
-
getConsultForTopup: (_retryCount?: number) => Promise<false |
|
|
336
|
+
getConsultForTopup: (_retryCount?: number) => Promise<false | PPFetchResult<ConsultResponse, Record<string, unknown>>>;
|
|
316
337
|
};
|
|
317
338
|
export declare function usePayment(props: Props, { paymentMethod, duplicatePayment, }: {
|
|
318
339
|
paymentMethod: ComputedRef<PaymentMethod>;
|
|
319
340
|
duplicatePayment: ComputedRef<boolean>;
|
|
320
341
|
}): {
|
|
321
|
-
pay: () => Promise<MakePaymentResponse | undefined>;
|
|
342
|
+
pay: () => Promise<import('../../../model/makePayment').MakePaymentResponse | undefined>;
|
|
322
343
|
paymentId: ComputedRef<string>;
|
|
323
344
|
};
|
|
324
345
|
export declare function useCashBackDetail(props: Props): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { ResponseBase } from '../../../model/makePayment';
|
|
3
3
|
import { UIComponentsError } from '../../../model/uiComponents';
|
|
4
|
-
import {
|
|
4
|
+
import { PPFetchResult } from '../../../utils/fetch';
|
|
5
5
|
import { RootStore } from './root';
|
|
6
6
|
import { API_TYPES_NEVER_RETURN, API_TYPES } from './util-for-handle-error';
|
|
7
7
|
declare type InsufficientParams = {
|
|
@@ -14,7 +14,7 @@ export declare type ErrorHandlingStore = {
|
|
|
14
14
|
isError: ComputedRef<boolean>;
|
|
15
15
|
isErrorOverlay: ComputedRef<boolean>;
|
|
16
16
|
closeError: (immediately: boolean) => void;
|
|
17
|
-
handleError: (res: ResponseBase
|
|
17
|
+
handleError: (res: PPFetchResult<ResponseBase>, options: HandleErrorOptions) => boolean;
|
|
18
18
|
consultError: ComputedRef<UIComponentsError | null>;
|
|
19
19
|
showConsultError: ComputedRef<boolean>;
|
|
20
20
|
openLogicError: (options?: InsufficientParams, jws?: string | null) => void;
|