Skip to content

Variable: AttachTemporaryFileSchema ​

ts
const AttachTemporaryFileSchema: ZodObject<{
  body: ZodArray<ZodObject<{
     bytes: ZodOptional<ZodArray<ZodString>>;
     contentType: ZodOptional<ZodString>;
     empty: ZodOptional<ZodBoolean>;
     inputStream: ZodOptional<ZodRecord<ZodString, ZodAny>>;
     name: ZodOptional<ZodString>;
     originalFilename: ZodOptional<ZodString>;
     resource: ZodOptional<ZodObject<{
        contentAsByteArray: ZodOptional<ZodArray<ZodString>>;
        description: ZodOptional<ZodString>;
        file: ZodOptional<ZodString>;
        filename: ZodOptional<ZodString>;
        inputStream: ZodOptional<ZodRecord<ZodString, ZodAny>>;
        open: ZodOptional<ZodBoolean>;
        readable: ZodOptional<ZodBoolean>;
        uri: ZodOptional<ZodURL>;
        url: ZodOptional<ZodString>;
     }, ApiObjectConfig<undefined>>>;
     size: ZodOptional<ZodNumber>;
  }, ApiObjectConfig<undefined>>>;
  serviceDeskId: ZodString;
}, $strip>;

Defined in: src/serviceDesk/parameters/attachTemporaryFile.ts:4