pyfect-dev 0.1.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.
Files changed (1265) hide show
  1. pyfect/__init__.py +729 -0
  2. pyfect/_all.py +242 -0
  3. pyfect/_background.py +28 -0
  4. pyfect/_binary_codecs.py +124 -0
  5. pyfect/_cached.py +165 -0
  6. pyfect/_catch.py +128 -0
  7. pyfect/_catch_reason.py +574 -0
  8. pyfect/_concurrency.py +291 -0
  9. pyfect/_context_effects.py +163 -0
  10. pyfect/_context_managers.py +76 -0
  11. pyfect/_core.py +368 -0
  12. pyfect/_digits.py +71 -0
  13. pyfect/_effect_args.py +46 -0
  14. pyfect/_effect_base.py +71 -0
  15. pyfect/_effect_concurrency.py +133 -0
  16. pyfect/_effect_eager.py +103 -0
  17. pyfect/_effect_errors.py +344 -0
  18. pyfect/_effect_folding.py +110 -0
  19. pyfect/_effect_hash.py +140 -0
  20. pyfect/_effect_logging.py +57 -0
  21. pyfect/_effect_metrics.py +102 -0
  22. pyfect/_effect_resources.py +179 -0
  23. pyfect/_effect_services.py +25 -0
  24. pyfect/_effect_timing.py +199 -0
  25. pyfect/_effect_tracing.py +99 -0
  26. pyfect/_equal.py +195 -0
  27. pyfect/_extras.py +43 -0
  28. pyfect/_fiber.py +969 -0
  29. pyfect/_fiber_all.py +134 -0
  30. pyfect/_fiber_collections.py +106 -0
  31. pyfect/_fn.py +706 -0
  32. pyfect/_hamt.py +174 -0
  33. pyfect/_interrupt_reason.py +33 -0
  34. pyfect/_isaac.py +149 -0
  35. pyfect/_iterables.py +231 -0
  36. pyfect/_js.py +263 -0
  37. pyfect/_js_date.py +87 -0
  38. pyfect/_json_text.py +286 -0
  39. pyfect/_json_value.py +9 -0
  40. pyfect/_layer_core.py +403 -0
  41. pyfect/_layer_for_life.py +33 -0
  42. pyfect/_layer_tracing.py +70 -0
  43. pyfect/_locked_ref.py +147 -0
  44. pyfect/_loop_thread.py +152 -0
  45. pyfect/_metric_ref.py +29 -0
  46. pyfect/_one_or_many.py +14 -0
  47. pyfect/_os_wait.py +118 -0
  48. pyfect/_path_posix.py +129 -0
  49. pyfect/_primitives.py +434 -0
  50. pyfect/_public.py +36 -0
  51. pyfect/_reasons.py +64 -0
  52. pyfect/_released.py +67 -0
  53. pyfect/_root.py +87 -0
  54. pyfect/_round_robin.py +73 -0
  55. pyfect/_some.py +17 -0
  56. pyfect/_stack.py +52 -0
  57. pyfect/_stack_frame.py +114 -0
  58. pyfect/_string_hash.py +35 -0
  59. pyfect/_subscriber_queue.py +47 -0
  60. pyfect/_tags.py +14 -0
  61. pyfect/_tracer_ref.py +21 -0
  62. pyfect/_tx_ops.py +77 -0
  63. pyfect/_unsubscripted.py +23 -0
  64. pyfect/_url.py +54 -0
  65. pyfect/_waiters.py +127 -0
  66. pyfect/_wake_tracking.py +98 -0
  67. pyfect/_wire_codec.py +123 -0
  68. pyfect/ai/__init__.py +73 -0
  69. pyfect/ai/_approvals.py +249 -0
  70. pyfect/ai/_decision_answers.py +185 -0
  71. pyfect/ai/_generated_client.py +298 -0
  72. pyfect/ai/_generated_support.py +84 -0
  73. pyfect/ai/_mcp/__init__.py +1 -0
  74. pyfect/ai/_mcp/batch.py +68 -0
  75. pyfect/ai/_mcp/client_transport.py +412 -0
  76. pyfect/ai/_mcp/client_wire.py +284 -0
  77. pyfect/ai/_mcp/core.py +490 -0
  78. pyfect/ai/_mcp/dispatch.py +1048 -0
  79. pyfect/ai/_mcp/http.py +462 -0
  80. pyfect/ai/_mcp/http_admission.py +269 -0
  81. pyfect/ai/_mcp/http_status.py +27 -0
  82. pyfect/ai/_mcp/input_wire.py +226 -0
  83. pyfect/ai/_mcp/log_levels.py +55 -0
  84. pyfect/ai/_mcp/param_headers.py +63 -0
  85. pyfect/ai/_mcp/projection.py +248 -0
  86. pyfect/ai/_mcp/register.py +683 -0
  87. pyfect/ai/_mcp/reverse_policy.py +155 -0
  88. pyfect/ai/_mcp/routing_header.py +24 -0
  89. pyfect/ai/_mcp/sessions.py +114 -0
  90. pyfect/ai/_mcp/stdio.py +110 -0
  91. pyfect/ai/_mcp/subscriptions.py +134 -0
  92. pyfect/ai/_mcp/tool_schema.py +35 -0
  93. pyfect/ai/_noul_answers.py +64 -0
  94. pyfect/ai/_openai_all_of.py +137 -0
  95. pyfect/ai/_openai_errors.py +233 -0
  96. pyfect/ai/_provider.py +439 -0
  97. pyfect/ai/_provider_tools.py +129 -0
  98. pyfect/ai/_stream_resolution.py +231 -0
  99. pyfect/ai/_structured_output_checks.py +138 -0
  100. pyfect/ai/_structured_output_codec.py +229 -0
  101. pyfect/ai/_structured_output_json.py +109 -0
  102. pyfect/ai/_tool_call_ids.py +80 -0
  103. pyfect/ai/ai_error.py +785 -0
  104. pyfect/ai/anthropic/__init__.py +28 -0
  105. pyfect/ai/anthropic/_errors.py +164 -0
  106. pyfect/ai/anthropic/_prompt.py +375 -0
  107. pyfect/ai/anthropic/_response.py +443 -0
  108. pyfect/ai/anthropic/_schema.py +206 -0
  109. pyfect/ai/anthropic/_stream.py +377 -0
  110. pyfect/ai/anthropic/_tools.py +248 -0
  111. pyfect/ai/anthropic/client.py +289 -0
  112. pyfect/ai/anthropic/config.py +32 -0
  113. pyfect/ai/anthropic/error.py +27 -0
  114. pyfect/ai/anthropic/language_model.py +366 -0
  115. pyfect/ai/anthropic/telemetry.py +51 -0
  116. pyfect/ai/anthropic/tool.py +570 -0
  117. pyfect/ai/anthropic_structured_output.py +138 -0
  118. pyfect/ai/chat.py +548 -0
  119. pyfect/ai/cloudflare/__init__.py +15 -0
  120. pyfect/ai/cloudflare/_errors.py +108 -0
  121. pyfect/ai/cloudflare/client.py +174 -0
  122. pyfect/ai/cloudflare/decision_model.py +117 -0
  123. pyfect/ai/cloudflare/schema.py +144 -0
  124. pyfect/ai/decision.py +290 -0
  125. pyfect/ai/decision_model.py +283 -0
  126. pyfect/ai/embedding_model.py +177 -0
  127. pyfect/ai/id_generator.py +79 -0
  128. pyfect/ai/language_model.py +1077 -0
  129. pyfect/ai/mcp_client.py +682 -0
  130. pyfect/ai/mcp_client_error.py +223 -0
  131. pyfect/ai/mcp_protocol.py +205 -0
  132. pyfect/ai/mcp_schema.py +1300 -0
  133. pyfect/ai/mcp_server.py +404 -0
  134. pyfect/ai/model.py +56 -0
  135. pyfect/ai/openai/__init__.py +49 -0
  136. pyfect/ai/openai/_errors.py +89 -0
  137. pyfect/ai/openai/_prompt.py +527 -0
  138. pyfect/ai/openai/_requests.py +34 -0
  139. pyfect/ai/openai/_response.py +569 -0
  140. pyfect/ai/openai/_schema.py +769 -0
  141. pyfect/ai/openai/_stream.py +771 -0
  142. pyfect/ai/openai/_tools.py +128 -0
  143. pyfect/ai/openai/_web_socket.py +295 -0
  144. pyfect/ai/openai/client.py +296 -0
  145. pyfect/ai/openai/client_generated.py +123 -0
  146. pyfect/ai/openai/config.py +34 -0
  147. pyfect/ai/openai/decision_model.py +177 -0
  148. pyfect/ai/openai/embedding_model.py +116 -0
  149. pyfect/ai/openai/error.py +8 -0
  150. pyfect/ai/openai/generated/__init__.py +7213 -0
  151. pyfect/ai/openai/generated/_recursive.py +18 -0
  152. pyfect/ai/openai/generated/_schemas_0.py +1015 -0
  153. pyfect/ai/openai/generated/_schemas_1.py +1016 -0
  154. pyfect/ai/openai/generated/_schemas_2.py +1017 -0
  155. pyfect/ai/openai/generated/_schemas_3.py +615 -0
  156. pyfect/ai/openai/generated/client.py +5298 -0
  157. pyfect/ai/openai/generated/types.py +8123 -0
  158. pyfect/ai/openai/language_model.py +304 -0
  159. pyfect/ai/openai/telemetry.py +19 -0
  160. pyfect/ai/openai/tool.py +391 -0
  161. pyfect/ai/openai_compat/__init__.py +25 -0
  162. pyfect/ai/openai_compat/_prompt.py +191 -0
  163. pyfect/ai/openai_compat/_request.py +153 -0
  164. pyfect/ai/openai_compat/_response.py +407 -0
  165. pyfect/ai/openai_compat/_schema.py +97 -0
  166. pyfect/ai/openai_compat/client.py +234 -0
  167. pyfect/ai/openai_compat/config.py +32 -0
  168. pyfect/ai/openai_compat/embedding_model.py +139 -0
  169. pyfect/ai/openai_compat/error.py +7 -0
  170. pyfect/ai/openai_compat/language_model.py +245 -0
  171. pyfect/ai/openai_compat/telemetry.py +51 -0
  172. pyfect/ai/openai_structured_output.py +118 -0
  173. pyfect/ai/openrouter/__init__.py +36 -0
  174. pyfect/ai/openrouter/_errors.py +186 -0
  175. pyfect/ai/openrouter/_prompt.py +272 -0
  176. pyfect/ai/openrouter/_response.py +226 -0
  177. pyfect/ai/openrouter/_stream.py +320 -0
  178. pyfect/ai/openrouter/client.py +283 -0
  179. pyfect/ai/openrouter/config.py +36 -0
  180. pyfect/ai/openrouter/decision_model.py +161 -0
  181. pyfect/ai/openrouter/error.py +23 -0
  182. pyfect/ai/openrouter/generated/__init__.py +3029 -0
  183. pyfect/ai/openrouter/generated/_recursive.py +15 -0
  184. pyfect/ai/openrouter/generated/_schemas_0.py +1015 -0
  185. pyfect/ai/openrouter/generated/_schemas_1.py +522 -0
  186. pyfect/ai/openrouter/generated/client.py +1445 -0
  187. pyfect/ai/openrouter/generated/types.py +4769 -0
  188. pyfect/ai/openrouter/language_model.py +345 -0
  189. pyfect/ai/openrouter/schema.py +165 -0
  190. pyfect/ai/prompt.py +664 -0
  191. pyfect/ai/response.py +768 -0
  192. pyfect/ai/response_id_tracker.py +82 -0
  193. pyfect/ai/telemetry.py +126 -0
  194. pyfect/ai/tokenizer.py +61 -0
  195. pyfect/ai/tool.py +536 -0
  196. pyfect/ai/toolkit.py +490 -0
  197. pyfect/ai/typesafe/__init__.py +17 -0
  198. pyfect/ai/typesafe/_errors.py +120 -0
  199. pyfect/ai/typesafe/client.py +146 -0
  200. pyfect/ai/typesafe/config.py +34 -0
  201. pyfect/ai/typesafe/decision_model.py +90 -0
  202. pyfect/ai/typesafe/schema.py +140 -0
  203. pyfect/batching/__init__.py +58 -0
  204. pyfect/batching/_api.py +71 -0
  205. pyfect/batching/_engine.py +229 -0
  206. pyfect/batching/_from_effect.py +76 -0
  207. pyfect/batching/_persisted.py +98 -0
  208. pyfect/batching/_request.py +133 -0
  209. pyfect/batching/_resolver.py +477 -0
  210. pyfect/batching/_with_cache.py +90 -0
  211. pyfect/big_decimal.py +500 -0
  212. pyfect/brand.py +114 -0
  213. pyfect/byte_size.py +354 -0
  214. pyfect/cache/__init__.py +29 -0
  215. pyfect/cache/_cache.py +426 -0
  216. pyfect/cache/_expiry.py +69 -0
  217. pyfect/cache/_scoped_cache.py +546 -0
  218. pyfect/case.py +174 -0
  219. pyfect/cause.py +462 -0
  220. pyfect/channel/__init__.py +155 -0
  221. pyfect/channel/_base.py +92 -0
  222. pyfect/channel/_catch.py +158 -0
  223. pyfect/channel/_catch_reason.py +572 -0
  224. pyfect/channel/_channel.py +158 -0
  225. pyfect/channel/_combinators.py +220 -0
  226. pyfect/channel/_concurrency_methods.py +217 -0
  227. pyfect/channel/_concurrent_map.py +118 -0
  228. pyfect/channel/_constructors.py +349 -0
  229. pyfect/channel/_context.py +232 -0
  230. pyfect/channel/_error_methods.py +336 -0
  231. pyfect/channel/_errors.py +180 -0
  232. pyfect/channel/_filters.py +225 -0
  233. pyfect/channel/_lifecycle.py +71 -0
  234. pyfect/channel/_lifecycle_methods.py +206 -0
  235. pyfect/channel/_loop.py +100 -0
  236. pyfect/channel/_merge.py +246 -0
  237. pyfect/channel/_repeat.py +154 -0
  238. pyfect/channel/_run.py +149 -0
  239. pyfect/channel/_run_methods.py +341 -0
  240. pyfect/channel/_sinks.py +88 -0
  241. pyfect/channel/_sources.py +238 -0
  242. pyfect/channel/_text.py +176 -0
  243. pyfect/channel/_transform_methods.py +415 -0
  244. pyfect/channel/_upstream.py +67 -0
  245. pyfect/channel_schema.py +131 -0
  246. pyfect/cli/__init__.py +79 -0
  247. pyfect/cli/_ansi.py +82 -0
  248. pyfect/cli/_command.py +469 -0
  249. pyfect/cli/_config.py +164 -0
  250. pyfect/cli/_environment.py +10 -0
  251. pyfect/cli/_help.py +195 -0
  252. pyfect/cli/_lexer.py +81 -0
  253. pyfect/cli/_parser.py +465 -0
  254. pyfect/cli/_settings.py +85 -0
  255. pyfect/cli/_suggest.py +33 -0
  256. pyfect/cli/_width.py +134 -0
  257. pyfect/cli/_wizard.py +317 -0
  258. pyfect/cli/argument.py +212 -0
  259. pyfect/cli/cli_config.py +40 -0
  260. pyfect/cli/cli_error.py +242 -0
  261. pyfect/cli/cli_output.py +305 -0
  262. pyfect/cli/command.py +440 -0
  263. pyfect/cli/completions/__init__.py +50 -0
  264. pyfect/cli/completions/_completer.ps1 +190 -0
  265. pyfect/cli/completions/_descriptor.py +182 -0
  266. pyfect/cli/completions/bash.py +300 -0
  267. pyfect/cli/completions/fish.py +164 -0
  268. pyfect/cli/completions/powershell.py +156 -0
  269. pyfect/cli/completions/zsh.py +189 -0
  270. pyfect/cli/flag.py +246 -0
  271. pyfect/cli/global_flag.py +99 -0
  272. pyfect/cli/help_doc.py +63 -0
  273. pyfect/cli/param.py +789 -0
  274. pyfect/cli/primitive.py +308 -0
  275. pyfect/cli/prompt/__init__.py +75 -0
  276. pyfect/cli/prompt/_auto_complete.py +205 -0
  277. pyfect/cli/prompt/_choices.py +104 -0
  278. pyfect/cli/prompt/_confirm.py +195 -0
  279. pyfect/cli/prompt/_core.py +512 -0
  280. pyfect/cli/prompt/_date.py +173 -0
  281. pyfect/cli/prompt/_date_parts.py +387 -0
  282. pyfect/cli/prompt/_file.py +372 -0
  283. pyfect/cli/prompt/_multi_select.py +204 -0
  284. pyfect/cli/prompt/_number.py +257 -0
  285. pyfect/cli/prompt/_select.py +117 -0
  286. pyfect/cli/prompt/_text.py +239 -0
  287. pyfect/cli/terminal_capabilities.py +118 -0
  288. pyfect/clock.py +150 -0
  289. pyfect/cluster/__init__.py +155 -0
  290. pyfect/cluster/_cluster_abandon.py +36 -0
  291. pyfect/cluster/_cluster_layer.py +122 -0
  292. pyfect/cluster/_entity_activation.py +16 -0
  293. pyfect/cluster/_entity_manager/__init__.py +22 -0
  294. pyfect/cluster/_entity_manager/_activation.py +540 -0
  295. pyfect/cluster/_entity_manager/_core.py +186 -0
  296. pyfect/cluster/_entity_manager/_decode.py +60 -0
  297. pyfect/cluster/_entity_manager/_manager.py +423 -0
  298. pyfect/cluster/_entity_manager/_state.py +113 -0
  299. pyfect/cluster/_entity_reaper.py +94 -0
  300. pyfect/cluster/_hash.py +13 -0
  301. pyfect/cluster/_interruptors.py +88 -0
  302. pyfect/cluster/_resource_map.py +179 -0
  303. pyfect/cluster/_resource_ref.py +266 -0
  304. pyfect/cluster/_shard_lock.py +14 -0
  305. pyfect/cluster/cluster_cron.py +230 -0
  306. pyfect/cluster/cluster_error.py +81 -0
  307. pyfect/cluster/cluster_http.py +210 -0
  308. pyfect/cluster/cluster_metrics.py +54 -0
  309. pyfect/cluster/cluster_schema.py +137 -0
  310. pyfect/cluster/cluster_socket.py +197 -0
  311. pyfect/cluster/cluster_workflow_engine/__init__.py +24 -0
  312. pyfect/cluster/cluster_workflow_engine/_engine.py +1099 -0
  313. pyfect/cluster/cluster_workflow_engine/_entities.py +298 -0
  314. pyfect/cluster/deliver_at.py +31 -0
  315. pyfect/cluster/entity/__init__.py +39 -0
  316. pyfect/cluster/entity/_entity.py +332 -0
  317. pyfect/cluster/entity/_handlers.py +168 -0
  318. pyfect/cluster/entity/_keep_alive.py +74 -0
  319. pyfect/cluster/entity/_queue.py +103 -0
  320. pyfect/cluster/entity/_request.py +34 -0
  321. pyfect/cluster/entity/_services.py +23 -0
  322. pyfect/cluster/entity/_test_client.py +237 -0
  323. pyfect/cluster/entity_address.py +25 -0
  324. pyfect/cluster/entity_id.py +20 -0
  325. pyfect/cluster/entity_proxy.py +161 -0
  326. pyfect/cluster/entity_proxy_server.py +103 -0
  327. pyfect/cluster/entity_resource.py +122 -0
  328. pyfect/cluster/entity_type.py +20 -0
  329. pyfect/cluster/envelope.py +307 -0
  330. pyfect/cluster/http_runner.py +254 -0
  331. pyfect/cluster/k8s_http_client.py +281 -0
  332. pyfect/cluster/k8s_types.py +1394 -0
  333. pyfect/cluster/machine_id.py +21 -0
  334. pyfect/cluster/message.py +219 -0
  335. pyfect/cluster/message_storage/__init__.py +67 -0
  336. pyfect/cluster/message_storage/_encoded.py +393 -0
  337. pyfect/cluster/message_storage/_memory.py +386 -0
  338. pyfect/cluster/message_storage/_noop.py +109 -0
  339. pyfect/cluster/message_storage/_service.py +388 -0
  340. pyfect/cluster/reply.py +236 -0
  341. pyfect/cluster/runner.py +32 -0
  342. pyfect/cluster/runner_address.py +23 -0
  343. pyfect/cluster/runner_health.py +93 -0
  344. pyfect/cluster/runner_server.py +286 -0
  345. pyfect/cluster/runner_storage.py +212 -0
  346. pyfect/cluster/runners/__init__.py +55 -0
  347. pyfect/cluster/runners/_local.py +460 -0
  348. pyfect/cluster/runners/_noop.py +57 -0
  349. pyfect/cluster/runners/_rpc.py +290 -0
  350. pyfect/cluster/runners/_service.py +113 -0
  351. pyfect/cluster/shard_id.py +39 -0
  352. pyfect/cluster/sharding/__init__.py +12 -0
  353. pyfect/cluster/sharding/_acquisition.py +490 -0
  354. pyfect/cluster/sharding/_clients.py +271 -0
  355. pyfect/cluster/sharding/_make.py +388 -0
  356. pyfect/cluster/sharding/_routing.py +296 -0
  357. pyfect/cluster/sharding/_runners_sync.py +198 -0
  358. pyfect/cluster/sharding/_service.py +91 -0
  359. pyfect/cluster/sharding/_singletons.py +183 -0
  360. pyfect/cluster/sharding/_state.py +296 -0
  361. pyfect/cluster/sharding/_storage_loop.py +421 -0
  362. pyfect/cluster/sharding_config.py +230 -0
  363. pyfect/cluster/sharding_registration_event.py +28 -0
  364. pyfect/cluster/single_runner.py +49 -0
  365. pyfect/cluster/singleton.py +36 -0
  366. pyfect/cluster/singleton_address.py +20 -0
  367. pyfect/cluster/snowflake.py +133 -0
  368. pyfect/cluster/socket_runner.py +67 -0
  369. pyfect/cluster/sql_message_storage.py +1001 -0
  370. pyfect/cluster/sql_runner_storage.py +841 -0
  371. pyfect/cluster/test_runner.py +23 -0
  372. pyfect/config/__init__.py +93 -0
  373. pyfect/config/_all.py +96 -0
  374. pyfect/config/_collections.py +291 -0
  375. pyfect/config/_config.py +261 -0
  376. pyfect/config/_constructors.py +106 -0
  377. pyfect/config/_error.py +27 -0
  378. pyfect/config/_leaf.py +92 -0
  379. pyfect/config/_scalars.py +193 -0
  380. pyfect/config/_schema.py +340 -0
  381. pyfect/config_provider/__init__.py +60 -0
  382. pyfect/config_provider/_dir.py +84 -0
  383. pyfect/config_provider/_dotenv.py +127 -0
  384. pyfect/config_provider/_env.py +79 -0
  385. pyfect/config_provider/_layers.py +80 -0
  386. pyfect/config_provider/_node.py +90 -0
  387. pyfect/config_provider/_provider.py +118 -0
  388. pyfect/config_provider/_unknown.py +62 -0
  389. pyfect/console/__init__.py +63 -0
  390. pyfect/console/_effects.py +134 -0
  391. pyfect/console/_live.py +156 -0
  392. pyfect/console/_service.py +49 -0
  393. pyfect/console/_table.py +90 -0
  394. pyfect/context.py +414 -0
  395. pyfect/cron/__init__.py +30 -0
  396. pyfect/cron/_model.py +183 -0
  397. pyfect/cron/_search.py +268 -0
  398. pyfect/cron/_text.py +202 -0
  399. pyfect/cron/_wall.py +42 -0
  400. pyfect/crypto.py +257 -0
  401. pyfect/date_time/__init__.py +77 -0
  402. pyfect/date_time/_calendar.py +209 -0
  403. pyfect/date_time/_current.py +118 -0
  404. pyfect/date_time/_epoch.py +22 -0
  405. pyfect/date_time/_iso.py +80 -0
  406. pyfect/date_time/_zones.py +135 -0
  407. pyfect/date_time/intl.py +144 -0
  408. pyfect/deferred.py +145 -0
  409. pyfect/devtools/__init__.py +24 -0
  410. pyfect/devtools/client.py +323 -0
  411. pyfect/devtools/layers.py +32 -0
  412. pyfect/devtools/schema.py +301 -0
  413. pyfect/devtools/server.py +72 -0
  414. pyfect/duration.py +295 -0
  415. pyfect/effect.py +565 -0
  416. pyfect/effectable.py +37 -0
  417. pyfect/encoding/__init__.py +62 -0
  418. pyfect/encoding/_archive.py +197 -0
  419. pyfect/encoding/_json_array_scanner.py +477 -0
  420. pyfect/encoding/base64.py +23 -0
  421. pyfect/encoding/base64_url.py +19 -0
  422. pyfect/encoding/encoding_error.py +17 -0
  423. pyfect/encoding/hex.py +28 -0
  424. pyfect/encoding/ini.py +188 -0
  425. pyfect/encoding/json_array.py +246 -0
  426. pyfect/encoding/ndjson.py +461 -0
  427. pyfect/encoding/schema_binary/__init__.py +257 -0
  428. pyfect/encoding/schema_binary/_channels.py +173 -0
  429. pyfect/encoding/schema_binary/_compile.py +584 -0
  430. pyfect/encoding/schema_binary/_decode.py +848 -0
  431. pyfect/encoding/schema_binary/_dictionary.py +90 -0
  432. pyfect/encoding/schema_binary/_encode.py +838 -0
  433. pyfect/encoding/schema_binary/_fingerprint.py +168 -0
  434. pyfect/encoding/schema_binary/_layout.py +350 -0
  435. pyfect/encoding/schema_binary/_literals.py +47 -0
  436. pyfect/encoding/schema_binary/_parser.py +163 -0
  437. pyfect/encoding/schema_binary/_reader.py +148 -0
  438. pyfect/encoding/schema_binary/_target.py +310 -0
  439. pyfect/encoding/schema_binary/_values.py +133 -0
  440. pyfect/encoding/schema_binary/_wire.py +253 -0
  441. pyfect/encoding/sse.py +476 -0
  442. pyfect/encoding/tar/__init__.py +396 -0
  443. pyfect/encoding/tar/_decoder.py +220 -0
  444. pyfect/encoding/tar/_encoder.py +83 -0
  445. pyfect/encoding/tar/_header.py +494 -0
  446. pyfect/encoding/tar/_model.py +82 -0
  447. pyfect/encoding/toml.py +375 -0
  448. pyfect/encoding/xml/__init__.py +222 -0
  449. pyfect/encoding/xml/_chars.py +119 -0
  450. pyfect/encoding/xml/_collector.py +106 -0
  451. pyfect/encoding/xml/_inputs.py +126 -0
  452. pyfect/encoding/xml/_model.py +114 -0
  453. pyfect/encoding/xml/_parser.py +694 -0
  454. pyfect/encoding/xml/_scanner.py +180 -0
  455. pyfect/encoding/xml/_writer.py +238 -0
  456. pyfect/encoding/yaml.py +739 -0
  457. pyfect/encoding/zip/__init__.py +392 -0
  458. pyfect/encoding/zip/_decoder.py +378 -0
  459. pyfect/encoding/zip/_format.py +122 -0
  460. pyfect/encoding/zip/_inflate.py +65 -0
  461. pyfect/encoding/zip/_model.py +86 -0
  462. pyfect/encoding/zip/_writer.py +311 -0
  463. pyfect/error_reporter.py +240 -0
  464. pyfect/errors.py +321 -0
  465. pyfect/eventlog/__init__.py +77 -0
  466. pyfect/eventlog/_conflicts.py +94 -0
  467. pyfect/eventlog/_crypto.py +64 -0
  468. pyfect/eventlog/_identity.py +26 -0
  469. pyfect/eventlog/_identity_derivation.py +79 -0
  470. pyfect/eventlog/_transferable_bytes.py +55 -0
  471. pyfect/eventlog/_uuid.py +33 -0
  472. pyfect/eventlog/event.py +115 -0
  473. pyfect/eventlog/event_group.py +55 -0
  474. pyfect/eventlog/event_journal.py +630 -0
  475. pyfect/eventlog/event_log.py +1039 -0
  476. pyfect/eventlog/event_log_encryption.py +219 -0
  477. pyfect/eventlog/event_log_message.py +357 -0
  478. pyfect/eventlog/event_log_remote.py +465 -0
  479. pyfect/eventlog/event_log_server.py +442 -0
  480. pyfect/eventlog/event_log_server_encrypted.py +322 -0
  481. pyfect/eventlog/event_log_server_unencrypted.py +814 -0
  482. pyfect/eventlog/event_log_session_auth.py +250 -0
  483. pyfect/eventlog/event_row.py +423 -0
  484. pyfect/eventlog/sql_event_journal.py +692 -0
  485. pyfect/eventlog/sql_event_log_server_encrypted.py +440 -0
  486. pyfect/eventlog/sql_event_log_server_unencrypted.py +568 -0
  487. pyfect/execution_plan/__init__.py +42 -0
  488. pyfect/execution_plan/_events.py +128 -0
  489. pyfect/execution_plan/_model.py +108 -0
  490. pyfect/execution_plan/_run.py +176 -0
  491. pyfect/exit.py +205 -0
  492. pyfect/fiber_handle.py +305 -0
  493. pyfect/fiber_map.py +350 -0
  494. pyfect/fiber_set.py +232 -0
  495. pyfect/file_system/__init__.py +69 -0
  496. pyfect/file_system/_copy.py +116 -0
  497. pyfect/file_system/_errors.py +32 -0
  498. pyfect/file_system/_file.py +177 -0
  499. pyfect/file_system/_live.py +351 -0
  500. pyfect/file_system/_model.py +72 -0
  501. pyfect/file_system/_noop.py +189 -0
  502. pyfect/file_system/_service.py +336 -0
  503. pyfect/file_system/_stat.py +69 -0
  504. pyfect/file_system/_watch.py +107 -0
  505. pyfect/filters.py +245 -0
  506. pyfect/graph/__init__.py +101 -0
  507. pyfect/graph/_all_pairs.py +150 -0
  508. pyfect/graph/_combine.py +259 -0
  509. pyfect/graph/_compact.py +143 -0
  510. pyfect/graph/_components.py +200 -0
  511. pyfect/graph/_cycles.py +144 -0
  512. pyfect/graph/_enumerate.py +168 -0
  513. pyfect/graph/_errors.py +51 -0
  514. pyfect/graph/_flow.py +164 -0
  515. pyfect/graph/_forest.py +109 -0
  516. pyfect/graph/_graph.py +269 -0
  517. pyfect/graph/_lowlink.py +98 -0
  518. pyfect/graph/_matching.py +101 -0
  519. pyfect/graph/_mutate.py +211 -0
  520. pyfect/graph/_query.py +138 -0
  521. pyfect/graph/_records.py +119 -0
  522. pyfect/graph/_render.py +109 -0
  523. pyfect/graph/_shortest.py +274 -0
  524. pyfect/graph/_snapshot.py +50 -0
  525. pyfect/graph/_store.py +136 -0
  526. pyfect/graph/_traverse.py +289 -0
  527. pyfect/graph/_view.py +384 -0
  528. pyfect/graph/_walker.py +70 -0
  529. pyfect/graphql/__init__.py +87 -0
  530. pyfect/graphql/_codec.py +117 -0
  531. pyfect/graphql/_http.py +309 -0
  532. pyfect/graphql/_schemas.py +39 -0
  533. pyfect/graphql/_slices.py +110 -0
  534. pyfect/graphql/_template.py +111 -0
  535. pyfect/graphql/_types.py +115 -0
  536. pyfect/graphql/_ws.py +395 -0
  537. pyfect/graphql/_ws_messages.py +120 -0
  538. pyfect/graphql/client.py +428 -0
  539. pyfect/graphql/client_error.py +285 -0
  540. pyfect/graphql/group.py +142 -0
  541. pyfect/graphql/middleware.py +98 -0
  542. pyfect/graphql/operation.py +409 -0
  543. pyfect/graphql/protocol.py +119 -0
  544. pyfect/graphql/resolver.py +574 -0
  545. pyfect/graphql/template.py +61 -0
  546. pyfect/hash_map.py +317 -0
  547. pyfect/hash_ring.py +206 -0
  548. pyfect/hash_set.py +163 -0
  549. pyfect/http/__init__.py +125 -0
  550. pyfect/http/_asgi_listener.py +272 -0
  551. pyfect/http/_authority.py +63 -0
  552. pyfect/http/_brotli.py +27 -0
  553. pyfect/http/_compression.py +52 -0
  554. pyfect/http/_field.py +18 -0
  555. pyfect/http/_foreign_path.py +27 -0
  556. pyfect/http/_form_data.py +34 -0
  557. pyfect/http/_httpx_options.py +120 -0
  558. pyfect/http/_in_memory.py +76 -0
  559. pyfect/http/_request_state.py +59 -0
  560. pyfect/http/_vary.py +14 -0
  561. pyfect/http/abort.py +65 -0
  562. pyfect/http/asgi/__init__.py +59 -0
  563. pyfect/http/asgi/_app.py +155 -0
  564. pyfect/http/asgi/_http.py +201 -0
  565. pyfect/http/asgi/_mount.py +263 -0
  566. pyfect/http/asgi/_scope.py +86 -0
  567. pyfect/http/asgi/_serve.py +72 -0
  568. pyfect/http/asgi/_types.py +13 -0
  569. pyfect/http/asgi/_web_socket.py +325 -0
  570. pyfect/http/body.py +437 -0
  571. pyfect/http/client/__init__.py +111 -0
  572. pyfect/http/client/_circuit_breaker.py +113 -0
  573. pyfect/http/client/_cookie_jar.py +120 -0
  574. pyfect/http/client/_make.py +252 -0
  575. pyfect/http/client/_rate_limit.py +423 -0
  576. pyfect/http/client/_redirects.py +93 -0
  577. pyfect/http/client/_retry.py +115 -0
  578. pyfect/http/client/_service.py +497 -0
  579. pyfect/http/cookies.py +444 -0
  580. pyfect/http/error.py +188 -0
  581. pyfect/http/etag.py +96 -0
  582. pyfect/http/file_like.py +49 -0
  583. pyfect/http/find_my_way/__init__.py +10 -0
  584. pyfect/http/find_my_way/_nodes.py +186 -0
  585. pyfect/http/find_my_way/_paths.py +43 -0
  586. pyfect/http/find_my_way/_query_string.py +67 -0
  587. pyfect/http/find_my_way/_router.py +401 -0
  588. pyfect/http/headers.py +343 -0
  589. pyfect/http/http_effect.py +198 -0
  590. pyfect/http/httpx_client.py +291 -0
  591. pyfect/http/hypercorn_server.py +122 -0
  592. pyfect/http/incoming_message.py +140 -0
  593. pyfect/http/live_server/__init__.py +191 -0
  594. pyfect/http/live_server/_body.py +164 -0
  595. pyfect/http/live_server/_exchange.py +321 -0
  596. pyfect/http/live_server/_head.py +194 -0
  597. pyfect/http/live_server/_inbound.py +156 -0
  598. pyfect/http/live_server/_listener.py +211 -0
  599. pyfect/http/live_server/_serve.py +225 -0
  600. pyfect/http/live_server/_timers.py +20 -0
  601. pyfect/http/live_server/_upgrade.py +108 -0
  602. pyfect/http/live_server/_websocket.py +286 -0
  603. pyfect/http/live_server/_ws_frames.py +242 -0
  604. pyfect/http/method.py +30 -0
  605. pyfect/http/middleware/__init__.py +61 -0
  606. pyfect/http/middleware/_compression.py +156 -0
  607. pyfect/http/middleware/_cors.py +129 -0
  608. pyfect/http/middleware/_decompression.py +274 -0
  609. pyfect/http/middleware/_forwarded.py +113 -0
  610. pyfect/http/middleware/_logger.py +73 -0
  611. pyfect/http/middleware/_search_params.py +34 -0
  612. pyfect/http/middleware/_tracer.py +153 -0
  613. pyfect/http/middleware/_types.py +16 -0
  614. pyfect/http/mime/__init__.py +69 -0
  615. pyfect/http/mime/_types.py +361 -0
  616. pyfect/http/multipart.py +613 -0
  617. pyfect/http/multipart_parser/__init__.py +348 -0
  618. pyfect/http/multipart_parser/_content_type.py +109 -0
  619. pyfect/http/multipart_parser/_headers.py +206 -0
  620. pyfect/http/multipart_parser/_search.py +85 -0
  621. pyfect/http/origin.py +146 -0
  622. pyfect/http/platform.py +593 -0
  623. pyfect/http/prometheus.py +34 -0
  624. pyfect/http/request.py +384 -0
  625. pyfect/http/response.py +474 -0
  626. pyfect/http/router/__init__.py +82 -0
  627. pyfect/http/router/_api.py +462 -0
  628. pyfect/http/router/_in_memory.py +76 -0
  629. pyfect/http/router/_markers.py +47 -0
  630. pyfect/http/router/_middleware.py +181 -0
  631. pyfect/http/router/_middleware_stack.py +51 -0
  632. pyfect/http/router/_provided.py +31 -0
  633. pyfect/http/router/_route.py +114 -0
  634. pyfect/http/router/_router.py +308 -0
  635. pyfect/http/schema.py +276 -0
  636. pyfect/http/server.py +199 -0
  637. pyfect/http/server_error.py +261 -0
  638. pyfect/http/server_request.py +729 -0
  639. pyfect/http/server_respondable.py +77 -0
  640. pyfect/http/server_response.py +569 -0
  641. pyfect/http/static_server/__init__.py +257 -0
  642. pyfect/http/static_server/_conditional.py +72 -0
  643. pyfect/http/static_server/_mime.py +55 -0
  644. pyfect/http/static_server/_range.py +53 -0
  645. pyfect/http/status.py +51 -0
  646. pyfect/http/template.py +161 -0
  647. pyfect/http/trace_context.py +91 -0
  648. pyfect/http/url.py +442 -0
  649. pyfect/http/url_params.py +304 -0
  650. pyfect/http/uvicorn_server.py +119 -0
  651. pyfect/http/web.py +171 -0
  652. pyfect/http/web_handler.py +463 -0
  653. pyfect/http/wire.py +209 -0
  654. pyfect/http_api/__init__.py +83 -0
  655. pyfect/http_api/_assets/scalar.js +8 -0
  656. pyfect/http_api/_assets/swagger-ui.css +3 -0
  657. pyfect/http_api/_assets/swagger-ui.js +4 -0
  658. pyfect/http_api/_client_method.py +220 -0
  659. pyfect/http_api/_client_payload.py +144 -0
  660. pyfect/http_api/_client_response.py +377 -0
  661. pyfect/http_api/_handlers.py +282 -0
  662. pyfect/http_api/_html.py +38 -0
  663. pyfect/http_api/_media_type.py +6 -0
  664. pyfect/http_api/_openapi_responses.py +164 -0
  665. pyfect/http_api/_openapi_schemas.py +163 -0
  666. pyfect/http_api/_path.py +102 -0
  667. pyfect/http_api/_payload.py +260 -0
  668. pyfect/http_api/_response.py +363 -0
  669. pyfect/http_api/_security.py +174 -0
  670. pyfect/http_api/api.py +265 -0
  671. pyfect/http_api/builder.py +447 -0
  672. pyfect/http_api/client.py +474 -0
  673. pyfect/http_api/endpoint.py +969 -0
  674. pyfect/http_api/error.py +280 -0
  675. pyfect/http_api/group.py +215 -0
  676. pyfect/http_api/middleware.py +232 -0
  677. pyfect/http_api/openapi.py +396 -0
  678. pyfect/http_api/scalar.py +143 -0
  679. pyfect/http_api/schema.py +713 -0
  680. pyfect/http_api/security.py +91 -0
  681. pyfect/http_api/swagger.py +69 -0
  682. pyfect/http_api/test.py +105 -0
  683. pyfect/json_patch.py +255 -0
  684. pyfect/json_pointer.py +100 -0
  685. pyfect/json_schema/__init__.py +66 -0
  686. pyfect/json_schema/_api.py +96 -0
  687. pyfect/json_schema/_converter.py +258 -0
  688. pyfect/json_schema/_draft04.py +198 -0
  689. pyfect/json_schema/_draft07.py +203 -0
  690. pyfect/json_schema/_keywords.py +202 -0
  691. pyfect/json_schema/_model.py +201 -0
  692. pyfect/json_schema/_openapi.py +208 -0
  693. pyfect/latch.py +127 -0
  694. pyfect/layer.py +479 -0
  695. pyfect/layer_map.py +279 -0
  696. pyfect/layer_ref.py +208 -0
  697. pyfect/logger/__init__.py +91 -0
  698. pyfect/logger/_batched.py +49 -0
  699. pyfect/logger/_console.py +116 -0
  700. pyfect/logger/_file.py +31 -0
  701. pyfect/logger/_formats.py +104 -0
  702. pyfect/logger/_layer.py +50 -0
  703. pyfect/logger/_level.py +53 -0
  704. pyfect/logger/_log.py +142 -0
  705. pyfect/logger/_model.py +163 -0
  706. pyfect/logger/_refs.py +78 -0
  707. pyfect/logger/_stdlib.py +54 -0
  708. pyfect/logger/_text.py +263 -0
  709. pyfect/logger/_tracer.py +35 -0
  710. pyfect/managed_runtime.py +393 -0
  711. pyfect/metric/__init__.py +119 -0
  712. pyfect/metric/_boundaries.py +27 -0
  713. pyfect/metric/_kinds.py +417 -0
  714. pyfect/metric/_metric.py +302 -0
  715. pyfect/metric/_prometheus.py +150 -0
  716. pyfect/metric/_refs.py +78 -0
  717. pyfect/metric/_runtime.py +75 -0
  718. pyfect/metric/_snapshot.py +97 -0
  719. pyfect/metric/_state.py +74 -0
  720. pyfect/msgspec.py +98 -0
  721. pyfect/mutable_hash_map.py +140 -0
  722. pyfect/mutable_hash_set.py +95 -0
  723. pyfect/net/__init__.py +18 -0
  724. pyfect/net/_errors.py +29 -0
  725. pyfect/net/address_resolver.py +179 -0
  726. pyfect/net/dns/__init__.py +92 -0
  727. pyfect/net/dns/_error.py +43 -0
  728. pyfect/net/dns/_records.py +335 -0
  729. pyfect/net/dns/_service.py +287 -0
  730. pyfect/net/dns/_system.py +89 -0
  731. pyfect/net/host.py +311 -0
  732. pyfect/net/ip_interface.py +202 -0
  733. pyfect/net/ip_network.py +250 -0
  734. pyfect/net/net_address/__init__.py +245 -0
  735. pyfect/net/net_address/_inet.py +412 -0
  736. pyfect/net/net_address/_ip.py +348 -0
  737. pyfect/net/net_address/_mac.py +119 -0
  738. pyfect/optic/__init__.py +50 -0
  739. pyfect/optic/_builtins.py +90 -0
  740. pyfect/optic/_data.py +97 -0
  741. pyfect/optic/_optic.py +422 -0
  742. pyfect/optic/_steps.py +151 -0
  743. pyfect/option.py +362 -0
  744. pyfect/otel/__init__.py +22 -0
  745. pyfect/otel/_attributes.py +67 -0
  746. pyfect/otel/_producer.py +322 -0
  747. pyfect/otel/_shutdown.py +26 -0
  748. pyfect/otel/_span.py +292 -0
  749. pyfect/otel/_wrapper.py +92 -0
  750. pyfect/otel/logger.py +154 -0
  751. pyfect/otel/metrics.py +126 -0
  752. pyfect/otel/resource.py +111 -0
  753. pyfect/otel/sdk.py +195 -0
  754. pyfect/otel/tracer.py +157 -0
  755. pyfect/partitioned_semaphore.py +211 -0
  756. pyfect/path.py +304 -0
  757. pyfect/persistence/__init__.py +77 -0
  758. pyfect/persistence/_columns.py +32 -0
  759. pyfect/persistence/_error.py +14 -0
  760. pyfect/persistence/_seconds.py +68 -0
  761. pyfect/persistence/_sql_keys.py +47 -0
  762. pyfect/persistence/circuit_breaker/__init__.py +120 -0
  763. pyfect/persistence/circuit_breaker/_breaker.py +317 -0
  764. pyfect/persistence/circuit_breaker/_errors.py +67 -0
  765. pyfect/persistence/circuit_breaker/_memory.py +243 -0
  766. pyfect/persistence/circuit_breaker/_redis.py +509 -0
  767. pyfect/persistence/circuit_breaker/_store.py +60 -0
  768. pyfect/persistence/circuit_breaker/_types.py +191 -0
  769. pyfect/persistence/key_value_store/__init__.py +51 -0
  770. pyfect/persistence/key_value_store/_layers.py +216 -0
  771. pyfect/persistence/key_value_store/_schema_store.py +91 -0
  772. pyfect/persistence/key_value_store/_sql.py +197 -0
  773. pyfect/persistence/key_value_store/_store.py +212 -0
  774. pyfect/persistence/persistable.py +164 -0
  775. pyfect/persistence/persisted_cache.py +159 -0
  776. pyfect/persistence/persisted_queue/__init__.py +75 -0
  777. pyfect/persistence/persisted_queue/_error.py +42 -0
  778. pyfect/persistence/persisted_queue/_mailbox.py +101 -0
  779. pyfect/persistence/persisted_queue/_memory.py +182 -0
  780. pyfect/persistence/persisted_queue/_queue.py +272 -0
  781. pyfect/persistence/persisted_queue/_redis.py +455 -0
  782. pyfect/persistence/persisted_queue/_redis_scripts.py +395 -0
  783. pyfect/persistence/persisted_queue/_sql.py +334 -0
  784. pyfect/persistence/persisted_queue/_sql_migrations.py +319 -0
  785. pyfect/persistence/persisted_queue/_sql_statements.py +441 -0
  786. pyfect/persistence/persisted_queue/_store.py +147 -0
  787. pyfect/persistence/persistence/__init__.py +84 -0
  788. pyfect/persistence/persistence/_kvs.py +135 -0
  789. pyfect/persistence/persistence/_memory.py +62 -0
  790. pyfect/persistence/persistence/_redis.py +162 -0
  791. pyfect/persistence/persistence/_service.py +276 -0
  792. pyfect/persistence/persistence/_sql.py +499 -0
  793. pyfect/persistence/rate_limiter/__init__.py +82 -0
  794. pyfect/persistence/rate_limiter/_errors.py +59 -0
  795. pyfect/persistence/rate_limiter/_limiter.py +325 -0
  796. pyfect/persistence/rate_limiter/_memory.py +217 -0
  797. pyfect/persistence/rate_limiter/_redis.py +485 -0
  798. pyfect/persistence/rate_limiter/_store.py +89 -0
  799. pyfect/persistence/redis/__init__.py +52 -0
  800. pyfect/persistence/redis/_error.py +12 -0
  801. pyfect/persistence/redis/_make.py +234 -0
  802. pyfect/persistence/redis/_script.py +78 -0
  803. pyfect/persistence/redis/_service.py +104 -0
  804. pyfect/persistence/redis_py.py +303 -0
  805. pyfect/persistence/user_directories.py +195 -0
  806. pyfect/platform.py +26 -0
  807. pyfect/platform_error.py +256 -0
  808. pyfect/pool/__init__.py +36 -0
  809. pyfect/pool/_pool.py +707 -0
  810. pyfect/pool/_state.py +161 -0
  811. pyfect/pool/_ttl.py +105 -0
  812. pyfect/pool/_waiters.py +116 -0
  813. pyfect/primary_key.py +35 -0
  814. pyfect/process/__init__.py +82 -0
  815. pyfect/process/_child.py +213 -0
  816. pyfect/process/_command.py +358 -0
  817. pyfect/process/_handle.py +77 -0
  818. pyfect/process/_live.py +455 -0
  819. pyfect/process/_os.py +78 -0
  820. pyfect/process/_pipes.py +291 -0
  821. pyfect/process/_spawner.py +75 -0
  822. pyfect/pubsub/__init__.py +33 -0
  823. pyfect/pubsub/_atomic.py +181 -0
  824. pyfect/pubsub/_hub.py +214 -0
  825. pyfect/pubsub/_pubsub.py +214 -0
  826. pyfect/pubsub/_replay.py +107 -0
  827. pyfect/pubsub/_subscription.py +226 -0
  828. pyfect/pull.py +132 -0
  829. pyfect/py.typed +0 -0
  830. pyfect/pydantic.py +188 -0
  831. pyfect/queue/__init__.py +33 -0
  832. pyfect/queue/_queue.py +525 -0
  833. pyfect/queue/_state.py +111 -0
  834. pyfect/queue/_views.py +55 -0
  835. pyfect/random.py +146 -0
  836. pyfect/rc_map.py +363 -0
  837. pyfect/rc_ref.py +271 -0
  838. pyfect/reactivity/__init__.py +53 -0
  839. pyfect/reactivity/_async_result_schema.py +227 -0
  840. pyfect/reactivity/_hydration.py +18 -0
  841. pyfect/reactivity/_live.py +21 -0
  842. pyfect/reactivity/_reactivity.py +256 -0
  843. pyfect/reactivity/_result_effect.py +17 -0
  844. pyfect/reactivity/_time.py +11 -0
  845. pyfect/reactivity/async_result.py +679 -0
  846. pyfect/reactivity/atom/__init__.py +143 -0
  847. pyfect/reactivity/atom/_combinators.py +223 -0
  848. pyfect/reactivity/atom/_constructors.py +80 -0
  849. pyfect/reactivity/atom/_conversions.py +79 -0
  850. pyfect/reactivity/atom/_effect.py +252 -0
  851. pyfect/reactivity/atom/_fn.py +341 -0
  852. pyfect/reactivity/atom/_kvs.py +101 -0
  853. pyfect/reactivity/atom/_optimistic.py +162 -0
  854. pyfect/reactivity/atom/_runtime.py +323 -0
  855. pyfect/reactivity/atom/_serializable.py +65 -0
  856. pyfect/reactivity/atom/_subscription_ref.py +102 -0
  857. pyfect/reactivity/atom/_swr.py +69 -0
  858. pyfect/reactivity/atom/_types.py +435 -0
  859. pyfect/reactivity/atom_http_api.py +667 -0
  860. pyfect/reactivity/atom_ref.py +260 -0
  861. pyfect/reactivity/atom_registry/__init__.py +219 -0
  862. pyfect/reactivity/atom_registry/_batch.py +96 -0
  863. pyfect/reactivity/atom_registry/_dispatcher.py +60 -0
  864. pyfect/reactivity/atom_registry/_lifetime.py +202 -0
  865. pyfect/reactivity/atom_registry/_node.py +423 -0
  866. pyfect/reactivity/atom_registry/_registry.py +380 -0
  867. pyfect/reactivity/atom_rpc.py +283 -0
  868. pyfect/reactivity/hydration.py +200 -0
  869. pyfect/redacted.py +83 -0
  870. pyfect/ref.py +129 -0
  871. pyfect/resource.py +98 -0
  872. pyfect/result.py +306 -0
  873. pyfect/rpc/__init__.py +64 -0
  874. pyfect/rpc/_encoded_schema.py +86 -0
  875. pyfect/rpc/_json_rpc.py +246 -0
  876. pyfect/rpc/_methods.py +177 -0
  877. pyfect/rpc/_rpc.py +498 -0
  878. pyfect/rpc/client/__init__.py +100 -0
  879. pyfect/rpc/client/_core.py +449 -0
  880. pyfect/rpc/client/_http.py +257 -0
  881. pyfect/rpc/client/_protocol.py +171 -0
  882. pyfect/rpc/client/_serialized.py +321 -0
  883. pyfect/rpc/client/_transports.py +328 -0
  884. pyfect/rpc/client/_worker.py +283 -0
  885. pyfect/rpc/client_error.py +35 -0
  886. pyfect/rpc/group.py +296 -0
  887. pyfect/rpc/message.py +299 -0
  888. pyfect/rpc/middleware.py +182 -0
  889. pyfect/rpc/schema.py +89 -0
  890. pyfect/rpc/serialization.py +366 -0
  891. pyfect/rpc/server/__init__.py +181 -0
  892. pyfect/rpc/server/_core.py +549 -0
  893. pyfect/rpc/server/_protocol.py +123 -0
  894. pyfect/rpc/server/_serialized.py +363 -0
  895. pyfect/rpc/server/_stdio.py +101 -0
  896. pyfect/rpc/server/_transports.py +427 -0
  897. pyfect/rpc/server/_worker.py +108 -0
  898. pyfect/rpc/test.py +74 -0
  899. pyfect/rpc/worker.py +92 -0
  900. pyfect/run.py +393 -0
  901. pyfect/schedule/__init__.py +91 -0
  902. pyfect/schedule/_combinators.py +168 -0
  903. pyfect/schedule/_constructors.py +223 -0
  904. pyfect/schedule/_cron.py +49 -0
  905. pyfect/schedule/_drive.py +191 -0
  906. pyfect/schedule/_model.py +405 -0
  907. pyfect/scheduler.py +575 -0
  908. pyfect/schema/__init__.py +866 -0
  909. pyfect/schema/_adapters.py +39 -0
  910. pyfect/schema/_arbitrary_constraint.py +242 -0
  911. pyfect/schema/_arbitrary_graph.py +325 -0
  912. pyfect/schema/_arbitrary_links.py +179 -0
  913. pyfect/schema/_arbitrary_number.py +112 -0
  914. pyfect/schema/_arrays.py +287 -0
  915. pyfect/schema/_assignable.py +118 -0
  916. pyfect/schema/_boolean_literals.py +31 -0
  917. pyfect/schema/_checks_number.py +216 -0
  918. pyfect/schema/_checks_order.py +140 -0
  919. pyfect/schema/_checks_size.py +277 -0
  920. pyfect/schema/_checks_string.py +241 -0
  921. pyfect/schema/_class.py +569 -0
  922. pyfect/schema/_codec_derivation.py +227 -0
  923. pyfect/schema/_codec_links.py +221 -0
  924. pyfect/schema/_codecs.py +316 -0
  925. pyfect/schema/_collections.py +172 -0
  926. pyfect/schema/_constructor_default.py +89 -0
  927. pyfect/schema/_data.py +440 -0
  928. pyfect/schema/_data_codecs.py +145 -0
  929. pyfect/schema/_decimal_regexp.py +243 -0
  930. pyfect/schema/_declare.py +68 -0
  931. pyfect/schema/_derive.py +292 -0
  932. pyfect/schema/_duration_codecs.py +27 -0
  933. pyfect/schema/_ecma_pattern.py +416 -0
  934. pyfect/schema/_error.py +26 -0
  935. pyfect/schema/_error_instance.py +222 -0
  936. pyfect/schema/_graph.py +271 -0
  937. pyfect/schema/_instances.py +240 -0
  938. pyfect/schema/_jsonschema/__init__.py +90 -0
  939. pyfect/schema/_jsonschema/_annotations.py +114 -0
  940. pyfect/schema/_jsonschema/_checks.py +253 -0
  941. pyfect/schema/_jsonschema/_compile.py +346 -0
  942. pyfect/schema/_jsonschema/_exact.py +19 -0
  943. pyfect/schema/_jsonschema/_merge.py +211 -0
  944. pyfect/schema/_jsonschema/_objects.py +231 -0
  945. pyfect/schema/_jsonschema/_references.py +221 -0
  946. pyfect/schema/_jsonschema/_template.py +69 -0
  947. pyfect/schema/_literals.py +147 -0
  948. pyfect/schema/_middleware.py +209 -0
  949. pyfect/schema/_net.py +522 -0
  950. pyfect/schema/_options.py +49 -0
  951. pyfect/schema/_parse.py +351 -0
  952. pyfect/schema/_parsed_text.py +37 -0
  953. pyfect/schema/_primitives.py +48 -0
  954. pyfect/schema/_record.py +41 -0
  955. pyfect/schema/_refine.py +81 -0
  956. pyfect/schema/_schema.py +158 -0
  957. pyfect/schema/_semver.py +144 -0
  958. pyfect/schema/_strategy/__init__.py +258 -0
  959. pyfect/schema/_strategy/_big_decimal.py +203 -0
  960. pyfect/schema/_strategy/_composites.py +119 -0
  961. pyfect/schema/_strategy/_leaves.py +94 -0
  962. pyfect/schema/_strategy/_net.py +133 -0
  963. pyfect/schema/_struct.py +87 -0
  964. pyfect/schema/_struct_keys.py +128 -0
  965. pyfect/schema/_tagged.py +254 -0
  966. pyfect/schema/_template_literal.py +172 -0
  967. pyfect/schema/_to_codec_array_from_single.py +115 -0
  968. pyfect/schema/_to_codec_go_json.py +174 -0
  969. pyfect/schema/_to_codec_json.py +73 -0
  970. pyfect/schema/_to_codec_string_tree.py +115 -0
  971. pyfect/schema/_to_differ_json_patch.py +44 -0
  972. pyfect/schema/_to_encoder_xml.py +119 -0
  973. pyfect/schema/_to_equivalence.py +186 -0
  974. pyfect/schema/_to_formatter.py +180 -0
  975. pyfect/schema/_to_iso.py +73 -0
  976. pyfect/schema/_to_strategy.py +31 -0
  977. pyfect/schema/_transform.py +210 -0
  978. pyfect/schema/_tree.py +27 -0
  979. pyfect/schema/_type_walk.py +53 -0
  980. pyfect/schema/_undefined.py +58 -0
  981. pyfect/schema/_value_codecs.py +84 -0
  982. pyfect/schema/_values.py +123 -0
  983. pyfect/schema/_void.py +86 -0
  984. pyfect/schema/ast/__init__.py +227 -0
  985. pyfect/schema/ast/_annotations.py +43 -0
  986. pyfect/schema/ast/_arrays.py +210 -0
  987. pyfect/schema/ast/_base.py +295 -0
  988. pyfect/schema/ast/_candidates.py +309 -0
  989. pyfect/schema/ast/_check.py +181 -0
  990. pyfect/schema/ast/_class.py +159 -0
  991. pyfect/schema/ast/_constructors.py +65 -0
  992. pyfect/schema/ast/_declaration.py +97 -0
  993. pyfect/schema/ast/_encoding.py +111 -0
  994. pyfect/schema/ast/_json.py +129 -0
  995. pyfect/schema/ast/_keywords.py +125 -0
  996. pyfect/schema/ast/_literal.py +157 -0
  997. pyfect/schema/ast/_objects.py +356 -0
  998. pyfect/schema/ast/_record.py +36 -0
  999. pyfect/schema/ast/_result.py +116 -0
  1000. pyfect/schema/ast/_steps.py +209 -0
  1001. pyfect/schema/ast/_suspend.py +65 -0
  1002. pyfect/schema/ast/_template_literal.py +256 -0
  1003. pyfect/schema/ast/_union.py +172 -0
  1004. pyfect/schema/getter/__init__.py +136 -0
  1005. pyfect/schema/getter/_binary.py +104 -0
  1006. pyfect/schema/getter/_coerce.py +196 -0
  1007. pyfect/schema/getter/_getter.py +243 -0
  1008. pyfect/schema/getter/_make.py +151 -0
  1009. pyfect/schema/getter/_text.py +141 -0
  1010. pyfect/schema/getter/_tree_record.py +170 -0
  1011. pyfect/schema/issue.py +420 -0
  1012. pyfect/schema/model/__init__.py +120 -0
  1013. pyfect/schema/model/_class.py +245 -0
  1014. pyfect/schema/model/_dates.py +103 -0
  1015. pyfect/schema/model/_fields.py +77 -0
  1016. pyfect/schema/model/_toolkit.py +114 -0
  1017. pyfect/schema/model/_uuid.py +69 -0
  1018. pyfect/schema/representation/__init__.py +424 -0
  1019. pyfect/schema/representation/_builtin_revivers.py +331 -0
  1020. pyfect/schema/representation/_code.py +106 -0
  1021. pyfect/schema/representation/_code_builtins.py +281 -0
  1022. pyfect/schema/representation/_code_document.py +563 -0
  1023. pyfect/schema/representation/_code_sort.py +111 -0
  1024. pyfect/schema/representation/_from.py +278 -0
  1025. pyfect/schema/representation/_import/__init__.py +78 -0
  1026. pyfect/schema/representation/_import/_finalize.py +121 -0
  1027. pyfect/schema/representation/_import/_intersect.py +467 -0
  1028. pyfect/schema/representation/_import/_js_order.py +66 -0
  1029. pyfect/schema/representation/_import/_keywords.py +224 -0
  1030. pyfect/schema/representation/_import/_nodes.py +199 -0
  1031. pyfect/schema/representation/_import/_translate.py +455 -0
  1032. pyfect/schema/representation/_json.py +520 -0
  1033. pyfect/schema/representation/_json_schema.py +178 -0
  1034. pyfect/schema/representation/_model.py +284 -0
  1035. pyfect/schema/representation/_revivers.py +89 -0
  1036. pyfect/schema/representation/_to.py +249 -0
  1037. pyfect/schema/transformation/__init__.py +99 -0
  1038. pyfect/schema/transformation/_builtins.py +314 -0
  1039. pyfect/schema/transformation/_durations.py +150 -0
  1040. pyfect/schema/transformation/_transformation.py +177 -0
  1041. pyfect/schema/variant_schema/__init__.py +69 -0
  1042. pyfect/schema/variant_schema/_class.py +188 -0
  1043. pyfect/schema/variant_schema/_defaults.py +30 -0
  1044. pyfect/schema/variant_schema/_field.py +32 -0
  1045. pyfect/schema/variant_schema/_struct.py +130 -0
  1046. pyfect/schema/variant_schema/_toolkit.py +160 -0
  1047. pyfect/scope.py +374 -0
  1048. pyfect/scoped_ref.py +124 -0
  1049. pyfect/semaphore.py +276 -0
  1050. pyfect/semver.py +403 -0
  1051. pyfect/semver_range.py +420 -0
  1052. pyfect/sink/__init__.py +131 -0
  1053. pyfect/sink/_combinators.py +151 -0
  1054. pyfect/sink/_constructors.py +187 -0
  1055. pyfect/sink/_context.py +87 -0
  1056. pyfect/sink/_folds.py +336 -0
  1057. pyfect/sink/_for_each.py +87 -0
  1058. pyfect/sink/_sink.py +265 -0
  1059. pyfect/sink/_steps.py +34 -0
  1060. pyfect/sink/_taking.py +183 -0
  1061. pyfect/socket/__init__.py +146 -0
  1062. pyfect/socket/_accepted.py +65 -0
  1063. pyfect/socket/_connection.py +384 -0
  1064. pyfect/socket/_errors.py +135 -0
  1065. pyfect/socket/_loop.py +66 -0
  1066. pyfect/socket/_net.py +281 -0
  1067. pyfect/socket/_socket.py +245 -0
  1068. pyfect/socket/_tls.py +88 -0
  1069. pyfect/socket/_tls_session.py +117 -0
  1070. pyfect/socket/_web_socket.py +555 -0
  1071. pyfect/socket/datagram/__init__.py +110 -0
  1072. pyfect/socket/datagram/_core.py +460 -0
  1073. pyfect/socket/datagram/_errors.py +102 -0
  1074. pyfect/socket/datagram/_live.py +675 -0
  1075. pyfect/socket/datagram/_model.py +217 -0
  1076. pyfect/socket/server.py +258 -0
  1077. pyfect/socket/ws.py +484 -0
  1078. pyfect/sql/__init__.py +60 -0
  1079. pyfect/sql/_loop.py +134 -0
  1080. pyfect/sql/clickhouse/__init__.py +74 -0
  1081. pyfect/sql/clickhouse/_connection.py +237 -0
  1082. pyfect/sql/clickhouse/_rows.py +87 -0
  1083. pyfect/sql/clickhouse/client.py +322 -0
  1084. pyfect/sql/clickhouse/config.py +241 -0
  1085. pyfect/sql/clickhouse/driver.py +434 -0
  1086. pyfect/sql/clickhouse/error.py +106 -0
  1087. pyfect/sql/clickhouse/migrator.py +47 -0
  1088. pyfect/sql/clickhouse/params.py +168 -0
  1089. pyfect/sql/client/__init__.py +35 -0
  1090. pyfect/sql/client/_client.py +309 -0
  1091. pyfect/sql/client/_sqlite_acquirers.py +130 -0
  1092. pyfect/sql/client/_transaction.py +410 -0
  1093. pyfect/sql/connection.py +87 -0
  1094. pyfect/sql/d1/__init__.py +48 -0
  1095. pyfect/sql/d1/api.py +270 -0
  1096. pyfect/sql/d1/client.py +344 -0
  1097. pyfect/sql/d1/config.py +55 -0
  1098. pyfect/sql/error.py +311 -0
  1099. pyfect/sql/libsql/__init__.py +58 -0
  1100. pyfect/sql/libsql/_connection.py +110 -0
  1101. pyfect/sql/libsql/_hrana.py +258 -0
  1102. pyfect/sql/libsql/_local.py +251 -0
  1103. pyfect/sql/libsql/_targets.py +28 -0
  1104. pyfect/sql/libsql/_values.py +46 -0
  1105. pyfect/sql/libsql/client.py +225 -0
  1106. pyfect/sql/libsql/config.py +170 -0
  1107. pyfect/sql/libsql/migrator.py +43 -0
  1108. pyfect/sql/libsql/sdk.py +123 -0
  1109. pyfect/sql/migrator.py +434 -0
  1110. pyfect/sql/model.py +324 -0
  1111. pyfect/sql/mssql/__init__.py +79 -0
  1112. pyfect/sql/mssql/_connection.py +169 -0
  1113. pyfect/sql/mssql/_driver.py +103 -0
  1114. pyfect/sql/mssql/_names.py +9 -0
  1115. pyfect/sql/mssql/_pool.py +125 -0
  1116. pyfect/sql/mssql/_tds.py +447 -0
  1117. pyfect/sql/mssql/_tds_params.py +155 -0
  1118. pyfect/sql/mssql/_worker.py +155 -0
  1119. pyfect/sql/mssql/client.py +344 -0
  1120. pyfect/sql/mssql/config.py +118 -0
  1121. pyfect/sql/mssql/error.py +111 -0
  1122. pyfect/sql/mssql/migrator.py +43 -0
  1123. pyfect/sql/mssql/parameter.py +44 -0
  1124. pyfect/sql/mssql/procedure.py +119 -0
  1125. pyfect/sql/mssql/types.py +137 -0
  1126. pyfect/sql/mysql/__init__.py +60 -0
  1127. pyfect/sql/mysql/_asyncmy.py +168 -0
  1128. pyfect/sql/mysql/_bind.py +76 -0
  1129. pyfect/sql/mysql/_connection.py +156 -0
  1130. pyfect/sql/mysql/_pool.py +63 -0
  1131. pyfect/sql/mysql/_session.py +262 -0
  1132. pyfect/sql/mysql/client.py +244 -0
  1133. pyfect/sql/mysql/config.py +108 -0
  1134. pyfect/sql/mysql/error.py +104 -0
  1135. pyfect/sql/mysql/migrator.py +44 -0
  1136. pyfect/sql/pg/__init__.py +82 -0
  1137. pyfect/sql/pg/_resolve.py +284 -0
  1138. pyfect/sql/pg/_session.py +380 -0
  1139. pyfect/sql/pg/client.py +398 -0
  1140. pyfect/sql/pg/config.py +142 -0
  1141. pyfect/sql/pg/connection.py +585 -0
  1142. pyfect/sql/pg/error.py +131 -0
  1143. pyfect/sql/pg/migrator.py +139 -0
  1144. pyfect/sql/pg/pool.py +265 -0
  1145. pyfect/sql/resolver.py +294 -0
  1146. pyfect/sql/result.py +24 -0
  1147. pyfect/sql/schema.py +116 -0
  1148. pyfect/sql/sqlite/__init__.py +26 -0
  1149. pyfect/sql/sqlite/_connection.py +230 -0
  1150. pyfect/sql/sqlite/_worker.py +71 -0
  1151. pyfect/sql/sqlite/client.py +248 -0
  1152. pyfect/sql/sqlite/migrator.py +43 -0
  1153. pyfect/sql/statement/__init__.py +144 -0
  1154. pyfect/sql/statement/_compiler.py +384 -0
  1155. pyfect/sql/statement/_segments.py +487 -0
  1156. pyfect/sql/statement/_statement.py +526 -0
  1157. pyfect/sql/statement/_transforms.py +93 -0
  1158. pyfect/sql/stream.py +88 -0
  1159. pyfect/stdio.py +206 -0
  1160. pyfect/stream/__init__.py +151 -0
  1161. pyfect/stream/_async_iterable.py +129 -0
  1162. pyfect/stream/_base.py +69 -0
  1163. pyfect/stream/_bridge_methods.py +139 -0
  1164. pyfect/stream/_catch.py +135 -0
  1165. pyfect/stream/_catch_reason.py +558 -0
  1166. pyfect/stream/_channel_methods.py +61 -0
  1167. pyfect/stream/_chunk_methods.py +169 -0
  1168. pyfect/stream/_chunking.py +310 -0
  1169. pyfect/stream/_concat.py +65 -0
  1170. pyfect/stream/_constructors.py +341 -0
  1171. pyfect/stream/_context.py +147 -0
  1172. pyfect/stream/_error_methods.py +254 -0
  1173. pyfect/stream/_execution_plan.py +199 -0
  1174. pyfect/stream/_fanout.py +154 -0
  1175. pyfect/stream/_fanout_methods.py +183 -0
  1176. pyfect/stream/_filter_methods.py +203 -0
  1177. pyfect/stream/_grouping.py +168 -0
  1178. pyfect/stream/_many.py +65 -0
  1179. pyfect/stream/_map_methods.py +233 -0
  1180. pyfect/stream/_mapping.py +126 -0
  1181. pyfect/stream/_run.py +114 -0
  1182. pyfect/stream/_run_methods.py +114 -0
  1183. pyfect/stream/_service_methods.py +36 -0
  1184. pyfect/stream/_sink_methods.py +151 -0
  1185. pyfect/stream/_sinking.py +277 -0
  1186. pyfect/stream/_sources.py +124 -0
  1187. pyfect/stream/_stream.py +162 -0
  1188. pyfect/stream/_taking.py +330 -0
  1189. pyfect/stream/_text.py +43 -0
  1190. pyfect/stream/_timing.py +294 -0
  1191. pyfect/stream/_timing_methods.py +252 -0
  1192. pyfect/stream/_zip_methods.py +279 -0
  1193. pyfect/stream/_zipping.py +213 -0
  1194. pyfect/subscription_ref.py +66 -0
  1195. pyfect/synchronized_ref.py +38 -0
  1196. pyfect/take.py +36 -0
  1197. pyfect/terminal/__init__.py +41 -0
  1198. pyfect/terminal/_keys.py +113 -0
  1199. pyfect/terminal/_live.py +223 -0
  1200. pyfect/terminal/_service.py +73 -0
  1201. pyfect/testing/__init__.py +122 -0
  1202. pyfect/testing/_assertions.py +92 -0
  1203. pyfect/testing/_clock.py +309 -0
  1204. pyfect/testing/_console.py +164 -0
  1205. pyfect/testing/_crypto.py +44 -0
  1206. pyfect/testing/_decorators.py +211 -0
  1207. pyfect/testing/_flaky.py +34 -0
  1208. pyfect/testing/_layers.py +153 -0
  1209. pyfect/testing/_prop.py +255 -0
  1210. pyfect/testing/_runners.py +84 -0
  1211. pyfect/testing/_runtime.py +174 -0
  1212. pyfect/testing/_schema.py +238 -0
  1213. pyfect/testing/plugin.py +59 -0
  1214. pyfect/tracer/__init__.py +107 -0
  1215. pyfect/tracer/_model.py +176 -0
  1216. pyfect/tracer/_native.py +172 -0
  1217. pyfect/tracer/_refs.py +87 -0
  1218. pyfect/tracer/_spans.py +269 -0
  1219. pyfect/transaction.py +340 -0
  1220. pyfect/trie.py +317 -0
  1221. pyfect/tx_chunk.py +127 -0
  1222. pyfect/tx_deferred.py +75 -0
  1223. pyfect/tx_hash_map.py +265 -0
  1224. pyfect/tx_hash_set.py +151 -0
  1225. pyfect/tx_priority_queue.py +224 -0
  1226. pyfect/tx_pubsub.py +194 -0
  1227. pyfect/tx_queue/__init__.py +27 -0
  1228. pyfect/tx_queue/_queue.py +359 -0
  1229. pyfect/tx_queue/_views.py +60 -0
  1230. pyfect/tx_reentrant_lock.py +201 -0
  1231. pyfect/tx_ref.py +79 -0
  1232. pyfect/tx_semaphore.py +136 -0
  1233. pyfect/tx_subscription_ref.py +118 -0
  1234. pyfect/workers/__init__.py +62 -0
  1235. pyfect/workers/_frames.py +82 -0
  1236. pyfect/workers/_mailbox.py +51 -0
  1237. pyfect/workers/_port.py +106 -0
  1238. pyfect/workers/_process.py +155 -0
  1239. pyfect/workers/_thread.py +100 -0
  1240. pyfect/workers/python_worker.py +133 -0
  1241. pyfect/workers/python_worker_runner.py +112 -0
  1242. pyfect/workers/transferable.py +103 -0
  1243. pyfect/workers/worker.py +273 -0
  1244. pyfect/workers/worker_error.py +86 -0
  1245. pyfect/workers/worker_runner.py +85 -0
  1246. pyfect/workflow/__init__.py +78 -0
  1247. pyfect/workflow/_crypto.py +23 -0
  1248. pyfect/workflow/_encoded.py +381 -0
  1249. pyfect/workflow/_memory.py +424 -0
  1250. pyfect/workflow/_result.py +43 -0
  1251. pyfect/workflow/_services.py +241 -0
  1252. pyfect/workflow/_suspension.py +153 -0
  1253. pyfect/workflow/activity.py +427 -0
  1254. pyfect/workflow/durable_clock.py +72 -0
  1255. pyfect/workflow/durable_deferred.py +403 -0
  1256. pyfect/workflow/durable_queue.py +259 -0
  1257. pyfect/workflow/workflow.py +509 -0
  1258. pyfect/workflow/workflow_engine.py +42 -0
  1259. pyfect/workflow/workflow_proxy.py +161 -0
  1260. pyfect/workflow/workflow_proxy_server.py +146 -0
  1261. pyfect_dev-0.1.0.dist-info/METADATA +296 -0
  1262. pyfect_dev-0.1.0.dist-info/RECORD +1265 -0
  1263. pyfect_dev-0.1.0.dist-info/WHEEL +4 -0
  1264. pyfect_dev-0.1.0.dist-info/entry_points.txt +3 -0
  1265. pyfect_dev-0.1.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,1017 @@
