Skip to content

Variable: AttachmentUpdateSchema ​

ts
const AttachmentUpdateSchema: ZodObject<{
  container: ZodOptional<ZodObject<{
     id: ZodString;
     type: ZodString;
  }, ApiObjectConfig<undefined>>>;
  id: ZodString;
  metadata: ZodOptional<ZodObject<{
     comment: ZodOptional<ZodString>;
     mediaType: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  title: ZodOptional<ZodString>;
  type: ZodCustom<"attachment" | string & object, "attachment" | string & object>;
  version: ZodObject<{
     number: ZodNumber;
  }, ApiObjectConfig<undefined>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/v1/models/attachmentUpdate.ts:4