Skip to content

Variable: TeamResponseSchema ​

ts
const TeamResponseSchema: ZodObject<{
  creatorId: ZodOptional<ZodNullable<ZodString>>;
  description: ZodString;
  displayName: ZodString;
  externalReference: ZodOptional<ZodNullable<ZodObject<{
     id: ZodString;
     source: ZodCustom<string & object | "ATLASSIAN_GROUP" | "HRIS", string & object | "ATLASSIAN_GROUP" | "HRIS">;
  }, ApiObjectConfig<undefined>>>>;
  organizationId: ZodString;
  state: ZodCustom<string & object | "ACTIVE" | "ARCHIVED", string & object | "ACTIVE" | "ARCHIVED">;
  teamId: ZodString;
  teamType: ZodCustom<
     | string & object
     | "EXTERNAL"
     | "OPEN"
     | "MEMBER_INVITE"
     | "ORG_ADMIN_MANAGED", 
     | string & object
     | "EXTERNAL"
     | "OPEN"
     | "MEMBER_INVITE"
    | "ORG_ADMIN_MANAGED">;
  userPermissions: ZodObject<{
     ADD_MEMBERS: ZodBoolean;
     DELETE_TEAM: ZodBoolean;
     REMOVE_MEMBERS: ZodBoolean;
     UPDATE_TEAM: ZodBoolean;
  }, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/teams/models/teamResponse.ts:6