@sap-ai-sdk/foundation-models 1.6.1-20250115013059.0 → 1.6.1-20250117013046.0

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 (251) hide show
  1. package/README.md +18 -0
  2. package/dist/azure-openai/azure-openai-chat-completion-response.d.ts +3 -3
  3. package/dist/azure-openai/azure-openai-chat-completion-response.d.ts.map +1 -1
  4. package/dist/azure-openai/azure-openai-chat-completion-response.js.map +1 -1
  5. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.d.ts +4 -4
  6. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.d.ts.map +1 -1
  7. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.js +2 -5
  8. package/dist/azure-openai/azure-openai-chat-completion-stream-chunk-response.js.map +1 -1
  9. package/dist/azure-openai/azure-openai-chat-completion-stream-response.d.ts +4 -4
  10. package/dist/azure-openai/azure-openai-chat-completion-stream-response.d.ts.map +1 -1
  11. package/dist/azure-openai/azure-openai-chat-completion-stream-response.js.map +1 -1
  12. package/dist/azure-openai/azure-openai-chat-completion-stream.d.ts +5 -4
  13. package/dist/azure-openai/azure-openai-chat-completion-stream.d.ts.map +1 -1
  14. package/dist/azure-openai/azure-openai-chat-completion-stream.js +9 -5
  15. package/dist/azure-openai/azure-openai-chat-completion-stream.js.map +1 -1
  16. package/dist/azure-openai/client/inference/schema/audio-response-format.js +1 -1
  17. package/dist/azure-openai/client/inference/schema/audio-response.d.ts +1 -1
  18. package/dist/azure-openai/client/inference/schema/audio-response.js +1 -1
  19. package/dist/azure-openai/client/inference/schema/audio-segment.js +1 -1
  20. package/dist/azure-openai/client/inference/schema/audio-verbose-response.d.ts +1 -1
  21. package/dist/azure-openai/client/inference/schema/azure-chat-extension-configuration.d.ts +3 -3
  22. package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.d.ts +3 -3
  23. package/dist/azure-openai/client/inference/schema/azure-chat-extension-type.js +1 -1
  24. package/dist/azure-openai/client/inference/schema/azure-chat-extensions-message-context.d.ts +3 -3
  25. package/dist/azure-openai/client/inference/schema/azure-cosmos-db-field-mapping-options.js +1 -1
  26. package/dist/azure-openai/client/inference/schema/azure-search-index-field-mapping-options.js +1 -1
  27. package/dist/azure-openai/client/inference/schema/azure-search-query-type.js +1 -1
  28. package/dist/azure-openai/client/inference/schema/chat-completion-choice-common.js +1 -1
  29. package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts +4 -0
  30. package/dist/azure-openai/client/inference/schema/chat-completion-choice-log-probs.d.ts.map +1 -1
  31. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.d.ts +11 -0
  32. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.d.ts.map +1 -0
  33. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.js +7 -0
  34. package/dist/azure-openai/client/inference/schema/chat-completion-function-call-option.js.map +1 -0
  35. package/dist/azure-openai/client/inference/schema/chat-completion-function-call.js +1 -1
  36. package/dist/azure-openai/client/inference/schema/chat-completion-functions.d.ts +17 -0
  37. package/dist/azure-openai/client/inference/schema/chat-completion-functions.d.ts.map +1 -0
  38. package/dist/azure-openai/client/inference/schema/chat-completion-functions.js +2 -0
  39. package/dist/azure-openai/client/inference/schema/chat-completion-functions.js.map +1 -0
  40. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.d.ts +25 -0
  41. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.d.ts.map +1 -0
  42. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.js +7 -0
  43. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-call-chunk.js.map +1 -0
  44. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.d.ts +6 -0
  45. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.d.ts.map +1 -0
  46. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.js +2 -0
  47. package/dist/azure-openai/client/inference/schema/chat-completion-message-tool-calls.js.map +1 -0
  48. package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts +2 -2
  49. package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.d.ts.map +1 -1
  50. package/dist/azure-openai/client/inference/schema/chat-completion-named-tool-choice.js +1 -1
  51. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.d.ts +7 -0
  52. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.d.ts.map +1 -0
  53. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.js +2 -0
  54. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message-content-part.js.map +1 -0
  55. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts +40 -0
  56. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.d.ts.map +1 -0
  57. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.js +2 -0
  58. package/dist/azure-openai/client/inference/schema/chat-completion-request-assistant-message.js.map +1 -0
  59. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts +19 -0
  60. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.d.ts.map +1 -0
  61. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.js +7 -0
  62. package/dist/azure-openai/client/inference/schema/chat-completion-request-function-message.js.map +1 -0
  63. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts +14 -7
  64. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.d.ts.map +1 -1
  65. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js +5 -0
  66. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.js.map +1 -1
  67. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.d.ts +14 -0
  68. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.d.ts.map +1 -0
  69. package/dist/azure-openai/client/inference/schema/{chat-completion-request-message-content-part-type.js → chat-completion-request-message-content-part-refusal.js} +2 -2
  70. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.js.map +1 -0
  71. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts +4 -2
  72. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.d.ts.map +1 -1
  73. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.js +1 -1
  74. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts +2 -3
  75. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.d.ts.map +1 -1
  76. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js +0 -5
  77. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-function.js.map +1 -1
  78. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts +2 -3
  79. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.d.ts.map +1 -1
  80. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js +0 -5
  81. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-tool.js.map +1 -1
  82. package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts +6 -16
  83. package/dist/azure-openai/client/inference/schema/chat-completion-request-message.d.ts.map +1 -1
  84. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.d.ts +6 -0
  85. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.d.ts.map +1 -0
  86. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.js +2 -0
  87. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.js.map +1 -0
  88. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.d.ts +19 -0
  89. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.d.ts.map +1 -0
  90. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.js +2 -0
  91. package/dist/azure-openai/client/inference/schema/chat-completion-request-system-message.js.map +1 -0
  92. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.d.ts +6 -0
  93. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.d.ts.map +1 -0
  94. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.js +2 -0
  95. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.js.map +1 -0
  96. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts +19 -0
  97. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts.map +1 -0
  98. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.js +2 -0
  99. package/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.js.map +1 -0
  100. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.d.ts +7 -0
  101. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.d.ts.map +1 -0
  102. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.js +2 -0
  103. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.js.map +1 -0
  104. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.d.ts +20 -0
  105. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.d.ts.map +1 -0
  106. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.js +2 -0
  107. package/dist/azure-openai/client/inference/schema/chat-completion-request-user-message.js.map +1 -0
  108. package/dist/azure-openai/client/inference/schema/chat-completion-response-message-role.js +1 -1
  109. package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts +6 -2
  110. package/dist/azure-openai/client/inference/schema/chat-completion-response-message.d.ts.map +1 -1
  111. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.d.ts +12 -0
  112. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.d.ts.map +1 -0
  113. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.js +7 -0
  114. package/dist/azure-openai/client/inference/schema/chat-completion-stream-options.js.map +1 -0
  115. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.d.ts +34 -0
  116. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.d.ts.map +1 -0
  117. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.js +2 -0
  118. package/dist/azure-openai/client/inference/schema/chat-completion-stream-response-delta.js.map +1 -0
  119. package/dist/azure-openai/client/inference/schema/chat-completion-token-logprob.js +1 -1
  120. package/dist/azure-openai/client/inference/schema/chat-completion-tool-choice-option.d.ts +1 -1
  121. package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts +6 -14
  122. package/dist/azure-openai/client/inference/schema/chat-completion-tool.d.ts.map +1 -1
  123. package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts +5 -1
  124. package/dist/azure-openai/client/inference/schema/chat-completions-request-common.d.ts.map +1 -1
  125. package/dist/azure-openai/client/inference/schema/chat-completions-request-common.js +1 -1
  126. package/dist/azure-openai/client/inference/schema/citation.d.ts +1 -1
  127. package/dist/azure-openai/client/inference/schema/citation.js +1 -1
  128. package/dist/azure-openai/client/inference/schema/completion-usage.d.ts +9 -0
  129. package/dist/azure-openai/client/inference/schema/completion-usage.d.ts.map +1 -1
  130. package/dist/azure-openai/client/inference/schema/completion-usage.js +1 -1
  131. package/dist/azure-openai/client/inference/schema/content-filter-result-base.js +1 -1
  132. package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts +111 -27
  133. package/dist/azure-openai/client/inference/schema/create-chat-completion-request.d.ts.map +1 -1
  134. package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts +58 -8
  135. package/dist/azure-openai/client/inference/schema/create-chat-completion-response.d.ts.map +1 -1
  136. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.d.ts +62 -0
  137. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.d.ts.map +1 -0
  138. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.js +2 -0
  139. package/dist/azure-openai/client/inference/schema/create-chat-completion-stream-response.js.map +1 -0
  140. package/dist/azure-openai/client/inference/schema/create-completion-request.d.ts +134 -0
  141. package/dist/azure-openai/client/inference/schema/create-completion-request.d.ts.map +1 -0
  142. package/dist/azure-openai/client/inference/schema/create-completion-request.js +7 -0
  143. package/dist/azure-openai/client/inference/schema/create-completion-request.js.map +1 -0
  144. package/dist/azure-openai/client/inference/schema/create-completion-response.d.ts +56 -0
  145. package/dist/azure-openai/client/inference/schema/create-completion-response.d.ts.map +1 -0
  146. package/dist/azure-openai/client/inference/schema/create-completion-response.js +2 -0
  147. package/dist/azure-openai/client/inference/schema/create-completion-response.js.map +1 -0
  148. package/dist/azure-openai/client/inference/schema/error-base.js +1 -1
  149. package/dist/azure-openai/client/inference/schema/function-object.d.ts +20 -0
  150. package/dist/azure-openai/client/inference/schema/function-object.d.ts.map +1 -0
  151. package/dist/azure-openai/client/inference/schema/function-object.js +2 -0
  152. package/dist/azure-openai/client/inference/schema/function-object.js.map +1 -0
  153. package/dist/azure-openai/client/inference/schema/function-parameters.d.ts +7 -0
  154. package/dist/azure-openai/client/inference/schema/function-parameters.d.ts.map +1 -0
  155. package/dist/azure-openai/client/inference/schema/function-parameters.js +7 -0
  156. package/dist/azure-openai/client/inference/schema/function-parameters.js.map +1 -0
  157. package/dist/azure-openai/client/inference/schema/generate-images-response.d.ts +1 -1
  158. package/dist/azure-openai/client/inference/schema/image-quality.js +1 -1
  159. package/dist/azure-openai/client/inference/schema/image-result.d.ts +1 -1
  160. package/dist/azure-openai/client/inference/schema/image-size.js +1 -1
  161. package/dist/azure-openai/client/inference/schema/image-style.js +1 -1
  162. package/dist/azure-openai/client/inference/schema/images-response-format.js +1 -1
  163. package/dist/azure-openai/client/inference/schema/index.d.ts +26 -13
  164. package/dist/azure-openai/client/inference/schema/index.d.ts.map +1 -1
  165. package/dist/azure-openai/client/inference/schema/index.js +27 -14
  166. package/dist/azure-openai/client/inference/schema/index.js.map +1 -1
  167. package/dist/azure-openai/client/inference/schema/inner-error-code.js +1 -1
  168. package/dist/azure-openai/client/inference/schema/on-your-data-api-key-authentication-options.js +1 -1
  169. package/dist/azure-openai/client/inference/schema/on-your-data-authentication-type.js +1 -1
  170. package/dist/azure-openai/client/inference/schema/on-your-data-connection-string-authentication-options.js +1 -1
  171. package/dist/azure-openai/client/inference/schema/on-your-data-deployment-name-vectorization-source.js +1 -1
  172. package/dist/azure-openai/client/inference/schema/on-your-data-system-assigned-managed-identity-authentication-options.js +1 -1
  173. package/dist/azure-openai/client/inference/schema/on-your-data-user-assigned-managed-identity-authentication-options.js +1 -1
  174. package/dist/azure-openai/client/inference/schema/on-your-data-vectorization-source-type.js +1 -1
  175. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.d.ts +6 -0
  176. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.d.ts.map +1 -0
  177. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.js +7 -0
  178. package/dist/azure-openai/client/inference/schema/parallel-tool-calls.js.map +1 -0
  179. package/dist/azure-openai/client/inference/schema/response-format-json-object.d.ts +10 -0
  180. package/dist/azure-openai/client/inference/schema/response-format-json-object.d.ts.map +1 -0
  181. package/dist/azure-openai/client/inference/schema/response-format-json-object.js +7 -0
  182. package/dist/azure-openai/client/inference/schema/response-format-json-object.js.map +1 -0
  183. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.d.ts +5 -0
  184. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.d.ts.map +1 -0
  185. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.js +7 -0
  186. package/dist/azure-openai/client/inference/schema/response-format-json-schema-schema.js.map +1 -0
  187. package/dist/azure-openai/client/inference/schema/response-format-json-schema.d.ts +26 -0
  188. package/dist/azure-openai/client/inference/schema/response-format-json-schema.d.ts.map +1 -0
  189. package/dist/azure-openai/client/inference/schema/response-format-json-schema.js +2 -0
  190. package/dist/azure-openai/client/inference/schema/response-format-json-schema.js.map +1 -0
  191. package/dist/azure-openai/client/inference/schema/response-format-text.d.ts +10 -0
  192. package/dist/azure-openai/client/inference/schema/response-format-text.d.ts.map +1 -0
  193. package/dist/azure-openai/client/inference/schema/response-format-text.js +7 -0
  194. package/dist/azure-openai/client/inference/schema/response-format-text.js.map +1 -0
  195. package/dist/azure-openai/client/inference/schema/tool-call-type.js +1 -1
  196. package/dist/azure-openai/model-types.d.ts +1 -1
  197. package/dist/azure-openai/model-types.js +1 -1
  198. package/dist/index.d.ts +1 -1
  199. package/dist/index.d.ts.map +1 -1
  200. package/package.json +5 -4
  201. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts +0 -5
  202. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.d.ts.map +0 -1
  203. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js +0 -7
  204. package/dist/azure-openai/client/inference/schema/chat-completion-function-parameters.js.map +0 -1
  205. package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts +0 -16
  206. package/dist/azure-openai/client/inference/schema/chat-completion-function.d.ts.map +0 -1
  207. package/dist/azure-openai/client/inference/schema/chat-completion-function.js +0 -2
  208. package/dist/azure-openai/client/inference/schema/chat-completion-function.js.map +0 -1
  209. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts +0 -19
  210. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.d.ts.map +0 -1
  211. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js +0 -2
  212. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-assistant.js.map +0 -1
  213. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts +0 -5
  214. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.d.ts.map +0 -1
  215. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part-type.js.map +0 -1
  216. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts +0 -11
  217. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.d.ts.map +0 -1
  218. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js +0 -2
  219. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-content-part.js.map +0 -1
  220. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts +0 -5
  221. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.d.ts.map +0 -1
  222. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js +0 -7
  223. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-role.js.map +0 -1
  224. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts +0 -12
  225. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.d.ts.map +0 -1
  226. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js +0 -7
  227. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-system.js.map +0 -1
  228. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts +0 -10
  229. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.d.ts.map +0 -1
  230. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js +0 -2
  231. package/dist/azure-openai/client/inference/schema/chat-completion-request-message-user.js.map +0 -1
  232. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts +0 -7
  233. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.d.ts.map +0 -1
  234. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js +0 -7
  235. package/dist/azure-openai/client/inference/schema/chat-completion-response-format.js.map +0 -1
  236. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts +0 -5
  237. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.d.ts.map +0 -1
  238. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js +0 -7
  239. package/dist/azure-openai/client/inference/schema/chat-completion-response-object.js.map +0 -1
  240. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts +0 -5
  241. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.d.ts.map +0 -1
  242. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js +0 -7
  243. package/dist/azure-openai/client/inference/schema/chat-completion-tool-type.js.map +0 -1
  244. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts +0 -27
  245. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.d.ts.map +0 -1
  246. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js +0 -2
  247. package/dist/azure-openai/client/inference/schema/chat-completions-response-common.js.map +0 -1
  248. package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts +0 -6
  249. package/dist/azure-openai/client/inference/schema/image-detail-level.d.ts.map +0 -1
  250. package/dist/azure-openai/client/inference/schema/image-detail-level.js +0 -7
  251. package/dist/azure-openai/client/inference/schema/image-detail-level.js.map +0 -1
