import { ScheduleResponse } from '@/models'
import { DeploymentApiConcurrencyOptions } from '@/models/api/DeploymentApiConcurrencyOptions'
import { SchemaValues } from '@/types/schemas'

export type DeploymentUpdateRequest = Partial<{
  name: string | null,
  description: string | null,
  flow_id: string | null,
  schedule: ScheduleResponse | null,
  is_schedule_active: boolean,
  parameters: SchemaValues | null,
  tags: string[] | null,
  storage_document_id: string | null,
  infrastructure_document_id: string | null,
  work_queue_name: string | null,
  work_pool_name: string | null,
  job_variables: Record<string, unknown> | null,
  enforce_parameter_schema: boolean,
  concurrency_limit: number | null,
  concurrency_options: DeploymentApiConcurrencyOptions | null,
}>