@paypay/mini-app-js-sdk 1.64.0 → 2.0.0-beta.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 (187) hide show
  1. package/dist/client/clientUtils.d.ts +14 -0
  2. package/dist/client/index.d.ts +34 -0
  3. package/dist/client/supportedFunctionsList.d.ts +2 -0
  4. package/dist/client/types.d.ts +5 -0
  5. package/dist/core/coreUtils.d.ts +6 -0
  6. package/dist/jsbridge-core/jsbridge.d.ts +1 -1
  7. package/dist/mini-app-api.d.ts +5 -3
  8. package/dist/mini-app-js-sdk.browser.js +2 -1
  9. package/dist/mini-app-js-sdk.es.js +661 -44555
  10. package/dist/model/bridge/getKycPassportInfo.d.ts +2 -3
  11. package/dist/model/bridge/logAppsFlyerEvent.d.ts +2 -0
  12. package/dist/model/bridge/render.d.ts +4 -0
  13. package/dist/model/bridge/renderPayButton.d.ts +8 -1
  14. package/dist/model/bridge/showStorageAccessPermissionAlert.d.ts +2 -0
  15. package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +2 -3
  16. package/dist/model/miniAppError.d.ts +2 -1
  17. package/dist/package/button/index.d.ts +1 -1
  18. package/dist/resources/en.d.ts +496 -0
  19. package/dist/resources/ja.d.ts +515 -0
  20. package/dist/types.d.ts +157 -8
  21. package/dist/utils/api.d.ts +2 -1
  22. package/dist/utils/fetch.d.ts +1 -0
  23. package/dist/utils/getLanguage.d.ts +83 -1
  24. package/dist/utils/helper.d.ts +5 -0
  25. package/dist/utils/ip.d.ts +1 -1
  26. package/dist/utils/minimumAppVersion.d.ts +1 -0
  27. package/dist/utils/storage.d.ts +20 -13
  28. package/package.json +24 -10
  29. package/dist/composition-api/dom/useCountDown.d.ts +0 -20
  30. package/dist/composition-api/dom/useEventListener.d.ts +0 -8
  31. package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +0 -1
  32. package/dist/index.d.ts +0 -3
  33. package/dist/jsbridge-core/lib/browser.d.ts +0 -3
  34. package/dist/jsbridge-core/paypay-jsbridge.d.ts +0 -16
  35. package/dist/mini-app-js-sdk.d.ts +0 -10
  36. package/dist/mini-app-js-sdk.min.css +0 -1
  37. package/dist/model/OPAErrorCodes.d.ts +0 -4
  38. package/dist/model/bridge/index.d.ts +0 -47
  39. package/dist/package/action-sheet/index.d.ts +0 -123
  40. package/dist/package/banner-header/index.vue.d.ts +0 -71
  41. package/dist/package/button/LoadingIndicator.vue.d.ts +0 -2
  42. package/dist/package/charge-amount-list/index.vue.d.ts +0 -100
  43. package/dist/package/charge-amount-more-list/index.vue.d.ts +0 -25
  44. package/dist/package/date-button/index.vue.d.ts +0 -21
  45. package/dist/package/desktop-header/index.d.ts +0 -26
  46. package/dist/package/divider/index.d.ts +0 -24
  47. package/dist/package/header/index.d.ts +0 -99
  48. package/dist/package/input/currency/index.d.ts +0 -124
  49. package/dist/package/input/email/index.d.ts +0 -137
  50. package/dist/package/input/text/index.d.ts +0 -151
  51. package/dist/package/input/utils.d.ts +0 -6
  52. package/dist/package/input/zip/index.d.ts +0 -107
  53. package/dist/package/lottie/index.d.ts +0 -77
  54. package/dist/package/overlay/index.d.ts +0 -52
  55. package/dist/package/payment-method/Bank.vue.d.ts +0 -59
  56. package/dist/package/payment-method/CreditCard.vue.d.ts +0 -55
  57. package/dist/package/payment-method/PayLaterCC.vue.d.ts +0 -462
  58. package/dist/package/payment-method/SbidBank.vue.d.ts +0 -463
  59. package/dist/package/payment-method/Wallet.vue.d.ts +0 -467
  60. package/dist/package/payment-method/index.d.ts +0 -32
  61. package/dist/package/payment-method-list/index.vue.d.ts +0 -58
  62. package/dist/package/payment-type/Bank.vue.d.ts +0 -46
  63. package/dist/package/payment-type/CreditCard.vue.d.ts +0 -56
  64. package/dist/package/payment-type/PayLaterCC.vue.d.ts +0 -473
  65. package/dist/package/payment-type/Sbid.vue.d.ts +0 -462
  66. package/dist/package/payment-type/Wallet.vue.d.ts +0 -476
  67. package/dist/package/payment-type/index.d.ts +0 -38
  68. package/dist/package/select-list/Components.d.ts +0 -130
  69. package/dist/package/select-list/index.d.ts +0 -109
  70. package/dist/package/skeleton-loader/SkeletonLoader.vue.d.ts +0 -18
  71. package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +0 -461
  72. package/dist/utils/uiConstants.d.ts +0 -1
  73. package/dist/utils/useBreakpoints.d.ts +0 -5
  74. package/dist/utils/utils.d.ts +0 -2
  75. package/dist/views/email-registration/App.vue.d.ts +0 -59
  76. package/dist/views/email-registration/hooks/callback.d.ts +0 -9
  77. package/dist/views/email-registration/hooks/const.d.ts +0 -1
  78. package/dist/views/email-registration/hooks/ui.d.ts +0 -23
  79. package/dist/views/email-registration/parts/AuthMailNotFoundSheet.vue.d.ts +0 -42
  80. package/dist/views/email-registration/parts/RegisterEmail.vue.d.ts +0 -76
  81. package/dist/views/email-registration/parts/SentEmailAuthDoneSheet.vue.d.ts +0 -24
  82. package/dist/views/email-registration/parts/SentEmailSheet.vue.d.ts +0 -54
  83. package/dist/views/error-sheet/Index.vue.d.ts +0 -526
  84. package/dist/views/get-bank-info/GetBankInfoWrapper.vue.d.ts +0 -44
  85. package/dist/views/get-bank-info/components/GetBankInfoPopup.vue.d.ts +0 -482
  86. package/dist/views/get-bank-info/components/PayoutMethodList.vue.d.ts +0 -35
  87. package/dist/views/get-bank-info/components/PayoutMethodView.vue.d.ts +0 -22
  88. package/dist/views/get-bank-info/types.d.ts +0 -29
  89. package/dist/views/get-kyc-passport/GetKycPassportFallbackBiometricAuth.vue.d.ts +0 -459
  90. package/dist/views/get-kyc-passport/GetKycPassportOTPExpiredError.vue.d.ts +0 -457
  91. package/dist/views/get-kyc-passport/GetKycPassportOverVerifiLimitError.vue.d.ts +0 -457
  92. package/dist/views/get-kyc-passport/GetKycPassportRootView.vue.d.ts +0 -36
  93. package/dist/views/get-user-address/App.vue.d.ts +0 -67
  94. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +0 -539
  95. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +0 -460
  96. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +0 -503
  97. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +0 -474
  98. package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +0 -4
  99. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +0 -543
  100. package/dist/views/get-user-address/Sheet/App.vue.d.ts +0 -89
  101. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +0 -484
  102. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +0 -466
  103. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +0 -550
  104. package/dist/views/get-user-address/Sheet/SelectedAddress/NoRegisteredAddressMessage.vue.d.ts +0 -450
  105. package/dist/views/get-user-address/Sheet/SelectedAddress/SelectedAddress.vue.d.ts +0 -473
  106. package/dist/views/get-user-address/Sheet/SelectedAddress/components/AddressInfo.vue.d.ts +0 -468
  107. package/dist/views/get-user-address/Sheet/SelectedAddress/components/Footer.vue.d.ts +0 -460
  108. package/dist/views/get-user-address/hooks/ui-hooks.d.ts +0 -57
  109. package/dist/views/get-user-address/store/error-handle.d.ts +0 -12
  110. package/dist/views/get-user-address/store/root.d.ts +0 -18
  111. package/dist/views/init-kyc-passport/App.vue.d.ts +0 -38
  112. package/dist/views/init-kyc-passport/UpdateWarning.vue.d.ts +0 -55
  113. package/dist/views/input-address/App.vue.d.ts +0 -40
  114. package/dist/views/input-address/hook/app.d.ts +0 -14
  115. package/dist/views/input-address/hook/error-handle.d.ts +0 -8
  116. package/dist/views/input-address/hook/root.d.ts +0 -10
  117. package/dist/views/make-payment/App.vue.d.ts +0 -6663
  118. package/dist/views/make-payment/Main.vue.d.ts +0 -6676
  119. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +0 -458
  120. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +0 -461
  121. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +0 -453
  122. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +0 -449
  123. package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +0 -29
  124. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +0 -27
  125. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +0 -493
  126. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +0 -528
  127. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +0 -653
  128. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +0 -494
  129. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +0 -1419
  130. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +0 -493
  131. package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +0 -439
  132. package/dist/views/make-payment/Sheets/Consult.vue.d.ts +0 -27
  133. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +0 -464
  134. package/dist/views/make-payment/Sheets/MaintenanceInfo.vue.d.ts +0 -20
  135. package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +0 -530
  136. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +0 -656
  137. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +0 -42
  138. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +0 -549
  139. package/dist/views/make-payment/store/util-for-handle-error.d.ts +0 -16
  140. package/dist/views/make-payment/store.d.ts +0 -6328
  141. package/dist/views/make-payment/utils/paymentMethod.d.ts +0 -4
  142. package/dist/views/open-app/App.vue.d.ts +0 -464
  143. package/dist/views/open-map/App.vue.d.ts +0 -464
  144. package/dist/views/register-user-info/RegisterUserInfoCancelConfirmationSheet.vue.d.ts +0 -1102
  145. package/dist/views/register-user-info/RegisterUserInfoCategoryView.vue.d.ts +0 -1117
  146. package/dist/views/register-user-info/RegisterUserInfoDataPointGroup.vue.d.ts +0 -19
  147. package/dist/views/register-user-info/RegisterUserInfoErrorSheet.vue.d.ts +0 -7
  148. package/dist/views/register-user-info/RegisterUserInfoFooterView.vue.d.ts +0 -1102
  149. package/dist/views/register-user-info/RegisterUserInfoKycInfoSheet.vue.d.ts +0 -1107
  150. package/dist/views/register-user-info/RegisterUserInfoMailInfoSheet.vue.d.ts +0 -1107
  151. package/dist/views/register-user-info/RegisterUserInfoProgressView.vue.d.ts +0 -6
  152. package/dist/views/register-user-info/RegisterUserInfoRootView.vue.d.ts +0 -684
  153. package/dist/views/register-user-info/RegisterUserInfoUneditableDataView.vue.d.ts +0 -16
  154. package/dist/views/register-user-info/api.d.ts +0 -23
  155. package/dist/views/register-user-info/input/RegisterUserInfoEmailInput.vue.d.ts +0 -454
  156. package/dist/views/register-user-info/input/RegisterUserInfoSelectionButtonInput.vue.d.ts +0 -18
  157. package/dist/views/register-user-info/input/RegisterUserInfoSimpleInput.vue.d.ts +0 -34
  158. package/dist/views/register-user-info/store.d.ts +0 -448
  159. package/dist/views/register-user-info/types.d.ts +0 -32
  160. package/dist/views/register-user-info/utils.d.ts +0 -4
  161. package/dist/views/register-user-info/validators.d.ts +0 -10
  162. package/dist/views/registerPaymentFeatures/AutoTopupMethod.vue.d.ts +0 -140
  163. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountErrorSheet.vue.d.ts +0 -98
  164. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAmountSettingSheet.vue.d.ts +0 -99
  165. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesAutoTopupConfirmSheet.vue.d.ts +0 -100
  166. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChooseAmount.vue.d.ts +0 -105
  167. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesChoosePaymentMethodSheet.vue.d.ts +0 -96
  168. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesDefaultErrorSheet.vue.d.ts +0 -96
  169. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterUpdateWarning.vue.d.ts +0 -102
  170. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterView.vue.d.ts +0 -96
  171. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesFooterViewWithEnableButton.vue.d.ts +0 -106
  172. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesMainView.vue.d.ts +0 -129
  173. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesRootView.vue.d.ts +0 -151
  174. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesSettingCompleteSheet.vue.d.ts +0 -99
  175. package/dist/views/registerPaymentFeatures/RegisterPaymentFeaturesTopupMethodSettingSheet.vue.d.ts +0 -99
  176. package/dist/views/registerPaymentFeatures/fallback-method/FallbackMethodAppUpdateWarning.vue.d.ts +0 -33
  177. package/dist/views/registerPaymentFeatures/store.d.ts +0 -95
  178. package/dist/views/show-alert/App.vue.d.ts +0 -42
  179. package/dist/views/show-update-warning/App.vue.d.ts +0 -466
  180. package/dist/views/smart-button/App.vue.d.ts +0 -100
  181. package/dist/views/sms-auth/App.vue.d.ts +0 -580
  182. package/dist/views/sms-auth/store.d.ts +0 -321
  183. package/dist/views/three-d-secure-sheet/ThreeDSecureSheet.vue.d.ts +0 -40
  184. package/dist/views/topup/App.vue.d.ts +0 -559
  185. package/dist/views/topup/BannerInfo.vue.d.ts +0 -35
  186. package/dist/views/topup/CashbackInfo.vue.d.ts +0 -489
  187. package/dist/views/topup/TopupCompletion.vue.d.ts +0 -466
