# Generated by ariadne-codegen
# Source: queries.graphql

from typing import List, Optional

from .base_model import BaseModel
from .enums import BulkOperationStatus


class BulkFetchProducts(BaseModel):
    bulkOperationRunQuery: Optional["BulkFetchProductsBulkOperationRunQuery"]


class BulkFetchProductsBulkOperationRunQuery(BaseModel):
    bulkOperation: Optional["BulkFetchProductsBulkOperationRunQueryBulkOperation"]
    userErrors: List["BulkFetchProductsBulkOperationRunQueryUserErrors"]


class BulkFetchProductsBulkOperationRunQueryBulkOperation(BaseModel):
    id: str
    status: BulkOperationStatus


class BulkFetchProductsBulkOperationRunQueryUserErrors(BaseModel):
    field: Optional[List[str]]
    message: str


BulkFetchProducts.model_rebuild()
BulkFetchProductsBulkOperationRunQuery.model_rebuild()
