Ë
    ÑÕ¯i  ã                   ó`   — d dl mZ ddlmZ ddlmZ ddlmZ  G d„ deej                  «      Z	y	)
é   )ÚShopifyResourceé    )Úmixinsé   )ÚCustomerInvite)ÚOrderc                   ó6   — e Zd Zed„ «       Z e«       fd„Zd„ Zy)ÚCustomerc                 óD   — | j                   | j                  di |¤Ž«      S )aÆ  
        Search for customers matching supplied query

        Args:
           order: Field and direction to order results by (default: last_order_date DESC)
           query: Text to search for customers
           page: Page to show (default: 1)
           limit: Amount of results (default: 50) (maximum: 250)
           fields: comma-separated list of fields to include in the response
        Returns:
           A Collection of customers.
        )Úsearch)Ú_build_collectionÚget)ÚclsÚkwargss     úM/var/www/html/venv/lib/python3.12/site-packages/shopify/resources/customer.pyr   zCustomer.search   s#   € ð ×$Ñ$ W S§W¡WÑ%@¸Ñ%@ÓAÐAó    c                 ó¦   — | j                  d|j                  «       «      }t        t        j                  j                  |j                  «      «      S )NÚsend_invite)ÚpostÚencoder   r
   ÚformatÚdecodeÚbody)ÚselfÚcustomer_inviteÚresources      r   r   zCustomer.send_invite   s9   € Ø—9‘9˜]¨O×,BÑ,BÓ,DÓEˆÜœhŸo™o×4Ñ4°X·]±]ÓCÓDÐDr   c                 óB   — t        j                  | j                  ¬«      S )N)Úcustomer_id)r   ÚfindÚid)r   s    r   ÚorderszCustomer.orders   s   € Ü�z‰z d§g¡gÔ.Ð.r   N)Ú__name__Ú
__module__Ú__qualname__Úclassmethodr   r   r   r!   © r   r   r
   r
      s)   „ ØñBó ðBñ +9Ó*:ó Eó/r   r
   N)
Úbaser   Úshopifyr   r   r   Úorderr   Ú
Metafieldsr
   r&   r   r   Ú<module>r+      s%   ðÝ "Ý Ý +Ý ô/ˆ × 1Ñ 1õ /r   