zmp-sdk 2.43.3 → 2.43.4

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/index.d.ts CHANGED
@@ -1,144 +1,5 @@
1
1
  import { StreamType as StreamType$1, MediaConstraints as MediaConstraints$1, PhotoConstraint as PhotoConstraint$1, PhotoFrame as PhotoFrame$1, MediaDevice as MediaDevice$1, CameraEvents as CameraEvents$1 } from '@mp-types';
2
2
 
3
- /**
4
- * Minimal `EventEmitter` interface that is molded against the Node.js
5
- * `EventEmitter` interface.
6
- */
7
- declare class EventEmitter<
8
- EventTypes extends EventEmitter.ValidEventTypes = string | symbol,
9
- Context extends any = any
10
- > {
11
- static prefixed: string | boolean;
12
-
13
- /**
14
- * Return an array listing the events for which the emitter has registered
15
- * listeners.
16
- */
17
- eventNames(): Array<EventEmitter.EventNames<EventTypes>>;
18
-
19
- /**
20
- * Return the listeners registered for a given event.
21
- */
22
- listeners<T extends EventEmitter.EventNames<EventTypes>>(
23
- event: T
24
- ): Array<EventEmitter.EventListener<EventTypes, T>>;
25
-
26
- /**
27
- * Return the number of listeners listening to a given event.
28
- */
29
- listenerCount(event: EventEmitter.EventNames<EventTypes>): number;
30
-
31
- /**
32
- * Calls each of the listeners registered for a given event.
33
- */
34
- emit<T extends EventEmitter.EventNames<EventTypes>>(
35
- event: T,
36
- ...args: EventEmitter.EventArgs<EventTypes, T>
37
- ): boolean;
38
-
39
- /**
40
- * Add a listener for a given event.
41
- */
42
- on<T extends EventEmitter.EventNames<EventTypes>>(
43
- event: T,
44
- fn: EventEmitter.EventListener<EventTypes, T>,
45
- context?: Context
46
- ): this;
47
- addListener<T extends EventEmitter.EventNames<EventTypes>>(
48
- event: T,
49
- fn: EventEmitter.EventListener<EventTypes, T>,
50
- context?: Context
51
- ): this;
52
-
53
- /**
54
- * Add a one-time listener for a given event.
55
- */
56
- once<T extends EventEmitter.EventNames<EventTypes>>(
57
- event: T,
58
- fn: EventEmitter.EventListener<EventTypes, T>,
59
- context?: Context
60
- ): this;
61
-
62
- /**
63
- * Remove the listeners of a given event.
64
- */
65
- removeListener<T extends EventEmitter.EventNames<EventTypes>>(
66
- event: T,
67
- fn?: EventEmitter.EventListener<EventTypes, T>,
68
- context?: Context,
69
- once?: boolean
70
- ): this;
71
- off<T extends EventEmitter.EventNames<EventTypes>>(
72
- event: T,
73
- fn?: EventEmitter.EventListener<EventTypes, T>,
74
- context?: Context,
75
- once?: boolean
76
- ): this;
77
-
78
- /**
79
- * Remove all listeners, or those of the specified event.
80
- */
81
- removeAllListeners(event?: EventEmitter.EventNames<EventTypes>): this;
82
- }
83
-
84
- declare namespace EventEmitter {
85
- export interface ListenerFn<Args extends any[] = any[]> {
86
- (...args: Args): void;
87
- }
88
-
89
- export interface EventEmitterStatic {
90
- new <
91
- EventTypes extends ValidEventTypes = string | symbol,
92
- Context = any
93
- >(): EventEmitter<EventTypes, Context>;
94
- }
95
-
96
- /**
97
- * `object` should be in either of the following forms:
98
- * ```
99
- * interface EventTypes {
100
- * 'event-with-parameters': any[]
101
- * 'event-with-example-handler': (...args: any[]) => void
102
- * }
103
- * ```
104
- */
105
- export type ValidEventTypes = string | symbol | object;
106
-
107
- export type EventNames<T extends ValidEventTypes> = T extends string | symbol
108
- ? T
109
- : keyof T;
110
-
111
- export type ArgumentMap<T extends object> = {
112
- [K in keyof T]: T[K] extends (...args: any[]) => void
113
- ? Parameters<T[K]>
114
- : T[K] extends any[]
115
- ? T[K]
116
- : any[];
117
- };
118
-
119
- export type EventListener<
120
- T extends ValidEventTypes,
121
- K extends EventNames<T>
122
- > = T extends string | symbol
123
- ? (...args: any[]) => void
124
- : (
125
- ...args: ArgumentMap<Exclude<T, string | symbol>>[Extract<K, keyof T>]
126
- ) => void;
127
-
128
- export type EventArgs<
129
- T extends ValidEventTypes,
130
- K extends EventNames<T>
131
- > = Parameters<EventListener<T, K>>;
132
-
133
- export const EventEmitter: EventEmitterStatic;
134
- }
135
-
136
- declare namespace eventemitter3 {
137
- export {
138
- EventEmitter as default,
139
- };
140
- }
141
-
142
3
  /**
143
4
  * @typedef {"none" | "wifi" | "cellular" | "unknown"} NetworkType
144
5
  */
