@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.
Files changed (65) hide show
  1. package/dist/composition-api/useRegisterEmail.d.ts +1 -1
  2. package/dist/mini-app-api.d.ts +2 -1
  3. package/dist/mini-app-js-sdk.browser.js +1 -1
  4. package/dist/mini-app-js-sdk.d.ts +2 -1
  5. package/dist/mini-app-js-sdk.es.js +8751 -8457
  6. package/dist/mini-app-js-sdk.min.css +1 -1
  7. package/dist/model/bridge/checkAccessToken.d.ts +1 -1
  8. package/dist/model/bridge/debug.d.ts +1 -1
  9. package/dist/model/bridge/getAuthStatus.d.ts +1 -1
  10. package/dist/model/bridge/getBankInfo.d.ts +1 -1
  11. package/dist/model/bridge/getConfigure.d.ts +6 -0
  12. package/dist/model/bridge/getDeviceInformation.d.ts +1 -1
  13. package/dist/model/bridge/getPlatformInformation.d.ts +1 -1
  14. package/dist/model/bridge/getTopBarHeight.d.ts +1 -1
  15. package/dist/model/bridge/getUAID.d.ts +1 -1
  16. package/dist/model/bridge/getUserProfile.d.ts +1 -1
  17. package/dist/model/bridge/logout.d.ts +1 -1
  18. package/dist/model/bridge/registerEmail.d.ts +1 -1
  19. package/dist/model/bridge/scanCode.d.ts +1 -1
  20. package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +1 -1
  21. package/dist/model/makePayment.d.ts +21 -19
  22. package/dist/package/action-sheet/index.d.ts +1 -1
  23. package/dist/package/banner-header/index.vue.d.ts +1 -1
  24. package/dist/package/input/currency/index.d.ts +124 -0
  25. package/dist/package/input/email/index.d.ts +137 -0
  26. package/dist/package/input/{index.d.ts → text/index.d.ts} +0 -113
  27. package/dist/package/input/zip/index.d.ts +107 -0
  28. package/dist/package/payment-method/PayLaterCC.vue.d.ts +3 -3
  29. package/dist/package/payment-type/CreditCard.vue.d.ts +11 -0
  30. package/dist/package/payment-type/PayLaterCC.vue.d.ts +14 -3
  31. package/dist/package/payment-type/Wallet.vue.d.ts +11 -0
  32. package/dist/package/payment-type/index.d.ts +11 -0
  33. package/dist/package/select-list/index.d.ts +2 -2
  34. package/dist/types.d.ts +28 -1
  35. package/dist/utils/api.d.ts +53 -6
  36. package/dist/utils/fetch.d.ts +9 -0
  37. package/dist/utils/helper.d.ts +1 -0
  38. package/dist/views/email-registration/App.vue.d.ts +1 -1
  39. package/dist/views/email-registration/hooks/callback.d.ts +1 -1
  40. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +2 -2
  41. package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +1 -1
  42. package/dist/views/error-sheet/Index.vue.d.ts +1 -1
  43. package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +1 -1
  44. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +1 -1
  45. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +1 -2
  46. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +130 -88
  47. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +8 -9
  48. package/dist/views/make-payment/hooks/app-hooks.d.ts +70 -49
  49. package/dist/views/make-payment/store/handle-error.d.ts +2 -2
  50. package/dist/views/make-payment/store/util-for-handle-error.d.ts +2 -2
  51. package/dist/views/make-payment/utils/paymentMethod.d.ts +4 -5
  52. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +252 -70
  53. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +252 -70
  54. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +252 -70
  55. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +252 -70
  56. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +252 -70
  57. package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +252 -70
  58. package/dist/views/register-user-info/store.d.ts +28 -70
  59. package/dist/views/topup/App.vue.d.ts +2 -1
  60. package/package.json +2 -2
  61. package/dist/composition-api/dom/index.d.ts +0 -6
  62. package/dist/jsbridge-core/index.d.ts +0 -4
  63. package/dist/model/bridge/index.d.ts +0 -46
  64. package/dist/package/index.d.ts +0 -18
  65. package/dist/package/switch/index.d.ts +0 -23
@@ -354,19 +354,13 @@ declare const _default: import("vue").DefineComponent<{}, {
354
354
  } | null;
355
355
  currentCategoryIndex: number;
356
356
  inputValues: {
357
- [x: string]: string;
357
+ [dataPointName: string]: string;
358
358
  };
359
359
  savedValues: {
360
- [x: string]: string;
360
+ [dataPointName: string]: string;
361
361
  };
362
362
  validationResults: {
363
- [x: string]: {
364
- ok: true;
365
- convertTo?: string | undefined;
366
- } | {
367
- ok: false;
368
- reason: string;
369
- };
363
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
370
364
  };
