hunk.code_window: }
   func CreateSimpleClient() (*client.Client, error) {
   	return client.NewClientWithOpts(
   		client.WithVersion(dockerClientVersion),
   	)
   }
   func createTCPClient(endpoint *portainer.Endpoint, timeout *time.Duration) (*client.Client, error) {
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit: 		client.WithAPIVersionNegotiation(),
  
hunk.file_path: api/docker/client/client.go
hunk.type: replace
file: export interface Configuration {
    Id: string;
    Name: string;
    Type: number;
    Namespace: string;
    CreationDate: Date;
  
    ConfigurationOwner: string;
  
    Used: boolean;
    Data: Document;
    Yaml: string;
  
    SecretType?: string;
    IsRegistrySecret?: boolean;
  }
  
  // Workaround for the TS error `Type 'ConfigMap' does not satisfy the constraint 'Record<string, unknown>'` for the datatable
  // https://github.com/microsoft/TypeScript/issues/15300#issuecomment-1320480061
  export type IndexOptional<T> = Pick<T, keyof T>;
  