@sap-ai-sdk/prompt-registry 2.3.1-20251222013429.0 → 2.4.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 (287) hide show
  1. package/dist/client/prompt-registry/index.d.ts +1 -0
  2. package/dist/client/prompt-registry/index.d.ts.map +1 -1
  3. package/dist/client/prompt-registry/index.js +1 -0
  4. package/dist/client/prompt-registry/index.js.map +1 -1
  5. package/dist/client/prompt-registry/orchestration-configs-api.d.ts +89 -0
  6. package/dist/client/prompt-registry/orchestration-configs-api.d.ts.map +1 -0
  7. package/dist/client/prompt-registry/orchestration-configs-api.js +90 -0
  8. package/dist/client/prompt-registry/orchestration-configs-api.js.map +1 -0
  9. package/dist/client/prompt-registry/prompt-templates-api.d.ts +42 -6
  10. package/dist/client/prompt-registry/prompt-templates-api.d.ts.map +1 -1
  11. package/dist/client/prompt-registry/prompt-templates-api.js +36 -18
  12. package/dist/client/prompt-registry/prompt-templates-api.js.map +1 -1
  13. package/dist/client/prompt-registry/schema/assistant-chat-message.d.ts +12 -0
  14. package/dist/client/prompt-registry/schema/assistant-chat-message.d.ts.map +1 -0
  15. package/dist/client/prompt-registry/schema/assistant-chat-message.js +2 -0
  16. package/dist/client/prompt-registry/schema/assistant-chat-message.js.map +1 -0
  17. package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.d.ts +13 -0
  18. package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.d.ts.map +1 -0
  19. package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.js +2 -0
  20. package/dist/client/prompt-registry/schema/azure-content-safety-input-filter-config.js.map +1 -0
  21. package/dist/client/prompt-registry/schema/azure-content-safety-input.d.ts +15 -0
  22. package/dist/client/prompt-registry/schema/azure-content-safety-input.d.ts.map +1 -0
  23. package/dist/client/prompt-registry/schema/azure-content-safety-input.js +2 -0
  24. package/dist/client/prompt-registry/schema/azure-content-safety-input.js.map +1 -0
  25. package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.d.ts +13 -0
  26. package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.d.ts.map +1 -0
  27. package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.js +2 -0
  28. package/dist/client/prompt-registry/schema/azure-content-safety-output-filter-config.js.map +1 -0
  29. package/dist/client/prompt-registry/schema/azure-content-safety-output.d.ts +15 -0
  30. package/dist/client/prompt-registry/schema/azure-content-safety-output.d.ts.map +1 -0
  31. package/dist/client/prompt-registry/schema/azure-content-safety-output.js +2 -0
  32. package/dist/client/prompt-registry/schema/azure-content-safety-output.js.map +1 -0
  33. package/dist/client/prompt-registry/schema/azure-threshold.d.ts +5 -0
  34. package/dist/client/prompt-registry/schema/azure-threshold.d.ts.map +1 -0
  35. package/dist/client/prompt-registry/schema/azure-threshold.js +7 -0
  36. package/dist/client/prompt-registry/schema/azure-threshold.js.map +1 -0
  37. package/dist/client/prompt-registry/schema/chat-message-content.d.ts +6 -0
  38. package/dist/client/prompt-registry/schema/chat-message-content.d.ts.map +1 -0
  39. package/dist/client/prompt-registry/schema/chat-message-content.js +2 -0
  40. package/dist/client/prompt-registry/schema/chat-message-content.js.map +1 -0
  41. package/dist/client/prompt-registry/schema/chat-message.d.ts +10 -0
  42. package/dist/client/prompt-registry/schema/chat-message.d.ts.map +1 -0
  43. package/dist/client/prompt-registry/schema/chat-message.js +2 -0
  44. package/dist/client/prompt-registry/schema/chat-message.js.map +1 -0
  45. package/dist/client/prompt-registry/schema/data-repository-type.d.ts +5 -0
  46. package/dist/client/prompt-registry/schema/data-repository-type.d.ts.map +1 -0
  47. package/dist/client/prompt-registry/schema/data-repository-type.js +7 -0
  48. package/dist/client/prompt-registry/schema/data-repository-type.js.map +1 -0
  49. package/dist/client/prompt-registry/schema/developer-chat-message.d.ts +9 -0
  50. package/dist/client/prompt-registry/schema/developer-chat-message.d.ts.map +1 -0
  51. package/dist/client/prompt-registry/schema/developer-chat-message.js +2 -0
  52. package/dist/client/prompt-registry/schema/developer-chat-message.js.map +1 -0
  53. package/dist/client/prompt-registry/schema/document-grounding-filter.d.ts +33 -0
  54. package/dist/client/prompt-registry/schema/document-grounding-filter.d.ts.map +1 -0
  55. package/dist/client/prompt-registry/schema/document-grounding-filter.js +2 -0
  56. package/dist/client/prompt-registry/schema/document-grounding-filter.js.map +1 -0
  57. package/dist/client/prompt-registry/schema/dpi-config.d.ts +34 -0
  58. package/dist/client/prompt-registry/schema/dpi-config.d.ts.map +1 -0
  59. package/dist/client/prompt-registry/schema/dpi-config.js +2 -0
  60. package/dist/client/prompt-registry/schema/dpi-config.js.map +1 -0
  61. package/dist/client/prompt-registry/schema/dpi-custom-entity.d.ts +15 -0
  62. package/dist/client/prompt-registry/schema/dpi-custom-entity.d.ts.map +1 -0
  63. package/dist/client/prompt-registry/schema/dpi-custom-entity.js +2 -0
  64. package/dist/client/prompt-registry/schema/dpi-custom-entity.js.map +1 -0
  65. package/dist/client/prompt-registry/schema/dpi-entities.d.ts +5 -0
  66. package/dist/client/prompt-registry/schema/dpi-entities.d.ts.map +1 -0
  67. package/dist/client/prompt-registry/schema/dpi-entities.js +7 -0
  68. package/dist/client/prompt-registry/schema/dpi-entities.js.map +1 -0
  69. package/dist/client/prompt-registry/schema/dpi-entity-config.d.ts +7 -0
  70. package/dist/client/prompt-registry/schema/dpi-entity-config.d.ts.map +1 -0
  71. package/dist/client/prompt-registry/schema/dpi-entity-config.js +2 -0
  72. package/dist/client/prompt-registry/schema/dpi-entity-config.js.map +1 -0
  73. package/dist/client/prompt-registry/schema/dpi-method-constant.d.ts +12 -0
  74. package/dist/client/prompt-registry/schema/dpi-method-constant.d.ts.map +1 -0
  75. package/dist/client/prompt-registry/schema/dpi-method-constant.js +7 -0
  76. package/dist/client/prompt-registry/schema/dpi-method-constant.js.map +1 -0
  77. package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.d.ts +7 -0
  78. package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.d.ts.map +1 -0
  79. package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.js +7 -0
  80. package/dist/client/prompt-registry/schema/dpi-method-fabricated-data.js.map +1 -0
  81. package/dist/client/prompt-registry/schema/dpi-standard-entity.d.ts +14 -0
  82. package/dist/client/prompt-registry/schema/dpi-standard-entity.d.ts.map +1 -0
  83. package/dist/client/prompt-registry/schema/dpi-standard-entity.js +2 -0
  84. package/dist/client/prompt-registry/schema/dpi-standard-entity.js.map +1 -0
  85. package/dist/client/prompt-registry/schema/filtering-module-config.d.ts +16 -0
  86. package/dist/client/prompt-registry/schema/filtering-module-config.d.ts.map +1 -0
  87. package/dist/client/prompt-registry/schema/filtering-module-config.js +2 -0
  88. package/dist/client/prompt-registry/schema/filtering-module-config.js.map +1 -0
  89. package/dist/client/prompt-registry/schema/filtering-stream-options.d.ts +11 -0
  90. package/dist/client/prompt-registry/schema/filtering-stream-options.d.ts.map +1 -0
  91. package/dist/client/prompt-registry/schema/filtering-stream-options.js +7 -0
  92. package/dist/client/prompt-registry/schema/filtering-stream-options.js.map +1 -0
  93. package/dist/client/prompt-registry/schema/global-stream-options.d.ts +28 -0
  94. package/dist/client/prompt-registry/schema/global-stream-options.d.ts.map +1 -0
  95. package/dist/client/prompt-registry/schema/global-stream-options.js +7 -0
  96. package/dist/client/prompt-registry/schema/global-stream-options.js.map +1 -0
  97. package/dist/client/prompt-registry/schema/grounding-filter-id.d.ts +5 -0
  98. package/dist/client/prompt-registry/schema/grounding-filter-id.d.ts.map +1 -0
  99. package/dist/client/prompt-registry/schema/grounding-filter-id.js +7 -0
  100. package/dist/client/prompt-registry/schema/grounding-filter-id.js.map +1 -0
  101. package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.d.ts +14 -0
  102. package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.d.ts.map +1 -0
  103. package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.js +7 -0
  104. package/dist/client/prompt-registry/schema/grounding-filter-search-configuration.js.map +1 -0
  105. package/dist/client/prompt-registry/schema/grounding-module-config.d.ts +36 -0
  106. package/dist/client/prompt-registry/schema/grounding-module-config.d.ts.map +1 -0
  107. package/dist/client/prompt-registry/schema/grounding-module-config.js +2 -0
  108. package/dist/client/prompt-registry/schema/grounding-module-config.js.map +1 -0
  109. package/dist/client/prompt-registry/schema/image-content-url.d.ts +11 -0
  110. package/dist/client/prompt-registry/schema/image-content-url.d.ts.map +1 -0
  111. package/dist/client/prompt-registry/schema/image-content-url.js +7 -0
  112. package/dist/client/prompt-registry/schema/image-content-url.js.map +1 -0
  113. package/dist/client/prompt-registry/schema/index.d.ts +65 -1
  114. package/dist/client/prompt-registry/schema/index.d.ts.map +1 -1
  115. package/dist/client/prompt-registry/schema/index.js +65 -1
  116. package/dist/client/prompt-registry/schema/index.js.map +1 -1
  117. package/dist/client/prompt-registry/schema/input-filter-config.d.ts +7 -0
  118. package/dist/client/prompt-registry/schema/input-filter-config.d.ts.map +1 -0
  119. package/dist/client/prompt-registry/schema/input-filter-config.js +2 -0
  120. package/dist/client/prompt-registry/schema/input-filter-config.js.map +1 -0
  121. package/dist/client/prompt-registry/schema/input-filtering-config.d.ts +12 -0
  122. package/dist/client/prompt-registry/schema/input-filtering-config.d.ts.map +1 -0
  123. package/dist/client/prompt-registry/schema/input-filtering-config.js +2 -0
  124. package/dist/client/prompt-registry/schema/input-filtering-config.js.map +1 -0
  125. package/dist/client/prompt-registry/schema/key-value-list-pair.d.ts +11 -0
  126. package/dist/client/prompt-registry/schema/key-value-list-pair.d.ts.map +1 -0
  127. package/dist/client/prompt-registry/schema/key-value-list-pair.js +7 -0
  128. package/dist/client/prompt-registry/schema/key-value-list-pair.js.map +1 -0
  129. package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.d.ts +13 -0
  130. package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.d.ts.map +1 -0
  131. package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.js +2 -0
  132. package/dist/client/prompt-registry/schema/llama-guard-38-b-filter-config.js.map +1 -0
  133. package/dist/client/prompt-registry/schema/llama-guard-38-b.d.ts +20 -0
  134. package/dist/client/prompt-registry/schema/llama-guard-38-b.d.ts.map +1 -0
  135. package/dist/client/prompt-registry/schema/llama-guard-38-b.js +7 -0
  136. package/dist/client/prompt-registry/schema/llama-guard-38-b.js.map +1 -0
  137. package/dist/client/prompt-registry/schema/llm-model-details.d.ts +44 -0
  138. package/dist/client/prompt-registry/schema/llm-model-details.d.ts.map +1 -0
  139. package/dist/client/prompt-registry/schema/llm-model-details.js +7 -0
  140. package/dist/client/prompt-registry/schema/llm-model-details.js.map +1 -0
  141. package/dist/client/prompt-registry/schema/masking-module-config.d.ts +19 -0
  142. package/dist/client/prompt-registry/schema/masking-module-config.d.ts.map +1 -0
  143. package/dist/client/prompt-registry/schema/masking-module-config.js +2 -0
  144. package/dist/client/prompt-registry/schema/masking-module-config.js.map +1 -0
  145. package/dist/client/prompt-registry/schema/masking-provider-config.d.ts +6 -0
  146. package/dist/client/prompt-registry/schema/masking-provider-config.d.ts.map +1 -0
  147. package/dist/client/prompt-registry/schema/masking-provider-config.js +2 -0
  148. package/dist/client/prompt-registry/schema/masking-provider-config.js.map +1 -0
  149. package/dist/client/prompt-registry/schema/message-tool-call.d.ts +27 -0
  150. package/dist/client/prompt-registry/schema/message-tool-call.d.ts.map +1 -0
  151. package/dist/client/prompt-registry/schema/message-tool-call.js +7 -0
  152. package/dist/client/prompt-registry/schema/message-tool-call.js.map +1 -0
  153. package/dist/client/prompt-registry/schema/message-tool-calls.d.ts +6 -0
  154. package/dist/client/prompt-registry/schema/message-tool-calls.d.ts.map +1 -0
  155. package/dist/client/prompt-registry/schema/message-tool-calls.js +2 -0
  156. package/dist/client/prompt-registry/schema/message-tool-calls.js.map +1 -0
  157. package/dist/client/prompt-registry/schema/module-configs.d.ts +16 -0
  158. package/dist/client/prompt-registry/schema/module-configs.d.ts.map +1 -0
  159. package/dist/client/prompt-registry/schema/module-configs.js +2 -0
  160. package/dist/client/prompt-registry/schema/module-configs.js.map +1 -0
  161. package/dist/client/prompt-registry/schema/orchestration-config-delete-response.d.ts +7 -0
  162. package/dist/client/prompt-registry/schema/orchestration-config-delete-response.d.ts.map +1 -0
  163. package/dist/client/prompt-registry/schema/orchestration-config-delete-response.js +7 -0
  164. package/dist/client/prompt-registry/schema/orchestration-config-delete-response.js.map +1 -0
  165. package/dist/client/prompt-registry/schema/orchestration-config-get-response.d.ts +22 -0
  166. package/dist/client/prompt-registry/schema/orchestration-config-get-response.d.ts.map +1 -0
  167. package/dist/client/prompt-registry/schema/orchestration-config-get-response.js +2 -0
  168. package/dist/client/prompt-registry/schema/orchestration-config-get-response.js.map +1 -0
  169. package/dist/client/prompt-registry/schema/orchestration-config-list-response.d.ts +9 -0
  170. package/dist/client/prompt-registry/schema/orchestration-config-list-response.d.ts.map +1 -0
  171. package/dist/client/prompt-registry/schema/orchestration-config-list-response.js +2 -0
  172. package/dist/client/prompt-registry/schema/orchestration-config-list-response.js.map +1 -0
  173. package/dist/client/prompt-registry/schema/orchestration-config-post-request.d.ts +23 -0
  174. package/dist/client/prompt-registry/schema/orchestration-config-post-request.d.ts.map +1 -0
  175. package/dist/client/prompt-registry/schema/orchestration-config-post-request.js +2 -0
  176. package/dist/client/prompt-registry/schema/orchestration-config-post-request.js.map +1 -0
  177. package/dist/client/prompt-registry/schema/orchestration-config-post-response.d.ts +14 -0
  178. package/dist/client/prompt-registry/schema/orchestration-config-post-response.d.ts.map +1 -0
  179. package/dist/client/prompt-registry/schema/orchestration-config-post-response.js +7 -0
  180. package/dist/client/prompt-registry/schema/orchestration-config-post-response.js.map +1 -0
  181. package/dist/client/prompt-registry/schema/orchestration-config-resource.d.ts +22 -0
  182. package/dist/client/prompt-registry/schema/orchestration-config-resource.d.ts.map +1 -0
  183. package/dist/client/prompt-registry/schema/orchestration-config-resource.js +2 -0
  184. package/dist/client/prompt-registry/schema/orchestration-config-resource.js.map +1 -0
  185. package/dist/client/prompt-registry/schema/orchestration-config.d.ts +10 -0
  186. package/dist/client/prompt-registry/schema/orchestration-config.d.ts.map +1 -0
  187. package/dist/client/prompt-registry/schema/orchestration-config.js +2 -0
  188. package/dist/client/prompt-registry/schema/orchestration-config.js.map +1 -0
  189. package/dist/client/prompt-registry/schema/output-filter-config.d.ts +7 -0
  190. package/dist/client/prompt-registry/schema/output-filter-config.d.ts.map +1 -0
  191. package/dist/client/prompt-registry/schema/output-filter-config.js +2 -0
  192. package/dist/client/prompt-registry/schema/output-filter-config.js.map +1 -0
  193. package/dist/client/prompt-registry/schema/output-filtering-config.d.ts +14 -0
  194. package/dist/client/prompt-registry/schema/output-filtering-config.d.ts.map +1 -0
  195. package/dist/client/prompt-registry/schema/output-filtering-config.js +2 -0
  196. package/dist/client/prompt-registry/schema/output-filtering-config.js.map +1 -0
  197. package/dist/client/prompt-registry/schema/prompt-template-get-response.d.ts +1 -0
  198. package/dist/client/prompt-registry/schema/prompt-template-get-response.d.ts.map +1 -1
  199. package/dist/client/prompt-registry/schema/prompt-template-post-request.d.ts +3 -0
  200. package/dist/client/prompt-registry/schema/prompt-template-post-request.d.ts.map +1 -1
  201. package/dist/client/prompt-registry/schema/prompt-template-spec.d.ts +2 -2
  202. package/dist/client/prompt-registry/schema/prompt-template-spec.d.ts.map +1 -1
  203. package/dist/client/prompt-registry/schema/prompt-template-substitution-response.d.ts +2 -2
  204. package/dist/client/prompt-registry/schema/prompt-template-substitution-response.d.ts.map +1 -1
  205. package/dist/client/prompt-registry/schema/prompt-template.d.ts +7 -0
  206. package/dist/client/prompt-registry/schema/prompt-template.d.ts.map +1 -0
  207. package/dist/client/prompt-registry/schema/prompt-template.js +2 -0
  208. package/dist/client/prompt-registry/schema/prompt-template.js.map +1 -0
  209. package/dist/client/prompt-registry/schema/prompt-templating-module-config.d.ts +15 -0
  210. package/dist/client/prompt-registry/schema/prompt-templating-module-config.d.ts.map +1 -0
  211. package/dist/client/prompt-registry/schema/prompt-templating-module-config.js +2 -0
  212. package/dist/client/prompt-registry/schema/prompt-templating-module-config.js.map +1 -0
  213. package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.d.ts +15 -0
  214. package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.d.ts.map +1 -0
  215. package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.js +2 -0
  216. package/dist/client/prompt-registry/schema/runtime-orchestration-config-file.js.map +1 -0
  217. package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.d.ts +24 -0
  218. package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.d.ts.map +1 -0
  219. package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.js +7 -0
  220. package/dist/client/prompt-registry/schema/sap-document-translation-apply-to-selector.js.map +1 -0
  221. package/dist/client/prompt-registry/schema/sap-document-translation-input.d.ts +36 -0
  222. package/dist/client/prompt-registry/schema/sap-document-translation-input.d.ts.map +1 -0
  223. package/dist/client/prompt-registry/schema/sap-document-translation-input.js +2 -0
  224. package/dist/client/prompt-registry/schema/sap-document-translation-input.js.map +1 -0
  225. package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.d.ts +6 -0
  226. package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.d.ts.map +1 -0
  227. package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.js +2 -0
  228. package/dist/client/prompt-registry/schema/sap-document-translation-output-target-language.js.map +1 -0
  229. package/dist/client/prompt-registry/schema/sap-document-translation-output.d.ts +20 -0
  230. package/dist/client/prompt-registry/schema/sap-document-translation-output.d.ts.map +1 -0
  231. package/dist/client/prompt-registry/schema/sap-document-translation-output.js +2 -0
  232. package/dist/client/prompt-registry/schema/sap-document-translation-output.js.map +1 -0
  233. package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.d.ts +16 -0
  234. package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.d.ts.map +1 -0
  235. package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.js +2 -0
  236. package/dist/client/prompt-registry/schema/search-document-key-value-list-pair.js.map +1 -0
  237. package/dist/client/prompt-registry/schema/search-select-option-enum.d.ts +5 -0
  238. package/dist/client/prompt-registry/schema/search-select-option-enum.d.ts.map +1 -0
  239. package/dist/client/prompt-registry/schema/search-select-option-enum.js +7 -0
  240. package/dist/client/prompt-registry/schema/search-select-option-enum.js.map +1 -0
  241. package/dist/client/prompt-registry/schema/system-chat-message.d.ts +9 -0
  242. package/dist/client/prompt-registry/schema/system-chat-message.d.ts.map +1 -0
  243. package/dist/client/prompt-registry/schema/system-chat-message.js +2 -0
  244. package/dist/client/prompt-registry/schema/system-chat-message.js.map +1 -0
  245. package/dist/client/prompt-registry/schema/template-ref-by-id.d.ts +17 -0
  246. package/dist/client/prompt-registry/schema/template-ref-by-id.d.ts.map +1 -0
  247. package/dist/client/prompt-registry/schema/template-ref-by-id.js +7 -0
  248. package/dist/client/prompt-registry/schema/template-ref-by-id.js.map +1 -0
  249. package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts +27 -0
  250. package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.d.ts.map +1 -0
  251. package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.js +7 -0
  252. package/dist/client/prompt-registry/schema/template-ref-by-scenario-name-version.js.map +1 -0
  253. package/dist/client/prompt-registry/schema/template-ref.d.ts +12 -0
  254. package/dist/client/prompt-registry/schema/template-ref.d.ts.map +1 -0
  255. package/dist/client/prompt-registry/schema/template-ref.js +2 -0
  256. package/dist/client/prompt-registry/schema/template-ref.js.map +1 -0
  257. package/dist/client/prompt-registry/schema/template.d.ts +36 -3
  258. package/dist/client/prompt-registry/schema/template.d.ts.map +1 -1
  259. package/dist/client/prompt-registry/schema/templating-chat-message.d.ts +7 -0
  260. package/dist/client/prompt-registry/schema/templating-chat-message.d.ts.map +1 -0
  261. package/dist/client/prompt-registry/schema/templating-chat-message.js +2 -0
  262. package/dist/client/prompt-registry/schema/templating-chat-message.js.map +1 -0
  263. package/dist/client/prompt-registry/schema/tool-chat-message.d.ts +13 -0
  264. package/dist/client/prompt-registry/schema/tool-chat-message.d.ts.map +1 -0
  265. package/dist/client/prompt-registry/schema/tool-chat-message.js +2 -0
  266. package/dist/client/prompt-registry/schema/tool-chat-message.js.map +1 -0
  267. package/dist/client/prompt-registry/schema/translation-module-config.d.ts +16 -0
  268. package/dist/client/prompt-registry/schema/translation-module-config.d.ts.map +1 -0
  269. package/dist/client/prompt-registry/schema/translation-module-config.js +2 -0
  270. package/dist/client/prompt-registry/schema/translation-module-config.js.map +1 -0
  271. package/dist/client/prompt-registry/schema/user-chat-message-content-item.d.ts +10 -0
  272. package/dist/client/prompt-registry/schema/user-chat-message-content-item.d.ts.map +1 -0
  273. package/dist/client/prompt-registry/schema/user-chat-message-content-item.js +2 -0
  274. package/dist/client/prompt-registry/schema/user-chat-message-content-item.js.map +1 -0
  275. package/dist/client/prompt-registry/schema/user-chat-message-content.d.ts +6 -0
  276. package/dist/client/prompt-registry/schema/user-chat-message-content.d.ts.map +1 -0
  277. package/dist/client/prompt-registry/schema/user-chat-message-content.js +2 -0
  278. package/dist/client/prompt-registry/schema/user-chat-message-content.js.map +1 -0
  279. package/dist/client/prompt-registry/schema/user-chat-message.d.ts +9 -0
  280. package/dist/client/prompt-registry/schema/user-chat-message.d.ts.map +1 -0
  281. package/dist/client/prompt-registry/schema/user-chat-message.js +2 -0
  282. package/dist/client/prompt-registry/schema/user-chat-message.js.map +1 -0
  283. package/dist/zod/prompt-registry.zod.d.ts +2011 -10
  284. package/dist/zod/prompt-registry.zod.d.ts.map +1 -1
  285. package/dist/zod/prompt-registry.zod.js +1764 -728
  286. package/dist/zod/prompt-registry.zod.js.map +1 -1
  287. package/package.json +2 -2
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Representation of the 'TemplateRefByScenarioNameVersion' schema.
3
+ */
4
+ export type TemplateRefByScenarioNameVersion = {
5
+ /**
6
+ * Scenario name
7
+ * @example "some-scenario"
8
+ */
9
+ scenario: string;
10
+ /**
11
+ * Name of the template
12
+ * @example "some-template-name"
13
+ */
14
+ name: string;
15
+ /**
16
+ * Version of the template
17
+ * @example "some version, can be `latest`"
18
+ */
19
+ version: string;
20
+ /**
21
+ * Defines the scope that is searched for the referenced template. 'tenant' indicates the template is shared across all resource groups within the tenant, while 'resource_group' indicates the template is only accessible within the specific resource group.
22
+ *
23
+ * Default: "tenant".
24
+ */
25
+ scope?: 'resource_group' | 'tenant';
26
+ };
27
+ //# sourceMappingURL=template-ref-by-scenario-name-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-ref-by-scenario-name-version.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref-by-scenario-name-version.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,gBAAgB,GAAG,QAAQ,CAAC;CACrC,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=template-ref-by-scenario-name-version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-ref-by-scenario-name-version.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref-by-scenario-name-version.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,12 @@
1
+ import type { TemplateRefByID } from './template-ref-by-id.js';
2
+ import type { TemplateRefByScenarioNameVersion } from './template-ref-by-scenario-name-version.js';
3
+ /**
4
+ * Representation of the 'TemplateRef' schema.
5
+ */
6
+ export type TemplateRef = {
7
+ /**
8
+ * Reference to a template in the prompt registry by ID or by scenario, name and version
9
+ */
10
+ template_ref: TemplateRefByID | TemplateRefByScenarioNameVersion;
11
+ };
12
+ //# sourceMappingURL=template-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-ref.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AACnG;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,YAAY,EAAE,eAAe,GAAG,gCAAgC,CAAC;CAClE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=template-ref.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-ref.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template-ref.ts"],"names":[],"mappings":""}
@@ -1,7 +1,40 @@
1
- import type { SingleChatTemplate } from './single-chat-template.js';
2
- import type { MultiChatTemplate } from './multi-chat-template.js';
1
+ import type { TemplatingChatMessage } from './templating-chat-message.js';
2
+ import type { ResponseFormatText } from './response-format-text.js';
3
+ import type { ResponseFormatJsonObject } from './response-format-json-object.js';
4
+ import type { ResponseFormatJsonSchema } from './response-format-json-schema.js';
5
+ import type { ChatCompletionTool } from './chat-completion-tool.js';
3
6
  /**
4
7
  * Representation of the 'Template' schema.
8
+ * @example {
9
+ * "template": [
10
+ * {
11
+ * "role": "user",
12
+ * "content": "How can the features of AI in SAP BTP specifically {{'{{?groundingOutput}}'}}, be applied to {{'{{?inputContext}}'}}"
13
+ * }
14
+ * ],
15
+ * "defaults": {
16
+ * "inputContext": "The default text that will be used in the template if inputContext is not set"
17
+ * }
18
+ * }
5
19
  */
