@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.
Files changed (546) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +21 -0
  3. package/README.md +45 -0
  4. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/expected.json +14 -0
  5. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__create/input.json +15 -0
  6. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/expected.json +14 -0
  7. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__delete/input.json +14 -0
  8. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/expected.json +12 -0
  9. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__list/input.json +24 -0
  10. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/expected.json +14 -0
  11. package/__fixtures__/-2.complex.openai/admin__organization__admin-api-keys__retrieve/input.json +24 -0
  12. package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/expected.json +12 -0
  13. package/__fixtures__/-2.complex.openai/admin__organization__audit-logs__list/input.json +54 -0
  14. package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/expected.json +14 -0
  15. package/__fixtures__/-2.complex.openai/admin__organization__certificates__activate/input.json +16 -0
  16. package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/expected.json +14 -0
  17. package/__fixtures__/-2.complex.openai/admin__organization__certificates__create/input.json +16 -0
  18. package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/expected.json +14 -0
  19. package/__fixtures__/-2.complex.openai/admin__organization__certificates__deactivate/input.json +16 -0
  20. package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/expected.json +14 -0
  21. package/__fixtures__/-2.complex.openai/admin__organization__certificates__delete/input.json +14 -0
  22. package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/expected.json +12 -0
  23. package/__fixtures__/-2.complex.openai/admin__organization__certificates__list/input.json +24 -0
  24. package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/expected.json +14 -0
  25. package/__fixtures__/-2.complex.openai/admin__organization__certificates__retrieve/input.json +24 -0
  26. package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/expected.json +14 -0
  27. package/__fixtures__/-2.complex.openai/admin__organization__certificates__update/input.json +16 -0
  28. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/expected.json +12 -0
  29. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__retrieve/input.json +3 -0
  30. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/expected.json +14 -0
  31. package/__fixtures__/-2.complex.openai/admin__organization__data-retention__update/input.json +3 -0
  32. package/__fixtures__/-2.complex.openai/admin__organization__groups__create/expected.json +14 -0
  33. package/__fixtures__/-2.complex.openai/admin__organization__groups__create/input.json +15 -0
  34. package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/expected.json +14 -0
  35. package/__fixtures__/-2.complex.openai/admin__organization__groups__delete/input.json +14 -0
  36. package/__fixtures__/-2.complex.openai/admin__organization__groups__list/expected.json +12 -0
  37. package/__fixtures__/-2.complex.openai/admin__organization__groups__list/input.json +24 -0
  38. package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/expected.json +14 -0
  39. package/__fixtures__/-2.complex.openai/admin__organization__groups__retrieve/input.json +24 -0
  40. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/expected.json +16 -0
  41. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__create/input.json +21 -0
  42. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/expected.json +16 -0
  43. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__delete/input.json +19 -0
  44. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/expected.json +15 -0
  45. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__list/input.json +29 -0
  46. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/expected.json +16 -0
  47. package/__fixtures__/-2.complex.openai/admin__organization__groups__roles__retrieve/input.json +29 -0
  48. package/__fixtures__/-2.complex.openai/admin__organization__groups__update/expected.json +15 -0
  49. package/__fixtures__/-2.complex.openai/admin__organization__groups__update/input.json +15 -0
  50. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/expected.json +16 -0
  51. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__create/input.json +21 -0
  52. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/expected.json +16 -0
  53. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__delete/input.json +19 -0
  54. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/expected.json +15 -0
  55. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__list/input.json +29 -0
  56. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/expected.json +16 -0
  57. package/__fixtures__/-2.complex.openai/admin__organization__groups__users__retrieve/input.json +29 -0
  58. package/__fixtures__/-2.complex.openai/admin__organization__invites__create/expected.json +15 -0
  59. package/__fixtures__/-2.complex.openai/admin__organization__invites__create/input.json +17 -0
  60. package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/expected.json +14 -0
  61. package/__fixtures__/-2.complex.openai/admin__organization__invites__delete/input.json +14 -0
  62. package/__fixtures__/-2.complex.openai/admin__organization__invites__list/expected.json +12 -0
  63. package/__fixtures__/-2.complex.openai/admin__organization__invites__list/input.json +19 -0
  64. package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/expected.json +14 -0
  65. package/__fixtures__/-2.complex.openai/admin__organization__invites__retrieve/input.json +19 -0
  66. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/expected.json +16 -0
  67. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__delete/input.json +19 -0
  68. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/expected.json +15 -0
  69. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__list/input.json +24 -0
  70. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/expected.json +16 -0
  71. package/__fixtures__/-2.complex.openai/admin__organization__projects__api-keys__retrieve/input.json +24 -0
  72. package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/expected.json +14 -0
  73. package/__fixtures__/-2.complex.openai/admin__organization__projects__archive/input.json +17 -0
  74. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/expected.json +16 -0
  75. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__activate/input.json +3 -0
  76. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/expected.json +16 -0
  77. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__deactivate/input.json +3 -0
  78. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/expected.json +15 -0
  79. package/__fixtures__/-2.complex.openai/admin__organization__projects__certificates__list/input.json +29 -0
  80. package/__fixtures__/-2.complex.openai/admin__organization__projects__create/expected.json +14 -0
  81. package/__fixtures__/-2.complex.openai/admin__organization__projects__create/input.json +17 -0
  82. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/expected.json +15 -0
  83. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__retrieve/input.json +3 -0
  84. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/expected.json +16 -0
  85. package/__fixtures__/-2.complex.openai/admin__organization__projects__data-retention__update/input.json +3 -0
  86. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/expected.json +17 -0
  87. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__create/input.json +22 -0
  88. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/expected.json +16 -0
  89. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__delete/input.json +19 -0
  90. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/expected.json +15 -0
  91. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__list/input.json +29 -0
  92. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/expected.json +16 -0
  93. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__retrieve/input.json +29 -0
  94. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/expected.json +18 -0
  95. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__create/input.json +3 -0
  96. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/expected.json +18 -0
  97. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__delete/input.json +3 -0
  98. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/expected.json +17 -0
  99. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__list/input.json +3 -0
  100. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/expected.json +18 -0
  101. package/__fixtures__/-2.complex.openai/admin__organization__projects__groups__roles__retrieve/input.json +3 -0
  102. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/expected.json +15 -0
  103. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__retrieve/input.json +3 -0
  104. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/expected.json +15 -0
  105. package/__fixtures__/-2.complex.openai/admin__organization__projects__hosted-tool-permissions__update/input.json +3 -0
  106. package/__fixtures__/-2.complex.openai/admin__organization__projects__list/expected.json +12 -0
  107. package/__fixtures__/-2.complex.openai/admin__organization__projects__list/input.json +24 -0
  108. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/expected.json +15 -0
  109. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__delete/input.json +3 -0
  110. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/expected.json +15 -0
  111. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__retrieve/input.json +3 -0
  112. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/expected.json +17 -0
  113. package/__fixtures__/-2.complex.openai/admin__organization__projects__model-permissions__update/input.json +3 -0
  114. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/expected.json +15 -0
  115. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__list-rate-limits/input.json +29 -0
  116. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/expected.json +16 -0
  117. package/__fixtures__/-2.complex.openai/admin__organization__projects__rate-limits__update-rate-limit/input.json +31 -0
  118. package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/expected.json +14 -0
  119. package/__fixtures__/-2.complex.openai/admin__organization__projects__retrieve/input.json +24 -0
  120. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/expected.json +17 -0
  121. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__create/input.json +3 -0
  122. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/expected.json +16 -0
  123. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__delete/input.json +3 -0
  124. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/expected.json +15 -0
  125. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__list/input.json +3 -0
  126. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/expected.json +16 -0
  127. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__retrieve/input.json +3 -0
  128. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/expected.json +16 -0
  129. package/__fixtures__/-2.complex.openai/admin__organization__projects__roles__update/input.json +3 -0
  130. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/expected.json +16 -0
  131. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__create/input.json +21 -0
  132. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/expected.json +16 -0
  133. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__delete/input.json +19 -0
  134. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/expected.json +15 -0
  135. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__list/input.json +24 -0
  136. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/expected.json +16 -0
  137. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__retrieve/input.json +24 -0
  138. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/expected.json +16 -0
  139. package/__fixtures__/-2.complex.openai/admin__organization__projects__service-accounts__update/input.json +21 -0
  140. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/expected.json +19 -0
  141. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__create/input.json +3 -0
  142. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/expected.json +16 -0
  143. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__delete/input.json +3 -0
  144. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/expected.json +15 -0
  145. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__list/input.json +3 -0
  146. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/expected.json +16 -0
  147. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__retrieve/input.json +3 -0
  148. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/expected.json +20 -0
  149. package/__fixtures__/-2.complex.openai/admin__organization__projects__spend-alerts__update/input.json +3 -0
  150. package/__fixtures__/-2.complex.openai/admin__organization__projects__update/expected.json +14 -0
  151. package/__fixtures__/-2.complex.openai/admin__organization__projects__update/input.json +17 -0
  152. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/expected.json +16 -0
  153. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__create/input.json +23 -0
  154. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/expected.json +16 -0
  155. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__delete/input.json +19 -0
  156. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/expected.json +15 -0
  157. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__list/input.json +24 -0
  158. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/expected.json +16 -0
  159. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__retrieve/input.json +24 -0
  160. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/expected.json +18 -0
  161. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__create/input.json +3 -0
  162. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/expected.json +18 -0
  163. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__delete/input.json +3 -0
  164. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/expected.json +17 -0
  165. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__list/input.json +3 -0
  166. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/expected.json +18 -0
  167. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__roles__retrieve/input.json +3 -0
  168. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/expected.json +16 -0
  169. package/__fixtures__/-2.complex.openai/admin__organization__projects__users__update/input.json +23 -0
  170. package/__fixtures__/-2.complex.openai/admin__organization__roles__create/expected.json +15 -0
  171. package/__fixtures__/-2.complex.openai/admin__organization__roles__create/input.json +17 -0
  172. package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/expected.json +14 -0
  173. package/__fixtures__/-2.complex.openai/admin__organization__roles__delete/input.json +14 -0
  174. package/__fixtures__/-2.complex.openai/admin__organization__roles__list/expected.json +12 -0
  175. package/__fixtures__/-2.complex.openai/admin__organization__roles__list/input.json +24 -0
  176. package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/expected.json +14 -0
  177. package/__fixtures__/-2.complex.openai/admin__organization__roles__retrieve/input.json +24 -0
  178. package/__fixtures__/-2.complex.openai/admin__organization__roles__update/expected.json +14 -0
  179. package/__fixtures__/-2.complex.openai/admin__organization__roles__update/input.json +17 -0
  180. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/expected.json +17 -0
  181. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__create/input.json +3 -0
  182. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/expected.json +14 -0
  183. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__delete/input.json +3 -0
  184. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/expected.json +12 -0
  185. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__list/input.json +3 -0
  186. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/expected.json +14 -0
  187. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__retrieve/input.json +3 -0
  188. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/expected.json +18 -0
  189. package/__fixtures__/-2.complex.openai/admin__organization__spend-alerts__update/input.json +3 -0
  190. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/expected.json +14 -0
  191. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-speeches/input.json +3 -0
  192. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/expected.json +14 -0
  193. package/__fixtures__/-2.complex.openai/admin__organization__usage__audio-transcriptions/input.json +3 -0
  194. package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/expected.json +14 -0
  195. package/__fixtures__/-2.complex.openai/admin__organization__usage__code-interpreter-sessions/input.json +3 -0
  196. package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/expected.json +14 -0
  197. package/__fixtures__/-2.complex.openai/admin__organization__usage__completions/input.json +3 -0
  198. package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/expected.json +14 -0
  199. package/__fixtures__/-2.complex.openai/admin__organization__usage__costs/input.json +3 -0
  200. package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/expected.json +14 -0
  201. package/__fixtures__/-2.complex.openai/admin__organization__usage__embeddings/input.json +3 -0
  202. package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/expected.json +14 -0
  203. package/__fixtures__/-2.complex.openai/admin__organization__usage__file-search-calls/input.json +3 -0
  204. package/__fixtures__/-2.complex.openai/admin__organization__usage__images/expected.json +14 -0
  205. package/__fixtures__/-2.complex.openai/admin__organization__usage__images/input.json +3 -0
  206. package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/expected.json +14 -0
  207. package/__fixtures__/-2.complex.openai/admin__organization__usage__moderations/input.json +3 -0
  208. package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/expected.json +14 -0
  209. package/__fixtures__/-2.complex.openai/admin__organization__usage__vector-stores/input.json +3 -0
  210. package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/expected.json +14 -0
  211. package/__fixtures__/-2.complex.openai/admin__organization__usage__web-search-calls/input.json +3 -0
  212. package/__fixtures__/-2.complex.openai/admin__organization__users__delete/expected.json +14 -0
  213. package/__fixtures__/-2.complex.openai/admin__organization__users__delete/input.json +14 -0
  214. package/__fixtures__/-2.complex.openai/admin__organization__users__list/expected.json +12 -0
  215. package/__fixtures__/-2.complex.openai/admin__organization__users__list/input.json +24 -0
  216. package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/expected.json +14 -0
  217. package/__fixtures__/-2.complex.openai/admin__organization__users__retrieve/input.json +24 -0
  218. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/expected.json +16 -0
  219. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__create/input.json +21 -0
  220. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/expected.json +16 -0
  221. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__delete/input.json +19 -0
  222. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/expected.json +15 -0
  223. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__list/input.json +29 -0
  224. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/expected.json +16 -0
  225. package/__fixtures__/-2.complex.openai/admin__organization__users__roles__retrieve/input.json +29 -0
  226. package/__fixtures__/-2.complex.openai/admin__organization__users__update/expected.json +14 -0
  227. package/__fixtures__/-2.complex.openai/admin__organization__users__update/input.json +24 -0
  228. package/__fixtures__/-2.complex.openai/audio__speech__create/expected.json +15 -0
  229. package/__fixtures__/-2.complex.openai/audio__speech__create/input.json +22 -0
  230. package/__fixtures__/-2.complex.openai/audio__transcriptions__create/expected.json +14 -0
  231. package/__fixtures__/-2.complex.openai/audio__transcriptions__create/input.json +27 -0
  232. package/__fixtures__/-2.complex.openai/audio__translations__create/expected.json +14 -0
  233. package/__fixtures__/-2.complex.openai/audio__translations__create/input.json +19 -0
  234. package/__fixtures__/-2.complex.openai/batches__cancel/expected.json +12 -0
  235. package/__fixtures__/-2.complex.openai/batches__cancel/input.json +20 -0
  236. package/__fixtures__/-2.complex.openai/batches__create/expected.json +14 -0
  237. package/__fixtures__/-2.complex.openai/batches__create/input.json +20 -0
  238. package/__fixtures__/-2.complex.openai/batches__list/expected.json +10 -0
  239. package/__fixtures__/-2.complex.openai/batches__list/input.json +19 -0
  240. package/__fixtures__/-2.complex.openai/batches__retrieve/expected.json +12 -0
  241. package/__fixtures__/-2.complex.openai/batches__retrieve/input.json +19 -0
  242. package/__fixtures__/-2.complex.openai/beta__assistants__create/expected.json +13 -0
  243. package/__fixtures__/-2.complex.openai/beta__assistants__create/input.json +26 -0
  244. package/__fixtures__/-2.complex.openai/beta__assistants__delete/expected.json +13 -0
  245. package/__fixtures__/-2.complex.openai/beta__assistants__delete/input.json +14 -0
  246. package/__fixtures__/-2.complex.openai/beta__assistants__list/expected.json +11 -0
  247. package/__fixtures__/-2.complex.openai/beta__assistants__list/input.json +29 -0
  248. package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/expected.json +13 -0
  249. package/__fixtures__/-2.complex.openai/beta__assistants__retrieve/input.json +29 -0
  250. package/__fixtures__/-2.complex.openai/beta__assistants__update/expected.json +13 -0
  251. package/__fixtures__/-2.complex.openai/beta__assistants__update/input.json +26 -0
  252. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/expected.json +14 -0
  253. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__cancel/input.json +20 -0
  254. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/expected.json +15 -0
  255. package/__fixtures__/-2.complex.openai/beta__chatkit__sessions__create/input.json +20 -0
  256. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/expected.json +14 -0
  257. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__delete/input.json +14 -0
  258. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/expected.json +12 -0
  259. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list/input.json +14 -0
  260. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/expected.json +14 -0
  261. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__list-items/input.json +14 -0
  262. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/expected.json +14 -0
  263. package/__fixtures__/-2.complex.openai/beta__chatkit__threads__retrieve/input.json +14 -0
  264. package/__fixtures__/-2.complex.openai/beta__threads__create/expected.json +11 -0
  265. package/__fixtures__/-2.complex.openai/beta__threads__create/input.json +18 -0
  266. package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/expected.json +13 -0
  267. package/__fixtures__/-2.complex.openai/beta__threads__create-and-run/input.json +18 -0
  268. package/__fixtures__/-2.complex.openai/beta__threads__delete/expected.json +13 -0
  269. package/__fixtures__/-2.complex.openai/beta__threads__delete/input.json +14 -0
  270. package/__fixtures__/-2.complex.openai/beta__threads__messages__create/expected.json +16 -0
  271. package/__fixtures__/-2.complex.openai/beta__threads__messages__create/input.json +25 -0
  272. package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/expected.json +15 -0
  273. package/__fixtures__/-2.complex.openai/beta__threads__messages__delete/input.json +19 -0
  274. package/__fixtures__/-2.complex.openai/beta__threads__messages__list/expected.json +14 -0
  275. package/__fixtures__/-2.complex.openai/beta__threads__messages__list/input.json +39 -0
  276. package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/expected.json +15 -0
  277. package/__fixtures__/-2.complex.openai/beta__threads__messages__retrieve/input.json +39 -0
  278. package/__fixtures__/-2.complex.openai/beta__threads__messages__update/expected.json +15 -0
  279. package/__fixtures__/-2.complex.openai/beta__threads__messages__update/input.json +25 -0
  280. package/__fixtures__/-2.complex.openai/beta__threads__retrieve/expected.json +13 -0
  281. package/__fixtures__/-2.complex.openai/beta__threads__retrieve/input.json +14 -0
  282. package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/expected.json +15 -0
  283. package/__fixtures__/-2.complex.openai/beta__threads__runs__cancel/input.json +31 -0
  284. package/__fixtures__/-2.complex.openai/beta__threads__runs__create/expected.json +15 -0
  285. package/__fixtures__/-2.complex.openai/beta__threads__runs__create/input.json +31 -0
  286. package/__fixtures__/-2.complex.openai/beta__threads__runs__list/expected.json +14 -0
  287. package/__fixtures__/-2.complex.openai/beta__threads__runs__list/input.json +34 -0
  288. package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/expected.json +15 -0
  289. package/__fixtures__/-2.complex.openai/beta__threads__runs__retrieve/input.json +34 -0
  290. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/expected.json +16 -0
  291. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__list/input.json +44 -0
  292. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/expected.json +17 -0
  293. package/__fixtures__/-2.complex.openai/beta__threads__runs__steps__retrieve/input.json +44 -0
  294. package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/expected.json +16 -0
  295. package/__fixtures__/-2.complex.openai/beta__threads__runs__submit-tool-outputs/input.json +31 -0
  296. package/__fixtures__/-2.complex.openai/beta__threads__runs__update/expected.json +15 -0
  297. package/__fixtures__/-2.complex.openai/beta__threads__runs__update/input.json +31 -0
  298. package/__fixtures__/-2.complex.openai/beta__threads__update/expected.json +13 -0
  299. package/__fixtures__/-2.complex.openai/beta__threads__update/input.json +18 -0
  300. package/__fixtures__/-2.complex.openai/chat__completions__create/expected.json +14 -0
  301. package/__fixtures__/-2.complex.openai/chat__completions__create/input.json +13 -0
  302. package/__fixtures__/-2.complex.openai/chat__completions__delete/expected.json +13 -0
  303. package/__fixtures__/-2.complex.openai/chat__completions__delete/input.json +14 -0
  304. package/__fixtures__/-2.complex.openai/chat__completions__list/expected.json +11 -0
  305. package/__fixtures__/-2.complex.openai/chat__completions__list/input.json +34 -0
  306. package/__fixtures__/-2.complex.openai/chat__completions__messages__list/expected.json +14 -0
  307. package/__fixtures__/-2.complex.openai/chat__completions__messages__list/input.json +29 -0
  308. package/__fixtures__/-2.complex.openai/chat__completions__retrieve/expected.json +13 -0
  309. package/__fixtures__/-2.complex.openai/chat__completions__retrieve/input.json +34 -0
  310. package/__fixtures__/-2.complex.openai/chat__completions__update/expected.json +14 -0
  311. package/__fixtures__/-2.complex.openai/chat__completions__update/input.json +13 -0
  312. package/__fixtures__/-2.complex.openai/completions__create/expected.json +13 -0
  313. package/__fixtures__/-2.complex.openai/completions__create/input.json +33 -0
  314. package/__fixtures__/-2.complex.openai/containers__create/expected.json +12 -0
  315. package/__fixtures__/-2.complex.openai/containers__create/input.json +20 -0
  316. package/__fixtures__/-2.complex.openai/containers__delete/expected.json +12 -0
  317. package/__fixtures__/-2.complex.openai/containers__delete/input.json +14 -0
  318. package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/expected.json +15 -0
  319. package/__fixtures__/-2.complex.openai/containers__files__content__retrieve/input.json +19 -0
  320. package/__fixtures__/-2.complex.openai/containers__files__create/expected.json +13 -0
  321. package/__fixtures__/-2.complex.openai/containers__files__create/input.json +22 -0
  322. package/__fixtures__/-2.complex.openai/containers__files__delete/expected.json +14 -0
  323. package/__fixtures__/-2.complex.openai/containers__files__delete/input.json +19 -0
  324. package/__fixtures__/-2.complex.openai/containers__files__list/expected.json +13 -0
  325. package/__fixtures__/-2.complex.openai/containers__files__list/input.json +29 -0
  326. package/__fixtures__/-2.complex.openai/containers__files__retrieve/expected.json +14 -0
  327. package/__fixtures__/-2.complex.openai/containers__files__retrieve/input.json +29 -0
  328. package/__fixtures__/-2.complex.openai/containers__list/expected.json +10 -0
  329. package/__fixtures__/-2.complex.openai/containers__list/input.json +29 -0
  330. package/__fixtures__/-2.complex.openai/containers__retrieve/expected.json +12 -0
  331. package/__fixtures__/-2.complex.openai/containers__retrieve/input.json +29 -0
  332. package/__fixtures__/-2.complex.openai/conversations__create/expected.json +10 -0
  333. package/__fixtures__/-2.complex.openai/conversations__create/input.json +16 -0
  334. package/__fixtures__/-2.complex.openai/conversations__delete/expected.json +12 -0
  335. package/__fixtures__/-2.complex.openai/conversations__delete/input.json +14 -0
  336. package/__fixtures__/-2.complex.openai/conversations__items__create/expected.json +14 -0
  337. package/__fixtures__/-2.complex.openai/conversations__items__create/input.json +26 -0
  338. package/__fixtures__/-2.complex.openai/conversations__items__delete/expected.json +14 -0
  339. package/__fixtures__/-2.complex.openai/conversations__items__delete/input.json +19 -0
  340. package/__fixtures__/-2.complex.openai/conversations__items__list/expected.json +13 -0
  341. package/__fixtures__/-2.complex.openai/conversations__items__list/input.json +34 -0
  342. package/__fixtures__/-2.complex.openai/conversations__items__retrieve/expected.json +14 -0
  343. package/__fixtures__/-2.complex.openai/conversations__items__retrieve/input.json +34 -0
  344. package/__fixtures__/-2.complex.openai/conversations__retrieve/expected.json +12 -0
  345. package/__fixtures__/-2.complex.openai/conversations__retrieve/input.json +14 -0
  346. package/__fixtures__/-2.complex.openai/conversations__update/expected.json +13 -0
  347. package/__fixtures__/-2.complex.openai/conversations__update/input.json +16 -0
  348. package/__fixtures__/-2.complex.openai/embeddings__create/expected.json +13 -0
  349. package/__fixtures__/-2.complex.openai/embeddings__create/input.json +19 -0
  350. package/__fixtures__/-2.complex.openai/files__content/expected.json +12 -0
  351. package/__fixtures__/-2.complex.openai/files__content/input.json +29 -0
  352. package/__fixtures__/-2.complex.openai/files__create/expected.json +13 -0
  353. package/__fixtures__/-2.complex.openai/files__create/input.json +18 -0
  354. package/__fixtures__/-2.complex.openai/files__delete/expected.json +12 -0
  355. package/__fixtures__/-2.complex.openai/files__delete/input.json +14 -0
  356. package/__fixtures__/-2.complex.openai/files__list/expected.json +10 -0
  357. package/__fixtures__/-2.complex.openai/files__list/input.json +29 -0
  358. package/__fixtures__/-2.complex.openai/files__retrieve/expected.json +12 -0
  359. package/__fixtures__/-2.complex.openai/files__retrieve/input.json +29 -0
  360. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/expected.json +15 -0
  361. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__run/input.json +3 -0
  362. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/expected.json +14 -0
  363. package/__fixtures__/-2.complex.openai/fine-tuning__alpha__graders__validate/input.json +3 -0
  364. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/expected.json +15 -0
  365. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__create/input.json +21 -0
  366. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/expected.json +15 -0
  367. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__delete/input.json +19 -0
  368. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/expected.json +14 -0
  369. package/__fixtures__/-2.complex.openai/fine-tuning__checkpoints__permissions__retrieve/input.json +34 -0
  370. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/expected.json +13 -0
  371. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__cancel/input.json +24 -0
  372. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/expected.json +14 -0
  373. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__checkpoints__list/input.json +24 -0
  374. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/expected.json +14 -0
  375. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__create/input.json +24 -0
  376. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/expected.json +11 -0
  377. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list/input.json +24 -0
  378. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/expected.json +13 -0
  379. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__list-events/input.json +24 -0
  380. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/expected.json +13 -0
  381. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__pause/input.json +24 -0
  382. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/expected.json +13 -0
  383. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__resume/input.json +24 -0
  384. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/expected.json +13 -0
  385. package/__fixtures__/-2.complex.openai/fine-tuning__jobs__retrieve/input.json +24 -0
  386. package/__fixtures__/-2.complex.openai/images__create-variation/expected.json +12 -0
  387. package/__fixtures__/-2.complex.openai/images__create-variation/input.json +3 -0
  388. package/__fixtures__/-2.complex.openai/images__edit/expected.json +13 -0
  389. package/__fixtures__/-2.complex.openai/images__edit/input.json +3 -0
  390. package/__fixtures__/-2.complex.openai/images__generate/expected.json +12 -0
  391. package/__fixtures__/-2.complex.openai/images__generate/input.json +3 -0
  392. package/__fixtures__/-2.complex.openai/models__delete/expected.json +12 -0
  393. package/__fixtures__/-2.complex.openai/models__delete/input.json +14 -0
  394. package/__fixtures__/-2.complex.openai/models__list/expected.json +10 -0
  395. package/__fixtures__/-2.complex.openai/models__list/input.json +8 -0
  396. package/__fixtures__/-2.complex.openai/models__retrieve/expected.json +12 -0
  397. package/__fixtures__/-2.complex.openai/models__retrieve/input.json +8 -0
  398. package/__fixtures__/-2.complex.openai/moderations__create/expected.json +12 -0
  399. package/__fixtures__/-2.complex.openai/moderations__create/input.json +16 -0
  400. package/__fixtures__/-2.complex.openai/realtime__calls__accept/expected.json +14 -0
  401. package/__fixtures__/-2.complex.openai/realtime__calls__accept/input.json +16 -0
  402. package/__fixtures__/-2.complex.openai/realtime__calls__hangup/expected.json +13 -0
  403. package/__fixtures__/-2.complex.openai/realtime__calls__hangup/input.json +16 -0
  404. package/__fixtures__/-2.complex.openai/realtime__calls__refer/expected.json +14 -0
  405. package/__fixtures__/-2.complex.openai/realtime__calls__refer/input.json +16 -0
  406. package/__fixtures__/-2.complex.openai/realtime__calls__reject/expected.json +13 -0
  407. package/__fixtures__/-2.complex.openai/realtime__calls__reject/input.json +16 -0
  408. package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/expected.json +11 -0
  409. package/__fixtures__/-2.complex.openai/realtime__client-secrets__create/input.json +16 -0
  410. package/__fixtures__/-2.complex.openai/responses__cancel/expected.json +12 -0
  411. package/__fixtures__/-2.complex.openai/responses__cancel/input.json +13 -0
  412. package/__fixtures__/-2.complex.openai/responses__compact/expected.json +12 -0
  413. package/__fixtures__/-2.complex.openai/responses__compact/input.json +13 -0
  414. package/__fixtures__/-2.complex.openai/responses__create/expected.json +10 -0
  415. package/__fixtures__/-2.complex.openai/responses__create/input.json +13 -0
  416. package/__fixtures__/-2.complex.openai/responses__delete/expected.json +12 -0
  417. package/__fixtures__/-2.complex.openai/responses__delete/input.json +14 -0
  418. package/__fixtures__/-2.complex.openai/responses__input-items__list/expected.json +13 -0
  419. package/__fixtures__/-2.complex.openai/responses__input-items__list/input.json +34 -0
  420. package/__fixtures__/-2.complex.openai/responses__input-tokens__count/expected.json +11 -0
  421. package/__fixtures__/-2.complex.openai/responses__input-tokens__count/input.json +26 -0
  422. package/__fixtures__/-2.complex.openai/responses__retrieve/expected.json +12 -0
  423. package/__fixtures__/-2.complex.openai/responses__retrieve/input.json +34 -0
  424. package/__fixtures__/-2.complex.openai/skills__content__retrieve/expected.json +13 -0
  425. package/__fixtures__/-2.complex.openai/skills__content__retrieve/input.json +13 -0
  426. package/__fixtures__/-2.complex.openai/skills__create/expected.json +10 -0
  427. package/__fixtures__/-2.complex.openai/skills__create/input.json +14 -0
  428. package/__fixtures__/-2.complex.openai/skills__delete/expected.json +12 -0
  429. package/__fixtures__/-2.complex.openai/skills__delete/input.json +13 -0
  430. package/__fixtures__/-2.complex.openai/skills__list/expected.json +10 -0
  431. package/__fixtures__/-2.complex.openai/skills__list/input.json +23 -0
  432. package/__fixtures__/-2.complex.openai/skills__retrieve/expected.json +12 -0
  433. package/__fixtures__/-2.complex.openai/skills__retrieve/input.json +23 -0
  434. package/__fixtures__/-2.complex.openai/skills__update/expected.json +13 -0
  435. package/__fixtures__/-2.complex.openai/skills__update/input.json +14 -0
  436. package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/expected.json +14 -0
  437. package/__fixtures__/-2.complex.openai/skills__versions__content__retrieve/input.json +18 -0
  438. package/__fixtures__/-2.complex.openai/skills__versions__create/expected.json +13 -0
  439. package/__fixtures__/-2.complex.openai/skills__versions__create/input.json +21 -0
  440. package/__fixtures__/-2.complex.openai/skills__versions__delete/expected.json +13 -0
  441. package/__fixtures__/-2.complex.openai/skills__versions__delete/input.json +18 -0
  442. package/__fixtures__/-2.complex.openai/skills__versions__list/expected.json +13 -0
  443. package/__fixtures__/-2.complex.openai/skills__versions__list/input.json +28 -0
  444. package/__fixtures__/-2.complex.openai/skills__versions__retrieve/expected.json +13 -0
  445. package/__fixtures__/-2.complex.openai/skills__versions__retrieve/input.json +28 -0
  446. package/__fixtures__/-2.complex.openai/uploads__cancel/expected.json +12 -0
  447. package/__fixtures__/-2.complex.openai/uploads__cancel/input.json +20 -0
  448. package/__fixtures__/-2.complex.openai/uploads__complete/expected.json +13 -0
  449. package/__fixtures__/-2.complex.openai/uploads__complete/input.json +20 -0
  450. package/__fixtures__/-2.complex.openai/uploads__create/expected.json +15 -0
  451. package/__fixtures__/-2.complex.openai/uploads__create/input.json +20 -0
  452. package/__fixtures__/-2.complex.openai/uploads__parts__create/expected.json +14 -0
  453. package/__fixtures__/-2.complex.openai/uploads__parts__create/input.json +21 -0
  454. package/__fixtures__/-2.complex.openai/vector-stores__create/expected.json +10 -0
  455. package/__fixtures__/-2.complex.openai/vector-stores__create/input.json +21 -0
  456. package/__fixtures__/-2.complex.openai/vector-stores__delete/expected.json +12 -0
  457. package/__fixtures__/-2.complex.openai/vector-stores__delete/input.json +14 -0
  458. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/expected.json +14 -0
  459. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__cancel/input.json +25 -0
  460. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/expected.json +13 -0
  461. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__create/input.json +25 -0
  462. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/expected.json +14 -0
  463. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__list-files/input.json +19 -0
  464. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/expected.json +14 -0
  465. package/__fixtures__/-2.complex.openai/vector-stores__file-batches__retrieve/input.json +19 -0
  466. package/__fixtures__/-2.complex.openai/vector-stores__files__content/expected.json +14 -0
  467. package/__fixtures__/-2.complex.openai/vector-stores__files__content/input.json +39 -0
  468. package/__fixtures__/-2.complex.openai/vector-stores__files__create/expected.json +14 -0
  469. package/__fixtures__/-2.complex.openai/vector-stores__files__create/input.json +24 -0
  470. package/__fixtures__/-2.complex.openai/vector-stores__files__delete/expected.json +14 -0
  471. package/__fixtures__/-2.complex.openai/vector-stores__files__delete/input.json +19 -0
  472. package/__fixtures__/-2.complex.openai/vector-stores__files__list/expected.json +13 -0
  473. package/__fixtures__/-2.complex.openai/vector-stores__files__list/input.json +39 -0
  474. package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/expected.json +14 -0
  475. package/__fixtures__/-2.complex.openai/vector-stores__files__retrieve/input.json +39 -0
  476. package/__fixtures__/-2.complex.openai/vector-stores__files__update/expected.json +15 -0
  477. package/__fixtures__/-2.complex.openai/vector-stores__files__update/input.json +24 -0
  478. package/__fixtures__/-2.complex.openai/vector-stores__list/expected.json +10 -0
  479. package/__fixtures__/-2.complex.openai/vector-stores__list/input.json +29 -0
  480. package/__fixtures__/-2.complex.openai/vector-stores__retrieve/expected.json +12 -0
  481. package/__fixtures__/-2.complex.openai/vector-stores__retrieve/input.json +29 -0
  482. package/__fixtures__/-2.complex.openai/vector-stores__search/expected.json +13 -0
  483. package/__fixtures__/-2.complex.openai/vector-stores__search/input.json +21 -0
  484. package/__fixtures__/-2.complex.openai/vector-stores__update/expected.json +12 -0
  485. package/__fixtures__/-2.complex.openai/vector-stores__update/input.json +21 -0
  486. package/__fixtures__/-2.complex.openai/videos__create/expected.json +12 -0
  487. package/__fixtures__/-2.complex.openai/videos__create/input.json +20 -0
  488. package/__fixtures__/-2.complex.openai/videos__create-character/expected.json +13 -0
  489. package/__fixtures__/-2.complex.openai/videos__create-character/input.json +20 -0
  490. package/__fixtures__/-2.complex.openai/videos__delete/expected.json +12 -0
  491. package/__fixtures__/-2.complex.openai/videos__delete/input.json +14 -0
  492. package/__fixtures__/-2.complex.openai/videos__download-content/expected.json +12 -0
  493. package/__fixtures__/-2.complex.openai/videos__download-content/input.json +24 -0
  494. package/__fixtures__/-2.complex.openai/videos__edit/expected.json +13 -0
  495. package/__fixtures__/-2.complex.openai/videos__edit/input.json +20 -0
  496. package/__fixtures__/-2.complex.openai/videos__extend/expected.json +14 -0
  497. package/__fixtures__/-2.complex.openai/videos__extend/input.json +20 -0
  498. package/__fixtures__/-2.complex.openai/videos__get-character/expected.json +12 -0
  499. package/__fixtures__/-2.complex.openai/videos__get-character/input.json +24 -0
  500. package/__fixtures__/-2.complex.openai/videos__list/expected.json +10 -0
  501. package/__fixtures__/-2.complex.openai/videos__list/input.json +24 -0
  502. package/__fixtures__/-2.complex.openai/videos__remix/expected.json +13 -0
  503. package/__fixtures__/-2.complex.openai/videos__remix/input.json +20 -0
  504. package/__fixtures__/-2.complex.openai/videos__retrieve/expected.json +12 -0
  505. package/__fixtures__/-2.complex.openai/videos__retrieve/input.json +24 -0
  506. package/__fixtures__/1.basic/input.yaml +48 -0
  507. package/__fixtures__/1.basic/output.json +74 -0
  508. package/__fixtures__/2.crud/input.yaml +113 -0
  509. package/__fixtures__/2.crud/output.json +281 -0
  510. package/__fixtures__/3.nested/input.yaml +84 -0
  511. package/__fixtures__/3.nested/output.json +196 -0
  512. package/__fixtures__/4.body-flatten/input.yaml +61 -0
  513. package/__fixtures__/4.body-flatten/output.json +153 -0
  514. package/__tests__/conformance.test.ts +99 -0
  515. package/__tests__/docs-oracle.test.ts +237 -0
  516. package/__tests__/openapi2opencli.test.ts +31 -0
  517. package/__tests__/utils.ts +41 -0
  518. package/biome.json +25 -0
  519. package/index.ts +1 -0
  520. package/oracle/README.md +41 -0
  521. package/oracle/coverage.floor.json +4 -0
  522. package/oracle/docs-allowlist.json +201 -0
  523. package/oracle/docs-coverage.floor.json +4 -0
  524. package/oracle/docs-methods.json +3744 -0
  525. package/oracle/docsOracle.ts +152 -0
  526. package/oracle/openai-openapi.yaml +81040 -0
  527. package/oracle/parseOpenaiCli.ts +205 -0
  528. package/oracle/pins.json +6 -0
  529. package/oracle/surface.json +5844 -0
  530. package/package.json +27 -0
  531. package/src/action.ts +118 -0
  532. package/src/body.ts +132 -0
  533. package/src/command.ts +66 -0
  534. package/src/index.ts +12 -0
  535. package/src/naming.ts +40 -0
  536. package/src/openapi2opencli.ts +106 -0
  537. package/src/parameters.ts +108 -0
  538. package/src/schema.ts +110 -0
  539. package/src/security.ts +43 -0
  540. package/src/surface.ts +165 -0
  541. package/src/tree.ts +78 -0
  542. package/src/types.ts +86 -0
  543. package/src/unique.ts +11 -0
  544. package/tsconfig.json +18 -0
  545. package/tsup.config.ts +19 -0
  546. package/vitest.config.ts +8 -0
