
    2h/                       % S SK Jr  S SKJr  S SKJrJrJrJrJ	r	  SSK
Jr  SSKJr  SSKJrJrJrJrJrJrJrJrJrJrJrJrJrJrJ r J!r!J"r"J#r#J$r$J%r%J&r&J'r'J(r(J)r)J*r*J+r+J,r,J-r-J.r.J/r/J0r0J1r1J2r2J3r3J4r4J5r5J6r6J7r7J8r8J9r9J:r:J;r;J<r<J=r=J>r>J?r?J@r@JArAJBrCJDrDJErEJFrFJGrGJHrH  \" SS	S
9rI " S S\5      r " S S\\\\I   5      r " S S\C5      rB " S S\\\\I   5      r\\/ \P\\I   P\BP\\I   P\P\P\+P\*P\EP\DP\FP\GP\HP\&P\$P\P\P\7P\:P\8P\>P\P\P\P\%P\"P\P\P\P\5P\9P\6P\@P\<P\AP\=P\.P\3P\2P\;P\'P\/P\,P\ P\(P\0P\)P\4P\?P\P\#P\1P\-P\!P7   \" SS94   rJS\KS'   g	)    )annotations)Optional)UnionGenericTypeVar	Annotated	TypeAlias   )PropertyInfo)GenericModel)6ParsedResponseResponseErrorEventResponseFailedEventResponseQueuedEventResponseCreatedEventResponseTextDoneEventResponseAudioDoneEventResponseCompletedEventResponseTextDeltaEventResponseAudioDeltaEventResponseIncompleteEventResponseInProgressEventResponseRefusalDoneEventResponseRefusalDeltaEventResponseMcpCallFailedEventResponseReasoningDoneEventResponseOutputItemDoneEventResponseReasoningDeltaEventResponseContentPartDoneEventResponseOutputItemAddedEventResponseContentPartAddedEventResponseMcpCallCompletedEventResponseMcpCallInProgressEventResponseMcpListToolsFailedEvent ResponseAudioTranscriptDoneEvent!ResponseAudioTranscriptDeltaEvent!ResponseMcpCallArgumentsDoneEvent!ResponseReasoningSummaryDoneEvent"ResponseImageGenCallCompletedEvent"ResponseMcpCallArgumentsDeltaEvent"ResponseMcpListToolsCompletedEvent"ResponseReasoningSummaryDeltaEvent#ResponseImageGenCallGeneratingEvent#ResponseImageGenCallInProgressEvent#ResponseMcpListToolsInProgressEvent#ResponseWebSearchCallCompletedEvent#ResponseWebSearchCallSearchingEvent$ResponseFileSearchCallCompletedEvent$ResponseFileSearchCallSearchingEvent$ResponseWebSearchCallInProgressEvent%ResponseFileSearchCallInProgressEvent%ResponseImageGenCallPartialImageEvent%ResponseReasoningSummaryPartDoneEvent%ResponseReasoningSummaryTextDoneEvent&ResponseFunctionCallArgumentsDoneEvent&ResponseOutputTextAnnotationAddedEvent&ResponseReasoningSummaryPartAddedEvent&ResponseReasoningSummaryTextDeltaEvent'ResponseFunctionCallArgumentsDeltaEvent(ResponseCodeInterpreterCallCodeDoneEvent)ResponseCodeInterpreterCallCodeDeltaEvent)ResponseCodeInterpreterCallCompletedEvent*ResponseCodeInterpreterCallInProgressEvent,ResponseCodeInterpreterCallInterpretingEventTextFormatTN)defaultc                       \ rS rSr% S\S'   Srg)r   H   strsnapshot N__name__
__module____qualname____firstlineno____annotations____static_attributes__rI       ^/var/www/auris/envauris/lib/python3.13/site-packages/openai/lib/streaming/responses/_events.pyr   r   H       MrQ   r   c                  $    \ rS rSr% SrS\S'   Srg)r   L   NzOptional[TextFormatT]parsedrI   )rK   rL   rM   rN   rV   rO   rP   rI   rQ   rR   r   r   L   s    $(F!(rQ   r   c                       \ rS rSr% S\S'   Srg)r=   P   rG   rH   rI   NrJ   rI   rQ   rR   r=   r=   P   rS   rQ   r=   c                       \ rS rSr% S\S'   Srg)r   T   zParsedResponse[TextFormatT]responserI   NrJ   rI   rQ   rR   r   r   T   s    ))rQ   r   type)discriminatorr	   ResponseStreamEvent)L
__future__r   typingr   typing_extensionsr   r   r   r   r	   _utilsr   _compatr   types.responsesr   r   r   r   r   r   RawResponseTextDoneEventr   r   RawResponseCompletedEventr   RawResponseTextDeltaEventr   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   *RawResponseFunctionCallArgumentsDeltaEventr>   r?   r@   rA   rB   rC   r^   rO   rI   rQ   rR   <module>ri      s6   "  K K # $7 7 7 7 7 7 7 7 7 7 7 7 7 7r 6 )4lGKDX ).X *6gkFZ * "+	6	$ 6	$k*6	$/6	$ 	{+6	$
 	 6	$ 	6	$ 	*6	$ 	)6	$ 	26	$ 	16	$ 	26	$ 	36	$ 	56	$ 	&6	$ 	%6	$  	!6	$" 	#6	$$ 	-%6	$& 	.'6	$( 	-)6	$* 	/+6	$, 	 -6	$. 	/6	$0 	 16	$2 	%36	$4 	$56	$6 	"76	$8 	!96	$: 	;6	$< 	,=6	$> 	-?6	$@ 	,A6	$B 	/C6	$D 	.E6	$F 	/G6	$H 	.I6	$J 	+K6	$L 	,M6	$N 	,O6	$P 	.Q6	$R 	&S6	$T 	+U6	$V 	*W6	$X 	#Y6	$Z 	'[6	$\ 	+]6	$^ 	(_6	$` 	,a6	$b 	/c6	$d 	e6	$f 	$g6	$h 	+i6	$j 	*k6	$l 	#m6	$9t v&u:(<" Y <rQ   