6
- export type Template = SingleChatTemplate | MultiChatTemplate;
20
+ export type Template = {
21
+ /**
22
+ * A chat message array to be formatted with values from placeholder_values. Both role and content can be templated. If messages_history is provided, the templated messages will be appended.
23
+ */
24
+ template: TemplatingChatMessage;
25
+ /**
26
+ * Optional default values for the template. If a parameter has no default it is required.
27
+ */
28
+ defaults?: Record<string, string>;
29
+ /**
30
+ * Response format that the model output should adhere to. This is the same as the OpenAI definition.
31
+ *
32
+ */
33
+ response_format?: ResponseFormatText | ResponseFormatJsonObject | ResponseFormatJsonSchema;
34
+ /**
35
+ * A list of tools the model may call. Used to provide a list of functions the model may generate JSON inputs for. This is the same as the OpenAI definition.
36
+ *
37
+ */
38
+ tools?: ChatCompletionTool[];
39
+ };
7
40
  //# sourceMappingURL=template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,kBAAkB,GAAG,iBAAiB,CAAC"}
1
+ {"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,QAAQ,EAAE,qBAAqB,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;;OAGG;IACH,eAAe,CAAC,EACZ,kBAAkB,GAClB,wBAAwB,GACxB,wBAAwB,CAAC;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ChatMessage } from './chat-message.js';
2
+ /**
3
+ * Representation of the 'TemplatingChatMessage' schema.
4
+ * Min Items: 1.
5
+ */
6
+ export type TemplatingChatMessage = ChatMessage[];
7
+ //# sourceMappingURL=templating-chat-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templating-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/templating-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,WAAW,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=templating-chat-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templating-chat-message.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/templating-chat-message.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { ChatMessageContent } from './chat-message-content.js';
2
+ /**
3
+ * Representation of the 'ToolChatMessage' schema.
4
+ */
5
+ export type ToolChatMessage = {
6
+ /**
7
+ * @example "tool"
8
+ */
9
+ role: 'tool';
10
+ tool_call_id: string;
11
+ content: ChatMessageContent;
12
+ };
13
+ //# sourceMappingURL=tool-chat-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/tool-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tool-chat-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-chat-message.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/tool-chat-message.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import type { SAPDocumentTranslationInput } from './sap-document-translation-input.js';
2
+ import type { SAPDocumentTranslationOutput } from './sap-document-translation-output.js';
3
+ /**
4
+ * Configuration for translation module
5
+ */
6
+ export type TranslationModuleConfig = {
7
+ /**
8
+ * Configuration for input translation
9
+ */
10
+ input?: SAPDocumentTranslationInput;
11
+ /**
12
+ * Configuration for output translation
13
+ */
14
+ output?: SAPDocumentTranslationOutput;
15
+ };
16
+ //# sourceMappingURL=translation-module-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-module-config.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/translation-module-config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACzF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,2BAA2B,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,4BAA4B,CAAC;CACvC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=translation-module-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-module-config.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/translation-module-config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import type { ImageContentUrl } from './image-content-url.js';
2
+ /**
3
+ * Representation of the 'UserChatMessageContentItem' schema.
4
+ */
5
+ export type UserChatMessageContentItem = {
6
+ type: 'text' | 'image_url';
7
+ text?: string;
8
+ image_url?: ImageContentUrl;
9
+ };
10
+ //# sourceMappingURL=user-chat-message-content-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-chat-message-content-item.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content-item.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=user-chat-message-content-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-chat-message-content-item.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content-item.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { UserChatMessageContentItem } from './user-chat-message-content-item.js';
2
+ /**
3
+ * Representation of the 'UserChatMessageContent' schema.
4
+ */
5
+ export type UserChatMessageContent = string | UserChatMessageContentItem[];
6
+ //# sourceMappingURL=user-chat-message-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-chat-message-content.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACtF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,0BAA0B,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=user-chat-message-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-chat-message-content.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message-content.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { UserChatMessageContent } from './user-chat-message-content.js';
2
+ /**
3
+ * Representation of the 'UserChatMessage' schema.
4
+ */
5
+ export type UserChatMessage = {
6
+ content: UserChatMessageContent;
7
+ role: 'user';
8
+ };
9
+ //# sourceMappingURL=user-chat-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-chat-message.d.ts","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,sBAAsB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=user-chat-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-chat-message.js","sourceRoot":"","sources":["../../../../src/client/prompt-registry/schema/user-chat-message.ts"],"names":[],"mappings":""}