@@ -0,0 +1,14 @@
1
+ import { ClientJsBridge } from '../types';
2
+ export declare function checkIFrameOrigin(origin: string, env: string | undefined): boolean;
3
+ export declare function getIframeOrigin(env: string | undefined): string;
4
+ export declare function getIframeUrl(env: string | undefined): string;
5
+ export declare function getIconUrl(theme?: string): string;
6
+ export declare function convertToString(str?: string): string;
7
+ export declare function generateMessageId(): string;
8
+ export declare function removeCookie(key: string, domain: string): void;
9
+ export declare function saveRefreshToken(refreshToken: string, domain: string, isSecure: boolean): string | undefined;
10
+ export declare function getRefreshToken(): string;
11
+ export declare function exposeClientJsBridge(jsBridge: ClientJsBridge): boolean;
12
+ export declare function consoleDebugInfo(params: unknown[]): void;
13
+ export declare function isSupportedMiniapp(functionName: string): boolean;
14
+ export declare function isSupportedSmartpayment(functionName: string): boolean;
@@ -0,0 +1,34 @@
1
+ import { NativeParams } from '../jsbridge-core/jsbridge';
2
+ import { MiniAppModule } from '../mini-app-api';
3
+ import { CopyToClipBoardParams, GetDataParams, InitClientParams, MiniAppResult, RemoveDataParams, RenderSmartButtonParams, ScanCodeClientParams, SetDataParams, SetTitleParams, ShareParams } from '../types';
4
+ declare function init(params: InitClientParams): void;
5
+ declare function verifyMultiFactorAuthResult(params: NativeParams<MiniAppResult>): void;
6
+ declare function getKycPassportInfo(params: NativeParams<MiniAppResult>): void;
7
+ declare function share(params: ShareParams): void;
8
+ declare function setTitle(params: SetTitleParams): void;
9
+ declare function render(params: RenderSmartButtonParams): void;
10
+ declare function scanCode(params: ScanCodeClientParams): void;
11
+ declare function getSessionData(params: GetDataParams): void;
12
+ declare function setSessionData(params: SetDataParams): void;
13
+ declare function setStorageData(params: SetDataParams): void;
14
+ declare function getStorageData(params: GetDataParams): void;
15
+ declare function removeStorageData(params: RemoveDataParams): void;
16
+ declare function copyToClipboard(params: CopyToClipBoardParams): void;
17
+ declare const clientFunctions: {
18
+ init: typeof init;
19
+ verifyMultiFactorAuthResult: typeof verifyMultiFactorAuthResult;
20
+ share: typeof share;
21
+ setTitle: typeof setTitle;
22
+ render: typeof render;
23
+ scanCode: typeof scanCode;
24
+ copyToClipboard: typeof copyToClipboard;
25
+ getSessionData: typeof getSessionData;
26
+ setSessionData: typeof setSessionData;
27
+ getStorageData: typeof getStorageData;
28
+ setStorageData: typeof setStorageData;
29
+ removeStorageData: typeof removeStorageData;
30
+ getKycPassportInfo: typeof getKycPassportInfo;
31
+ };
32
+ declare type ClientSDKType = Omit<MiniAppModule, keyof typeof clientFunctions> & typeof clientFunctions;
33
+ declare const _default: ClientSDKType;
34
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export declare const miniAppSupportedFunctions: readonly ["init", "openWebview", "openMap", "closeApp", "makePayment", "topup", "setSessionData", "getSessionData", "setStorageData", "getStorageData", "removeStorageData", "getPermissionStatus", "scanCode", "showAlert", "showErrorSheet", "getTopBarHeight", "setTitle", "showUpdateWarning", "getPlatformInformation", "openApp", "share", "getKycInformation", "getUserLocation", "checkPaymentMethod", "registerKyc", "startMultiFactorAuth", "verifyMultiFactorAuthResult", "getBankInfo", "logout", "getUserProfile", "getBalance", "getUserAddress", "getUAID", "copyToClipboard", "registerUserInfo", "setEnablePullDownRefresh", "registerEmail", "checkAccessToken", "debug", "inputAddress", "getDeviceInformation", "openMiniApp", "request", "requestInternal", "registerPaymentFeatures", "initKycPassport", "getKycPassportInfo", "shortcutExists", "addShortcut", "logAppsFlyerEvent"];
2
+ export declare const smartPaymentSupportedFunctions: readonly ["init", "createOrder", "makePayment", "render", "logout", "getAuthStatus", "getUserProfile", "getBalance", "getUserAddress", "getUAID", "getCashbackInformation"];
@@ -0,0 +1,5 @@
1
+ import proxy from '../client/index';
2
+ import { miniAppSupportedFunctions } from '../client/supportedFunctionsList';
3
+ declare type MiniAppSdkType = Pick<typeof proxy, typeof miniAppSupportedFunctions[number]>;
4
+ declare const _default: MiniAppSdkType;
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { ConsoleDebugInfoParams } from '../types';
2
+ export declare function initCoreUtil(targetOrigin: string): void;
3
+ export declare function linkOpen(url: string, target?: string, isFocus?: boolean): void;
4
+ export declare function sendRefreshTokenToClient(refreshToken: string, subdomainCookieSharing?: boolean): void;
5
+ export declare function sendMakeIframeVisible(): void;
6
+ export declare function sendDebugInfoToClient(data: ConsoleDebugInfoParams, env?: string | null, debugMode?: boolean): void;
@@ -28,7 +28,7 @@ export interface NativeResponseData {
28
28
  status: NativeResponseStatus;
29
29
  data: NativeSuccessResponseData | NativeErrorResponseData;
30
30
  }