371
365
  email: string | null;
372
366
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -387,7 +381,39 @@ declare const _default: import("vue").DefineComponent<{}, {
387
381
  type: "fail";
388
382
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
389
383
  } | null;
390
- } & {}): boolean;
384
+ } & import("pinia").PiniaCustomStateProperties<{
385
+ mode: "default" | "edit";
386
+ formData: import("./types").UserProfileFormData | null;
387
+ currentCategoryIndex: number;
388
+ inputValues: {
389
+ [dataPointName: string]: string;
390
+ };
391
+ savedValues: {
392
+ [dataPointName: string]: string;
393
+ };
394
+ validationResults: {
395
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
396
+ };
397
+ email: string | null;
398
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
399
+ ui: {
400
+ isSavingData: boolean;
401
+ isCancelConfirmSheetVisible: boolean;
402
+ isKycInfoSheetVisible: boolean;
403
+ isMailInfoSheetVisible: boolean;
404
+ errorSheet?: {
405
+ title: string;
406
+ text: string;
407
+ isVisible: boolean;
408
+ } | undefined;
409
+ };
410
+ result: ({
411
+ type: "success";
412
+ } | {
413
+ type: "fail";
414
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
415
+ }) | null;
416
+ }>): boolean;
391
417
  categoryAtIndex(state: {
392
418
  mode: "default" | "edit";
393
419
  formData: {
@@ -416,19 +442,13 @@ declare const _default: import("vue").DefineComponent<{}, {
416
442
  } | null;
417
443
  currentCategoryIndex: number;
418
444
  inputValues: {
419
- [x: string]: string;
445
+ [dataPointName: string]: string;
420
446
  };
421
447
  savedValues: {
422
- [x: string]: string;
448
+ [dataPointName: string]: string;
423
449
  };
424
450
  validationResults: {
425
- [x: string]: {
426
- ok: true;
427
- convertTo?: string | undefined;
428
- } | {
429
- ok: false;
430
- reason: string;
431
- };
451
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
432
452
  };
433
453
  email: string | null;
434
454
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -449,7 +469,39 @@ declare const _default: import("vue").DefineComponent<{}, {
449
469
  type: "fail";
450
470
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
451
471
  } | null;
452
- } & {}): (index: number) => import("./types").UserProfileFormCategory;
472
+ } & import("pinia").PiniaCustomStateProperties<{
473
+ mode: "default" | "edit";
474
+ formData: import("./types").UserProfileFormData | null;
475
+ currentCategoryIndex: number;
476
+ inputValues: {
477
+ [dataPointName: string]: string;
478
+ };
479
+ savedValues: {
480
+ [dataPointName: string]: string;
481
+ };
482
+ validationResults: {
483
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
484
+ };
485
+ email: string | null;
486
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
487
+ ui: {
488
+ isSavingData: boolean;
489
+ isCancelConfirmSheetVisible: boolean;
490
+ isKycInfoSheetVisible: boolean;
491
+ isMailInfoSheetVisible: boolean;
492
+ errorSheet?: {
493
+ title: string;
494
+ text: string;
495
+ isVisible: boolean;
496
+ } | undefined;
497
+ };
498
+ result: ({
499
+ type: "success";
500
+ } | {
501
+ type: "fail";
502
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
503
+ }) | null;
504
+ }>): (index: number) => import("./types").UserProfileFormCategory;
453
505
  numberOfCategories(state: {
454
506
  mode: "default" | "edit";
455
507
  formData: {
@@ -478,19 +530,13 @@ declare const _default: import("vue").DefineComponent<{}, {
478
530
  } | null;
479
531
  currentCategoryIndex: number;
480
532
  inputValues: {
481
- [x: string]: string;
533
+ [dataPointName: string]: string;
482
534
  };
483
535
  savedValues: {
484
- [x: string]: string;
536
+ [dataPointName: string]: string;
485
537
  };
486
538
  validationResults: {
487
- [x: string]: {
488
- ok: true;
489
- convertTo?: string | undefined;
490
- } | {
491
- ok: false;
492
- reason: string;
493
- };
539
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
494
540
  };
495
541
  email: string | null;
496
542
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -511,7 +557,39 @@ declare const _default: import("vue").DefineComponent<{}, {
511
557
  type: "fail";
512
558
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
513
559
  } | null;
514
- } & {}): number;
560
+ } & import("pinia").PiniaCustomStateProperties<{
561
+ mode: "default" | "edit";
562
+ formData: import("./types").UserProfileFormData | null;
563
+ currentCategoryIndex: number;
564
+ inputValues: {
565
+ [dataPointName: string]: string;
566
+ };
567
+ savedValues: {
568
+ [dataPointName: string]: string;
569
+ };
570
+ validationResults: {
571
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
572
+ };
573
+ email: string | null;
574
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
575
+ ui: {
576
+ isSavingData: boolean;
577
+ isCancelConfirmSheetVisible: boolean;
578
+ isKycInfoSheetVisible: boolean;
579
+ isMailInfoSheetVisible: boolean;
580
+ errorSheet?: {
581
+ title: string;
582
+ text: string;
583
+ isVisible: boolean;
584
+ } | undefined;
585
+ };
586
+ result: ({
587
+ type: "success";
588
+ } | {
589
+ type: "fail";
590
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
591
+ }) | null;
592
+ }>): number;
515
593
  currentValue(state: {
516
594
  mode: "default" | "edit";
517
595
  formData: {
@@ -540,19 +618,13 @@ declare const _default: import("vue").DefineComponent<{}, {
540
618
  } | null;
541
619
  currentCategoryIndex: number;
542
620
  inputValues: {
543
- [x: string]: string;
621
+ [dataPointName: string]: string;
544
622
  };
545
623
  savedValues: {
546
- [x: string]: string;
624
+ [dataPointName: string]: string;
547
625
  };
548
626
  validationResults: {
549
- [x: string]: {
550
- ok: true;
551
- convertTo?: string | undefined;
552
- } | {
553
- ok: false;
554
- reason: string;
555
- };
627
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
556
628
  };
557
629
  email: string | null;
558
630
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -573,7 +645,39 @@ declare const _default: import("vue").DefineComponent<{}, {
573
645
  type: "fail";
574
646
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
575
647
  } | null;
576
- } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
648
+ } & import("pinia").PiniaCustomStateProperties<{
649
+ mode: "default" | "edit";
650
+ formData: import("./types").UserProfileFormData | null;
651
+ currentCategoryIndex: number;
652
+ inputValues: {
653
+ [dataPointName: string]: string;
654
+ };
655
+ savedValues: {
656
+ [dataPointName: string]: string;
657
+ };
658
+ validationResults: {
659
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
660
+ };
661
+ email: string | null;
662
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
663
+ ui: {
664
+ isSavingData: boolean;
665
+ isCancelConfirmSheetVisible: boolean;
666
+ isKycInfoSheetVisible: boolean;
667
+ isMailInfoSheetVisible: boolean;
668
+ errorSheet?: {
669
+ title: string;
670
+ text: string;
671
+ isVisible: boolean;
672
+ } | undefined;
673
+ };
674
+ result: ({
675
+ type: "success";
676
+ } | {
677
+ type: "fail";
678
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
679
+ }) | null;
680
+ }>): (dataPoint: import("./types").UserProfileFormDataPoint) => string;
577
681
  hasValidationError(state: {
578
682
  mode: "default" | "edit";
579
683
  formData: {
@@ -602,19 +706,13 @@ declare const _default: import("vue").DefineComponent<{}, {
602
706
  } | null;
603
707
  currentCategoryIndex: number;
604
708
  inputValues: {
605
- [x: string]: string;
709
+ [dataPointName: string]: string;
606
710
  };
607
711
  savedValues: {
608
- [x: string]: string;
712
+ [dataPointName: string]: string;
609
713
  };
610
714
  validationResults: {
611
- [x: string]: {
612
- ok: true;
613
- convertTo?: string | undefined;
614
- } | {
615
- ok: false;
616
- reason: string;
617
- };
715
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
618
716
  };
619
717
  email: string | null;
620
718
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -635,7 +733,39 @@ declare const _default: import("vue").DefineComponent<{}, {
635
733
  type: "fail";
636
734
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
637
735
  } | null;
638
- } & {}): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
736
+ } & import("pinia").PiniaCustomStateProperties<{
737
+ mode: "default" | "edit";
738
+ formData: import("./types").UserProfileFormData | null;
739
+ currentCategoryIndex: number;
740
+ inputValues: {
741
+ [dataPointName: string]: string;
742
+ };
743
+ savedValues: {
744
+ [dataPointName: string]: string;
745
+ };
746
+ validationResults: {
747
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
748
+ };
749
+ email: string | null;
750
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
751
+ ui: {
752
+ isSavingData: boolean;
753
+ isCancelConfirmSheetVisible: boolean;
754
+ isKycInfoSheetVisible: boolean;
755
+ isMailInfoSheetVisible: boolean;
756
+ errorSheet?: {
757
+ title: string;
758
+ text: string;
759
+ isVisible: boolean;
760
+ } | undefined;
761
+ };
762
+ result: ({
763
+ type: "success";
764
+ } | {
765
+ type: "fail";
766
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
767
+ }) | null;
768
+ }>): (dataPoint: import("./types").UserProfileFormDataPoint) => boolean;
639
769
  validationErrorForGroup(state: {
640
770
  mode: "default" | "edit";
641
771
  formData: {
@@ -664,19 +794,13 @@ declare const _default: import("vue").DefineComponent<{}, {
664
794
  } | null;
665
795
  currentCategoryIndex: number;
666
796
  inputValues: {
667
- [x: string]: string;
797
+ [dataPointName: string]: string;
668
798
  };
669
799
  savedValues: {
670
- [x: string]: string;
800
+ [dataPointName: string]: string;
671
801
  };
672
802
  validationResults: {
673
- [x: string]: {
674
- ok: true;
675
- convertTo?: string | undefined;
676
- } | {
677
- ok: false;
678
- reason: string;
679
- };
803
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
680
804
  };
681
805
  email: string | null;
682
806
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -697,7 +821,39 @@ declare const _default: import("vue").DefineComponent<{}, {
697
821
  type: "fail";
698
822
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
699
823
  } | null;
700
- } & {}): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
824
+ } & import("pinia").PiniaCustomStateProperties<{
825
+ mode: "default" | "edit";
826
+ formData: import("./types").UserProfileFormData | null;
827
+ currentCategoryIndex: number;
828
+ inputValues: {
829
+ [dataPointName: string]: string;
830
+ };
831
+ savedValues: {
832
+ [dataPointName: string]: string;
833
+ };
834
+ validationResults: {
835
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
836
+ };
837
+ email: string | null;
838
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
839
+ ui: {
840
+ isSavingData: boolean;
841
+ isCancelConfirmSheetVisible: boolean;
842
+ isKycInfoSheetVisible: boolean;
843
+ isMailInfoSheetVisible: boolean;
844
+ errorSheet?: {
845
+ title: string;
846
+ text: string;
847
+ isVisible: boolean;
848
+ } | undefined;
849
+ };
850
+ result: ({
851
+ type: "success";
852
+ } | {
853
+ type: "fail";
854
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
855
+ }) | null;
856
+ }>): (group: import("./types").UserProfileFormDataPointGroup) => string | null;
701
857
  shouldDisableSaveButton(state: {
702
858
  mode: "default" | "edit";
703
859
  formData: {
@@ -726,19 +882,13 @@ declare const _default: import("vue").DefineComponent<{}, {
726
882
  } | null;
727
883
  currentCategoryIndex: number;
728
884
  inputValues: {
729
- [x: string]: string;
885
+ [dataPointName: string]: string;
730
886
  };
731
887
  savedValues: {
732
- [x: string]: string;
888
+ [dataPointName: string]: string;
733
889
  };
734
890
  validationResults: {
735
- [x: string]: {
736
- ok: true;
737
- convertTo?: string | undefined;
738
- } | {
739
- ok: false;
740
- reason: string;
741
- };
891
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
742
892
  };
743
893
  email: string | null;
744
894
  emailStatus: import("../../utils/api").VERIFY_STATUS | null;
@@ -759,7 +909,39 @@ declare const _default: import("vue").DefineComponent<{}, {
759
909
  type: "fail";
760
910
  errorCode: import("../../model/miniAppError").MiniAppErrorType;
761
911
  } | null;
762
- } & {}): boolean;
912
+ } & import("pinia").PiniaCustomStateProperties<{
913
+ mode: "default" | "edit";
914
+ formData: import("./types").UserProfileFormData | null;
915
+ currentCategoryIndex: number;
916
+ inputValues: {
917
+ [dataPointName: string]: string;
918
+ };
919
+ savedValues: {
920
+ [dataPointName: string]: string;
921
+ };
922
+ validationResults: {
923
+ [dataPointName: string]: import("./validators").UserProfileFormValidationResult;
924
+ };
925
+ email: string | null;
926
+ emailStatus: import("../../utils/api").VERIFY_STATUS | null;
927
+ ui: {
928
+ isSavingData: boolean;
929
+ isCancelConfirmSheetVisible: boolean;
930
+ isKycInfoSheetVisible: boolean;
931
+ isMailInfoSheetVisible: boolean;
932
+ errorSheet?: {
933
+ title: string;
934
+ text: string;
935
+ isVisible: boolean;
936
+ } | undefined;
937
+ };
938
+ result: ({
939
+ type: "success";
940
+ } | {
941
+ type: "fail";
942
+ errorCode: import("../../model/miniAppError").MiniAppErrorType;
943
+ }) | null;
944
+ }>): boolean;
763
945
  }, {
764
946
  initialize(params: import("../../types").RegisterUserInfoParams): void;
765
947
  saveCategory(): void;