Skip to content

Variable: SearchDirectoryGroupsSchema ​

ts
const SearchDirectoryGroupsSchema: ZodObject<{
  accountIds: ZodOptional<ZodArray<ZodString>>;
  cursor: ZodOptional<ZodString>;
  directoryId: ZodString;
  directoryIds: ZodOptional<ZodArray<ZodString>>;
  expand: ZodOptional<ZodArray<ZodCustom<string & object | "counts.resources" | "counts.users", string & object | "counts.resources" | "counts.users">>>;
  groupIds: ZodOptional<ZodArray<ZodString>>;
  groupNames: ZodOptional<ZodArray<ZodString>>;
  limit: ZodOptional<ZodNumber>;
  orgId: ZodString;
  resourceIds: ZodOptional<ZodArray<ZodString>>;
  resourceOwners: ZodOptional<ZodArray<ZodString>>;
  roleIds: ZodOptional<ZodArray<ZodString>>;
  searchTerm: ZodOptional<ZodString>;
  sortBy: ZodOptional<ZodArray<ZodObject<{
     direction: ZodCustom<"desc" | string & object | "asc", "desc" | string & object | "asc">;
     field: ZodCustom<"name" | string & object, "name" | string & object>;
  }, ApiObjectConfig<undefined>>>>;
}, $strip>;

Defined in: src/admin/parameters/searchDirectoryGroups.ts:4