31
- interface NativeResponse {
31
+ export interface NativeResponse {
32
32
  responseId: string;
33
33
  responseData: NativeResponseData | NativeResponseDataLegacy;
34
34
  }
@@ -1,6 +1,6 @@
1
1
  import { JsBridge, NativeParams } from './jsbridge-core/jsbridge';
2
2
  import { JsBridgeModule } from './jsbridge-core/module';
3
- import { CheckPaymentMethodParams, CloseAppParams, CopyToClipBoardParams, GetBalanceParams, GetDataParams, GetKycInformationParams, GetPermissionStatusParams, GetUserAddressParams, GetUserLocationParams, InitParams, InputAddressParams, MakePaymentParams, MapParams, MiniAppResult, OpenAppParams, OpenWebviewParams, RegisterKycParams, RegisterUserInfoParams, RemoveDataParams, RenderSmartButtonParams, RequestInternalParams, RequestParams, SetDataParams, SetEnablePullDownRefreshParams, SetTitleParams, ShareParams, ShowAlertParams, ShowErrorSheetParams, ShowUpdateWarningParams, StartMultiFactorAuthParams, OpenMiniAppParams, TopupParams, RegisterPaymentFeaturesParams, GetAuthStatusParams, GetCashbackInfoParams, ScanCodeParams, SmsAuthParams, InitKycPassportParams, AddShortcutParams, ShortcutExistsParams, GetUserPaymentFeatureSettingsParams } from './types';
3
+ import { AddShortcutParams, CheckPaymentMethodParams, CloseAppParams, CopyToClipBoardParams, GetAuthStatusParams, GetBalanceParams, GetCashbackInfoParams, GetDataParams, GetKycInformationParams, GetKycPassportInfoParams, GetPermissionStatusParams, GetUserAddressParams, GetUserLocationParams, GetUserPaymentFeatureSettingsParams, InitKycPassportParams, InitParams, InputAddressParams, LogAppsFlyerEventParams, MakePaymentParams, MapParams, MiniAppResult, OpenAppParams, OpenMiniAppParams, OpenWebviewParams, RegisterKycParams, RegisterPaymentFeaturesParams, RegisterUserInfoParams, RemoveDataParams, RenderSmartButtonParams, RequestInternalParams, RequestParams, ScanCodeParams, SetDataParams, SetEnablePullDownRefreshParams, SetTitleParams, ShareParams, ShortcutExistsParams, ShowAlertParams, ShowErrorSheetParams, ShowStorageAccessPermissionAlertParams, ShowUpdateWarningParams, SmsAuthParams, StartMultiFactorAuthParams, TopupParams, VerifyMultiFactorAuthResultParams } from './types';
4
4
  export declare class MiniAppModule extends JsBridgeModule {
5
5
  constructor(jsBridge: JsBridge);
6
6
  private detectMode;
@@ -48,15 +48,17 @@ export declare class MiniAppModule extends JsBridgeModule {
48
48
  registerKyc(params: RegisterKycParams): void;
49
49
  startMultiFactorAuth(params: StartMultiFactorAuthParams): void;
50
50
  logout(params: NativeParams<MiniAppResult>): void;
51
- verifyMultiFactorAuthResult(params: NativeParams<MiniAppResult>): void;
51
+ verifyMultiFactorAuthResult(params: VerifyMultiFactorAuthResultParams): void;
52
52
  render(params: RenderSmartButtonParams): void;
53
53
  registerUserInfo(params: RegisterUserInfoParams): void;
54
54
  getBankInfo(params: NativeParams<MiniAppResult>): void;
55
55
  registerPaymentFeatures(params: RegisterPaymentFeaturesParams): void;
56
+ showStorageAccessPermissionAlert(params: ShowStorageAccessPermissionAlertParams): void;
56
57
  addShortcut(params: AddShortcutParams): void;
57
58
  shortcutExists(params: ShortcutExistsParams): void;
58
59
  getUserPaymentFeatureSettings(params: GetUserPaymentFeatureSettingsParams): void;
59
60
  smsAuth(params: SmsAuthParams): void;
60
61
  initKycPassport(params: InitKycPassportParams): void;
61
- getKycPassportInfo(params: NativeParams<MiniAppResult>): void;
62
+ getKycPassportInfo(params: GetKycPassportInfoParams): void;
63
+ logAppsFlyerEvent(params: LogAppsFlyerEventParams): void;
62
64
  }