@paypay/mini-app-js-sdk 1.18.0 → 1.22.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 +5 -4
- package/dist/composition-api/dom/useCountDown.d.ts +20 -0
- package/dist/composition-api/dom/useEventListener.d.ts +8 -8
- package/dist/composition-api/dom/useHorizontalScrollDirective.d.ts +4 -4
- package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +1 -1
- package/dist/composition-api/dom/useVerticalScrollDirective.d.ts +4 -4
- package/dist/composition-api/useErrorSheet.d.ts +3 -3
- package/dist/composition-api/useGetUserAddress.d.ts +2 -2
- package/dist/composition-api/useHeightProperties.d.ts +19 -19
- package/dist/composition-api/useInpuAddress.d.ts +2 -2
- package/dist/composition-api/useMakePayment.d.ts +3 -3
- package/dist/composition-api/useOpenApp.d.ts +3 -3
- package/dist/composition-api/useOpenMap.d.ts +3 -3
- package/dist/composition-api/useRegisterEmail.d.ts +2 -2
- package/dist/composition-api/useRenderSmartButton.d.ts +3 -3
- package/dist/composition-api/useShowAlert.d.ts +3 -3
- package/dist/composition-api/useShowUpdateWarning.d.ts +3 -3
- package/dist/composition-api/useTakePhoto.d.ts +3 -3
- package/dist/composition-api/useTopup.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/jsbridge-core/index.d.ts +4 -4
- package/dist/jsbridge-core/jsbridge.d.ts +62 -62
- package/dist/jsbridge-core/lib/browser.d.ts +3 -3
- package/dist/jsbridge-core/lib/logger.d.ts +9 -9
- package/dist/jsbridge-core/lib/reconstructParams.d.ts +2 -2
- package/dist/jsbridge-core/module.d.ts +15 -14
- package/dist/jsbridge-core/namespace.d.ts +2 -2
- package/dist/jsbridge-core/paypay-jsbridge.d.ts +17 -16
- package/dist/mini-app-api.d.ts +51 -51
- package/dist/mini-app-js-sdk.browser.js +1 -1
- package/dist/mini-app-js-sdk.d.ts +9 -9
- package/dist/mini-app-js-sdk.es.js +33675 -1
- package/dist/mini-app-js-sdk.min.css +1 -1
- package/dist/model/bridge/checkAccessToken.d.ts +3 -3
- package/dist/model/bridge/checkPaymentMethod.d.ts +2 -2
- package/dist/model/bridge/closeApp.d.ts +2 -2
- package/dist/model/bridge/copyToClipboard.d.ts +2 -2
- package/dist/model/bridge/debug.d.ts +3 -3
- package/dist/model/bridge/getAppDetail.d.ts +3 -17
- package/dist/model/bridge/getAuthStatus.d.ts +3 -3
- package/dist/model/bridge/getBalance.d.ts +2 -2
- package/dist/model/bridge/getConfigure.d.ts +39 -39
- package/dist/model/bridge/getDeviceInformation.d.ts +3 -3
- package/dist/model/bridge/getKycInformation.d.ts +2 -2
- package/dist/model/bridge/getPermissionStatus.d.ts +2 -2
- package/dist/model/bridge/getPlatformInformation.d.ts +3 -3
- package/dist/model/bridge/getSessionData.d.ts +2 -2
- package/dist/model/bridge/getStorageData.d.ts +2 -2
- package/dist/model/bridge/getTopBarHeight.d.ts +3 -3
- package/dist/model/bridge/getUAID.d.ts +3 -3
- package/dist/model/bridge/getUserAddress.d.ts +2 -2
- package/dist/model/bridge/getUserLocation.d.ts +2 -2
- package/dist/model/bridge/getUserProfile.d.ts +3 -3
- package/dist/model/bridge/index.d.ts +43 -43
- package/dist/model/bridge/init.d.ts +2 -2
- package/dist/model/bridge/inputAddress.d.ts +2 -2
- package/dist/model/bridge/logout.d.ts +3 -3
- package/dist/model/bridge/makePayment.d.ts +2 -2
- package/dist/model/bridge/openApp.d.ts +2 -2
- package/dist/model/bridge/openMap.d.ts +2 -2
- package/dist/model/bridge/openWebview.d.ts +3 -3
- package/dist/model/bridge/registerEmail.d.ts +2 -2
- package/dist/model/bridge/registerKyc.d.ts +2 -2
- package/dist/model/bridge/removeStorageData.d.ts +2 -2
- package/dist/model/bridge/render.d.ts +2 -2
- package/dist/model/bridge/renderLoginButton.d.ts +6 -2
- package/dist/model/bridge/renderPayButton.d.ts +6 -2
- package/dist/model/bridge/request.d.ts +2 -2
- package/dist/model/bridge/requestInternal.d.ts +2 -2
- package/dist/model/bridge/scanCode.d.ts +3 -3
- package/dist/model/bridge/setSessionData.d.ts +2 -2
- package/dist/model/bridge/setStorageData.d.ts +2 -2
- package/dist/model/bridge/setTitle.d.ts +2 -2
- package/dist/model/bridge/share.d.ts +2 -2
- package/dist/model/bridge/showAlert.d.ts +2 -2
- package/dist/model/bridge/showErrorSheet.d.ts +2 -2
- package/dist/model/bridge/showUpdateWarning.d.ts +2 -2
- package/dist/model/bridge/startMultiFactorAuth.d.ts +2 -2
- package/dist/model/bridge/takePhoto.d.ts +2 -2
- package/dist/model/bridge/topup.d.ts +2 -2
- package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +3 -3
- package/dist/model/makePayment.d.ts +334 -324
- package/dist/model/miniAppError.d.ts +57 -57
- package/dist/model/miniAppStatus.d.ts +9 -9
- package/dist/model/permission.d.ts +21 -21
- package/dist/model/uiComponents.d.ts +24 -23
- package/dist/package/action-sheet/index.d.ts +97 -91
- package/dist/package/banner-header/index.vue.d.ts +56 -56
- package/dist/package/button/index.d.ts +77 -69
- package/dist/package/charge-amount-list/index.vue.d.ts +48 -54
- package/dist/package/charge-amount-more-list/index.vue.d.ts +23 -19
- package/dist/package/date-button/index.vue.d.ts +19 -21
- package/dist/package/desktop-header/index.d.ts +21 -0
- package/dist/package/divider/index.d.ts +21 -22
- package/dist/package/header/index.d.ts +65 -65
- package/dist/package/index.d.ts +17 -16
- package/dist/package/input/index.d.ts +209 -170
- package/dist/package/input/utils.d.ts +10 -10
- package/dist/package/lottie/index.d.ts +58 -62
- package/dist/package/overlay/index.d.ts +44 -45
- package/dist/package/payment-method/Bank.vue.d.ts +35 -35
- package/dist/package/payment-method/CreditCard.vue.d.ts +42 -42
- package/dist/package/payment-method/SbidBank.vue.d.ts +279 -21
- package/dist/package/payment-method/Wallet.vue.d.ts +289 -31
- package/dist/package/payment-method/index.d.ts +15 -15
- package/dist/package/payment-method-list/index.vue.d.ts +39 -27
- package/dist/package/payment-type/Bank.vue.d.ts +31 -31
- package/dist/package/payment-type/CreditCard.vue.d.ts +32 -32
- package/dist/package/payment-type/Sbid.vue.d.ts +275 -17
- package/dist/package/payment-type/Wallet.vue.d.ts +276 -17
- package/dist/package/payment-type/index.d.ts +13 -15
- package/dist/package/select-list/Components.d.ts +77 -65
- package/dist/package/select-list/index.d.ts +82 -73
- package/dist/package/switch/index.d.ts +22 -23
- package/dist/package/wallet-breakdown/WalletBreakdown.vue.d.ts +286 -0
- package/dist/types.d.ts +376 -344
- package/dist/utils/api.d.ts +168 -147
- package/dist/utils/common.d.ts +2 -2
- package/dist/utils/create/bem.d.ts +6 -6
- package/dist/utils/create/index.d.ts +5 -5
- package/dist/utils/fetch.d.ts +16 -16
- package/dist/utils/getImages.d.ts +36 -5
- package/dist/utils/getLanguage.d.ts +225 -3
- package/dist/utils/helper.d.ts +44 -47
- package/dist/utils/ip.d.ts +2 -2
- package/dist/utils/miniAppRequest.d.ts +9 -9
- package/dist/utils/popstateHandler.d.ts +4 -4
- package/dist/utils/secondary-list.d.ts +1 -1
- package/dist/utils/storage.d.ts +28 -26
- 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 +302 -79
- package/dist/views/email-registration/components/EmailButton.vue.d.ts +45 -45
- package/dist/views/email-registration/components/icons.d.ts +2 -2
- package/dist/views/email-registration/hooks/callback.d.ts +7 -7
- package/dist/views/email-registration/hooks/ui.d.ts +29 -29
- package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +52 -52
- package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +24 -24
- package/dist/views/error-sheet/Index.vue.d.ts +310 -52
- package/dist/views/get-user-address/App.vue.d.ts +52 -52
- package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +307 -73
- package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +281 -23
- package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +276 -33
- package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +258 -35
- package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +4 -4
- package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +311 -83
- package/dist/views/get-user-address/Sheet/App.vue.d.ts +79 -70
- package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +264 -32
- package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +249 -25
- package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +332 -49
- 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 +57 -14
- package/dist/views/get-user-address/store/error-handle.d.ts +13 -12
- package/dist/views/get-user-address/store/root.d.ts +18 -14
- package/dist/views/input-address/App.vue.d.ts +35 -36
- package/dist/views/input-address/hook/app.d.ts +13 -13
- package/dist/views/input-address/hook/error-handle.d.ts +10 -10
- package/dist/views/input-address/hook/root.d.ts +10 -10
- package/dist/views/make-payment/App.vue.d.ts +52 -60
- package/dist/views/make-payment/Main.vue.d.ts +197 -638
- package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +247 -25
- package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +244 -20
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +277 -19
- package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +274 -16
- package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +24 -24
- package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +26 -26
- package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +311 -53
- package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +269 -32
- package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +422 -80
- package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +308 -49
- package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +833 -522
- package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +264 -38
- package/dist/views/make-payment/Sheets/CloseConfirmation.vue.d.ts +265 -0
- package/dist/views/make-payment/Sheets/Consult.vue.d.ts +23 -23
- package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +250 -27
- package/dist/views/make-payment/Sheets/PayMethod.vue.d.ts +328 -0
- package/dist/views/make-payment/Sheets/Payment.vue.d.ts +428 -108
- package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +70 -36
- package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +354 -69
- package/dist/views/make-payment/hooks/app-hooks.d.ts +381 -568
- package/dist/views/make-payment/hooks/ui-hooks.d.ts +87 -72
- package/dist/views/make-payment/store/age-confirm.d.ts +9 -9
- package/dist/views/make-payment/store/handle-error.d.ts +36 -36
- package/dist/views/make-payment/store/root.d.ts +22 -22
- package/dist/views/make-payment/store/util-for-handle-error.d.ts +16 -16
- package/dist/views/make-payment/utils/paymentMethod.d.ts +5 -3
- package/dist/views/open-app/App.vue.d.ts +286 -28
- package/dist/views/open-map/App.vue.d.ts +251 -28
- package/dist/views/show-alert/App.vue.d.ts +36 -36
- package/dist/views/show-update-warning/App.vue.d.ts +286 -28
- package/dist/views/smart-button/App.vue.d.ts +87 -87
- package/dist/views/take-photo/App.vue.d.ts +248 -25
- package/dist/views/take-photo/helper.d.ts +2 -2
- package/dist/views/topup/App.vue.d.ts +378 -100
- package/dist/views/topup/BannerInfo.vue.d.ts +27 -23
- package/dist/views/topup/CashbackInfo.vue.d.ts +267 -44
- package/dist/views/topup/TopupCompletion.vue.d.ts +286 -26
- package/package.json +12 -18
- package/dist/utils/mock-data/mockData.d.ts +0 -64
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
export declare enum MiniAppErrorType {
|
|
2
|
-
success = "SUCCESS",
|
|
3
|
-
invalidUrl = "INVALID_URL",
|
|
4
|
-
invalidData = "INVALID_DATA",
|
|
5
|
-
invalidHeader = "INVALID_HEADER",
|
|
6
|
-
invalidMethod = "INVALID_METHOD",
|
|
7
|
-
invalidPath = "INVALID_PATH",
|
|
8
|
-
notReachable = "NOT_REACHABLE",
|
|
9
|
-
notAvailable = "NOT_AVAILABLE",
|
|
10
|
-
timeOut = "TIME_OUT",
|
|
11
|
-
whiteListError = "NONE_WHITELIST_DOMAIN",
|
|
12
|
-
statusCodeError = "STATUS_CODE_ERROR",
|
|
13
|
-
invalidResponse = "INVALID_RESPONSE",
|
|
14
|
-
noLocationPermission = "NO_USER_LOCATION_PERMISSION",
|
|
15
|
-
noPermissionListAvailable = "NO_PERMISSION_LIST_AVAILABLE",
|
|
16
|
-
other = "other",
|
|
17
|
-
serverError = "SERVER_ERROR",
|
|
18
|
-
noCameraPermission = "HOST_APP_CAMERA_DENIED",
|
|
19
|
-
noAlbumPermission = "HOST_APP_ALBUM_DENIED",
|
|
20
|
-
insufficientScope = "INSUFFICIENT_SCOPE",
|
|
21
|
-
userCanceled = "USER_CANCELED",
|
|
22
|
-
photoError = "PHOTO_ERROR",
|
|
23
|
-
invalidJSAPIParams = "INVALID_JS_API_PARAMS",
|
|
24
|
-
hostAppLocationDenied = "HOST_APP_LOCATION_DENIED",
|
|
25
|
-
hostAppContactsDenied = "HOST_APP_READING_CONTACT_DENIED",
|
|
26
|
-
badRequestInsufficientParameter = "BAD_REQUEST_INSUFFICIENT_PARAMETER",
|
|
27
|
-
badRequest = "BAD_REQUEST",
|
|
28
|
-
paymentFail = "PAYMENT_FAIL",
|
|
29
|
-
topupFail = "TOPUP_FAIL",
|
|
30
|
-
topupSuccessButNotAddToBalance = "TOPUP_SUCCESS_BUT_NOT_ADD_TO_BALANCE",
|
|
31
|
-
userCanceledSimilarTxn = "USER_CANCELED_SIMILAR_TRANSACTION",
|
|
32
|
-
mapAppNotFound = "MAP_APP_NOT_FOUND",
|
|
33
|
-
invalidAppSchemeURL = "INVALID_APP_SCHEME_URL",
|
|
34
|
-
noValueFound = "NO_VALUE_FOUND",
|
|
35
|
-
securityNotSetup = "SECURITY_NOT_SETUP",
|
|
36
|
-
userDenied = "USER_DENIED",
|
|
37
|
-
securityTemporaryLocked = "SECURITY_TEMPORARY_LOCKED",
|
|
38
|
-
couldNotGenerateBarcode = "COULD_NOT_GENERATE_BARCODE",
|
|
39
|
-
cannotDetectAvailability = "CAN_NOT_DETECT_AVAILABILITY",
|
|
40
|
-
suspectedDuplicatePayment = "SUSPECTED_DUPLICATE_PAYMENT",
|
|
41
|
-
noSufficientFund = "NO_SUFFICIENT_FUND",
|
|
42
|
-
unknown = "UNKNOWN",
|
|
43
|
-
sdkNotInitialized = "SDK_NOT_INITIALIZED",
|
|
44
|
-
tokenNotFound = "TOKEN_NOT_FOUND",
|
|
45
|
-
tokenExpired = "TOKEN_EXPIRED",
|
|
46
|
-
activeRequestExists = "ACTIVE_REQUEST_EXISTS",
|
|
47
|
-
invalidType = "INVALID_TYPE",
|
|
48
|
-
sessionNotFound = "SESSION_NOT_FOUND",
|
|
49
|
-
cookieError = "COOKIE_ERROR",
|
|
50
|
-
notAuthorized = "NOT_AUTHORIZED",
|
|
51
|
-
permissionRequired = "PERMISSION_REQUIRED",
|
|
52
|
-
deeplinkUnavailable = "DEEPLINK_UNAVAILABLE"
|
|
53
|
-
}
|
|
54
|
-
export declare class MiniAppError extends Error {
|
|
55
|
-
constructor(type: MiniAppErrorType);
|
|
56
|
-
toString(): string;
|
|
57
|
-
}
|
|
1
|
+
export declare enum MiniAppErrorType {
|
|
2
|
+
success = "SUCCESS",
|
|
3
|
+
invalidUrl = "INVALID_URL",
|
|
4
|
+
invalidData = "INVALID_DATA",
|
|
5
|
+
invalidHeader = "INVALID_HEADER",
|
|
6
|
+
invalidMethod = "INVALID_METHOD",
|
|
7
|
+
invalidPath = "INVALID_PATH",
|
|
8
|
+
notReachable = "NOT_REACHABLE",
|
|
9
|
+
notAvailable = "NOT_AVAILABLE",
|
|
10
|
+
timeOut = "TIME_OUT",
|
|
11
|
+
whiteListError = "NONE_WHITELIST_DOMAIN",
|
|
12
|
+
statusCodeError = "STATUS_CODE_ERROR",
|
|
13
|
+
invalidResponse = "INVALID_RESPONSE",
|
|
14
|
+
noLocationPermission = "NO_USER_LOCATION_PERMISSION",
|
|
15
|
+
noPermissionListAvailable = "NO_PERMISSION_LIST_AVAILABLE",
|
|
16
|
+
other = "other",
|
|
17
|
+
serverError = "SERVER_ERROR",
|
|
18
|
+
noCameraPermission = "HOST_APP_CAMERA_DENIED",
|
|
19
|
+
noAlbumPermission = "HOST_APP_ALBUM_DENIED",
|
|
20
|
+
insufficientScope = "INSUFFICIENT_SCOPE",
|
|
21
|
+
userCanceled = "USER_CANCELED",
|
|
22
|
+
photoError = "PHOTO_ERROR",
|
|
23
|
+
invalidJSAPIParams = "INVALID_JS_API_PARAMS",
|
|
24
|
+
hostAppLocationDenied = "HOST_APP_LOCATION_DENIED",
|
|
25
|
+
hostAppContactsDenied = "HOST_APP_READING_CONTACT_DENIED",
|
|
26
|
+
badRequestInsufficientParameter = "BAD_REQUEST_INSUFFICIENT_PARAMETER",
|
|
27
|
+
badRequest = "BAD_REQUEST",
|
|
28
|
+
paymentFail = "PAYMENT_FAIL",
|
|
29
|
+
topupFail = "TOPUP_FAIL",
|
|
30
|
+
topupSuccessButNotAddToBalance = "TOPUP_SUCCESS_BUT_NOT_ADD_TO_BALANCE",
|
|
31
|
+
userCanceledSimilarTxn = "USER_CANCELED_SIMILAR_TRANSACTION",
|
|
32
|
+
mapAppNotFound = "MAP_APP_NOT_FOUND",
|
|
33
|
+
invalidAppSchemeURL = "INVALID_APP_SCHEME_URL",
|
|
34
|
+
noValueFound = "NO_VALUE_FOUND",
|
|
35
|
+
securityNotSetup = "SECURITY_NOT_SETUP",
|
|
36
|
+
userDenied = "USER_DENIED",
|
|
37
|
+
securityTemporaryLocked = "SECURITY_TEMPORARY_LOCKED",
|
|
38
|
+
couldNotGenerateBarcode = "COULD_NOT_GENERATE_BARCODE",
|
|
39
|
+
cannotDetectAvailability = "CAN_NOT_DETECT_AVAILABILITY",
|
|
40
|
+
suspectedDuplicatePayment = "SUSPECTED_DUPLICATE_PAYMENT",
|
|
41
|
+
noSufficientFund = "NO_SUFFICIENT_FUND",
|
|
42
|
+
unknown = "UNKNOWN",
|
|
43
|
+
sdkNotInitialized = "SDK_NOT_INITIALIZED",
|
|
44
|
+
tokenNotFound = "TOKEN_NOT_FOUND",
|
|
45
|
+
tokenExpired = "TOKEN_EXPIRED",
|
|
46
|
+
activeRequestExists = "ACTIVE_REQUEST_EXISTS",
|
|
47
|
+
invalidType = "INVALID_TYPE",
|
|
48
|
+
sessionNotFound = "SESSION_NOT_FOUND",
|
|
49
|
+
cookieError = "COOKIE_ERROR",
|
|
50
|
+
notAuthorized = "NOT_AUTHORIZED",
|
|
51
|
+
permissionRequired = "PERMISSION_REQUIRED",
|
|
52
|
+
deeplinkUnavailable = "DEEPLINK_UNAVAILABLE"
|
|
53
|
+
}
|
|
54
|
+
export declare class MiniAppError extends Error {
|
|
55
|
+
constructor(type: MiniAppErrorType);
|
|
56
|
+
toString(): string;
|
|
57
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum MiniAppStatusType {
|
|
2
|
-
validToken = "TOKEN_VALID",
|
|
3
|
-
initialized = "INITIALIZED",
|
|
4
|
-
emailRegistered = "EMAIL_REGISTERED",
|
|
5
|
-
emailNotVerified = "EMAIL_NOT_VERIFIED",
|
|
6
|
-
success = "SUCCESS",
|
|
7
|
-
loggedOut = "LOGGED_OUT",
|
|
8
|
-
connected = "CONNECTED"
|
|
9
|
-
}
|
|
1
|
+
export declare enum MiniAppStatusType {
|
|
2
|
+
validToken = "TOKEN_VALID",
|
|
3
|
+
initialized = "INITIALIZED",
|
|
4
|
+
emailRegistered = "EMAIL_REGISTERED",
|
|
5
|
+
emailNotVerified = "EMAIL_NOT_VERIFIED",
|
|
6
|
+
success = "SUCCESS",
|
|
7
|
+
loggedOut = "LOGGED_OUT",
|
|
8
|
+
connected = "CONNECTED"
|
|
9
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export declare enum PermissionStatus {
|
|
2
|
-
granted = "GRANTED",
|
|
3
|
-
denied = "DENIED"
|
|
4
|
-
}
|
|
5
|
-
export declare const PermissionName: {
|
|
6
|
-
mini_app_payment_balance: string;
|
|
7
|
-
mini_app_device_info: string;
|
|
8
|
-
mini_app_user_contacts: string;
|
|
9
|
-
mini_app_device_battery: string;
|
|
10
|
-
mini_app_kyc: string;
|
|
11
|
-
mini_app_user_location: string;
|
|
12
|
-
mini_app_check_payment_method: string;
|
|
13
|
-
cashback: string;
|
|
14
|
-
bank_registration: string;
|
|
15
|
-
mini_app_user_email_address: string;
|
|
16
|
-
mini_app_user_address: string;
|
|
17
|
-
mini_app_user_phone_camera: string;
|
|
18
|
-
mini_app_user_phone_album: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const checkPermission: (permissionNames: string[] | string) => Promise<PermissionStatus>;
|
|
21
|
-
export declare function getUserGrantedPermission(): Promise<string[]>;
|
|
1
|
+
export declare enum PermissionStatus {
|
|
2
|
+
granted = "GRANTED",
|
|
3
|
+
denied = "DENIED"
|
|
4
|
+
}
|
|
5
|
+
export declare const PermissionName: {
|
|
6
|
+
mini_app_payment_balance: string;
|
|
7
|
+
mini_app_device_info: string;
|
|
8
|
+
mini_app_user_contacts: string;
|
|
9
|
+
mini_app_device_battery: string;
|
|
10
|
+
mini_app_kyc: string;
|
|
11
|
+
mini_app_user_location: string;
|
|
12
|
+
mini_app_check_payment_method: string;
|
|
13
|
+
cashback: string;
|
|
14
|
+
bank_registration: string;
|
|
15
|
+
mini_app_user_email_address: string;
|
|
16
|
+
mini_app_user_address: string;
|
|
17
|
+
mini_app_user_phone_camera: string;
|
|
18
|
+
mini_app_user_phone_album: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const checkPermission: (permissionNames: string[] | string) => Promise<PermissionStatus>;
|
|
21
|
+
export declare function getUserGrantedPermission(): Promise<string[]>;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export declare enum UIComponentsButtonActionType {
|
|
2
|
-
DEEPLINK = "DEEPLINK",
|
|
3
|
-
CLOSE = "CLOSE"
|
|
4
|
-
}
|
|
5
|
-
export declare enum UIComponentsButtonType {
|
|
6
|
-
BLUE = "BLUE",
|
|
7
|
-
WHITE = "WHITE"
|
|
8
|
-
}
|
|
9
|
-
export declare type UIComponentsErrorButton = {
|
|
10
|
-
nativeAction: string;
|
|
11
|
-
title: string;
|
|
12
|
-
actionType: UIComponentsButtonActionType;
|
|
13
|
-
buttonType: UIComponentsButtonType;
|
|
14
|
-
deeplink?: string;
|
|
15
|
-
googleAnalyticsInfo:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
export declare enum UIComponentsButtonActionType {
|
|
2
|
+
DEEPLINK = "DEEPLINK",
|
|
3
|
+
CLOSE = "CLOSE"
|
|
4
|
+
}
|
|
5
|
+
export declare enum UIComponentsButtonType {
|
|
6
|
+
BLUE = "BLUE",
|
|
7
|
+
WHITE = "WHITE"
|
|
8
|
+
}
|
|
9
|
+
export declare type UIComponentsErrorButton = {
|
|
10
|
+
nativeAction: string;
|
|
11
|
+
title: string;
|
|
12
|
+
actionType: UIComponentsButtonActionType;
|
|
13
|
+
buttonType: UIComponentsButtonType;
|
|
14
|
+
deeplink?: string;
|
|
15
|
+
googleAnalyticsInfo: unknown;
|
|
16
|
+
type: unknown;
|
|
17
|
+
};
|
|
18
|
+
export declare type UIComponentsError = {
|
|
19
|
+
title: string;
|
|
20
|
+
buttonList: Array<UIComponentsErrorButton>;
|
|
21
|
+
iconUrl?: string;
|
|
22
|
+
description: string;
|
|
23
|
+
canCloseByOutsideTap: boolean;
|
|
24
|
+
};
|
|
@@ -1,91 +1,97 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
touchStart: (e: TouchEvent) => void;
|
|
53
|
-
touchEnd: () => void;
|
|
54
|
-
touchMove: (e: TouchEvent) => void;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const ActionSheet: import("vue").DefineComponent<{
|
|
3
|
+
show: BooleanConstructor;
|
|
4
|
+
class: {
|
|
5
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
appear: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
round: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
type: {
|
|
17
|
+
type: PropType<"primary" | "secondary" | "alert">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
fullScreen: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
forbiddenSwipe: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
style: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
default: () => {};
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
noPaddingBottom: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
noOverlay: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
containerClass: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}, {
|
|
48
|
+
slots: Readonly<{
|
|
49
|
+
[name: string]: import("vue").Slot | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
moving: import("vue").ComputedRef<boolean>;
|
|
52
|
+
touchStart: (e: TouchEvent) => void;
|
|
53
|
+
touchEnd: () => void;
|
|
54
|
+
touchMove: (e: TouchEvent) => void;
|
|
55
|
+
parentStyle: import("vue").ComputedRef<{
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}>;
|
|
58
|
+
close: () => void;
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
60
|
+
show?: unknown;
|
|
61
|
+
class?: unknown;
|
|
62
|
+
appear?: unknown;
|
|
63
|
+
round?: unknown;
|
|
64
|
+
type?: unknown;
|
|
65
|
+
fullScreen?: unknown;
|
|
66
|
+
forbiddenSwipe?: unknown;
|
|
67
|
+
style?: unknown;
|
|
68
|
+
noPaddingBottom?: unknown;
|
|
69
|
+
noOverlay?: unknown;
|
|
70
|
+
containerClass?: unknown;
|
|
71
|
+
} & {
|
|
72
|
+
style: Record<string, any>;
|
|
73
|
+
type: "primary" | "secondary" | "alert";
|
|
74
|
+
show: boolean;
|
|
75
|
+
class: string | Record<string, any>;
|
|
76
|
+
appear: boolean;
|
|
77
|
+
round: boolean;
|
|
78
|
+
fullScreen: boolean;
|
|
79
|
+
forbiddenSwipe: boolean;
|
|
80
|
+
noPaddingBottom: boolean;
|
|
81
|
+
noOverlay: boolean;
|
|
82
|
+
containerClass: string;
|
|
83
|
+
} & {}> & {
|
|
84
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
style: Record<string, any>;
|
|
87
|
+
type: "primary" | "secondary" | "alert";
|
|
88
|
+
show: boolean;
|
|
89
|
+
class: string | Record<string, any>;
|
|
90
|
+
appear: boolean;
|
|
91
|
+
round: boolean;
|
|
92
|
+
fullScreen: boolean;
|
|
93
|
+
forbiddenSwipe: boolean;
|
|
94
|
+
noPaddingBottom: boolean;
|
|
95
|
+
noOverlay: boolean;
|
|
96
|
+
containerClass: string;
|
|
97
|
+
}>;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { BannerInfo } from '../../model/makePayment';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
showTitle: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
descriptionBannerInfo: {
|
|
9
|
-
type: PropType<BannerInfo>;
|
|
10
|
-
required: true;
|
|
11
|
-
default: () => BannerInfo;
|
|
12
|
-
};
|
|
13
|
-
textStyle: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
required: false;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
class: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
required: false;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
iconAlignRight: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
required: false;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
iconImageUrl: import("vue").ComputedRef<string>;
|
|
30
|
-
title: import("vue").ComputedRef<string>;
|
|
31
|
-
label: import("vue").ComputedRef<string>;
|
|
32
|
-
customClass: string;
|
|
33
|
-
style: Record<string, string>;
|
|
34
|
-
show: () => void;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "show"[], "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
36
|
-
showTitle?: unknown;
|
|
37
|
-
descriptionBannerInfo?: unknown;
|
|
38
|
-
textStyle?: unknown;
|
|
39
|
-
class?: unknown;
|
|
40
|
-
iconAlignRight?: unknown;
|
|
41
|
-
} & {
|
|
42
|
-
|
|
43
|
-
descriptionBannerInfo: BannerInfo;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
iconAlignRight: boolean;
|
|
47
|
-
} & {}> & {
|
|
48
|
-
onShow?: (...args: any[]) => any;
|
|
49
|
-
}, {
|
|
50
|
-
|
|
51
|
-
descriptionBannerInfo: BannerInfo;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
iconAlignRight: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
export default _default;
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BannerInfo } from '../../model/makePayment';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
showTitle: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
descriptionBannerInfo: {
|
|
9
|
+
type: PropType<BannerInfo>;
|
|
10
|
+
required: true;
|
|
11
|
+
default: () => BannerInfo;
|
|
12
|
+
};
|
|
13
|
+
textStyle: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
class: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
iconAlignRight: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
required: false;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
iconImageUrl: import("vue").ComputedRef<string | undefined>;
|
|
30
|
+
title: import("vue").ComputedRef<string | undefined>;
|
|
31
|
+
label: import("vue").ComputedRef<string>;
|
|
32
|
+
customClass: string;
|
|
33
|
+
style: Record<string, string>;
|
|
34
|
+
show: () => void;
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "show"[], "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
36
|
+
showTitle?: unknown;
|
|
37
|
+
descriptionBannerInfo?: unknown;
|
|
38
|
+
textStyle?: unknown;
|
|
39
|
+
class?: unknown;
|
|
40
|
+
iconAlignRight?: unknown;
|
|
41
|
+
} & {
|
|
42
|
+
class: string;
|
|
43
|
+
descriptionBannerInfo: BannerInfo;
|
|
44
|
+
showTitle: boolean;
|
|
45
|
+
textStyle: string;
|
|
46
|
+
iconAlignRight: boolean;
|
|
47
|
+
} & {}> & {
|
|
48
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
class: string;
|
|
51
|
+
descriptionBannerInfo: BannerInfo;
|
|
52
|
+
showTitle: boolean;
|
|
53
|
+
textStyle: string;
|
|
54
|
+
iconAlignRight: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|