
    _j                        S SK Jr  S SKJrJrJr  S SKJrJr  S SK	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  SSKJr  SS	KJrJrJrJrJrJrJrJ r   SS
K!J"r"J#r#J$r$J%r%  SSK&J'r'  SSK(J)r)J*r*  SSK+J,r,J-r-J.r.J/r/J0r0J1r1  SSK2J3r3J4r4  SSK5J6r6  SSK7J8r8J9r9  SSK:J;r;  SSK<Jr  SSK=Jr  SSK>J?r?  SSK@JArA  SSKBJCrC  SSKDJErE  SS/rF " S S\)5      rG " S S\*5      rH " S S5      rI " S S5      rJ " S  S!5      rK " S" S#5      rLg)$    )annotations)TYPE_CHECKINGMappingcast)Literalassert_neverN   )_legacy_response)		VideoSizeVideoSecondsvideo_edit_paramsvideo_list_paramsvideo_remix_paramsvideo_create_paramsvideo_extend_paramsvideo_create_character_paramsvideo_download_content_params)deepcopy_with_paths)BodyOmitQueryHeadersNotGiven	FileTypesomit	not_given)extract_filespath_templatemaybe_transformasync_maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)StreamedBinaryAPIResponseAsyncStreamedBinaryAPIResponseto_streamed_response_wrapper"async_to_streamed_response_wrapper#to_custom_streamed_response_wrapper)async_to_custom_streamed_response_wrapper)SyncConversationCursorPageAsyncConversationCursorPage)Video)AsyncPaginatormake_request_options)is_given)r   )r   )VideoModelParam)VideoDeleteResponse)VideoGetCharacterResponse)VideoCreateCharacterResponseVideosAsyncVideosc            
         \ rS rSr\SS j5       r\SS j5       r\\\\SSS\S.                   SS jjr	\\\\\SSS\S.	                     SS jjr
