zmp-sdk 2.47.1-beta.1 → 2.47.1
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/checkoutKit/showWidget.js +1 -1
- package/apis/apis/openProfilePicker.js +1 -1
- package/apis/common/apis/general/openProfilePicker.js +1 -1
- package/apis/index.d.ts +6 -6
- package/apis/index.es.js +1 -1
- package/apis/package.json.js +1 -1
- package/apis/types/enum.js +1 -1
- package/browser.min.js +2 -2
- package/index.d.ts +7 -7
- package/index.es.js +2 -2
- package/index.js +2 -2
- package/index.umd.js +3 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -118,7 +118,7 @@ declare enum TextAlignType {
|
|
|
118
118
|
left = 0,
|
|
119
119
|
center = 1
|
|
120
120
|
}
|
|
121
|
-
declare enum
|
|
121
|
+
declare enum OpenProfilePickerType {
|
|
122
122
|
"TOOL_DEL_FRIEND" = "tool_del_friend"
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -4273,22 +4273,22 @@ declare function getPhoneNumber(args?: AsyncCallback<GetPhoneNumberReturns>): Pr
|
|
|
4273
4273
|
|
|
4274
4274
|
declare const openProfilePickerArgs: ZodEffects<ZodObject<{
|
|
4275
4275
|
maxProfile: ZodDefault<ZodOptional<ZodNumber>>;
|
|
4276
|
-
src: ZodOptional<ZodEnum<[
|
|
4276
|
+
src: ZodOptional<ZodEnum<[OpenProfilePickerType]>>;
|
|
4277
4277
|
uids: ZodOptional<ZodArray<ZodString, "many">>;
|
|
4278
4278
|
}, "strip", ZodTypeAny, {
|
|
4279
|
-
src?:
|
|
4279
|
+
src?: OpenProfilePickerType | undefined;
|
|
4280
4280
|
uids?: string[] | undefined;
|
|
4281
4281
|
maxProfile: number;
|
|
4282
4282
|
}, {
|
|
4283
|
-
src?:
|
|
4283
|
+
src?: OpenProfilePickerType | undefined;
|
|
4284
4284
|
uids?: string[] | undefined;
|
|
4285
4285
|
maxProfile?: number | undefined;
|
|
4286
4286
|
}>, {
|
|
4287
|
-
src?:
|
|
4287
|
+
src?: OpenProfilePickerType | undefined;
|
|
4288
4288
|
uids?: string[] | undefined;
|
|
4289
4289
|
maxProfile: number;
|
|
4290
4290
|
}, {
|
|
4291
|
-
src?:
|
|
4291
|
+
src?: OpenProfilePickerType | undefined;
|
|
4292
4292
|
uids?: string[] | undefined;
|
|
4293
4293
|
maxProfile?: number | undefined;
|
|
4294
4294
|
}>[];
|
|
@@ -5802,4 +5802,4 @@ declare const otherApis: {
|
|
|
5802
5802
|
ZMACameraImp: typeof ZMACameraImp;
|
|
5803
5803
|
};
|
|
5804
5804
|
|
|
5805
|
-
export { Action, AndroidBottomNavigationBarType, AppError, AsyncCallback, AsyncCallbackFailObject, AsyncProgressCallback, AsyncVoidCallback, AuthorizeType, CameraEvents, CameraParams, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, CheckZaloCameraPermissionReturns, CheckoutKit, CheckoutSDK, ChooseImageReturns, Common, ContextInfo, CreateOrderIAPReturns, CreateOrderReturns, Events as EventName, Events, FacingMode, FunctionProps, GetAppInfoReturns, GetAuthCodeReturns, GetBeaconDiscoveryReturns, GetLocationReturns, GetNetworkTypeReturns, GetPhoneNumberReturns, GetSettingReturn, GetStorageReturns, GetUserInfoReturns, GetZPITokenReturns, IAPMethodType, IAPPayType, IAPPayTypeType, IOSSafeAreaBottomType, JumpStatus, KeepScreenReturns, LogData, MediaConstraints, MediaDevice, MediaPickerType, NativeCallBackData, NetworkType, OpenBioAuthenticationReturns, OpenMediaPickerReturns, OpenPostFeedReturns, OpenProfilePickerReturns, OpenShareSheetReturns, OpenWebviewReturns,
|
|
5805
|
+
export { Action, AndroidBottomNavigationBarType, AppError, AsyncCallback, AsyncCallbackFailObject, AsyncProgressCallback, AsyncVoidCallback, AuthorizeType, CameraEvents, CameraParams, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, CheckZaloCameraPermissionReturns, CheckoutKit, CheckoutSDK, ChooseImageReturns, Common, ContextInfo, CreateOrderIAPReturns, CreateOrderReturns, Events as EventName, Events, FacingMode, FunctionProps, GetAppInfoReturns, GetAuthCodeReturns, GetBeaconDiscoveryReturns, GetLocationReturns, GetNetworkTypeReturns, GetPhoneNumberReturns, GetSettingReturn, GetStorageReturns, GetUserInfoReturns, GetZPITokenReturns, IAPMethodType, IAPPayType, IAPPayTypeType, IOSSafeAreaBottomType, JumpStatus, KeepScreenReturns, LogData, MediaConstraints, MediaDevice, MediaPickerType, NativeCallBackData, NetworkType, OpenBioAuthenticationReturns, OpenMediaPickerReturns, OpenPostFeedReturns, OpenProfilePickerReturns, OpenProfilePickerType, OpenShareSheetReturns, OpenWebviewReturns, OrientationType, Payment, PhotoConstraint, PhotoFormat, PhotoFrame, PhotoQuality, PickAttr, PickedProfile, PlatformType, PostFeedType, ProfileInfo, ProfileType, ProrationMode, ProrationModeType, RemoveStorageReturns, RequestCameraPermissionReturns, SaveFileReturns, ScanNFCType, ScanQRCodeReturns, SelectPaymentMethodReturns, SetStorageReturns, ShareSheetType, StatusBarType, StorageInfo, StreamType, SystemInfo, TempFile, TextAlignType, UserInfo, VibrateType, ZMACamera, ZMACameraImp, addRating, authorize, checkNFC, checkStateBioAuthentication, checkTransaction, checkZaloCameraPermission, chooseImage, clearStorage, closeApp, closeLoading, configAppView, connectWifi, createCameraContext, createOrder, createOrderIAP, createShortcut, otherApis as default, displayAd, downloadFile, events, favoriteApp, followOA, getAccessToken, getAppInfo, getAuthCode, getBeacons, getContext, getContextAsync, getDeviceId, getDeviceIdAsync, getIDToken, getLocation, getNetworkType, getPhoneNumber, getRouteParams, getSetting, getShareableLink, getStorage, getStorageInfo, getSystemInfo, getUserID, getUserInfo, getVersion, getZPIToken, hideKeyboard, iBeaconInfo, interactOA, interactOA as interactOa, checkIsAllowedInteractWithOA as isAllowedInteractWithOA, keepScreen, loadAd, login, minimizeApp, nativeStorage, offConfirmToExit, offKeepScreen, onCallbackData, onConfirmToExit, onKeepScreen, onNetworkStatusChange, openBioAuthentication, openChat, openGroupList, openMediaPicker, openMiniApp, openOutApp, openPermissionSetting, openPhone, openPostFeed, openProfile, openProfilePicker, openSMS, openShareSheet, openWebview, purchase, refreshAd, removeStorage, requestCameraPermission, requestSendNotification, requestUpdateZalo, saveImageToGallery, saveVideoToGallery, scanNFC, scanQRCode, selectPaymentMethod, sendDataToPreviousMiniApp, setAccessToken, setAndroidBottomNavigationBar, setIOSBottomSafeArea, setNavigationBarColor, setNavigationBarLeftButton, setNavigationBarTitle, setStatusBar, setStorage, setupAd, showCustomOAWidget, showFunctionButtonWidget, showOAWidget, showToast, startBeaconDiscovery, stopBeaconDiscovery, trackingManager, unfollowOA, vibrate, viewOAQr };
|