--- client/resources/pets/_sync.py
+++ client/resources/pets/_sync.py (expected)
@@ -1 +1,217 @@
-# edited
+# generated by datamodel-codegen:
+#   filename:  options.yaml
+
+"""The synchronous operations of the pets resource."""
+
+from __future__ import annotations
+
+from contextlib import AbstractContextManager
+from functools import cached_property
+from typing import Literal
+
+import models
+
+from ... import _operations
+from ..._runtime.client.client import ClientCore
+from ...options import UNSET, RequestOptions
+from ...responses import RawResponse, Response
+from ...types.pets import CreatePetResponse, ListPetsResponse
+
+
+class PetsResource:
+    """The pets operations."""
+
+    def __init__(self, core: ClientCore) -> None:
+        """Keep the client core the operations send through."""
+        self._core = core
+
+    @cached_property
+    def with_response(self) -> PetsWithResponse:
+        """The same operations, returning each result with its response metadata."""
+        return PetsWithResponse(self._core)
+
+    @cached_property
+    def with_raw_response(self) -> PetsWithRawResponse:
+        """The same operations, returning each raw response with its body read into memory."""
+        return PetsWithRawResponse(self._core)
+
+    @cached_property
+    def with_streaming_response(self) -> PetsWithStreamingResponse:
+        """The same operations, returning blocks that send each call on entry and stream its response."""
+        return PetsWithStreamingResponse(self._core)
+
+    def list_pets(
+        self,
+        *,
+        limit: int | UNSET = UNSET,
+        cursor: str | UNSET = UNSET,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> ListPetsResponse:
+        """
+        Call GET /pets.
+        """
+        return self._core.execute(
+            _operations.OPERATION_0,
+            (limit, cursor),
+            options=options,
+            response_media_type=response_media_type,
+        ).data
+
+    def create_pet(
+        self,
+        *,
+        body: models.NewPet,
+        media_type: Literal['application/json'] | None = None,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> CreatePetResponse:
+        """
+        Call POST /pets.
+        """
+        return self._core.execute(
+            _operations.OPERATION_1,
+            (),
+            body=body,
+            media_type=media_type,
+            options=options,
+            response_media_type=response_media_type,
+        ).data
+
+
+class PetsWithResponse:
+    """The pets operations, returning each result with its response metadata."""
+
+    def __init__(self, core: ClientCore) -> None:
+        """Keep the client core the operations send through."""
+        self._core = core
+
+    def list_pets(
+        self,
+        *,
+        limit: int | UNSET = UNSET,
+        cursor: str | UNSET = UNSET,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> Response[ListPetsResponse]:
+        """
+        Call GET /pets.
+        """
+        return self._core.execute(
+            _operations.OPERATION_0,
+            (limit, cursor),
+            options=options,
+            response_media_type=response_media_type,
+        )
+
+    def create_pet(
+        self,
+        *,
+        body: models.NewPet,
+        media_type: Literal['application/json'] | None = None,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> Response[CreatePetResponse]:
+        """
+        Call POST /pets.
+        """
+        return self._core.execute(
+            _operations.OPERATION_1,
+            (),
+            body=body,
+            media_type=media_type,
+            options=options,
+            response_media_type=response_media_type,
+        )
+
+
+class PetsWithRawResponse:
+    """The pets operations, returning each raw response with its body read into memory."""
+
+    def __init__(self, core: ClientCore) -> None:
+        """Keep the client core the operations send through."""
+        self._core = core
+
+    def list_pets(
+        self,
+        *,
+        limit: int | UNSET = UNSET,
+        cursor: str | UNSET = UNSET,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> RawResponse:
+        """
+        Call GET /pets.
+        """
+        return self._core.execute_raw(
+            _operations.OPERATION_0,
+            (limit, cursor),
+            options=options,
+            response_media_type=response_media_type,
+        )
+
+    def create_pet(
+        self,
+        *,
+        body: models.NewPet,
+        media_type: Literal['application/json'] | None = None,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> RawResponse:
+        """
+        Call POST /pets.
+        """
+        return self._core.execute_raw(
+            _operations.OPERATION_1,
+            (),
+            body=body,
+            media_type=media_type,
+            options=options,
+            response_media_type=response_media_type,
+        )
+
+
+class PetsWithStreamingResponse:
+    """The pets operations, returning blocks that send each call on entry and stream its response."""
+
+    def __init__(self, core: ClientCore) -> None:
+        """Keep the client core the operations send through."""
+        self._core = core
+
+    def list_pets(
+        self,
+        *,
+        limit: int | UNSET = UNSET,
+        cursor: str | UNSET = UNSET,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> AbstractContextManager[RawResponse]:
+        """
+        Call GET /pets.
+        """
+        return self._core.stream(
+            _operations.OPERATION_0,
+            (limit, cursor),
+            options=options,
+            response_media_type=response_media_type,
+        )
+
+    def create_pet(
+        self,
+        *,
+        body: models.NewPet,
+        media_type: Literal['application/json'] | None = None,
+        response_media_type: Literal['application/json'] | None = None,
+        options: RequestOptions | None = None,
+    ) -> AbstractContextManager[RawResponse]:
+        """
+        Call POST /pets.
+        """
+        return self._core.stream(
+            _operations.OPERATION_1,
+            (),
+            body=body,
+            media_type=media_type,
+            options=options,
+            response_media_type=response_media_type,
+        )
