zmp-sdk 2.27.1-rc.1 → 2.27.2
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/apis/apis/index.js +1 -1
- package/apis/apis/requestSendNotification.js +1 -0
- package/apis/common/apis/general/requestSendNotification.js +1 -0
- package/apis/constants.js +1 -1
- package/apis/index.d.ts +5 -2
- package/apis/index.es.js +1 -1
- package/apis/index.js +1 -1
- package/apis/package.json.js +1 -1
- package/apis/types/enum.js +1 -1
- package/browser.min.js +1 -1
- package/index.d.ts +6 -2
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/index.umd.js +2 -2
- package/package.json +1 -1
- package/zmp-sdk-v2.27.1.tgz +0 -0
- package/zmp-sdk-v2.27.0.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -166,7 +166,8 @@ declare enum Events {
|
|
|
166
166
|
OnDataCallback = "h5.event.webview.result",
|
|
167
167
|
OpenApp = "h5.event.open.mp",
|
|
168
168
|
AppClose = "h5.event.action.close",
|
|
169
|
-
PaymentCallback = "payment.callback"
|
|
169
|
+
PaymentCallback = "payment.callback",
|
|
170
|
+
PaymentResult = "action.payment.result"
|
|
170
171
|
}
|
|
171
172
|
declare enum JumpStatus {
|
|
172
173
|
DOING = "doing",
|
|
@@ -2330,6 +2331,8 @@ declare function favoriteApp(args?: AsyncVoidCallback): Promise<void>;
|
|
|
2330
2331
|
|
|
2331
2332
|
declare function openGroupList(args?: AsyncVoidCallback): Promise<void>;
|
|
2332
2333
|
|
|
2334
|
+
declare function requestSendNotification(args?: AsyncVoidCallback): Promise<void>;
|
|
2335
|
+
|
|
2333
2336
|
declare const otherApis: {
|
|
2334
2337
|
login: typeof login;
|
|
2335
2338
|
getAccessToken: typeof getAccessToken;
|
|
@@ -2405,6 +2408,7 @@ declare const otherApis: {
|
|
|
2405
2408
|
openPermissionSetting: typeof openPermissionSetting;
|
|
2406
2409
|
favoriteApp: typeof favoriteApp;
|
|
2407
2410
|
openGroupList: typeof openGroupList;
|
|
2411
|
+
requestSendNotification: typeof requestSendNotification;
|
|
2408
2412
|
};
|
|
2409
2413
|
|
|
2410
2414
|
declare const payment: {
|
|
@@ -2413,4 +2417,4 @@ declare const payment: {
|
|
|
2413
2417
|
createOrderIAP: typeof createOrderIAP;
|
|
2414
2418
|
};
|
|
2415
2419
|
|
|
2416
|
-
export { Action, AndroidBottomNavigationBarType, AsyncCallback, AsyncCallbackFailObject, AsyncVoidCallback, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, ChooseImageReturns, Common, ContextInfo, CreateOrderIAPReturns, CreateOrderReturns, Events, GetAppInfoReturns, GetAuthCodeReturns, GetBeaconDiscoveryReturns, GetLocationReturns, GetNetworkTypeReturns, GetPhoneNumberReturns, GetStorageReturns, GetUserInfoReturns, GetZPITokenReturns, IAPMethodType, IAPPayType, IAPPayTypeType, IOSSafeAreaBottomType, JumpStatus, KeepScreenReturns, LogData, MediaPickerType, NativeCallBackData, NetworkType, OpenBioAuthenticationReturns, OpenMediaPickerReturns, OpenPostFeedReturns, OpenProfilePickerReturns, OpenShareSheetReturns, OpenWebviewReturns, OrientationType, payment as Payment, PickAttr, PlatformType, PostFeedType, ProfileType, ProrationMode, ProrationModeType, RemoveStorageReturns, RequestCameraPermissionReturns, ScanQRCodeReturns, SetStorageReturns, ShareSheetType, StatusBarType, StorageInfo, SystemInfo, VibrateType, checkStateBioAuthentication, checkTransaction, chooseImage, clearStorage, closeApp, closeLoading, configAppView, connectWifi, createOrder, createOrderIAP, createShortcut, otherApis as default, events, favoriteApp, followOA, getAccessToken, getAppInfo, getAuthCode, getBeacons, getContext, getContextAsync, getDeviceId, getDeviceIdAsync, getLocation, getNetworkType, getPhoneNumber, getRouteParams, getShareableLink, getStorage, getStorageInfo, getSystemInfo, getUserInfo, getVersion, getZPIToken, hideKeyboard, iBeaconInfo, keepScreen, login, minimizeApp, offConfirmToExit, offKeepScreen, onCallbackData, onConfirmToExit, onKeepScreen, onNetworkStatusChange, openBioAuthentication, openChat, openGroupList, openMediaPicker, openMiniApp, openOutApp, openPermissionSetting, openPhone, openPostFeed, openProfile, openProfilePicker, openSMS, openShareSheet, openWebview, removeStorage, requestCameraPermission, requestUpdateZalo, saveImageToGallery, scanQRCode, sendDataToPreviousMiniApp, setAccessToken, setAndroidBottomNavigationBar, setIOSBottomSafeArea, setNavigationBarColor, setNavigationBarLeftButton, setNavigationBarTitle, setStatusBar, setStorage, showToast, startBeaconDiscovery, stopBeaconDiscovery, unfollowOA, vibrate, viewOAQr };
|
|
2420
|
+
export { Action, AndroidBottomNavigationBarType, AsyncCallback, AsyncCallbackFailObject, AsyncVoidCallback, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, ChooseImageReturns, Common, ContextInfo, CreateOrderIAPReturns, CreateOrderReturns, Events, GetAppInfoReturns, GetAuthCodeReturns, GetBeaconDiscoveryReturns, GetLocationReturns, GetNetworkTypeReturns, GetPhoneNumberReturns, GetStorageReturns, GetUserInfoReturns, GetZPITokenReturns, IAPMethodType, IAPPayType, IAPPayTypeType, IOSSafeAreaBottomType, JumpStatus, KeepScreenReturns, LogData, MediaPickerType, NativeCallBackData, NetworkType, OpenBioAuthenticationReturns, OpenMediaPickerReturns, OpenPostFeedReturns, OpenProfilePickerReturns, OpenShareSheetReturns, OpenWebviewReturns, OrientationType, payment as Payment, PickAttr, PlatformType, PostFeedType, ProfileType, ProrationMode, ProrationModeType, RemoveStorageReturns, RequestCameraPermissionReturns, ScanQRCodeReturns, SetStorageReturns, ShareSheetType, StatusBarType, StorageInfo, SystemInfo, VibrateType, checkStateBioAuthentication, checkTransaction, chooseImage, clearStorage, closeApp, closeLoading, configAppView, connectWifi, createOrder, createOrderIAP, createShortcut, otherApis as default, events, favoriteApp, followOA, getAccessToken, getAppInfo, getAuthCode, getBeacons, getContext, getContextAsync, getDeviceId, getDeviceIdAsync, getLocation, getNetworkType, getPhoneNumber, getRouteParams, getShareableLink, getStorage, getStorageInfo, getSystemInfo, getUserInfo, getVersion, getZPIToken, hideKeyboard, iBeaconInfo, keepScreen, login, minimizeApp, offConfirmToExit, offKeepScreen, onCallbackData, onConfirmToExit, onKeepScreen, onNetworkStatusChange, openBioAuthentication, openChat, openGroupList, openMediaPicker, openMiniApp, openOutApp, openPermissionSetting, openPhone, openPostFeed, openProfile, openProfilePicker, openSMS, openShareSheet, openWebview, removeStorage, requestCameraPermission, requestSendNotification, requestUpdateZalo, saveImageToGallery, scanQRCode, sendDataToPreviousMiniApp, setAccessToken, setAndroidBottomNavigationBar, setIOSBottomSafeArea, setNavigationBarColor, setNavigationBarLeftButton, setNavigationBarTitle, setStatusBar, setStorage, showToast, startBeaconDiscovery, stopBeaconDiscovery, unfollowOA, vibrate, viewOAQr };
|