Skip to content

Variable: RequestTypeSchema ​

ts
const RequestTypeSchema: ZodObject<{
  _links: ZodOptional<ZodObject<{
     self: ZodOptional<ZodURL>;
  }, ApiObjectConfig<undefined>>>;
  description: ZodOptional<ZodString>;
  groupIds: ZodOptional<ZodArray<ZodString>>;
  helpText: ZodOptional<ZodString>;
  icon: ZodOptional<ZodObject<{
     _links: ZodOptional<ZodObject<{
        iconUrls: ZodOptional<ZodRecord<ZodString, ZodAny>>;
     }, ApiObjectConfig<undefined>>>;
     id: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  id: ZodOptional<ZodString>;
  name: ZodOptional<ZodString>;
  restrictionStatus: ZodOptional<ZodCustom<string & object | "OPEN" | "RESTRICTED", string & object | "OPEN" | "RESTRICTED">>;
  serviceDeskId: ZodOptional<ZodString>;
}, ApiObjectConfig<undefined>>;

Defined in: src/serviceDeskServer/models/requestType.ts:6