@xyd-js/opensdk-python 0.0.0-build-f0c10f6-20260703195526
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.
- package/CHANGELOG.md +10 -0
- package/LICENSE +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__create/input.json +325 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__create/output.py +26 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__delete/input.json +201 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__delete/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__list/input.json +400 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__retrieve/input.json +304 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin_api_keys__retrieve/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__audit_logs__list/input.json +2602 -0
- package/__fixtures__/-2.complex.openai/admin__organization__audit_logs__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate__create/input.json +308 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate__create/output.py +32 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/input.json +308 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate__create/input.json +308 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate__create/output.py +32 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/input.json +196 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/input.json +356 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/input.json +300 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/output.py +30 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/input.json +310 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/output.py +30 -0
- package/__fixtures__/-2.complex.openai/admin__organization__costs__list/input.json +1062 -0
- package/__fixtures__/-2.complex.openai/admin__organization__costs__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__create/input.json +239 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__create/output.py +26 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/input.json +206 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__list/input.json +316 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/input.json +364 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/output.py +34 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/input.json +210 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/input.json +398 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__update/input.json +241 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__update/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/input.json +237 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/output.py +34 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/input.json +211 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/input.json +314 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__create/input.json +386 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__create/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/input.json +203 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__list/input.json +414 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/input.json +337 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api_keys__delete/input.json +279 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api_keys__delete/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api_keys__list/input.json +475 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api_keys__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api_keys__retrieve/input.json +400 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api_keys__retrieve/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/input.json +247 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate__create/input.json +324 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate__create/output.py +40 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate__create/input.json +324 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate__create/output.py +40 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/input.json +372 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__create/input.json +281 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__create/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/input.json +274 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/output.py +34 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/input.json +211 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/input.json +342 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__list/input.json +330 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate_limits__list_rate_limits/input.json +358 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate_limits__list_rate_limits/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate_limits__update_rate_limit/input.json +407 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate_limits__update_rate_limit/output.py +38 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/input.json +247 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__create/input.json +372 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__create/output.py +34 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__delete/input.json +216 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__delete/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__list/input.json +391 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__retrieve/input.json +253 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service_accounts__retrieve/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__update/input.json +356 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__update/output.py +30 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/input.json +349 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/input.json +279 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/input.json +387 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/input.json +250 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/input.json +339 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/output.py +38 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__create/input.json +283 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__create/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/input.json +206 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__list/input.json +338 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__update/input.json +296 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__update/output.py +30 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio_speeches__list/input.json +1108 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio_speeches__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio_transcriptions__list/input.json +1108 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio_transcriptions__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__code_interpreter_sessions__list/input.json +1054 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__code_interpreter_sessions__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__completions__list/input.json +1123 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__completions__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings__list/input.json +1108 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__images__list/input.json +1176 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__images__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations__list/input.json +1108 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__vector_stores__list/input.json +1054 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__vector_stores__list/output.py +35 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__delete/input.json +202 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__delete/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__list/input.json +557 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/input.json +472 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/output.py +28 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/input.json +611 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/output.py +34 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/input.json +210 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/output.py +36 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/input.json +398 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__update/input.json +528 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__update/output.py +30 -0
- package/__fixtures__/-2.complex.openai/audio__speech__create/input.json +388 -0
- package/__fixtures__/-2.complex.openai/audio__speech__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/audio__transcriptions__create/input.json +999 -0
- package/__fixtures__/-2.complex.openai/audio__transcriptions__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/audio__translations__create/input.json +430 -0
- package/__fixtures__/-2.complex.openai/audio__translations__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__create/input.json +244 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__delete/input.json +190 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__delete/output.py +22 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__list/input.json +285 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__list/output.py +23 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__retrieve/input.json +212 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__retrieve/output.py +22 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__update/input.json +236 -0
- package/__fixtures__/-2.complex.openai/audio__voice_consents__update/output.py +22 -0
- package/__fixtures__/-2.complex.openai/audio__voices__create/input.json +235 -0
- package/__fixtures__/-2.complex.openai/audio__voices__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/batches__cancel/input.json +594 -0
- package/__fixtures__/-2.complex.openai/batches__cancel/output.py +16 -0
- package/__fixtures__/-2.complex.openai/batches__create/input.json +701 -0
- package/__fixtures__/-2.complex.openai/batches__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/batches__list/input.json +665 -0
- package/__fixtures__/-2.complex.openai/batches__list/output.py +17 -0
- package/__fixtures__/-2.complex.openai/batches__retrieve/input.json +594 -0
- package/__fixtures__/-2.complex.openai/batches__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__create/input.json +1029 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__delete/input.json +190 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__delete/output.py +22 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__list/input.json +796 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__list/output.py +23 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/input.json +694 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/output.py +22 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__update/input.json +1045 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__update/output.py +24 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__sessions__cancel/input.json +482 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__sessions__cancel/output.py +28 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__sessions__create/input.json +738 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__sessions__create/output.py +28 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__delete/input.json +200 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__delete/output.py +28 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__items__list/input.json +1218 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__items__list/output.py +37 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__list/input.json +444 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__list/output.py +29 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__retrieve/input.json +328 -0
- package/__fixtures__/-2.complex.openai/beta__chat_kit__threads__retrieve/output.py +28 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create/input.json +665 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/beta__threads__delete/input.json +189 -0
- package/__fixtures__/-2.complex.openai/beta__threads__delete/output.py +22 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__create/input.json +938 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__create/output.py +30 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/input.json +203 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/output.py +30 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__list/input.json +945 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__list/output.py +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/input.json +832 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/output.py +30 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__update/input.json +855 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__update/output.py +32 -0
- package/__fixtures__/-2.complex.openai/beta__threads__new_and_run/input.json +1899 -0
- package/__fixtures__/-2.complex.openai/beta__threads__new_and_run/output.py +22 -0
- package/__fixtures__/-2.complex.openai/beta__threads__retrieve/input.json +283 -0
- package/__fixtures__/-2.complex.openai/beta__threads__retrieve/output.py +22 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/input.json +1181 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/output.py +30 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__create/input.json +1851 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__create/output.py +30 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__list/input.json +1285 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__list/output.py +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/input.json +1181 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/output.py +30 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/input.json +1066 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/output.py +39 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/input.json +964 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/output.py +40 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__submit_tool_outputs__create/input.json +1246 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__submit_tool_outputs__create/output.py +38 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__update/input.json +1204 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__update/output.py +32 -0
- package/__fixtures__/-2.complex.openai/beta__threads__update/input.json +315 -0
- package/__fixtures__/-2.complex.openai/beta__threads__update/output.py +24 -0
- package/__fixtures__/-2.complex.openai/chat__completions__create/input.json +3325 -0
- package/__fixtures__/-2.complex.openai/chat__completions__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/chat__completions__delete/input.json +192 -0
- package/__fixtures__/-2.complex.openai/chat__completions__delete/output.py +22 -0
- package/__fixtures__/-2.complex.openai/chat__completions__list/input.json +1069 -0
- package/__fixtures__/-2.complex.openai/chat__completions__list/output.py +23 -0
- package/__fixtures__/-2.complex.openai/chat__completions__messages__list/input.json +770 -0
- package/__fixtures__/-2.complex.openai/chat__completions__messages__list/output.py +31 -0
- package/__fixtures__/-2.complex.openai/chat__completions__retrieve/input.json +938 -0
- package/__fixtures__/-2.complex.openai/chat__completions__retrieve/output.py +22 -0
- package/__fixtures__/-2.complex.openai/chat__completions__update/input.json +973 -0
- package/__fixtures__/-2.complex.openai/chat__completions__update/output.py +22 -0
- package/__fixtures__/-2.complex.openai/completions__create/input.json +788 -0
- package/__fixtures__/-2.complex.openai/completions__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/containers__create/input.json +671 -0
- package/__fixtures__/-2.complex.openai/containers__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/containers__delete/input.json +142 -0
- package/__fixtures__/-2.complex.openai/containers__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/containers__files__content/input.json +154 -0
- package/__fixtures__/-2.complex.openai/containers__files__content/output.py +24 -0
- package/__fixtures__/-2.complex.openai/containers__files__create/input.json +261 -0
- package/__fixtures__/-2.complex.openai/containers__files__create/output.py +24 -0
- package/__fixtures__/-2.complex.openai/containers__files__delete/input.json +154 -0
- package/__fixtures__/-2.complex.openai/containers__files__delete/output.py +24 -0
- package/__fixtures__/-2.complex.openai/containers__files__list/input.json +337 -0
- package/__fixtures__/-2.complex.openai/containers__files__list/output.py +25 -0
- package/__fixtures__/-2.complex.openai/containers__files__retrieve/input.json +235 -0
- package/__fixtures__/-2.complex.openai/containers__files__retrieve/output.py +24 -0
- package/__fixtures__/-2.complex.openai/containers__list/input.json +438 -0
- package/__fixtures__/-2.complex.openai/containers__list/output.py +17 -0
- package/__fixtures__/-2.complex.openai/containers__retrieve/input.json +329 -0
- package/__fixtures__/-2.complex.openai/containers__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/conversations__create/input.json +6737 -0
- package/__fixtures__/-2.complex.openai/conversations__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/conversations__delete/input.json +186 -0
- package/__fixtures__/-2.complex.openai/conversations__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/conversations__items__create/input.json +8352 -0
- package/__fixtures__/-2.complex.openai/conversations__items__create/output.py +25 -0
- package/__fixtures__/-2.complex.openai/conversations__items__delete/input.json +213 -0
- package/__fixtures__/-2.complex.openai/conversations__items__delete/output.py +24 -0
- package/__fixtures__/-2.complex.openai/conversations__items__list/input.json +6695 -0
- package/__fixtures__/-2.complex.openai/conversations__items__list/output.py +25 -0
- package/__fixtures__/-2.complex.openai/conversations__items__retrieve/input.json +6597 -0
- package/__fixtures__/-2.complex.openai/conversations__items__retrieve/output.py +26 -0
- package/__fixtures__/-2.complex.openai/conversations__retrieve/input.json +198 -0
- package/__fixtures__/-2.complex.openai/conversations__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/conversations__update/input.json +233 -0
- package/__fixtures__/-2.complex.openai/conversations__update/output.py +16 -0
- package/__fixtures__/-2.complex.openai/embeddings__create/input.json +395 -0
- package/__fixtures__/-2.complex.openai/embeddings__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/evals__create/input.json +1424 -0
- package/__fixtures__/-2.complex.openai/evals__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/evals__delete/input.json +232 -0
- package/__fixtures__/-2.complex.openai/evals__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/evals__list/input.json +1251 -0
- package/__fixtures__/-2.complex.openai/evals__list/output.py +17 -0
- package/__fixtures__/-2.complex.openai/evals__retrieve/input.json +1127 -0
- package/__fixtures__/-2.complex.openai/evals__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/evals__runs__cancel/input.json +4445 -0
- package/__fixtures__/-2.complex.openai/evals__runs__cancel/output.py +24 -0
- package/__fixtures__/-2.complex.openai/evals__runs__create/input.json +4526 -0
- package/__fixtures__/-2.complex.openai/evals__runs__create/output.py +24 -0
- package/__fixtures__/-2.complex.openai/evals__runs__delete/input.json +246 -0
- package/__fixtures__/-2.complex.openai/evals__runs__delete/output.py +24 -0
- package/__fixtures__/-2.complex.openai/evals__runs__list/input.json +4579 -0
- package/__fixtures__/-2.complex.openai/evals__runs__list/output.py +25 -0
- package/__fixtures__/-2.complex.openai/evals__runs__output_items__list/input.json +685 -0
- package/__fixtures__/-2.complex.openai/evals__runs__output_items__list/output.py +33 -0
- package/__fixtures__/-2.complex.openai/evals__runs__output_items__retrieve/input.json +560 -0
- package/__fixtures__/-2.complex.openai/evals__runs__output_items__retrieve/output.py +32 -0
- package/__fixtures__/-2.complex.openai/evals__runs__retrieve/input.json +4445 -0
- package/__fixtures__/-2.complex.openai/evals__runs__retrieve/output.py +24 -0
- package/__fixtures__/-2.complex.openai/evals__update/input.json +1160 -0
- package/__fixtures__/-2.complex.openai/evals__update/output.py +18 -0
- package/__fixtures__/-2.complex.openai/files__content/input.json +151 -0
- package/__fixtures__/-2.complex.openai/files__content/output.py +16 -0
- package/__fixtures__/-2.complex.openai/files__create/input.json +379 -0
- package/__fixtures__/-2.complex.openai/files__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/files__delete/input.json +184 -0
- package/__fixtures__/-2.complex.openai/files__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/files__list/input.json +397 -0
- package/__fixtures__/-2.complex.openai/files__list/output.py +17 -0
- package/__fixtures__/-2.complex.openai/files__retrieve/input.json +295 -0
- package/__fixtures__/-2.complex.openai/files__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__alpha__graders__run__create/input.json +1225 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__alpha__graders__run__create/output.py +34 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__alpha__graders__validate__create/input.json +991 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__alpha__graders__validate__create/output.py +32 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__checkpoints__permissions__create/input.json +297 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__checkpoints__permissions__create/output.py +29 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__checkpoints__permissions__delete/input.json +208 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__checkpoints__permissions__delete/output.py +30 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__checkpoints__permissions__list/input.json +325 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__checkpoints__permissions__list/output.py +31 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__cancel/input.json +1645 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__cancel/output.py +22 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__checkpoints__list/input.json +383 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__checkpoints__list/output.py +31 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__create/input.json +1887 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__list/input.json +1714 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__list/output.py +23 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__list_events/input.json +330 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__list_events/output.py +25 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__pause/input.json +1645 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__pause/output.py +22 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__resume/input.json +1645 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__resume/output.py +22 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__retrieve/input.json +1645 -0
- package/__fixtures__/-2.complex.openai/fine_tuning__jobs__retrieve/output.py +22 -0
- package/__fixtures__/-2.complex.openai/images__edits__create/input.json +744 -0
- package/__fixtures__/-2.complex.openai/images__edits__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/images__generations__create/input.json +789 -0
- package/__fixtures__/-2.complex.openai/images__generations__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/images__variations__create/input.json +550 -0
- package/__fixtures__/-2.complex.openai/images__variations__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/models__delete/input.json +184 -0
- package/__fixtures__/-2.complex.openai/models__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/models__list/input.json +221 -0
- package/__fixtures__/-2.complex.openai/models__list/output.py +15 -0
- package/__fixtures__/-2.complex.openai/models__retrieve/input.json +199 -0
- package/__fixtures__/-2.complex.openai/models__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/moderations__create/input.json +831 -0
- package/__fixtures__/-2.complex.openai/moderations__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/projects__groups__roles__create/input.json +368 -0
- package/__fixtures__/-2.complex.openai/projects__groups__roles__create/output.py +30 -0
- package/__fixtures__/-2.complex.openai/projects__groups__roles__delete/input.json +214 -0
- package/__fixtures__/-2.complex.openai/projects__groups__roles__delete/output.py +32 -0
- package/__fixtures__/-2.complex.openai/projects__groups__roles__list/input.json +402 -0
- package/__fixtures__/-2.complex.openai/projects__groups__roles__list/output.py +33 -0
- package/__fixtures__/-2.complex.openai/projects__roles__create/input.json +289 -0
- package/__fixtures__/-2.complex.openai/projects__roles__create/output.py +24 -0
- package/__fixtures__/-2.complex.openai/projects__roles__delete/input.json +210 -0
- package/__fixtures__/-2.complex.openai/projects__roles__delete/output.py +24 -0
- package/__fixtures__/-2.complex.openai/projects__roles__list/input.json +344 -0
- package/__fixtures__/-2.complex.openai/projects__roles__list/output.py +25 -0
- package/__fixtures__/-2.complex.openai/projects__roles__update/input.json +300 -0
- package/__fixtures__/-2.complex.openai/projects__roles__update/output.py +26 -0
- package/__fixtures__/-2.complex.openai/projects__users__roles__create/input.json +615 -0
- package/__fixtures__/-2.complex.openai/projects__users__roles__create/output.py +30 -0
- package/__fixtures__/-2.complex.openai/projects__users__roles__delete/input.json +214 -0
- package/__fixtures__/-2.complex.openai/projects__users__roles__delete/output.py +32 -0
- package/__fixtures__/-2.complex.openai/projects__users__roles__list/input.json +402 -0
- package/__fixtures__/-2.complex.openai/projects__users__roles__list/output.py +33 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__accept/input.json +1768 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__accept/output.py +24 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__create/input.json +1790 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__hangup/input.json +147 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__hangup/output.py +22 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__refer/input.json +175 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__refer/output.py +22 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__reject/input.json +175 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__reject/output.py +24 -0
- package/__fixtures__/-2.complex.openai/realtime__client_secrets__create/input.json +2407 -0
- package/__fixtures__/-2.complex.openai/realtime__client_secrets__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/realtime__sessions__create/input.json +1400 -0
- package/__fixtures__/-2.complex.openai/realtime__sessions__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/realtime__transcription_sessions__create/input.json +562 -0
- package/__fixtures__/-2.complex.openai/realtime__transcription_sessions__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/realtime__translations__client_secrets__create/input.json +498 -0
- package/__fixtures__/-2.complex.openai/realtime__translations__client_secrets__create/output.py +28 -0
- package/__fixtures__/-2.complex.openai/responses__cancel/input.json +9526 -0
- package/__fixtures__/-2.complex.openai/responses__cancel/output.py +16 -0
- package/__fixtures__/-2.complex.openai/responses__compact__create/input.json +8721 -0
- package/__fixtures__/-2.complex.openai/responses__compact__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/responses__create/input.json +9862 -0
- package/__fixtures__/-2.complex.openai/responses__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/responses__delete/input.json +194 -0
- package/__fixtures__/-2.complex.openai/responses__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/responses__input_items__list/input.json +6686 -0
- package/__fixtures__/-2.complex.openai/responses__input_items__list/output.py +25 -0
- package/__fixtures__/-2.complex.openai/responses__input_tokens__count/input.json +7368 -0
- package/__fixtures__/-2.complex.openai/responses__input_tokens__count/output.py +22 -0
- package/__fixtures__/-2.complex.openai/responses__retrieve/input.json +9550 -0
- package/__fixtures__/-2.complex.openai/responses__retrieve/output.py +18 -0
- package/__fixtures__/-2.complex.openai/skills__content/input.json +152 -0
- package/__fixtures__/-2.complex.openai/skills__content/output.py +16 -0
- package/__fixtures__/-2.complex.openai/skills__create/input.json +258 -0
- package/__fixtures__/-2.complex.openai/skills__create/output.py +14 -0
- package/__fixtures__/-2.complex.openai/skills__delete/input.json +186 -0
- package/__fixtures__/-2.complex.openai/skills__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/skills__list/input.json +323 -0
- package/__fixtures__/-2.complex.openai/skills__list/output.py +17 -0
- package/__fixtures__/-2.complex.openai/skills__retrieve/input.json +226 -0
- package/__fixtures__/-2.complex.openai/skills__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/skills__update/input.json +251 -0
- package/__fixtures__/-2.complex.openai/skills__update/output.py +16 -0
- package/__fixtures__/-2.complex.openai/skills__versions__content/input.json +166 -0
- package/__fixtures__/-2.complex.openai/skills__versions__content/output.py +24 -0
- package/__fixtures__/-2.complex.openai/skills__versions__create/input.json +284 -0
- package/__fixtures__/-2.complex.openai/skills__versions__create/output.py +24 -0
- package/__fixtures__/-2.complex.openai/skills__versions__delete/input.json +209 -0
- package/__fixtures__/-2.complex.openai/skills__versions__delete/output.py +24 -0
- package/__fixtures__/-2.complex.openai/skills__versions__list/input.json +341 -0
- package/__fixtures__/-2.complex.openai/skills__versions__list/output.py +25 -0
- package/__fixtures__/-2.complex.openai/skills__versions__retrieve/input.json +240 -0
- package/__fixtures__/-2.complex.openai/skills__versions__retrieve/output.py +24 -0
- package/__fixtures__/-2.complex.openai/uploads__cancel/input.json +407 -0
- package/__fixtures__/-2.complex.openai/uploads__cancel/output.py +16 -0
- package/__fixtures__/-2.complex.openai/uploads__complete/input.json +443 -0
- package/__fixtures__/-2.complex.openai/uploads__complete/output.py +18 -0
- package/__fixtures__/-2.complex.openai/uploads__create/input.json +501 -0
- package/__fixtures__/-2.complex.openai/uploads__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/uploads__parts__create/input.json +229 -0
- package/__fixtures__/-2.complex.openai/uploads__parts__create/output.py +24 -0
- package/__fixtures__/-2.complex.openai/vector_stores__create/input.json +507 -0
- package/__fixtures__/-2.complex.openai/vector_stores__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/vector_stores__delete/input.json +184 -0
- package/__fixtures__/-2.complex.openai/vector_stores__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__cancel/input.json +300 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__cancel/output.py +24 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__create/input.json +314 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__list_files/input.json +571 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__list_files/output.py +27 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__retrieve/input.json +302 -0
- package/__fixtures__/-2.complex.openai/vector_stores__file_batches__retrieve/output.py +24 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__content/input.json +249 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__content/output.py +25 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__create/input.json +527 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__create/output.py +24 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__delete/input.json +198 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__delete/output.py +24 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__list/input.json +562 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__list/output.py +25 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__retrieve/input.json +432 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__retrieve/output.py +24 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__update/input.json +455 -0
- package/__fixtures__/-2.complex.openai/vector_stores__files__update/output.py +24 -0
- package/__fixtures__/-2.complex.openai/vector_stores__list/input.json +468 -0
- package/__fixtures__/-2.complex.openai/vector_stores__list/output.py +17 -0
- package/__fixtures__/-2.complex.openai/vector_stores__retrieve/input.json +366 -0
- package/__fixtures__/-2.complex.openai/vector_stores__retrieve/output.py +16 -0
- package/__fixtures__/-2.complex.openai/vector_stores__search/input.json +637 -0
- package/__fixtures__/-2.complex.openai/vector_stores__search/output.py +19 -0
- package/__fixtures__/-2.complex.openai/vector_stores__update/input.json +409 -0
- package/__fixtures__/-2.complex.openai/vector_stores__update/output.py +18 -0
- package/__fixtures__/-2.complex.openai/videos__characters__create/input.json +216 -0
- package/__fixtures__/-2.complex.openai/videos__characters__create/output.py +22 -0
- package/__fixtures__/-2.complex.openai/videos__characters__retrieve/input.json +193 -0
- package/__fixtures__/-2.complex.openai/videos__characters__retrieve/output.py +22 -0
- package/__fixtures__/-2.complex.openai/videos__create/input.json +465 -0
- package/__fixtures__/-2.complex.openai/videos__create/output.py +16 -0
- package/__fixtures__/-2.complex.openai/videos__delete/input.json +190 -0
- package/__fixtures__/-2.complex.openai/videos__delete/output.py +16 -0
- package/__fixtures__/-2.complex.openai/videos__download_content/input.json +181 -0
- package/__fixtures__/-2.complex.openai/videos__download_content/output.py +18 -0
- package/__fixtures__/-2.complex.openai/videos__edits__create/input.json +422 -0
- package/__fixtures__/-2.complex.openai/videos__edits__create/output.py +20 -0
- package/__fixtures__/-2.complex.openai/videos__extensions__create/input.json +446 -0
- package/__fixtures__/-2.complex.openai/videos__extensions__create/output.py +20 -0
- package/__fixtures__/-2.complex.openai/videos__list/input.json +477 -0
- package/__fixtures__/-2.complex.openai/videos__list/output.py +17 -0
- package/__fixtures__/-2.complex.openai/videos__remix/input.json +405 -0
- package/__fixtures__/-2.complex.openai/videos__remix/output.py +16 -0
- package/__fixtures__/-2.complex.openai/videos__retrieve/input.json +380 -0
- package/__fixtures__/-2.complex.openai/videos__retrieve/output.py +16 -0
- package/__fixtures__/1.basic/input.json +249 -0
- package/__fixtures__/1.basic/output/petstore/__init__.py +6 -0
- package/__fixtures__/1.basic/output/petstore/_client.py +21 -0
- package/__fixtures__/1.basic/output/petstore/_pagination.py +42 -0
- package/__fixtures__/1.basic/output/petstore/_transport.py +391 -0
- package/__fixtures__/1.basic/output/petstore/models.py +33 -0
- package/__fixtures__/1.basic/output/petstore/resources.py +25 -0
- package/__fixtures__/1.basic/output/pyproject.toml +12 -0
- package/__fixtures__/1.basic/output/tests/conftest.py +16 -0
- package/__fixtures__/1.basic/output/tests/test_pets.py +36 -0
- package/__fixtures__/1.basic/output/tests/utils.py +28 -0
- package/__fixtures__/2.wire/input.json +351 -0
- package/__fixtures__/2.wire/output/pyproject.toml +12 -0
- package/__fixtures__/2.wire/output/tests/conftest.py +16 -0
- package/__fixtures__/2.wire/output/tests/test_items.py +18 -0
- package/__fixtures__/2.wire/output/tests/test_tokens.py +17 -0
- package/__fixtures__/2.wire/output/tests/test_uploads.py +27 -0
- package/__fixtures__/2.wire/output/tests/utils.py +28 -0
- package/__fixtures__/2.wire/output/wire_service/__init__.py +6 -0
- package/__fixtures__/2.wire/output/wire_service/_client.py +23 -0
- package/__fixtures__/2.wire/output/wire_service/_pagination.py +42 -0
- package/__fixtures__/2.wire/output/wire_service/_transport.py +391 -0
- package/__fixtures__/2.wire/output/wire_service/models.py +44 -0
- package/__fixtures__/2.wire/output/wire_service/resources.py +38 -0
- package/__tests__/docs.test.ts +115 -0
- package/__tests__/e2e/harness.ts +79 -0
- package/__tests__/e2e/openai.test.ts +14 -0
- package/__tests__/e2e/publish.test.ts +19 -0
- package/__tests__/opensdk-python.test.ts +134 -0
- package/__tests__/utils.ts +117 -0
- package/biome.json +25 -0
- package/dist/index.cjs +1274 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +32 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.js +1246 -0
- package/dist/index.js.map +1 -0
- package/index.ts +1 -0
- package/package.json +30 -0
- package/src/emitter.ts +95 -0
- package/src/example-py.ts +60 -0
- package/src/index.ts +4 -0
- package/src/method.ts +13 -0
- package/src/naming.ts +45 -0
- package/src/project.ts +446 -0
- package/src/publish.ts +22 -0
- package/src/pytype.ts +86 -0
- package/src/runtime.ts +551 -0
- package/src/tests-py.ts +197 -0
- package/src/types.ts +8 -0
- package/tsconfig.json +18 -0
- package/tsup.config.ts +19 -0
- package/vitest.config.ts +8 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
{
|
|
2
|
+
"opensdk": "1.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "openai",
|
|
5
|
+
"version": "2.3.0"
|
|
6
|
+
},
|
|
7
|
+
"servers": [
|
|
8
|
+
"https://api.openai.com/v1"
|
|
9
|
+
],
|
|
10
|
+
"security": [
|
|
11
|
+
{
|
|
12
|
+
"type": "http",
|
|
13
|
+
"kind": "bearer",
|
|
14
|
+
"schemeName": "ApiKeyAuth",
|
|
15
|
+
"envVar": "OPENAI_API_KEY",
|
|
16
|
+
"scheme": "bearer"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "http",
|
|
20
|
+
"kind": "bearer",
|
|
21
|
+
"schemeName": "AdminApiKeyAuth",
|
|
22
|
+
"envVar": "OPENAI_API_KEY",
|
|
23
|
+
"scheme": "bearer"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"types": [
|
|
27
|
+
{
|
|
28
|
+
"name": "AdminOrganizationCertificatesListOrder",
|
|
29
|
+
"kind": "enum",
|
|
30
|
+
"base": "string",
|
|
31
|
+
"values": [
|
|
32
|
+
{
|
|
33
|
+
"value": "asc"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"value": "desc"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "ListCertificatesResponse",
|
|
42
|
+
"kind": "struct",
|
|
43
|
+
"fields": [
|
|
44
|
+
{
|
|
45
|
+
"name": "data",
|
|
46
|
+
"type": {
|
|
47
|
+
"kind": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"kind": "ref",
|
|
50
|
+
"name": "OrganizationCertificate"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "first_id",
|
|
57
|
+
"type": {
|
|
58
|
+
"kind": "scalar",
|
|
59
|
+
"scalar": "string",
|
|
60
|
+
"nullable": true
|
|
61
|
+
},
|
|
62
|
+
"required": true
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "last_id",
|
|
66
|
+
"type": {
|
|
67
|
+
"kind": "scalar",
|
|
68
|
+
"scalar": "string",
|
|
69
|
+
"nullable": true
|
|
70
|
+
},
|
|
71
|
+
"required": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "has_more",
|
|
75
|
+
"type": {
|
|
76
|
+
"kind": "scalar",
|
|
77
|
+
"scalar": "boolean"
|
|
78
|
+
},
|
|
79
|
+
"required": true
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "object",
|
|
83
|
+
"type": {
|
|
84
|
+
"kind": "scalar",
|
|
85
|
+
"scalar": "string",
|
|
86
|
+
"const": "list"
|
|
87
|
+
},
|
|
88
|
+
"required": true
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "OrganizationCertificate",
|
|
94
|
+
"kind": "struct",
|
|
95
|
+
"fields": [
|
|
96
|
+
{
|
|
97
|
+
"name": "object",
|
|
98
|
+
"type": {
|
|
99
|
+
"kind": "scalar",
|
|
100
|
+
"scalar": "string",
|
|
101
|
+
"const": "organization.certificate"
|
|
102
|
+
},
|
|
103
|
+
"required": true,
|
|
104
|
+
"description": "The object type, which is always `organization.certificate`."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "id",
|
|
108
|
+
"type": {
|
|
109
|
+
"kind": "scalar",
|
|
110
|
+
"scalar": "string"
|
|
111
|
+
},
|
|
112
|
+
"required": true,
|
|
113
|
+
"description": "The identifier, which can be referenced in API endpoints"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "name",
|
|
117
|
+
"type": {
|
|
118
|
+
"kind": "scalar",
|
|
119
|
+
"scalar": "string",
|
|
120
|
+
"nullable": true
|
|
121
|
+
},
|
|
122
|
+
"required": true,
|
|
123
|
+
"description": "The name of the certificate."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "created_at",
|
|
127
|
+
"type": {
|
|
128
|
+
"kind": "scalar",
|
|
129
|
+
"scalar": "integer",
|
|
130
|
+
"format": "unixtime"
|
|
131
|
+
},
|
|
132
|
+
"required": true,
|
|
133
|
+
"description": "The Unix timestamp (in seconds) of when the certificate was uploaded."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "certificate_details",
|
|
137
|
+
"type": {
|
|
138
|
+
"kind": "ref",
|
|
139
|
+
"name": "OrganizationCertificateCertificateDetails"
|
|
140
|
+
},
|
|
141
|
+
"required": true
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "active",
|
|
145
|
+
"type": {
|
|
146
|
+
"kind": "scalar",
|
|
147
|
+
"scalar": "boolean"
|
|
148
|
+
},
|
|
149
|
+
"required": true,
|
|
150
|
+
"description": "Whether the certificate is currently active at the organization level."
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"description": "Represents an individual certificate configured at the organization level."
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "OrganizationCertificateCertificateDetails",
|
|
157
|
+
"kind": "struct",
|
|
158
|
+
"fields": [
|
|
159
|
+
{
|
|
160
|
+
"name": "valid_at",
|
|
161
|
+
"type": {
|
|
162
|
+
"kind": "scalar",
|
|
163
|
+
"scalar": "integer",
|
|
164
|
+
"format": "unixtime"
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"description": "The Unix timestamp (in seconds) of when the certificate becomes valid."
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "expires_at",
|
|
171
|
+
"type": {
|
|
172
|
+
"kind": "scalar",
|
|
173
|
+
"scalar": "integer",
|
|
174
|
+
"format": "unixtime"
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"description": "The Unix timestamp (in seconds) of when the certificate expires."
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"resources": [
|
|
183
|
+
{
|
|
184
|
+
"name": "admin",
|
|
185
|
+
"resources": [
|
|
186
|
+
{
|
|
187
|
+
"name": "organization",
|
|
188
|
+
"resources": [
|
|
189
|
+
{
|
|
190
|
+
"name": "certificates",
|
|
191
|
+
"methods": [
|
|
192
|
+
{
|
|
193
|
+
"action": "list",
|
|
194
|
+
"httpMethod": "get",
|
|
195
|
+
"path": "/organization/certificates",
|
|
196
|
+
"operationId": "listOrganizationCertificates",
|
|
197
|
+
"description": "List uploaded certificates for this organization.",
|
|
198
|
+
"queryParams": [
|
|
199
|
+
{
|
|
200
|
+
"name": "limit",
|
|
201
|
+
"type": {
|
|
202
|
+
"kind": "scalar",
|
|
203
|
+
"scalar": "integer"
|
|
204
|
+
},
|
|
205
|
+
"required": false,
|
|
206
|
+
"description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n",
|
|
207
|
+
"default": 20
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "after",
|
|
211
|
+
"type": {
|
|
212
|
+
"kind": "scalar",
|
|
213
|
+
"scalar": "string"
|
|
214
|
+
},
|
|
215
|
+
"required": false,
|
|
216
|
+
"description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "order",
|
|
220
|
+
"type": {
|
|
221
|
+
"kind": "ref",
|
|
222
|
+
"name": "AdminOrganizationCertificatesListOrder"
|
|
223
|
+
},
|
|
224
|
+
"required": false,
|
|
225
|
+
"description": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.\n",
|
|
226
|
+
"default": "desc"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"responses": [
|
|
230
|
+
{
|
|
231
|
+
"status": "200",
|
|
232
|
+
"description": "Certificates listed successfully.",
|
|
233
|
+
"contentType": "application/json",
|
|
234
|
+
"type": {
|
|
235
|
+
"kind": "ref",
|
|
236
|
+
"name": "ListCertificatesResponse"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"primaryResponse": {
|
|
241
|
+
"kind": "ref",
|
|
242
|
+
"name": "ListCertificatesResponse"
|
|
243
|
+
},
|
|
244
|
+
"pagination": {
|
|
245
|
+
"style": "cursor",
|
|
246
|
+
"itemsField": "data",
|
|
247
|
+
"nextField": "has_more",
|
|
248
|
+
"itemType": {
|
|
249
|
+
"kind": "ref",
|
|
250
|
+
"name": "OrganizationCertificate"
|
|
251
|
+
},
|
|
252
|
+
"cursorParam": "after",
|
|
253
|
+
"limitParam": "limit"
|
|
254
|
+
},
|
|
255
|
+
"security": [
|
|
256
|
+
{
|
|
257
|
+
"type": "http",
|
|
258
|
+
"kind": "bearer",
|
|
259
|
+
"schemeName": "AdminApiKeyAuth",
|
|
260
|
+
"scheme": "bearer"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"sdk": {
|
|
272
|
+
"retry": {
|
|
273
|
+
"maxRetries": 2,
|
|
274
|
+
"retryableStatusCodes": [
|
|
275
|
+
408,
|
|
276
|
+
429,
|
|
277
|
+
500,
|
|
278
|
+
502,
|
|
279
|
+
503,
|
|
280
|
+
504
|
|
281
|
+
],
|
|
282
|
+
"retryConnectionErrors": true,
|
|
283
|
+
"honorRetryAfterHeader": true,
|
|
284
|
+
"backoff": {
|
|
285
|
+
"initialDelayMs": 500,
|
|
286
|
+
"maxDelayMs": 8000,
|
|
287
|
+
"multiplier": 2,
|
|
288
|
+
"jitter": 0.25
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"timeout": {
|
|
292
|
+
"defaultTimeoutMs": 60000
|
|
293
|
+
},
|
|
294
|
+
"errors": {
|
|
295
|
+
"statusCodeMap": {
|
|
296
|
+
"400": "BadRequest",
|
|
297
|
+
"401": "Unauthorized",
|
|
298
|
+
"403": "PermissionDenied",
|
|
299
|
+
"404": "NotFound",
|
|
300
|
+
"409": "Conflict",
|
|
301
|
+
"422": "UnprocessableEntity",
|
|
302
|
+
"429": "RateLimited"
|
|
303
|
+
},
|
|
304
|
+
"clientErrorKind": "API",
|
|
305
|
+
"serverErrorKind": "Internal"
|
|
306
|
+
},
|
|
307
|
+
"userAgent": {
|
|
308
|
+
"sdkIdentifierTemplate": "{package}-{language}/{version}",
|
|
309
|
+
"includeRuntimeVersion": false,
|
|
310
|
+
"aiAgentEnvVars": {
|
|
311
|
+
"CLAUDE_CODE": "claude-code",
|
|
312
|
+
"CURSOR_AGENT": "cursor",
|
|
313
|
+
"CLINE_ACTIVE": "cline",
|
|
314
|
+
"WINDSURF_ACTIVE": "windsurf",
|
|
315
|
+
"COPILOT_AGENT": "copilot"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"telemetry": {
|
|
319
|
+
"requestIdHeader": "X-Request-ID",
|
|
320
|
+
"headerName": "X-Client-Telemetry",
|
|
321
|
+
"enabledByDefault": false
|
|
322
|
+
},
|
|
323
|
+
"logging": {
|
|
324
|
+
"events": [
|
|
325
|
+
"request.start",
|
|
326
|
+
"request.success",
|
|
327
|
+
"request.retry",
|
|
328
|
+
"request.rate_limited",
|
|
329
|
+
"request.error",
|
|
330
|
+
"request.connection_error"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
"idempotency": {
|
|
334
|
+
"headerName": "Idempotency-Key",
|
|
335
|
+
"autoGenerateForPost": true
|
|
336
|
+
},
|
|
337
|
+
"pagination": {
|
|
338
|
+
"autoPageDelayMs": 0
|
|
339
|
+
},
|
|
340
|
+
"requestGuard": {
|
|
341
|
+
"optionKeys": [
|
|
342
|
+
"api_key",
|
|
343
|
+
"apiKey",
|
|
344
|
+
"idempotency_key",
|
|
345
|
+
"idempotencyKey",
|
|
346
|
+
"extra_headers",
|
|
347
|
+
"extraHeaders",
|
|
348
|
+
"max_retries",
|
|
349
|
+
"maxRetries",
|
|
350
|
+
"base_url",
|
|
351
|
+
"baseUrl",
|
|
352
|
+
"timeout"
|
|
353
|
+
]
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Code generated by opensdk. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
7
|
+
from ._pagination import CursorPage
|
|
8
|
+
from ._transport import Transport
|
|
9
|
+
from .models import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AdminResource:
|
|
13
|
+
def __init__(self, transport: Transport) -> None:
|
|
14
|
+
self._transport = transport
|
|
15
|
+
self.organization = AdminOrganizationResource(transport)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class AdminOrganizationResource:
|
|
19
|
+
def __init__(self, transport: Transport) -> None:
|
|
20
|
+
self._transport = transport
|
|
21
|
+
self.certificates = AdminOrganizationCertificatesResource(transport)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class AdminOrganizationCertificatesResource:
|
|
25
|
+
def __init__(self, transport: Transport) -> None:
|
|
26
|
+
self._transport = transport
|
|
27
|
+
|
|
28
|
+
def list(self, *, limit: Optional[int] = None, after: Optional[str] = None, order: Optional[AdminOrganizationCertificatesListOrder] = None) -> CursorPage[OrganizationCertificate]:
|
|
29
|
+
return CursorPage.from_response(OrganizationCertificate, self._transport.request("GET", "/organization/certificates", query={"limit": limit, "after": after, "order": order}))
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
{
|
|
2
|
+
"opensdk": "1.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "openai",
|
|
5
|
+
"version": "2.3.0"
|
|
6
|
+
},
|
|
7
|
+
"servers": [
|
|
8
|
+
"https://api.openai.com/v1"
|
|
9
|
+
],
|
|
10
|
+
"security": [
|
|
11
|
+
{
|
|
12
|
+
"type": "http",
|
|
13
|
+
"kind": "bearer",
|
|
14
|
+
"schemeName": "ApiKeyAuth",
|
|
15
|
+
"envVar": "OPENAI_API_KEY",
|
|
16
|
+
"scheme": "bearer"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "http",
|
|
20
|
+
"kind": "bearer",
|
|
21
|
+
"schemeName": "AdminApiKeyAuth",
|
|
22
|
+
"envVar": "OPENAI_API_KEY",
|
|
23
|
+
"scheme": "bearer"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"types": [
|
|
27
|
+
{
|
|
28
|
+
"name": "Certificate",
|
|
29
|
+
"kind": "struct",
|
|
30
|
+
"fields": [
|
|
31
|
+
{
|
|
32
|
+
"name": "object",
|
|
33
|
+
"type": {
|
|
34
|
+
"kind": "ref",
|
|
35
|
+
"name": "CertificateObject"
|
|
36
|
+
},
|
|
37
|
+
"required": true,
|
|
38
|
+
"description": "The object type.\n\n- If creating, updating, or getting a specific certificate, the object type is `certificate`.\n- If listing, activating, or deactivating certificates for the organization, the object type is `organization.certificate`.\n- If listing, activating, or deactivating certificates for a project, the object type is `organization.project.certificate`.\n"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "id",
|
|
42
|
+
"type": {
|
|
43
|
+
"kind": "scalar",
|
|
44
|
+
"scalar": "string"
|
|
45
|
+
},
|
|
46
|
+
"required": true,
|
|
47
|
+
"description": "The identifier, which can be referenced in API endpoints"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "name",
|
|
51
|
+
"type": {
|
|
52
|
+
"kind": "scalar",
|
|
53
|
+
"scalar": "string",
|
|
54
|
+
"nullable": true
|
|
55
|
+
},
|
|
56
|
+
"required": true,
|
|
57
|
+
"description": "The name of the certificate."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "created_at",
|
|
61
|
+
"type": {
|
|
62
|
+
"kind": "scalar",
|
|
63
|
+
"scalar": "integer",
|
|
64
|
+
"format": "unixtime"
|
|
65
|
+
},
|
|
66
|
+
"required": true,
|
|
67
|
+
"description": "The Unix timestamp (in seconds) of when the certificate was uploaded."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "certificate_details",
|
|
71
|
+
"type": {
|
|
72
|
+
"kind": "ref",
|
|
73
|
+
"name": "CertificateCertificateDetails"
|
|
74
|
+
},
|
|
75
|
+
"required": true
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "active",
|
|
79
|
+
"type": {
|
|
80
|
+
"kind": "scalar",
|
|
81
|
+
"scalar": "boolean"
|
|
82
|
+
},
|
|
83
|
+
"required": false,
|
|
84
|
+
"description": "Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate."
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"description": "Represents an individual `certificate` uploaded to the organization."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "CertificateObject",
|
|
91
|
+
"kind": "enum",
|
|
92
|
+
"base": "string",
|
|
93
|
+
"values": [
|
|
94
|
+
{
|
|
95
|
+
"value": "certificate"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"value": "organization.certificate"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"value": "organization.project.certificate"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"description": "The object type.\n\n- If creating, updating, or getting a specific certificate, the object type is `certificate`.\n- If listing, activating, or deactivating certificates for the organization, the object type is `organization.certificate`.\n- If listing, activating, or deactivating certificates for a project, the object type is `organization.project.certificate`.\n"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "CertificateCertificateDetails",
|
|
108
|
+
"kind": "struct",
|
|
109
|
+
"fields": [
|
|
110
|
+
{
|
|
111
|
+
"name": "valid_at",
|
|
112
|
+
"type": {
|
|
113
|
+
"kind": "scalar",
|
|
114
|
+
"scalar": "integer",
|
|
115
|
+
"format": "unixtime"
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"description": "The Unix timestamp (in seconds) of when the certificate becomes valid."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "expires_at",
|
|
122
|
+
"type": {
|
|
123
|
+
"kind": "scalar",
|
|
124
|
+
"scalar": "integer",
|
|
125
|
+
"format": "unixtime"
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": "The Unix timestamp (in seconds) of when the certificate expires."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "content",
|
|
132
|
+
"type": {
|
|
133
|
+
"kind": "scalar",
|
|
134
|
+
"scalar": "string"
|
|
135
|
+
},
|
|
136
|
+
"required": false,
|
|
137
|
+
"description": "The content of the certificate in PEM format."
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"resources": [
|
|
143
|
+
{
|
|
144
|
+
"name": "admin",
|
|
145
|
+
"resources": [
|
|
146
|
+
{
|
|
147
|
+
"name": "organization",
|
|
148
|
+
"resources": [
|
|
149
|
+
{
|
|
150
|
+
"name": "certificates",
|
|
151
|
+
"methods": [
|
|
152
|
+
{
|
|
153
|
+
"action": "retrieve",
|
|
154
|
+
"httpMethod": "get",
|
|
155
|
+
"path": "/organization/certificates/{certificate_id}",
|
|
156
|
+
"operationId": "getCertificate",
|
|
157
|
+
"description": "Get a certificate that has been uploaded to the organization.\n\nYou can get a certificate regardless of whether it is active or not.\n",
|
|
158
|
+
"pathParams": [
|
|
159
|
+
{
|
|
160
|
+
"name": "certificate_id",
|
|
161
|
+
"type": {
|
|
162
|
+
"kind": "scalar",
|
|
163
|
+
"scalar": "string"
|
|
164
|
+
},
|
|
165
|
+
"required": true,
|
|
166
|
+
"description": "Unique ID of the certificate to retrieve."
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"queryParams": [
|
|
170
|
+
{
|
|
171
|
+
"name": "include",
|
|
172
|
+
"type": {
|
|
173
|
+
"kind": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"kind": "scalar",
|
|
176
|
+
"scalar": "string",
|
|
177
|
+
"const": "content"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"description": "A list of additional fields to include in the response. Currently the only supported value is `content` to fetch the PEM content of the certificate."
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"responses": [
|
|
185
|
+
{
|
|
186
|
+
"status": "200",
|
|
187
|
+
"description": "Certificate retrieved successfully.",
|
|
188
|
+
"contentType": "application/json",
|
|
189
|
+
"type": {
|
|
190
|
+
"kind": "ref",
|
|
191
|
+
"name": "Certificate"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"primaryResponse": {
|
|
196
|
+
"kind": "ref",
|
|
197
|
+
"name": "Certificate"
|
|
198
|
+
},
|
|
199
|
+
"security": [
|
|
200
|
+
{
|
|
201
|
+
"type": "http",
|
|
202
|
+
"kind": "bearer",
|
|
203
|
+
"schemeName": "AdminApiKeyAuth",
|
|
204
|
+
"scheme": "bearer"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"sdk": {
|
|
216
|
+
"retry": {
|
|
217
|
+
"maxRetries": 2,
|
|
218
|
+
"retryableStatusCodes": [
|
|
219
|
+
408,
|
|
220
|
+
429,
|
|
221
|
+
500,
|
|
222
|
+
502,
|
|
223
|
+
503,
|
|
224
|
+
504
|
|
225
|
+
],
|
|
226
|
+
"retryConnectionErrors": true,
|
|
227
|
+
"honorRetryAfterHeader": true,
|
|
228
|
+
"backoff": {
|
|
229
|
+
"initialDelayMs": 500,
|
|
230
|
+
"maxDelayMs": 8000,
|
|
231
|
+
"multiplier": 2,
|
|
232
|
+
"jitter": 0.25
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"timeout": {
|
|
236
|
+
"defaultTimeoutMs": 60000
|
|
237
|
+
},
|
|
238
|
+
"errors": {
|
|
239
|
+
"statusCodeMap": {
|
|
240
|
+
"400": "BadRequest",
|
|
241
|
+
"401": "Unauthorized",
|
|
242
|
+
"403": "PermissionDenied",
|
|
243
|
+
"404": "NotFound",
|
|
244
|
+
"409": "Conflict",
|
|
245
|
+
"422": "UnprocessableEntity",
|
|
246
|
+
"429": "RateLimited"
|
|
247
|
+
},
|
|
248
|
+
"clientErrorKind": "API",
|
|
249
|
+
"serverErrorKind": "Internal"
|
|
250
|
+
},
|
|
251
|
+
"userAgent": {
|
|
252
|
+
"sdkIdentifierTemplate": "{package}-{language}/{version}",
|
|
253
|
+
"includeRuntimeVersion": false,
|
|
254
|
+
"aiAgentEnvVars": {
|
|
255
|
+
"CLAUDE_CODE": "claude-code",
|
|
256
|
+
"CURSOR_AGENT": "cursor",
|
|
257
|
+
"CLINE_ACTIVE": "cline",
|
|
258
|
+
"WINDSURF_ACTIVE": "windsurf",
|
|
259
|
+
"COPILOT_AGENT": "copilot"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"telemetry": {
|
|
263
|
+
"requestIdHeader": "X-Request-ID",
|
|
264
|
+
"headerName": "X-Client-Telemetry",
|
|
265
|
+
"enabledByDefault": false
|
|
266
|
+
},
|
|
267
|
+
"logging": {
|
|
268
|
+
"events": [
|
|
269
|
+
"request.start",
|
|
270
|
+
"request.success",
|
|
271
|
+
"request.retry",
|
|
272
|
+
"request.rate_limited",
|
|
273
|
+
"request.error",
|
|
274
|
+
"request.connection_error"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"idempotency": {
|
|
278
|
+
"headerName": "Idempotency-Key",
|
|
279
|
+
"autoGenerateForPost": true
|
|
280
|
+
},
|
|
281
|
+
"pagination": {
|
|
282
|
+
"autoPageDelayMs": 0
|
|
283
|
+
},
|
|
284
|
+
"requestGuard": {
|
|
285
|
+
"optionKeys": [
|
|
286
|
+
"api_key",
|
|
287
|
+
"apiKey",
|
|
288
|
+
"idempotency_key",
|
|
289
|
+
"idempotencyKey",
|
|
290
|
+
"extra_headers",
|
|
291
|
+
"extraHeaders",
|
|
292
|
+
"max_retries",
|
|
293
|
+
"maxRetries",
|
|
294
|
+
"base_url",
|
|
295
|
+
"baseUrl",
|
|
296
|
+
"timeout"
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|