1
+ """Schemas generated by ``scripts/gen_ai_schemas.py``; do not edit.
2
+ Import them from ``pyfect.ai.openai.generated``."""
3
+
4
+ # pyright: reportPrivateUsage=false, reportUnusedImport=false
5
+ from __future__ import annotations
6
+
7
+ import typing as _t
8
+
9
+ from pyfect import schema as _S
10
+ from pyfect.ai import _generated_support as _b
11
+ from pyfect.http.body import File as _File
12
+ from pyfect.ai.openai.generated import types as _T
13
+ from pyfect.schema._struct import StructSchema as _StructSchema
14
+
15
+ from pyfect.ai.openai.generated._schemas_0 import AddUploadPartRequestMultipart, AdminApiKey, AdminApiKeyCreateResponse, AssignedRoleDetails, AuditLogEventType, Certificate, CompleteUploadRequest, ConversationResource, CreateContentProvenanceBodyMultipart, CreateGroupBody, CreateGroupUserBody, CreateImageEditRequestMultipart, CreateImageRequest, CreateImageVariationRequestMultipart, CreateModerationRequest, CreateModerationResponse, CreateProjectServiceAccountApiKeyBody, CreateUploadRequest, CreateVideoCharacterBodyMultipart, DecisionsUsageBucketWidth, DecisionsUsageGroupBy, DeleteCertificateResponse, DeleteMessageResponse, DeleteModelResponse, DeleteThreadResponse, DeleteVectorStoreFileResponse, DeleteVectorStoreResponse, DeletedConversationResource, DeletedRoleAssignmentResource, EditImageBodyJsonParam, ExternalStorageDeletedResource, ExternalStorageOrder, GroupDeletedResource, GroupMemberUser, GroupResourceWithSuccess, GroupResponse, GroupUserAssignment, GroupUserDeletedResource, IncludeEnum, Invite, InviteDeleteResponse, InviteProjectGroupBody, InviteRequest, ListFineTuningJobEventsResponse, LiveCallReferRequest, LiveCallRejectRequest, Model, ModifyCertificateRequest, ModifyMessageRequest, ModifyRunRequest, ModifyThreadRequest, OrderEnum, OrganizationDataRetention, OrganizationSpendAlertDeletedResource, OrganizationSpendLimitDeletedResource, ProjectApiKeyDeleteResponse, ProjectDataRetention, ProjectGroup, ProjectGroupDeletedResource, ProjectModelPermissions, ProjectModelPermissionsDeleteResponse, ProjectModelPermissionsUpdateRequest, ProjectRateLimit, ProjectRateLimitUpdateRequest, ProjectServiceAccount, ProjectServiceAccountCreateRequest, ProjectServiceAccountDeleteResponse, ProjectSpendAlertDeletedResource, ProjectSpendLimitDeletedResource, ProjectUpdateRequest, ProjectUser, ProjectUserCreateRequest, ProjectUserDeleteResponse, ProjectUserUpdateRequest, PublicAssignOrganizationGroupRoleBody, PublicCreateOrganizationRoleBody, PublicUpdateOrganizationRoleBody, RealtimeCallReferRequest, RealtimeCallRejectRequest, Role, RoleDeletedResource, ServiceAccountApiKeyBody, SubmitToolOutputsRunRequest, ThreadObject, ToggleCertificatesRequest, UpdateConversationBody, UpdateGroupBody, UpdateOrganizationDataRetentionBody, UpdateOrganizationSpendLimitBody, UpdateProjectDataRetentionBody, UpdateProjectServiceAccountBody, UpdateProjectSpendLimitBody, UpdateVectorStoreFileAttributesRequest, Upload, UploadCertificateRequest, UploadPart, User, UserDeleteResponse, UserRoleUpdateRequest, VectorStoreFileBatchObject, VectorStoreFileContentResponse, VectorStoreSearchRequest, VideoCharacterResource
16
+ from pyfect.ai.openai.generated._schemas_1 import ApiKeyList, AssistantStreamEvent, CreateConversationBody, CreateExternalStorageBody, CreateMessageRequest, CreateResponse, CreateRunRequest, CreateSpendAlertBody, CreateThreadAndRunRequest, CreateThreadRequest, CreateVectorStoreFileBatchRequest, CreateVectorStoreFileRequest, CreateVectorStoreRequest, CreateVideoJsonBody, CreateVideoMultipartBodyMultipart, DecisionsUsageErrorResponse, DecisionsUsagePermissionErrorResponse, ErrorResponse, ExternalStorageListResource, ExternalStorageResponse, FineTuningJob, GroupListResource, GroupRoleAssignment, ImageEditStreamEvent, ImageGenStreamEvent, ImagesResponse, InviteListResponse, ListAuditLogsResponse, ListCertificatesResponse, ListMessagesResponse, ListModelsResponse, ListProjectCertificatesResponse, ListRunStepsResponse, ListRunsResponse, ListVectorStoreFilesResponse, ListVectorStoresResponse, LiveCallAcceptRequest, LiveCreateResponse, LiveForkRequest, LiveSessionCreateRequest, LiveSessionCreateResponse, MessageObject, OrganizationCertificateActivationResponse, OrganizationCertificateDeactivationResponse, OrganizationProjectCertificateActivationResponse, OrganizationProjectCertificateDeactivationResponse, OrganizationSpendAlert, OrganizationSpendAlertListResource, OrganizationSpendLimitResource, PermissionErrorResponse, Project, ProjectApiKey, ProjectApiKeyListResponse, ProjectCreateRequest, ProjectGroupListResource, ProjectHostedToolPermissions, ProjectHostedToolPermissionsUpdateRequest, ProjectListResponse, ProjectRateLimitListResponse, ProjectServiceAccountCreateResponse, ProjectServiceAccountListResponse, ProjectSpendAlert, ProjectSpendAlertListResource, ProjectSpendLimitResource, ProjectUserListResponse, ProvenanceResource, PublicDecisionsUsageResponseResource, PublicRoleListResource, RealtimeCallCreateRequest, RealtimeCreateClientSecretRequest, RealtimeCreateClientSecretResponse, RealtimeSessionCreateRequest, RealtimeSessionCreateRequestGA, RealtimeSessionCreateResponse, RealtimeTranscriptionSessionCreateRequest, RealtimeTranscriptionSessionCreateResponse, RealtimeTranslationClientSecretCreateRequest, RealtimeTranslationClientSecretCreateResponse, Response, ResponseItemList, ResponseStreamEvent, RoleListResource, RunObject, RunStepObject, SafetyAlertResource, SafetyCaseResource, UpdateVectorStoreRequest, UsageResponse, UserListResource, UserListResponse, UserRoleAssignment, VectorStoreFileObject, VectorStoreObject, VectorStoreSearchResultsPage, VideoListResource, VideoResource
17
+
18
+ ListFineTuningJobCheckpoints404: _S.Bottom[_T.ListFineTuningJobCheckpoints404, _t.Any] = ErrorResponse
19
+ ListFineTuningJobCheckpoints429: _S.Bottom[_T.ListFineTuningJobCheckpoints429, _t.Any] = ErrorResponse
20
+ ListFineTuningEventsParams: _StructSchema[_T.ListFineTuningEventsParams, _t.Never, _t.Never] = _b.struct(_T.ListFineTuningEventsParams, {"after": _S.String, "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer"))}, optional=("after", "limit",))
21
+ ListFineTuningEvents200: _S.Bottom[_T.ListFineTuningEvents200, _t.Any] = ListFineTuningJobEventsResponse
22
+ ListFineTuningEvents400: _S.Bottom[_T.ListFineTuningEvents400, _t.Any] = ErrorResponse
23
+ ListFineTuningEvents404: _S.Bottom[_T.ListFineTuningEvents404, _t.Any] = ErrorResponse
24
+ ListFineTuningEvents429: _S.Bottom[_T.ListFineTuningEvents429, _t.Any] = ErrorResponse
25
+ PauseFineTuningJob200: _S.Bottom[_T.PauseFineTuningJob200, _t.Any] = FineTuningJob
26
+ PauseFineTuningJob400: _S.Bottom[_T.PauseFineTuningJob400, _t.Any] = ErrorResponse
27
+ PauseFineTuningJob404: _S.Bottom[_T.PauseFineTuningJob404, _t.Any] = ErrorResponse
28
+ PauseFineTuningJob429: _S.Bottom[_T.PauseFineTuningJob429, _t.Any] = ErrorResponse
29
+ ResumeFineTuningJob200: _S.Bottom[_T.ResumeFineTuningJob200, _t.Any] = FineTuningJob
30
+ ResumeFineTuningJob400: _S.Bottom[_T.ResumeFineTuningJob400, _t.Any] = ErrorResponse
31
+ ResumeFineTuningJob404: _S.Bottom[_T.ResumeFineTuningJob404, _t.Any] = ErrorResponse
32
+ ResumeFineTuningJob429: _S.Bottom[_T.ResumeFineTuningJob429, _t.Any] = ErrorResponse
33
+ CreateImageEditRequestJson: _S.Bottom[_T.CreateImageEditRequestJson, _t.Any] = EditImageBodyJsonParam
34
+ CreateImageEditRequestFormData: _S.Bottom[_T.CreateImageEditRequestFormData, _t.Any] = CreateImageEditRequestMultipart
35
+ CreateImageEdit200: _S.Bottom[_T.CreateImageEdit200, _t.Any] = ImagesResponse
36
+ CreateImageEdit200Sse: _S.Bottom[_T.CreateImageEdit200Sse, _t.Any] = ImageEditStreamEvent
37
+ CreateImageEdit400: _S.Bottom[_T.CreateImageEdit400, _t.Any] = ErrorResponse
38
+ CreateImageEdit403: _S.Bottom[_T.CreateImageEdit403, _t.Any] = ErrorResponse
39
+ CreateImageEdit410: _S.Bottom[_T.CreateImageEdit410, _t.Any] = ErrorResponse
40
+ CreateImageEdit429: _S.Bottom[_T.CreateImageEdit429, _t.Any] = ErrorResponse
41
+ CreateImageEdit500: _S.Bottom[_T.CreateImageEdit500, _t.Any] = ErrorResponse
42
+ CreateImageEdit503: _S.Bottom[_T.CreateImageEdit503, _t.Any] = ErrorResponse
43
+ CreateImageRequestJson: _S.Bottom[_T.CreateImageRequestJson, _t.Any] = CreateImageRequest
44
+ CreateImage200: _S.Bottom[_T.CreateImage200, _t.Any] = ImagesResponse
45
+ CreateImage200Sse: _S.Bottom[_T.CreateImage200Sse, _t.Any] = ImageGenStreamEvent
46
+ CreateImage400: _S.Bottom[_T.CreateImage400, _t.Any] = ErrorResponse
47
+ CreateImage403: _S.Bottom[_T.CreateImage403, _t.Any] = ErrorResponse
48
+ CreateImage410: _S.Bottom[_T.CreateImage410, _t.Any] = ErrorResponse
49
+ CreateImage429: _S.Bottom[_T.CreateImage429, _t.Any] = ErrorResponse
50
+ CreateImage500: _S.Bottom[_T.CreateImage500, _t.Any] = ErrorResponse
51
+ CreateImage503: _S.Bottom[_T.CreateImage503, _t.Any] = ErrorResponse
52
+ CreateImageVariationRequestFormData: _S.Bottom[_T.CreateImageVariationRequestFormData, _t.Any] = CreateImageVariationRequestMultipart
53
+ CreateImageVariation200: _S.Bottom[_T.CreateImageVariation200, _t.Any] = ImagesResponse
54
+ CreateImageVariation400: _S.Bottom[_T.CreateImageVariation400, _t.Any] = ErrorResponse
55
+ CreateImageVariation403: _S.Bottom[_T.CreateImageVariation403, _t.Any] = ErrorResponse
56
+ CreateImageVariation410: _S.Bottom[_T.CreateImageVariation410, _t.Any] = ErrorResponse
57
+ CreateImageVariation429: _S.Bottom[_T.CreateImageVariation429, _t.Any] = ErrorResponse
58
+ CreateImageVariation500: _S.Bottom[_T.CreateImageVariation500, _t.Any] = ErrorResponse
59
+ CreateLiveRequestJson: _S.Bottom[_T.CreateLiveRequestJson, _t.Any] = LiveSessionCreateRequest
60
+ CreateLive201: _S.Bottom[_T.CreateLive201, _t.Any] = LiveSessionCreateResponse
61
+ CreateLive400: _S.Bottom[_T.CreateLive400, _t.Any] = ErrorResponse
62
+ CreateLive413: _S.Bottom[_T.CreateLive413, _t.Any] = ErrorResponse
63
+ CreateLive429: _S.Bottom[_T.CreateLive429, _t.Any] = ErrorResponse
64
+ CreateLive503: _S.Bottom[_T.CreateLive503, _t.Any] = ErrorResponse
65
+ CreateLive504: _S.Bottom[_T.CreateLive504, _t.Any] = ErrorResponse
66
+ AcceptLiveSessionRequestJson: _S.Bottom[_T.AcceptLiveSessionRequestJson, _t.Any] = LiveCallAcceptRequest
67
+ AcceptLiveSession400: _S.Bottom[_T.AcceptLiveSession400, _t.Any] = ErrorResponse
68
+ AcceptLiveSession404: _S.Bottom[_T.AcceptLiveSession404, _t.Any] = ErrorResponse
69
+ AcceptLiveSession409: _S.Bottom[_T.AcceptLiveSession409, _t.Any] = ErrorResponse
70
+ AcceptLiveSession429: _S.Bottom[_T.AcceptLiveSession429, _t.Any] = ErrorResponse
71
+ AcceptLiveSession503: _S.Bottom[_T.AcceptLiveSession503, _t.Any] = ErrorResponse
72
+ ForkLiveSessionRequestJson: _S.Bottom[_T.ForkLiveSessionRequestJson, _t.Any] = LiveForkRequest
73
+ ForkLiveSession201: _S.Bottom[_T.ForkLiveSession201, _t.Any] = LiveCreateResponse
74
+ ForkLiveSession400: _S.Bottom[_T.ForkLiveSession400, _t.Any] = ErrorResponse
75
+ ForkLiveSession413: _S.Bottom[_T.ForkLiveSession413, _t.Any] = ErrorResponse
76
+ ForkLiveSession429: _S.Bottom[_T.ForkLiveSession429, _t.Any] = ErrorResponse
77
+ ForkLiveSession503: _S.Bottom[_T.ForkLiveSession503, _t.Any] = ErrorResponse
78
+ HangupLiveSession404: _S.Bottom[_T.HangupLiveSession404, _t.Any] = ErrorResponse
79
+ ReferLiveSessionRequestJson: _S.Bottom[_T.ReferLiveSessionRequestJson, _t.Any] = LiveCallReferRequest
80
+ ReferLiveSession400: _S.Bottom[_T.ReferLiveSession400, _t.Any] = ErrorResponse
81
+ ReferLiveSession404: _S.Bottom[_T.ReferLiveSession404, _t.Any] = ErrorResponse
82
+ RejectLiveSessionRequestJson: _S.Bottom[_T.RejectLiveSessionRequestJson, _t.Any] = LiveCallRejectRequest
83
+ RejectLiveSession400: _S.Bottom[_T.RejectLiveSession400, _t.Any] = ErrorResponse
84
+ RejectLiveSession404: _S.Bottom[_T.RejectLiveSession404, _t.Any] = ErrorResponse
85
+ RejectLiveSession409: _S.Bottom[_T.RejectLiveSession409, _t.Any] = ErrorResponse
86
+ ListModels200: _S.Bottom[_T.ListModels200, _t.Any] = ListModelsResponse
87
+ ListModels403: _S.Bottom[_T.ListModels403, _t.Any] = PermissionErrorResponse
88
+ RetrieveModel200: _S.Bottom[_T.RetrieveModel200, _t.Any] = Model
89
+ RetrieveModel403: _S.Bottom[_T.RetrieveModel403, _t.Any] = PermissionErrorResponse
90
+ RetrieveModel404: _S.Bottom[_T.RetrieveModel404, _t.Any] = ErrorResponse
91
+ DeleteModel200: _S.Bottom[_T.DeleteModel200, _t.Any] = DeleteModelResponse
92
+ DeleteModel403: _S.Bottom[_T.DeleteModel403, _t.Any] = PermissionErrorResponse
93
+ DeleteModel404: _S.Bottom[_T.DeleteModel404, _t.Any] = ErrorResponse
94
+ CreateModerationRequestJson: _S.Bottom[_T.CreateModerationRequestJson, _t.Any] = CreateModerationRequest
95
+ CreateModeration200: _S.Bottom[_T.CreateModeration200, _t.Any] = CreateModerationResponse
96
+ CreateModeration400: _S.Bottom[_T.CreateModeration400, _t.Any] = ErrorResponse
97
+ CreateModeration403: _S.Bottom[_T.CreateModeration403, _t.Any] = ErrorResponse
98
+ CreateModeration429: _S.Bottom[_T.CreateModeration429, _t.Any] = ErrorResponse
99
+ CreateModeration500: _S.Bottom[_T.CreateModeration500, _t.Any] = ErrorResponse
100
+ CreateModeration503: _S.Bottom[_T.CreateModeration503, _t.Any] = ErrorResponse
101
+ AdminApiKeysListParams: _StructSchema[_T.AdminApiKeysListParams, _t.Never, _t.Never] = _b.struct(_T.AdminApiKeysListParams, {"after": _b.union(_S.String, _S.Null).annotate(description="Return keys with IDs that come after this ID in the pagination order."), "order": _b.literals(["asc", "desc"]).annotate(description="Order results by creation time, ascending or descending."), "limit": _b.check(_S.Number.annotate(description="Maximum number of keys to return."), _S.is_int().annotate(expected="an integer"))}, optional=("after", "order", "limit",))
102
+ AdminApiKeysList200: _S.Bottom[_T.AdminApiKeysList200, _t.Any] = ApiKeyList
103
+ AdminApiKeysList400: _S.Bottom[_T.AdminApiKeysList400, _t.Any] = ErrorResponse
104
+ AdminApiKeysList403: _S.Bottom[_T.AdminApiKeysList403, _t.Any] = PermissionErrorResponse
105
+ AdminApiKeysCreateRequestJson: _StructSchema[_T.AdminApiKeysCreateRequestJson, _t.Never, _t.Never] = _b.struct(_T.AdminApiKeysCreateRequestJson, {"name": _S.String, "expires_in_seconds": _b.check(_b.check(_b.check(_S.Number.annotate(description="The number of seconds until the API key expires. Omit this field for a key that does not expire."), _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(1).annotate(expected="a value greater than or equal to 1")), _S.is_less_than_or_equal_to(31536000).annotate(expected="a value less than or equal to 31536000"))}, optional=("expires_in_seconds",))
106
+ AdminApiKeysCreate200: _S.Bottom[_T.AdminApiKeysCreate200, _t.Any] = AdminApiKeyCreateResponse
107
+ AdminApiKeysCreate400: _S.Bottom[_T.AdminApiKeysCreate400, _t.Any] = ErrorResponse
108
+ AdminApiKeysCreate403: _S.Bottom[_T.AdminApiKeysCreate403, _t.Any] = PermissionErrorResponse
109
+ AdminApiKeysCreate404: _S.Bottom[_T.AdminApiKeysCreate404, _t.Any] = ErrorResponse
110
+ AdminApiKeysGet200: _S.Bottom[_T.AdminApiKeysGet200, _t.Any] = AdminApiKey
111
+ AdminApiKeysGet403: _S.Bottom[_T.AdminApiKeysGet403, _t.Any] = PermissionErrorResponse
112
+ AdminApiKeysGet404: _S.Bottom[_T.AdminApiKeysGet404, _t.Any] = ErrorResponse
113
+ AdminApiKeysDelete200: _StructSchema[_T.AdminApiKeysDelete200, _t.Never, _t.Never] = _b.struct(_T.AdminApiKeysDelete200, {"id": _S.String, "object": _b.literal("organization.admin_api_key.deleted"), "deleted": _S.Boolean})
114
+ AdminApiKeysDelete403: _S.Bottom[_T.AdminApiKeysDelete403, _t.Any] = PermissionErrorResponse
115
+ AdminApiKeysDelete404: _S.Bottom[_T.AdminApiKeysDelete404, _t.Any] = ErrorResponse
116
+ ListAuditLogsParams: _StructSchema[_T.ListAuditLogsParams, _t.Never, _t.Never] = _b.struct(_T.ListAuditLogsParams, {"effective_at[gt]": _b.check(_S.Number.annotate(description="Return only events whose `effective_at` (Unix seconds) is greater than this value."), _S.is_int().annotate(expected="an integer")), "effective_at[gte]": _b.check(_S.Number.annotate(description="Return only events whose `effective_at` (Unix seconds) is greater than or equal to this value."), _S.is_int().annotate(expected="an integer")), "effective_at[lt]": _b.check(_S.Number.annotate(description="Return only events whose `effective_at` (Unix seconds) is less than this value."), _S.is_int().annotate(expected="an integer")), "effective_at[lte]": _b.check(_S.Number.annotate(description="Return only events whose `effective_at` (Unix seconds) is less than or equal to this value."), _S.is_int().annotate(expected="an integer")), "project_ids[]": _b.array(_S.String), "event_types[]": _b.array(AuditLogEventType), "actor_ids[]": _b.array(_S.String), "actor_emails[]": _b.array(_S.String), "resource_ids[]": _b.array(_S.String), "tenant_only": _S.Boolean, "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String, "before": _S.String}, optional=("effective_at[gt]", "effective_at[gte]", "effective_at[lt]", "effective_at[lte]", "project_ids[]", "event_types[]", "actor_ids[]", "actor_emails[]", "resource_ids[]", "tenant_only", "limit", "after", "before",))
117
+ ListAuditLogs200: _S.Bottom[_T.ListAuditLogs200, _t.Any] = ListAuditLogsResponse
118
+ ListAuditLogs400: _S.Bottom[_T.ListAuditLogs400, _t.Any] = ErrorResponse
119
+ ListAuditLogs404: _S.Bottom[_T.ListAuditLogs404, _t.Any] = ErrorResponse
120
+ ListAuditLogs429: _S.Bottom[_T.ListAuditLogs429, _t.Any] = ErrorResponse
121
+ ListOrganizationCertificatesParams: _StructSchema[_T.ListOrganizationCertificatesParams, _t.Never, _t.Never] = _b.struct(_T.ListOrganizationCertificatesParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
122
+ ListOrganizationCertificates200: _S.Bottom[_T.ListOrganizationCertificates200, _t.Any] = ListCertificatesResponse
123
+ ListOrganizationCertificates400: _S.Bottom[_T.ListOrganizationCertificates400, _t.Any] = ErrorResponse
124
+ ListOrganizationCertificates403: _S.Bottom[_T.ListOrganizationCertificates403, _t.Any] = PermissionErrorResponse
125
+ ListOrganizationCertificates429: _S.Bottom[_T.ListOrganizationCertificates429, _t.Any] = ErrorResponse
126
+ UploadCertificateRequestJson: _S.Bottom[_T.UploadCertificateRequestJson, _t.Any] = UploadCertificateRequest
127
+ UploadCertificate200: _S.Bottom[_T.UploadCertificate200, _t.Any] = Certificate
128
+ UploadCertificate400: _S.Bottom[_T.UploadCertificate400, _t.Any] = ErrorResponse
129
+ UploadCertificate403: _S.Bottom[_T.UploadCertificate403, _t.Any] = PermissionErrorResponse
130
+ UploadCertificate429: _S.Bottom[_T.UploadCertificate429, _t.Any] = ErrorResponse
131
+ ActivateOrganizationCertificatesRequestJson: _S.Bottom[_T.ActivateOrganizationCertificatesRequestJson, _t.Any] = ToggleCertificatesRequest
132
+ ActivateOrganizationCertificates200: _S.Bottom[_T.ActivateOrganizationCertificates200, _t.Any] = OrganizationCertificateActivationResponse
133
+ ActivateOrganizationCertificates400: _S.Bottom[_T.ActivateOrganizationCertificates400, _t.Any] = ErrorResponse
134
+ ActivateOrganizationCertificates403: _S.Bottom[_T.ActivateOrganizationCertificates403, _t.Any] = PermissionErrorResponse
135
+ ActivateOrganizationCertificates404: _S.Bottom[_T.ActivateOrganizationCertificates404, _t.Any] = ErrorResponse
136
+ ActivateOrganizationCertificates429: _S.Bottom[_T.ActivateOrganizationCertificates429, _t.Any] = ErrorResponse
137
+ ActivateOrganizationCertificates500: _S.Bottom[_T.ActivateOrganizationCertificates500, _t.Any] = ErrorResponse
138
+ DeactivateOrganizationCertificatesRequestJson: _S.Bottom[_T.DeactivateOrganizationCertificatesRequestJson, _t.Any] = ToggleCertificatesRequest
139
+ DeactivateOrganizationCertificates200: _S.Bottom[_T.DeactivateOrganizationCertificates200, _t.Any] = OrganizationCertificateDeactivationResponse
140
+ DeactivateOrganizationCertificates400: _S.Bottom[_T.DeactivateOrganizationCertificates400, _t.Any] = ErrorResponse
141
+ DeactivateOrganizationCertificates403: _S.Bottom[_T.DeactivateOrganizationCertificates403, _t.Any] = PermissionErrorResponse
142
+ DeactivateOrganizationCertificates404: _S.Bottom[_T.DeactivateOrganizationCertificates404, _t.Any] = ErrorResponse
143
+ DeactivateOrganizationCertificates429: _S.Bottom[_T.DeactivateOrganizationCertificates429, _t.Any] = ErrorResponse
144
+ DeactivateOrganizationCertificates500: _S.Bottom[_T.DeactivateOrganizationCertificates500, _t.Any] = ErrorResponse
145
+ GetCertificateParams: _StructSchema[_T.GetCertificateParams, _t.Never, _t.Never] = _b.struct(_T.GetCertificateParams, {"include": _b.array(_b.literal("content"))}, optional=("include",))
146
+ GetCertificate200: _S.Bottom[_T.GetCertificate200, _t.Any] = Certificate
147
+ GetCertificate400: _S.Bottom[_T.GetCertificate400, _t.Any] = ErrorResponse
148
+ GetCertificate403: _S.Bottom[_T.GetCertificate403, _t.Any] = PermissionErrorResponse
149
+ GetCertificate404: _S.Bottom[_T.GetCertificate404, _t.Any] = ErrorResponse
150
+ GetCertificate429: _S.Bottom[_T.GetCertificate429, _t.Any] = ErrorResponse
151
+ ModifyCertificateRequestJson: _S.Bottom[_T.ModifyCertificateRequestJson, _t.Any] = ModifyCertificateRequest
152
+ ModifyCertificate200: _S.Bottom[_T.ModifyCertificate200, _t.Any] = Certificate
153
+ ModifyCertificate400: _S.Bottom[_T.ModifyCertificate400, _t.Any] = ErrorResponse
154
+ ModifyCertificate403: _S.Bottom[_T.ModifyCertificate403, _t.Any] = PermissionErrorResponse
155
+ ModifyCertificate404: _S.Bottom[_T.ModifyCertificate404, _t.Any] = ErrorResponse
156
+ ModifyCertificate429: _S.Bottom[_T.ModifyCertificate429, _t.Any] = ErrorResponse
157
+ ModifyCertificate500: _S.Bottom[_T.ModifyCertificate500, _t.Any] = ErrorResponse
158
+ DeleteCertificate200: _S.Bottom[_T.DeleteCertificate200, _t.Any] = DeleteCertificateResponse
159
+ DeleteCertificate400: _S.Bottom[_T.DeleteCertificate400, _t.Any] = ErrorResponse
160
+ DeleteCertificate403: _S.Bottom[_T.DeleteCertificate403, _t.Any] = PermissionErrorResponse
161
+ DeleteCertificate404: _S.Bottom[_T.DeleteCertificate404, _t.Any] = ErrorResponse
162
+ DeleteCertificate429: _S.Bottom[_T.DeleteCertificate429, _t.Any] = ErrorResponse
163
+ UsageCostsParams: _StructSchema[_T.UsageCostsParams, _t.Never, _t.Never] = _b.struct(_T.UsageCostsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literal("1d"), "project_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "line_items": _b.array(_S.String), "group_by": _b.array(_b.literals(["project_id", "user_id", "line_item", "api_key_id", "api_source"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "api_key_ids", "line_items", "group_by", "limit", "page",))
164
+ UsageCosts200: _S.Bottom[_T.UsageCosts200, _t.Any] = UsageResponse
165
+ UsageCosts400: _S.Bottom[_T.UsageCosts400, _t.Any] = ErrorResponse
166
+ UsageCosts403: _S.Bottom[_T.UsageCosts403, _t.Any] = PermissionErrorResponse
167
+ UsageCosts429: _S.Bottom[_T.UsageCosts429, _t.Any] = ErrorResponse
168
+ RetrieveOrganizationDataRetention200: _S.Bottom[_T.RetrieveOrganizationDataRetention200, _t.Any] = OrganizationDataRetention
169
+ RetrieveOrganizationDataRetention403: _S.Bottom[_T.RetrieveOrganizationDataRetention403, _t.Any] = PermissionErrorResponse
170
+ RetrieveOrganizationDataRetention404: _S.Bottom[_T.RetrieveOrganizationDataRetention404, _t.Any] = ErrorResponse
171
+ UpdateOrganizationDataRetentionRequestJson: _S.Bottom[_T.UpdateOrganizationDataRetentionRequestJson, _t.Any] = UpdateOrganizationDataRetentionBody
172
+ UpdateOrganizationDataRetention200: _S.Bottom[_T.UpdateOrganizationDataRetention200, _t.Any] = OrganizationDataRetention
173
+ UpdateOrganizationDataRetention400: _S.Bottom[_T.UpdateOrganizationDataRetention400, _t.Any] = ErrorResponse
174
+ UpdateOrganizationDataRetention403: _S.Bottom[_T.UpdateOrganizationDataRetention403, _t.Any] = PermissionErrorResponse
175
+ UpdateOrganizationDataRetention404: _S.Bottom[_T.UpdateOrganizationDataRetention404, _t.Any] = ErrorResponse
176
+ ListGroupsParams: _StructSchema[_T.ListGroupsParams, _t.Never, _t.Never] = _b.struct(_T.ListGroupsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
177
+ ListGroups200: _S.Bottom[_T.ListGroups200, _t.Any] = GroupListResource
178
+ ListGroups400: _S.Bottom[_T.ListGroups400, _t.Any] = ErrorResponse
179
+ ListGroups403: _S.Bottom[_T.ListGroups403, _t.Any] = PermissionErrorResponse
180
+ ListGroups404: _S.Bottom[_T.ListGroups404, _t.Any] = ErrorResponse
181
+ ListGroups429: _S.Bottom[_T.ListGroups429, _t.Any] = ErrorResponse
182
+ CreateGroupRequestJson: _S.Bottom[_T.CreateGroupRequestJson, _t.Any] = CreateGroupBody
183
+ CreateGroup200: _S.Bottom[_T.CreateGroup200, _t.Any] = GroupResponse
184
+ CreateGroup400: _S.Bottom[_T.CreateGroup400, _t.Any] = ErrorResponse
185
+ CreateGroup403: _S.Bottom[_T.CreateGroup403, _t.Any] = PermissionErrorResponse
186
+ CreateGroup404: _S.Bottom[_T.CreateGroup404, _t.Any] = ErrorResponse
187
+ CreateGroup422: _S.Bottom[_T.CreateGroup422, _t.Any] = ErrorResponse
188
+ CreateGroup429: _S.Bottom[_T.CreateGroup429, _t.Any] = ErrorResponse
189
+ CreateGroup500: _S.Bottom[_T.CreateGroup500, _t.Any] = ErrorResponse
190
+ RetrieveGroup200: _S.Bottom[_T.RetrieveGroup200, _t.Any] = GroupResponse
191
+ RetrieveGroup400: _S.Bottom[_T.RetrieveGroup400, _t.Any] = ErrorResponse
192
+ RetrieveGroup403: _S.Bottom[_T.RetrieveGroup403, _t.Any] = PermissionErrorResponse
193
+ RetrieveGroup404: _S.Bottom[_T.RetrieveGroup404, _t.Any] = ErrorResponse
194
+ RetrieveGroup429: _S.Bottom[_T.RetrieveGroup429, _t.Any] = ErrorResponse
195
+ RetrieveGroup500: _S.Bottom[_T.RetrieveGroup500, _t.Any] = ErrorResponse
196
+ UpdateGroupRequestJson: _S.Bottom[_T.UpdateGroupRequestJson, _t.Any] = UpdateGroupBody
197
+ UpdateGroup200: _S.Bottom[_T.UpdateGroup200, _t.Any] = GroupResourceWithSuccess
198
+ UpdateGroup400: _S.Bottom[_T.UpdateGroup400, _t.Any] = ErrorResponse
199
+ UpdateGroup403: _S.Bottom[_T.UpdateGroup403, _t.Any] = PermissionErrorResponse
200
+ UpdateGroup404: _S.Bottom[_T.UpdateGroup404, _t.Any] = ErrorResponse
201
+ UpdateGroup429: _S.Bottom[_T.UpdateGroup429, _t.Any] = ErrorResponse
202
+ UpdateGroup500: _S.Bottom[_T.UpdateGroup500, _t.Any] = ErrorResponse
203
+ DeleteGroup200: _S.Bottom[_T.DeleteGroup200, _t.Any] = GroupDeletedResource
204
+ DeleteGroup400: _S.Bottom[_T.DeleteGroup400, _t.Any] = ErrorResponse
205
+ DeleteGroup403: _S.Bottom[_T.DeleteGroup403, _t.Any] = PermissionErrorResponse
206
+ DeleteGroup404: _S.Bottom[_T.DeleteGroup404, _t.Any] = ErrorResponse
207
+ DeleteGroup429: _S.Bottom[_T.DeleteGroup429, _t.Any] = ErrorResponse
208
+ ListGroupRoleAssignmentsParams: _StructSchema[_T.ListGroupRoleAssignmentsParams, _t.Never, _t.Never] = _b.struct(_T.ListGroupRoleAssignmentsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
209
+ ListGroupRoleAssignments200: _S.Bottom[_T.ListGroupRoleAssignments200, _t.Any] = RoleListResource
210
+ ListGroupRoleAssignments400: _S.Bottom[_T.ListGroupRoleAssignments400, _t.Any] = ErrorResponse
211
+ ListGroupRoleAssignments403: _S.Bottom[_T.ListGroupRoleAssignments403, _t.Any] = PermissionErrorResponse
212
+ ListGroupRoleAssignments404: _S.Bottom[_T.ListGroupRoleAssignments404, _t.Any] = ErrorResponse
213
+ ListGroupRoleAssignments429: _S.Bottom[_T.ListGroupRoleAssignments429, _t.Any] = ErrorResponse
214
+ AssignGroupRoleRequestJson: _S.Bottom[_T.AssignGroupRoleRequestJson, _t.Any] = PublicAssignOrganizationGroupRoleBody
215
+ AssignGroupRole200: _S.Bottom[_T.AssignGroupRole200, _t.Any] = GroupRoleAssignment
216
+ AssignGroupRole400: _S.Bottom[_T.AssignGroupRole400, _t.Any] = ErrorResponse
217
+ AssignGroupRole403: _S.Bottom[_T.AssignGroupRole403, _t.Any] = PermissionErrorResponse
218
+ AssignGroupRole404: _S.Bottom[_T.AssignGroupRole404, _t.Any] = ErrorResponse
219
+ AssignGroupRole429: _S.Bottom[_T.AssignGroupRole429, _t.Any] = ErrorResponse
220
+ RetrieveGroupRole200: _S.Bottom[_T.RetrieveGroupRole200, _t.Any] = AssignedRoleDetails
221
+ RetrieveGroupRole400: _S.Bottom[_T.RetrieveGroupRole400, _t.Any] = ErrorResponse
222
+ RetrieveGroupRole403: _S.Bottom[_T.RetrieveGroupRole403, _t.Any] = PermissionErrorResponse
223
+ RetrieveGroupRole404: _S.Bottom[_T.RetrieveGroupRole404, _t.Any] = ErrorResponse
224
+ RetrieveGroupRole429: _S.Bottom[_T.RetrieveGroupRole429, _t.Any] = ErrorResponse
225
+ UnassignGroupRole200: _S.Bottom[_T.UnassignGroupRole200, _t.Any] = DeletedRoleAssignmentResource
226
+ UnassignGroupRole400: _S.Bottom[_T.UnassignGroupRole400, _t.Any] = ErrorResponse
227
+ UnassignGroupRole403: _S.Bottom[_T.UnassignGroupRole403, _t.Any] = PermissionErrorResponse
228
+ UnassignGroupRole404: _S.Bottom[_T.UnassignGroupRole404, _t.Any] = ErrorResponse
229
+ UnassignGroupRole429: _S.Bottom[_T.UnassignGroupRole429, _t.Any] = ErrorResponse
230
+ ListGroupUsersParams: _StructSchema[_T.ListGroupUsersParams, _t.Never, _t.Never] = _b.struct(_T.ListGroupUsersParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
231
+ ListGroupUsers200: _S.Bottom[_T.ListGroupUsers200, _t.Any] = UserListResource
232
+ ListGroupUsers400: _S.Bottom[_T.ListGroupUsers400, _t.Any] = ErrorResponse
233
+ ListGroupUsers403: _S.Bottom[_T.ListGroupUsers403, _t.Any] = PermissionErrorResponse
234
+ ListGroupUsers404: _S.Bottom[_T.ListGroupUsers404, _t.Any] = ErrorResponse
235
+ ListGroupUsers429: _S.Bottom[_T.ListGroupUsers429, _t.Any] = ErrorResponse
236
+ ListGroupUsers502: _S.Bottom[_T.ListGroupUsers502, _t.Any] = ErrorResponse
237
+ AddGroupUserRequestJson: _S.Bottom[_T.AddGroupUserRequestJson, _t.Any] = CreateGroupUserBody
238
+ AddGroupUser200: _S.Bottom[_T.AddGroupUser200, _t.Any] = GroupUserAssignment
239
+ AddGroupUser400: _S.Bottom[_T.AddGroupUser400, _t.Any] = ErrorResponse
240
+ AddGroupUser403: _S.Bottom[_T.AddGroupUser403, _t.Any] = PermissionErrorResponse
241
+ AddGroupUser404: _S.Bottom[_T.AddGroupUser404, _t.Any] = ErrorResponse
242
+ AddGroupUser409: _S.Bottom[_T.AddGroupUser409, _t.Any] = ErrorResponse
243
+ AddGroupUser429: _S.Bottom[_T.AddGroupUser429, _t.Any] = ErrorResponse
244
+ RetrieveGroupUser200: _S.Bottom[_T.RetrieveGroupUser200, _t.Any] = GroupMemberUser
245
+ RetrieveGroupUser400: _S.Bottom[_T.RetrieveGroupUser400, _t.Any] = ErrorResponse
246
+ RetrieveGroupUser403: _S.Bottom[_T.RetrieveGroupUser403, _t.Any] = PermissionErrorResponse
247
+ RetrieveGroupUser404: _S.Bottom[_T.RetrieveGroupUser404, _t.Any] = ErrorResponse
248
+ RetrieveGroupUser429: _S.Bottom[_T.RetrieveGroupUser429, _t.Any] = ErrorResponse
249
+ RemoveGroupUser200: _S.Bottom[_T.RemoveGroupUser200, _t.Any] = GroupUserDeletedResource
250
+ RemoveGroupUser400: _S.Bottom[_T.RemoveGroupUser400, _t.Any] = ErrorResponse
251
+ RemoveGroupUser403: _S.Bottom[_T.RemoveGroupUser403, _t.Any] = PermissionErrorResponse
252
+ RemoveGroupUser404: _S.Bottom[_T.RemoveGroupUser404, _t.Any] = ErrorResponse
253
+ RemoveGroupUser409: _S.Bottom[_T.RemoveGroupUser409, _t.Any] = ErrorResponse
254
+ RemoveGroupUser429: _S.Bottom[_T.RemoveGroupUser429, _t.Any] = ErrorResponse
255
+ ListInvitesParams: _StructSchema[_T.ListInvitesParams, _t.Never, _t.Never] = _b.struct(_T.ListInvitesParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String}, optional=("limit", "after",))
256
+ ListInvites200: _S.Bottom[_T.ListInvites200, _t.Any] = InviteListResponse
257
+ ListInvites400: _S.Bottom[_T.ListInvites400, _t.Any] = ErrorResponse
258
+ ListInvites403: _S.Bottom[_T.ListInvites403, _t.Any] = PermissionErrorResponse
259
+ ListInvites404: _S.Bottom[_T.ListInvites404, _t.Any] = ErrorResponse
260
+ ListInvites429: _S.Bottom[_T.ListInvites429, _t.Any] = ErrorResponse
261
+ InviteUserRequestJson: _S.Bottom[_T.InviteUserRequestJson, _t.Any] = InviteRequest
262
+ InviteUser200: _S.Bottom[_T.InviteUser200, _t.Any] = Invite
263
+ InviteUser201: _S.Bottom[_T.InviteUser201, _t.Any] = Invite
264
+ InviteUser400: _S.Bottom[_T.InviteUser400, _t.Any] = ErrorResponse
265
+ InviteUser403: _S.Bottom[_T.InviteUser403, _t.Any] = PermissionErrorResponse
266
+ InviteUser429: _S.Bottom[_T.InviteUser429, _t.Any] = ErrorResponse
267
+ RetrieveInvite200: _S.Bottom[_T.RetrieveInvite200, _t.Any] = Invite
268
+ RetrieveInvite400: _S.Bottom[_T.RetrieveInvite400, _t.Any] = ErrorResponse
269
+ RetrieveInvite403: _S.Bottom[_T.RetrieveInvite403, _t.Any] = PermissionErrorResponse
270
+ RetrieveInvite404: _S.Bottom[_T.RetrieveInvite404, _t.Any] = ErrorResponse
271
+ RetrieveInvite429: _S.Bottom[_T.RetrieveInvite429, _t.Any] = ErrorResponse
272
+ RetrieveInvite500: _S.Bottom[_T.RetrieveInvite500, _t.Any] = ErrorResponse
273
+ DeleteInvite200: _S.Bottom[_T.DeleteInvite200, _t.Any] = InviteDeleteResponse
274
+ DeleteInvite400: _S.Bottom[_T.DeleteInvite400, _t.Any] = ErrorResponse
275
+ DeleteInvite403: _S.Bottom[_T.DeleteInvite403, _t.Any] = PermissionErrorResponse
276
+ DeleteInvite404: _S.Bottom[_T.DeleteInvite404, _t.Any] = ErrorResponse
277
+ DeleteInvite429: _S.Bottom[_T.DeleteInvite429, _t.Any] = ErrorResponse
278
+ ListProjectsParams: _StructSchema[_T.ListProjectsParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectsParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String, "include_archived": _S.Boolean}, optional=("limit", "after", "include_archived",))
279
+ ListProjects200: _S.Bottom[_T.ListProjects200, _t.Any] = ProjectListResponse
280
+ ListProjects400: _S.Bottom[_T.ListProjects400, _t.Any] = ErrorResponse
281
+ ListProjects403: _S.Bottom[_T.ListProjects403, _t.Any] = PermissionErrorResponse
282
+ ListProjects404: _S.Bottom[_T.ListProjects404, _t.Any] = ErrorResponse
283
+ ListProjects429: _S.Bottom[_T.ListProjects429, _t.Any] = ErrorResponse
284
+ CreateProjectRequestJson: _S.Bottom[_T.CreateProjectRequestJson, _t.Any] = ProjectCreateRequest
285
+ CreateProject200: _S.Bottom[_T.CreateProject200, _t.Any] = Project
286
+ CreateProject201: _S.Bottom[_T.CreateProject201, _t.Any] = Project
287
+ CreateProject400: _S.Bottom[_T.CreateProject400, _t.Any] = ErrorResponse
288
+ CreateProject403: _S.Bottom[_T.CreateProject403, _t.Any] = PermissionErrorResponse
289
+ CreateProject429: _S.Bottom[_T.CreateProject429, _t.Any] = ErrorResponse
290
+ RetrieveProject200: _S.Bottom[_T.RetrieveProject200, _t.Any] = Project
291
+ RetrieveProject403: _S.Bottom[_T.RetrieveProject403, _t.Any] = PermissionErrorResponse
292
+ RetrieveProject404: _S.Bottom[_T.RetrieveProject404, _t.Any] = ErrorResponse
293
+ RetrieveProject429: _S.Bottom[_T.RetrieveProject429, _t.Any] = ErrorResponse
294
+ ModifyProjectRequestJson: _S.Bottom[_T.ModifyProjectRequestJson, _t.Any] = ProjectUpdateRequest
295
+ ModifyProject200: _S.Bottom[_T.ModifyProject200, _t.Any] = Project
296
+ ModifyProject400: _S.Bottom[_T.ModifyProject400, _t.Any] = ErrorResponse
297
+ ModifyProject403: _S.Bottom[_T.ModifyProject403, _t.Any] = PermissionErrorResponse
298
+ ModifyProject404: _S.Bottom[_T.ModifyProject404, _t.Any] = ErrorResponse
299
+ ModifyProject429: _S.Bottom[_T.ModifyProject429, _t.Any] = ErrorResponse
300
+ ListProjectApiKeysParams: _StructSchema[_T.ListProjectApiKeysParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectApiKeysParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String, "owner_project_access": _b.literals(["active", "inactive", "any"])}, optional=("limit", "after", "owner_project_access",))
301
+ ListProjectApiKeys200: _S.Bottom[_T.ListProjectApiKeys200, _t.Any] = ProjectApiKeyListResponse
302
+ ListProjectApiKeys400: _S.Bottom[_T.ListProjectApiKeys400, _t.Any] = ErrorResponse
303
+ ListProjectApiKeys403: _S.Bottom[_T.ListProjectApiKeys403, _t.Any] = PermissionErrorResponse
304
+ ListProjectApiKeys404: _S.Bottom[_T.ListProjectApiKeys404, _t.Any] = ErrorResponse
305
+ ListProjectApiKeys429: _S.Bottom[_T.ListProjectApiKeys429, _t.Any] = ErrorResponse
306
+ RetrieveProjectApiKey200: _S.Bottom[_T.RetrieveProjectApiKey200, _t.Any] = ProjectApiKey
307
+ RetrieveProjectApiKey400: _S.Bottom[_T.RetrieveProjectApiKey400, _t.Any] = ErrorResponse
308
+ RetrieveProjectApiKey403: _S.Bottom[_T.RetrieveProjectApiKey403, _t.Any] = PermissionErrorResponse
309
+ RetrieveProjectApiKey404: _S.Bottom[_T.RetrieveProjectApiKey404, _t.Any] = ErrorResponse
310
+ RetrieveProjectApiKey429: _S.Bottom[_T.RetrieveProjectApiKey429, _t.Any] = ErrorResponse
311
+ DeleteProjectApiKey200: _S.Bottom[_T.DeleteProjectApiKey200, _t.Any] = ProjectApiKeyDeleteResponse
312
+ DeleteProjectApiKey400: _S.Bottom[_T.DeleteProjectApiKey400, _t.Any] = ErrorResponse
313
+ DeleteProjectApiKey403: _S.Bottom[_T.DeleteProjectApiKey403, _t.Any] = PermissionErrorResponse
314
+ DeleteProjectApiKey404: _S.Bottom[_T.DeleteProjectApiKey404, _t.Any] = ErrorResponse
315
+ DeleteProjectApiKey429: _S.Bottom[_T.DeleteProjectApiKey429, _t.Any] = ErrorResponse
316
+ ArchiveProject200: _S.Bottom[_T.ArchiveProject200, _t.Any] = Project
317
+ ArchiveProject400: _S.Bottom[_T.ArchiveProject400, _t.Any] = ErrorResponse
318
+ ArchiveProject403: _S.Bottom[_T.ArchiveProject403, _t.Any] = PermissionErrorResponse
319
+ ArchiveProject404: _S.Bottom[_T.ArchiveProject404, _t.Any] = ErrorResponse
320
+ ArchiveProject429: _S.Bottom[_T.ArchiveProject429, _t.Any] = ErrorResponse
321
+ ListProjectCertificatesParams: _StructSchema[_T.ListProjectCertificatesParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectCertificatesParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
322
+ ListProjectCertificates200: _S.Bottom[_T.ListProjectCertificates200, _t.Any] = ListProjectCertificatesResponse
323
+ ListProjectCertificates400: _S.Bottom[_T.ListProjectCertificates400, _t.Any] = ErrorResponse
324
+ ListProjectCertificates403: _S.Bottom[_T.ListProjectCertificates403, _t.Any] = PermissionErrorResponse
325
+ ListProjectCertificates429: _S.Bottom[_T.ListProjectCertificates429, _t.Any] = ErrorResponse
326
+ ActivateProjectCertificatesRequestJson: _S.Bottom[_T.ActivateProjectCertificatesRequestJson, _t.Any] = ToggleCertificatesRequest
327
+ ActivateProjectCertificates200: _S.Bottom[_T.ActivateProjectCertificates200, _t.Any] = OrganizationProjectCertificateActivationResponse
328
+ ActivateProjectCertificates400: _S.Bottom[_T.ActivateProjectCertificates400, _t.Any] = ErrorResponse
329
+ ActivateProjectCertificates403: _S.Bottom[_T.ActivateProjectCertificates403, _t.Any] = PermissionErrorResponse
330
+ ActivateProjectCertificates404: _S.Bottom[_T.ActivateProjectCertificates404, _t.Any] = ErrorResponse
331
+ ActivateProjectCertificates429: _S.Bottom[_T.ActivateProjectCertificates429, _t.Any] = ErrorResponse
332
+ ActivateProjectCertificates500: _S.Bottom[_T.ActivateProjectCertificates500, _t.Any] = ErrorResponse
333
+ DeactivateProjectCertificatesRequestJson: _S.Bottom[_T.DeactivateProjectCertificatesRequestJson, _t.Any] = ToggleCertificatesRequest
334
+ DeactivateProjectCertificates200: _S.Bottom[_T.DeactivateProjectCertificates200, _t.Any] = OrganizationProjectCertificateDeactivationResponse
335
+ DeactivateProjectCertificates400: _S.Bottom[_T.DeactivateProjectCertificates400, _t.Any] = ErrorResponse
336
+ DeactivateProjectCertificates403: _S.Bottom[_T.DeactivateProjectCertificates403, _t.Any] = PermissionErrorResponse
337
+ DeactivateProjectCertificates404: _S.Bottom[_T.DeactivateProjectCertificates404, _t.Any] = ErrorResponse
338
+ DeactivateProjectCertificates429: _S.Bottom[_T.DeactivateProjectCertificates429, _t.Any] = ErrorResponse
339
+ DeactivateProjectCertificates500: _S.Bottom[_T.DeactivateProjectCertificates500, _t.Any] = ErrorResponse
340
+ RetrieveProjectDataRetention200: _S.Bottom[_T.RetrieveProjectDataRetention200, _t.Any] = ProjectDataRetention
341
+ RetrieveProjectDataRetention400: _S.Bottom[_T.RetrieveProjectDataRetention400, _t.Any] = ErrorResponse
342
+ RetrieveProjectDataRetention403: _S.Bottom[_T.RetrieveProjectDataRetention403, _t.Any] = PermissionErrorResponse
343
+ RetrieveProjectDataRetention404: _S.Bottom[_T.RetrieveProjectDataRetention404, _t.Any] = ErrorResponse
344
+ UpdateProjectDataRetentionRequestJson: _S.Bottom[_T.UpdateProjectDataRetentionRequestJson, _t.Any] = UpdateProjectDataRetentionBody
345
+ UpdateProjectDataRetention200: _S.Bottom[_T.UpdateProjectDataRetention200, _t.Any] = ProjectDataRetention
346
+ UpdateProjectDataRetention400: _S.Bottom[_T.UpdateProjectDataRetention400, _t.Any] = ErrorResponse
347
+ UpdateProjectDataRetention403: _S.Bottom[_T.UpdateProjectDataRetention403, _t.Any] = PermissionErrorResponse
348
+ UpdateProjectDataRetention404: _S.Bottom[_T.UpdateProjectDataRetention404, _t.Any] = ErrorResponse
349
+ ListProjectGroupsParams: _StructSchema[_T.ListProjectGroupsParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectGroupsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(100).annotate(expected="a value less than or equal to 100")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
350
+ ListProjectGroups200: _S.Bottom[_T.ListProjectGroups200, _t.Any] = ProjectGroupListResource
351
+ ListProjectGroups400: _S.Bottom[_T.ListProjectGroups400, _t.Any] = ErrorResponse
352
+ ListProjectGroups403: _S.Bottom[_T.ListProjectGroups403, _t.Any] = PermissionErrorResponse
353
+ ListProjectGroups404: _S.Bottom[_T.ListProjectGroups404, _t.Any] = ErrorResponse
354
+ ListProjectGroups429: _S.Bottom[_T.ListProjectGroups429, _t.Any] = ErrorResponse
355
+ AddProjectGroupRequestJson: _S.Bottom[_T.AddProjectGroupRequestJson, _t.Any] = InviteProjectGroupBody
356
+ AddProjectGroup200: _S.Bottom[_T.AddProjectGroup200, _t.Any] = ProjectGroup
357
+ AddProjectGroup400: _S.Bottom[_T.AddProjectGroup400, _t.Any] = ErrorResponse
358
+ AddProjectGroup403: _S.Bottom[_T.AddProjectGroup403, _t.Any] = PermissionErrorResponse
359
+ AddProjectGroup404: _S.Bottom[_T.AddProjectGroup404, _t.Any] = ErrorResponse
360
+ AddProjectGroup429: _S.Bottom[_T.AddProjectGroup429, _t.Any] = ErrorResponse
361
+ AddProjectGroup500: _S.Bottom[_T.AddProjectGroup500, _t.Any] = ErrorResponse
362
+ RetrieveProjectGroupParams: _StructSchema[_T.RetrieveProjectGroupParams, _t.Never, _t.Never] = _b.struct(_T.RetrieveProjectGroupParams, {"group_type": _b.literals(["group", "tenant_group"])}, optional=("group_type",))
363
+ RetrieveProjectGroup200: _S.Bottom[_T.RetrieveProjectGroup200, _t.Any] = ProjectGroup
364
+ RetrieveProjectGroup400: _S.Bottom[_T.RetrieveProjectGroup400, _t.Any] = ErrorResponse
365
+ RetrieveProjectGroup403: _S.Bottom[_T.RetrieveProjectGroup403, _t.Any] = PermissionErrorResponse
366
+ RetrieveProjectGroup404: _S.Bottom[_T.RetrieveProjectGroup404, _t.Any] = ErrorResponse
367
+ RetrieveProjectGroup429: _S.Bottom[_T.RetrieveProjectGroup429, _t.Any] = ErrorResponse
368
+ RemoveProjectGroup200: _S.Bottom[_T.RemoveProjectGroup200, _t.Any] = ProjectGroupDeletedResource
369
+ RemoveProjectGroup400: _S.Bottom[_T.RemoveProjectGroup400, _t.Any] = ErrorResponse
370
+ RemoveProjectGroup403: _S.Bottom[_T.RemoveProjectGroup403, _t.Any] = PermissionErrorResponse
371
+ RemoveProjectGroup404: _S.Bottom[_T.RemoveProjectGroup404, _t.Any] = ErrorResponse
372
+ RemoveProjectGroup429: _S.Bottom[_T.RemoveProjectGroup429, _t.Any] = ErrorResponse
373
+ RetrieveProjectHostedToolPermissions200: _S.Bottom[_T.RetrieveProjectHostedToolPermissions200, _t.Any] = ProjectHostedToolPermissions
374
+ RetrieveProjectHostedToolPermissions400: _S.Bottom[_T.RetrieveProjectHostedToolPermissions400, _t.Any] = ErrorResponse
375
+ RetrieveProjectHostedToolPermissions403: _S.Bottom[_T.RetrieveProjectHostedToolPermissions403, _t.Any] = PermissionErrorResponse
376
+ RetrieveProjectHostedToolPermissions404: _S.Bottom[_T.RetrieveProjectHostedToolPermissions404, _t.Any] = ErrorResponse
377
+ RetrieveProjectHostedToolPermissions429: _S.Bottom[_T.RetrieveProjectHostedToolPermissions429, _t.Any] = ErrorResponse
378
+ UpdateProjectHostedToolPermissionsRequestJson: _S.Bottom[_T.UpdateProjectHostedToolPermissionsRequestJson, _t.Any] = ProjectHostedToolPermissionsUpdateRequest
379
+ UpdateProjectHostedToolPermissions200: _S.Bottom[_T.UpdateProjectHostedToolPermissions200, _t.Any] = ProjectHostedToolPermissions
380
+ UpdateProjectHostedToolPermissions400: _S.Bottom[_T.UpdateProjectHostedToolPermissions400, _t.Any] = ErrorResponse
381
+ UpdateProjectHostedToolPermissions403: _S.Bottom[_T.UpdateProjectHostedToolPermissions403, _t.Any] = PermissionErrorResponse
382
+ UpdateProjectHostedToolPermissions404: _S.Bottom[_T.UpdateProjectHostedToolPermissions404, _t.Any] = ErrorResponse
383
+ UpdateProjectHostedToolPermissions409: _S.Bottom[_T.UpdateProjectHostedToolPermissions409, _t.Any] = ErrorResponse
384
+ UpdateProjectHostedToolPermissions429: _S.Bottom[_T.UpdateProjectHostedToolPermissions429, _t.Any] = ErrorResponse
385
+ RetrieveProjectModelPermissions200: _S.Bottom[_T.RetrieveProjectModelPermissions200, _t.Any] = ProjectModelPermissions
386
+ RetrieveProjectModelPermissions400: _S.Bottom[_T.RetrieveProjectModelPermissions400, _t.Any] = ErrorResponse
387
+ RetrieveProjectModelPermissions403: _S.Bottom[_T.RetrieveProjectModelPermissions403, _t.Any] = PermissionErrorResponse
388
+ RetrieveProjectModelPermissions404: _S.Bottom[_T.RetrieveProjectModelPermissions404, _t.Any] = ErrorResponse
389
+ RetrieveProjectModelPermissions429: _S.Bottom[_T.RetrieveProjectModelPermissions429, _t.Any] = ErrorResponse
390
+ UpdateProjectModelPermissionsRequestJson: _S.Bottom[_T.UpdateProjectModelPermissionsRequestJson, _t.Any] = ProjectModelPermissionsUpdateRequest
391
+ UpdateProjectModelPermissions200: _S.Bottom[_T.UpdateProjectModelPermissions200, _t.Any] = ProjectModelPermissions
392
+ UpdateProjectModelPermissions400: _S.Bottom[_T.UpdateProjectModelPermissions400, _t.Any] = ErrorResponse
393
+ UpdateProjectModelPermissions403: _S.Bottom[_T.UpdateProjectModelPermissions403, _t.Any] = PermissionErrorResponse
394
+ UpdateProjectModelPermissions404: _S.Bottom[_T.UpdateProjectModelPermissions404, _t.Any] = ErrorResponse
395
+ UpdateProjectModelPermissions429: _S.Bottom[_T.UpdateProjectModelPermissions429, _t.Any] = ErrorResponse
396
+ DeleteProjectModelPermissions200: _S.Bottom[_T.DeleteProjectModelPermissions200, _t.Any] = ProjectModelPermissionsDeleteResponse
397
+ DeleteProjectModelPermissions400: _S.Bottom[_T.DeleteProjectModelPermissions400, _t.Any] = ErrorResponse
398
+ DeleteProjectModelPermissions403: _S.Bottom[_T.DeleteProjectModelPermissions403, _t.Any] = PermissionErrorResponse
399
+ DeleteProjectModelPermissions404: _S.Bottom[_T.DeleteProjectModelPermissions404, _t.Any] = ErrorResponse
400
+ DeleteProjectModelPermissions429: _S.Bottom[_T.DeleteProjectModelPermissions429, _t.Any] = ErrorResponse
401
+ ListProjectRateLimitsParams: _StructSchema[_T.ListProjectRateLimitsParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectRateLimitsParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String, "before": _S.String}, optional=("limit", "after", "before",))
402
+ ListProjectRateLimits200: _S.Bottom[_T.ListProjectRateLimits200, _t.Any] = ProjectRateLimitListResponse
403
+ ListProjectRateLimits400: _S.Bottom[_T.ListProjectRateLimits400, _t.Any] = ErrorResponse
404
+ ListProjectRateLimits403: _S.Bottom[_T.ListProjectRateLimits403, _t.Any] = PermissionErrorResponse
405
+ ListProjectRateLimits404: _S.Bottom[_T.ListProjectRateLimits404, _t.Any] = ErrorResponse
406
+ UpdateProjectRateLimitsRequestJson: _S.Bottom[_T.UpdateProjectRateLimitsRequestJson, _t.Any] = ProjectRateLimitUpdateRequest
407
+ UpdateProjectRateLimits200: _S.Bottom[_T.UpdateProjectRateLimits200, _t.Any] = ProjectRateLimit
408
+ UpdateProjectRateLimits400: _S.Bottom[_T.UpdateProjectRateLimits400, _t.Any] = ErrorResponse
409
+ UpdateProjectRateLimits403: _S.Bottom[_T.UpdateProjectRateLimits403, _t.Any] = PermissionErrorResponse
410
+ UpdateProjectRateLimits404: _S.Bottom[_T.UpdateProjectRateLimits404, _t.Any] = ErrorResponse
411
+ ListProjectServiceAccountsParams: _StructSchema[_T.ListProjectServiceAccountsParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectServiceAccountsParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String}, optional=("limit", "after",))
412
+ ListProjectServiceAccounts200: _S.Bottom[_T.ListProjectServiceAccounts200, _t.Any] = ProjectServiceAccountListResponse
413
+ ListProjectServiceAccounts400: _S.Bottom[_T.ListProjectServiceAccounts400, _t.Any] = ErrorResponse
414
+ ListProjectServiceAccounts403: _S.Bottom[_T.ListProjectServiceAccounts403, _t.Any] = PermissionErrorResponse
415
+ ListProjectServiceAccounts404: _S.Bottom[_T.ListProjectServiceAccounts404, _t.Any] = ErrorResponse
416
+ ListProjectServiceAccounts429: _S.Bottom[_T.ListProjectServiceAccounts429, _t.Any] = ErrorResponse
417
+ CreateProjectServiceAccountRequestJson: _S.Bottom[_T.CreateProjectServiceAccountRequestJson, _t.Any] = ProjectServiceAccountCreateRequest
418
+ CreateProjectServiceAccount200: _S.Bottom[_T.CreateProjectServiceAccount200, _t.Any] = ProjectServiceAccountCreateResponse
419
+ CreateProjectServiceAccount201: _S.Bottom[_T.CreateProjectServiceAccount201, _t.Any] = ProjectServiceAccountCreateResponse
420
+ CreateProjectServiceAccount400: _S.Bottom[_T.CreateProjectServiceAccount400, _t.Any] = ErrorResponse
421
+ CreateProjectServiceAccount403: _S.Bottom[_T.CreateProjectServiceAccount403, _t.Any] = PermissionErrorResponse
422
+ CreateProjectServiceAccount404: _S.Bottom[_T.CreateProjectServiceAccount404, _t.Any] = ErrorResponse
423
+ CreateProjectServiceAccount429: _S.Bottom[_T.CreateProjectServiceAccount429, _t.Any] = ErrorResponse
424
+ RetrieveProjectServiceAccount200: _S.Bottom[_T.RetrieveProjectServiceAccount200, _t.Any] = ProjectServiceAccount
425
+ RetrieveProjectServiceAccount400: _S.Bottom[_T.RetrieveProjectServiceAccount400, _t.Any] = ErrorResponse
426
+ RetrieveProjectServiceAccount403: _S.Bottom[_T.RetrieveProjectServiceAccount403, _t.Any] = PermissionErrorResponse
427
+ RetrieveProjectServiceAccount404: _S.Bottom[_T.RetrieveProjectServiceAccount404, _t.Any] = ErrorResponse
428
+ RetrieveProjectServiceAccount429: _S.Bottom[_T.RetrieveProjectServiceAccount429, _t.Any] = ErrorResponse
429
+ UpdateProjectServiceAccountRequestJson: _S.Bottom[_T.UpdateProjectServiceAccountRequestJson, _t.Any] = UpdateProjectServiceAccountBody
430
+ UpdateProjectServiceAccount200: _S.Bottom[_T.UpdateProjectServiceAccount200, _t.Any] = ProjectServiceAccount
431
+ UpdateProjectServiceAccount400: _S.Bottom[_T.UpdateProjectServiceAccount400, _t.Any] = ErrorResponse
432
+ UpdateProjectServiceAccount403: _S.Bottom[_T.UpdateProjectServiceAccount403, _t.Any] = PermissionErrorResponse
433
+ UpdateProjectServiceAccount404: _S.Bottom[_T.UpdateProjectServiceAccount404, _t.Any] = ErrorResponse
434
+ UpdateProjectServiceAccount429: _S.Bottom[_T.UpdateProjectServiceAccount429, _t.Any] = ErrorResponse
435
+ DeleteProjectServiceAccount200: _S.Bottom[_T.DeleteProjectServiceAccount200, _t.Any] = ProjectServiceAccountDeleteResponse
436
+ DeleteProjectServiceAccount400: _S.Bottom[_T.DeleteProjectServiceAccount400, _t.Any] = ErrorResponse
437
+ DeleteProjectServiceAccount403: _S.Bottom[_T.DeleteProjectServiceAccount403, _t.Any] = PermissionErrorResponse
438
+ DeleteProjectServiceAccount404: _S.Bottom[_T.DeleteProjectServiceAccount404, _t.Any] = ErrorResponse
439
+ DeleteProjectServiceAccount429: _S.Bottom[_T.DeleteProjectServiceAccount429, _t.Any] = ErrorResponse
440
+ ListProjectSpendAlertsParams: _StructSchema[_T.ListProjectSpendAlertsParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectSpendAlertsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(100).annotate(expected="a value less than or equal to 100")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String}, optional=("limit", "order", "after", "before",))
441
+ ListProjectSpendAlerts200: _S.Bottom[_T.ListProjectSpendAlerts200, _t.Any] = ProjectSpendAlertListResource
442
+ ListProjectSpendAlerts400: _S.Bottom[_T.ListProjectSpendAlerts400, _t.Any] = ErrorResponse
443
+ ListProjectSpendAlerts403: _S.Bottom[_T.ListProjectSpendAlerts403, _t.Any] = PermissionErrorResponse
444
+ ListProjectSpendAlerts404: _S.Bottom[_T.ListProjectSpendAlerts404, _t.Any] = ErrorResponse
445
+ CreateProjectSpendAlertRequestJson: _S.Bottom[_T.CreateProjectSpendAlertRequestJson, _t.Any] = CreateSpendAlertBody
446
+ CreateProjectSpendAlert200: _S.Bottom[_T.CreateProjectSpendAlert200, _t.Any] = ProjectSpendAlert
447
+ CreateProjectSpendAlert400: _S.Bottom[_T.CreateProjectSpendAlert400, _t.Any] = ErrorResponse
448
+ CreateProjectSpendAlert403: _S.Bottom[_T.CreateProjectSpendAlert403, _t.Any] = PermissionErrorResponse
449
+ CreateProjectSpendAlert404: _S.Bottom[_T.CreateProjectSpendAlert404, _t.Any] = ErrorResponse
450
+ RetrieveProjectSpendAlert200: _S.Bottom[_T.RetrieveProjectSpendAlert200, _t.Any] = ProjectSpendAlert
451
+ RetrieveProjectSpendAlert400: _S.Bottom[_T.RetrieveProjectSpendAlert400, _t.Any] = ErrorResponse
452
+ RetrieveProjectSpendAlert403: _S.Bottom[_T.RetrieveProjectSpendAlert403, _t.Any] = PermissionErrorResponse
453
+ RetrieveProjectSpendAlert404: _S.Bottom[_T.RetrieveProjectSpendAlert404, _t.Any] = ErrorResponse
454
+ UpdateProjectSpendAlertRequestJson: _S.Bottom[_T.UpdateProjectSpendAlertRequestJson, _t.Any] = CreateSpendAlertBody
455
+ UpdateProjectSpendAlert200: _S.Bottom[_T.UpdateProjectSpendAlert200, _t.Any] = ProjectSpendAlert
456
+ UpdateProjectSpendAlert400: _S.Bottom[_T.UpdateProjectSpendAlert400, _t.Any] = ErrorResponse
457
+ UpdateProjectSpendAlert403: _S.Bottom[_T.UpdateProjectSpendAlert403, _t.Any] = PermissionErrorResponse
458
+ UpdateProjectSpendAlert404: _S.Bottom[_T.UpdateProjectSpendAlert404, _t.Any] = ErrorResponse
459
+ DeleteProjectSpendAlert200: _S.Bottom[_T.DeleteProjectSpendAlert200, _t.Any] = ProjectSpendAlertDeletedResource
460
+ DeleteProjectSpendAlert400: _S.Bottom[_T.DeleteProjectSpendAlert400, _t.Any] = ErrorResponse
461
+ DeleteProjectSpendAlert403: _S.Bottom[_T.DeleteProjectSpendAlert403, _t.Any] = PermissionErrorResponse
462
+ DeleteProjectSpendAlert404: _S.Bottom[_T.DeleteProjectSpendAlert404, _t.Any] = ErrorResponse
463
+ ListProjectUsersParams: _StructSchema[_T.ListProjectUsersParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectUsersParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String}, optional=("limit", "after",))
464
+ ListProjectUsers200: _S.Bottom[_T.ListProjectUsers200, _t.Any] = ProjectUserListResponse
465
+ ListProjectUsers400: _S.Bottom[_T.ListProjectUsers400, _t.Any] = ErrorResponse
466
+ ListProjectUsers403: _S.Bottom[_T.ListProjectUsers403, _t.Any] = PermissionErrorResponse
467
+ ListProjectUsers404: _S.Bottom[_T.ListProjectUsers404, _t.Any] = ErrorResponse
468
+ ListProjectUsers429: _S.Bottom[_T.ListProjectUsers429, _t.Any] = ErrorResponse
469
+ CreateProjectUserRequestJson: _S.Bottom[_T.CreateProjectUserRequestJson, _t.Any] = ProjectUserCreateRequest
470
+ CreateProjectUser200: _S.Bottom[_T.CreateProjectUser200, _t.Any] = ProjectUser
471
+ CreateProjectUser201: _S.Bottom[_T.CreateProjectUser201, _t.Any] = ProjectUser
472
+ CreateProjectUser400: _S.Bottom[_T.CreateProjectUser400, _t.Any] = ErrorResponse
473
+ CreateProjectUser403: _S.Bottom[_T.CreateProjectUser403, _t.Any] = PermissionErrorResponse
474
+ CreateProjectUser404: _S.Bottom[_T.CreateProjectUser404, _t.Any] = ErrorResponse
475
+ CreateProjectUser409: _S.Bottom[_T.CreateProjectUser409, _t.Any] = ErrorResponse
476
+ CreateProjectUser429: _S.Bottom[_T.CreateProjectUser429, _t.Any] = ErrorResponse
477
+ RetrieveProjectUser200: _S.Bottom[_T.RetrieveProjectUser200, _t.Any] = ProjectUser
478
+ RetrieveProjectUser400: _S.Bottom[_T.RetrieveProjectUser400, _t.Any] = ErrorResponse
479
+ RetrieveProjectUser403: _S.Bottom[_T.RetrieveProjectUser403, _t.Any] = PermissionErrorResponse
480
+ RetrieveProjectUser404: _S.Bottom[_T.RetrieveProjectUser404, _t.Any] = ErrorResponse
481
+ RetrieveProjectUser429: _S.Bottom[_T.RetrieveProjectUser429, _t.Any] = ErrorResponse
482
+ ModifyProjectUserRequestJson: _S.Bottom[_T.ModifyProjectUserRequestJson, _t.Any] = ProjectUserUpdateRequest
483
+ ModifyProjectUser200: _S.Bottom[_T.ModifyProjectUser200, _t.Any] = ProjectUser
484
+ ModifyProjectUser400: _S.Bottom[_T.ModifyProjectUser400, _t.Any] = ErrorResponse
485
+ ModifyProjectUser403: _S.Bottom[_T.ModifyProjectUser403, _t.Any] = PermissionErrorResponse
486
+ ModifyProjectUser404: _S.Bottom[_T.ModifyProjectUser404, _t.Any] = ErrorResponse
487
+ ModifyProjectUser429: _S.Bottom[_T.ModifyProjectUser429, _t.Any] = ErrorResponse
488
+ DeleteProjectUser200: _S.Bottom[_T.DeleteProjectUser200, _t.Any] = ProjectUserDeleteResponse
489
+ DeleteProjectUser400: _S.Bottom[_T.DeleteProjectUser400, _t.Any] = ErrorResponse
490
+ DeleteProjectUser403: _S.Bottom[_T.DeleteProjectUser403, _t.Any] = PermissionErrorResponse
491
+ DeleteProjectUser404: _S.Bottom[_T.DeleteProjectUser404, _t.Any] = ErrorResponse
492
+ DeleteProjectUser429: _S.Bottom[_T.DeleteProjectUser429, _t.Any] = ErrorResponse
493
+ ListRolesParams: _StructSchema[_T.ListRolesParams, _t.Never, _t.Never] = _b.struct(_T.ListRolesParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
494
+ ListRoles200: _S.Bottom[_T.ListRoles200, _t.Any] = PublicRoleListResource
495
+ ListRoles400: _S.Bottom[_T.ListRoles400, _t.Any] = ErrorResponse
496
+ ListRoles403: _S.Bottom[_T.ListRoles403, _t.Any] = PermissionErrorResponse
497
+ ListRoles404: _S.Bottom[_T.ListRoles404, _t.Any] = ErrorResponse
498
+ ListRoles429: _S.Bottom[_T.ListRoles429, _t.Any] = ErrorResponse
499
+ CreateRoleRequestJson: _S.Bottom[_T.CreateRoleRequestJson, _t.Any] = PublicCreateOrganizationRoleBody
500
+ CreateRole200: _S.Bottom[_T.CreateRole200, _t.Any] = Role
501
+ CreateRole400: _S.Bottom[_T.CreateRole400, _t.Any] = ErrorResponse
502
+ CreateRole403: _S.Bottom[_T.CreateRole403, _t.Any] = PermissionErrorResponse
503
+ CreateRole404: _S.Bottom[_T.CreateRole404, _t.Any] = ErrorResponse
504
+ CreateRole429: _S.Bottom[_T.CreateRole429, _t.Any] = ErrorResponse
505
+ RetrieveRole200: _S.Bottom[_T.RetrieveRole200, _t.Any] = Role
506
+ RetrieveRole403: _S.Bottom[_T.RetrieveRole403, _t.Any] = PermissionErrorResponse
507
+ RetrieveRole404: _S.Bottom[_T.RetrieveRole404, _t.Any] = ErrorResponse
508
+ RetrieveRole429: _S.Bottom[_T.RetrieveRole429, _t.Any] = ErrorResponse
509
+ UpdateRoleRequestJson: _S.Bottom[_T.UpdateRoleRequestJson, _t.Any] = PublicUpdateOrganizationRoleBody
510
+ UpdateRole200: _S.Bottom[_T.UpdateRole200, _t.Any] = Role
511
+ UpdateRole400: _S.Bottom[_T.UpdateRole400, _t.Any] = ErrorResponse
512
+ UpdateRole403: _S.Bottom[_T.UpdateRole403, _t.Any] = PermissionErrorResponse
513
+ UpdateRole404: _S.Bottom[_T.UpdateRole404, _t.Any] = ErrorResponse
514
+ UpdateRole429: _S.Bottom[_T.UpdateRole429, _t.Any] = ErrorResponse
515
+ DeleteRole200: _S.Bottom[_T.DeleteRole200, _t.Any] = RoleDeletedResource
516
+ DeleteRole400: _S.Bottom[_T.DeleteRole400, _t.Any] = ErrorResponse
517
+ DeleteRole403: _S.Bottom[_T.DeleteRole403, _t.Any] = PermissionErrorResponse
518
+ DeleteRole404: _S.Bottom[_T.DeleteRole404, _t.Any] = ErrorResponse
519
+ DeleteRole429: _S.Bottom[_T.DeleteRole429, _t.Any] = ErrorResponse
520
+ ListOrganizationSpendAlertsParams: _StructSchema[_T.ListOrganizationSpendAlertsParams, _t.Never, _t.Never] = _b.struct(_T.ListOrganizationSpendAlertsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(100).annotate(expected="a value less than or equal to 100")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String}, optional=("limit", "order", "after", "before",))
521
+ ListOrganizationSpendAlerts200: _S.Bottom[_T.ListOrganizationSpendAlerts200, _t.Any] = OrganizationSpendAlertListResource
522
+ ListOrganizationSpendAlerts400: _S.Bottom[_T.ListOrganizationSpendAlerts400, _t.Any] = ErrorResponse
523
+ ListOrganizationSpendAlerts403: _S.Bottom[_T.ListOrganizationSpendAlerts403, _t.Any] = PermissionErrorResponse
524
+ ListOrganizationSpendAlerts404: _S.Bottom[_T.ListOrganizationSpendAlerts404, _t.Any] = ErrorResponse
525
+ CreateOrganizationSpendAlertRequestJson: _S.Bottom[_T.CreateOrganizationSpendAlertRequestJson, _t.Any] = CreateSpendAlertBody
526
+ CreateOrganizationSpendAlert200: _S.Bottom[_T.CreateOrganizationSpendAlert200, _t.Any] = OrganizationSpendAlert
527
+ CreateOrganizationSpendAlert400: _S.Bottom[_T.CreateOrganizationSpendAlert400, _t.Any] = ErrorResponse
528
+ CreateOrganizationSpendAlert403: _S.Bottom[_T.CreateOrganizationSpendAlert403, _t.Any] = PermissionErrorResponse
529
+ RetrieveOrganizationSpendAlert200: _S.Bottom[_T.RetrieveOrganizationSpendAlert200, _t.Any] = OrganizationSpendAlert
530
+ RetrieveOrganizationSpendAlert403: _S.Bottom[_T.RetrieveOrganizationSpendAlert403, _t.Any] = PermissionErrorResponse
531
+ RetrieveOrganizationSpendAlert404: _S.Bottom[_T.RetrieveOrganizationSpendAlert404, _t.Any] = ErrorResponse
532
+ UpdateOrganizationSpendAlertRequestJson: _S.Bottom[_T.UpdateOrganizationSpendAlertRequestJson, _t.Any] = CreateSpendAlertBody
533
+ UpdateOrganizationSpendAlert200: _S.Bottom[_T.UpdateOrganizationSpendAlert200, _t.Any] = OrganizationSpendAlert
534
+ UpdateOrganizationSpendAlert400: _S.Bottom[_T.UpdateOrganizationSpendAlert400, _t.Any] = ErrorResponse
535
+ UpdateOrganizationSpendAlert403: _S.Bottom[_T.UpdateOrganizationSpendAlert403, _t.Any] = PermissionErrorResponse
536
+ UpdateOrganizationSpendAlert404: _S.Bottom[_T.UpdateOrganizationSpendAlert404, _t.Any] = ErrorResponse
537
+ DeleteOrganizationSpendAlert200: _S.Bottom[_T.DeleteOrganizationSpendAlert200, _t.Any] = OrganizationSpendAlertDeletedResource
538
+ DeleteOrganizationSpendAlert403: _S.Bottom[_T.DeleteOrganizationSpendAlert403, _t.Any] = PermissionErrorResponse
539
+ DeleteOrganizationSpendAlert404: _S.Bottom[_T.DeleteOrganizationSpendAlert404, _t.Any] = ErrorResponse
540
+ UsageAudioSpeechesParams: _StructSchema[_T.UsageAudioSpeechesParams, _t.Never, _t.Never] = _b.struct(_T.UsageAudioSpeechesParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "models": _b.array(_S.String), "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "model"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "user_ids", "api_key_ids", "models", "group_by", "limit", "page",))
541
+ UsageAudioSpeeches200: _S.Bottom[_T.UsageAudioSpeeches200, _t.Any] = UsageResponse
542
+ UsageAudioSpeeches400: _S.Bottom[_T.UsageAudioSpeeches400, _t.Any] = ErrorResponse
543
+ UsageAudioSpeeches403: _S.Bottom[_T.UsageAudioSpeeches403, _t.Any] = PermissionErrorResponse
544
+ UsageAudioSpeeches429: _S.Bottom[_T.UsageAudioSpeeches429, _t.Any] = ErrorResponse
545
+ UsageAudioTranscriptionsParams: _StructSchema[_T.UsageAudioTranscriptionsParams, _t.Never, _t.Never] = _b.struct(_T.UsageAudioTranscriptionsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "models": _b.array(_S.String), "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "model"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "user_ids", "api_key_ids", "models", "group_by", "limit", "page",))
546
+ UsageAudioTranscriptions200: _S.Bottom[_T.UsageAudioTranscriptions200, _t.Any] = UsageResponse
547
+ UsageAudioTranscriptions400: _S.Bottom[_T.UsageAudioTranscriptions400, _t.Any] = ErrorResponse
548
+ UsageAudioTranscriptions403: _S.Bottom[_T.UsageAudioTranscriptions403, _t.Any] = PermissionErrorResponse
549
+ UsageAudioTranscriptions429: _S.Bottom[_T.UsageAudioTranscriptions429, _t.Any] = ErrorResponse
550
+ UsageCodeInterpreterSessionsParams: _StructSchema[_T.UsageCodeInterpreterSessionsParams, _t.Never, _t.Never] = _b.struct(_T.UsageCodeInterpreterSessionsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "group_by": _b.array(_b.literal("project_id")), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "group_by", "limit", "page",))
551
+ UsageCodeInterpreterSessions200: _S.Bottom[_T.UsageCodeInterpreterSessions200, _t.Any] = UsageResponse
552
+ UsageCodeInterpreterSessions400: _S.Bottom[_T.UsageCodeInterpreterSessions400, _t.Any] = ErrorResponse
553
+ UsageCodeInterpreterSessions403: _S.Bottom[_T.UsageCodeInterpreterSessions403, _t.Any] = PermissionErrorResponse
554
+ UsageCodeInterpreterSessions429: _S.Bottom[_T.UsageCodeInterpreterSessions429, _t.Any] = ErrorResponse
555
+ UsageCompletionsParams: _StructSchema[_T.UsageCompletionsParams, _t.Never, _t.Never] = _b.struct(_T.UsageCompletionsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "models": _b.array(_S.String), "batch": _S.Boolean, "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "model", "batch", "service_tier", "api_source"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "user_ids", "api_key_ids", "models", "batch", "group_by", "limit", "page",))
556
+ UsageCompletions200: _S.Bottom[_T.UsageCompletions200, _t.Any] = UsageResponse
557
+ UsageCompletions400: _S.Bottom[_T.UsageCompletions400, _t.Any] = ErrorResponse
558
+ UsageCompletions403: _S.Bottom[_T.UsageCompletions403, _t.Any] = PermissionErrorResponse
559
+ UsageCompletions429: _S.Bottom[_T.UsageCompletions429, _t.Any] = ErrorResponse
560
+ UsageEmbeddingsParams: _StructSchema[_T.UsageEmbeddingsParams, _t.Never, _t.Never] = _b.struct(_T.UsageEmbeddingsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "models": _b.array(_S.String), "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "model"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "user_ids", "api_key_ids", "models", "group_by", "limit", "page",))
561
+ UsageEmbeddings200: _S.Bottom[_T.UsageEmbeddings200, _t.Any] = UsageResponse
562
+ UsageEmbeddings400: _S.Bottom[_T.UsageEmbeddings400, _t.Any] = ErrorResponse
563
+ UsageEmbeddings403: _S.Bottom[_T.UsageEmbeddings403, _t.Any] = PermissionErrorResponse
564
+ UsageEmbeddings429: _S.Bottom[_T.UsageEmbeddings429, _t.Any] = ErrorResponse
565
+ UsageFileSearchCallsParams: _StructSchema[_T.UsageFileSearchCallsParams, _t.Never, _t.Never] = _b.struct(_T.UsageFileSearchCallsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "vector_store_ids": _b.array(_S.String), "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "vector_store_id"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "user_ids", "api_key_ids", "vector_store_ids", "group_by", "limit", "page",))
566
+ UsageFileSearchCalls200: _S.Bottom[_T.UsageFileSearchCalls200, _t.Any] = UsageResponse
567
+ UsageFileSearchCalls400: _S.Bottom[_T.UsageFileSearchCalls400, _t.Any] = ErrorResponse
568
+ UsageFileSearchCalls403: _S.Bottom[_T.UsageFileSearchCalls403, _t.Any] = PermissionErrorResponse
569
+ UsageFileSearchCalls429: _S.Bottom[_T.UsageFileSearchCalls429, _t.Any] = ErrorResponse
570
+ UsageImagesParams: _StructSchema[_T.UsageImagesParams, _t.Never, _t.Never] = _b.struct(_T.UsageImagesParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "sources": _b.array(_b.literals(["image.generation", "image.edit", "image.variation"])), "sizes": _b.array(_b.literals(["256x256", "512x512", "1024x1024", "1792x1792", "1024x1792"])), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "models": _b.array(_S.String), "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "model", "size", "source"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "sources", "sizes", "project_ids", "user_ids", "api_key_ids", "models", "group_by", "limit", "page",))
571
+ UsageImages200: _S.Bottom[_T.UsageImages200, _t.Any] = UsageResponse
572
+ UsageImages400: _S.Bottom[_T.UsageImages400, _t.Any] = ErrorResponse
573
+ UsageImages403: _S.Bottom[_T.UsageImages403, _t.Any] = PermissionErrorResponse
574
+ UsageImages429: _S.Bottom[_T.UsageImages429, _t.Any] = ErrorResponse
575
+ UsageModerationsParams: _StructSchema[_T.UsageModerationsParams, _t.Never, _t.Never] = _b.struct(_T.UsageModerationsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "models": _b.array(_S.String), "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "model"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "user_ids", "api_key_ids", "models", "group_by", "limit", "page",))
576
+ UsageModerations200: _S.Bottom[_T.UsageModerations200, _t.Any] = UsageResponse
577
+ UsageModerations400: _S.Bottom[_T.UsageModerations400, _t.Any] = ErrorResponse
578
+ UsageModerations403: _S.Bottom[_T.UsageModerations403, _t.Any] = PermissionErrorResponse
579
+ UsageModerations429: _S.Bottom[_T.UsageModerations429, _t.Any] = ErrorResponse
580
+ UsageVectorStoresParams: _StructSchema[_T.UsageVectorStoresParams, _t.Never, _t.Never] = _b.struct(_T.UsageVectorStoresParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "group_by": _b.array(_b.literal("project_id")), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "group_by", "limit", "page",))
581
+ UsageVectorStores200: _S.Bottom[_T.UsageVectorStores200, _t.Any] = UsageResponse
582
+ UsageVectorStores400: _S.Bottom[_T.UsageVectorStores400, _t.Any] = ErrorResponse
583
+ UsageVectorStores403: _S.Bottom[_T.UsageVectorStores403, _t.Any] = PermissionErrorResponse
584
+ UsageVectorStores429: _S.Bottom[_T.UsageVectorStores429, _t.Any] = ErrorResponse
585
+ UsageWebSearchCallsParams: _StructSchema[_T.UsageWebSearchCallsParams, _t.Never, _t.Never] = _b.struct(_T.UsageWebSearchCallsParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "bucket_width": _b.literals(["1m", "1h", "1d"]), "project_ids": _b.array(_S.String), "user_ids": _b.array(_S.String), "api_key_ids": _b.array(_S.String), "models": _b.array(_S.String), "context_levels": _b.array(_b.literals(["low", "medium", "high"])), "group_by": _b.array(_b.literals(["project_id", "user_id", "api_key_id", "model", "context_level", "api_source"])), "limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "page": _S.String}, optional=("end_time", "bucket_width", "project_ids", "user_ids", "api_key_ids", "models", "context_levels", "group_by", "limit", "page",))
586
+ UsageWebSearchCalls200: _S.Bottom[_T.UsageWebSearchCalls200, _t.Any] = UsageResponse
587
+ UsageWebSearchCalls400: _S.Bottom[_T.UsageWebSearchCalls400, _t.Any] = ErrorResponse
588
+ UsageWebSearchCalls403: _S.Bottom[_T.UsageWebSearchCalls403, _t.Any] = PermissionErrorResponse
589
+ UsageWebSearchCalls429: _S.Bottom[_T.UsageWebSearchCalls429, _t.Any] = ErrorResponse
590
+ ListUsersParams: _StructSchema[_T.ListUsersParams, _t.Never, _t.Never] = _b.struct(_T.ListUsersParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "after": _S.String, "emails": _b.array(_S.String)}, optional=("limit", "after", "emails",))
591
+ ListUsers200: _S.Bottom[_T.ListUsers200, _t.Any] = UserListResponse
592
+ ListUsers400: _S.Bottom[_T.ListUsers400, _t.Any] = ErrorResponse
593
+ ListUsers403: _S.Bottom[_T.ListUsers403, _t.Any] = PermissionErrorResponse
594
+ ListUsers429: _S.Bottom[_T.ListUsers429, _t.Any] = ErrorResponse
595
+ RetrieveUser200: _S.Bottom[_T.RetrieveUser200, _t.Any] = User
596
+ RetrieveUser403: _S.Bottom[_T.RetrieveUser403, _t.Any] = PermissionErrorResponse
597
+ RetrieveUser404: _S.Bottom[_T.RetrieveUser404, _t.Any] = ErrorResponse
598
+ RetrieveUser429: _S.Bottom[_T.RetrieveUser429, _t.Any] = ErrorResponse
599
+ ModifyUserRequestJson: _S.Bottom[_T.ModifyUserRequestJson, _t.Any] = UserRoleUpdateRequest
600
+ ModifyUser200: _S.Bottom[_T.ModifyUser200, _t.Any] = User
601
+ ModifyUser400: _S.Bottom[_T.ModifyUser400, _t.Any] = ErrorResponse
602
+ ModifyUser403: _S.Bottom[_T.ModifyUser403, _t.Any] = PermissionErrorResponse
603
+ ModifyUser404: _S.Bottom[_T.ModifyUser404, _t.Any] = ErrorResponse
604
+ ModifyUser429: _S.Bottom[_T.ModifyUser429, _t.Any] = ErrorResponse
605
+ DeleteUser200: _S.Bottom[_T.DeleteUser200, _t.Any] = UserDeleteResponse
606
+ DeleteUser400: _S.Bottom[_T.DeleteUser400, _t.Any] = ErrorResponse
607
+ DeleteUser403: _S.Bottom[_T.DeleteUser403, _t.Any] = PermissionErrorResponse
608
+ DeleteUser404: _S.Bottom[_T.DeleteUser404, _t.Any] = ErrorResponse
609
+ DeleteUser429: _S.Bottom[_T.DeleteUser429, _t.Any] = ErrorResponse
610
+ ListUserRoleAssignmentsParams: _StructSchema[_T.ListUserRoleAssignmentsParams, _t.Never, _t.Never] = _b.struct(_T.ListUserRoleAssignmentsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
611
+ ListUserRoleAssignments200: _S.Bottom[_T.ListUserRoleAssignments200, _t.Any] = RoleListResource
612
+ ListUserRoleAssignments400: _S.Bottom[_T.ListUserRoleAssignments400, _t.Any] = ErrorResponse
613
+ ListUserRoleAssignments403: _S.Bottom[_T.ListUserRoleAssignments403, _t.Any] = PermissionErrorResponse
614
+ ListUserRoleAssignments404: _S.Bottom[_T.ListUserRoleAssignments404, _t.Any] = ErrorResponse
615
+ ListUserRoleAssignments429: _S.Bottom[_T.ListUserRoleAssignments429, _t.Any] = ErrorResponse
616
+ AssignUserRoleRequestJson: _S.Bottom[_T.AssignUserRoleRequestJson, _t.Any] = PublicAssignOrganizationGroupRoleBody
617
+ AssignUserRole200: _S.Bottom[_T.AssignUserRole200, _t.Any] = UserRoleAssignment
618
+ AssignUserRole400: _S.Bottom[_T.AssignUserRole400, _t.Any] = ErrorResponse
619
+ AssignUserRole403: _S.Bottom[_T.AssignUserRole403, _t.Any] = PermissionErrorResponse
620
+ AssignUserRole404: _S.Bottom[_T.AssignUserRole404, _t.Any] = ErrorResponse
621
+ AssignUserRole429: _S.Bottom[_T.AssignUserRole429, _t.Any] = ErrorResponse
622
+ RetrieveUserRole200: _S.Bottom[_T.RetrieveUserRole200, _t.Any] = AssignedRoleDetails
623
+ RetrieveUserRole400: _S.Bottom[_T.RetrieveUserRole400, _t.Any] = ErrorResponse
624
+ RetrieveUserRole403: _S.Bottom[_T.RetrieveUserRole403, _t.Any] = PermissionErrorResponse
625
+ RetrieveUserRole404: _S.Bottom[_T.RetrieveUserRole404, _t.Any] = ErrorResponse
626
+ RetrieveUserRole429: _S.Bottom[_T.RetrieveUserRole429, _t.Any] = ErrorResponse
627
+ UnassignUserRole200: _S.Bottom[_T.UnassignUserRole200, _t.Any] = DeletedRoleAssignmentResource
628
+ UnassignUserRole400: _S.Bottom[_T.UnassignUserRole400, _t.Any] = ErrorResponse
629
+ UnassignUserRole403: _S.Bottom[_T.UnassignUserRole403, _t.Any] = PermissionErrorResponse
630
+ UnassignUserRole404: _S.Bottom[_T.UnassignUserRole404, _t.Any] = ErrorResponse
631
+ UnassignUserRole429: _S.Bottom[_T.UnassignUserRole429, _t.Any] = ErrorResponse
632
+ ListProjectGroupRoleAssignmentsParams: _StructSchema[_T.ListProjectGroupRoleAssignmentsParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectGroupRoleAssignmentsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
633
+ ListProjectGroupRoleAssignments200: _S.Bottom[_T.ListProjectGroupRoleAssignments200, _t.Any] = RoleListResource
634
+ ListProjectGroupRoleAssignments400: _S.Bottom[_T.ListProjectGroupRoleAssignments400, _t.Any] = ErrorResponse
635
+ ListProjectGroupRoleAssignments403: _S.Bottom[_T.ListProjectGroupRoleAssignments403, _t.Any] = PermissionErrorResponse
636
+ ListProjectGroupRoleAssignments404: _S.Bottom[_T.ListProjectGroupRoleAssignments404, _t.Any] = ErrorResponse
637
+ ListProjectGroupRoleAssignments429: _S.Bottom[_T.ListProjectGroupRoleAssignments429, _t.Any] = ErrorResponse
638
+ AssignProjectGroupRoleRequestJson: _S.Bottom[_T.AssignProjectGroupRoleRequestJson, _t.Any] = PublicAssignOrganizationGroupRoleBody
639
+ AssignProjectGroupRole200: _S.Bottom[_T.AssignProjectGroupRole200, _t.Any] = GroupRoleAssignment
640
+ AssignProjectGroupRole400: _S.Bottom[_T.AssignProjectGroupRole400, _t.Any] = ErrorResponse
641
+ AssignProjectGroupRole403: _S.Bottom[_T.AssignProjectGroupRole403, _t.Any] = PermissionErrorResponse
642
+ AssignProjectGroupRole404: _S.Bottom[_T.AssignProjectGroupRole404, _t.Any] = ErrorResponse
643
+ AssignProjectGroupRole429: _S.Bottom[_T.AssignProjectGroupRole429, _t.Any] = ErrorResponse
644
+ RetrieveProjectGroupRole200: _S.Bottom[_T.RetrieveProjectGroupRole200, _t.Any] = AssignedRoleDetails
645
+ RetrieveProjectGroupRole400: _S.Bottom[_T.RetrieveProjectGroupRole400, _t.Any] = ErrorResponse
646
+ RetrieveProjectGroupRole403: _S.Bottom[_T.RetrieveProjectGroupRole403, _t.Any] = PermissionErrorResponse
647
+ RetrieveProjectGroupRole404: _S.Bottom[_T.RetrieveProjectGroupRole404, _t.Any] = ErrorResponse
648
+ RetrieveProjectGroupRole429: _S.Bottom[_T.RetrieveProjectGroupRole429, _t.Any] = ErrorResponse
649
+ UnassignProjectGroupRole200: _S.Bottom[_T.UnassignProjectGroupRole200, _t.Any] = DeletedRoleAssignmentResource
650
+ UnassignProjectGroupRole400: _S.Bottom[_T.UnassignProjectGroupRole400, _t.Any] = ErrorResponse
651
+ UnassignProjectGroupRole403: _S.Bottom[_T.UnassignProjectGroupRole403, _t.Any] = PermissionErrorResponse
652
+ UnassignProjectGroupRole404: _S.Bottom[_T.UnassignProjectGroupRole404, _t.Any] = ErrorResponse
653
+ UnassignProjectGroupRole429: _S.Bottom[_T.UnassignProjectGroupRole429, _t.Any] = ErrorResponse
654
+ ListProjectRolesParams: _StructSchema[_T.ListProjectRolesParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectRolesParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
655
+ ListProjectRoles200: _S.Bottom[_T.ListProjectRoles200, _t.Any] = PublicRoleListResource
656
+ ListProjectRoles400: _S.Bottom[_T.ListProjectRoles400, _t.Any] = ErrorResponse
657
+ ListProjectRoles403: _S.Bottom[_T.ListProjectRoles403, _t.Any] = PermissionErrorResponse
658
+ ListProjectRoles404: _S.Bottom[_T.ListProjectRoles404, _t.Any] = ErrorResponse
659
+ ListProjectRoles429: _S.Bottom[_T.ListProjectRoles429, _t.Any] = ErrorResponse
660
+ CreateProjectRoleRequestJson: _S.Bottom[_T.CreateProjectRoleRequestJson, _t.Any] = PublicCreateOrganizationRoleBody
661
+ CreateProjectRole200: _S.Bottom[_T.CreateProjectRole200, _t.Any] = Role
662
+ CreateProjectRole400: _S.Bottom[_T.CreateProjectRole400, _t.Any] = ErrorResponse
663
+ CreateProjectRole403: _S.Bottom[_T.CreateProjectRole403, _t.Any] = PermissionErrorResponse
664
+ CreateProjectRole404: _S.Bottom[_T.CreateProjectRole404, _t.Any] = ErrorResponse
665
+ CreateProjectRole429: _S.Bottom[_T.CreateProjectRole429, _t.Any] = ErrorResponse
666
+ RetrieveProjectRole200: _S.Bottom[_T.RetrieveProjectRole200, _t.Any] = Role
667
+ RetrieveProjectRole403: _S.Bottom[_T.RetrieveProjectRole403, _t.Any] = PermissionErrorResponse
668
+ RetrieveProjectRole404: _S.Bottom[_T.RetrieveProjectRole404, _t.Any] = ErrorResponse
669
+ RetrieveProjectRole429: _S.Bottom[_T.RetrieveProjectRole429, _t.Any] = ErrorResponse
670
+ UpdateProjectRoleRequestJson: _S.Bottom[_T.UpdateProjectRoleRequestJson, _t.Any] = PublicUpdateOrganizationRoleBody
671
+ UpdateProjectRole200: _S.Bottom[_T.UpdateProjectRole200, _t.Any] = Role
672
+ UpdateProjectRole400: _S.Bottom[_T.UpdateProjectRole400, _t.Any] = ErrorResponse
673
+ UpdateProjectRole403: _S.Bottom[_T.UpdateProjectRole403, _t.Any] = PermissionErrorResponse
674
+ UpdateProjectRole404: _S.Bottom[_T.UpdateProjectRole404, _t.Any] = ErrorResponse
675
+ UpdateProjectRole429: _S.Bottom[_T.UpdateProjectRole429, _t.Any] = ErrorResponse
676
+ DeleteProjectRole200: _S.Bottom[_T.DeleteProjectRole200, _t.Any] = RoleDeletedResource
677
+ DeleteProjectRole400: _S.Bottom[_T.DeleteProjectRole400, _t.Any] = ErrorResponse
678
+ DeleteProjectRole403: _S.Bottom[_T.DeleteProjectRole403, _t.Any] = PermissionErrorResponse
679
+ DeleteProjectRole404: _S.Bottom[_T.DeleteProjectRole404, _t.Any] = ErrorResponse
680
+ DeleteProjectRole429: _S.Bottom[_T.DeleteProjectRole429, _t.Any] = ErrorResponse
681
+ ListProjectUserRoleAssignmentsParams: _StructSchema[_T.ListProjectUserRoleAssignmentsParams, _t.Never, _t.Never] = _b.struct(_T.ListProjectUserRoleAssignmentsParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(1000).annotate(expected="a value less than or equal to 1000")), "after": _S.String, "order": _b.literals(["asc", "desc"])}, optional=("limit", "after", "order",))
682
+ ListProjectUserRoleAssignments200: _S.Bottom[_T.ListProjectUserRoleAssignments200, _t.Any] = RoleListResource
683
+ ListProjectUserRoleAssignments400: _S.Bottom[_T.ListProjectUserRoleAssignments400, _t.Any] = ErrorResponse
684
+ ListProjectUserRoleAssignments403: _S.Bottom[_T.ListProjectUserRoleAssignments403, _t.Any] = PermissionErrorResponse
685
+ ListProjectUserRoleAssignments404: _S.Bottom[_T.ListProjectUserRoleAssignments404, _t.Any] = ErrorResponse
686
+ ListProjectUserRoleAssignments429: _S.Bottom[_T.ListProjectUserRoleAssignments429, _t.Any] = ErrorResponse
687
+ AssignProjectUserRoleRequestJson: _S.Bottom[_T.AssignProjectUserRoleRequestJson, _t.Any] = PublicAssignOrganizationGroupRoleBody
688
+ AssignProjectUserRole200: _S.Bottom[_T.AssignProjectUserRole200, _t.Any] = UserRoleAssignment
689
+ AssignProjectUserRole400: _S.Bottom[_T.AssignProjectUserRole400, _t.Any] = ErrorResponse
690
+ AssignProjectUserRole403: _S.Bottom[_T.AssignProjectUserRole403, _t.Any] = PermissionErrorResponse
691
+ AssignProjectUserRole404: _S.Bottom[_T.AssignProjectUserRole404, _t.Any] = ErrorResponse
692
+ AssignProjectUserRole429: _S.Bottom[_T.AssignProjectUserRole429, _t.Any] = ErrorResponse
693
+ RetrieveProjectUserRole200: _S.Bottom[_T.RetrieveProjectUserRole200, _t.Any] = AssignedRoleDetails
694
+ RetrieveProjectUserRole400: _S.Bottom[_T.RetrieveProjectUserRole400, _t.Any] = ErrorResponse
695
+ RetrieveProjectUserRole403: _S.Bottom[_T.RetrieveProjectUserRole403, _t.Any] = PermissionErrorResponse
696
+ RetrieveProjectUserRole404: _S.Bottom[_T.RetrieveProjectUserRole404, _t.Any] = ErrorResponse
697
+ RetrieveProjectUserRole429: _S.Bottom[_T.RetrieveProjectUserRole429, _t.Any] = ErrorResponse
698
+ UnassignProjectUserRole200: _S.Bottom[_T.UnassignProjectUserRole200, _t.Any] = DeletedRoleAssignmentResource
699
+ UnassignProjectUserRole400: _S.Bottom[_T.UnassignProjectUserRole400, _t.Any] = ErrorResponse
700
+ UnassignProjectUserRole403: _S.Bottom[_T.UnassignProjectUserRole403, _t.Any] = PermissionErrorResponse
701
+ UnassignProjectUserRole404: _S.Bottom[_T.UnassignProjectUserRole404, _t.Any] = ErrorResponse
702
+ UnassignProjectUserRole429: _S.Bottom[_T.UnassignProjectUserRole429, _t.Any] = ErrorResponse
703
+ CreateRealtimeCallRequestFormData: _S.Bottom[_T.CreateRealtimeCallRequestFormData, _t.Any] = RealtimeCallCreateRequest
704
+ AcceptRealtimeCallRequestJson: _S.Bottom[_T.AcceptRealtimeCallRequestJson, _t.Any] = RealtimeSessionCreateRequestGA
705
+ AcceptRealtimeCall404: _S.Bottom[_T.AcceptRealtimeCall404, _t.Any] = ErrorResponse
706
+ AcceptRealtimeCall409: _S.Bottom[_T.AcceptRealtimeCall409, _t.Any] = ErrorResponse
707
+ HangupRealtimeCall404: _S.Bottom[_T.HangupRealtimeCall404, _t.Any] = ErrorResponse
708
+ ReferRealtimeCallRequestJson: _S.Bottom[_T.ReferRealtimeCallRequestJson, _t.Any] = RealtimeCallReferRequest
709
+ ReferRealtimeCall404: _S.Bottom[_T.ReferRealtimeCall404, _t.Any] = ErrorResponse
710
+ RejectRealtimeCallRequestJson: _S.Bottom[_T.RejectRealtimeCallRequestJson, _t.Any] = RealtimeCallRejectRequest
711
+ RejectRealtimeCall404: _S.Bottom[_T.RejectRealtimeCall404, _t.Any] = ErrorResponse
712
+ RejectRealtimeCall409: _S.Bottom[_T.RejectRealtimeCall409, _t.Any] = ErrorResponse
713
+ CreateRealtimeClientSecretRequestJson: _S.Bottom[_T.CreateRealtimeClientSecretRequestJson, _t.Any] = RealtimeCreateClientSecretRequest
714
+ CreateRealtimeClientSecret200: _S.Bottom[_T.CreateRealtimeClientSecret200, _t.Any] = RealtimeCreateClientSecretResponse
715
+ CreateRealtimeClientSecret400: _S.Bottom[_T.CreateRealtimeClientSecret400, _t.Any] = ErrorResponse
716
+ CreateRealtimeClientSecret404: _S.Bottom[_T.CreateRealtimeClientSecret404, _t.Any] = ErrorResponse
717
+ CreateRealtimeClientSecret500: _S.Bottom[_T.CreateRealtimeClientSecret500, _t.Any] = ErrorResponse
718
+ CreateRealtimeSessionRequestJson: _S.Bottom[_T.CreateRealtimeSessionRequestJson, _t.Any] = RealtimeSessionCreateRequest
719
+ CreateRealtimeSession200: _S.Bottom[_T.CreateRealtimeSession200, _t.Any] = RealtimeSessionCreateResponse
720
+ CreateRealtimeTranscriptionSessionRequestJson: _S.Bottom[_T.CreateRealtimeTranscriptionSessionRequestJson, _t.Any] = RealtimeTranscriptionSessionCreateRequest
721
+ CreateRealtimeTranscriptionSession200: _S.Bottom[_T.CreateRealtimeTranscriptionSession200, _t.Any] = RealtimeTranscriptionSessionCreateResponse
722
+ CreateRealtimeTranslationClientSecretRequestJson: _S.Bottom[_T.CreateRealtimeTranslationClientSecretRequestJson, _t.Any] = RealtimeTranslationClientSecretCreateRequest
723
+ CreateRealtimeTranslationClientSecret200: _S.Bottom[_T.CreateRealtimeTranslationClientSecret200, _t.Any] = RealtimeTranslationClientSecretCreateResponse
724
+ CreateRealtimeTranslationClientSecret400: _S.Bottom[_T.CreateRealtimeTranslationClientSecret400, _t.Any] = ErrorResponse
725
+ CreateRealtimeTranslationClientSecret404: _S.Bottom[_T.CreateRealtimeTranslationClientSecret404, _t.Any] = ErrorResponse
726
+ CreateRealtimeTranslationClientSecret500: _S.Bottom[_T.CreateRealtimeTranslationClientSecret500, _t.Any] = ErrorResponse
727
+ CreateResponseRequestJson: _S.Bottom[_T.CreateResponseRequestJson, _t.Any] = CreateResponse
728
+ CreateResponse200: _S.Bottom[_T.CreateResponse200, _t.Any] = Response
729
+ CreateResponse200Sse: _S.Bottom[_T.CreateResponse200Sse, _t.Any] = ResponseStreamEvent
730
+ CreateResponse400: _S.Bottom[_T.CreateResponse400, _t.Any] = ErrorResponse
731
+ CreateResponse404: _S.Bottom[_T.CreateResponse404, _t.Any] = ErrorResponse
732
+ CreateResponse429: _S.Bottom[_T.CreateResponse429, _t.Any] = ErrorResponse
733
+ CreateResponse503: _S.Bottom[_T.CreateResponse503, _t.Any] = ErrorResponse
734
+ GetResponseParams: _StructSchema[_T.GetResponseParams, _t.Never, _t.Never] = _b.struct(_T.GetResponseParams, {"include": _b.array(IncludeEnum), "stream": _S.Boolean, "starting_after": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "include_obfuscation": _S.Boolean}, optional=("include", "stream", "starting_after", "include_obfuscation",))
735
+ GetResponse200: _S.Bottom[_T.GetResponse200, _t.Any] = Response
736
+ GetResponse404: _S.Bottom[_T.GetResponse404, _t.Any] = ErrorResponse
737
+ GetResponse429: _S.Bottom[_T.GetResponse429, _t.Any] = ErrorResponse
738
+ DeleteResponse200: _StructSchema[_T.DeleteResponse200, _t.Never, _t.Never] = _b.struct(_T.DeleteResponse200, {"object": _b.literal("response.deleted"), "deleted": _S.Boolean, "id": _S.String})
739
+ DeleteResponse404: _S.Bottom[_T.DeleteResponse404, _t.Any] = ErrorResponse
740
+ DeleteResponse429: _S.Bottom[_T.DeleteResponse429, _t.Any] = ErrorResponse
741
+ CancelResponse200: _S.Bottom[_T.CancelResponse200, _t.Any] = Response
742
+ CancelResponse404: _S.Bottom[_T.CancelResponse404, _t.Any] = ErrorResponse
743
+ CancelResponse429: _S.Bottom[_T.CancelResponse429, _t.Any] = ErrorResponse
744
+ ListInputItemsParams: _StructSchema[_T.ListInputItemsParams, _t.Never, _t.Never] = _b.struct(_T.ListInputItemsParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "include": _b.array(IncludeEnum)}, optional=("limit", "order", "after", "include",))
745
+ ListInputItems200: _S.Bottom[_T.ListInputItems200, _t.Any] = ResponseItemList
746
+ ListInputItems404: _S.Bottom[_T.ListInputItems404, _t.Any] = ErrorResponse
747
+ ListInputItems429: _S.Bottom[_T.ListInputItems429, _t.Any] = ErrorResponse
748
+ CreateThreadRequestJson: _S.Bottom[_T.CreateThreadRequestJson, _t.Any] = CreateThreadRequest
749
+ CreateThread200: _S.Bottom[_T.CreateThread200, _t.Any] = ThreadObject
750
+ CreateThread429: _S.Bottom[_T.CreateThread429, _t.Any] = ErrorResponse
751
+ CreateThreadAndRunRequestJson: _S.Bottom[_T.CreateThreadAndRunRequestJson, _t.Any] = CreateThreadAndRunRequest
752
+ CreateThreadAndRun200: _S.Bottom[_T.CreateThreadAndRun200, _t.Any] = RunObject
753
+ CreateThreadAndRun200Sse: _S.Bottom[_T.CreateThreadAndRun200Sse, _t.Any] = AssistantStreamEvent
754
+ CreateThreadAndRun429: _S.Bottom[_T.CreateThreadAndRun429, _t.Any] = ErrorResponse
755
+ GetThread200: _S.Bottom[_T.GetThread200, _t.Any] = ThreadObject
756
+ GetThread429: _S.Bottom[_T.GetThread429, _t.Any] = ErrorResponse
757
+ ModifyThreadRequestJson: _S.Bottom[_T.ModifyThreadRequestJson, _t.Any] = ModifyThreadRequest
758
+ ModifyThread200: _S.Bottom[_T.ModifyThread200, _t.Any] = ThreadObject
759
+ ModifyThread429: _S.Bottom[_T.ModifyThread429, _t.Any] = ErrorResponse
760
+ DeleteThread200: _S.Bottom[_T.DeleteThread200, _t.Any] = DeleteThreadResponse
761
+ DeleteThread429: _S.Bottom[_T.DeleteThread429, _t.Any] = ErrorResponse
762
+ ListMessagesParams: _StructSchema[_T.ListMessagesParams, _t.Never, _t.Never] = _b.struct(_T.ListMessagesParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String, "run_id": _S.String}, optional=("limit", "order", "after", "before", "run_id",))
763
+ ListMessages200: _S.Bottom[_T.ListMessages200, _t.Any] = ListMessagesResponse
764
+ ListMessages429: _S.Bottom[_T.ListMessages429, _t.Any] = ErrorResponse
765
+ CreateMessageRequestJson: _S.Bottom[_T.CreateMessageRequestJson, _t.Any] = CreateMessageRequest
766
+ CreateMessage200: _S.Bottom[_T.CreateMessage200, _t.Any] = MessageObject
767
+ CreateMessage429: _S.Bottom[_T.CreateMessage429, _t.Any] = ErrorResponse
768
+ GetMessage200: _S.Bottom[_T.GetMessage200, _t.Any] = MessageObject
769
+ GetMessage429: _S.Bottom[_T.GetMessage429, _t.Any] = ErrorResponse
770
+ ModifyMessageRequestJson: _S.Bottom[_T.ModifyMessageRequestJson, _t.Any] = ModifyMessageRequest
771
+ ModifyMessage200: _S.Bottom[_T.ModifyMessage200, _t.Any] = MessageObject
772
+ ModifyMessage429: _S.Bottom[_T.ModifyMessage429, _t.Any] = ErrorResponse
773
+ DeleteMessage200: _S.Bottom[_T.DeleteMessage200, _t.Any] = DeleteMessageResponse
774
+ DeleteMessage429: _S.Bottom[_T.DeleteMessage429, _t.Any] = ErrorResponse
775
+ ListRunsParams: _StructSchema[_T.ListRunsParams, _t.Never, _t.Never] = _b.struct(_T.ListRunsParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String}, optional=("limit", "order", "after", "before",))
776
+ ListRuns200: _S.Bottom[_T.ListRuns200, _t.Any] = ListRunsResponse
777
+ ListRuns429: _S.Bottom[_T.ListRuns429, _t.Any] = ErrorResponse
778
+ CreateRunParams: _StructSchema[_T.CreateRunParams, _t.Never, _t.Never] = _b.struct(_T.CreateRunParams, {"include[]": _b.array(_b.literal("step_details.tool_calls[*].file_search.results[*].content"))}, optional=("include[]",))
779
+ CreateRunRequestJson: _S.Bottom[_T.CreateRunRequestJson, _t.Any] = CreateRunRequest
780
+ CreateRun200: _S.Bottom[_T.CreateRun200, _t.Any] = RunObject
781
+ CreateRun200Sse: _S.Bottom[_T.CreateRun200Sse, _t.Any] = AssistantStreamEvent
782
+ CreateRun429: _S.Bottom[_T.CreateRun429, _t.Any] = ErrorResponse
783
+ GetRun200: _S.Bottom[_T.GetRun200, _t.Any] = RunObject
784
+ GetRun429: _S.Bottom[_T.GetRun429, _t.Any] = ErrorResponse
785
+ ModifyRunRequestJson: _S.Bottom[_T.ModifyRunRequestJson, _t.Any] = ModifyRunRequest
786
+ ModifyRun200: _S.Bottom[_T.ModifyRun200, _t.Any] = RunObject
787
+ ModifyRun429: _S.Bottom[_T.ModifyRun429, _t.Any] = ErrorResponse
788
+ CancelRun200: _S.Bottom[_T.CancelRun200, _t.Any] = RunObject
789
+ CancelRun429: _S.Bottom[_T.CancelRun429, _t.Any] = ErrorResponse
790
+ ListRunStepsParams: _StructSchema[_T.ListRunStepsParams, _t.Never, _t.Never] = _b.struct(_T.ListRunStepsParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String, "include[]": _b.array(_b.literal("step_details.tool_calls[*].file_search.results[*].content"))}, optional=("limit", "order", "after", "before", "include[]",))
791
+ ListRunSteps200: _S.Bottom[_T.ListRunSteps200, _t.Any] = ListRunStepsResponse
792
+ ListRunSteps429: _S.Bottom[_T.ListRunSteps429, _t.Any] = ErrorResponse
793
+ GetRunStepParams: _StructSchema[_T.GetRunStepParams, _t.Never, _t.Never] = _b.struct(_T.GetRunStepParams, {"include[]": _b.array(_b.literal("step_details.tool_calls[*].file_search.results[*].content"))}, optional=("include[]",))
794
+ GetRunStep200: _S.Bottom[_T.GetRunStep200, _t.Any] = RunStepObject
795
+ GetRunStep429: _S.Bottom[_T.GetRunStep429, _t.Any] = ErrorResponse
796
+ SubmitToolOuputsToRunRequestJson: _S.Bottom[_T.SubmitToolOuputsToRunRequestJson, _t.Any] = SubmitToolOutputsRunRequest
797
+ SubmitToolOuputsToRun200: _S.Bottom[_T.SubmitToolOuputsToRun200, _t.Any] = RunObject
798
+ SubmitToolOuputsToRun200Sse: _S.Bottom[_T.SubmitToolOuputsToRun200Sse, _t.Any] = AssistantStreamEvent
799
+ SubmitToolOuputsToRun429: _S.Bottom[_T.SubmitToolOuputsToRun429, _t.Any] = ErrorResponse
800
+ CreateUploadRequestJson: _S.Bottom[_T.CreateUploadRequestJson, _t.Any] = CreateUploadRequest
801
+ CreateUpload200: _S.Bottom[_T.CreateUpload200, _t.Any] = Upload
802
+ CreateUpload400: _S.Bottom[_T.CreateUpload400, _t.Any] = ErrorResponse
803
+ CreateUpload429: _S.Bottom[_T.CreateUpload429, _t.Any] = ErrorResponse
804
+ CancelUpload200: _S.Bottom[_T.CancelUpload200, _t.Any] = Upload
805
+ CancelUpload400: _S.Bottom[_T.CancelUpload400, _t.Any] = ErrorResponse
806
+ CancelUpload404: _S.Bottom[_T.CancelUpload404, _t.Any] = ErrorResponse
807
+ CancelUpload410: _S.Bottom[_T.CancelUpload410, _t.Any] = ErrorResponse
808
+ CancelUpload429: _S.Bottom[_T.CancelUpload429, _t.Any] = ErrorResponse
809
+ CompleteUploadRequestJson: _S.Bottom[_T.CompleteUploadRequestJson, _t.Any] = CompleteUploadRequest
810
+ CompleteUpload200: _S.Bottom[_T.CompleteUpload200, _t.Any] = Upload
811
+ CompleteUpload400: _S.Bottom[_T.CompleteUpload400, _t.Any] = ErrorResponse
812
+ CompleteUpload404: _S.Bottom[_T.CompleteUpload404, _t.Any] = ErrorResponse
813
+ CompleteUpload410: _S.Bottom[_T.CompleteUpload410, _t.Any] = ErrorResponse
814
+ CompleteUpload429: _S.Bottom[_T.CompleteUpload429, _t.Any] = ErrorResponse
815
+ CompleteUpload500: _S.Bottom[_T.CompleteUpload500, _t.Any] = ErrorResponse
816
+ AddUploadPartRequestFormData: _S.Bottom[_T.AddUploadPartRequestFormData, _t.Any] = AddUploadPartRequestMultipart
817
+ AddUploadPart200: _S.Bottom[_T.AddUploadPart200, _t.Any] = UploadPart
818
+ AddUploadPart400: _S.Bottom[_T.AddUploadPart400, _t.Any] = ErrorResponse
819
+ AddUploadPart404: _S.Bottom[_T.AddUploadPart404, _t.Any] = ErrorResponse
820
+ AddUploadPart410: _S.Bottom[_T.AddUploadPart410, _t.Any] = ErrorResponse
821
+ AddUploadPart429: _S.Bottom[_T.AddUploadPart429, _t.Any] = ErrorResponse
822
+ AddUploadPart500: _S.Bottom[_T.AddUploadPart500, _t.Any] = ErrorResponse
823
+ ListVectorStoresParams: _StructSchema[_T.ListVectorStoresParams, _t.Never, _t.Never] = _b.struct(_T.ListVectorStoresParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String}, optional=("limit", "order", "after", "before",))
824
+ ListVectorStores200: _S.Bottom[_T.ListVectorStores200, _t.Any] = ListVectorStoresResponse
825
+ ListVectorStores429: _S.Bottom[_T.ListVectorStores429, _t.Any] = ErrorResponse
826
+ ListVectorStores503: _S.Bottom[_T.ListVectorStores503, _t.Any] = ErrorResponse
827
+ CreateVectorStoreRequestJson: _S.Bottom[_T.CreateVectorStoreRequestJson, _t.Any] = CreateVectorStoreRequest
828
+ CreateVectorStore200: _S.Bottom[_T.CreateVectorStore200, _t.Any] = VectorStoreObject
829
+ CreateVectorStore400: _S.Bottom[_T.CreateVectorStore400, _t.Any] = ErrorResponse
830
+ CreateVectorStore404: _S.Bottom[_T.CreateVectorStore404, _t.Any] = ErrorResponse
831
+ CreateVectorStore429: _S.Bottom[_T.CreateVectorStore429, _t.Any] = ErrorResponse
832
+ GetVectorStore200: _S.Bottom[_T.GetVectorStore200, _t.Any] = VectorStoreObject
833
+ GetVectorStore404: _S.Bottom[_T.GetVectorStore404, _t.Any] = ErrorResponse
834
+ GetVectorStore429: _S.Bottom[_T.GetVectorStore429, _t.Any] = ErrorResponse
835
+ ModifyVectorStoreRequestJson: _S.Bottom[_T.ModifyVectorStoreRequestJson, _t.Any] = UpdateVectorStoreRequest
836
+ ModifyVectorStore200: _S.Bottom[_T.ModifyVectorStore200, _t.Any] = VectorStoreObject
837
+ ModifyVectorStore400: _S.Bottom[_T.ModifyVectorStore400, _t.Any] = ErrorResponse
838
+ ModifyVectorStore403: _S.Bottom[_T.ModifyVectorStore403, _t.Any] = ErrorResponse
839
+ ModifyVectorStore404: _S.Bottom[_T.ModifyVectorStore404, _t.Any] = ErrorResponse
840
+ ModifyVectorStore429: _S.Bottom[_T.ModifyVectorStore429, _t.Any] = ErrorResponse
841
+ DeleteVectorStore200: _S.Bottom[_T.DeleteVectorStore200, _t.Any] = DeleteVectorStoreResponse
842
+ DeleteVectorStore404: _S.Bottom[_T.DeleteVectorStore404, _t.Any] = ErrorResponse
843
+ DeleteVectorStore409: _S.Bottom[_T.DeleteVectorStore409, _t.Any] = ErrorResponse
844
+ DeleteVectorStore429: _S.Bottom[_T.DeleteVectorStore429, _t.Any] = ErrorResponse
845
+ CreateVectorStoreFileBatchRequestJson: _S.Bottom[_T.CreateVectorStoreFileBatchRequestJson, _t.Any] = CreateVectorStoreFileBatchRequest
846
+ CreateVectorStoreFileBatch200: _S.Bottom[_T.CreateVectorStoreFileBatch200, _t.Any] = VectorStoreFileBatchObject
847
+ CreateVectorStoreFileBatch400: _S.Bottom[_T.CreateVectorStoreFileBatch400, _t.Any] = ErrorResponse
848
+ CreateVectorStoreFileBatch404: _S.Bottom[_T.CreateVectorStoreFileBatch404, _t.Any] = ErrorResponse
849
+ CreateVectorStoreFileBatch409: _S.Bottom[_T.CreateVectorStoreFileBatch409, _t.Any] = ErrorResponse
850
+ CreateVectorStoreFileBatch429: _S.Bottom[_T.CreateVectorStoreFileBatch429, _t.Any] = ErrorResponse
851
+ CreateVectorStoreFileBatch500: _S.Bottom[_T.CreateVectorStoreFileBatch500, _t.Any] = ErrorResponse
852
+ GetVectorStoreFileBatch200: _S.Bottom[_T.GetVectorStoreFileBatch200, _t.Any] = VectorStoreFileBatchObject
853
+ GetVectorStoreFileBatch400: _S.Bottom[_T.GetVectorStoreFileBatch400, _t.Any] = ErrorResponse
854
+ GetVectorStoreFileBatch404: _S.Bottom[_T.GetVectorStoreFileBatch404, _t.Any] = ErrorResponse
855
+ GetVectorStoreFileBatch429: _S.Bottom[_T.GetVectorStoreFileBatch429, _t.Any] = ErrorResponse
856
+ CancelVectorStoreFileBatch200: _S.Bottom[_T.CancelVectorStoreFileBatch200, _t.Any] = VectorStoreFileBatchObject
857
+ CancelVectorStoreFileBatch400: _S.Bottom[_T.CancelVectorStoreFileBatch400, _t.Any] = ErrorResponse
858
+ CancelVectorStoreFileBatch404: _S.Bottom[_T.CancelVectorStoreFileBatch404, _t.Any] = ErrorResponse
859
+ CancelVectorStoreFileBatch409: _S.Bottom[_T.CancelVectorStoreFileBatch409, _t.Any] = ErrorResponse
860
+ CancelVectorStoreFileBatch429: _S.Bottom[_T.CancelVectorStoreFileBatch429, _t.Any] = ErrorResponse
861
+ ListFilesInVectorStoreBatchParams: _StructSchema[_T.ListFilesInVectorStoreBatchParams, _t.Never, _t.Never] = _b.struct(_T.ListFilesInVectorStoreBatchParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String, "filter": _b.literals(["in_progress", "completed", "failed", "cancelled"])}, optional=("limit", "order", "after", "before", "filter",))
862
+ ListFilesInVectorStoreBatch200: _S.Bottom[_T.ListFilesInVectorStoreBatch200, _t.Any] = ListVectorStoreFilesResponse
863
+ ListFilesInVectorStoreBatch400: _S.Bottom[_T.ListFilesInVectorStoreBatch400, _t.Any] = ErrorResponse
864
+ ListFilesInVectorStoreBatch404: _S.Bottom[_T.ListFilesInVectorStoreBatch404, _t.Any] = ErrorResponse
865
+ ListFilesInVectorStoreBatch429: _S.Bottom[_T.ListFilesInVectorStoreBatch429, _t.Any] = ErrorResponse
866
+ ListVectorStoreFilesParams: _StructSchema[_T.ListVectorStoreFilesParams, _t.Never, _t.Never] = _b.struct(_T.ListVectorStoreFilesParams, {"limit": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "order": _b.literals(["asc", "desc"]), "after": _S.String, "before": _S.String, "filter": _b.literals(["in_progress", "completed", "failed", "cancelled"])}, optional=("limit", "order", "after", "before", "filter",))
867
+ ListVectorStoreFiles200: _S.Bottom[_T.ListVectorStoreFiles200, _t.Any] = ListVectorStoreFilesResponse
868
+ ListVectorStoreFiles400: _S.Bottom[_T.ListVectorStoreFiles400, _t.Any] = ErrorResponse
869
+ ListVectorStoreFiles404: _S.Bottom[_T.ListVectorStoreFiles404, _t.Any] = ErrorResponse
870
+ ListVectorStoreFiles429: _S.Bottom[_T.ListVectorStoreFiles429, _t.Any] = ErrorResponse
871
+ CreateVectorStoreFileRequestJson: _S.Bottom[_T.CreateVectorStoreFileRequestJson, _t.Any] = CreateVectorStoreFileRequest
872
+ CreateVectorStoreFile200: _S.Bottom[_T.CreateVectorStoreFile200, _t.Any] = VectorStoreFileObject
873
+ CreateVectorStoreFile400: _S.Bottom[_T.CreateVectorStoreFile400, _t.Any] = ErrorResponse
874
+ CreateVectorStoreFile404: _S.Bottom[_T.CreateVectorStoreFile404, _t.Any] = ErrorResponse
875
+ CreateVectorStoreFile409: _S.Bottom[_T.CreateVectorStoreFile409, _t.Any] = ErrorResponse
876
+ CreateVectorStoreFile429: _S.Bottom[_T.CreateVectorStoreFile429, _t.Any] = ErrorResponse
877
+ CreateVectorStoreFile500: _S.Bottom[_T.CreateVectorStoreFile500, _t.Any] = ErrorResponse
878
+ GetVectorStoreFile200: _S.Bottom[_T.GetVectorStoreFile200, _t.Any] = VectorStoreFileObject
879
+ GetVectorStoreFile404: _S.Bottom[_T.GetVectorStoreFile404, _t.Any] = ErrorResponse
880
+ GetVectorStoreFile429: _S.Bottom[_T.GetVectorStoreFile429, _t.Any] = ErrorResponse
881
+ GetVectorStoreFile500: _S.Bottom[_T.GetVectorStoreFile500, _t.Any] = ErrorResponse
882
+ UpdateVectorStoreFileAttributesRequestJson: _S.Bottom[_T.UpdateVectorStoreFileAttributesRequestJson, _t.Any] = UpdateVectorStoreFileAttributesRequest
883
+ UpdateVectorStoreFileAttributes200: _S.Bottom[_T.UpdateVectorStoreFileAttributes200, _t.Any] = VectorStoreFileObject
884
+ UpdateVectorStoreFileAttributes400: _S.Bottom[_T.UpdateVectorStoreFileAttributes400, _t.Any] = ErrorResponse
885
+ UpdateVectorStoreFileAttributes404: _S.Bottom[_T.UpdateVectorStoreFileAttributes404, _t.Any] = ErrorResponse
886
+ UpdateVectorStoreFileAttributes409: _S.Bottom[_T.UpdateVectorStoreFileAttributes409, _t.Any] = ErrorResponse
887
+ UpdateVectorStoreFileAttributes429: _S.Bottom[_T.UpdateVectorStoreFileAttributes429, _t.Any] = ErrorResponse
888
+ UpdateVectorStoreFileAttributes500: _S.Bottom[_T.UpdateVectorStoreFileAttributes500, _t.Any] = ErrorResponse
889
+ DeleteVectorStoreFile200: _S.Bottom[_T.DeleteVectorStoreFile200, _t.Any] = DeleteVectorStoreFileResponse
890
+ DeleteVectorStoreFile400: _S.Bottom[_T.DeleteVectorStoreFile400, _t.Any] = ErrorResponse
891
+ DeleteVectorStoreFile404: _S.Bottom[_T.DeleteVectorStoreFile404, _t.Any] = ErrorResponse
892
+ DeleteVectorStoreFile409: _S.Bottom[_T.DeleteVectorStoreFile409, _t.Any] = ErrorResponse
893
+ DeleteVectorStoreFile429: _S.Bottom[_T.DeleteVectorStoreFile429, _t.Any] = ErrorResponse
894
+ DeleteVectorStoreFile500: _S.Bottom[_T.DeleteVectorStoreFile500, _t.Any] = ErrorResponse
895
+ RetrieveVectorStoreFileContent200: _S.Bottom[_T.RetrieveVectorStoreFileContent200, _t.Any] = VectorStoreFileContentResponse
896
+ RetrieveVectorStoreFileContent400: _S.Bottom[_T.RetrieveVectorStoreFileContent400, _t.Any] = ErrorResponse
897
+ RetrieveVectorStoreFileContent404: _S.Bottom[_T.RetrieveVectorStoreFileContent404, _t.Any] = ErrorResponse
898
+ RetrieveVectorStoreFileContent429: _S.Bottom[_T.RetrieveVectorStoreFileContent429, _t.Any] = ErrorResponse
899
+ RetrieveVectorStoreFileContent500: _S.Bottom[_T.RetrieveVectorStoreFileContent500, _t.Any] = ErrorResponse
900
+ SearchVectorStoreRequestJson: _S.Bottom[_T.SearchVectorStoreRequestJson, _t.Any] = VectorStoreSearchRequest
901
+ SearchVectorStore200: _S.Bottom[_T.SearchVectorStore200, _t.Any] = VectorStoreSearchResultsPage
902
+ SearchVectorStore400: _S.Bottom[_T.SearchVectorStore400, _t.Any] = ErrorResponse
903
+ SearchVectorStore404: _S.Bottom[_T.SearchVectorStore404, _t.Any] = ErrorResponse
904
+ SearchVectorStore429: _S.Bottom[_T.SearchVectorStore429, _t.Any] = ErrorResponse
905
+ CreateConversationRequestJson: _S.Bottom[_T.CreateConversationRequestJson, _t.Any] = CreateConversationBody
906
+ CreateConversation200: _S.Bottom[_T.CreateConversation200, _t.Any] = ConversationResource
907
+ CreateConversation400: _S.Bottom[_T.CreateConversation400, _t.Any] = ErrorResponse
908
+ CreateConversation429: _S.Bottom[_T.CreateConversation429, _t.Any] = ErrorResponse
909
+ CreateConversation500: _S.Bottom[_T.CreateConversation500, _t.Any] = ErrorResponse
910
+ GetConversation200: _S.Bottom[_T.GetConversation200, _t.Any] = ConversationResource
911
+ GetConversation404: _S.Bottom[_T.GetConversation404, _t.Any] = ErrorResponse
912
+ GetConversation429: _S.Bottom[_T.GetConversation429, _t.Any] = ErrorResponse
913
+ UpdateConversationRequestJson: _S.Bottom[_T.UpdateConversationRequestJson, _t.Any] = UpdateConversationBody
914
+ UpdateConversation200: _S.Bottom[_T.UpdateConversation200, _t.Any] = ConversationResource
915
+ UpdateConversation400: _S.Bottom[_T.UpdateConversation400, _t.Any] = ErrorResponse
916
+ UpdateConversation404: _S.Bottom[_T.UpdateConversation404, _t.Any] = ErrorResponse
917
+ UpdateConversation429: _S.Bottom[_T.UpdateConversation429, _t.Any] = ErrorResponse
918
+ UpdateConversation500: _S.Bottom[_T.UpdateConversation500, _t.Any] = ErrorResponse
919
+ DeleteConversation200: _S.Bottom[_T.DeleteConversation200, _t.Any] = DeletedConversationResource
920
+ DeleteConversation404: _S.Bottom[_T.DeleteConversation404, _t.Any] = ErrorResponse
921
+ DeleteConversation429: _S.Bottom[_T.DeleteConversation429, _t.Any] = ErrorResponse
922
+ Getsafetycase200: _S.Bottom[_T.Getsafetycase200, _t.Any] = SafetyCaseResource
923
+ Getsafetycase400: _S.Bottom[_T.Getsafetycase400, _t.Any] = ErrorResponse
924
+ Getsafetycase404: _S.Bottom[_T.Getsafetycase404, _t.Any] = ErrorResponse
925
+ Getsafetycase429: _S.Bottom[_T.Getsafetycase429, _t.Any] = ErrorResponse
926
+ Getsafetycase500: _S.Bottom[_T.Getsafetycase500, _t.Any] = ErrorResponse
927
+ Getsafetycase503: _S.Bottom[_T.Getsafetycase503, _t.Any] = ErrorResponse
928
+ Getprojectsafetyalert200: _S.Bottom[_T.Getprojectsafetyalert200, _t.Any] = SafetyAlertResource
929
+ Getprojectsafetyalert400: _S.Bottom[_T.Getprojectsafetyalert400, _t.Any] = ErrorResponse
930
+ Getprojectsafetyalert404: _S.Bottom[_T.Getprojectsafetyalert404, _t.Any] = ErrorResponse
931
+ Getprojectsafetyalert429: _S.Bottom[_T.Getprojectsafetyalert429, _t.Any] = ErrorResponse
932
+ Getprojectsafetyalert503: _S.Bottom[_T.Getprojectsafetyalert503, _t.Any] = ErrorResponse
933
+ DownloadLiveRecording400: _S.Bottom[_T.DownloadLiveRecording400, _t.Any] = ErrorResponse
934
+ DownloadLiveRecording404: _S.Bottom[_T.DownloadLiveRecording404, _t.Any] = ErrorResponse
935
+ DownloadLiveRecording429: _S.Bottom[_T.DownloadLiveRecording429, _t.Any] = ErrorResponse
936
+ DownloadLiveRecording500: _S.Bottom[_T.DownloadLiveRecording500, _t.Any] = ErrorResponse
937
+ DownloadLiveRecording503: _S.Bottom[_T.DownloadLiveRecording503, _t.Any] = ErrorResponse
938
+ OrganizationDecisionsusageParams: _StructSchema[_T.OrganizationDecisionsusageParams, _t.Never, _t.Never] = _b.struct(_T.OrganizationDecisionsusageParams, {"start_time": _b.check(_S.Number, _S.is_int().annotate(expected="an integer")), "end_time": _b.union(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.Null), "bucket_width": _b.union(_b.union(DecisionsUsageBucketWidth, mode="one_of").annotate(description="Width of each time bucket in response. Currently `1m`, `1h` and `1d` are supported, default to `1d`."), _S.Null), "limit": _b.union(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.Null), "page": _b.union(_S.String.annotate(description="A cursor for use in pagination. Corresponding to the `next_page` field from the previous response."), _S.Null), "project_ids": _b.union(_b.union(_b.array(_S.String), mode="one_of").annotate(description="Return only usage for these projects."), _S.Null), "group_by": _b.union(_b.union(_b.array(DecisionsUsageGroupBy), mode="one_of").annotate(description="Group the usage data by the specified fields. Support fields include `project_id`, `user_id`, `api_key_id`, `model`, `batch`, `service_tier`, `api_source` or any combination of them. When grouped by `api_source`, results use `agents_api` for attributed Agents API activity and `unlabeled` for all other activity. Without source grouping, `api_source` is null."), _S.Null), "user_ids": _b.union(_b.union(_b.array(_S.String), mode="one_of").annotate(description="Return only usage for these users."), _S.Null), "api_key_ids": _b.union(_b.union(_b.array(_S.String), mode="one_of").annotate(description="Return only usage for these API keys."), _S.Null), "models": _b.union(_b.union(_b.array(_S.String), mode="one_of").annotate(description="Return only usage for these models."), _S.Null), "batch": _b.union(_S.Boolean, _S.Null)}, optional=("end_time", "bucket_width", "limit", "page", "project_ids", "group_by", "user_ids", "api_key_ids", "models", "batch",))
939
+ OrganizationDecisionsusage200: _S.Bottom[_T.OrganizationDecisionsusage200, _t.Any] = PublicDecisionsUsageResponseResource
940
+ OrganizationDecisionsusage400: _S.Bottom[_T.OrganizationDecisionsusage400, _t.Any] = DecisionsUsageErrorResponse
941
+ OrganizationDecisionsusage403: _S.Bottom[_T.OrganizationDecisionsusage403, _t.Any] = DecisionsUsagePermissionErrorResponse
942
+ OrganizationDecisionsusage429: _S.Bottom[_T.OrganizationDecisionsusage429, _t.Any] = ErrorResponse
943
+ ListexternalstorageconfigurationsParams: _StructSchema[_T.ListexternalstorageconfigurationsParams, _t.Never, _t.Never] = _b.struct(_T.ListexternalstorageconfigurationsParams, {"project_id": _b.union(_S.String, _S.Null), "after": _b.union(_S.String.annotate(description="Return external storage configurations after this ID."), _S.Null), "order": ExternalStorageOrder, "limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(1).annotate(expected="a value greater than or equal to 1")), _S.is_less_than_or_equal_to(100).annotate(expected="a value less than or equal to 100"))}, optional=("project_id", "after", "order", "limit",))
944
+ Listexternalstorageconfigurations200: _S.Bottom[_T.Listexternalstorageconfigurations200, _t.Any] = ExternalStorageListResource
945
+ Listexternalstorageconfigurations400: _S.Bottom[_T.Listexternalstorageconfigurations400, _t.Any] = ErrorResponse
946
+ Listexternalstorageconfigurations403: _S.Bottom[_T.Listexternalstorageconfigurations403, _t.Any] = ErrorResponse
947
+ Listexternalstorageconfigurations404: _S.Bottom[_T.Listexternalstorageconfigurations404, _t.Any] = ErrorResponse
948
+ CreateanexternalstorageconfigurationRequestJson: _S.Bottom[_T.CreateanexternalstorageconfigurationRequestJson, _t.Any] = CreateExternalStorageBody
949
+ Createanexternalstorageconfiguration200: _S.Bottom[_T.Createanexternalstorageconfiguration200, _t.Any] = ExternalStorageResponse
950
+ Createanexternalstorageconfiguration400: _S.Bottom[_T.Createanexternalstorageconfiguration400, _t.Any] = ErrorResponse
951
+ Createanexternalstorageconfiguration403: _S.Bottom[_T.Createanexternalstorageconfiguration403, _t.Any] = ErrorResponse
952
+ Createanexternalstorageconfiguration404: _S.Bottom[_T.Createanexternalstorageconfiguration404, _t.Any] = ErrorResponse
953
+ Createanexternalstorageconfiguration503: _S.Bottom[_T.Createanexternalstorageconfiguration503, _t.Any] = ErrorResponse
954
+ Getanexternalstorageconfiguration200: _S.Bottom[_T.Getanexternalstorageconfiguration200, _t.Any] = ExternalStorageResponse
955
+ Getanexternalstorageconfiguration400: _S.Bottom[_T.Getanexternalstorageconfiguration400, _t.Any] = ErrorResponse
956
+ Getanexternalstorageconfiguration403: _S.Bottom[_T.Getanexternalstorageconfiguration403, _t.Any] = ErrorResponse
957
+ Getanexternalstorageconfiguration404: _S.Bottom[_T.Getanexternalstorageconfiguration404, _t.Any] = ErrorResponse
958
+ Deleteanexternalstorageconfiguration200: _S.Bottom[_T.Deleteanexternalstorageconfiguration200, _t.Any] = ExternalStorageDeletedResource
959
+ Deleteanexternalstorageconfiguration400: _S.Bottom[_T.Deleteanexternalstorageconfiguration400, _t.Any] = ErrorResponse
960
+ Deleteanexternalstorageconfiguration403: _S.Bottom[_T.Deleteanexternalstorageconfiguration403, _t.Any] = ErrorResponse
961
+ Deleteanexternalstorageconfiguration404: _S.Bottom[_T.Deleteanexternalstorageconfiguration404, _t.Any] = ErrorResponse
962
+ Validateanexternalstorageconfiguration200: _S.Bottom[_T.Validateanexternalstorageconfiguration200, _t.Any] = ExternalStorageResponse
963
+ Validateanexternalstorageconfiguration400: _S.Bottom[_T.Validateanexternalstorageconfiguration400, _t.Any] = ErrorResponse
964
+ Validateanexternalstorageconfiguration403: _S.Bottom[_T.Validateanexternalstorageconfiguration403, _t.Any] = ErrorResponse
965
+ Validateanexternalstorageconfiguration404: _S.Bottom[_T.Validateanexternalstorageconfiguration404, _t.Any] = ErrorResponse
966
+ Validateanexternalstorageconfiguration503: _S.Bottom[_T.Validateanexternalstorageconfiguration503, _t.Any] = ErrorResponse
967
+ Getorganizationspendlimit200: _S.Bottom[_T.Getorganizationspendlimit200, _t.Any] = OrganizationSpendLimitResource
968
+ Getorganizationspendlimit403: _S.Bottom[_T.Getorganizationspendlimit403, _t.Any] = PermissionErrorResponse
969
+ Getorganizationspendlimit404: _S.Bottom[_T.Getorganizationspendlimit404, _t.Any] = ErrorResponse
970
+ UpdateorganizationspendlimitRequestJson: _S.Bottom[_T.UpdateorganizationspendlimitRequestJson, _t.Any] = UpdateOrganizationSpendLimitBody
971
+ Updateorganizationspendlimit200: _S.Bottom[_T.Updateorganizationspendlimit200, _t.Any] = OrganizationSpendLimitResource
972
+ Updateorganizationspendlimit400: _S.Bottom[_T.Updateorganizationspendlimit400, _t.Any] = ErrorResponse
973
+ Updateorganizationspendlimit403: _S.Bottom[_T.Updateorganizationspendlimit403, _t.Any] = PermissionErrorResponse
974
+ Deleteorganizationspendlimit200: _S.Bottom[_T.Deleteorganizationspendlimit200, _t.Any] = OrganizationSpendLimitDeletedResource
975
+ Deleteorganizationspendlimit403: _S.Bottom[_T.Deleteorganizationspendlimit403, _t.Any] = PermissionErrorResponse
976
+ Deleteorganizationspendlimit404: _S.Bottom[_T.Deleteorganizationspendlimit404, _t.Any] = ErrorResponse
977
+ Getprojectspendlimit200: _S.Bottom[_T.Getprojectspendlimit200, _t.Any] = ProjectSpendLimitResource
978
+ Getprojectspendlimit400: _S.Bottom[_T.Getprojectspendlimit400, _t.Any] = ErrorResponse
979
+ Getprojectspendlimit403: _S.Bottom[_T.Getprojectspendlimit403, _t.Any] = PermissionErrorResponse
980
+ Getprojectspendlimit404: _S.Bottom[_T.Getprojectspendlimit404, _t.Any] = ErrorResponse
981
+ UpdateprojectspendlimitRequestJson: _S.Bottom[_T.UpdateprojectspendlimitRequestJson, _t.Any] = UpdateProjectSpendLimitBody
982
+ Updateprojectspendlimit200: _S.Bottom[_T.Updateprojectspendlimit200, _t.Any] = ProjectSpendLimitResource
983
+ Updateprojectspendlimit400: _S.Bottom[_T.Updateprojectspendlimit400, _t.Any] = ErrorResponse
984
+ Updateprojectspendlimit403: _S.Bottom[_T.Updateprojectspendlimit403, _t.Any] = PermissionErrorResponse
985
+ Updateprojectspendlimit404: _S.Bottom[_T.Updateprojectspendlimit404, _t.Any] = ErrorResponse
986
+ Deleteprojectspendlimit200: _S.Bottom[_T.Deleteprojectspendlimit200, _t.Any] = ProjectSpendLimitDeletedResource
987
+ Deleteprojectspendlimit400: _S.Bottom[_T.Deleteprojectspendlimit400, _t.Any] = ErrorResponse
988
+ Deleteprojectspendlimit403: _S.Bottom[_T.Deleteprojectspendlimit403, _t.Any] = PermissionErrorResponse
989
+ Deleteprojectspendlimit404: _S.Bottom[_T.Deleteprojectspendlimit404, _t.Any] = ErrorResponse
990
+ CreateanAPIkeyforaserviceaccountRequestJson: _S.Bottom[_T.CreateanAPIkeyforaserviceaccountRequestJson, _t.Any] = CreateProjectServiceAccountApiKeyBody
991
+ CreateanAPIkeyforaserviceaccount200: _S.Bottom[_T.CreateanAPIkeyforaserviceaccount200, _t.Any] = ServiceAccountApiKeyBody
992
+ CreateanAPIkeyforaserviceaccount400: _S.Bottom[_T.CreateanAPIkeyforaserviceaccount400, _t.Any] = ErrorResponse
993
+ CreateanAPIkeyforaserviceaccount403: _S.Bottom[_T.CreateanAPIkeyforaserviceaccount403, _t.Any] = PermissionErrorResponse
994
+ CreateanAPIkeyforaserviceaccount404: _S.Bottom[_T.CreateanAPIkeyforaserviceaccount404, _t.Any] = ErrorResponse
995
+ CreateanAPIkeyforaserviceaccount409: _S.Bottom[_T.CreateanAPIkeyforaserviceaccount409, _t.Any] = ErrorResponse
996
+ CreateanAPIkeyforaserviceaccount429: _S.Bottom[_T.CreateanAPIkeyforaserviceaccount429, _t.Any] = ErrorResponse
997
+ CreatecontentprovenancecheckRequestFormData: _S.Bottom[_T.CreatecontentprovenancecheckRequestFormData, _t.Any] = CreateContentProvenanceBodyMultipart
998
+ Createcontentprovenancecheck200: _S.Bottom[_T.Createcontentprovenancecheck200, _t.Any] = ProvenanceResource
999
+ Createcontentprovenancecheck400: _S.Bottom[_T.Createcontentprovenancecheck400, _t.Any] = ErrorResponse
1000
+ Createcontentprovenancecheck404: _S.Bottom[_T.Createcontentprovenancecheck404, _t.Any] = ErrorResponse
1001
+ Createcontentprovenancecheck429: _S.Bottom[_T.Createcontentprovenancecheck429, _t.Any] = ErrorResponse
1002
+ Createcontentprovenancecheck500: _S.Bottom[_T.Createcontentprovenancecheck500, _t.Any] = ErrorResponse
1003
+ Createcontentprovenancecheck503: _S.Bottom[_T.Createcontentprovenancecheck503, _t.Any] = ErrorResponse
1004
+ ListVideosParams: _StructSchema[_T.ListVideosParams, _t.Never, _t.Never] = _b.struct(_T.ListVideosParams, {"limit": _b.check(_b.check(_b.check(_S.Number, _S.is_int().annotate(expected="an integer")), _S.is_greater_than_or_equal_to(0).annotate(expected="a value greater than or equal to 0")), _S.is_less_than_or_equal_to(100).annotate(expected="a value less than or equal to 100")), "order": OrderEnum, "after": _S.String.annotate(description="Identifier for the last item from the previous pagination request")}, optional=("limit", "order", "after",))
1005
+ ListVideos200: _S.Bottom[_T.ListVideos200, _t.Any] = VideoListResource
1006
+ ListVideos400: _S.Bottom[_T.ListVideos400, _t.Any] = ErrorResponse
1007
+ ListVideos404: _S.Bottom[_T.ListVideos404, _t.Any] = ErrorResponse
1008
+ CreateVideoRequestJson: _S.Bottom[_T.CreateVideoRequestJson, _t.Any] = CreateVideoJsonBody
1009
+ CreateVideoRequestFormData: _S.Bottom[_T.CreateVideoRequestFormData, _t.Any] = CreateVideoMultipartBodyMultipart
1010
+ CreateVideo200: _S.Bottom[_T.CreateVideo200, _t.Any] = VideoResource
1011
+ CreateVideo400: _S.Bottom[_T.CreateVideo400, _t.Any] = ErrorResponse
1012
+ CreateVideo404: _S.Bottom[_T.CreateVideo404, _t.Any] = ErrorResponse
1013
+ CreateVideo429: _S.Bottom[_T.CreateVideo429, _t.Any] = ErrorResponse
1014
+ CreateVideo500: _S.Bottom[_T.CreateVideo500, _t.Any] = ErrorResponse
1015
+ CreateVideo503: _S.Bottom[_T.CreateVideo503, _t.Any] = ErrorResponse
1016
+ CreateVideoCharacterRequestFormData: _S.Bottom[_T.CreateVideoCharacterRequestFormData, _t.Any] = CreateVideoCharacterBodyMultipart
1017
+ CreateVideoCharacter200: _S.Bottom[_T.CreateVideoCharacter200, _t.Any] = VideoCharacterResource