@@ -0,0 +1,40 @@
1
+ import type { AzureOpenAiChatCompletionRequestAssistantMessageContentPart } from './chat-completion-request-assistant-message-content-part.js';
2
+ import type { AzureOpenAiChatCompletionMessageToolCalls } from './chat-completion-message-tool-calls.js';
3
+ /**
4
+ * Representation of the 'AzureOpenAiChatCompletionRequestAssistantMessage' schema.
5
+ */
6
+ export type AzureOpenAiChatCompletionRequestAssistantMessage = {
7
+ /**
8
+ * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
9
+ *
10
+ */
11
+ content?: string | AzureOpenAiChatCompletionRequestAssistantMessageContentPart[] | null;
12
+ /**
13
+ * The refusal message by the assistant.
14
+ */
15
+ refusal?: string | null;
16
+ /**
17
+ * The role of the messages author, in this case `assistant`.
18
+ */
19
+ role: 'assistant';
20
+ /**
21
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
22
+ */
23
+ name?: string;
24
+ tool_calls?: AzureOpenAiChatCompletionMessageToolCalls;
25
+ /**
26
+ * Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
27
+ * @deprecated
28
+ */
29
+ function_call?: ({
30
+ /**
31
+ * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
32
+ */
33
+ arguments: string;
34
+ /**
35
+ * The name of the function to call.
36
+ */
37
+ name: string;
38
+ } & Record<string, any>) | null;
39
+ } & Record<string, any>;
40
+ //# sourceMappingURL=chat-completion-request-assistant-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-assistant-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-assistant-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2DAA2D,EAAE,MAAM,6DAA6D,CAAC;AAC/I,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,yCAAyC,CAAC;AACzG;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D;;;OAGG;IACH,OAAO,CAAC,EACJ,MAAM,GACN,2DAA2D,EAAE,GAC7D,IAAI,CAAC;IACT;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,yCAAyC,CAAC;IACvD;;;OAGG;IACH,aAAa,CAAC,EACV,CAAC;QACC;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAClB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACxB,IAAI,CAAC;CACV,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-request-assistant-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-assistant-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-assistant-message.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Representation of the 'AzureOpenAiChatCompletionRequestFunctionMessage' schema.
3
+ * @deprecated
4
+ */
5
+ export type AzureOpenAiChatCompletionRequestFunctionMessage = {
6
+ /**
7
+ * The role of the messages author, in this case `function`.
8
+ */
9
+ role: 'function';
10
+ /**
11
+ * The contents of the function message.
12
+ */
13
+ content: string | null;
14
+ /**
15
+ * The name of the function to call.
16
+ */
17
+ name: string;
18
+ } & Record<string, any>;
19
+ //# sourceMappingURL=chat-completion-request-function-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-function-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-function-message.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=chat-completion-request-function-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-function-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-function-message.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -1,15 +1,22 @@
1
- import type { AzureOpenAiImageDetailLevel } from './image-detail-level.js';
2
1
  /**
3
2
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartImage' schema.
4
3
  */
