@mistralai/mistralai 2.4.1 → 2.5.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 (238) hide show
  1. package/README.md +80 -9
  2. package/esm/funcs/betaAgentsList.d.ts +3 -1
  3. package/esm/funcs/betaAgentsList.d.ts.map +1 -1
  4. package/esm/funcs/betaAgentsList.js +3 -1
  5. package/esm/funcs/betaAgentsList.js.map +1 -1
  6. package/esm/funcs/betaAgentsListPages.d.ts +21 -0
  7. package/esm/funcs/betaAgentsListPages.d.ts.map +1 -0
  8. package/esm/funcs/betaAgentsListPages.js +131 -0
  9. package/esm/funcs/betaAgentsListPages.js.map +1 -0
  10. package/esm/funcs/betaConnectorsDeleteAllUserCredentials.d.ts +19 -0
  11. package/esm/funcs/betaConnectorsDeleteAllUserCredentials.d.ts.map +1 -0
  12. package/esm/funcs/betaConnectorsDeleteAllUserCredentials.js +88 -0
  13. package/esm/funcs/betaConnectorsDeleteAllUserCredentials.js.map +1 -0
  14. package/esm/funcs/betaRagSearchIndexesGenerateIndexSummary.d.ts +22 -0
  15. package/esm/funcs/betaRagSearchIndexesGenerateIndexSummary.d.ts.map +1 -0
  16. package/esm/funcs/betaRagSearchIndexesGenerateIndexSummary.js +110 -0
  17. package/esm/funcs/betaRagSearchIndexesGenerateIndexSummary.js.map +1 -0
  18. package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.d.ts +22 -0
  19. package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.d.ts.map +1 -0
  20. package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.js +114 -0
  21. package/esm/funcs/betaRagSearchIndexesGenerateSchemaSummary.js.map +1 -0
  22. package/esm/funcs/betaRagSearchIndexesGetIndexSummary.d.ts +19 -0
  23. package/esm/funcs/betaRagSearchIndexesGetIndexSummary.d.ts.map +1 -0
  24. package/esm/funcs/betaRagSearchIndexesGetIndexSummary.js +96 -0
  25. package/esm/funcs/betaRagSearchIndexesGetIndexSummary.js.map +1 -0
  26. package/esm/funcs/betaRagSearchIndexesGetSchemaSummary.d.ts +19 -0
  27. package/esm/funcs/betaRagSearchIndexesGetSchemaSummary.d.ts.map +1 -0
  28. package/esm/funcs/betaRagSearchIndexesGetSchemaSummary.js +100 -0
  29. package/esm/funcs/betaRagSearchIndexesGetSchemaSummary.js.map +1 -0
  30. package/esm/funcs/betaRagSearchIndexesSetIndexSummary.d.ts +1 -1
  31. package/esm/funcs/betaRagSearchIndexesSetIndexSummary.d.ts.map +1 -1
  32. package/esm/funcs/betaRagSearchIndexesSetIndexSummary.js +8 -4
  33. package/esm/funcs/betaRagSearchIndexesSetIndexSummary.js.map +1 -1
  34. package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.d.ts +1 -1
  35. package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.d.ts.map +1 -1
  36. package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.js +8 -4
  37. package/esm/funcs/betaRagSearchIndexesSetSchemaSummary.js.map +1 -1
  38. package/esm/funcs/betaUsersGetIdentity.d.ts +2 -1
  39. package/esm/funcs/betaUsersGetIdentity.d.ts.map +1 -1
  40. package/esm/funcs/betaUsersGetIdentity.js +12 -8
  41. package/esm/funcs/betaUsersGetIdentity.js.map +1 -1
  42. package/esm/lib/config.d.ts +13 -3
  43. package/esm/lib/config.d.ts.map +1 -1
  44. package/esm/lib/config.js +14 -4
  45. package/esm/lib/config.js.map +1 -1
  46. package/esm/lib/jsonl.d.ts +10 -0
  47. package/esm/lib/jsonl.d.ts.map +1 -0
  48. package/esm/lib/jsonl.js +103 -0
  49. package/esm/lib/jsonl.js.map +1 -0
  50. package/esm/models/components/agentlistpage.d.ts +13 -0
  51. package/esm/models/components/agentlistpage.d.ts.map +1 -0
  52. package/esm/models/components/agentlistpage.js +23 -0
  53. package/esm/models/components/agentlistpage.js.map +1 -0
  54. package/esm/models/components/authenticationconfiguration.d.ts +1 -0
  55. package/esm/models/components/authenticationconfiguration.d.ts.map +1 -1
  56. package/esm/models/components/authenticationconfiguration.js +1 -0
  57. package/esm/models/components/authenticationconfiguration.js.map +1 -1
  58. package/esm/models/components/connector.d.ts +1 -0
  59. package/esm/models/components/connector.d.ts.map +1 -1
  60. package/esm/models/components/connector.js +2 -0
  61. package/esm/models/components/connector.js.map +1 -1
  62. package/esm/models/components/credentialscreateorupdate.d.ts +5 -0
  63. package/esm/models/components/credentialscreateorupdate.d.ts.map +1 -1
  64. package/esm/models/components/credentialscreateorupdate.js +1 -0
  65. package/esm/models/components/credentialscreateorupdate.js.map +1 -1
  66. package/esm/models/components/getsearchindexdetailresponseindex.d.ts +0 -1
  67. package/esm/models/components/getsearchindexdetailresponseindex.d.ts.map +1 -1
  68. package/esm/models/components/getsearchindexdetailresponseindex.js +0 -1
  69. package/esm/models/components/getsearchindexdetailresponseindex.js.map +1 -1
  70. package/esm/models/components/getsearchindexschemadetailresponseschemamodel.d.ts +0 -1
  71. package/esm/models/components/getsearchindexschemadetailresponseschemamodel.d.ts.map +1 -1
  72. package/esm/models/components/getsearchindexschemadetailresponseschemamodel.js +0 -1
  73. package/esm/models/components/getsearchindexschemadetailresponseschemamodel.js.map +1 -1
  74. package/esm/models/components/getsummaryresponsesummary.d.ts +13 -0
  75. package/esm/models/components/getsummaryresponsesummary.d.ts.map +1 -0
  76. package/esm/models/components/getsummaryresponsesummary.js +17 -0
  77. package/esm/models/components/getsummaryresponsesummary.js.map +1 -0
  78. package/esm/models/components/index.d.ts +8 -2
  79. package/esm/models/components/index.d.ts.map +1 -1
  80. package/esm/models/components/index.js +8 -2
  81. package/esm/models/components/index.js.map +1 -1
  82. package/esm/models/components/locationtype.d.ts +1 -0
  83. package/esm/models/components/locationtype.d.ts.map +1 -1
  84. package/esm/models/components/locationtype.js +1 -0
  85. package/esm/models/components/locationtype.js.map +1 -1
  86. package/esm/models/components/modelcapabilities.d.ts +1 -0
  87. package/esm/models/components/modelcapabilities.d.ts.map +1 -1
  88. package/esm/models/components/modelcapabilities.js +2 -0
  89. package/esm/models/components/modelcapabilities.js.map +1 -1
  90. package/esm/models/components/speechrequest.d.ts +2 -0
  91. package/esm/models/components/speechrequest.d.ts.map +1 -1
  92. package/esm/models/components/speechrequest.js +2 -0
  93. package/esm/models/components/speechrequest.js.map +1 -1
  94. package/esm/models/components/summarychunk.d.ts +13 -0
  95. package/esm/models/components/summarychunk.d.ts.map +1 -0
  96. package/esm/models/components/summarychunk.js +15 -0
  97. package/esm/models/components/summarychunk.js.map +1 -0
  98. package/esm/models/components/summaryerror.d.ts +13 -0
  99. package/esm/models/components/summaryerror.d.ts.map +1 -0
  100. package/esm/models/components/summaryerror.js +15 -0
  101. package/esm/models/components/summaryerror.js.map +1 -0
  102. package/esm/models/components/summarymetadata.d.ts +15 -0
  103. package/esm/models/components/summarymetadata.d.ts.map +1 -0
  104. package/esm/models/components/summarymetadata.js +16 -0
  105. package/esm/models/components/summarymetadata.js.map +1 -0
  106. package/esm/models/components/summarystatus.d.ts +11 -0
  107. package/esm/models/components/summarystatus.d.ts.map +1 -0
  108. package/esm/models/components/summarystatus.js +13 -0
  109. package/esm/models/components/summarystatus.js.map +1 -0
  110. package/esm/models/components/summarystatusdollardefs.d.ts +11 -0
  111. package/esm/models/components/summarystatusdollardefs.d.ts.map +1 -0
  112. package/esm/models/components/summarystatusdollardefs.js +13 -0
  113. package/esm/models/components/summarystatusdollardefs.js.map +1 -0
  114. package/esm/models/components/updatesummaryrequestsummary.d.ts +24 -0
  115. package/esm/models/components/updatesummaryrequestsummary.d.ts.map +1 -0
  116. package/esm/models/components/updatesummaryrequestsummary.js +21 -0
  117. package/esm/models/components/updatesummaryrequestsummary.js.map +1 -0
  118. package/esm/models/operations/agentsapiv1agentslistpages.d.ts +51 -0
  119. package/esm/models/operations/agentsapiv1agentslistpages.d.ts.map +1 -0
  120. package/esm/models/operations/agentsapiv1agentslistpages.js +41 -0
  121. package/esm/models/operations/agentsapiv1agentslistpages.js.map +1 -0
  122. package/esm/models/operations/connectordeleteallusercredentialsv1.d.ts +12 -0
  123. package/esm/models/operations/connectordeleteallusercredentialsv1.d.ts.map +1 -0
  124. package/esm/models/operations/connectordeleteallusercredentialsv1.js +18 -0
  125. package/esm/models/operations/connectordeleteallusercredentialsv1.js.map +1 -0
  126. package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.d.ts +39 -0
  127. package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.d.ts.map +1 -0
  128. package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.js +46 -0
  129. package/esm/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.js.map +1 -0
  130. package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.d.ts +41 -0
  131. package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.d.ts.map +1 -0
  132. package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.js +48 -0
  133. package/esm/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.js.map +1 -0
  134. package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.d.ts +29 -0
  135. package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.d.ts.map +1 -0
  136. package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.js +33 -0
  137. package/esm/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.js.map +1 -0
  138. package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.d.ts +31 -0
  139. package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.d.ts.map +1 -0
  140. package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.js +35 -0
  141. package/esm/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.js.map +1 -0
  142. package/esm/models/operations/index.d.ts +9 -2
  143. package/esm/models/operations/index.d.ts.map +1 -1
  144. package/esm/models/operations/index.js +9 -2
  145. package/esm/models/operations/index.js.map +1 -1
  146. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.d.ts +32 -0
  147. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.d.ts.map +1 -0
  148. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.js +36 -0
  149. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.js.map +1 -0
  150. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.d.ts +34 -0
  151. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.d.ts.map +1 -0
  152. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.js +38 -0
  153. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.js.map +1 -0
  154. package/esm/models/operations/usersapigetidentity.d.ts +12 -0
  155. package/esm/models/operations/usersapigetidentity.d.ts.map +1 -0
  156. package/esm/models/operations/usersapigetidentity.js +18 -0
  157. package/esm/models/operations/usersapigetidentity.js.map +1 -0
  158. package/esm/sdk/betaagents.d.ts +13 -1
  159. package/esm/sdk/betaagents.d.ts.map +1 -1
  160. package/esm/sdk/betaagents.js +14 -1
  161. package/esm/sdk/betaagents.js.map +1 -1
  162. package/esm/sdk/connectors.d.ts +7 -0
  163. package/esm/sdk/connectors.d.ts.map +1 -1
  164. package/esm/sdk/connectors.js +10 -0
  165. package/esm/sdk/connectors.js.map +1 -1
  166. package/esm/sdk/searchindexes.d.ts +40 -5
  167. package/esm/sdk/searchindexes.d.ts.map +1 -1
  168. package/esm/sdk/searchindexes.js +50 -4
  169. package/esm/sdk/searchindexes.js.map +1 -1
  170. package/esm/sdk/users.d.ts +2 -1
  171. package/esm/sdk/users.d.ts.map +1 -1
  172. package/esm/sdk/users.js +2 -2
  173. package/esm/sdk/users.js.map +1 -1
  174. package/jsr.json +1 -1
  175. package/package.json +1 -1
  176. package/src/funcs/betaAgentsList.ts +3 -1
  177. package/src/funcs/betaAgentsListPages.ts +265 -0
  178. package/src/funcs/betaConnectorsDeleteAllUserCredentials.ts +183 -0
  179. package/src/funcs/betaRagSearchIndexesGenerateIndexSummary.ts +215 -0
  180. package/src/funcs/betaRagSearchIndexesGenerateSchemaSummary.ts +219 -0
  181. package/src/funcs/betaRagSearchIndexesGetIndexSummary.ts +190 -0
  182. package/src/funcs/betaRagSearchIndexesGetSchemaSummary.ts +194 -0
  183. package/src/funcs/betaRagSearchIndexesSetIndexSummary.ts +12 -8
  184. package/src/funcs/betaRagSearchIndexesSetSchemaSummary.ts +10 -6
  185. package/src/funcs/betaUsersGetIdentity.ts +15 -5
  186. package/src/lib/config.ts +14 -4
  187. package/src/lib/jsonl.ts +128 -0
  188. package/src/models/components/agentlistpage.ts +39 -0
  189. package/src/models/components/authenticationconfiguration.ts +2 -0
  190. package/src/models/components/connector.ts +3 -0
  191. package/src/models/components/credentialscreateorupdate.ts +6 -0
  192. package/src/models/components/getsearchindexdetailresponseindex.ts +0 -2
  193. package/src/models/components/getsearchindexschemadetailresponseschemamodel.ts +0 -2
  194. package/src/models/components/getsummaryresponsesummary.ts +36 -0
  195. package/src/models/components/index.ts +8 -2
  196. package/src/models/components/locationtype.ts +1 -0
  197. package/src/models/components/modelcapabilities.ts +3 -0
  198. package/src/models/components/speechrequest.ts +4 -0
  199. package/src/models/components/summarychunk.ts +32 -0
  200. package/src/models/components/summaryerror.ts +32 -0
  201. package/src/models/components/summarymetadata.ts +40 -0
  202. package/src/models/components/summarystatus.ts +19 -0
  203. package/src/models/components/summarystatusdollardefs.ts +21 -0
  204. package/src/models/components/updatesummaryrequestsummary.ts +53 -0
  205. package/src/models/operations/agentsapiv1agentslistpages.ts +105 -0
  206. package/src/models/operations/connectordeleteallusercredentialsv1.ts +40 -0
  207. package/src/models/operations/generateindexsummaryv1ragindexesindexindexidsummaryfieldlanguagepost.ts +113 -0
  208. package/src/models/operations/generateschemasummarypostv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguagepost.ts +117 -0
  209. package/src/models/operations/getindexsummaryv1ragindexesindexindexidsummaryfieldlanguageget.ts +74 -0
  210. package/src/models/operations/getschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageget.ts +78 -0
  211. package/src/models/operations/index.ts +9 -2
  212. package/src/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldlanguageput.ts +81 -0
  213. package/src/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldlanguageput.ts +85 -0
  214. package/src/models/operations/usersapigetidentity.ts +38 -0
  215. package/src/sdk/betaagents.ts +27 -1
  216. package/src/sdk/connectors.ts +18 -0
  217. package/src/sdk/searchindexes.ts +99 -8
  218. package/src/sdk/users.ts +3 -0
  219. package/esm/models/components/updateindexsummaryrequestsummary.d.ts +0 -12
  220. package/esm/models/components/updateindexsummaryrequestsummary.d.ts.map +0 -1
  221. package/esm/models/components/updateindexsummaryrequestsummary.js +0 -13
  222. package/esm/models/components/updateindexsummaryrequestsummary.js.map +0 -1
  223. package/esm/models/components/updateschemasummaryrequestsummary.d.ts +0 -12
  224. package/esm/models/components/updateschemasummaryrequestsummary.d.ts.map +0 -1
  225. package/esm/models/components/updateschemasummaryrequestsummary.js +0 -13
  226. package/esm/models/components/updateschemasummaryrequestsummary.js.map +0 -1
  227. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.d.ts +0 -15
  228. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.d.ts.map +0 -1
  229. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.js +0 -22
  230. package/esm/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.js.map +0 -1
  231. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.d.ts +0 -17
  232. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.d.ts.map +0 -1
  233. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.js +0 -24
  234. package/esm/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.js.map +0 -1
  235. package/src/models/components/updateindexsummaryrequestsummary.ts +0 -33
  236. package/src/models/components/updateschemasummaryrequestsummary.ts +0 -33
  237. package/src/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.ts +0 -47
  238. package/src/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.ts +0 -55