@@ -0,0 +1,196 @@
1
+ {
2
+ "opencli": "1.0.0",
3
+ "info": {
4
+ "title": "stores-api",
5
+ "version": "1.0.0"
6
+ },
7
+ "x-openapi": {
8
+ "servers": [
9
+ "https://api.stores.test/v2"
10
+ ]
11
+ },
12
+ "commands": [
13
+ {
14
+ "name": "stores",
15
+ "commands": [
16
+ {
17
+ "name": "items",
18
+ "commands": [
19
+ {
20
+ "name": "list",
21
+ "description": "List items in a store.",
22
+ "arguments": [
23
+ {
24
+ "name": "store-id",
25
+ "required": true
26
+ }
27
+ ],
28
+ "options": [
29
+ {
30
+ "name": "limit",
31
+ "group": "query",
32
+ "arguments": [
33
+ {
34
+ "name": "integer"
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ "x-openapi": {
40
+ "method": "get",
41
+ "path": "/stores/{store_id}/items",
42
+ "operationId": "listStoreItems",
43
+ "params": [
44
+ {
45
+ "in": "path",
46
+ "name": "store_id",
47
+ "from": "argument:store-id",
48
+ "required": true
49
+ },
50
+ {
51
+ "in": "query",
52
+ "name": "limit",
53
+ "from": "option:limit"
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ {
59
+ "name": "create",
60
+ "description": "Create an item in a store.",
61
+ "arguments": [
62
+ {
63
+ "name": "store-id",
64
+ "required": true
65
+ }
66
+ ],
67
+ "options": [
68
+ {
69
+ "name": "sku",
70
+ "group": "body",
71
+ "required": true,
72
+ "arguments": [
73
+ {
74
+ "name": "string"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "name": "quantity",
80
+ "group": "body",
81
+ "arguments": [
82
+ {
83
+ "name": "integer"
84
+ }
85
+ ]
86
+ }
87
+ ],
88
+ "x-openapi": {
89
+ "method": "post",
90
+ "path": "/stores/{store_id}/items",
91
+ "operationId": "createStoreItem",
92
+ "contentType": "application/json",
93
+ "params": [
94
+ {
95
+ "in": "path",
96
+ "name": "store_id",
97
+ "from": "argument:store-id",
98
+ "required": true
99
+ }
100
+ ],
101
+ "body": {
102
+ "style": "flatten",
103
+ "contentType": "application/json",
104
+ "properties": [
105
+ {
106
+ "name": "sku",
107
+ "from": "option:sku",
108
+ "jsonPath": "sku",
109
+ "encoding": "string",
110
+ "required": true
111
+ },
112
+ {
113
+ "name": "quantity",
114
+ "from": "option:quantity",
115
+ "jsonPath": "quantity",
116
+ "encoding": "integer"
117
+ }
118
+ ]
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "name": "retrieve",
124
+ "aliases": [
125
+ "get"
126
+ ],
127
+ "description": "Retrieve a store item.",
128
+ "arguments": [
129
+ {
130
+ "name": "store-id",
131
+ "required": true
132
+ },
133
+ {
134
+ "name": "item-id",
135
+ "required": true
136
+ }
137
+ ],
138
+ "x-openapi": {
139
+ "method": "get",
140
+ "path": "/stores/{store_id}/items/{item_id}",
141
+ "operationId": "retrieveStoreItem",
142
+ "params": [
143
+ {
144
+ "in": "path",
145
+ "name": "store_id",
146
+ "from": "argument:store-id",
147
+ "required": true
148
+ },
149
+ {
150
+ "in": "path",
151
+ "name": "item_id",
152
+ "from": "argument:item-id",
153
+ "required": true
154
+ }
155
+ ]
156
+ }
157
+ },
158
+ {
159
+ "name": "archive",
160
+ "description": "Archive a store item.",
161
+ "arguments": [
162
+ {
163
+ "name": "store-id",
164
+ "required": true
165
+ },
166
+ {
167
+ "name": "item-id",
168
+ "required": true
169
+ }
170
+ ],
171
+ "x-openapi": {
172
+ "method": "post",
173
+ "path": "/stores/{store_id}/items/{item_id}/archive",
174
+ "operationId": "archiveStoreItem",
175
+ "params": [
176
+ {
177
+ "in": "path",
178
+ "name": "store_id",
179
+ "from": "argument:store-id",
180
+ "required": true
181
+ },
182
+ {
183
+ "in": "path",
184
+ "name": "item_id",
185
+ "from": "argument:item-id",
186
+ "required": true
187
+ }
188
+ ]
189
+ }
190
+ }
191
+ ]
192
+ }
193
+ ]
194
+ }
195
+ ]
196
+ }
@@ -0,0 +1,61 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Chat API
4
+ version: 1.0.0
5
+ servers:
6
+ - url: https://api.chat.test/v1
7
+ security:
8
+ - bearerAuth: []
9
+ paths:
10
+ /chat/completions:
11
+ post:
12
+ operationId: createChatCompletion
13
+ summary: Creates a model response for the given chat conversation.
14
+ tags:
15
+ - Chat
16
+ requestBody:
17
+ required: true
18
+ content:
19
+ application/json:
20
+ schema:
21
+ type: object
22
+ required: [model, messages]
23
+ properties:
24
+ model:
25
+ type: string
26
+ description: ID of the model to use.
27
+ enum: [gpt-4o, gpt-4o-mini, o3]
28
+ messages:
29
+ type: array
30
+ description: A list of messages comprising the conversation.
31
+ items:
32
+ type: object
33
+ properties:
34
+ role:
35
+ type: string
36
+ content:
37
+ type: string
38
+ temperature:
39
+ type: number
40
+ default: 1
41
+ description: Sampling temperature.
42
+ stop:
43
+ type: array
44
+ items:
45
+ type: string
46
+ stream:
47
+ type: boolean
48
+ default: false
49
+ response_format:
50
+ type: object
51
+ properties:
52
+ type:
53
+ type: string
54
+ responses:
55
+ "200":
56
+ description: OK
57
+ components:
58
+ securitySchemes:
59
+ bearerAuth:
60
+ type: http
61
+ scheme: bearer
@@ -0,0 +1,153 @@
1
+ {
2
+ "opencli": "1.0.0",
3
+ "info": {
4
+ "title": "chat-api",
5
+ "version": "1.0.0"
6
+ },
7
+ "x-openapi": {
8
+ "servers": [
9
+ "https://api.chat.test/v1"
10
+ ],
11
+ "security": [
12
+ {
13
+ "type": "http",
14
+ "kind": "bearer",
15
+ "envVar": "CHAT_API_API_KEY",
16
+ "scheme": "bearer"
17
+ }
18
+ ]
19
+ },
20
+ "commands": [
21
+ {
22
+ "name": "chat",
23
+ "commands": [
24
+ {
25
+ "name": "completions",
26
+ "commands": [
27
+ {
28
+ "name": "create",
29
+ "description": "Creates a model response for the given chat conversation.",
30
+ "options": [
31
+ {
32
+ "name": "model",
33
+ "group": "body",
34
+ "required": true,
35
+ "description": "ID of the model to use.",
36
+ "arguments": [
37
+ {
38
+ "name": "string",
39
+ "acceptedValues": [
40
+ "gpt-4o",
41
+ "gpt-4o-mini",
42
+ "o3"
43
+ ]
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "name": "messages",
49
+ "group": "body",
50
+ "required": true,
51
+ "description": "A list of messages comprising the conversation.",
52
+ "arguments": [
53
+ {
54
+ "name": "json",
55
+ "arity": {
56
+ "minimum": 0
57
+ }
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "name": "temperature",
63
+ "group": "body",
64
+ "description": "Sampling temperature.",
65
+ "arguments": [
66
+ {
67
+ "name": "number"
68
+ }
69
+ ]
70
+ },
71
+ {
72
+ "name": "stop",
73
+ "group": "body",
74
+ "arguments": [
75
+ {
76
+ "name": "string",
77
+ "arity": {
78
+ "minimum": 0
79
+ }
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "stream",
85
+ "group": "body"
86
+ },
87
+ {
88
+ "name": "response-format",
89
+ "group": "body",
90
+ "arguments": [
91
+ {
92
+ "name": "json"
93
+ }
94
+ ]
95
+ }
96
+ ],
97
+ "x-openapi": {
98
+ "method": "post",
99
+ "path": "/chat/completions",
100
+ "operationId": "createChatCompletion",
101
+ "contentType": "application/json",
102
+ "body": {
103
+ "style": "flatten",
104
+ "contentType": "application/json",
105
+ "properties": [
106
+ {
107
+ "name": "model",
108
+ "from": "option:model",
109
+ "jsonPath": "model",
110
+ "encoding": "string",
111
+ "required": true
112
+ },
113
+ {
114
+ "name": "messages",
115
+ "from": "option:messages",
116
+ "jsonPath": "messages",
117
+ "encoding": "array",
118
+ "required": true
119
+ },
120
+ {
121
+ "name": "temperature",
122
+ "from": "option:temperature",
123
+ "jsonPath": "temperature",
124
+ "encoding": "number"
125
+ },
126
+ {
127
+ "name": "stop",
128
+ "from": "option:stop",
129
+ "jsonPath": "stop",
130
+ "encoding": "array"
131
+ },
132
+ {
133
+ "name": "stream",
134
+ "from": "option:stream",
135
+ "jsonPath": "stream",
136
+ "encoding": "boolean"
137
+ },
138
+ {
139
+ "name": "response_format",
140
+ "from": "option:response-format",
141
+ "jsonPath": "response_format",
142
+ "encoding": "json"
143
+ }
144
+ ]
145
+ }
146
+ }
147
+ }
148
+ ]
149
+ }
150
+ ]
151
+ }
152
+ ]
153
+ }
@@ -0,0 +1,99 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+
4
+ import { describe, expect, it } from 'vitest';
5
+
6
+ import { deferencedOpenAPI } from '@xyd-js/openapi';
7
+
8
+ import { openapi2opencli } from '../index';
9
+ import { type Allowlist, diffSurfaces, opencliToSurface } from '../src/surface';
10
+ import { parseOpenaiCli } from '../oracle/parseOpenaiCli';
11
+
12
+ const ORACLE_DIR = path.join(__dirname, '../oracle');
13
+ const SURFACE = path.join(ORACLE_DIR, 'surface.json');
14
+ const FLOOR = path.join(ORACLE_DIR, 'coverage.floor.json');
15
+ const REPORT = path.join(ORACLE_DIR, 'coverage.report.json');
16
+ // The OpenAI OpenAPI spec is already vendored in @xyd-js/openapi's fixtures.
17
+ const OPENAPI = path.join(__dirname, '../../xyd-openapi/__fixtures__/-2.complex.openai/input.yaml');
18
+
19
+ const REFRESH = process.env.ORACLE_REFRESH === '1';
20
+
21
+ // Known, intentional divergences (the burn-down backlog). Each needs a reason.
22
+ const allowlist: Allowlist = {
23
+ // Stainless injects a pagination flag on list endpoints that isn't in the spec.
24
+ oracleOnlyFlags: ['max-items'],
25
+ };
26
+
27
+ // ---- Oracle refresh (network; opt-in) ------------------------------------
28
+ describe.skipIf(!REFRESH)('oracle refresh (network)', () => {
29
+ it('fetch + parse openai-cli pkg/cmd → oracle/surface.json', async () => {
30
+ const head = await fetch('https://api.github.com/repos/openai/openai-cli/commits/main').then((r) => r.json());
31
+ const sha: string = head.sha;
32
+ const listing = await fetch(
33
+ `https://api.github.com/repos/openai/openai-cli/contents/pkg/cmd?ref=${sha}`,
34
+ ).then((r) => r.json());
35
+
36
+ const files: Record<string, string> = {};
37
+ for (const entry of listing as Array<{ name: string; download_url: string }>) {
38
+ if (!entry.name.endsWith('.go') || entry.name.endsWith('_test.go')) continue;
39
+ files[entry.name] = await fetch(entry.download_url).then((r) => r.text());
40
+ }
41
+
42
+ const surface = parseOpenaiCli(files);
43
+ fs.mkdirSync(ORACLE_DIR, { recursive: true });
44
+ fs.writeFileSync(SURFACE, `${JSON.stringify(surface, null, 2)}\n`);
45
+ fs.writeFileSync(
46
+ path.join(ORACLE_DIR, 'pins.json'),
47
+ `${JSON.stringify(
48
+ { repo: 'openai/openai-cli', commit: sha, files: Object.keys(files).length, commands: surface.commands.length },
49
+ null,
50
+ 2,
51
+ )}\n`,
52
+ );
53
+ expect(surface.commands.length).toBeGreaterThan(50);
54
+ }, 180000);
55
+ });
56
+
57
+ // ---- Conformance (offline; reads committed surface.json) ------------------
58
+ const hasOracle = fs.existsSync(SURFACE);
59
+
60
+ describe.skipIf(!hasOracle)('conformance: openapi → opencli surface vs openai-cli', () => {
61
+ it('matches the oracle command surface above the coverage floor', async () => {
62
+ const oracle = JSON.parse(fs.readFileSync(SURFACE, 'utf8'));
63
+ const doc = await deferencedOpenAPI(OPENAPI);
64
+ if (!doc) throw new Error(`vendored openai-openapi not found at ${OPENAPI}`);
65
+
66
+ const spec = openapi2opencli(doc, { cliName: 'openai' });
67
+ const ours = opencliToSurface(spec);
68
+ const diff = diffSurfaces(ours, oracle, allowlist);
69
+
70
+ fs.writeFileSync(
71
+ REPORT,
72
+ `${JSON.stringify(
73
+ {
74
+ l0Coverage: Number(diff.l0Coverage.toFixed(4)),
75
+ l1Coverage: Number(diff.l1Coverage.toFixed(4)),
76
+ oracleCommands: diff.oracleCommandCount,
77
+ ourCommands: diff.oursCommandCount,
78
+ matched: diff.commandsMatched.length,
79
+ onlyOracle: diff.commandsOnlyOracle.length,
80
+ onlyOurs: diff.commandsOnlyOurs.length,
81
+ sampleOnlyOracle: diff.commandsOnlyOracle.slice(0, 15),
82
+ sampleOnlyOurs: diff.commandsOnlyOurs.slice(0, 15),
83
+ sampleFlagDiffs: diff.perCommand.slice(0, 15),
84
+ },
85
+ null,
86
+ 2,
87
+ )}\n`,
88
+ );
89
+
90
+ // eslint-disable-next-line no-console
91
+ console.log(
92
+ `[conformance] L0 ${(diff.l0Coverage * 100).toFixed(1)}% L1 ${(diff.l1Coverage * 100).toFixed(1)}% ` +
93
+ `matched ${diff.commandsMatched.length}/${diff.oracleCommandCount} (ours ${diff.oursCommandCount})`,
94
+ );
95
+
96
+ const floor = fs.existsSync(FLOOR) ? JSON.parse(fs.readFileSync(FLOOR, 'utf8')).l0 : 0;
97
+ expect(diff.l0Coverage).toBeGreaterThanOrEqual(floor);
98
+ }, 180000);
99
+ });