@xyd-js/openapi2opencli 0.0.0-canary-4287eee-20260630010340
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 +8 -0
- package/LICENSE +21 -0
- package/README.md +45 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/input.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/input.json +54 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/input.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__create/input.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__update/input.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__create/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__list/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__create/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/input.json +22 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/input.json +31 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/expected.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/expected.json +20 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__update/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/input.json +23 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/input.json +23 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__create/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__roles__update/input.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/expected.json +18 -0
- package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__images/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__images/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/input.json +3 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/admin__organization__users__update/input.json +24 -0
- package/__fixtures__/-2.complex.openai/audio__speech__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/audio__speech__create/input.json +22 -0
- package/__fixtures__/-2.complex.openai/audio__transcriptions__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/audio__transcriptions__create/input.json +27 -0
- package/__fixtures__/-2.complex.openai/audio__translations__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/audio__translations__create/input.json +19 -0
- package/__fixtures__/-2.complex.openai/batches__cancel/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/batches__cancel/input.json +20 -0
- package/__fixtures__/-2.complex.openai/batches__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/batches__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/batches__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/batches__list/input.json +19 -0
- package/__fixtures__/-2.complex.openai/batches__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/batches__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__create/input.json +26 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__list/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__assistants__update/input.json +26 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/input.json +20 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create/input.json +18 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/input.json +18 -0
- package/__fixtures__/-2.complex.openai/beta__threads__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__create/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__create/input.json +25 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__list/input.json +39 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/input.json +39 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__messages__update/input.json +25 -0
- package/__fixtures__/-2.complex.openai/beta__threads__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__retrieve/input.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__create/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/input.json +44 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/expected.json +17 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/input.json +44 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/expected.json +16 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/beta__threads__runs__update/input.json +31 -0
- package/__fixtures__/-2.complex.openai/beta__threads__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/beta__threads__update/input.json +18 -0
- package/__fixtures__/-2.complex.openai/chat__completions__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__create/input.json +13 -0
- package/__fixtures__/-2.complex.openai/chat__completions__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/chat__completions__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__list/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/chat__completions__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/chat__completions__messages__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__messages__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/chat__completions__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/chat__completions__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/chat__completions__update/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/chat__completions__update/input.json +13 -0
- package/__fixtures__/-2.complex.openai/completions__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/completions__create/input.json +33 -0
- package/__fixtures__/-2.complex.openai/containers__create/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/containers__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/containers__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/containers__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/containers__files__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/containers__files__create/input.json +22 -0
- package/__fixtures__/-2.complex.openai/containers__files__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/containers__files__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/containers__files__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/containers__files__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/containers__files__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/containers__files__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/containers__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/containers__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/containers__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/containers__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/conversations__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/conversations__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/conversations__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/conversations__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__create/input.json +26 -0
- package/__fixtures__/-2.complex.openai/conversations__items__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/conversations__items__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/conversations__items__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/conversations__items__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__items__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/conversations__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/conversations__retrieve/input.json +14 -0
- package/__fixtures__/-2.complex.openai/conversations__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/conversations__update/input.json +16 -0
- package/__fixtures__/-2.complex.openai/embeddings__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/embeddings__create/input.json +19 -0
- package/__fixtures__/-2.complex.openai/files__content/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/files__content/input.json +29 -0
- package/__fixtures__/-2.complex.openai/files__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/files__create/input.json +18 -0
- package/__fixtures__/-2.complex.openai/files__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/files__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/files__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/files__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/files__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/files__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/input.json +3 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/input.json +24 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/input.json +24 -0
- package/__fixtures__/-2.complex.openai/images__create-variation/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/images__create-variation/input.json +3 -0
- package/__fixtures__/-2.complex.openai/images__edit/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/images__edit/input.json +3 -0
- package/__fixtures__/-2.complex.openai/images__generate/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/images__generate/input.json +3 -0
- package/__fixtures__/-2.complex.openai/models__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/models__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/models__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/models__list/input.json +8 -0
- package/__fixtures__/-2.complex.openai/models__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/models__retrieve/input.json +8 -0
- package/__fixtures__/-2.complex.openai/moderations__create/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/moderations__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__accept/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__accept/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__hangup/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__hangup/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__refer/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__refer/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__reject/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/realtime__calls__reject/input.json +16 -0
- package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/input.json +16 -0
- package/__fixtures__/-2.complex.openai/responses__cancel/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__cancel/input.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__compact/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__compact/input.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/responses__create/input.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/responses__input-items__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/responses__input-items__list/input.json +34 -0
- package/__fixtures__/-2.complex.openai/responses__input-tokens__count/expected.json +11 -0
- package/__fixtures__/-2.complex.openai/responses__input-tokens__count/input.json +26 -0
- package/__fixtures__/-2.complex.openai/responses__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/responses__retrieve/input.json +34 -0
- package/__fixtures__/-2.complex.openai/skills__content__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__content__retrieve/input.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/skills__create/input.json +14 -0
- package/__fixtures__/-2.complex.openai/skills__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/skills__delete/input.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/skills__list/input.json +23 -0
- package/__fixtures__/-2.complex.openai/skills__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/skills__retrieve/input.json +23 -0
- package/__fixtures__/-2.complex.openai/skills__update/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__update/input.json +14 -0
- package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/input.json +18 -0
- package/__fixtures__/-2.complex.openai/skills__versions__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/skills__versions__delete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__delete/input.json +18 -0
- package/__fixtures__/-2.complex.openai/skills__versions__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__list/input.json +28 -0
- package/__fixtures__/-2.complex.openai/skills__versions__retrieve/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/skills__versions__retrieve/input.json +28 -0
- package/__fixtures__/-2.complex.openai/uploads__cancel/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/uploads__cancel/input.json +20 -0
- package/__fixtures__/-2.complex.openai/uploads__complete/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/uploads__complete/input.json +20 -0
- package/__fixtures__/-2.complex.openai/uploads__create/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/uploads__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/uploads__parts__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/uploads__parts__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/vector-stores__create/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/vector-stores__create/input.json +21 -0
- package/__fixtures__/-2.complex.openai/vector-stores__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/vector-stores__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/input.json +25 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/input.json +25 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/input.json +19 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/input.json +19 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__content/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__content/input.json +39 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__create/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__create/input.json +24 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__delete/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__delete/input.json +19 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__list/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__list/input.json +39 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/input.json +39 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__update/expected.json +15 -0
- package/__fixtures__/-2.complex.openai/vector-stores__files__update/input.json +24 -0
- package/__fixtures__/-2.complex.openai/vector-stores__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/vector-stores__list/input.json +29 -0
- package/__fixtures__/-2.complex.openai/vector-stores__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/vector-stores__retrieve/input.json +29 -0
- package/__fixtures__/-2.complex.openai/vector-stores__search/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/vector-stores__search/input.json +21 -0
- package/__fixtures__/-2.complex.openai/vector-stores__update/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/vector-stores__update/input.json +21 -0
- package/__fixtures__/-2.complex.openai/videos__create/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__create/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__create-character/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/videos__create-character/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__delete/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__delete/input.json +14 -0
- package/__fixtures__/-2.complex.openai/videos__download-content/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__download-content/input.json +24 -0
- package/__fixtures__/-2.complex.openai/videos__edit/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/videos__edit/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__extend/expected.json +14 -0
- package/__fixtures__/-2.complex.openai/videos__extend/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__get-character/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__get-character/input.json +24 -0
- package/__fixtures__/-2.complex.openai/videos__list/expected.json +10 -0
- package/__fixtures__/-2.complex.openai/videos__list/input.json +24 -0
- package/__fixtures__/-2.complex.openai/videos__remix/expected.json +13 -0
- package/__fixtures__/-2.complex.openai/videos__remix/input.json +20 -0
- package/__fixtures__/-2.complex.openai/videos__retrieve/expected.json +12 -0
- package/__fixtures__/-2.complex.openai/videos__retrieve/input.json +24 -0
- package/__fixtures__/1.basic/input.yaml +48 -0
- package/__fixtures__/1.basic/output.json +74 -0
- package/__fixtures__/2.crud/input.yaml +113 -0
- package/__fixtures__/2.crud/output.json +281 -0
- package/__fixtures__/3.nested/input.yaml +84 -0
- package/__fixtures__/3.nested/output.json +196 -0
- package/__fixtures__/4.body-flatten/input.yaml +61 -0
- package/__fixtures__/4.body-flatten/output.json +153 -0
- package/__tests__/conformance.test.ts +99 -0
- package/__tests__/docs-oracle.test.ts +237 -0
- package/__tests__/openapi2opencli.test.ts +31 -0
- package/__tests__/utils.ts +41 -0
- package/biome.json +25 -0
- package/index.ts +1 -0
- package/oracle/README.md +41 -0
- package/oracle/coverage.floor.json +4 -0
- package/oracle/docs-allowlist.json +201 -0
- package/oracle/docs-coverage.floor.json +4 -0
- package/oracle/docs-methods.json +3744 -0
- package/oracle/docsOracle.ts +152 -0
- package/oracle/openai-openapi.yaml +81040 -0
- package/oracle/parseOpenaiCli.ts +205 -0
- package/oracle/pins.json +6 -0
- package/oracle/surface.json +5844 -0
- package/package.json +27 -0
- package/src/action.ts +118 -0
- package/src/body.ts +132 -0
- package/src/command.ts +66 -0
- package/src/index.ts +12 -0
- package/src/naming.ts +40 -0
- package/src/openapi2opencli.ts +106 -0
- package/src/parameters.ts +108 -0
- package/src/schema.ts +110 -0
- package/src/security.ts +43 -0
- package/src/surface.ts +165 -0
- package/src/tree.ts +78 -0
- package/src/types.ts +86 -0
- package/src/unique.ts +11 -0
- package/tsconfig.json +18 -0
- package/tsup.config.ts +19 -0
- package/vitest.config.ts +8 -0
package/CHANGELOG.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) LiveSession Sp.z.o.o
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# @xyd-js/openapi2opencli
|
|
2
|
+
|
|
3
|
+
Converts an **OpenAPI 3.x** document into an **OpenCLI** document
|
|
4
|
+
([`@xyd-js/opencli`](../xyd-opencli)), embedding the `x-openapi` request binding so the
|
|
5
|
+
downstream `opencli2*` code generators (Go first) can build real API requests.
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { openapi2opencli, openapi2opencliFromSource } from '@xyd-js/openapi2opencli';
|
|
9
|
+
|
|
10
|
+
// from an already-dereferenced OpenAPIV3.Document
|
|
11
|
+
const opencli = openapi2opencli(doc, { cliName: 'openai' });
|
|
12
|
+
|
|
13
|
+
// or read + dereference a file/URL (via @xyd-js/openapi)
|
|
14
|
+
const opencli = await openapi2opencliFromSource('./openapi.yaml', { cliName: 'openai' });
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Mapping (default `grouping: "path"`)
|
|
18
|
+
|
|
19
|
+
| OpenAPI | OpenCLI |
|
|
20
|
+
|---|---|
|
|
21
|
+
| static path segment | nested resource command (kebab-case) |
|
|
22
|
+
| `{param}` segment | positional `Argument` (required, path order) |
|
|
23
|
+
| method + path shape | leaf action: GET-collection→`list`, GET-item→`retrieve` (+`get`), POST-collection→`create`, PUT/PATCH-item→`update`, DELETE-item→`delete` |
|
|
24
|
+
| trailing static verb after a param (e.g. `/{id}/cancel`) | custom action (`cancel`); see `customActionVerbs` |
|
|
25
|
+
| query param | `Option` (`group: "query"`) |
|
|
26
|
+
| header / cookie param | `Option` (opt-in via `includeHeaders`, hidden, auth headers skipped) |
|
|
27
|
+
| request body (object) | top-level props → `Option[]` (hybrid: scalars/scalar-arrays flatten, enums→`acceptedValues`, nested/`oneOf`/`anyOf`→JSON-string flag); multipart binary → file flag |
|
|
28
|
+
|
|
29
|
+
Every leaf command carries `x-openapi` `{ method, path, contentType, params[], body }` and the
|
|
30
|
+
root carries `x-openapi` `{ servers, security }`. See `OpenApi2OpenCliOptions` for `cliName`,
|
|
31
|
+
`version`, `grouping`, `bodyStrategy`, `includeMethods`, `includeHeaders`, `flagCase`,
|
|
32
|
+
`verbMap`, `customActionVerbs`, `includePaths`, `authEnvVar`.
|
|
33
|
+
|
|
34
|
+
> Not yet derived from a pure OpenAPI spec (they live in vendor codegen config, e.g. Stainless):
|
|
35
|
+
> the OpenAI CLI's `beta` prefix and `admin:` `:`-namespacing. These are handled later via
|
|
36
|
+
> overrides / `x-cli` hooks (see the project plan, Milestone 3).
|
|
37
|
+
|
|
38
|
+
## Tests
|
|
39
|
+
|
|
40
|
+
Data-driven golden fixtures under `__fixtures__/<n>.<name>/` (`input.yaml` → `output.json`):
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pnpm --filter @xyd-js/openapi2opencli test # assert against committed goldens
|
|
44
|
+
REGEN=1 pnpm --filter @xyd-js/openapi2opencli test # regenerate output.json, then review the diff
|
|
45
|
+
```
|
package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"admin-api-keys",
|
|
6
|
+
"create"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "post",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"name"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:admin-api-keys create --admin-api-key 'My Admin API Key' --name 'New Admin Key'",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/create"
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "post",
|
|
3
|
+
"path": "/organization/admin_api_keys",
|
|
4
|
+
"operationId": "admin-api-keys-create",
|
|
5
|
+
"title": "Create admin API key",
|
|
6
|
+
"summary": "Create an organization admin API key",
|
|
7
|
+
"parameters": [],
|
|
8
|
+
"requestBody": {
|
|
9
|
+
"contentType": "application/json",
|
|
10
|
+
"required": true,
|
|
11
|
+
"properties": [
|
|
12
|
+
"name"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"admin-api-keys",
|
|
6
|
+
"delete"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "delete",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"key-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:admin-api-keys delete --admin-api-key 'My Admin API Key' --key-id key_id",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/delete"
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "delete",
|
|
3
|
+
"path": "/organization/admin_api_keys/{key_id}",
|
|
4
|
+
"operationId": "admin-api-keys-delete",
|
|
5
|
+
"title": "Delete admin API key",
|
|
6
|
+
"summary": "Delete an organization admin API key",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "key_id",
|
|
10
|
+
"in": "path",
|
|
11
|
+
"required": true
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/expected.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"admin-api-keys",
|
|
6
|
+
"list"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "get",
|
|
9
|
+
"docFlags": [],
|
|
10
|
+
"docCommand": "openai admin:organization:admin-api-keys list --admin-api-key 'My Admin API Key'",
|
|
11
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/list"
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "get",
|
|
3
|
+
"path": "/organization/admin_api_keys",
|
|
4
|
+
"operationId": "admin-api-keys-list",
|
|
5
|
+
"title": "List all organization and project API keys.",
|
|
6
|
+
"summary": "List organization API keys",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "after",
|
|
10
|
+
"in": "query",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "order",
|
|
15
|
+
"in": "query",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "limit",
|
|
20
|
+
"in": "query",
|
|
21
|
+
"required": false
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"admin-api-keys",
|
|
6
|
+
"retrieve"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "get",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"key-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:admin-api-keys retrieve --admin-api-key 'My Admin API Key' --key-id key_id",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/admin_api_keys/methods/retrieve"
|
|
14
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/input.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "get",
|
|
3
|
+
"path": "/organization/admin_api_keys",
|
|
4
|
+
"operationId": "admin-api-keys-list",
|
|
5
|
+
"title": "List all organization and project API keys.",
|
|
6
|
+
"summary": "List organization API keys",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "after",
|
|
10
|
+
"in": "query",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "order",
|
|
15
|
+
"in": "query",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "limit",
|
|
20
|
+
"in": "query",
|
|
21
|
+
"required": false
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"audit-logs",
|
|
6
|
+
"list"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "get",
|
|
9
|
+
"docFlags": [],
|
|
10
|
+
"docCommand": "openai admin:organization:audit-logs list --admin-api-key 'My Admin API Key'",
|
|
11
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/audit_logs/methods/list"
|
|
12
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "get",
|
|
3
|
+
"path": "/organization/audit_logs",
|
|
4
|
+
"operationId": "list-audit-logs",
|
|
5
|
+
"title": "List audit logs",
|
|
6
|
+
"summary": "List user actions and configuration changes within this organization.",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "effective_at",
|
|
10
|
+
"in": "query",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "project_ids[]",
|
|
15
|
+
"in": "query",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "event_types[]",
|
|
20
|
+
"in": "query",
|
|
21
|
+
"required": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "actor_ids[]",
|
|
25
|
+
"in": "query",
|
|
26
|
+
"required": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "actor_emails[]",
|
|
30
|
+
"in": "query",
|
|
31
|
+
"required": false
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "resource_ids[]",
|
|
35
|
+
"in": "query",
|
|
36
|
+
"required": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "limit",
|
|
40
|
+
"in": "query",
|
|
41
|
+
"required": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "after",
|
|
45
|
+
"in": "query",
|
|
46
|
+
"required": false
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "before",
|
|
50
|
+
"in": "query",
|
|
51
|
+
"required": false
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"certificates",
|
|
6
|
+
"activate"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "post",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"certificate-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:certificates activate --admin-api-key 'My Admin API Key' --certificate-id cert_abc",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/activate"
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "post",
|
|
3
|
+
"path": "/organization/certificates",
|
|
4
|
+
"operationId": "uploadCertificate",
|
|
5
|
+
"title": "Upload certificate",
|
|
6
|
+
"summary": "Upload a certificate to the organization. This does **not** automatically activate the certificate.\n\nOrganizations can upload up to 50 certificates.\n",
|
|
7
|
+
"parameters": [],
|
|
8
|
+
"requestBody": {
|
|
9
|
+
"contentType": "application/json",
|
|
10
|
+
"required": true,
|
|
11
|
+
"properties": [
|
|
12
|
+
"name",
|
|
13
|
+
"certificate"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"certificates",
|
|
6
|
+
"create"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "post",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"certificate"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:certificates create --admin-api-key 'My Admin API Key' --certificate certificate",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/create"
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "post",
|
|
3
|
+
"path": "/organization/certificates",
|
|
4
|
+
"operationId": "uploadCertificate",
|
|
5
|
+
"title": "Upload certificate",
|
|
6
|
+
"summary": "Upload a certificate to the organization. This does **not** automatically activate the certificate.\n\nOrganizations can upload up to 50 certificates.\n",
|
|
7
|
+
"parameters": [],
|
|
8
|
+
"requestBody": {
|
|
9
|
+
"contentType": "application/json",
|
|
10
|
+
"required": true,
|
|
11
|
+
"properties": [
|
|
12
|
+
"name",
|
|
13
|
+
"certificate"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"certificates",
|
|
6
|
+
"deactivate"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "post",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"certificate-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:certificates deactivate --admin-api-key 'My Admin API Key' --certificate-id cert_abc",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/deactivate"
|
|
14
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/input.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "post",
|
|
3
|
+
"path": "/organization/certificates",
|
|
4
|
+
"operationId": "uploadCertificate",
|
|
5
|
+
"title": "Upload certificate",
|
|
6
|
+
"summary": "Upload a certificate to the organization. This does **not** automatically activate the certificate.\n\nOrganizations can upload up to 50 certificates.\n",
|
|
7
|
+
"parameters": [],
|
|
8
|
+
"requestBody": {
|
|
9
|
+
"contentType": "application/json",
|
|
10
|
+
"required": true,
|
|
11
|
+
"properties": [
|
|
12
|
+
"name",
|
|
13
|
+
"certificate"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"certificates",
|
|
6
|
+
"delete"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "delete",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"certificate-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:certificates delete --admin-api-key 'My Admin API Key' --certificate-id certificate_id",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/delete"
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "delete",
|
|
3
|
+
"path": "/organization/certificates/{certificate_id}",
|
|
4
|
+
"operationId": "deleteCertificate",
|
|
5
|
+
"title": "Delete certificate",
|
|
6
|
+
"summary": "Delete a certificate from the organization.\n\nThe certificate must be inactive for the organization and all projects.\n",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "certificate_id",
|
|
10
|
+
"in": "path",
|
|
11
|
+
"required": true
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"certificates",
|
|
6
|
+
"list"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "get",
|
|
9
|
+
"docFlags": [],
|
|
10
|
+
"docCommand": "openai admin:organization:certificates list --admin-api-key 'My Admin API Key'",
|
|
11
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/list"
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "get",
|
|
3
|
+
"path": "/organization/certificates",
|
|
4
|
+
"operationId": "listOrganizationCertificates",
|
|
5
|
+
"title": "List organization certificates",
|
|
6
|
+
"summary": "List uploaded certificates for this organization.",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "limit",
|
|
10
|
+
"in": "query",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "after",
|
|
15
|
+
"in": "query",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "order",
|
|
20
|
+
"in": "query",
|
|
21
|
+
"required": false
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"certificates",
|
|
6
|
+
"retrieve"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "get",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"certificate-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:certificates retrieve --admin-api-key 'My Admin API Key' --certificate-id certificate_id",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/retrieve"
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "get",
|
|
3
|
+
"path": "/organization/certificates",
|
|
4
|
+
"operationId": "listOrganizationCertificates",
|
|
5
|
+
"title": "List organization certificates",
|
|
6
|
+
"summary": "List uploaded certificates for this organization.",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "limit",
|
|
10
|
+
"in": "query",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "after",
|
|
15
|
+
"in": "query",
|
|
16
|
+
"required": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "order",
|
|
20
|
+
"in": "query",
|
|
21
|
+
"required": false
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"certificates",
|
|
6
|
+
"update"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "post",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"certificate-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:certificates update --admin-api-key 'My Admin API Key' --certificate-id certificate_id",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/certificates/methods/update"
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "post",
|
|
3
|
+
"path": "/organization/certificates",
|
|
4
|
+
"operationId": "uploadCertificate",
|
|
5
|
+
"title": "Upload certificate",
|
|
6
|
+
"summary": "Upload a certificate to the organization. This does **not** automatically activate the certificate.\n\nOrganizations can upload up to 50 certificates.\n",
|
|
7
|
+
"parameters": [],
|
|
8
|
+
"requestBody": {
|
|
9
|
+
"contentType": "application/json",
|
|
10
|
+
"required": true,
|
|
11
|
+
"properties": [
|
|
12
|
+
"name",
|
|
13
|
+
"certificate"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/expected.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"data-retention",
|
|
6
|
+
"retrieve"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "get",
|
|
9
|
+
"docFlags": [],
|
|
10
|
+
"docCommand": "openai admin:organization:data-retention retrieve --admin-api-key 'My Admin API Key'",
|
|
11
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/data_retention/methods/retrieve"
|
|
12
|
+
}
|
package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/expected.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"data-retention",
|
|
6
|
+
"update"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "post",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"retention-type"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:data-retention update --admin-api-key 'My Admin API Key' --retention-type zero_data_retention",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/data_retention/methods/update"
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"groups",
|
|
6
|
+
"create"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "post",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"name"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:groups create --admin-api-key 'My Admin API Key' --name x",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/create"
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "post",
|
|
3
|
+
"path": "/organization/groups",
|
|
4
|
+
"operationId": "create-group",
|
|
5
|
+
"title": "Create group",
|
|
6
|
+
"summary": "Creates a new group in the organization.",
|
|
7
|
+
"parameters": [],
|
|
8
|
+
"requestBody": {
|
|
9
|
+
"contentType": "application/json",
|
|
10
|
+
"required": true,
|
|
11
|
+
"properties": [
|
|
12
|
+
"name"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"groups",
|
|
6
|
+
"delete"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "delete",
|
|
9
|
+
"docFlags": [
|
|
10
|
+
"group-id"
|
|
11
|
+
],
|
|
12
|
+
"docCommand": "openai admin:organization:groups delete --admin-api-key 'My Admin API Key' --group-id group_id",
|
|
13
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/delete"
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"httpMethod": "delete",
|
|
3
|
+
"path": "/organization/groups/{group_id}",
|
|
4
|
+
"operationId": "delete-group",
|
|
5
|
+
"title": "Delete group",
|
|
6
|
+
"summary": "Deletes a group from the organization.",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{
|
|
9
|
+
"name": "group_id",
|
|
10
|
+
"in": "path",
|
|
11
|
+
"required": true
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandPath": [
|
|
3
|
+
"admin",
|
|
4
|
+
"organization",
|
|
5
|
+
"groups",
|
|
6
|
+
"list"
|
|
7
|
+
],
|
|
8
|
+
"httpMethod": "get",
|
|
9
|
+
"docFlags": [],
|
|
10
|
+
"docCommand": "openai admin:organization:groups list --admin-api-key 'My Admin API Key'",
|
|
11
|
+
"docUrl": "https://developers.openai.com/api/reference/cli/resources/admin/subresources/organization/subresources/groups/methods/list"
|
|
12
|
+
}
|