@@ -0,0 +1,85 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 1359b3081a8e
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import * as components from "../components/index.js";
10
+
11
+ export const SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage =
12
+ {
13
+ En: "en",
14
+ Fr: "fr",
15
+ Es: "es",
16
+ De: "de",
17
+ It: "it",
18
+ PtBr: "pt_br",
19
+ Pl: "pl",
20
+ Ar: "ar",
21
+ Nl: "nl",
22
+ } as const;
23
+ export type SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage =
24
+ ClosedEnum<
25
+ typeof SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage
26
+ >;
27
+
28
+ export type SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest =
29
+ {
30
+ indexId: string;
31
+ schemaId: string;
32
+ language:
33
+ SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage;
34
+ updateSummaryRequestSummary: components.UpdateSummaryRequestSummary;
35
+ };
36
+
37
+ /** @internal */
38
+ export const SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage$outboundSchema:
39
+ z.ZodEnum<
40
+ typeof SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage
41
+ > = z.enum(
42
+ SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage,
43
+ );
44
+
45
+ /** @internal */
46
+ export type SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest$Outbound =
47
+ {
48
+ index_id: string;
49
+ schema_id: string;
50
+ language: string;
51
+ UpdateSummaryRequestSummary:
52
+ components.UpdateSummaryRequestSummary$Outbound;
53
+ };
54
+
55
+ /** @internal */
56
+ export const SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest$outboundSchema:
57
+ z.ZodType<
58
+ SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest$Outbound,
59
+ SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest
60
+ > = z.object({
61
+ indexId: z.string(),
62
+ schemaId: z.string(),
63
+ language:
64
+ SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutLanguage$outboundSchema,
65
+ updateSummaryRequestSummary:
66
+ components.UpdateSummaryRequestSummary$outboundSchema,
67
+ }).transform((v) => {
68
+ return remap$(v, {
69
+ indexId: "index_id",
70
+ schemaId: "schema_id",
71
+ updateSummaryRequestSummary: "UpdateSummaryRequestSummary",
72
+ });
73
+ });
74
+
75
+ export function setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequestToJSON(
76
+ setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest:
77
+ SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest$outboundSchema
81
+ .parse(
82
+ setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest,
83
+ ),
84
+ );
85
+ }
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: adb00e8fab48
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+
9
+ export type UsersApiGetIdentitySecurity = {
10
+ dashboardUserContextAuth: string;
11
+ };
12
+
13
+ /** @internal */
14
+ export type UsersApiGetIdentitySecurity$Outbound = {
15
+ DashboardUserContextAuth: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const UsersApiGetIdentitySecurity$outboundSchema: z.ZodType<
20
+ UsersApiGetIdentitySecurity$Outbound,
21
+ UsersApiGetIdentitySecurity
22
+ > = z.object({
23
+ dashboardUserContextAuth: z.string(),
24
+ }).transform((v) => {
25
+ return remap$(v, {
26
+ dashboardUserContextAuth: "DashboardUserContextAuth",
27
+ });
28
+ });
29
+
30
+ export function usersApiGetIdentitySecurityToJSON(
31
+ usersApiGetIdentitySecurity: UsersApiGetIdentitySecurity,
32
+ ): string {
33
+ return JSON.stringify(
34
+ UsersApiGetIdentitySecurity$outboundSchema.parse(
35
+ usersApiGetIdentitySecurity,
36
+ ),
37
+ );
38
+ }
@@ -10,6 +10,7 @@ import { betaAgentsDeleteVersionAlias } from "../funcs/betaAgentsDeleteVersionAl
10
10
  import { betaAgentsGet } from "../funcs/betaAgentsGet.js";
11
11
  import { betaAgentsGetVersion } from "../funcs/betaAgentsGetVersion.js";
12
12
  import { betaAgentsList } from "../funcs/betaAgentsList.js";
13
+ import { betaAgentsListPages } from "../funcs/betaAgentsListPages.js";
13
14
  import { betaAgentsListVersionAliases } from "../funcs/betaAgentsListVersionAliases.js";
14
15
  import { betaAgentsListVersions } from "../funcs/betaAgentsListVersions.js";
15
16
  import { betaAgentsUpdate } from "../funcs/betaAgentsUpdate.js";
@@ -18,6 +19,7 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
18
19
  import * as components from "../models/components/index.js";
19
20
  import * as operations from "../models/operations/index.js";
20
21
  import { unwrapAsync } from "../types/fp.js";
22
+ import { PageIterator, unwrapResultIterator } from "../types/operations.js";
21
23
 
22
24
  export class BetaAgents extends ClientSDK {
23
25
  /**
@@ -41,7 +43,9 @@ export class BetaAgents extends ClientSDK {
41
43
  * List agent entities.
42
44
  *
43
45
  * @remarks
44
- * Retrieve a list of agent entities sorted by creation time.
46
+ * Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.
47
+ *
48
+ * @deprecated method: Some features such as agent sharing are not supported by this endpoint.. Use listPages instead.
45
49
  */
46
50
  async list(
47
51
  request?: operations.AgentsApiV1AgentsListRequest | undefined,
@@ -54,6 +58,28 @@ export class BetaAgents extends ClientSDK {
54
58
  ));
55
59
  }
56
60
 
61
+ /**
62
+ * List agent entities, cursor-paginated.
63
+ *
64
+ * @remarks
65
+ * Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.
66
+ */
67
+ async listPages(
68
+ request?: operations.AgentsApiV1AgentsListPagesRequest | undefined,
69
+ options?: RequestOptions,
70
+ ): Promise<
71
+ PageIterator<
72
+ operations.AgentsApiV1AgentsListPagesResponse,
73
+ { cursor: string }
74
+ >
75
+ > {
76
+ return unwrapResultIterator(betaAgentsListPages(
77
+ this,
78
+ request,
79
+ options,
80
+ ));
81
+ }
82
+
57
83
  /**
58
84
  * Retrieve an agent entity.
59
85
  *
@@ -15,6 +15,7 @@ import { betaConnectorsDeactivateForOrganization } from "../funcs/betaConnectors
15
15
  import { betaConnectorsDeactivateForUser } from "../funcs/betaConnectorsDeactivateForUser.js";
16
16
  import { betaConnectorsDeactivateForWorkspace } from "../funcs/betaConnectorsDeactivateForWorkspace.js";
17
17
  import { betaConnectorsDelete } from "../funcs/betaConnectorsDelete.js";
18
+ import { betaConnectorsDeleteAllUserCredentials } from "../funcs/betaConnectorsDeleteAllUserCredentials.js";
18
19
  import { betaConnectorsDeleteOrganizationCredentials } from "../funcs/betaConnectorsDeleteOrganizationCredentials.js";
19
20
  import { betaConnectorsDeleteUserCredentials } from "../funcs/betaConnectorsDeleteUserCredentials.js";
20
21
  import { betaConnectorsDeleteWorkspaceCredentials } from "../funcs/betaConnectorsDeleteWorkspaceCredentials.js";
@@ -357,6 +358,23 @@ export class Connectors extends ClientSDK {
357
358
  ));
358
359
  }
359
360
 
361
+ /**
362
+ * Delete all user credentials for a connector.
363
+ *
364
+ * @remarks
365
+ * Delete all credentials configured at the user level for a given connector.
366
+ */
367
+ async deleteAllUserCredentials(
368
+ request: operations.ConnectorDeleteAllUserCredentialsV1Request,
369
+ options?: RequestOptions,
370
+ ): Promise<components.MessageResponse> {
371
+ return unwrapAsync(betaConnectorsDeleteAllUserCredentials(
372
+ this,
373
+ request,
374
+ options,
375
+ ));
376
+ }
377
+
360
378
  /**
361
379
  * Delete organization credentials for a connector.
362
380
  *
@@ -5,15 +5,20 @@
5
5
 
6
6
  import { betaRagSearchIndexesDocumentLookup } from "../funcs/betaRagSearchIndexesDocumentLookup.js";
7
7
  import { betaRagSearchIndexesDocumentsFetch } from "../funcs/betaRagSearchIndexesDocumentsFetch.js";
8
+ import { betaRagSearchIndexesGenerateIndexSummary } from "../funcs/betaRagSearchIndexesGenerateIndexSummary.js";
9
+ import { betaRagSearchIndexesGenerateSchemaSummary } from "../funcs/betaRagSearchIndexesGenerateSchemaSummary.js";
8
10
  import { betaRagSearchIndexesGetIndexDetail } from "../funcs/betaRagSearchIndexesGetIndexDetail.js";
9
11
  import { betaRagSearchIndexesGetIndexSchemaDetail } from "../funcs/betaRagSearchIndexesGetIndexSchemaDetail.js";
10
12
  import { betaRagSearchIndexesGetIndexSchemaFile } from "../funcs/betaRagSearchIndexesGetIndexSchemaFile.js";
11
13
  import { betaRagSearchIndexesGetIndexSummaries } from "../funcs/betaRagSearchIndexesGetIndexSummaries.js";
14
+ import { betaRagSearchIndexesGetIndexSummary } from "../funcs/betaRagSearchIndexesGetIndexSummary.js";
15
+ import { betaRagSearchIndexesGetSchemaSummary } from "../funcs/betaRagSearchIndexesGetSchemaSummary.js";
12
16
  import { betaRagSearchIndexesRegister } from "../funcs/betaRagSearchIndexesRegister.js";
13
17
  import { betaRagSearchIndexesSetIndexSummary } from "../funcs/betaRagSearchIndexesSetIndexSummary.js";
14
18
  import { betaRagSearchIndexesSetSchemaSummary } from "../funcs/betaRagSearchIndexesSetSchemaSummary.js";
15
19
  import { betaRagSearchIndexesUnregister } from "../funcs/betaRagSearchIndexesUnregister.js";
16
20
  import { betaRagSearchIndexesUpdateIndexMetrics } from "../funcs/betaRagSearchIndexesUpdateIndexMetrics.js";
21
+ import { JsonLStream } from "../lib/jsonl.js";
17
22
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
18
23
  import * as components from "../models/components/index.js";
19
24
  import * as operations from "../models/operations/index.js";
@@ -102,6 +107,49 @@ export class SearchIndexes extends ClientSDK {
102
107
  ));
103
108
  }
104
109
 
110
+ /**
111
+ * Get Index Summary
112
+ *
113
+ * @remarks
114
+ * Retrieve the summary field for an index if it exists
115
+ */
116
+ async getIndexSummary(
117
+ request:
118
+ operations.GetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldLanguageGetRequest,
119
+ options?: RequestOptions,
120
+ ): Promise<components.GetSummaryResponseSummary> {
121
+ return unwrapAsync(betaRagSearchIndexesGetIndexSummary(
122
+ this,
123
+ request,
124
+ options,
125
+ ));
126
+ }
127
+
128
+ /**
129
+ * Generate a summary field for an index
130
+ *
131
+ * @remarks
132
+ * Streams a summary for the index in chunks of json.
133
+ *
134
+ * The first chunk contains metadata for the summary, the following contain
135
+ * chunks of 'content' that should be joined together to form a full summary.
136
+ */
137
+ async generateIndexSummary(
138
+ request:
139
+ operations.GenerateIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldLanguagePostRequest,
140
+ options?: RequestOptions,
141
+ ): Promise<
142
+ JsonLStream<
143
+ operations.GenerateIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldLanguagePostSummaryStreamTypes
144
+ >
145
+ > {
146
+ return unwrapAsync(betaRagSearchIndexesGenerateIndexSummary(
147
+ this,
148
+ request,
149
+ options,
150
+ ));
151
+ }
152
+
105
153
  /**
106
154
  * Set Index Summary
107
155
  *
@@ -110,7 +158,7 @@ export class SearchIndexes extends ClientSDK {
110
158
  */
111
159
  async setIndexSummary(
112
160
  request:
113
- operations.SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest,
161
+ operations.SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldLanguagePutRequest,
114
162
  options?: RequestOptions,
115
163
  ): Promise<any> {
116
164
  return unwrapAsync(betaRagSearchIndexesSetIndexSummary(
@@ -121,17 +169,42 @@ export class SearchIndexes extends ClientSDK {
121
169
  }
122
170
 
123
171
  /**
124
- * Get Index Schema Detail
172
+ * Get Schema Summary
125
173
  *
126
174
  * @remarks
127
- * Get a detailed view of the stored information for a schema
175
+ * Retrieve the summary field for a schema if it exists
128
176
  */
129
- async getIndexSchemaDetail(
177
+ async getSchemaSummary(
130
178
  request:
131
- operations.GetIndexSchemaDetailV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdDetailGetRequest,
179
+ operations.GetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguageGetRequest,
132
180
  options?: RequestOptions,
133
- ): Promise<components.GetSearchIndexSchemaDetailResponseSchemaModel> {
134
- return unwrapAsync(betaRagSearchIndexesGetIndexSchemaDetail(
181
+ ): Promise<components.GetSummaryResponseSummary> {
182
+ return unwrapAsync(betaRagSearchIndexesGetSchemaSummary(
183
+ this,
184
+ request,
185
+ options,
186
+ ));
187
+ }
188
+
189
+ /**
190
+ * Generate a summary field for a schema
191
+ *
192
+ * @remarks
193
+ * Streams a summary for the schema in chunks of json.
194
+ *
195
+ * The first chunk contains metadata for the summary, the following contain
196
+ * chunks of 'content' that should be joined together to form a full summary.
197
+ */
198
+ async generateSchemaSummary(
199
+ request:
200
+ operations.GenerateSchemaSummaryPostV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePostRequest,
201
+ options?: RequestOptions,
202
+ ): Promise<
203
+ JsonLStream<
204
+ operations.GenerateSchemaSummaryPostV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePostSummaryStreamTypes
205
+ >
206
+ > {
207
+ return unwrapAsync(betaRagSearchIndexesGenerateSchemaSummary(
135
208
  this,
136
209
  request,
137
210
  options,
@@ -146,7 +219,7 @@ export class SearchIndexes extends ClientSDK {
146
219
  */
147
220
  async setSchemaSummary(
148
221
  request:
149
- operations.SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest,
222
+ operations.SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldLanguagePutRequest,
150
223
  options?: RequestOptions,
151
224
  ): Promise<any> {
152
225
  return unwrapAsync(betaRagSearchIndexesSetSchemaSummary(
@@ -156,6 +229,24 @@ export class SearchIndexes extends ClientSDK {
156
229
  ));
157
230
  }
158
231
 
232
+ /**
233
+ * Get Index Schema Detail
234
+ *
235
+ * @remarks
236
+ * Get a detailed view of the stored information for a schema
237
+ */
238
+ async getIndexSchemaDetail(
239
+ request:
240
+ operations.GetIndexSchemaDetailV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdDetailGetRequest,
241
+ options?: RequestOptions,
242
+ ): Promise<components.GetSearchIndexSchemaDetailResponseSchemaModel> {
243
+ return unwrapAsync(betaRagSearchIndexesGetIndexSchemaDetail(
244
+ this,
245
+ request,
246
+ options,
247
+ ));
248
+ }
249
+
159
250
  /**
160
251
  * Get Index Schema File
161
252
  */
package/src/sdk/users.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  import { betaUsersGetIdentity } from "../funcs/betaUsersGetIdentity.js";
7
7
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
8
  import * as components from "../models/components/index.js";
9
+ import * as operations from "../models/operations/index.js";
9
10
  import { unwrapAsync } from "../types/fp.js";
10
11
 
11
12
  export class Users extends ClientSDK {
@@ -13,10 +14,12 @@ export class Users extends ClientSDK {
13
14
  * Get Identity
14
15
  */
15
16
  async getIdentity(
17
+ security: operations.UsersApiGetIdentitySecurity,
16
18
  options?: RequestOptions,
17
19
  ): Promise<components.UserIdentity> {
18
20
  return unwrapAsync(betaUsersGetIdentity(
19
21
  this,
22
+ security,
20
23
  options,
21
24
  ));
22
25
  }
@@ -1,12 +0,0 @@
1
- import * as z from "zod/v4";
2
- export type UpdateIndexSummaryRequestSummary = {
3
- summary: string;
4
- };
5
- /** @internal */
6
- export type UpdateIndexSummaryRequestSummary$Outbound = {
7
- summary: string;
8
- };
9
- /** @internal */
10
- export declare const UpdateIndexSummaryRequestSummary$outboundSchema: z.ZodType<UpdateIndexSummaryRequestSummary$Outbound, UpdateIndexSummaryRequestSummary>;
11
- export declare function updateIndexSummaryRequestSummaryToJSON(updateIndexSummaryRequestSummary: UpdateIndexSummaryRequestSummary): string;
12
- //# sourceMappingURL=updateindexsummaryrequestsummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateindexsummaryrequestsummary.d.ts","sourceRoot":"","sources":["../../../src/models/components/updateindexsummaryrequestsummary.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,gCAAgC,CAGhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR"}
@@ -1,13 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 140c43dcd1a0
4
- */
5
- import * as z from "zod/v4";
6
- /** @internal */
7
- export const UpdateIndexSummaryRequestSummary$outboundSchema = z.object({
8
- summary: z.string(),
9
- });
10
- export function updateIndexSummaryRequestSummaryToJSON(updateIndexSummaryRequestSummary) {
11
- return JSON.stringify(UpdateIndexSummaryRequestSummary$outboundSchema.parse(updateIndexSummaryRequestSummary));
12
- }
13
- //# sourceMappingURL=updateindexsummaryrequestsummary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateindexsummaryrequestsummary.js","sourceRoot":"","sources":["../../../src/models/components/updateindexsummaryrequestsummary.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAW5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAGxD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,UAAU,sCAAsC,CACpD,gCAAkE,EAC1D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,+CAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AAAA,CACH"}
@@ -1,12 +0,0 @@
1
- import * as z from "zod/v4";
2
- export type UpdateSchemaSummaryRequestSummary = {
3
- summary: string;
4
- };
5
- /** @internal */
6
- export type UpdateSchemaSummaryRequestSummary$Outbound = {
7
- summary: string;
8
- };
9
- /** @internal */
10
- export declare const UpdateSchemaSummaryRequestSummary$outboundSchema: z.ZodType<UpdateSchemaSummaryRequestSummary$Outbound, UpdateSchemaSummaryRequestSummary>;
11
- export declare function updateSchemaSummaryRequestSummaryToJSON(updateSchemaSummaryRequestSummary: UpdateSchemaSummaryRequestSummary): string;
12
- //# sourceMappingURL=updateschemasummaryrequestsummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateschemasummaryrequestsummary.d.ts","sourceRoot":"","sources":["../../../src/models/components/updateschemasummaryrequestsummary.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,iCAAiC,GAAG;IAC9C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,iCAAiC,CAGjC,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR"}
@@ -1,13 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: f0f5e9064139
4
- */
5
- import * as z from "zod/v4";
6
- /** @internal */
7
- export const UpdateSchemaSummaryRequestSummary$outboundSchema = z.object({
8
- summary: z.string(),
9
- });
10
- export function updateSchemaSummaryRequestSummaryToJSON(updateSchemaSummaryRequestSummary) {
11
- return JSON.stringify(UpdateSchemaSummaryRequestSummary$outboundSchema.parse(updateSchemaSummaryRequestSummary));
12
- }
13
- //# sourceMappingURL=updateschemasummaryrequestsummary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateschemasummaryrequestsummary.js","sourceRoot":"","sources":["../../../src/models/components/updateschemasummaryrequestsummary.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAW5B,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAGzD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,iCAAoE,EAC5D;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AAAA,CACH"}
@@ -1,15 +0,0 @@
1
- import * as z from "zod/v4";
2
- import * as components from "../components/index.js";
3
- export type SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest = {
4
- indexId: string;
5
- updateIndexSummaryRequestSummary: components.UpdateIndexSummaryRequestSummary;
6
- };
7
- /** @internal */
8
- export type SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest$Outbound = {
9
- index_id: string;
10
- UpdateIndexSummaryRequestSummary: components.UpdateIndexSummaryRequestSummary$Outbound;
11
- };
12
- /** @internal */
13
- export declare const SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest$outboundSchema: z.ZodType<SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest$Outbound, SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest>;
14
- export declare function setIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequestToJSON(setIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest: SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest): string;
15
- //# sourceMappingURL=setindexsummaryv1ragindexesindexindexidsummaryfieldput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setindexsummaryv1ragindexesindexindexidsummaryfieldput.d.ts","sourceRoot":"","sources":["../../../src/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,6DAA6D,GAAG;IAC1E,OAAO,EAAE,MAAM,CAAC;IAChB,gCAAgC,EAAE,UAAU,CAAC,gCAAgC,CAAC;CAC/E,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sEAAsE,GAChF;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC,EAC9B,UAAU,CAAC,yCAAyC,CAAC;CACxD,CAAC;AAEJ,gBAAgB;AAChB,eAAO,MAAM,4EAA4E,EACvF,CAAC,CAAC,OAAO,CACP,sEAAsE,EACtE,6DAA6D,CAU7D,CAAC;AAEL,wBAAgB,mEAAmE,CACjF,6DAA6D,EAC3D,6DAA6D,GAC9D,MAAM,CAKR"}
@@ -1,22 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: f71d3eca2a6a
4
- */
5
- import * as z from "zod/v4";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import * as components from "../components/index.js";
8
- /** @internal */
9
- export const SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest$outboundSchema = z.object({
10
- indexId: z.string(),
11
- updateIndexSummaryRequestSummary: components.UpdateIndexSummaryRequestSummary$outboundSchema,
12
- }).transform((v) => {
13
- return remap$(v, {
14
- indexId: "index_id",
15
- updateIndexSummaryRequestSummary: "UpdateIndexSummaryRequestSummary",
16
- });
17
- });
18
- export function setIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequestToJSON(setIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest) {
19
- return JSON.stringify(SetIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest$outboundSchema
20
- .parse(setIndexSummaryV1RagIndexesIndexIndexIdSummaryFieldPutRequest));
21
- }
22
- //# sourceMappingURL=setindexsummaryv1ragindexesindexindexidsummaryfieldput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setindexsummaryv1ragindexesindexindexidsummaryfieldput.js","sourceRoot":"","sources":["../../../src/models/operations/setindexsummaryv1ragindexesindexindexidsummaryfieldput.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAerD,gBAAgB;AAChB,MAAM,CAAC,MAAM,4EAA4E,GAInF,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,gCAAgC,EAC9B,UAAU,CAAC,+CAA+C;CAC7D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;QACnB,gCAAgC,EAAE,kCAAkC;KACrE,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEL,MAAM,UAAU,mEAAmE,CACjF,6DAC+D,EACvD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,4EAA4E;SACzE,KAAK,CAAC,6DAA6D,CAAC,CACxE,CAAC;AAAA,CACH"}
@@ -1,17 +0,0 @@
1
- import * as z from "zod/v4";
2
- import * as components from "../components/index.js";
3
- export type SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest = {
4
- indexId: string;
5
- schemaId: string;
6
- updateSchemaSummaryRequestSummary: components.UpdateSchemaSummaryRequestSummary;
7
- };
8
- /** @internal */
9
- export type SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest$Outbound = {
10
- index_id: string;
11
- schema_id: string;
12
- UpdateSchemaSummaryRequestSummary: components.UpdateSchemaSummaryRequestSummary$Outbound;
13
- };
14
- /** @internal */
15
- export declare const SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest$outboundSchema: z.ZodType<SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest$Outbound, SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest>;
16
- export declare function setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequestToJSON(setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest: SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest): string;
17
- //# sourceMappingURL=setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.d.ts","sourceRoot":"","sources":["../../../src/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAErD,MAAM,MAAM,mFAAmF,GAC7F;IACE,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC,EAC/B,UAAU,CAAC,iCAAiC,CAAC;CAChD,CAAC;AAEJ,gBAAgB;AAChB,MAAM,MAAM,4FAA4F,GACtG;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC,EAC/B,UAAU,CAAC,0CAA0C,CAAC;CACzD,CAAC;AAEJ,gBAAgB;AAChB,eAAO,MAAM,kGAAkG,EAC7G,CAAC,CAAC,OAAO,CACP,4FAA4F,EAC5F,mFAAmF,CAYnF,CAAC;AAEL,wBAAgB,yFAAyF,CACvG,mFAAmF,EACjF,mFAAmF,GACpF,MAAM,CAOR"}
@@ -1,24 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 69938506ae81
4
- */
5
- import * as z from "zod/v4";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import * as components from "../components/index.js";
8
- /** @internal */
9
- export const SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest$outboundSchema = z.object({
10
- indexId: z.string(),
11
- schemaId: z.string(),
12
- updateSchemaSummaryRequestSummary: components.UpdateSchemaSummaryRequestSummary$outboundSchema,
13
- }).transform((v) => {
14
- return remap$(v, {
15
- indexId: "index_id",
16
- schemaId: "schema_id",
17
- updateSchemaSummaryRequestSummary: "UpdateSchemaSummaryRequestSummary",
18
- });
19
- });
20
- export function setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequestToJSON(setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest) {
21
- return JSON.stringify(SetSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest$outboundSchema
22
- .parse(setSchemaSummaryV1RagIndexesIndexIndexIdSchemasSchemaSchemaIdSummaryFieldPutRequest));
23
- }
24
- //# sourceMappingURL=setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.js","sourceRoot":"","sources":["../../../src/models/operations/setschemasummaryv1ragindexesindexindexidschemasschemaschemaidsummaryfieldput.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAmBrD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kGAAkG,GAIzG,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,iCAAiC,EAC/B,UAAU,CAAC,gDAAgD;CAC9D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,WAAW;QACrB,iCAAiC,EAAE,mCAAmC;KACvE,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEL,MAAM,UAAU,yFAAyF,CACvG,mFACqF,EAC7E;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,kGAAkG;SAC/F,KAAK,CACJ,mFAAmF,CACpF,CACJ,CAAC;AAAA,CACH"}
@@ -1,33 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 140c43dcd1a0
4
- */
5
-
6
- import * as z from "zod/v4";
7
-
8
- export type UpdateIndexSummaryRequestSummary = {
9
- summary: string;
10
- };
11
-
12
- /** @internal */
13
- export type UpdateIndexSummaryRequestSummary$Outbound = {
14
- summary: string;
15
- };
16
-
17
- /** @internal */
18
- export const UpdateIndexSummaryRequestSummary$outboundSchema: z.ZodType<
19
- UpdateIndexSummaryRequestSummary$Outbound,
20
- UpdateIndexSummaryRequestSummary
21
- > = z.object({
22
- summary: z.string(),
23
- });
24
-
25
- export function updateIndexSummaryRequestSummaryToJSON(
26
- updateIndexSummaryRequestSummary: UpdateIndexSummaryRequestSummary,
27
- ): string {
28
- return JSON.stringify(
29
- UpdateIndexSummaryRequestSummary$outboundSchema.parse(
30
- updateIndexSummaryRequestSummary,
31
- ),
32
- );
33
- }
@@ -1,33 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: f0f5e9064139
4
- */
5
-
6
- import * as z from "zod/v4";
7
-
8
- export type UpdateSchemaSummaryRequestSummary = {
9
- summary: string;
10
- };
11
-
12
- /** @internal */
13
- export type UpdateSchemaSummaryRequestSummary$Outbound = {
14
- summary: string;
15
- };
16
-
17
- /** @internal */
18
- export const UpdateSchemaSummaryRequestSummary$outboundSchema: z.ZodType<
19
- UpdateSchemaSummaryRequestSummary$Outbound,
20
- UpdateSchemaSummaryRequestSummary
21
- > = z.object({
22
- summary: z.string(),
23
- });
24
-
25
- export function updateSchemaSummaryRequestSummaryToJSON(
26
- updateSchemaSummaryRequestSummary: UpdateSchemaSummaryRequestSummary,
27
- ): string {
28
- return JSON.stringify(
29
- UpdateSchemaSummaryRequestSummary$outboundSchema.parse(
30
- updateSchemaSummaryRequestSummary,
31
- ),
32
- );
33
- }