/**
 * Supplier types
 * Re-exports types from the auto-generated OpenAPI schema
 */

import type { components } from './generated/api';

// Response DTOs
export type SupplierDTO = components['schemas']['SupplierResponse'];
export type AddressDTO = components['schemas']['AddressResponse'];
export type ContactInfoDTO = components['schemas']['ContactInfoResponse'];
export type PaymentTermsDTO = components['schemas']['PaymentTermsResponse'];
export type QualityCertificateDTO = components['schemas']['QualityCertificateResponse'];
export type SupplierRatingDTO = components['schemas']['SupplierRatingResponse'];

// Request types
export type CreateSupplierRequest = components['schemas']['CreateSupplierRequest'];
export type UpdateSupplierRequest = components['schemas']['UpdateSupplierRequest'];
export type RateSupplierRequest = components['schemas']['RateSupplierRequest'];
export type AddCertificateRequest = components['schemas']['AddCertificateRequest'];
export type RemoveCertificateRequest = components['schemas']['RemoveCertificateRequest'];
