@credal/sdk 0.1.7 → 0.1.9

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 (451) hide show
  1. package/dist/cjs/BaseClient.d.ts +27 -0
  2. package/dist/cjs/{api/resources/copilots/types/PolicyTrigger.js → BaseClient.js} +1 -3
  3. package/dist/cjs/Client.d.ts +3 -24
  4. package/dist/cjs/Client.js +5 -7
  5. package/dist/cjs/api/resources/common/types/Collaborator.d.ts +1 -4
  6. package/dist/cjs/api/resources/common/types/Collaborator.js +1 -3
  7. package/dist/cjs/api/resources/common/types/CustomMetadataValue.d.ts +0 -3
  8. package/dist/cjs/api/resources/common/types/CustomMetadataValue.js +1 -3
  9. package/dist/cjs/api/resources/common/types/ExternalResourceId.d.ts +1 -4
  10. package/dist/cjs/api/resources/common/types/ExternalResourceId.js +1 -3
  11. package/dist/cjs/api/resources/common/types/Operator.d.ts +1 -4
  12. package/dist/cjs/api/resources/common/types/Operator.js +1 -3
  13. package/dist/cjs/api/resources/common/types/ResourceIdentifier.d.ts +1 -4
  14. package/dist/cjs/api/resources/common/types/ResourceIdentifier.js +1 -3
  15. package/dist/cjs/api/resources/common/types/ResourceType.d.ts +1 -4
  16. package/dist/cjs/api/resources/common/types/ResourceType.js +1 -3
  17. package/dist/cjs/api/resources/common/types/Role.d.ts +1 -4
  18. package/dist/cjs/api/resources/common/types/Role.js +1 -3
  19. package/dist/cjs/api/resources/common/types/Url.d.ts +0 -3
  20. package/dist/cjs/api/resources/common/types/Url.js +1 -3
  21. package/dist/cjs/api/resources/common/types/index.d.ts +5 -5
  22. package/dist/cjs/api/resources/common/types/index.js +5 -5
  23. package/dist/cjs/api/resources/copilots/client/Client.d.ts +4 -24
  24. package/dist/cjs/api/resources/copilots/client/Client.js +40 -42
  25. package/dist/cjs/api/resources/copilots/client/index.d.ts +0 -1
  26. package/dist/cjs/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.d.ts +0 -3
  27. package/dist/cjs/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.js +1 -3
  28. package/dist/cjs/api/resources/copilots/client/requests/CreateConversationRequest.d.ts +0 -3
  29. package/dist/cjs/api/resources/copilots/client/requests/CreateConversationRequest.js +1 -3
  30. package/dist/cjs/api/resources/copilots/client/requests/CreateCopilotRequest.d.ts +1 -4
  31. package/dist/cjs/api/resources/copilots/client/requests/CreateCopilotRequest.js +1 -3
  32. package/dist/cjs/api/resources/copilots/client/requests/DeleteCopilotRequest.d.ts +0 -3
  33. package/dist/cjs/api/resources/copilots/client/requests/DeleteCopilotRequest.js +1 -3
  34. package/dist/cjs/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.ts +1 -4
  35. package/dist/cjs/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.js +1 -3
  36. package/dist/cjs/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.d.ts +0 -3
  37. package/dist/cjs/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.js +1 -3
  38. package/dist/cjs/api/resources/copilots/client/requests/SendMessageRequest.d.ts +1 -4
  39. package/dist/cjs/api/resources/copilots/client/requests/SendMessageRequest.js +1 -3
  40. package/dist/cjs/api/resources/copilots/client/requests/StreamMessageRequest.d.ts +1 -4
  41. package/dist/cjs/api/resources/copilots/client/requests/StreamMessageRequest.js +1 -3
  42. package/dist/cjs/api/resources/copilots/client/requests/UpdateConfigurationRequest.d.ts +1 -4
  43. package/dist/cjs/api/resources/copilots/client/requests/UpdateConfigurationRequest.js +1 -3
  44. package/dist/cjs/api/resources/copilots/client/requests/index.d.ts +9 -9
  45. package/dist/cjs/api/resources/copilots/index.d.ts +1 -1
  46. package/dist/cjs/api/resources/copilots/index.js +1 -1
  47. package/dist/cjs/api/resources/copilots/types/AiEndpointConfiguration.d.ts +0 -3
  48. package/dist/cjs/api/resources/copilots/types/AiEndpointConfiguration.js +1 -3
  49. package/dist/cjs/api/resources/copilots/types/BlockedChunk.d.ts +0 -5
  50. package/dist/cjs/api/resources/copilots/types/BlockedChunk.js +1 -3
  51. package/dist/cjs/api/resources/copilots/types/BooleanFieldSchema.d.ts +0 -3
  52. package/dist/cjs/api/resources/copilots/types/BooleanFieldSchema.js +1 -3
  53. package/dist/cjs/api/resources/copilots/types/CollectionFilteredData.d.ts +1 -4
  54. package/dist/cjs/api/resources/copilots/types/CollectionFilteredData.js +1 -3
  55. package/dist/cjs/api/resources/copilots/types/Configuration.d.ts +1 -4
  56. package/dist/cjs/api/resources/copilots/types/Configuration.js +1 -3
  57. package/dist/cjs/api/resources/copilots/types/CreateConversationResponse.d.ts +0 -3
  58. package/dist/cjs/api/resources/copilots/types/CreateConversationResponse.js +1 -3
  59. package/dist/cjs/api/resources/copilots/types/CreateCopilotResponse.d.ts +0 -3
  60. package/dist/cjs/api/resources/copilots/types/CreateCopilotResponse.js +1 -3
  61. package/dist/cjs/api/resources/copilots/types/DataChunk.d.ts +0 -3
  62. package/dist/cjs/api/resources/copilots/types/DataChunk.js +1 -3
  63. package/dist/cjs/api/resources/copilots/types/DataFilter.d.ts +1 -4
  64. package/dist/cjs/api/resources/copilots/types/DataFilter.js +1 -3
  65. package/dist/cjs/api/resources/copilots/types/DatetimeFieldSchema.d.ts +1 -4
  66. package/dist/cjs/api/resources/copilots/types/DatetimeFieldSchema.js +1 -3
  67. package/dist/cjs/api/resources/copilots/types/DeleteCopilotResponse.d.ts +0 -3
  68. package/dist/cjs/api/resources/copilots/types/DeleteCopilotResponse.js +1 -3
  69. package/dist/cjs/api/resources/copilots/types/EndOfMessageChunk.d.ts +1 -5
  70. package/dist/cjs/api/resources/copilots/types/EndOfMessageChunk.js +1 -3
  71. package/dist/cjs/api/resources/copilots/types/ErrorChunk.d.ts +1 -4
  72. package/dist/cjs/api/resources/copilots/types/ErrorChunk.js +1 -3
  73. package/dist/cjs/api/resources/copilots/types/ErrorChunkData.d.ts +0 -3
  74. package/dist/cjs/api/resources/copilots/types/ErrorChunkData.js +1 -3
  75. package/dist/cjs/api/resources/copilots/types/FeedbackEnum.d.ts +1 -4
  76. package/dist/cjs/api/resources/copilots/types/FeedbackEnum.js +1 -3
  77. package/dist/cjs/api/resources/copilots/types/Filter.d.ts +1 -4
  78. package/dist/cjs/api/resources/copilots/types/Filter.js +1 -3
  79. package/dist/cjs/api/resources/copilots/types/FinalChunk.d.ts +1 -4
  80. package/dist/cjs/api/resources/copilots/types/FinalChunk.js +1 -3
  81. package/dist/cjs/api/resources/copilots/types/InitialChunk.d.ts +1 -4
  82. package/dist/cjs/api/resources/copilots/types/InitialChunk.js +1 -3
  83. package/dist/cjs/api/resources/copilots/types/InputVariable.d.ts +0 -3
  84. package/dist/cjs/api/resources/copilots/types/InputVariable.js +1 -3
  85. package/dist/cjs/api/resources/copilots/types/InsertedAuditLog.d.ts +0 -3
  86. package/dist/cjs/api/resources/copilots/types/InsertedAuditLog.js +1 -3
  87. package/dist/cjs/api/resources/copilots/types/MessageBlocked.d.ts +1 -5
  88. package/dist/cjs/api/resources/copilots/types/MessageBlocked.js +1 -3
  89. package/dist/cjs/api/resources/copilots/types/MessageFeedback.d.ts +1 -4
  90. package/dist/cjs/api/resources/copilots/types/MessageFeedback.js +1 -3
  91. package/dist/cjs/api/resources/copilots/types/MessageReply.d.ts +1 -5
  92. package/dist/cjs/api/resources/copilots/types/MessageReply.js +1 -3
  93. package/dist/cjs/api/resources/copilots/types/NumberFieldSchema.d.ts +1 -4
  94. package/dist/cjs/api/resources/copilots/types/NumberFieldSchema.js +1 -3
  95. package/dist/cjs/api/resources/copilots/types/ReferencedSource.d.ts +1 -4
  96. package/dist/cjs/api/resources/copilots/types/ReferencedSource.js +1 -3
  97. package/dist/cjs/api/resources/copilots/types/ResponseChunk.d.ts +0 -3
  98. package/dist/cjs/api/resources/copilots/types/ResponseChunk.js +1 -3
  99. package/dist/cjs/api/resources/copilots/types/SendAgentMessageResponse.d.ts +1 -4
  100. package/dist/cjs/api/resources/copilots/types/SendAgentMessageResponse.js +1 -3
  101. package/dist/cjs/api/resources/copilots/types/SendMessageResponse.d.ts +1 -4
  102. package/dist/cjs/api/resources/copilots/types/SendMessageResponse.js +1 -3
  103. package/dist/cjs/api/resources/copilots/types/StreamingChunk.d.ts +1 -4
  104. package/dist/cjs/api/resources/copilots/types/StreamingChunk.js +1 -3
  105. package/dist/cjs/api/resources/copilots/types/StringFieldSchema.d.ts +1 -4
  106. package/dist/cjs/api/resources/copilots/types/StringFieldSchema.js +1 -3
  107. package/dist/cjs/api/resources/copilots/types/WebSearchResult.d.ts +0 -3
  108. package/dist/cjs/api/resources/copilots/types/WebSearchResult.js +1 -3
  109. package/dist/cjs/api/resources/copilots/types/index.d.ts +24 -25
  110. package/dist/cjs/api/resources/copilots/types/index.js +24 -25
  111. package/dist/cjs/api/resources/documentCatalog/client/Client.d.ts +4 -24
  112. package/dist/cjs/api/resources/documentCatalog/client/Client.js +16 -18
  113. package/dist/cjs/api/resources/documentCatalog/client/index.d.ts +0 -1
  114. package/dist/cjs/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.d.ts +1 -4
  115. package/dist/cjs/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.js +1 -3
  116. package/dist/cjs/api/resources/documentCatalog/client/requests/index.d.ts +1 -1
  117. package/dist/cjs/api/resources/documentCatalog/index.d.ts +1 -1
  118. package/dist/cjs/api/resources/documentCatalog/index.js +1 -1
  119. package/dist/cjs/api/resources/documentCatalog/types/DocumentMetadataPatch.d.ts +1 -4
  120. package/dist/cjs/api/resources/documentCatalog/types/DocumentMetadataPatch.js +1 -3
  121. package/dist/cjs/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.d.ts +1 -4
  122. package/dist/cjs/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.js +1 -3
  123. package/dist/cjs/api/resources/documentCatalog/types/SyncSourceByUrlRequest.d.ts +0 -3
  124. package/dist/cjs/api/resources/documentCatalog/types/SyncSourceByUrlRequest.js +1 -3
  125. package/dist/cjs/api/resources/documentCatalog/types/SyncSourceByUrlResponse.d.ts +0 -3
  126. package/dist/cjs/api/resources/documentCatalog/types/SyncSourceByUrlResponse.js +1 -3
  127. package/dist/cjs/api/resources/documentCatalog/types/UploadDocumentResponse.d.ts +0 -3
  128. package/dist/cjs/api/resources/documentCatalog/types/UploadDocumentResponse.js +1 -3
  129. package/dist/cjs/api/resources/documentCatalog/types/index.d.ts +1 -1
  130. package/dist/cjs/api/resources/documentCatalog/types/index.js +1 -1
  131. package/dist/cjs/api/resources/documentCollections/client/Client.d.ts +4 -24
  132. package/dist/cjs/api/resources/documentCollections/client/Client.js +33 -35
  133. package/dist/cjs/api/resources/documentCollections/client/index.d.ts +0 -1
  134. package/dist/cjs/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.d.ts +1 -4
  135. package/dist/cjs/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.js +1 -3
  136. package/dist/cjs/api/resources/documentCollections/client/requests/CreateCollectionRequest.d.ts +1 -4
  137. package/dist/cjs/api/resources/documentCollections/client/requests/CreateCollectionRequest.js +1 -3
  138. package/dist/cjs/api/resources/documentCollections/client/requests/CreateMongoCollectionSyncRequest.d.ts +1 -4
  139. package/dist/cjs/api/resources/documentCollections/client/requests/CreateMongoCollectionSyncRequest.js +1 -3
  140. package/dist/cjs/api/resources/documentCollections/client/requests/DeleteCollectionRequest.d.ts +0 -3
  141. package/dist/cjs/api/resources/documentCollections/client/requests/DeleteCollectionRequest.js +1 -3
  142. package/dist/cjs/api/resources/documentCollections/client/requests/ListDocumentsInCollectionRequest.d.ts +0 -3
  143. package/dist/cjs/api/resources/documentCollections/client/requests/ListDocumentsInCollectionRequest.js +1 -3
  144. package/dist/cjs/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.d.ts +1 -4
  145. package/dist/cjs/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.js +1 -3
  146. package/dist/cjs/api/resources/documentCollections/client/requests/UpdateMongoCollectionSyncRequest.d.ts +1 -4
  147. package/dist/cjs/api/resources/documentCollections/client/requests/UpdateMongoCollectionSyncRequest.js +1 -3
  148. package/dist/cjs/api/resources/documentCollections/client/requests/index.d.ts +7 -7
  149. package/dist/cjs/api/resources/documentCollections/index.d.ts +1 -1
  150. package/dist/cjs/api/resources/documentCollections/index.js +1 -1
  151. package/dist/cjs/api/resources/documentCollections/types/CreateCollectionResponse.d.ts +0 -3
  152. package/dist/cjs/api/resources/documentCollections/types/CreateCollectionResponse.js +1 -3
  153. package/dist/cjs/api/resources/documentCollections/types/DeleteCollectionResponse.d.ts +0 -3
  154. package/dist/cjs/api/resources/documentCollections/types/DeleteCollectionResponse.js +1 -3
  155. package/dist/cjs/api/resources/documentCollections/types/ListDocumentsInCollectionResponse.d.ts +1 -4
  156. package/dist/cjs/api/resources/documentCollections/types/ListDocumentsInCollectionResponse.js +1 -3
  157. package/dist/cjs/api/resources/documentCollections/types/MongoCollectionSyncConfig.d.ts +1 -4
  158. package/dist/cjs/api/resources/documentCollections/types/MongoCollectionSyncConfig.js +1 -3
  159. package/dist/cjs/api/resources/documentCollections/types/MongoCollectionSyncResponse.d.ts +0 -3
  160. package/dist/cjs/api/resources/documentCollections/types/MongoCollectionSyncResponse.js +1 -3
  161. package/dist/cjs/api/resources/documentCollections/types/MongoSourceFieldsConfig.d.ts +0 -3
  162. package/dist/cjs/api/resources/documentCollections/types/MongoSourceFieldsConfig.js +1 -3
  163. package/dist/cjs/api/resources/documentCollections/types/index.d.ts +1 -1
  164. package/dist/cjs/api/resources/documentCollections/types/index.js +1 -1
  165. package/dist/cjs/api/resources/index.d.ts +4 -4
  166. package/dist/cjs/api/resources/index.js +4 -4
  167. package/dist/cjs/api/resources/search/client/Client.d.ts +4 -24
  168. package/dist/cjs/api/resources/search/client/Client.js +8 -10
  169. package/dist/cjs/api/resources/search/client/index.d.ts +0 -1
  170. package/dist/cjs/api/resources/search/client/requests/SearchDocumentCollectionRequest.d.ts +1 -4
  171. package/dist/cjs/api/resources/search/client/requests/SearchDocumentCollectionRequest.js +1 -3
  172. package/dist/cjs/api/resources/search/client/requests/index.d.ts +1 -1
  173. package/dist/cjs/api/resources/search/index.d.ts +1 -1
  174. package/dist/cjs/api/resources/search/index.js +1 -1
  175. package/dist/cjs/api/resources/search/types/DocumentCollectionSearchOptions.d.ts +0 -3
  176. package/dist/cjs/api/resources/search/types/DocumentCollectionSearchOptions.js +1 -3
  177. package/dist/cjs/api/resources/search/types/DocumentCollectionSearchResult.d.ts +1 -4
  178. package/dist/cjs/api/resources/search/types/DocumentCollectionSearchResult.js +1 -3
  179. package/dist/cjs/api/resources/search/types/SearchDocumentCollectionResponse.d.ts +1 -4
  180. package/dist/cjs/api/resources/search/types/SearchDocumentCollectionResponse.js +1 -3
  181. package/dist/cjs/api/resources/search/types/SearchResultChunk.d.ts +0 -3
  182. package/dist/cjs/api/resources/search/types/SearchResultChunk.js +1 -3
  183. package/dist/cjs/api/resources/search/types/SingleFieldFilter.d.ts +1 -4
  184. package/dist/cjs/api/resources/search/types/SingleFieldFilter.js +1 -3
  185. package/dist/cjs/api/resources/search/types/index.d.ts +1 -1
  186. package/dist/cjs/api/resources/search/types/index.js +1 -1
  187. package/dist/cjs/api/resources/users/client/Client.d.ts +4 -24
  188. package/dist/cjs/api/resources/users/client/Client.js +8 -10
  189. package/dist/cjs/api/resources/users/index.d.ts +1 -1
  190. package/dist/cjs/api/resources/users/index.js +1 -1
  191. package/dist/cjs/api/resources/users/types/UserMetadataPatch.d.ts +0 -3
  192. package/dist/cjs/api/resources/users/types/UserMetadataPatch.js +1 -3
  193. package/dist/cjs/core/auth/AuthProvider.d.ts +1 -1
  194. package/dist/cjs/core/auth/BasicAuth.js +2 -1
  195. package/dist/cjs/core/fetcher/APIResponse.d.ts +1 -1
  196. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
  197. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +2 -2
  198. package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -2
  199. package/dist/cjs/core/fetcher/Fetcher.js +2 -1
  200. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +1 -1
  201. package/dist/cjs/core/fetcher/getErrorResponseBody.js +2 -1
  202. package/dist/cjs/core/fetcher/getResponseBody.js +3 -3
  203. package/dist/cjs/core/fetcher/makeRequest.js +2 -2
  204. package/dist/cjs/core/fetcher/requestWithRetries.js +3 -3
  205. package/dist/cjs/core/index.d.ts +3 -3
  206. package/dist/cjs/core/index.js +3 -3
  207. package/dist/cjs/core/stream/Stream.d.ts +1 -0
  208. package/dist/cjs/core/stream/Stream.js +8 -5
  209. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  210. package/dist/cjs/core/url/encodePathParam.js +21 -0
  211. package/dist/cjs/core/url/index.d.ts +1 -0
  212. package/dist/cjs/core/url/index.js +3 -1
  213. package/dist/cjs/core/url/join.js +3 -3
  214. package/dist/cjs/environments.d.ts +0 -3
  215. package/dist/cjs/environments.js +1 -3
  216. package/dist/cjs/errors/CredalError.d.ts +1 -4
  217. package/dist/cjs/errors/CredalError.js +2 -4
  218. package/dist/cjs/errors/CredalTimeoutError.d.ts +0 -3
  219. package/dist/cjs/errors/CredalTimeoutError.js +1 -3
  220. package/dist/cjs/index.d.ts +2 -1
  221. package/dist/cjs/index.js +4 -4
  222. package/dist/cjs/version.d.ts +1 -1
  223. package/dist/cjs/version.js +1 -1
  224. package/dist/esm/BaseClient.d.mts +27 -0
  225. package/dist/esm/BaseClient.mjs +2 -0
  226. package/dist/esm/Client.d.mts +3 -24
  227. package/dist/esm/Client.mjs +5 -7
  228. package/dist/esm/api/resources/common/types/Collaborator.d.mts +1 -4
  229. package/dist/esm/api/resources/common/types/Collaborator.mjs +1 -3
  230. package/dist/esm/api/resources/common/types/CustomMetadataValue.d.mts +0 -3
  231. package/dist/esm/api/resources/common/types/CustomMetadataValue.mjs +1 -3
  232. package/dist/esm/api/resources/common/types/ExternalResourceId.d.mts +1 -4
  233. package/dist/esm/api/resources/common/types/ExternalResourceId.mjs +1 -3
  234. package/dist/esm/api/resources/common/types/Operator.d.mts +1 -4
  235. package/dist/esm/api/resources/common/types/Operator.mjs +1 -3
  236. package/dist/esm/api/resources/common/types/ResourceIdentifier.d.mts +1 -4
  237. package/dist/esm/api/resources/common/types/ResourceIdentifier.mjs +1 -3
  238. package/dist/esm/api/resources/common/types/ResourceType.d.mts +1 -4
  239. package/dist/esm/api/resources/common/types/ResourceType.mjs +1 -3
  240. package/dist/esm/api/resources/common/types/Role.d.mts +1 -4
  241. package/dist/esm/api/resources/common/types/Role.mjs +1 -3
  242. package/dist/esm/api/resources/common/types/Url.d.mts +0 -3
  243. package/dist/esm/api/resources/common/types/Url.mjs +1 -3
  244. package/dist/esm/api/resources/common/types/index.d.mts +5 -5
  245. package/dist/esm/api/resources/common/types/index.mjs +5 -5
  246. package/dist/esm/api/resources/copilots/client/Client.d.mts +4 -24
  247. package/dist/esm/api/resources/copilots/client/Client.mjs +40 -42
  248. package/dist/esm/api/resources/copilots/client/index.d.mts +0 -1
  249. package/dist/esm/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.d.mts +0 -3
  250. package/dist/esm/api/resources/copilots/client/requests/AddCollectionToCopilotRequest.mjs +1 -3
  251. package/dist/esm/api/resources/copilots/client/requests/CreateConversationRequest.d.mts +0 -3
  252. package/dist/esm/api/resources/copilots/client/requests/CreateConversationRequest.mjs +1 -3
  253. package/dist/esm/api/resources/copilots/client/requests/CreateCopilotRequest.d.mts +1 -4
  254. package/dist/esm/api/resources/copilots/client/requests/CreateCopilotRequest.mjs +1 -3
  255. package/dist/esm/api/resources/copilots/client/requests/DeleteCopilotRequest.d.mts +0 -3
  256. package/dist/esm/api/resources/copilots/client/requests/DeleteCopilotRequest.mjs +1 -3
  257. package/dist/esm/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.d.mts +1 -4
  258. package/dist/esm/api/resources/copilots/client/requests/ProvideMessageFeedbackRequest.mjs +1 -3
  259. package/dist/esm/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.d.mts +0 -3
  260. package/dist/esm/api/resources/copilots/client/requests/RemoveCollectionFromCopilotRequest.mjs +1 -3
  261. package/dist/esm/api/resources/copilots/client/requests/SendMessageRequest.d.mts +1 -4
  262. package/dist/esm/api/resources/copilots/client/requests/SendMessageRequest.mjs +1 -3
  263. package/dist/esm/api/resources/copilots/client/requests/StreamMessageRequest.d.mts +1 -4
  264. package/dist/esm/api/resources/copilots/client/requests/StreamMessageRequest.mjs +1 -3
  265. package/dist/esm/api/resources/copilots/client/requests/UpdateConfigurationRequest.d.mts +1 -4
  266. package/dist/esm/api/resources/copilots/client/requests/UpdateConfigurationRequest.mjs +1 -3
  267. package/dist/esm/api/resources/copilots/client/requests/index.d.mts +9 -9
  268. package/dist/esm/api/resources/copilots/index.d.mts +1 -1
  269. package/dist/esm/api/resources/copilots/index.mjs +1 -1
  270. package/dist/esm/api/resources/copilots/types/AiEndpointConfiguration.d.mts +0 -3
  271. package/dist/esm/api/resources/copilots/types/AiEndpointConfiguration.mjs +1 -3
  272. package/dist/esm/api/resources/copilots/types/BlockedChunk.d.mts +0 -5
  273. package/dist/esm/api/resources/copilots/types/BlockedChunk.mjs +1 -3
  274. package/dist/esm/api/resources/copilots/types/BooleanFieldSchema.d.mts +0 -3
  275. package/dist/esm/api/resources/copilots/types/BooleanFieldSchema.mjs +1 -3
  276. package/dist/esm/api/resources/copilots/types/CollectionFilteredData.d.mts +1 -4
  277. package/dist/esm/api/resources/copilots/types/CollectionFilteredData.mjs +1 -3
  278. package/dist/esm/api/resources/copilots/types/Configuration.d.mts +1 -4
  279. package/dist/esm/api/resources/copilots/types/Configuration.mjs +1 -3
  280. package/dist/esm/api/resources/copilots/types/CreateConversationResponse.d.mts +0 -3
  281. package/dist/esm/api/resources/copilots/types/CreateConversationResponse.mjs +1 -3
  282. package/dist/esm/api/resources/copilots/types/CreateCopilotResponse.d.mts +0 -3
  283. package/dist/esm/api/resources/copilots/types/CreateCopilotResponse.mjs +1 -3
  284. package/dist/esm/api/resources/copilots/types/DataChunk.d.mts +0 -3
  285. package/dist/esm/api/resources/copilots/types/DataChunk.mjs +1 -3
  286. package/dist/esm/api/resources/copilots/types/DataFilter.d.mts +1 -4
  287. package/dist/esm/api/resources/copilots/types/DataFilter.mjs +1 -3
  288. package/dist/esm/api/resources/copilots/types/DatetimeFieldSchema.d.mts +1 -4
  289. package/dist/esm/api/resources/copilots/types/DatetimeFieldSchema.mjs +1 -3
  290. package/dist/esm/api/resources/copilots/types/DeleteCopilotResponse.d.mts +0 -3
  291. package/dist/esm/api/resources/copilots/types/DeleteCopilotResponse.mjs +1 -3
  292. package/dist/esm/api/resources/copilots/types/EndOfMessageChunk.d.mts +1 -5
  293. package/dist/esm/api/resources/copilots/types/EndOfMessageChunk.mjs +1 -3
  294. package/dist/esm/api/resources/copilots/types/ErrorChunk.d.mts +1 -4
  295. package/dist/esm/api/resources/copilots/types/ErrorChunk.mjs +1 -3
  296. package/dist/esm/api/resources/copilots/types/ErrorChunkData.d.mts +0 -3
  297. package/dist/esm/api/resources/copilots/types/ErrorChunkData.mjs +1 -3
  298. package/dist/esm/api/resources/copilots/types/FeedbackEnum.d.mts +1 -4
  299. package/dist/esm/api/resources/copilots/types/FeedbackEnum.mjs +1 -3
  300. package/dist/esm/api/resources/copilots/types/Filter.d.mts +1 -4
  301. package/dist/esm/api/resources/copilots/types/Filter.mjs +1 -3
  302. package/dist/esm/api/resources/copilots/types/FinalChunk.d.mts +1 -4
  303. package/dist/esm/api/resources/copilots/types/FinalChunk.mjs +1 -3
  304. package/dist/esm/api/resources/copilots/types/InitialChunk.d.mts +1 -4
  305. package/dist/esm/api/resources/copilots/types/InitialChunk.mjs +1 -3
  306. package/dist/esm/api/resources/copilots/types/InputVariable.d.mts +0 -3
  307. package/dist/esm/api/resources/copilots/types/InputVariable.mjs +1 -3
  308. package/dist/esm/api/resources/copilots/types/InsertedAuditLog.d.mts +0 -3
  309. package/dist/esm/api/resources/copilots/types/InsertedAuditLog.mjs +1 -3
  310. package/dist/esm/api/resources/copilots/types/MessageBlocked.d.mts +1 -5
  311. package/dist/esm/api/resources/copilots/types/MessageBlocked.mjs +1 -3
  312. package/dist/esm/api/resources/copilots/types/MessageFeedback.d.mts +1 -4
  313. package/dist/esm/api/resources/copilots/types/MessageFeedback.mjs +1 -3
  314. package/dist/esm/api/resources/copilots/types/MessageReply.d.mts +1 -5
  315. package/dist/esm/api/resources/copilots/types/MessageReply.mjs +1 -3
  316. package/dist/esm/api/resources/copilots/types/NumberFieldSchema.d.mts +1 -4
  317. package/dist/esm/api/resources/copilots/types/NumberFieldSchema.mjs +1 -3
  318. package/dist/esm/api/resources/copilots/types/ReferencedSource.d.mts +1 -4
  319. package/dist/esm/api/resources/copilots/types/ReferencedSource.mjs +1 -3
  320. package/dist/esm/api/resources/copilots/types/ResponseChunk.d.mts +0 -3
  321. package/dist/esm/api/resources/copilots/types/ResponseChunk.mjs +1 -3
  322. package/dist/esm/api/resources/copilots/types/SendAgentMessageResponse.d.mts +1 -4
  323. package/dist/esm/api/resources/copilots/types/SendAgentMessageResponse.mjs +1 -3
  324. package/dist/esm/api/resources/copilots/types/SendMessageResponse.d.mts +1 -4
  325. package/dist/esm/api/resources/copilots/types/SendMessageResponse.mjs +1 -3
  326. package/dist/esm/api/resources/copilots/types/StreamingChunk.d.mts +1 -4
  327. package/dist/esm/api/resources/copilots/types/StreamingChunk.mjs +1 -3
  328. package/dist/esm/api/resources/copilots/types/StringFieldSchema.d.mts +1 -4
  329. package/dist/esm/api/resources/copilots/types/StringFieldSchema.mjs +1 -3
  330. package/dist/esm/api/resources/copilots/types/WebSearchResult.d.mts +0 -3
  331. package/dist/esm/api/resources/copilots/types/WebSearchResult.mjs +1 -3
  332. package/dist/esm/api/resources/copilots/types/index.d.mts +24 -25
  333. package/dist/esm/api/resources/copilots/types/index.mjs +24 -25
  334. package/dist/esm/api/resources/documentCatalog/client/Client.d.mts +4 -24
  335. package/dist/esm/api/resources/documentCatalog/client/Client.mjs +16 -18
  336. package/dist/esm/api/resources/documentCatalog/client/index.d.mts +0 -1
  337. package/dist/esm/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.d.mts +1 -4
  338. package/dist/esm/api/resources/documentCatalog/client/requests/UploadDocumentContentsRequest.mjs +1 -3
  339. package/dist/esm/api/resources/documentCatalog/client/requests/index.d.mts +1 -1
  340. package/dist/esm/api/resources/documentCatalog/index.d.mts +1 -1
  341. package/dist/esm/api/resources/documentCatalog/index.mjs +1 -1
  342. package/dist/esm/api/resources/documentCatalog/types/DocumentMetadataPatch.d.mts +1 -4
  343. package/dist/esm/api/resources/documentCatalog/types/DocumentMetadataPatch.mjs +1 -3
  344. package/dist/esm/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.d.mts +1 -4
  345. package/dist/esm/api/resources/documentCatalog/types/DocumentMetadataPatchRequest.mjs +1 -3
  346. package/dist/esm/api/resources/documentCatalog/types/SyncSourceByUrlRequest.d.mts +0 -3
  347. package/dist/esm/api/resources/documentCatalog/types/SyncSourceByUrlRequest.mjs +1 -3
  348. package/dist/esm/api/resources/documentCatalog/types/SyncSourceByUrlResponse.d.mts +0 -3
  349. package/dist/esm/api/resources/documentCatalog/types/SyncSourceByUrlResponse.mjs +1 -3
  350. package/dist/esm/api/resources/documentCatalog/types/UploadDocumentResponse.d.mts +0 -3
  351. package/dist/esm/api/resources/documentCatalog/types/UploadDocumentResponse.mjs +1 -3
  352. package/dist/esm/api/resources/documentCatalog/types/index.d.mts +1 -1
  353. package/dist/esm/api/resources/documentCatalog/types/index.mjs +1 -1
  354. package/dist/esm/api/resources/documentCollections/client/Client.d.mts +4 -24
  355. package/dist/esm/api/resources/documentCollections/client/Client.mjs +33 -35
  356. package/dist/esm/api/resources/documentCollections/client/index.d.mts +0 -1
  357. package/dist/esm/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.d.mts +1 -4
  358. package/dist/esm/api/resources/documentCollections/client/requests/AddDocumentsToCollectionRequest.mjs +1 -3
  359. package/dist/esm/api/resources/documentCollections/client/requests/CreateCollectionRequest.d.mts +1 -4
  360. package/dist/esm/api/resources/documentCollections/client/requests/CreateCollectionRequest.mjs +1 -3
  361. package/dist/esm/api/resources/documentCollections/client/requests/CreateMongoCollectionSyncRequest.d.mts +1 -4
  362. package/dist/esm/api/resources/documentCollections/client/requests/CreateMongoCollectionSyncRequest.mjs +1 -3
  363. package/dist/esm/api/resources/documentCollections/client/requests/DeleteCollectionRequest.d.mts +0 -3
  364. package/dist/esm/api/resources/documentCollections/client/requests/DeleteCollectionRequest.mjs +1 -3
  365. package/dist/esm/api/resources/documentCollections/client/requests/ListDocumentsInCollectionRequest.d.mts +0 -3
  366. package/dist/esm/api/resources/documentCollections/client/requests/ListDocumentsInCollectionRequest.mjs +1 -3
  367. package/dist/esm/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.d.mts +1 -4
  368. package/dist/esm/api/resources/documentCollections/client/requests/RemoveDocumentsFromCollectionRequest.mjs +1 -3
  369. package/dist/esm/api/resources/documentCollections/client/requests/UpdateMongoCollectionSyncRequest.d.mts +1 -4
  370. package/dist/esm/api/resources/documentCollections/client/requests/UpdateMongoCollectionSyncRequest.mjs +1 -3
  371. package/dist/esm/api/resources/documentCollections/client/requests/index.d.mts +7 -7
  372. package/dist/esm/api/resources/documentCollections/index.d.mts +1 -1
  373. package/dist/esm/api/resources/documentCollections/index.mjs +1 -1
  374. package/dist/esm/api/resources/documentCollections/types/CreateCollectionResponse.d.mts +0 -3
  375. package/dist/esm/api/resources/documentCollections/types/CreateCollectionResponse.mjs +1 -3
  376. package/dist/esm/api/resources/documentCollections/types/DeleteCollectionResponse.d.mts +0 -3
  377. package/dist/esm/api/resources/documentCollections/types/DeleteCollectionResponse.mjs +1 -3
  378. package/dist/esm/api/resources/documentCollections/types/ListDocumentsInCollectionResponse.d.mts +1 -4
  379. package/dist/esm/api/resources/documentCollections/types/ListDocumentsInCollectionResponse.mjs +1 -3
  380. package/dist/esm/api/resources/documentCollections/types/MongoCollectionSyncConfig.d.mts +1 -4
  381. package/dist/esm/api/resources/documentCollections/types/MongoCollectionSyncConfig.mjs +1 -3
  382. package/dist/esm/api/resources/documentCollections/types/MongoCollectionSyncResponse.d.mts +0 -3
  383. package/dist/esm/api/resources/documentCollections/types/MongoCollectionSyncResponse.mjs +1 -3
  384. package/dist/esm/api/resources/documentCollections/types/MongoSourceFieldsConfig.d.mts +0 -3
  385. package/dist/esm/api/resources/documentCollections/types/MongoSourceFieldsConfig.mjs +1 -3
  386. package/dist/esm/api/resources/documentCollections/types/index.d.mts +1 -1
  387. package/dist/esm/api/resources/documentCollections/types/index.mjs +1 -1
  388. package/dist/esm/api/resources/index.d.mts +4 -4
  389. package/dist/esm/api/resources/index.mjs +4 -4
  390. package/dist/esm/api/resources/search/client/Client.d.mts +4 -24
  391. package/dist/esm/api/resources/search/client/Client.mjs +8 -10
  392. package/dist/esm/api/resources/search/client/index.d.mts +0 -1
  393. package/dist/esm/api/resources/search/client/requests/SearchDocumentCollectionRequest.d.mts +1 -4
  394. package/dist/esm/api/resources/search/client/requests/SearchDocumentCollectionRequest.mjs +1 -3
  395. package/dist/esm/api/resources/search/client/requests/index.d.mts +1 -1
  396. package/dist/esm/api/resources/search/index.d.mts +1 -1
  397. package/dist/esm/api/resources/search/index.mjs +1 -1
  398. package/dist/esm/api/resources/search/types/DocumentCollectionSearchOptions.d.mts +0 -3
  399. package/dist/esm/api/resources/search/types/DocumentCollectionSearchOptions.mjs +1 -3
  400. package/dist/esm/api/resources/search/types/DocumentCollectionSearchResult.d.mts +1 -4
  401. package/dist/esm/api/resources/search/types/DocumentCollectionSearchResult.mjs +1 -3
  402. package/dist/esm/api/resources/search/types/SearchDocumentCollectionResponse.d.mts +1 -4
  403. package/dist/esm/api/resources/search/types/SearchDocumentCollectionResponse.mjs +1 -3
  404. package/dist/esm/api/resources/search/types/SearchResultChunk.d.mts +0 -3
  405. package/dist/esm/api/resources/search/types/SearchResultChunk.mjs +1 -3
  406. package/dist/esm/api/resources/search/types/SingleFieldFilter.d.mts +1 -4
  407. package/dist/esm/api/resources/search/types/SingleFieldFilter.mjs +1 -3
  408. package/dist/esm/api/resources/search/types/index.d.mts +1 -1
  409. package/dist/esm/api/resources/search/types/index.mjs +1 -1
  410. package/dist/esm/api/resources/users/client/Client.d.mts +4 -24
  411. package/dist/esm/api/resources/users/client/Client.mjs +8 -10
  412. package/dist/esm/api/resources/users/index.d.mts +1 -1
  413. package/dist/esm/api/resources/users/index.mjs +1 -1
  414. package/dist/esm/api/resources/users/types/UserMetadataPatch.d.mts +0 -3
  415. package/dist/esm/api/resources/users/types/UserMetadataPatch.mjs +1 -3
  416. package/dist/esm/core/auth/AuthProvider.d.mts +1 -1
  417. package/dist/esm/core/auth/BasicAuth.mjs +2 -1
  418. package/dist/esm/core/fetcher/APIResponse.d.mts +1 -1
  419. package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
  420. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +2 -2
  421. package/dist/esm/core/fetcher/Fetcher.d.mts +2 -2
  422. package/dist/esm/core/fetcher/Fetcher.mjs +2 -1
  423. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +1 -1
  424. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +2 -1
  425. package/dist/esm/core/fetcher/getResponseBody.mjs +3 -3
  426. package/dist/esm/core/fetcher/makeRequest.mjs +2 -2
  427. package/dist/esm/core/fetcher/requestWithRetries.mjs +3 -3
  428. package/dist/esm/core/index.d.mts +3 -3
  429. package/dist/esm/core/index.mjs +3 -3
  430. package/dist/esm/core/stream/Stream.d.mts +1 -0
  431. package/dist/esm/core/stream/Stream.mjs +8 -5
  432. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  433. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  434. package/dist/esm/core/url/index.d.mts +1 -0
  435. package/dist/esm/core/url/index.mjs +1 -0
  436. package/dist/esm/core/url/join.mjs +3 -3
  437. package/dist/esm/environments.d.mts +0 -3
  438. package/dist/esm/environments.mjs +1 -3
  439. package/dist/esm/errors/CredalError.d.mts +1 -4
  440. package/dist/esm/errors/CredalError.mjs +2 -4
  441. package/dist/esm/errors/CredalTimeoutError.d.mts +0 -3
  442. package/dist/esm/errors/CredalTimeoutError.mjs +1 -3
  443. package/dist/esm/index.d.mts +2 -1
  444. package/dist/esm/index.mjs +1 -1
  445. package/dist/esm/version.d.mts +1 -1
  446. package/dist/esm/version.mjs +1 -1
  447. package/package.json +9 -4
  448. package/reference.md +203 -229
  449. package/dist/cjs/api/resources/copilots/types/PolicyTrigger.d.ts +0 -8
  450. package/dist/esm/api/resources/copilots/types/PolicyTrigger.d.mts +0 -8
  451. package/dist/esm/api/resources/copilots/types/PolicyTrigger.mjs +0 -4
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../../index.js";
1
+ import type * as Credal from "../../../../index.js";
5
2
  /**
6
3
  * @example
7
4
  * {
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  /**
5
2
  * @example
6
3
  * {
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../../index.js";
1
+ import type * as Credal from "../../../../index.js";
5
2
  /**
6
3
  * @example
7
4
  * {
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../../index.js";
1
+ import type * as Credal from "../../../../index.js";
5
2
  /**
6
3
  * @example
7
4
  * {
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../../index.js";
1
+ import type * as Credal from "../../../../index.js";
5
2
  /**
6
3
  * @example
7
4
  * {
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,9 @@
1
- export { type CreateCopilotRequest } from "./CreateCopilotRequest.js";
2
- export { type CreateConversationRequest } from "./CreateConversationRequest.js";
3
- export { type ProvideMessageFeedbackRequest } from "./ProvideMessageFeedbackRequest.js";
4
- export { type SendMessageRequest } from "./SendMessageRequest.js";
5
- export { type StreamMessageRequest } from "./StreamMessageRequest.js";
6
- export { type AddCollectionToCopilotRequest } from "./AddCollectionToCopilotRequest.js";
7
- export { type RemoveCollectionFromCopilotRequest } from "./RemoveCollectionFromCopilotRequest.js";
8
- export { type UpdateConfigurationRequest } from "./UpdateConfigurationRequest.js";
9
- export { type DeleteCopilotRequest } from "./DeleteCopilotRequest.js";
1
+ export type { AddCollectionToCopilotRequest } from "./AddCollectionToCopilotRequest.js";
2
+ export type { CreateConversationRequest } from "./CreateConversationRequest.js";
3
+ export type { CreateCopilotRequest } from "./CreateCopilotRequest.js";
4
+ export type { DeleteCopilotRequest } from "./DeleteCopilotRequest.js";
5
+ export type { ProvideMessageFeedbackRequest } from "./ProvideMessageFeedbackRequest.js";
6
+ export type { RemoveCollectionFromCopilotRequest } from "./RemoveCollectionFromCopilotRequest.js";
7
+ export type { SendMessageRequest } from "./SendMessageRequest.js";
8
+ export type { StreamMessageRequest } from "./StreamMessageRequest.js";
9
+ export type { UpdateConfigurationRequest } from "./UpdateConfigurationRequest.js";
@@ -1,2 +1,2 @@
1
- export * from "./types/index.js";
2
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types/index.js"), exports);
18
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface AiEndpointConfiguration {
5
2
  baseUrl: string;
6
3
  apiKey: string;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
5
1
  export interface BlockedChunk {
6
2
  conversationId: string;
7
3
  warnings: string[];
8
4
  blocks: string[];
9
- policyTriggers: Credal.PolicyTrigger[];
10
5
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface BooleanFieldSchema {
5
2
  field: string;
6
3
  operator: "==";
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface CollectionFilteredData {
6
3
  collectionId: string;
7
4
  filteredDataIds: string[];
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface Configuration {
6
3
  aiEndpointConfiguration?: Credal.AiEndpointConfiguration;
7
4
  name?: string;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface CreateConversationResponse {
5
2
  conversationId: string;
6
3
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface CreateCopilotResponse {
5
2
  agentId: string;
6
3
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface DataChunk {
5
2
  chunk: string;
6
3
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface DataFilter {
6
3
  semanticSearchTerms: string[];
7
4
  webSearchTerm: string[];
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface DatetimeFieldSchema {
6
3
  field: string;
7
4
  operator: Credal.Operator;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface DeleteCopilotResponse {
5
2
  copilotId: string;
6
3
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface EndOfMessageChunk {
5
- }
1
+ export type EndOfMessageChunk = {};
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface ErrorChunk {
6
3
  error: Credal.ErrorChunkData;
7
4
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface ErrorChunkData {
5
2
  message: string;
6
3
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export type FeedbackEnum = "POSITIVE" | "NEGATIVE";
5
1
  export declare const FeedbackEnum: {
6
2
  readonly Positive: "POSITIVE";
7
3
  readonly Negative: "NEGATIVE";
8
4
  };
5
+ export type FeedbackEnum = (typeof FeedbackEnum)[keyof typeof FeedbackEnum];
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
6
4
  exports.FeedbackEnum = void 0;
7
5
  exports.FeedbackEnum = {
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export type Filter = Credal.Filter.String | Credal.Filter.Number | Credal.Filter.Boolean | Credal.Filter.Datetime;
6
3
  export declare namespace Filter {
7
4
  interface String extends Credal.StringFieldSchema {
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface FinalChunk {
6
3
  sources: Credal.ReferencedSource[];
7
4
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface InitialChunk {
6
3
  conversationId: string;
7
4
  warnings: string[];
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface InputVariable {
5
2
  name: string;
6
3
  ids: string[];
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface InsertedAuditLog {
5
2
  id: string;
6
3
  }
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface MessageBlocked {
6
- policy_triggers: Credal.PolicyTrigger[];
7
3
  conversationId: string;
8
4
  blocks: string[];
9
5
  warnings: string[];
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface MessageFeedback {
6
3
  feedback: Credal.FeedbackEnum;
7
4
  suggestedAnswer?: string;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,5 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface MessageReply {
6
- policy_triggers: Credal.PolicyTrigger[];
7
3
  conversationId: string;
8
4
  response: Credal.ResponseChunk;
9
5
  warnings: string[];
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface NumberFieldSchema {
6
3
  field: string;
7
4
  operator: Credal.Operator;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface ReferencedSource {
6
3
  id: string;
7
4
  externalResourceId: Credal.ExternalResourceId;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,3 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
1
  export interface ResponseChunk {
5
2
  message: string;
6
3
  dataChunk: string;
@@ -1,5 +1,3 @@
1
1
  "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
2
+ // This file was auto-generated by Fern from our API Definition.
5
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Credal from "../../../index.js";
1
+ import type * as Credal from "../../../index.js";
5
2
  export interface SendAgentMessageResponse {
6
3
  sendChatResult: Credal.SendMessageResponse;
7
4
  }