3131)
3232
3333if TYPE_CHECKING :
34- from .resources import chat , agents , models , embeddings , indexing_jobs , knowledge_bases
34+ from .resources import (
35+ auth ,
36+ chat ,
37+ agents ,
38+ models ,
39+ regions ,
40+ api_keys ,
41+ providers ,
42+ embeddings ,
43+ indexing_jobs ,
44+ knowledge_bases ,
45+ )
3546 from .resources .chat import ChatResource , AsyncChatResource
3647 from .resources .models import ModelsResource , AsyncModelsResource
48+ from .resources .regions import RegionsResource , AsyncRegionsResource
49+ from .resources .auth .auth import AuthResource , AsyncAuthResource
3750 from .resources .embeddings import EmbeddingsResource , AsyncEmbeddingsResource
3851 from .resources .agents .agents import AgentsResource , AsyncAgentsResource
3952 from .resources .indexing_jobs import IndexingJobsResource , AsyncIndexingJobsResource
53+ from .resources .api_keys .api_keys import APIKeysResource , AsyncAPIKeysResource
54+ from .resources .providers .providers import ProvidersResource , AsyncProvidersResource
4055 from .resources .knowledge_bases .knowledge_bases import KnowledgeBasesResource , AsyncKnowledgeBasesResource
4156
4257__all__ = [
@@ -112,6 +127,24 @@ def agents(self) -> AgentsResource:
112127
113128 return AgentsResource (self )
114129
130+ @cached_property
131+ def providers (self ) -> ProvidersResource :
132+ from .resources .providers import ProvidersResource
133+
134+ return ProvidersResource (self )
135+
136+ @cached_property
137+ def auth (self ) -> AuthResource :
138+ from .resources .auth import AuthResource
139+
140+ return AuthResource (self )
141+
142+ @cached_property
143+ def regions (self ) -> RegionsResource :
144+ from .resources .regions import RegionsResource
145+
146+ return RegionsResource (self )
147+
115148 @cached_property
116149 def indexing_jobs (self ) -> IndexingJobsResource :
117150 from .resources .indexing_jobs import IndexingJobsResource
@@ -124,6 +157,12 @@ def knowledge_bases(self) -> KnowledgeBasesResource:
124157
125158 return KnowledgeBasesResource (self )
126159
160+ @cached_property
161+ def api_keys (self ) -> APIKeysResource :
162+ from .resources .api_keys import APIKeysResource
163+
164+ return APIKeysResource (self )
165+
127166 @cached_property
128167 def chat (self ) -> ChatResource :
129168 from .resources .chat import ChatResource
@@ -316,6 +355,24 @@ def agents(self) -> AsyncAgentsResource:
316355
317356 return AsyncAgentsResource (self )
318357
358+ @cached_property
359+ def providers (self ) -> AsyncProvidersResource :
360+ from .resources .providers import AsyncProvidersResource
361+
362+ return AsyncProvidersResource (self )
363+
364+ @cached_property
365+ def auth (self ) -> AsyncAuthResource :
366+ from .resources .auth import AsyncAuthResource
367+
368+ return AsyncAuthResource (self )
369+
370+ @cached_property
371+ def regions (self ) -> AsyncRegionsResource :
372+ from .resources .regions import AsyncRegionsResource
373+
374+ return AsyncRegionsResource (self )
375+
319376 @cached_property
320377 def indexing_jobs (self ) -> AsyncIndexingJobsResource :
321378 from .resources .indexing_jobs import AsyncIndexingJobsResource
@@ -328,6 +385,12 @@ def knowledge_bases(self) -> AsyncKnowledgeBasesResource:
328385
329386 return AsyncKnowledgeBasesResource (self )
330387
388+ @cached_property
389+ def api_keys (self ) -> AsyncAPIKeysResource :
390+ from .resources .api_keys import AsyncAPIKeysResource
391+
392+ return AsyncAPIKeysResource (self )
393+
331394 @cached_property
332395 def chat (self ) -> AsyncChatResource :
333396 from .resources .chat import AsyncChatResource
@@ -471,6 +534,24 @@ def agents(self) -> agents.AgentsResourceWithRawResponse:
471534
472535 return AgentsResourceWithRawResponse (self ._client .agents )
473536
537+ @cached_property
538+ def providers (self ) -> providers .ProvidersResourceWithRawResponse :
539+ from .resources .providers import ProvidersResourceWithRawResponse
540+
541+ return ProvidersResourceWithRawResponse (self ._client .providers )
542+
543+ @cached_property
544+ def auth (self ) -> auth .AuthResourceWithRawResponse :
545+ from .resources .auth import AuthResourceWithRawResponse
546+
547+ return AuthResourceWithRawResponse (self ._client .auth )
548+
549+ @cached_property
550+ def regions (self ) -> regions .RegionsResourceWithRawResponse :
551+ from .resources .regions import RegionsResourceWithRawResponse
552+
553+ return RegionsResourceWithRawResponse (self ._client .regions )
554+
474555 @cached_property
475556 def indexing_jobs (self ) -> indexing_jobs .IndexingJobsResourceWithRawResponse :
476557 from .resources .indexing_jobs import IndexingJobsResourceWithRawResponse
@@ -483,6 +564,12 @@ def knowledge_bases(self) -> knowledge_bases.KnowledgeBasesResourceWithRawRespon
483564
484565 return KnowledgeBasesResourceWithRawResponse (self ._client .knowledge_bases )
485566
567+ @cached_property
568+ def api_keys (self ) -> api_keys .APIKeysResourceWithRawResponse :
569+ from .resources .api_keys import APIKeysResourceWithRawResponse
570+
571+ return APIKeysResourceWithRawResponse (self ._client .api_keys )
572+
486573 @cached_property
487574 def chat (self ) -> chat .ChatResourceWithRawResponse :
488575 from .resources .chat import ChatResourceWithRawResponse
@@ -514,6 +601,24 @@ def agents(self) -> agents.AsyncAgentsResourceWithRawResponse:
514601
515602 return AsyncAgentsResourceWithRawResponse (self ._client .agents )
516603
604+ @cached_property
605+ def providers (self ) -> providers .AsyncProvidersResourceWithRawResponse :
606+ from .resources .providers import AsyncProvidersResourceWithRawResponse
607+
608+ return AsyncProvidersResourceWithRawResponse (self ._client .providers )
609+
610+ @cached_property
611+ def auth (self ) -> auth .AsyncAuthResourceWithRawResponse :
612+ from .resources .auth import AsyncAuthResourceWithRawResponse
613+
614+ return AsyncAuthResourceWithRawResponse (self ._client .auth )
615+
616+ @cached_property
617+ def regions (self ) -> regions .AsyncRegionsResourceWithRawResponse :
618+ from .resources .regions import AsyncRegionsResourceWithRawResponse
619+
620+ return AsyncRegionsResourceWithRawResponse (self ._client .regions )
621+
517622 @cached_property
518623 def indexing_jobs (self ) -> indexing_jobs .AsyncIndexingJobsResourceWithRawResponse :
519624 from .resources .indexing_jobs import AsyncIndexingJobsResourceWithRawResponse
@@ -526,6 +631,12 @@ def knowledge_bases(self) -> knowledge_bases.AsyncKnowledgeBasesResourceWithRawR
526631
527632 return AsyncKnowledgeBasesResourceWithRawResponse (self ._client .knowledge_bases )
528633
634+ @cached_property
635+ def api_keys (self ) -> api_keys .AsyncAPIKeysResourceWithRawResponse :
636+ from .resources .api_keys import AsyncAPIKeysResourceWithRawResponse
637+
638+ return AsyncAPIKeysResourceWithRawResponse (self ._client .api_keys )
639+
529640 @cached_property
530641 def chat (self ) -> chat .AsyncChatResourceWithRawResponse :
531642 from .resources .chat import AsyncChatResourceWithRawResponse
@@ -557,6 +668,24 @@ def agents(self) -> agents.AgentsResourceWithStreamingResponse:
557668
558669 return AgentsResourceWithStreamingResponse (self ._client .agents )
559670
671+ @cached_property
672+ def providers (self ) -> providers .ProvidersResourceWithStreamingResponse :
673+ from .resources .providers import ProvidersResourceWithStreamingResponse
674+
675+ return ProvidersResourceWithStreamingResponse (self ._client .providers )
676+
677+ @cached_property
678+ def auth (self ) -> auth .AuthResourceWithStreamingResponse :
679+ from .resources .auth import AuthResourceWithStreamingResponse
680+
681+ return AuthResourceWithStreamingResponse (self ._client .auth )
682+
683+ @cached_property
684+ def regions (self ) -> regions .RegionsResourceWithStreamingResponse :
685+ from .resources .regions import RegionsResourceWithStreamingResponse
686+
687+ return RegionsResourceWithStreamingResponse (self ._client .regions )
688+
560689 @cached_property
561690 def indexing_jobs (self ) -> indexing_jobs .IndexingJobsResourceWithStreamingResponse :
562691 from .resources .indexing_jobs import IndexingJobsResourceWithStreamingResponse
@@ -569,6 +698,12 @@ def knowledge_bases(self) -> knowledge_bases.KnowledgeBasesResourceWithStreaming
569698
570699 return KnowledgeBasesResourceWithStreamingResponse (self ._client .knowledge_bases )
571700
701+ @cached_property
702+ def api_keys (self ) -> api_keys .APIKeysResourceWithStreamingResponse :
703+ from .resources .api_keys import APIKeysResourceWithStreamingResponse
704+
705+ return APIKeysResourceWithStreamingResponse (self ._client .api_keys )
706+
572707 @cached_property
573708 def chat (self ) -> chat .ChatResourceWithStreamingResponse :
574709 from .resources .chat import ChatResourceWithStreamingResponse
@@ -600,6 +735,24 @@ def agents(self) -> agents.AsyncAgentsResourceWithStreamingResponse:
600735
601736 return AsyncAgentsResourceWithStreamingResponse (self ._client .agents )
602737
738+ @cached_property
739+ def providers (self ) -> providers .AsyncProvidersResourceWithStreamingResponse :
740+ from .resources .providers import AsyncProvidersResourceWithStreamingResponse
741+
742+ return AsyncProvidersResourceWithStreamingResponse (self ._client .providers )
743+
744+ @cached_property
745+ def auth (self ) -> auth .AsyncAuthResourceWithStreamingResponse :
746+ from .resources .auth import AsyncAuthResourceWithStreamingResponse
747+
748+ return AsyncAuthResourceWithStreamingResponse (self ._client .auth )
749+
750+ @cached_property
751+ def regions (self ) -> regions .AsyncRegionsResourceWithStreamingResponse :
752+ from .resources .regions import AsyncRegionsResourceWithStreamingResponse
753+
754+ return AsyncRegionsResourceWithStreamingResponse (self ._client .regions )
755+
603756 @cached_property
604757 def indexing_jobs (self ) -> indexing_jobs .AsyncIndexingJobsResourceWithStreamingResponse :
605758 from .resources .indexing_jobs import AsyncIndexingJobsResourceWithStreamingResponse
@@ -612,6 +765,12 @@ def knowledge_bases(self) -> knowledge_bases.AsyncKnowledgeBasesResourceWithStre
612765
613766 return AsyncKnowledgeBasesResourceWithStreamingResponse (self ._client .knowledge_bases )
614767
768+ @cached_property
769+ def api_keys (self ) -> api_keys .AsyncAPIKeysResourceWithStreamingResponse :
770+ from .resources .api_keys import AsyncAPIKeysResourceWithStreamingResponse
771+
772+ return AsyncAPIKeysResourceWithStreamingResponse (self ._client .api_keys )
773+
615774 @cached_property
616775 def chat (self ) -> chat .AsyncChatResourceWithStreamingResponse :
617776 from .resources .chat import AsyncChatResourceWithStreamingResponse
0 commit comments