casedev 0.2.0__py3-none-any.whl → 0.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- casedev/_base_client.py +5 -2
- casedev/_client.py +275 -1
- casedev/_compat.py +3 -3
- casedev/_utils/_json.py +35 -0
- casedev/_version.py +1 -1
- casedev/resources/__init__.py +98 -0
- casedev/resources/applications/__init__.py +33 -0
- casedev/resources/applications/applications.py +102 -0
- casedev/resources/applications/v1/__init__.py +61 -0
- casedev/resources/applications/v1/deployments.py +867 -0
- casedev/resources/applications/v1/projects.py +1377 -0
- casedev/resources/applications/v1/v1.py +166 -0
- casedev/resources/applications/v1/workflows.py +182 -0
- casedev/resources/compute/v1/__init__.py +28 -0
- casedev/resources/compute/v1/instance_types.py +145 -0
- casedev/resources/compute/v1/instances.py +448 -0
- casedev/resources/compute/v1/v1.py +64 -0
- casedev/resources/database/__init__.py +33 -0
- casedev/resources/database/database.py +102 -0
- casedev/resources/database/v1/__init__.py +33 -0
- casedev/resources/database/v1/projects.py +771 -0
- casedev/resources/database/v1/v1.py +175 -0
- casedev/resources/legal/__init__.py +33 -0
- casedev/resources/legal/legal.py +102 -0
- casedev/resources/legal/v1.py +924 -0
- casedev/resources/memory/__init__.py +33 -0
- casedev/resources/memory/memory.py +102 -0
- casedev/resources/memory/v1.py +1100 -0
- casedev/resources/ocr/v1.py +2 -2
- casedev/resources/privilege/__init__.py +33 -0
- casedev/resources/privilege/privilege.py +102 -0
- casedev/resources/privilege/v1.py +260 -0
- casedev/resources/superdoc/__init__.py +33 -0
- casedev/resources/superdoc/superdoc.py +102 -0
- casedev/resources/superdoc/v1.py +349 -0
- casedev/resources/translate/__init__.py +33 -0
- casedev/resources/translate/translate.py +102 -0
- casedev/resources/translate/v1.py +418 -0
- casedev/resources/vault/__init__.py +14 -0
- casedev/resources/vault/graphrag.py +91 -0
- casedev/resources/vault/multipart.py +549 -0
- casedev/resources/vault/objects.py +481 -1
- casedev/resources/vault/vault.py +264 -5
- casedev/resources/voice/streaming.py +2 -2
- casedev/types/__init__.py +4 -0
- casedev/types/applications/v1/__init__.py +20 -0
- casedev/types/applications/v1/deployment_cancel_params.py +14 -0
- casedev/types/applications/v1/deployment_create_params.py +20 -0
- casedev/types/applications/v1/deployment_get_logs_params.py +14 -0
- casedev/types/applications/v1/deployment_list_params.py +23 -0
- casedev/types/applications/v1/deployment_retrieve_params.py +17 -0
- casedev/types/applications/v1/deployment_stream_params.py +17 -0
- casedev/types/applications/v1/project_create_deployment_params.py +29 -0
- casedev/types/applications/v1/project_create_domain_params.py +17 -0
- casedev/types/applications/v1/project_create_env_params.py +27 -0
- casedev/types/applications/v1/project_create_params.py +53 -0
- casedev/types/applications/v1/project_delete_params.py +14 -0
- casedev/types/applications/v1/project_get_runtime_logs_params.py +12 -0
- casedev/types/applications/v1/project_list_deployments_params.py +18 -0
- casedev/types/applications/v1/project_list_env_params.py +12 -0
- casedev/types/applications/v1/project_list_response.py +45 -0
- casedev/types/applications/v1/workflow_get_status_params.py +14 -0
- casedev/types/compute/v1/__init__.py +6 -0
- casedev/types/compute/v1/instance_create_params.py +28 -0
- casedev/types/compute/v1/instance_create_response.py +35 -0
- casedev/types/compute/v1/instance_delete_response.py +23 -0
- casedev/types/compute/v1/instance_list_response.py +45 -0
- casedev/types/compute/v1/instance_retrieve_response.py +55 -0
- casedev/types/compute/v1/instance_type_list_response.py +46 -0
- casedev/types/database/__init__.py +5 -0
- casedev/types/database/v1/__init__.py +14 -0
- casedev/types/database/v1/project_create_branch_params.py +17 -0
- casedev/types/database/v1/project_create_branch_response.py +30 -0
- casedev/types/database/v1/project_create_params.py +27 -0
- casedev/types/database/v1/project_create_response.py +47 -0
- casedev/types/database/v1/project_delete_response.py +13 -0
- casedev/types/database/v1/project_get_connection_params.py +15 -0
- casedev/types/database/v1/project_get_connection_response.py +18 -0
- casedev/types/database/v1/project_list_branches_response.py +37 -0
- casedev/types/database/v1/project_list_response.py +64 -0
- casedev/types/database/v1/project_retrieve_response.py +100 -0
- casedev/types/database/v1_get_usage_response.py +116 -0
- casedev/types/legal/__init__.py +20 -0
- casedev/types/legal/v1_find_params.py +23 -0
- casedev/types/legal/v1_find_response.py +37 -0
- casedev/types/legal/v1_get_citations_from_url_params.py +12 -0
- casedev/types/legal/v1_get_citations_from_url_response.py +69 -0
- casedev/types/legal/v1_get_citations_params.py +16 -0
- casedev/types/legal/v1_get_citations_response.py +60 -0
- casedev/types/legal/v1_get_full_text_params.py +23 -0
- casedev/types/legal/v1_get_full_text_response.py +35 -0
- casedev/types/legal/v1_list_jurisdictions_params.py +12 -0
- casedev/types/legal/v1_list_jurisdictions_response.py +35 -0
- casedev/types/legal/v1_research_params.py +27 -0
- casedev/types/legal/v1_research_response.py +51 -0
- casedev/types/legal/v1_similar_params.py +25 -0
- casedev/types/legal/v1_similar_response.py +42 -0
- casedev/types/legal/v1_verify_params.py +16 -0
- casedev/types/legal/v1_verify_response.py +92 -0
- casedev/types/memory/__init__.py +14 -0
- casedev/types/memory/v1_create_params.py +69 -0
- casedev/types/memory/v1_create_response.py +23 -0
- casedev/types/memory/v1_delete_all_params.py +45 -0
- casedev/types/memory/v1_delete_all_response.py +12 -0
- casedev/types/memory/v1_delete_response.py +13 -0
- casedev/types/memory/v1_list_params.py +54 -0
- casedev/types/memory/v1_list_response.py +29 -0
- casedev/types/memory/v1_retrieve_response.py +23 -0
- casedev/types/memory/v1_search_params.py +54 -0
- casedev/types/memory/v1_search_response.py +61 -0
- casedev/types/ocr/v1_process_params.py +21 -13
- casedev/types/ocr/v1_retrieve_response.py +7 -7
- casedev/types/privilege/__init__.py +6 -0
- casedev/types/privilege/v1_detect_params.py +34 -0
- casedev/types/privilege/v1_detect_response.py +41 -0
- casedev/types/superdoc/__init__.py +6 -0
- casedev/types/superdoc/v1_annotate_params.py +56 -0
- casedev/types/superdoc/v1_convert_params.py +23 -0
- casedev/types/translate/__init__.py +10 -0
- casedev/types/translate/v1_detect_params.py +18 -0
- casedev/types/translate/v1_detect_response.py +28 -0
- casedev/types/translate/v1_list_languages_params.py +18 -0
- casedev/types/translate/v1_list_languages_response.py +23 -0
- casedev/types/translate/v1_translate_params.py +30 -0
- casedev/types/translate/v1_translate_response.py +28 -0
- casedev/types/vault/__init__.py +14 -0
- casedev/types/vault/graphrag_process_object_response.py +45 -0
- casedev/types/vault/multipart_abort_params.py +15 -0
- casedev/types/vault/multipart_complete_params.py +26 -0
- casedev/types/vault/multipart_get_part_urls_params.py +24 -0
- casedev/types/vault/multipart_get_part_urls_response.py +19 -0
- casedev/types/vault/multipart_init_params.py +32 -0
- casedev/types/vault/multipart_init_response.py +23 -0
- casedev/types/vault/object_create_presigned_url_params.py +6 -0
- casedev/types/vault/object_delete_params.py +17 -0
- casedev/types/vault/object_delete_response.py +29 -0
- casedev/types/vault/object_get_ocr_words_params.py +28 -0
- casedev/types/vault/object_get_ocr_words_response.py +48 -0
- casedev/types/vault/object_get_summarize_job_response.py +40 -0
- casedev/types/vault/object_get_text_response.py +10 -10
- casedev/types/vault/object_list_response.py +13 -13
- casedev/types/vault/object_retrieve_response.py +13 -13
- casedev/types/vault/object_update_params.py +24 -0
- casedev/types/vault/object_update_response.py +39 -0
- casedev/types/vault_delete_params.py +17 -0
- casedev/types/vault_delete_response.py +30 -0
- casedev/types/vault_retrieve_response.py +13 -13
- casedev/types/vault_search_response.py +14 -0
- casedev/types/vault_update_params.py +21 -0
- casedev/types/vault_update_response.py +60 -0
- casedev/types/vault_upload_params.py +5 -2
- {casedev-0.2.0.dist-info → casedev-0.4.0.dist-info}/METADATA +1 -1
- casedev-0.4.0.dist-info/RECORD +275 -0
- casedev-0.2.0.dist-info/RECORD +0 -149
- /casedev/types/{webhooks → applications}/__init__.py +0 -0
- {casedev-0.2.0.dist-info → casedev-0.4.0.dist-info}/WHEEL +0 -0
- {casedev-0.2.0.dist-info → casedev-0.4.0.dist-info}/licenses/LICENSE +0 -0
casedev/resources/__init__.py
CHANGED
|
@@ -16,6 +16,14 @@ from .ocr import (
|
|
|
16
16
|
OcrResourceWithStreamingResponse,
|
|
17
17
|
AsyncOcrResourceWithStreamingResponse,
|
|
18
18
|
)
|
|
19
|
+
from .legal import (
|
|
20
|
+
LegalResource,
|
|
21
|
+
AsyncLegalResource,
|
|
22
|
+
LegalResourceWithRawResponse,
|
|
23
|
+
AsyncLegalResourceWithRawResponse,
|
|
24
|
+
LegalResourceWithStreamingResponse,
|
|
25
|
+
AsyncLegalResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
19
27
|
from .vault import (
|
|
20
28
|
VaultResource,
|
|
21
29
|
AsyncVaultResource,
|
|
@@ -40,6 +48,14 @@ from .format import (
|
|
|
40
48
|
FormatResourceWithStreamingResponse,
|
|
41
49
|
AsyncFormatResourceWithStreamingResponse,
|
|
42
50
|
)
|
|
51
|
+
from .memory import (
|
|
52
|
+
MemoryResource,
|
|
53
|
+
AsyncMemoryResource,
|
|
54
|
+
MemoryResourceWithRawResponse,
|
|
55
|
+
AsyncMemoryResourceWithRawResponse,
|
|
56
|
+
MemoryResourceWithStreamingResponse,
|
|
57
|
+
AsyncMemoryResourceWithStreamingResponse,
|
|
58
|
+
)
|
|
43
59
|
from .search import (
|
|
44
60
|
SearchResource,
|
|
45
61
|
AsyncSearchResource,
|
|
@@ -56,38 +72,120 @@ from .compute import (
|
|
|
56
72
|
ComputeResourceWithStreamingResponse,
|
|
57
73
|
AsyncComputeResourceWithStreamingResponse,
|
|
58
74
|
)
|
|
75
|
+
from .database import (
|
|
76
|
+
DatabaseResource,
|
|
77
|
+
AsyncDatabaseResource,
|
|
78
|
+
DatabaseResourceWithRawResponse,
|
|
79
|
+
AsyncDatabaseResourceWithRawResponse,
|
|
80
|
+
DatabaseResourceWithStreamingResponse,
|
|
81
|
+
AsyncDatabaseResourceWithStreamingResponse,
|
|
82
|
+
)
|
|
83
|
+
from .superdoc import (
|
|
84
|
+
SuperdocResource,
|
|
85
|
+
AsyncSuperdocResource,
|
|
86
|
+
SuperdocResourceWithRawResponse,
|
|
87
|
+
AsyncSuperdocResourceWithRawResponse,
|
|
88
|
+
SuperdocResourceWithStreamingResponse,
|
|
89
|
+
AsyncSuperdocResourceWithStreamingResponse,
|
|
90
|
+
)
|
|
91
|
+
from .privilege import (
|
|
92
|
+
PrivilegeResource,
|
|
93
|
+
AsyncPrivilegeResource,
|
|
94
|
+
PrivilegeResourceWithRawResponse,
|
|
95
|
+
AsyncPrivilegeResourceWithRawResponse,
|
|
96
|
+
PrivilegeResourceWithStreamingResponse,
|
|
97
|
+
AsyncPrivilegeResourceWithStreamingResponse,
|
|
98
|
+
)
|
|
99
|
+
from .translate import (
|
|
100
|
+
TranslateResource,
|
|
101
|
+
AsyncTranslateResource,
|
|
102
|
+
TranslateResourceWithRawResponse,
|
|
103
|
+
AsyncTranslateResourceWithRawResponse,
|
|
104
|
+
TranslateResourceWithStreamingResponse,
|
|
105
|
+
AsyncTranslateResourceWithStreamingResponse,
|
|
106
|
+
)
|
|
107
|
+
from .applications import (
|
|
108
|
+
ApplicationsResource,
|
|
109
|
+
AsyncApplicationsResource,
|
|
110
|
+
ApplicationsResourceWithRawResponse,
|
|
111
|
+
AsyncApplicationsResourceWithRawResponse,
|
|
112
|
+
ApplicationsResourceWithStreamingResponse,
|
|
113
|
+
AsyncApplicationsResourceWithStreamingResponse,
|
|
114
|
+
)
|
|
59
115
|
|
|
60
116
|
__all__ = [
|
|
117
|
+
"ApplicationsResource",
|
|
118
|
+
"AsyncApplicationsResource",
|
|
119
|
+
"ApplicationsResourceWithRawResponse",
|
|
120
|
+
"AsyncApplicationsResourceWithRawResponse",
|
|
121
|
+
"ApplicationsResourceWithStreamingResponse",
|
|
122
|
+
"AsyncApplicationsResourceWithStreamingResponse",
|
|
61
123
|
"ComputeResource",
|
|
62
124
|
"AsyncComputeResource",
|
|
63
125
|
"ComputeResourceWithRawResponse",
|
|
64
126
|
"AsyncComputeResourceWithRawResponse",
|
|
65
127
|
"ComputeResourceWithStreamingResponse",
|
|
66
128
|
"AsyncComputeResourceWithStreamingResponse",
|
|
129
|
+
"DatabaseResource",
|
|
130
|
+
"AsyncDatabaseResource",
|
|
131
|
+
"DatabaseResourceWithRawResponse",
|
|
132
|
+
"AsyncDatabaseResourceWithRawResponse",
|
|
133
|
+
"DatabaseResourceWithStreamingResponse",
|
|
134
|
+
"AsyncDatabaseResourceWithStreamingResponse",
|
|
67
135
|
"FormatResource",
|
|
68
136
|
"AsyncFormatResource",
|
|
69
137
|
"FormatResourceWithRawResponse",
|
|
70
138
|
"AsyncFormatResourceWithRawResponse",
|
|
71
139
|
"FormatResourceWithStreamingResponse",
|
|
72
140
|
"AsyncFormatResourceWithStreamingResponse",
|
|
141
|
+
"LegalResource",
|
|
142
|
+
"AsyncLegalResource",
|
|
143
|
+
"LegalResourceWithRawResponse",
|
|
144
|
+
"AsyncLegalResourceWithRawResponse",
|
|
145
|
+
"LegalResourceWithStreamingResponse",
|
|
146
|
+
"AsyncLegalResourceWithStreamingResponse",
|
|
73
147
|
"LlmResource",
|
|
74
148
|
"AsyncLlmResource",
|
|
75
149
|
"LlmResourceWithRawResponse",
|
|
76
150
|
"AsyncLlmResourceWithRawResponse",
|
|
77
151
|
"LlmResourceWithStreamingResponse",
|
|
78
152
|
"AsyncLlmResourceWithStreamingResponse",
|
|
153
|
+
"MemoryResource",
|
|
154
|
+
"AsyncMemoryResource",
|
|
155
|
+
"MemoryResourceWithRawResponse",
|
|
156
|
+
"AsyncMemoryResourceWithRawResponse",
|
|
157
|
+
"MemoryResourceWithStreamingResponse",
|
|
158
|
+
"AsyncMemoryResourceWithStreamingResponse",
|
|
79
159
|
"OcrResource",
|
|
80
160
|
"AsyncOcrResource",
|
|
81
161
|
"OcrResourceWithRawResponse",
|
|
82
162
|
"AsyncOcrResourceWithRawResponse",
|
|
83
163
|
"OcrResourceWithStreamingResponse",
|
|
84
164
|
"AsyncOcrResourceWithStreamingResponse",
|
|
165
|
+
"PrivilegeResource",
|
|
166
|
+
"AsyncPrivilegeResource",
|
|
167
|
+
"PrivilegeResourceWithRawResponse",
|
|
168
|
+
"AsyncPrivilegeResourceWithRawResponse",
|
|
169
|
+
"PrivilegeResourceWithStreamingResponse",
|
|
170
|
+
"AsyncPrivilegeResourceWithStreamingResponse",
|
|
85
171
|
"SearchResource",
|
|
86
172
|
"AsyncSearchResource",
|
|
87
173
|
"SearchResourceWithRawResponse",
|
|
88
174
|
"AsyncSearchResourceWithRawResponse",
|
|
89
175
|
"SearchResourceWithStreamingResponse",
|
|
90
176
|
"AsyncSearchResourceWithStreamingResponse",
|
|
177
|
+
"SuperdocResource",
|
|
178
|
+
"AsyncSuperdocResource",
|
|
179
|
+
"SuperdocResourceWithRawResponse",
|
|
180
|
+
"AsyncSuperdocResourceWithRawResponse",
|
|
181
|
+
"SuperdocResourceWithStreamingResponse",
|
|
182
|
+
"AsyncSuperdocResourceWithStreamingResponse",
|
|
183
|
+
"TranslateResource",
|
|
184
|
+
"AsyncTranslateResource",
|
|
185
|
+
"TranslateResourceWithRawResponse",
|
|
186
|
+
"AsyncTranslateResourceWithRawResponse",
|
|
187
|
+
"TranslateResourceWithStreamingResponse",
|
|
188
|
+
"AsyncTranslateResourceWithStreamingResponse",
|
|
91
189
|
"VaultResource",
|
|
92
190
|
"AsyncVaultResource",
|
|
93
191
|
"VaultResourceWithRawResponse",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .v1 import (
|
|
4
|
+
V1Resource,
|
|
5
|
+
AsyncV1Resource,
|
|
6
|
+
V1ResourceWithRawResponse,
|
|
7
|
+
AsyncV1ResourceWithRawResponse,
|
|
8
|
+
V1ResourceWithStreamingResponse,
|
|
9
|
+
AsyncV1ResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .applications import (
|
|
12
|
+
ApplicationsResource,
|
|
13
|
+
AsyncApplicationsResource,
|
|
14
|
+
ApplicationsResourceWithRawResponse,
|
|
15
|
+
AsyncApplicationsResourceWithRawResponse,
|
|
16
|
+
ApplicationsResourceWithStreamingResponse,
|
|
17
|
+
AsyncApplicationsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"V1Resource",
|
|
22
|
+
"AsyncV1Resource",
|
|
23
|
+
"V1ResourceWithRawResponse",
|
|
24
|
+
"AsyncV1ResourceWithRawResponse",
|
|
25
|
+
"V1ResourceWithStreamingResponse",
|
|
26
|
+
"AsyncV1ResourceWithStreamingResponse",
|
|
27
|
+
"ApplicationsResource",
|
|
28
|
+
"AsyncApplicationsResource",
|
|
29
|
+
"ApplicationsResourceWithRawResponse",
|
|
30
|
+
"AsyncApplicationsResourceWithRawResponse",
|
|
31
|
+
"ApplicationsResourceWithStreamingResponse",
|
|
32
|
+
"AsyncApplicationsResourceWithStreamingResponse",
|
|
33
|
+
]
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .v1.v1 import (
|
|
6
|
+
V1Resource,
|
|
7
|
+
AsyncV1Resource,
|
|
8
|
+
V1ResourceWithRawResponse,
|
|
9
|
+
AsyncV1ResourceWithRawResponse,
|
|
10
|
+
V1ResourceWithStreamingResponse,
|
|
11
|
+
AsyncV1ResourceWithStreamingResponse,
|
|
12
|
+
)
|
|
13
|
+
from ..._compat import cached_property
|
|
14
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
+
|
|
16
|
+
__all__ = ["ApplicationsResource", "AsyncApplicationsResource"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class ApplicationsResource(SyncAPIResource):
|
|
20
|
+
@cached_property
|
|
21
|
+
def v1(self) -> V1Resource:
|
|
22
|
+
return V1Resource(self._client)
|
|
23
|
+
|
|
24
|
+
@cached_property
|
|
25
|
+
def with_raw_response(self) -> ApplicationsResourceWithRawResponse:
|
|
26
|
+
"""
|
|
27
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
28
|
+
the raw response object instead of the parsed content.
|
|
29
|
+
|
|
30
|
+
For more information, see https://www.github.com/CaseMark/casedev-python#accessing-raw-response-data-eg-headers
|
|
31
|
+
"""
|
|
32
|
+
return ApplicationsResourceWithRawResponse(self)
|
|
33
|
+
|
|
34
|
+
@cached_property
|
|
35
|
+
def with_streaming_response(self) -> ApplicationsResourceWithStreamingResponse:
|
|
36
|
+
"""
|
|
37
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
38
|
+
|
|
39
|
+
For more information, see https://www.github.com/CaseMark/casedev-python#with_streaming_response
|
|
40
|
+
"""
|
|
41
|
+
return ApplicationsResourceWithStreamingResponse(self)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class AsyncApplicationsResource(AsyncAPIResource):
|
|
45
|
+
@cached_property
|
|
46
|
+
def v1(self) -> AsyncV1Resource:
|
|
47
|
+
return AsyncV1Resource(self._client)
|
|
48
|
+
|
|
49
|
+
@cached_property
|
|
50
|
+
def with_raw_response(self) -> AsyncApplicationsResourceWithRawResponse:
|
|
51
|
+
"""
|
|
52
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
53
|
+
the raw response object instead of the parsed content.
|
|
54
|
+
|
|
55
|
+
For more information, see https://www.github.com/CaseMark/casedev-python#accessing-raw-response-data-eg-headers
|
|
56
|
+
"""
|
|
57
|
+
return AsyncApplicationsResourceWithRawResponse(self)
|
|
58
|
+
|
|
59
|
+
@cached_property
|
|
60
|
+
def with_streaming_response(self) -> AsyncApplicationsResourceWithStreamingResponse:
|
|
61
|
+
"""
|
|
62
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
63
|
+
|
|
64
|
+
For more information, see https://www.github.com/CaseMark/casedev-python#with_streaming_response
|
|
65
|
+
"""
|
|
66
|
+
return AsyncApplicationsResourceWithStreamingResponse(self)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class ApplicationsResourceWithRawResponse:
|
|
70
|
+
def __init__(self, applications: ApplicationsResource) -> None:
|
|
71
|
+
self._applications = applications
|
|
72
|
+
|
|
73
|
+
@cached_property
|
|
74
|
+
def v1(self) -> V1ResourceWithRawResponse:
|
|
75
|
+
return V1ResourceWithRawResponse(self._applications.v1)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class AsyncApplicationsResourceWithRawResponse:
|
|
79
|
+
def __init__(self, applications: AsyncApplicationsResource) -> None:
|
|
80
|
+
self._applications = applications
|
|
81
|
+
|
|
82
|
+
@cached_property
|
|
83
|
+
def v1(self) -> AsyncV1ResourceWithRawResponse:
|
|
84
|
+
return AsyncV1ResourceWithRawResponse(self._applications.v1)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class ApplicationsResourceWithStreamingResponse:
|
|
88
|
+
def __init__(self, applications: ApplicationsResource) -> None:
|
|
89
|
+
self._applications = applications
|
|
90
|
+
|
|
91
|
+
@cached_property
|
|
92
|
+
def v1(self) -> V1ResourceWithStreamingResponse:
|
|
93
|
+
return V1ResourceWithStreamingResponse(self._applications.v1)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class AsyncApplicationsResourceWithStreamingResponse:
|
|
97
|
+
def __init__(self, applications: AsyncApplicationsResource) -> None:
|
|
98
|
+
self._applications = applications
|
|
99
|
+
|
|
100
|
+
@cached_property
|
|
101
|
+
def v1(self) -> AsyncV1ResourceWithStreamingResponse:
|
|
102
|
+
return AsyncV1ResourceWithStreamingResponse(self._applications.v1)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .v1 import (
|
|
4
|
+
V1Resource,
|
|
5
|
+
AsyncV1Resource,
|
|
6
|
+
V1ResourceWithRawResponse,
|
|
7
|
+
AsyncV1ResourceWithRawResponse,
|
|
8
|
+
V1ResourceWithStreamingResponse,
|
|
9
|
+
AsyncV1ResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .projects import (
|
|
12
|
+
ProjectsResource,
|
|
13
|
+
AsyncProjectsResource,
|
|
14
|
+
ProjectsResourceWithRawResponse,
|
|
15
|
+
AsyncProjectsResourceWithRawResponse,
|
|
16
|
+
ProjectsResourceWithStreamingResponse,
|
|
17
|
+
AsyncProjectsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
from .workflows import (
|
|
20
|
+
WorkflowsResource,
|
|
21
|
+
AsyncWorkflowsResource,
|
|
22
|
+
WorkflowsResourceWithRawResponse,
|
|
23
|
+
AsyncWorkflowsResourceWithRawResponse,
|
|
24
|
+
WorkflowsResourceWithStreamingResponse,
|
|
25
|
+
AsyncWorkflowsResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
27
|
+
from .deployments import (
|
|
28
|
+
DeploymentsResource,
|
|
29
|
+
AsyncDeploymentsResource,
|
|
30
|
+
DeploymentsResourceWithRawResponse,
|
|
31
|
+
AsyncDeploymentsResourceWithRawResponse,
|
|
32
|
+
DeploymentsResourceWithStreamingResponse,
|
|
33
|
+
AsyncDeploymentsResourceWithStreamingResponse,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
__all__ = [
|
|
37
|
+
"DeploymentsResource",
|
|
38
|
+
"AsyncDeploymentsResource",
|
|
39
|
+
"DeploymentsResourceWithRawResponse",
|
|
40
|
+
"AsyncDeploymentsResourceWithRawResponse",
|
|
41
|
+
"DeploymentsResourceWithStreamingResponse",
|
|
42
|
+
"AsyncDeploymentsResourceWithStreamingResponse",
|
|
43
|
+
"ProjectsResource",
|
|
44
|
+
"AsyncProjectsResource",
|
|
45
|
+
"ProjectsResourceWithRawResponse",
|
|
46
|
+
"AsyncProjectsResourceWithRawResponse",
|
|
47
|
+
"ProjectsResourceWithStreamingResponse",
|
|
48
|
+
"AsyncProjectsResourceWithStreamingResponse",
|
|
49
|
+
"WorkflowsResource",
|
|
50
|
+
"AsyncWorkflowsResource",
|
|
51
|
+
"WorkflowsResourceWithRawResponse",
|
|
52
|
+
"AsyncWorkflowsResourceWithRawResponse",
|
|
53
|
+
"WorkflowsResourceWithStreamingResponse",
|
|
54
|
+
"AsyncWorkflowsResourceWithStreamingResponse",
|
|
55
|
+
"V1Resource",
|
|
56
|
+
"AsyncV1Resource",
|
|
57
|
+
"V1ResourceWithRawResponse",
|
|
58
|
+
"AsyncV1ResourceWithRawResponse",
|
|
59
|
+
"V1ResourceWithStreamingResponse",
|
|
60
|
+
"AsyncV1ResourceWithStreamingResponse",
|
|
61
|
+
]
|