Ë
    úöhN  ã                   ó†   — d dl Z d dlmZmZ d dlmZ d dlmZ  G d„ de«      Z G d„ d«      Z	 G d	„ d
«      Z
 G d„ d«      Zy)é    N)ÚClassVarÚOptional)ÚLiteral)ÚStripeObjectc                   ó°   — e Zd ZU dZdZeed      ed<    G d„ de«      Z	e
e   ed<   	 eed<   	 eed<   	 ed   ed	<   	 e
e	   ed
<   	 eed<   	 eed<   	 d
e	iZy)ÚEventa   
    Events are generated to keep you informed of activity in your business account. APIs in the /v2 namespace generate [thin events](https://docs.stripe.com/event-destinations#benefits-of-thin-events) which have small, unversioned payloads that include a reference to the ID of the object that has changed. The Events v2 API returns these new thin events. [Retrieve the event object](https://docs.stripe.com/event-destinations#fetch-data) for additional data about the event. Use the related object ID in the event payload to [fetch the API resource](https://docs.stripe.com/event-destinations#retrieve-the-object-associated-with-thin-events) of the object associated with the event. Comparatively, events generated by most API v1 include a versioned snapshot of an API object in their payload.
    zv2.core.eventÚOBJECT_NAMEc                   óP   — e Zd ZU  G d„ de«      Zed   ed<   	 ee   ed<   	 deiZy)úEvent.Reasonc                   ó$   — e Zd ZU eed<   	 eed<   y)úEvent.Reason.RequestÚidÚidempotency_keyN)Ú__name__Ú
__module__Ú__qualname__ÚstrÚ__annotations__© ó    úP/var/www/api/v1/venv_getwork_v1/lib/python3.12/site-packages/stripe/v2/_event.pyÚRequestr      s   … Ø‹Gðð !Ó ðr   r   ÚrequestÚtypeN)	r   r   r   r   r   r   r   r   Ú_inner_class_typesr   r   r   ÚReasonr      s?   … ô	lô 	ð iÑ Ó ð	ð ˜'Ñ"Ó"ð	ð (¨Ð1Ñr   r   ÚcontextÚcreatedr   ÚobjectÚreasonr   ÚlivemodeN)r   r   r   Ú__doc__r	   r   r   r   r   r   r   r   Úboolr   r   r   r   r   r      sœ   … ñð 7F€K˜' /Ñ2Ñ3ÓEô2ô 2ð* c‰]Óðð ƒLðð 	ƒGðð OÑ$Ó$ðð VÑÓðð ƒIðð ƒNðð # FÐ+Ñr   r   c                   ó6   — e Zd ZU eed<   eed<   dd„Zdefd„Zy)r   r   r   ÚreturnNc                 ó,   — |d   | _         |d   | _        y )Nr   r   ©r   r   ©ÚselfÚds     r   Ú__init__zReason.__init__Q   s   € ØD‘'ˆŒØ Ð!2Ñ3ˆÕr   c                 ó<   — d| j                   › d| j                  › dS )Nz<Reason id=z idempotency_key=Ú>r'   ©r)   s    r   Ú__repr__zReason.__repr__U   s#   € Ø˜TŸW™W˜IÐ%6°t×7KÑ7KÐ6LÈAÐNÐNr   ©r%   N©r   r   r   r   r   r+   r/   r   r   r   r   r   M   s    … ØƒGØÓó4ðO˜#ô Or   r   c                   ó@   — e Zd ZU eed<   eed<   eed<   dd„Zdefd„Zy)	ÚRelatedObjectr   r   Úurlr%   Nc                 ó@   — |d   | _         |d   | _        |d   | _        y )Nr   r   r4   ©r   r   r4   r(   s     r   r+   zRelatedObject.__init__^   s#   € ØD‘'ˆŒØf‘IˆŒ	ØU‘8ˆr   c                 óV   — d| j                   › d| j                  › d| j                  › dS )Nz<RelatedObject id=ú type=z url=r-   r6   r.   s    r   r/   zRelatedObject.__repr__c   s)   € Ø# D§G¡G 9¨F°4·9±9°+¸UÀ4Ç8Á8À*ÈAÐNÐNr   r0   r1   r   r   r   r3   r3   Y   s$   … ØƒGØ
ƒIØ	ƒHóð
O˜#ô Or   r3   c                   ó    — e Zd ZU dZeed<   	 eed<   	 eed<   	 eed<   	 dZee   ed<   	 dZ	ee
   ed<   	 dZee   ed	<   	 d
eddfd„Zdefd„Zy)Ú	ThinEventa4  
    ThinEvent represents the json that's delivered from an Event Destination. It's a basic `dict` with no additional methods or properties. Use it to check basic information about a delivered event. If you want more details, use `stripe.v2.Event.retrieve(thin_event.id)` to fetch the full event object.
    r   r   r   r!   Nr   Úrelated_objectr    Úpayloadr%   c                 óT  — t        j                  |«      }|d   | _        |d   | _        |d   | _        |j                  d«      | _        |j                  d«      | _        |j                  d«      rt        |d   «      | _	        |j                  d«      rt        |d   «      | _        y y )Nr   r   r   r!   r   r;   r    )ÚjsonÚloadsr   r   r   Úgetr!   r   r3   r;   r   r    )r)   r<   Úparseds      r   r+   zThinEvent.__init__‰   s”   € Ü—‘˜GÓ$ˆà˜‘,ˆŒØ˜6‘NˆŒ	Ø˜iÑ(ˆŒØŸ
™
 :Ó.ˆŒØ—z‘z )Ó,ˆŒØ:‰:Ð&Ô'Ü"/°Ð7GÑ0HÓ"IˆDÔØ:‰:hÔÜ  ¨Ñ!1Ó2ˆDKð  r   c                 ó¤   — d| j                   › d| j                  › d| j                  › d| j                  › d| j                  › d| j
                  › dS )Nz<ThinEvent id=r8   z	 created=z	 context=z related_object=z reason=r-   )r   r   r   r   r;   r    r.   s    r   r/   zThinEvent.__repr__–   s   € Ø §¡˜y¨¨t¯y©y¨k¸À4Ç<Á<À.ÐPYÐZ^×ZfÑZfÐYgÐgwÐx|÷  yLñ  yLð  xMð  MUð  VZ÷  Vañ  Vað  Ubð  bcð  dð  	dr   )r   r   r   r"   r   r   r#   r   r   r;   r3   r    r   r+   r/   r   r   r   r:   r:   g   s™   … ñð 	ƒGðð ƒIðð ƒLðð ƒNðð "€GˆXc‰]Ó!ðð /3€NH˜]Ñ+Ó2ðð  $€FˆHVÑÓ#ðð3 ð 3¨ó 3ðd˜#ô dr   r:   )r>   Útypingr   r   Útyping_extensionsr   Ústripe._stripe_objectr   r   r   r3   r:   r   r   r   Ú<module>rF      sD   ðó ß %å %å .ô8,ˆLô 8,÷|	Oñ 	O÷Oñ O÷0dò 0dr   