\S	.     SS
 jjrSSS\S.           SS jjr\\\SSS\S.               SS jjrSSS\S.           SS jjrSSS\S.             S S jjr\SSS\S.             S!S jjrSSS\S.             S"S jjrSSS\S.               S#S jjrSSS\S.           S$S jjrSSS\S.             S%S jjrSrg)&r4   1   c                    [        U 5      $ z
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
)VideosWithRawResponseselfs    L/home/rurouni/.local/lib/python3.13/site-packages/openai/resources/videos.pywith_raw_responseVideos.with_raw_response2   s     %T**    c                    [        U 5      $ z
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/openai/openai-python#with_streaming_response
)VideosWithStreamingResponser;   s    r=   with_streaming_responseVideos.with_streaming_response<   s     +400r@   Ninput_referencemodelsecondssizeextra_headersextra_query
extra_bodytimeoutc       	           [        UUUUUS.S//5      n
[        [        [        [        [
        4   U
5      S//S9nSS0U=(       d    0 EnU R                  S[        U
[        R                  5      U[        UUUU	SS0S	9[        S
9$ )<  
Create a new video generation job from a prompt and optional reference assets.

Args:
  prompt: Text prompt that describes the video to generate.

  input_reference: Optional reference asset upload or reference object that guides generation.

  model: The video generation model to use (allowed values: sora-2, sora-2-pro). Defaults
      to `sora-2`.

  seconds: Clip duration in seconds (allowed values: 4, 8, 12). Defaults to 4 seconds.

  size: Output resolution formatted as width x height (allowed values: 720x1280,
      1280x720, 1024x1792, 1792x1024). Defaults to 720x1280.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
promptrG   rH   rI   rJ   rG   pathsContent-Typemultipart/form-data/videosbearer_authTrK   rL   rM   rN   securitybodyfilesoptionscast_to)r   r   r   r   strobject_postr   r   VideoCreateParamsr.   r,   r<   rR   rG   rH   rI   rJ   rK   rL   rM   rN   r\   r]   s               r=   createVideos.createE   s    N # #2"   !	
 d73;#7>HYGZF[\ ()>X=CVTVXzz ':'L'LM(+'%'.   
 	
r@   	rG   rH   rI   rJ   poll_interval_msrK   rL   rM   rN   c       
        d    U R                  UUUUUUUU	U
S9	nU R                  UR                  US9$ )/Create a video and wait for it to be processed.	rH   rR   rG   rI   rJ   rK   rL   rM   rN   rh   re   pollidr<   rR   rG   rH   rI   rJ   rh   rK   rL   rM   rN   videos               r=   create_and_pollVideos.create_and_poll   sT    " +'#!  

 yyHH-  
 	
r@   rl   c                  SS0n[        U5      (       a  [        U5      US'    U R                  R                  UUS9nUR	                  5       nUR
                  S:X  d  UR
                  S:X  aQ  [        U5      (       d,  UR                  R                  S5      nUb  [        U5      nOSnU R                  US-  5        OEUR
                  S	:X  d  UR
                  S
:X  a  U$ [        (       a  [        UR
                  5        OU$ M  )Wait for the vector store file to finish processing.

Note: this will return even if the file failed to process, you need to check
file.last_error and file.status to handle these cases
X-Stainless-Poll-Helpertrue X-Stainless-Custom-Poll-IntervalrK   in_progressqueuedopenai-poll-after-ms  	completedfailedr/   r`   r>   retrieveparsestatusheadersgetint_sleepr   r   r<   video_idrh   r   responserq   from_headers          r=   rn   Videos.poll   s     $=f"E$%%:=>N:OG67--66% 7 H
 NN$E||},0H 011"*"2"2"6"67M"NK".+.{+;(+/(,t34,0H = . L- r@   rK   rL   rM   rN   c                   U(       d  [        SU< 35      eU R                  [        SUS9[        UUUUSS0S9[        S9$ ),  
Fetch the latest metadata for a generated video.

Args:
  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
7Expected a non-empty value for `video_id` but received /videos/{video_id}r   rX   TrY   r^   r_   
ValueError_getr   r.   r,   r<   r   rK   rL   rM   rN   s         r=   r   Videos.retrieve   s^    . VW_Vbcddyy.B(+'%'.   

 
	
r@   afterlimitorderrK   rL   rM   rN   c                   U R                  S[        [           [        UUUU[	        UUUS.[
        R                  5      SS0S9[        S9$ a  
List recently generated videos for the current project.

Args:
  after: Identifier for the last item from the previous pagination request

  limit: Number of items to retrieve

  order: Sort order of results by timestamp. Use `asc` for ascending order or `desc` for
      descending order.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
rW   )r   r   r   rX   TrK   rL   rM   rN   queryrZ   )pager^   rH   )_get_api_listr*   r,   r.   r   r   VideoListParamsr<   r   r   r   rK   rL   rM   rN   s           r=   listVideos.list   sl    @ !!+E2(+'%%!&!&!&
 &55 (. % " 
 	
r@   c                   U(       d  [        SU< 35      eU R                  [        SUS9[        UUUUSS0S9[        S9$ )A  
Permanently delete a completed or failed video and its stored assets.

Args:
  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
r   r   r   rX   TrY   r   r   _deleter   r.   r1   r   s         r=   deleteVideos.delete,  s^    . VW_Vbcdd||.B(+'%'. (  

 
	
r@   c                  [        UUS.S//5      n[        [        [        [        [
        4   U5      S//S9nSS0U=(       d    0 EnU R                  S[        U[        R                  5      U[        UUUUSS0S	9[        S
9$ )  
Create a character from an uploaded video.

Args:
  name: Display name for this API character.

  video: Video file used to create a character.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
namerq   rq   rS   rU   rV   /videos/charactersrX   TrY   r[   )r   r   r   r   r`   ra   rb   r   r   VideoCreateCharacterParamsr.   r3   	r<   r   rq   rK   rL   rM   rN   r\   r]   s	            r=   create_characterVideos.create_characterQ  s    8 # YK
 d73;#7>ykR ()>X=CVTVXzz  'D'_'_`(+'%'. 1  
 	
r@   variantrK   rL   rM   rN   c                   U(       d  [        SU< 35      eSS0U=(       d    0 EnU R                  [        SUS9[        UUUU[	        SU0[
        R                  5      SS0S	9[        R                  S
9$ )  
Download the generated video bytes or a derived preview asset.

Streams the rendered video content for the specified video job.

Args:
  variant: Which downloadable asset to return. Defaults to the MP4 video.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
r   Acceptapplication/binary/videos/{video_id}/contentr   r   rX   Tr   r   )	r   r   r   r.   r   r   VideoDownloadContentParamsr
   HttpxBinaryResponseContentr<   r   r   rK   rL   rM   rN   s          r=   download_contentVideos.download_content  s    8 VW_Vbcdd!#7QM<ORQyy6J(+'%%y'&:<Y<t<tu'. %??  
 	
r@   c                  [        UUS.S//5      n[        [        [        [        [
        4   U5      S//S9nSS0U=(       d    0 EnU R                  S[        U[        R                  5      U[        UUUUSS0S	9[        S
9$ )  
Create a new video generation job by editing a source video or existing
generated video.

Args:
  prompt: Text prompt that describes how to edit the source video.

  video: Reference to the completed video to edit.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
rR   rq   rq   rS   rU   rV   /videos/editsrX   TrY   r[   )r   r   r   r   r`   ra   rb   r   r   VideoEditParamsr.   r,   	r<   rR   rq   rK   rL   rM   rN   r\   r]   s	            r=   editVideos.edit  s    : #  YK
 d73;#7>ykR ()>X=CVTVXzz '8'H'HI(+'%'.   
 	
r@   c               
   [        UUUS.S//5      n[        [        [        [        [
        4   U5      S//S9n	SS0U=(       d    0 EnU R                  S[        U[        R                  5      U	[        UUUUSS0S	9[        S
9$ )  
Create an extension of a completed video.

Args:
  prompt: Updated text prompt that directs the extension generation.

  seconds: Length of the newly generated extension segment in seconds (allowed values: 4,
      8, 12, 16, 20).

  video: Reference to the completed video to extend.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
rR   rI   rq   rq   rS   rU   rV   /videos/extensionsrX   TrY   r[   )r   r   r   r   r`   ra   rb   r   r   VideoExtendParamsr.   r,   
r<   rR   rI   rq   rK   rL   rM   rN   r\   r]   s
             r=   extendVideos.extend  s    @ # "
 YK
 d73;#7>ykR ()>X=CVTVXzz  ':'L'LM(+'%'.   
 	
r@   c                   U(       d  [        SU< 35      eU R                  [        SUS9[        UUUUSS0S9[        S9$ )  
Fetch a character.

Args:
  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
;Expected a non-empty value for `character_id` but received !/videos/characters/{character_id}character_idrX   TrY   r   r   r   r   r.   r2   r<   r   rK   rL   rM   rN   s         r=   get_characterVideos.get_character%  s^    . Z[gZjkllyy=LY(+'%'. .  

 
	
r@   c                   U(       d  [        SU< 35      eU R                  [        SUS9[        SU0[        R
                  5      [        UUUUSS0S9[        S9$ )	{  
Create a remix of a completed video using a refreshed prompt.

Args:
  prompt: Updated text prompt that directs the remix generation.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
r   /videos/{video_id}/remixr   rR   rX   TrY   r\   r^   r_   )r   rb   r   r   r   VideoRemixParamsr.   r,   r<   r   rR   rK   rL   rM   rN   s          r=   remixVideos.remixJ  st    4 VW_Vbcddzz4xH (F!35G5X5XY(+'%'.   
 	
r@    )returnr:   )r   rC   rR   r`   rG   )video_create_params.InputReference | OmitrH   VideoModelParam | OmitrI   VideoSeconds | OmitrJ   VideoSize | OmitrK   Headers | NonerL   Query | NonerM   Body | NonerN   'float | httpx.Timeout | None | NotGivenr   r,   rR   r`   rG   r   rH   r   rI   r   rJ   r   rh   
int | OmitrK   r   rL   r   rM   r   rN   r   r   r,   r   r`   rh   r   r   r,   r   r`   rK   r   rL   r   rM   r   rN   r   r   r,   )r   
str | Omitr   r   r   Literal['asc', 'desc'] | OmitrK   r   rL   r   rM   r   rN   r   r   z!SyncConversationCursorPage[Video]r   r`   rK   r   rL   r   rM   r   rN   r   r   r1   r   r`   rq   r   rK   r   rL   r   rM   r   rN   r   r   r3   r   r`   r   z3Literal['video', 'thumbnail', 'spritesheet'] | OmitrK   r   rL   r   rM   r   rN   r   r   z+_legacy_response.HttpxBinaryResponseContentrR   r`   rq   zvideo_edit_params.VideorK   r   rL   r   rM   r   rN   r   r   r,   rR   r`   rI   r   rq   zvideo_extend_params.VideorK   r   rL   r   rM   r   rN   r   r   r,   r   r`   rK   r   rL   r   rM   r   rN   r   r   r2   r   r`   rR   r`   rK   r   rL   r   rM   r   rN   r   r   r,   __name__
__module____qualname____firstlineno__r!   r>   rD   r   r   re   rr   rn   r   r   r   r   r   r   r   r   r   __static_attributes__r   r@   r=   r4   r4   1   s   + + 1 1 FJ(,'+!% )-$("&;DB
 B
 C	B

 &B
 %B
 B
 &B
 "B
  B
 9B
 
B
P FJ(,'+!%'+ )-$("&;D 
  
 C	 

 & 
 % 
  
 % 
 & 
 " 
   
 9 
 
 
L (,	%!%! %	%!
 
%!Z )-$("&;D#
#
 &#
 "#
  #
 9#
 
#
P ! /3 )-$("&;D3
 3
 	3

 -3
 &3
 "3
  3
 93
 
+3
v )-$("&;D#
#
 &#
 "#
  #
 9#
 
#
X )-$("&;D4
 4
 	4
 &4
 "4
  4
 94
 
&4
t HL )-$("&;D*
*
 E	*
 &*
 "*
  *
 9*
 
5*
f )-$("&;D5
 5
 '	5
 &5
 "5
  5
 95
 
5
~ )-$("&;D9
 9
 	9

 )9
 &9
 "9
  9
 99
 
9
B )-$("&;D#
#
 &#
 "#
  #
 9#
 
##
X )-$("&;D'
'
 	'
 &'
 "'
  '
 9'
 
'
 '
r@   c            
         \ rS rSr\SS j5       r\SS j5       r\\\\SSS\S.                   SS jjr	\\\\\SSS\S.	                     SS jjr
\S	.     SS
 jjrSSS\S.           SS jjr\\\SSS\S.               SS jjrSSS\S.           SS jjrSSS\S.             S S jjr\SSS\S.             S!S jjrSSS\S.             S"S jjrSSS\S.               S#S jjrSSS\S.           S$S jjrSSS\S.             S%S jjrSrg)&r5   it  c                    [        U 5      $ r9   )AsyncVideosWithRawResponser;   s    r=   r>   AsyncVideos.with_raw_responseu  s     *$//r@   c                    [        U 5      $ rB   ) AsyncVideosWithStreamingResponser;   s    r=   rD   #AsyncVideos.with_streaming_response  s     055r@   NrF   c       	        >  #    [        UUUUUS.S//5      n
[        [        [        [        [
        4   U
5      S//S9nSS0U=(       d    0 EnU R                  S[        U
[        R                  5      I Sh  vN U[        UUUU	SS	0S
9[        S9I Sh  vN $  N" N7f)rP   rQ   rG   rS   rU   rV   rW   NrX   TrY   r[   )r   r   r   r   r`   ra   rb   r    r   rc   r.   r,   rd   s               r=   re   AsyncVideos.create  s     N # #2"   !	
 d73;#7>HYGZF[\ ()>X=CVTVXZZ,T3F3X3XYY(+'%'.    
 
 	
Y
s$   A4B6B
7BBBBrg   c       
           #    U R                  UUUUUUUU	U
S9	I Sh  vN nU R                  UR                  US9I Sh  vN $  N& N7f)rj   rk   Nrl   rm   rp   s               r=   rr   AsyncVideos.create_and_poll  sk     " kk+'#! " 

 

 YYHH-  
 
 	



s    AA!AA AArl   c               <  #    SS0n[        U5      (       a  [        U5      US'    U R                  R                  UUS9I Sh  vN nUR	                  5       nUR
                  S:X  d  UR
                  S:X  aY  [        U5      (       d,  UR                  R                  S5      nUb  [        U5      nOS	nU R                  US	-  5      I Sh  vN   OEUR
                  S
:X  d  UR
                  S:X  a  U$ [        (       a  [        UR
                  5        OU$ M   N NN7f)ru   rv   rw   rx   ry   Nrz   r{   r|   r}   r~   r   r   r   s          r=   rn   AsyncVideos.poll  s     $=f"E$%%:=>N:OG67!33<<% =  H
 NN$E||},0H 011"*"2"2"6"67M"NK".+.{+;(+/(kk"2T"9:::,0H = . L-  ;s&   ADDBDDADDr   c                  #    U(       d  [        SU< 35      eU R                  [        SUS9[        UUUUSS0S9[        S9I Sh  vN $  N7f)	r   r   r   r   rX   TrY   r   Nr   r   s         r=   r   AsyncVideos.retrieve  sk     . VW_VbcddYY.B(+'%'.   

 

 
	
 

   AAAAr   c                   U R                  S[        [           [        UUUU[	        UUUS.[
        R                  5      SS0S9[        S9$ r   )r   r+   r,   r.   r   r   r   r   s           r=   r   AsyncVideos.list:  sl    @ !!,U3(+'%%!&!&!&
 &55 (. % " 
 	
r@   c                  #    U(       d  [        SU< 35      eU R                  [        SUS9[        UUUUSS0S9[        S9I Sh  vN $  N7f)	r   r   r   r   rX   TrY   r   Nr   r   s         r=   r   AsyncVideos.deleteo  sk     . VW_Vbcdd\\.B(+'%'. ( " 

 

 
	
 

r  c               8  #    [        UUS.S//5      n[        [        [        [        [
        4   U5      S//S9nSS0U=(       d    0 EnU R                  S[        U[        R                  5      I Sh  vN U[        UUUUSS	0S
9[        S9I Sh  vN $  N" N7f)r   r   rq   rS   rU   rV   r   NrX   TrY   r[   )r   r   r   r   r`   ra   rb   r    r   r   r.   r3   r   s	            r=   r   AsyncVideos.create_character  s     8 # YK
 d73;#7>ykR ()>X=CVTVXZZ ,T3P3k3kll(+'%'. 1   
 
 	
l
$   A1B3B
4BBBBr   c                 #    U(       d  [        SU< 35      eSS0U=(       d    0 EnU R                  [        SUS9[        UUUU[	        SU0[
        R                  5      I Sh  vN SS	0S
9[        R                  S9I Sh  vN $  N" N7f)r   r   r   r   r   r   r   NrX   Tr   r   )	r   r   r   r.   r    r   r   r
   r   r   s          r=   r   AsyncVideos.download_content  s     8 VW_Vbcdd!#7QM<ORQYY6J(+'%1(*G*b*b  (.	 %??  
 
 	

s$   A"B$B%BB	B	Bc               8  #    [        UUS.S//5      n[        [        [        [        [
        4   U5      S//S9nSS0U=(       d    0 EnU R                  S[        U[        R                  5      I Sh  vN U[        UUUUSS	0S
9[        S9I Sh  vN $  N" N7f)r   r   rq   rS   rU   rV   r   NrX   TrY   r[   )r   r   r   r   r`   ra   rb   r    r   r   r.   r,   r   s	            r=   r   AsyncVideos.edit  s     : #  YK
 d73;#7>ykR ()>X=CVTVXZZ,T3D3T3TUU(+'%'.    
 
 	
U
r  c               :  #    [        UUUS.S//5      n[        [        [        [        [
        4   U5      S//S9n	SS0U=(       d    0 EnU R                  S[        U[        R                  5      I Sh  vN U	[        UUUUSS	0S
9[        S9I Sh  vN $  N" N7f)r   r   rq   rS   rU   rV   r   NrX   TrY   r[   )r   r   r   r   r`   ra   rb   r    r   r   r.   r,   r   s
             r=   r   AsyncVideos.extend/  s     @ # "
 YK
 d73;#7>ykR ()>X=CVTVXZZ ,T3F3X3XYY(+'%'.    
 
 	
Y
s$   A2B4B
5BBBBc                  #    U(       d  [        SU< 35      eU R                  [        SUS9[        UUUUSS0S9[        S9I Sh  vN $  N7f)	r   r   r   r   rX   TrY   r   Nr   r   s         r=   r   AsyncVideos.get_characterj  sk     . Z[gZjkllYY=LY(+'%'. .  

 

 
	
 

r  c                  #    U(       d  [        SU< 35      eU R                  [        SUS9[        SU0[        R
                  5      I Sh  vN [        UUUUSS0S9[        S	9I Sh  vN $  N! N7f)
r   r   r   r   rR   NrX   TrY   r   )r   rb   r   r    r   r   r.   r,   r   s          r=   r   AsyncVideos.remix  s     4 VW_VbcddZZ4xH,h-?ASAdAdee(+'%'.    
 
 	
e
s$   A
A2A.
A2)A0*A20A2r   )r   r  )r   r  r   r   r   r   )r   r   r   r   r   r   rK   r   rL   r   rM   r   rN   r   r   z9AsyncPaginator[Video, AsyncConversationCursorPage[Video]]r   r   r   r   r   r   r   r   r   r@   r=   r5   r5   t  s   0 0 6 6 FJ(,'+!% )-$("&;DB
 B
 C	B

 &B
 %B
 B
 &B
 "B
  B
 9B
 
B
P FJ(,'+!%'+ )-$("&;D 
  
 C	 

 & 
 % 
  
 % 
 & 
 " 
   
 9 
 
 
L (,	%!%! %	%!
 
%!Z )-$("&;D#
#
 &#
 "#
  #
 9#
 
#
P ! /3 )-$("&;D3
 3
 	3

 -3
 &3
 "3
  3
 93
 
C3
v )-$("&;D#
#
 &#
 "#
  #
 9#
 
#
X )-$("&;D4
 4
 	4
 &4
 "4
  4
 94
 
&4
t HL )-$("&;D,
,
 E	,
 &,
 ",
  ,
 9,
 
5,
j )-$("&;D5
 5
 '	5
 &5
 "5
  5
 95
 
5
~ )-$("&;D9
 9
 	9

 )9
 &9
 "9
  9
 99
 
9
B )-$("&;D#
#
 &#
 "#
  #
 9#
 
##
X )-$("&;D'
'
 	'
 &'
 "'
  '
 9'
 
'
 '
r@   c                      \ rS rSrSS jrSrg)r:   i  c                   Xl         [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR
                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l	        [        R                  " UR                  5      U l
        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        g N)_videosr
   to_raw_response_wrapperre   r   r   r   r   r   r   r   r   r   r<   videoss     r=   __init__VideosWithRawResponse.__init__  s   &>>MM
 )@@OO
 %<<KK
	 '>>MM
 !1 H H##!
 !1 H H##!
 %<<KK
	 '>>MM
 .EE  
 &==LL

r@   r&  re   r   r   r   r   r   r   r   r   r   Nr)  r4   r   Noner   r   r   r   r*  r  r   r@   r=   r:   r:          
r@   r:   c                      \ rS rSrSS jrSrg)r  i  c                   Xl         [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR
                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l	        [        R                  " UR                  5      U l
        [        R                  " UR                  5      U l        [        R                  " UR                  5      U l        g r%  )r&  r
   async_to_raw_response_wrapperre   r   r   r   r   r   r   r   r   r   r(  s     r=   r*  #AsyncVideosWithRawResponse.__init__  s   &DDMM
 )FFOO
 %BBKK
	 'DDMM
 !1 N N##!
 !1 N N##!
 %BBKK
	 'DDMM
 .KK  
 &CCLL

r@   r,  Nr)  r5   r   r.  r/  r   r@   r=   r  r    r0  r@   r  c                      \ rS rSrSS jrSrg)rC   i  c                "   Xl         [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR
                  5      U l        [        UR                  5      U l        [        UR                  [        5      U l        [        UR                  5      U l
        [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        g r%  )r&  r&   re   r   r   r   r   r(   r   r$   r   r   r   r   r(  s     r=   r*  $VideosWithStreamingResponse.__init__  s    2MM
 5OO
 1KK
	 3MM
 !=##!
 !D##%!
 1KK
	 3MM
 :  
 2LL

r@   r,  Nr-  r/  r   r@   r=   rC   rC         !
r@   rC   c                      \ rS rSrSS jrSrg)r  i&  c                "   Xl         [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        [        UR
                  5      U l        [        UR                  5      U l        [        UR                  [        5      U l        [        UR                  5      U l
        [        UR                  5      U l        [        UR                  5      U l        [        UR                  5      U l        g r%  )r&  r'   re   r   r   r   r   r)   r   r%   r   r   r   r   r(  s     r=   r*  )AsyncVideosWithStreamingResponse.__init__'  s    8MM
 ;OO
 7KK
	 9MM
 !C##!
 !J##*!
 7KK
	 9MM
 @  
 8LL

r@   r,  Nr5  r/  r   r@   r=   r  r  &  r9  r@   r  )M
__future__r   typingr   r   r   typing_extensionsr   r   httpx r
   typesr   r   r   r   r   r   r   r   r   _filesr   _typesr   r   r   r   r   r   r   r   _utilsr   r   r   r    _compatr!   	_resourcer"   r#   	_responser$   r%   r&   r'   r(   r)   
paginationr*   r+   types.videor,   _base_clientr-   r.   _utils._utilsr/   types.video_sizetypes.video_secondstypes.video_model_paramr0   types.video_delete_responser1   "types.video_get_character_responser2   %types.video_create_character_responser3   __all__r4   r5   r:   r  rC   r  r   r@   r=   <module>rT     s    # / / 3  
 
 
 ) U U U Y Y % 9  Q  ? $ ( . 5 = J P]
#@	
_ @	
FB	
" B	
J!
 !
H!
 !
H"
 "
J"
 "
r@   