5
4
  export type AzureOpenAiChatCompletionRequestMessageContentPartImage = {
6
- type: string;
7
- } & {
8
5
  /**
9
- * Either a URL of the image or the base64 encoded image data.
10
- * Format: "uri".
6
+ * The type of the content part.
11
7
  */
12
- url: string;
13
- detail?: AzureOpenAiImageDetailLevel;
8
+ type: 'image_url';
9
+ image_url: {
10
+ /**
11
+ * Either a URL of the image or the base64 encoded image data.
12
+ * Format: "uri".
13
+ */
14
+ url: string;
15
+ /**
16
+ * Specifies the detail level of the image. Learn more in the [Vision guide](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/gpt-with-vision?tabs=rest%2Csystem-assigned%2Cresource#detail-parameter-settings-in-image-processing-low-high-auto).
17
+ * Default: "auto".
18
+ */
19
+ detail?: 'auto' | 'low' | 'high';
20
+ } & Record<string, any>;
14
21
  } & Record<string, any>;
15
22
  //# sourceMappingURL=chat-completion-request-message-content-part-image.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-image.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E;;GAEG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACtC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-content-part-image.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,uDAAuD,GAAG;IACpE;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE;QACT;;;WAGG;QACH,GAAG,EAAE,MAAM,CAAC;QACZ;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;KAClC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,2 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
