zmp-sdk 2.51.4 → 2.51.5

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
@@ -1062,8 +1062,8 @@ declare const ACTION: {
1062
1062
  skipJump: boolean;
1063
1063
  };
1064
1064
  };
1065
- declare const AUTHEN_SCOPE_VALUES: readonly ["scope.userInfo", "scope.userLocation", "scope.userPhonenumber"];
1066
- declare const GET_SETTINGS_SCOPE_VALUES: readonly ["scope.userInfo", "scope.userLocation", "scope.userPhonenumber", "scope.camera", "scope.micro"];
1065
+ declare const AUTHEN_SCOPE_VALUES: readonly ["scope.userInfo", "scope.userLocation", "scope.userPhonenumber", "scope.userFriends"];
1066
+ declare const GET_SETTINGS_SCOPE_VALUES: readonly ["scope.userInfo", "scope.userLocation", "scope.userPhonenumber", "scope.userFriends", "scope.camera", "scope.micro"];
1067
1067
 
1068
1068
  type AsyncCallbackFailObject = {
1069
1069
  code: number;
@@ -5334,11 +5334,11 @@ declare function checkIsAllowedInteractWithOA(args: AsyncVoidCallback & TypeOf<(
5334
5334
  declare function getSetting(args?: AsyncCallback<GetSettingReturn>): Promise<GetSettingReturn>;
5335
5335
 
5336
5336
  declare const authorizeArgs: ZodOptional<ZodObject<{
5337
- scopes: ZodOptional<ZodArray<ZodEnum<["scope.userInfo", "scope.userLocation", "scope.userPhonenumber"]>, "many">>;
5337
+ scopes: ZodOptional<ZodArray<ZodEnum<["scope.userInfo", "scope.userLocation", "scope.userPhonenumber", "scope.userFriends"]>, "many">>;
5338
5338
  }, "strip", ZodTypeAny, {
5339
- scopes?: ("scope.userInfo" | "scope.userLocation" | "scope.userPhonenumber")[] | undefined;
5339
+ scopes?: ("scope.userInfo" | "scope.userLocation" | "scope.userPhonenumber" | "scope.userFriends")[] | undefined;
5340
5340
  }, {
5341
- scopes?: ("scope.userInfo" | "scope.userLocation" | "scope.userPhonenumber")[] | undefined;
5341
+ scopes?: ("scope.userInfo" | "scope.userLocation" | "scope.userPhonenumber" | "scope.userFriends")[] | undefined;
5342
5342
  }>>[];
5343
5343
  /**
5344
5344
  * ### Cấp quyền sử dụng API