@@ -1307,13 +1168,7 @@ type PhotoConstraint = {
1307
1168
  minScreenshotHeight?: number;
1308
1169
  };
1309
1170
 
1310
- declare function login(args?: AsyncCallback<string>): Promise<string>;
1311
-
1312
- declare function getAccessToken(args?: AsyncCallback<string>): Promise<string>;
1313
-
1314
- declare function getVersion(): string;
1315
-
1316
- declare function getSystemInfo(): SystemInfo;
1171
+ declare function getStorageInfoSync(): StorageInfo;
1317
1172
 
1318
1173
  declare type Primitive = string | number | symbol | bigint | boolean | null | undefined;
1319
1174
 
@@ -2257,6 +2112,164 @@ declare enum ZodFirstPartyTypeKind {
2257
2112
  ZodPipeline = "ZodPipeline"
2258
2113
  }
2259
2114
 
2115
+ declare const removeItemArgs: ZodString[];
2116
+ declare function removeItem(key: TypeOf<(typeof removeItemArgs)[0]>): void;
2117
+
2118
+ declare function clear(): void;
2119
+
2120
+ declare const setItemArgs: ZodString[];
2121
+ declare function setItem(key: TypeOf<(typeof setItemArgs)[0]>, value: TypeOf<(typeof setItemArgs)[1]>): void;
2122
+
2123
+ declare const getItemArgs: ZodString[];
2124
+ declare function getItem(key: TypeOf<(typeof getItemArgs)[0]>): string;
2125
+
2126
+ /**
2127
+ * Minimal `EventEmitter` interface that is molded against the Node.js
2128
+ * `EventEmitter` interface.
2129
+ */
2130
+ declare class EventEmitter<
2131
+ EventTypes extends EventEmitter.ValidEventTypes = string | symbol,
2132
+ Context extends any = any
2133
+ > {
2134
+ static prefixed: string | boolean;
2135
+
2136
+ /**
2137
+ * Return an array listing the events for which the emitter has registered
2138
+ * listeners.
2139
+ */
2140
+ eventNames(): Array<EventEmitter.EventNames<EventTypes>>;
2141
+
2142
+ /**
2143
+ * Return the listeners registered for a given event.
2144
+ */
2145
+ listeners<T extends EventEmitter.EventNames<EventTypes>>(
2146
+ event: T
2147
+ ): Array<EventEmitter.EventListener<EventTypes, T>>;
2148
+
2149
+ /**
2150
+ * Return the number of listeners listening to a given event.
2151
+ */
2152
+ listenerCount(event: EventEmitter.EventNames<EventTypes>): number;
2153
+
2154
+ /**
2155
+ * Calls each of the listeners registered for a given event.
2156
+ */
2157
+ emit<T extends EventEmitter.EventNames<EventTypes>>(
2158
+ event: T,
2159
+ ...args: EventEmitter.EventArgs<EventTypes, T>
2160
+ ): boolean;
2161
+
2162
+ /**
2163
+ * Add a listener for a given event.
2164
+ */
2165
+ on<T extends EventEmitter.EventNames<EventTypes>>(
2166
+ event: T,
2167
+ fn: EventEmitter.EventListener<EventTypes, T>,
2168
+ context?: Context
2169
+ ): this;
2170
+ addListener<T extends EventEmitter.EventNames<EventTypes>>(
2171
+ event: T,
2172
+ fn: EventEmitter.EventListener<EventTypes, T>,
2173
+ context?: Context
2174
+ ): this;
2175
+
2176
+ /**
2177
+ * Add a one-time listener for a given event.
2178
+ */
2179
+ once<T extends EventEmitter.EventNames<EventTypes>>(
2180
+ event: T,
2181
+ fn: EventEmitter.EventListener<EventTypes, T>,
2182
+ context?: Context
2183
+ ): this;
2184
+
2185
+ /**
2186
+ * Remove the listeners of a given event.
2187
+ */
2188
+ removeListener<T extends EventEmitter.EventNames<EventTypes>>(
2189
+ event: T,
2190
+ fn?: EventEmitter.EventListener<EventTypes, T>,
2191
+ context?: Context,
2192
+ once?: boolean
2193
+ ): this;
2194
+ off<T extends EventEmitter.EventNames<EventTypes>>(
2195
+ event: T,
2196
+ fn?: EventEmitter.EventListener<EventTypes, T>,
2197
+ context?: Context,
2198
+ once?: boolean
2199
+ ): this;
2200
+
2201
+ /**
2202
+ * Remove all listeners, or those of the specified event.
2203
+ */
2204
+ removeAllListeners(event?: EventEmitter.EventNames<EventTypes>): this;
2205
+ }
2206
+
2207
+ declare namespace EventEmitter {
2208
+ export interface ListenerFn<Args extends any[] = any[]> {
2209
+ (...args: Args): void;
2210
+ }
2211
+
2212
+ export interface EventEmitterStatic {
2213
+ new <
2214
+ EventTypes extends ValidEventTypes = string | symbol,
2215
+ Context = any
2216
+ >(): EventEmitter<EventTypes, Context>;
2217
+ }
2218
+
2219
+ /**
2220
+ * `object` should be in either of the following forms:
2221
+ * ```
2222
+ * interface EventTypes {
2223
+ * 'event-with-parameters': any[]
2224
+ * 'event-with-example-handler': (...args: any[]) => void
2225
+ * }
2226
+ * ```
2227
+ */
2228
+ export type ValidEventTypes = string | symbol | object;
2229
+
2230
+ export type EventNames<T extends ValidEventTypes> = T extends string | symbol
2231
+ ? T
2232
+ : keyof T;
2233
+
2234
+ export type ArgumentMap<T extends object> = {
2235
+ [K in keyof T]: T[K] extends (...args: any[]) => void
2236
+ ? Parameters<T[K]>
2237
+ : T[K] extends any[]
2238
+ ? T[K]
2239
+ : any[];
2240
+ };
2241
+
2242
+ export type EventListener<
2243
+ T extends ValidEventTypes,
2244
+ K extends EventNames<T>
2245
+ > = T extends string | symbol
2246
+ ? (...args: any[]) => void
2247
+ : (
2248
+ ...args: ArgumentMap<Exclude<T, string | symbol>>[Extract<K, keyof T>]
2249
+ ) => void;
2250
+
2251
+ export type EventArgs<
2252
+ T extends ValidEventTypes,
2253
+ K extends EventNames<T>
2254
+ > = Parameters<EventListener<T, K>>;
2255
+
2256
+ export const EventEmitter: EventEmitterStatic;
2257
+ }
2258
+
2259
+ declare namespace eventemitter3 {
2260
+ export {
2261
+ EventEmitter as default,
2262
+ };
2263
+ }
2264
+
2265
+ declare function login(args?: AsyncCallback<string>): Promise<string>;
2266
+
2267
+ declare function getAccessToken(args?: AsyncCallback<string>): Promise<string>;
2268
+
2269
+ declare function getVersion(): string;
2270
+
2271
+ declare function getSystemInfo(): SystemInfo;
2272
+
2260
2273
  declare const setNavigationBarTitleArgs: ZodOptional<ZodObject<{
2261
2274
  title: ZodString;
2262
2275
  }, "strip", ZodTypeAny, {
@@ -3261,6 +3274,30 @@ declare const checkTransactionArgs: ZodObject<{
3261
3274
  }>[];
3262
3275
  declare function checkTransaction(args: AsyncCallback<CheckTransactionReturns> & TypeOf<(typeof checkTransactionArgs)[0]>): Promise<CheckTransactionReturns>;
3263
3276
 
3277
+ declare const createOrderIAPArgs: ZodObject<{
3278
+ productId: ZodString;
3279
+ payType: ZodOptional<ZodEnum<["ONETIME", "SUBSCRIPTION"]>>;
3280
+ prorationMode: ZodOptional<ZodDefault<ZodEnum<["DEFERRED", "IMMEDIATE_AND_CHARGE_FULL_PRICE"]>>>;
3281
+ utm: ZodOptional<ZodString>;
3282
+ method: ZodOptional<ZodEnum<["IAP", "IAP_SANDBOX"]>>;
3283
+ merchantTransId: ZodOptional<ZodString>;
3284
+ }, "strip", ZodTypeAny, {
3285
+ method?: "IAP" | "IAP_SANDBOX" | undefined;
3286
+ payType?: "SUBSCRIPTION" | "ONETIME" | undefined;
3287
+ utm?: string | undefined;
3288
+ merchantTransId?: string | undefined;
3289
+ prorationMode?: "DEFERRED" | "IMMEDIATE_AND_CHARGE_FULL_PRICE" | undefined;
3290
+ productId: string;
3291
+ }, {
3292
+ method?: "IAP" | "IAP_SANDBOX" | undefined;
3293
+ payType?: "SUBSCRIPTION" | "ONETIME" | undefined;
3294
+ utm?: string | undefined;
3295
+ merchantTransId?: string | undefined;
3296
+ prorationMode?: "DEFERRED" | "IMMEDIATE_AND_CHARGE_FULL_PRICE" | undefined;
3297
+ productId: string;
3298
+ }>[];
3299
+ declare function createOrderIAP(args: AsyncCallback<CreateOrderIAPReturns> & TypeOf<(typeof createOrderIAPArgs)[0]>): Promise<CreateOrderIAPReturns>;
3300
+
3264
3301
  declare const events: EventEmitter;
3265
3302
 
3266
3303
  declare const setAndroidBottomNavigationBarArgs: ZodOptional<ZodObject<{
@@ -3342,30 +3379,6 @@ declare const configAppViewArgs: ZodObject<{
3342
3379
  }>[];
3343
3380
  declare function configAppView(args: AsyncVoidCallback & TypeOf<(typeof configAppViewArgs)[0]>): Promise<void>;
3344
3381
 
3345
- declare const createOrderIAPArgs: ZodObject<{
3346
- productId: ZodString;
3347
- payType: ZodOptional<ZodEnum<["ONETIME", "SUBSCRIPTION"]>>;
3348
- prorationMode: ZodOptional<ZodDefault<ZodEnum<["DEFERRED", "IMMEDIATE_AND_CHARGE_FULL_PRICE"]>>>;
3349
- utm: ZodOptional<ZodString>;
3350
- method: ZodOptional<ZodEnum<["IAP", "IAP_SANDBOX"]>>;
3351
- merchantTransId: ZodOptional<ZodString>;
3352
- }, "strip", ZodTypeAny, {
3353
- method?: "IAP" | "IAP_SANDBOX" | undefined;
3354
- payType?: "SUBSCRIPTION" | "ONETIME" | undefined;
3355
- utm?: string | undefined;
3356
- merchantTransId?: string | undefined;
3357
- prorationMode?: "DEFERRED" | "IMMEDIATE_AND_CHARGE_FULL_PRICE" | undefined;
3358
- productId: string;
3359
- }, {
3360
- method?: "IAP" | "IAP_SANDBOX" | undefined;
3361
- payType?: "SUBSCRIPTION" | "ONETIME" | undefined;
3362
- utm?: string | undefined;
3363
- merchantTransId?: string | undefined;
3364
- prorationMode?: "DEFERRED" | "IMMEDIATE_AND_CHARGE_FULL_PRICE" | undefined;
3365
- productId: string;
3366
- }>[];
3367
- declare function createOrderIAP(args: AsyncCallback<CreateOrderIAPReturns> & TypeOf<(typeof createOrderIAPArgs)[0]>): Promise<CreateOrderIAPReturns>;
3368
-
3369
3382
  declare function minimizeApp(args?: AsyncVoidCallback): Promise<void>;
3370
3383
 
3371
3384
  declare function openPermissionSetting(args?: AsyncVoidCallback): Promise<void>;
@@ -3667,18 +3680,24 @@ declare function scanNFC(args: AsyncCallback & TypeOf<(typeof scanNFCArgs)[0]>):
3667
3680
 
3668
3681
  declare function checkNFC(args: AsyncVoidCallback): Promise<any>;
3669
3682
 
3670
- declare const getItemArgs: ZodString[];
3671
- declare function getItem(key: TypeOf<(typeof getItemArgs)[0]>): string;
3672
-
3673
- declare const setItemArgs: ZodString[];
3674
- declare function setItem(key: TypeOf<(typeof setItemArgs)[0]>, value: TypeOf<(typeof setItemArgs)[1]>): void;
3675
-
3676
- declare function clear(): void;
3677
-
3678
- declare const removeItemArgs: ZodString[];
3679
- declare function removeItem(key: TypeOf<(typeof removeItemArgs)[0]>): void;
3683
+ declare const nativeStorage: {
3684
+ getItem: typeof getItem;
3685
+ setItem: typeof setItem;
3686
+ clear: typeof clear;
3687
+ removeItem: typeof removeItem;
3688
+ getStorageInfo: typeof getStorageInfoSync;
3689
+ };
3680
3690
 
3681
- declare function getStorageInfoSync(): StorageInfo;
3691
+ declare const Payment: {
3692
+ createOrder: typeof createOrder;
3693
+ checkTransaction: typeof checkTransaction;
3694
+ createOrderIAP: typeof createOrderIAP;
3695
+ selectPaymentMethod: typeof selectPaymentMethod;
3696
+ };
3697
+ declare const CheckoutSDK: {
3698
+ purchase: typeof purchase;
3699
+ selectPaymentMethod: typeof selectPaymentMethod;
3700
+ };
3682
3701
 
3683
3702
  declare const otherApis: {
3684
3703
  Events: typeof Events;
@@ -3777,28 +3796,28 @@ declare const otherApis: {
3777
3796
  showFunctionButtonWidget: typeof showFunctionButtonWidget;
3778
3797
  scanNFC: typeof scanNFC;
3779
3798
  checkNFC: typeof checkNFC;
3799
+ nativeStorage: {
3800
+ getItem: typeof getItem;
3801
+ setItem: typeof setItem;
3802
+ clear: typeof clear;
3803
+ removeItem: typeof removeItem;
3804
+ getStorageInfo: typeof getStorageInfoSync;
3805
+ };
3806
+ Payment: {
3807
+ createOrder: typeof createOrder;
3808
+ checkTransaction: typeof checkTransaction;
3809
+ createOrderIAP: typeof createOrderIAP;
3810
+ selectPaymentMethod: typeof selectPaymentMethod;
3811
+ };
3812
+ CheckoutSDK: {
3813
+ purchase: typeof purchase;
3814
+ selectPaymentMethod: typeof selectPaymentMethod;
3815
+ };
3780
3816
  FacingMode: typeof FacingMode;
3781
3817
  PhotoFormat: typeof PhotoFormat;
3782
3818
  PhotoQuality: typeof PhotoQuality;
3783
3819
  StreamType: typeof StreamType;
3784
3820
  ZMACameraImp: typeof ZMACameraImp;
3785
3821
  };
3786
- declare const storage: {
3787
- getItem: typeof getItem;
3788
- setItem: typeof setItem;
3789
- removeItem: typeof removeItem;
3790
- clear: typeof clear;
3791
- getStorageInfo: typeof getStorageInfoSync;
3792
- };
3793
- declare const payment: {
3794
- createOrder: typeof createOrder;
3795
- checkTransaction: typeof checkTransaction;
3796
- createOrderIAP: typeof createOrderIAP;
3797
- selectPaymentMethod: typeof selectPaymentMethod;
3798
- };
3799
- declare const checkout: {
3800
- selectPaymentMethod: typeof selectPaymentMethod;
3801
- purchase: typeof purchase;
3802
- };
3803
3822
 
3804
- export { Action, AndroidBottomNavigationBarType, AsyncCallback, AsyncCallbackFailObject, AsyncVoidCallback, AuthorizeType, CameraEvents, CameraParams, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, CheckZaloCameraPermissionReturns, checkout as 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, OrientationType, payment as Payment, PhotoConstraint, PhotoFormat, PhotoFrame, PhotoQuality, PickAttr, PlatformType, PostFeedType, ProfileType, ProrationMode, ProrationModeType, RemoveStorageReturns, RequestCameraPermissionReturns, ScanNFCType, ScanQRCodeReturns, SelectPaymentMethodReturns, SetStorageReturns, ShareSheetType, StatusBarType, StorageInfo, StreamType, SystemInfo, TextAlignType, VibrateType, ZMACamera, ZMACameraImp, addRating, authorize, checkNFC, checkStateBioAuthentication, checkTransaction, checkZaloCameraPermission, chooseImage, clearStorage, closeApp, closeLoading, configAppView, connectWifi, createCameraContext, createOrder, createOrderIAP, createShortcut, otherApis as default, displayAd, 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, storage as 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, scanNFC, scanQRCode, selectPaymentMethod, sendDataToPreviousMiniApp, setAccessToken, setAndroidBottomNavigationBar, setIOSBottomSafeArea, setNavigationBarColor, setNavigationBarLeftButton, setNavigationBarTitle, setStatusBar, setStorage, setupAd, showFunctionButtonWidget, showOAWidget, showToast, startBeaconDiscovery, stopBeaconDiscovery, unfollowOA, vibrate, viewOAQr };
3823
+ export { Action, AndroidBottomNavigationBarType, AsyncCallback, AsyncCallbackFailObject, AsyncVoidCallback, AuthorizeType, CameraEvents, CameraParams, ChatType, CheckStateBioAuthenticationReturns, CheckTransactionReturns, CheckZaloCameraPermissionReturns, 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, OrientationType, Payment, PhotoConstraint, PhotoFormat, PhotoFrame, PhotoQuality, PickAttr, PlatformType, PostFeedType, ProfileType, ProrationMode, ProrationModeType, RemoveStorageReturns, RequestCameraPermissionReturns, ScanNFCType, ScanQRCodeReturns, SelectPaymentMethodReturns, SetStorageReturns, ShareSheetType, StatusBarType, StorageInfo, StreamType, SystemInfo, TextAlignType, VibrateType, ZMACamera, ZMACameraImp, addRating, authorize, checkNFC, checkStateBioAuthentication, checkTransaction, checkZaloCameraPermission, chooseImage, clearStorage, closeApp, closeLoading, configAppView, connectWifi, createCameraContext, createOrder, createOrderIAP, createShortcut, otherApis as default, displayAd, 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, scanNFC, scanQRCode, selectPaymentMethod, sendDataToPreviousMiniApp, setAccessToken, setAndroidBottomNavigationBar, setIOSBottomSafeArea, setNavigationBarColor, setNavigationBarLeftButton, setNavigationBarTitle, setStatusBar, setStorage, setupAd, showFunctionButtonWidget, showOAWidget, showToast, startBeaconDiscovery, stopBeaconDiscovery, unfollowOA, vibrate, viewOAQr };