1
6
  export {};
2
7
  //# sourceMappingURL=chat-completion-request-message-content-part-image.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-image.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"chat-completion-request-message-content-part-image.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-image.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartRefusal' schema.
3
+ */
4
+ export type AzureOpenAiChatCompletionRequestMessageContentPartRefusal = {
5
+ /**
6
+ * The type of the content part.
7
+ */
8
+ type: 'refusal';
9
+ /**
10
+ * The refusal message generated by the model.
11
+ */
12
+ refusal: string;
13
+ } & Record<string, any>;
14
+ //# sourceMappingURL=chat-completion-request-message-content-part-refusal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-message-content-part-refusal.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /*
2
- * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
2
+ * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
3
3
  *
4
4
  * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
5
  */
6
6
  export {};
7
- //# sourceMappingURL=chat-completion-request-message-content-part-type.js.map
7
+ //# sourceMappingURL=chat-completion-request-message-content-part-refusal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-message-content-part-refusal.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-refusal.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -2,8 +2,10 @@
2
2
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageContentPartText' schema.
3
3
  */
4
4
  export type AzureOpenAiChatCompletionRequestMessageContentPartText = {
5
- type: string;
6
- } & {
5
+ /**
6
+ * The type of the content part.
7
+ */
8
+ type: 'text';
7
9
  /**
8
10
  * The text content.
9
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-content-part-text.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-content-part-text.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-content-part-text.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
2
+ * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
3
3
  *
4
4
  * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
5
  */
@@ -1,9 +1,8 @@
1
+ import type { AzureOpenAiChatCompletionRequestMessage } from './chat-completion-request-message.js';
1
2
  /**
2
3
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageFunction' schema.
3
4
  */
4
- export type AzureOpenAiChatCompletionRequestMessageFunction = {
5
- role: string;
6
- } & {
5
+ export type AzureOpenAiChatCompletionRequestMessageFunction = AzureOpenAiChatCompletionRequestMessage & {
7
6
  /**
8
7
  * The role of the messages author, in this case `function`.
9
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-function.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,+CAA+C,GAAG;IAC5D,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-function.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG;;GAEG;AACH,MAAM,MAAM,+CAA+C,GACzD,uCAAuC,GAAG;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,7 +1,2 @@
1
- /*
2
- * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
- *
4
- * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=chat-completion-request-message-function.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-function.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"chat-completion-request-message-function.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-function.ts"],"names":[],"mappings":""}
@@ -1,9 +1,8 @@
1
+ import type { AzureOpenAiChatCompletionRequestMessage } from './chat-completion-request-message.js';
1
2
  /**
2
3
  * Representation of the 'AzureOpenAiChatCompletionRequestMessageTool' schema.
3
4
  */
4
- export type AzureOpenAiChatCompletionRequestMessageTool = {
5
- role: string;
6
- } & {
5
+ export type AzureOpenAiChatCompletionRequestMessageTool = AzureOpenAiChatCompletionRequestMessage & {
7
6
  /**
8
7
  * Tool call that this message is responding to.
9
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-tool.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,IAAI,EAAE,MAAM,CAAC;CACd,GAAG;IACF;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message-tool.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACpG;;GAEG;AACH,MAAM,MAAM,2CAA2C,GACrD,uCAAuC,GAAG;IACxC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -1,7 +1,2 @@
1
- /*
2
- * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
3
- *
4
- * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
- */
6
1
  export {};
7
2
  //# sourceMappingURL=chat-completion-request-message-tool.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message-tool.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
1
+ {"version":3,"file":"chat-completion-request-message-tool.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message-tool.ts"],"names":[],"mappings":""}
@@ -1,20 +1,10 @@
1
- import type { AzureOpenAiChatCompletionRequestMessageSystem } from './chat-completion-request-message-system.js';
2
- import type { AzureOpenAiChatCompletionRequestMessageUser } from './chat-completion-request-message-user.js';
3
- import type { AzureOpenAiChatCompletionRequestMessageAssistant } from './chat-completion-request-message-assistant.js';
4
- import type { AzureOpenAiChatCompletionRequestMessageTool } from './chat-completion-request-message-tool.js';
5
- import type { AzureOpenAiChatCompletionRequestMessageFunction } from './chat-completion-request-message-function.js';
1
+ import type { AzureOpenAiChatCompletionRequestSystemMessage } from './chat-completion-request-system-message.js';
2
+ import type { AzureOpenAiChatCompletionRequestUserMessage } from './chat-completion-request-user-message.js';
3
+ import type { AzureOpenAiChatCompletionRequestAssistantMessage } from './chat-completion-request-assistant-message.js';
4
+ import type { AzureOpenAiChatCompletionRequestToolMessage } from './chat-completion-request-tool-message.js';
5
+ import type { AzureOpenAiChatCompletionRequestFunctionMessage } from './chat-completion-request-function-message.js';
6
6
  /**
7
7
  * Representation of the 'AzureOpenAiChatCompletionRequestMessage' schema.
8
8
  */
9
- export type AzureOpenAiChatCompletionRequestMessage = ({
10
- role: 'system';
11
- } & AzureOpenAiChatCompletionRequestMessageSystem) | ({
12
- role: 'user';
13
- } & AzureOpenAiChatCompletionRequestMessageUser) | ({
14
- role: 'assistant';
15
- } & AzureOpenAiChatCompletionRequestMessageAssistant) | ({
16
- role: 'tool';
17
- } & AzureOpenAiChatCompletionRequestMessageTool) | ({
18
- role: 'function';
19
- } & AzureOpenAiChatCompletionRequestMessageFunction);
9
+ export type AzureOpenAiChatCompletionRequestMessage = AzureOpenAiChatCompletionRequestSystemMessage | AzureOpenAiChatCompletionRequestUserMessage | AzureOpenAiChatCompletionRequestAssistantMessage | AzureOpenAiChatCompletionRequestToolMessage | AzureOpenAiChatCompletionRequestFunctionMessage;
20
10
  //# sourceMappingURL=chat-completion-request-message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-request-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,6CAA6C,CAAC;AACjH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,gDAAgD,CAAC;AACvH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,+CAA+C,CAAC;AACrH;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAC/C,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAAG,6CAA6C,CAAC,GACpE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,2CAA2C,CAAC,GAChE,CAAC;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG,gDAAgD,CAAC,GAC1E,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,2CAA2C,CAAC,GAChE,CAAC;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,GAAG,+CAA+C,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-request-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,6CAA6C,CAAC;AACjH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,gDAAgD,CAAC;AACvH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AAC7G,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,+CAA+C,CAAC;AACrH;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAC/C,6CAA6C,GAC7C,2CAA2C,GAC3C,gDAAgD,GAChD,2CAA2C,GAC3C,+CAA+C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { AzureOpenAiChatCompletionRequestMessageContentPartText } from './chat-completion-request-message-content-part-text.js';
2
+ /**
3
+ * Representation of the 'AzureOpenAiChatCompletionRequestSystemMessageContentPart' schema.
4
+ */
5
+ export type AzureOpenAiChatCompletionRequestSystemMessageContentPart = AzureOpenAiChatCompletionRequestMessageContentPartText;
6
+ //# sourceMappingURL=chat-completion-request-system-message-content-part.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-system-message-content-part.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,wDAAwD,GAClE,sDAAsD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-request-system-message-content-part.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-system-message-content-part.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message-content-part.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import type { AzureOpenAiChatCompletionRequestSystemMessageContentPart } from './chat-completion-request-system-message-content-part.js';
2
+ /**
3
+ * Representation of the 'AzureOpenAiChatCompletionRequestSystemMessage' schema.
4
+ */
5
+ export type AzureOpenAiChatCompletionRequestSystemMessage = {
6
+ /**
7
+ * The contents of the system message.
8
+ */
9
+ content: string | AzureOpenAiChatCompletionRequestSystemMessageContentPart[];
10
+ /**
11
+ * The role of the messages author, in this case `system`.
12
+ */
13
+ role: 'system';
14
+ /**
15
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
16
+ */
17
+ name?: string;
18
+ } & Record<string, any>;
19
+ //# sourceMappingURL=chat-completion-request-system-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-system-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wDAAwD,EAAE,MAAM,0DAA0D,CAAC;AACzI;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,wDAAwD,EAAE,CAAC;IAC7E;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-request-system-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-system-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-system-message.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { AzureOpenAiChatCompletionRequestMessageContentPartText } from './chat-completion-request-message-content-part-text.js';
2
+ /**
3
+ * Representation of the 'AzureOpenAiChatCompletionRequestToolMessageContentPart' schema.
4
+ */
5
+ export type AzureOpenAiChatCompletionRequestToolMessageContentPart = AzureOpenAiChatCompletionRequestMessageContentPartText;
6
+ //# sourceMappingURL=chat-completion-request-tool-message-content-part.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-tool-message-content-part.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAChE,sDAAsD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-request-tool-message-content-part.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-tool-message-content-part.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message-content-part.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import type { AzureOpenAiChatCompletionRequestToolMessageContentPart } from './chat-completion-request-tool-message-content-part.js';
2
+ /**
3
+ * Representation of the 'AzureOpenAiChatCompletionRequestToolMessage' schema.
4
+ */
5
+ export type AzureOpenAiChatCompletionRequestToolMessage = {
6
+ /**
7
+ * The role of the messages author, in this case `tool`.
8
+ */
9
+ role: 'tool';
10
+ /**
11
+ * The contents of the tool message.
12
+ */
13
+ content: string | AzureOpenAiChatCompletionRequestToolMessageContentPart[];
14
+ /**
15
+ * Tool call that this message is responding to.
16
+ */
17
+ tool_call_id: string;
18
+ } & Record<string, any>;
19
+ //# sourceMappingURL=chat-completion-request-tool-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-tool-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,sDAAsD,EAAE,CAAC;IAC3E;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-request-tool-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-tool-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-tool-message.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { AzureOpenAiChatCompletionRequestMessageContentPartText } from './chat-completion-request-message-content-part-text.js';
2
+ import type { AzureOpenAiChatCompletionRequestMessageContentPartImage } from './chat-completion-request-message-content-part-image.js';
3
+ /**
4
+ * Representation of the 'AzureOpenAiChatCompletionRequestUserMessageContentPart' schema.
5
+ */
6
+ export type AzureOpenAiChatCompletionRequestUserMessageContentPart = AzureOpenAiChatCompletionRequestMessageContentPartText | AzureOpenAiChatCompletionRequestMessageContentPartImage;
7
+ //# sourceMappingURL=chat-completion-request-user-message-content-part.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-user-message-content-part.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI,OAAO,KAAK,EAAE,uDAAuD,EAAE,MAAM,yDAAyD,CAAC;AACvI;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAC9D,sDAAsD,GACtD,uDAAuD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-request-user-message-content-part.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-user-message-content-part.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message-content-part.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import type { AzureOpenAiChatCompletionRequestUserMessageContentPart } from './chat-completion-request-user-message-content-part.js';
2
+ /**
3
+ * Representation of the 'AzureOpenAiChatCompletionRequestUserMessage' schema.
4
+ */
5
+ export type AzureOpenAiChatCompletionRequestUserMessage = {
6
+ /**
7
+ * The contents of the user message.
8
+ *
9
+ */
10
+ content: string | AzureOpenAiChatCompletionRequestUserMessageContentPart[];
11
+ /**
12
+ * The role of the messages author, in this case `user`.
13
+ */
14
+ role: 'user';
15
+ /**
16
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
17
+ */
18
+ name?: string;
19
+ } & Record<string, any>;
20
+ //# sourceMappingURL=chat-completion-request-user-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-user-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,wDAAwD,CAAC;AACrI;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;OAGG;IACH,OAAO,EAAE,MAAM,GAAG,sDAAsD,EAAE,CAAC;IAC3E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-request-user-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-request-user-message.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-request-user-message.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
2
+ * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
3
3
  *
4
4
  * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
5
  */
@@ -6,11 +6,15 @@ import type { AzureOpenAiAzureChatExtensionsMessageContext } from './azure-chat-
6
6
  * A chat completion message generated by the model.
7
7
  */
8
8
  export type AzureOpenAiChatCompletionResponseMessage = {
9
- role?: AzureOpenAiChatCompletionResponseMessageRole;
9
+ role: AzureOpenAiChatCompletionResponseMessageRole;
10
+ /**
11
+ * The refusal message generated by the model.
12
+ */
13
+ refusal: string | null;
10
14
  /**
11
15
  * The contents of the message.
12
16
  */
13
- content?: string | null;
17
+ content: string | null;
14
18
  /**
15
19
  * The tool calls generated by the model, such as function calls.
16
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"chat-completion-response-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AACvG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,CAAC,EAAE,4CAA4C,CAAC;IACpD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,wCAAwC,EAAE,CAAC;IACxD,aAAa,CAAC,EAAE,qCAAqC,CAAC;IACtD,OAAO,CAAC,EAAE,4CAA4C,CAAC;CACxD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"chat-completion-response-message.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-response-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AACvG,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,4CAA4C,CAAC;AAC/G;;GAEG;AACH,MAAM,MAAM,wCAAwC,GAAG;IACrD,IAAI,EAAE,4CAA4C,CAAC;IACnD;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,wCAAwC,EAAE,CAAC;IACxD,aAAa,CAAC,EAAE,qCAAqC,CAAC;IACtD,OAAO,CAAC,EAAE,4CAA4C,CAAC;CACxD,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Options for streaming response. Only set this when you set `stream: true`.
3
+ *
4
+ */
5
+ export type AzureOpenAiChatCompletionStreamOptions = ({
6
+ /**
7
+ * If set, an additional chunk will be streamed before the `data: [DONE]` message. The `usage` field on this chunk shows the token usage statistics for the entire request, and the `choices` field will always be an empty array. All other chunks will also include a `usage` field, but with a null value.
8
+ *
9
+ */
10
+ include_usage?: boolean;
11
+ } & Record<string, any>) | null;
12
+ //# sourceMappingURL=chat-completion-stream-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-stream-options.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-options.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,MAAM,sCAAsC,GAC9C,CAAC;IACC;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GACxB,IAAI,CAAC"}
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
3
+ *
4
+ * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=chat-completion-stream-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-stream-options.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-options.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,34 @@
1
+ import type { AzureOpenAiChatCompletionMessageToolCallChunk } from './chat-completion-message-tool-call-chunk.js';
2
+ /**
3
+ * A chat completion delta generated by streamed model responses.
4
+ */
5
+ export type AzureOpenAiChatCompletionStreamResponseDelta = {
6
+ /**
7
+ * The contents of the chunk message.
8
+ */
9
+ content?: string | null;
10
+ /**
11
+ * Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.
12
+ * @deprecated
13
+ */
14
+ function_call?: {
15
+ /**
16
+ * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
17
+ */
18
+ arguments?: string;
19
+ /**
20
+ * The name of the function to call.
21
+ */
22
+ name?: string;
23
+ } & Record<string, any>;
24
+ tool_calls?: AzureOpenAiChatCompletionMessageToolCallChunk[];
25
+ /**
26
+ * The role of the author of this message.
27
+ */
28
+ role?: 'system' | 'user' | 'assistant' | 'tool';
29
+ /**
30
+ * The refusal message generated by the model.
31
+ */
32
+ refusal?: string | null;
33
+ } & Record<string, any>;
34
+ //# sourceMappingURL=chat-completion-stream-response-delta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-stream-response-delta.d.ts","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-response-delta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,8CAA8C,CAAC;AAClH;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;OAGG;IACH,aAAa,CAAC,EAAE;QACd;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACxB,UAAU,CAAC,EAAE,6CAA6C,EAAE,CAAC;IAC7D;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chat-completion-stream-response-delta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-completion-stream-response-delta.js","sourceRoot":"","sources":["../../../../../src/azure-openai/client/inference/schema/chat-completion-stream-response-delta.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
2
+ * Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
3
3
  *
4
4
  * This is a generated file powered by the SAP Cloud SDK for JavaScript.
5
5
  */