Skip to content

Variable: ListSpacePermissionCombinationsResponseSchema

ts
const ListSpacePermissionCombinationsResponseSchema: ZodObject<{
  cursor: ZodOptional<ZodNullable<ZodString>>;
  generatedAt: ZodOptional<ZodNullable<ZodString>>;
  results: ZodArray<ZodObject<{
     combinationId: ZodString;
     permissions: ZodArray<ZodObject<{
        displayName: ZodString;
        id: ZodString;
     }, $loose>>;
     principalCount: ZodNumber;
     principalTypes: ZodArray<ZodCustom<
        | string & object
        | "USER"
        | "GROUP"
        | "GUEST"
        | "ANONYMOUS"
        | "ALL_LICENSED_USERS_USER_CLASS"
        | "ALL_PRODUCT_ADMINS_USER_CLASS"
        | "APP"
        | "TEAM", 
        | string & object
        | "USER"
        | "GROUP"
        | "GUEST"
        | "ANONYMOUS"
        | "ALL_LICENSED_USERS_USER_CLASS"
        | "ALL_PRODUCT_ADMINS_USER_CLASS"
        | "APP"
       | "TEAM">>;
     spaceCount: ZodNumber;
  }, $loose>>;
}, $loose>;

Defined in: src/v2/models/listSpacePermissionCombinationsResponse.ts:5