@azure/search-documents 12.3.0-alpha.20260310.2 → 13.0.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 (744) hide show
  1. package/dist/browser/base64.d.ts.map +1 -1
  2. package/dist/browser/base64.js +3 -2
  3. package/dist/browser/base64.js.map +1 -1
  4. package/dist/browser/index.d.ts +9 -7
  5. package/dist/browser/index.d.ts.map +1 -1
  6. package/dist/browser/index.js +3 -4
  7. package/dist/browser/index.js.map +1 -1
  8. package/dist/browser/indexModels.d.ts +13 -112
  9. package/dist/browser/indexModels.d.ts.map +1 -1
  10. package/dist/browser/indexModels.js.map +1 -1
  11. package/dist/browser/knowledgeBaseModels.d.ts +4 -17
  12. package/dist/browser/knowledgeBaseModels.d.ts.map +1 -1
  13. package/dist/browser/knowledgeBaseModels.js.map +1 -1
  14. package/dist/browser/knowledgeBaseRetrieval/api/index.d.ts +2 -1
  15. package/dist/browser/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
  16. package/dist/browser/knowledgeBaseRetrieval/api/index.js +1 -1
  17. package/dist/browser/knowledgeBaseRetrieval/api/index.js.map +1 -1
  18. package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
  19. package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
  20. package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +3 -3
  21. package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
  22. package/dist/browser/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
  23. package/dist/browser/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
  24. package/dist/browser/knowledgeBaseRetrieval/api/operations.js +9 -8
  25. package/dist/browser/knowledgeBaseRetrieval/api/operations.js.map +1 -1
  26. package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts +2 -2
  27. package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
  28. package/dist/browser/knowledgeBaseRetrieval/api/options.js.map +1 -1
  29. package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
  30. package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
  31. package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +4 -4
  32. package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +1 -1
  33. package/dist/browser/knowledgeRetrievalClient.d.ts +2 -2
  34. package/dist/browser/knowledgeRetrievalClient.d.ts.map +1 -1
  35. package/dist/browser/knowledgeRetrievalClient.js +4 -4
  36. package/dist/browser/knowledgeRetrievalClient.js.map +1 -1
  37. package/dist/browser/models/azure/search/documents/index.d.ts +2 -1
  38. package/dist/browser/models/azure/search/documents/index.d.ts.map +1 -1
  39. package/dist/browser/models/azure/search/documents/index.js +1 -1
  40. package/dist/browser/models/azure/search/documents/index.js.map +1 -1
  41. package/dist/browser/models/azure/search/documents/indexes/index.d.ts +2 -1
  42. package/dist/browser/models/azure/search/documents/indexes/index.d.ts.map +1 -1
  43. package/dist/browser/models/azure/search/documents/indexes/index.js +1 -1
  44. package/dist/browser/models/azure/search/documents/indexes/index.js.map +1 -1
  45. package/dist/browser/models/azure/search/documents/indexes/models.d.ts +50 -477
  46. package/dist/browser/models/azure/search/documents/indexes/models.d.ts.map +1 -1
  47. package/dist/browser/models/azure/search/documents/indexes/models.js +40 -526
  48. package/dist/browser/models/azure/search/documents/indexes/models.js.map +1 -1
  49. package/dist/browser/models/azure/search/documents/knowledgeBases/index.d.ts +2 -1
  50. package/dist/browser/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
  51. package/dist/browser/models/azure/search/documents/knowledgeBases/index.js +1 -1
  52. package/dist/browser/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
  53. package/dist/browser/models/azure/search/documents/knowledgeBases/models.d.ts +135 -242
  54. package/dist/browser/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
  55. package/dist/browser/models/azure/search/documents/knowledgeBases/models.js +131 -291
  56. package/dist/browser/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
  57. package/dist/browser/models/azure/search/documents/models.d.ts +2 -466
  58. package/dist/browser/models/azure/search/documents/models.d.ts.map +1 -1
  59. package/dist/browser/models/azure/search/documents/models.js +1 -429
  60. package/dist/browser/models/azure/search/documents/models.js.map +1 -1
  61. package/dist/browser/models/index.d.ts +1 -0
  62. package/dist/browser/models/index.d.ts.map +1 -1
  63. package/dist/browser/models/index.js.map +1 -1
  64. package/dist/browser/models/models.d.ts +3 -3
  65. package/dist/browser/models/models.d.ts.map +1 -1
  66. package/dist/browser/models/models.js +3 -3
  67. package/dist/browser/models/models.js.map +1 -1
  68. package/dist/browser/search/api/index.d.ts +2 -1
  69. package/dist/browser/search/api/index.d.ts.map +1 -1
  70. package/dist/browser/search/api/index.js +1 -1
  71. package/dist/browser/search/api/index.js.map +1 -1
  72. package/dist/browser/search/api/operations.d.ts.map +1 -1
  73. package/dist/browser/search/api/operations.js +35 -54
  74. package/dist/browser/search/api/operations.js.map +1 -1
  75. package/dist/browser/search/api/options.d.ts +19 -31
  76. package/dist/browser/search/api/options.d.ts.map +1 -1
  77. package/dist/browser/search/api/options.js.map +1 -1
  78. package/dist/browser/search/api/searchContext.js +1 -1
  79. package/dist/browser/search/api/searchContext.js.map +1 -1
  80. package/dist/browser/searchClient.d.ts +0 -1
  81. package/dist/browser/searchClient.d.ts.map +1 -1
  82. package/dist/browser/searchClient.js +22 -39
  83. package/dist/browser/searchClient.js.map +1 -1
  84. package/dist/browser/searchIndex/api/index.d.ts +4 -3
  85. package/dist/browser/searchIndex/api/index.d.ts.map +1 -1
  86. package/dist/browser/searchIndex/api/index.js +2 -2
  87. package/dist/browser/searchIndex/api/index.js.map +1 -1
  88. package/dist/browser/searchIndex/api/operations.d.ts +2 -6
  89. package/dist/browser/searchIndex/api/operations.d.ts.map +1 -1
  90. package/dist/browser/searchIndex/api/operations.js +186 -96
  91. package/dist/browser/searchIndex/api/operations.js.map +1 -1
  92. package/dist/browser/searchIndex/api/options.d.ts +60 -5
  93. package/dist/browser/searchIndex/api/options.d.ts.map +1 -1
  94. package/dist/browser/searchIndex/api/options.js.map +1 -1
  95. package/dist/browser/searchIndex/api/searchIndexContext.js +1 -1
  96. package/dist/browser/searchIndex/api/searchIndexContext.js.map +1 -1
  97. package/dist/browser/searchIndex/index.d.ts +1 -1
  98. package/dist/browser/searchIndex/index.d.ts.map +1 -1
  99. package/dist/browser/searchIndex/index.js.map +1 -1
  100. package/dist/browser/searchIndex/searchIndexClient.d.ts +2 -4
  101. package/dist/browser/searchIndex/searchIndexClient.d.ts.map +1 -1
  102. package/dist/browser/searchIndex/searchIndexClient.js +1 -5
  103. package/dist/browser/searchIndex/searchIndexClient.js.map +1 -1
  104. package/dist/browser/searchIndexClient.d.ts +2 -7
  105. package/dist/browser/searchIndexClient.d.ts.map +1 -1
  106. package/dist/browser/searchIndexClient.js +2 -9
  107. package/dist/browser/searchIndexClient.js.map +1 -1
  108. package/dist/browser/searchIndexer/api/index.d.ts +4 -3
  109. package/dist/browser/searchIndexer/api/index.d.ts.map +1 -1
  110. package/dist/browser/searchIndexer/api/index.js +2 -2
  111. package/dist/browser/searchIndexer/api/index.js.map +1 -1
  112. package/dist/browser/searchIndexer/api/operations.d.ts +2 -14
  113. package/dist/browser/searchIndexer/api/operations.d.ts.map +1 -1
  114. package/dist/browser/searchIndexer/api/operations.js +112 -150
  115. package/dist/browser/searchIndexer/api/operations.js.map +1 -1
  116. package/dist/browser/searchIndexer/api/options.d.ts +36 -30
  117. package/dist/browser/searchIndexer/api/options.d.ts.map +1 -1
  118. package/dist/browser/searchIndexer/api/options.js.map +1 -1
  119. package/dist/browser/searchIndexer/api/searchIndexerContext.js +1 -1
  120. package/dist/browser/searchIndexer/api/searchIndexerContext.js.map +1 -1
  121. package/dist/browser/searchIndexer/index.d.ts +1 -1
  122. package/dist/browser/searchIndexer/index.d.ts.map +1 -1
  123. package/dist/browser/searchIndexer/index.js.map +1 -1
  124. package/dist/browser/searchIndexer/searchIndexerClient.d.ts +2 -8
  125. package/dist/browser/searchIndexer/searchIndexerClient.d.ts.map +1 -1
  126. package/dist/browser/searchIndexer/searchIndexerClient.js +1 -13
  127. package/dist/browser/searchIndexer/searchIndexerClient.js.map +1 -1
  128. package/dist/browser/searchIndexerClient.d.ts +1 -14
  129. package/dist/browser/searchIndexerClient.d.ts.map +1 -1
  130. package/dist/browser/searchIndexerClient.js +0 -27
  131. package/dist/browser/searchIndexerClient.js.map +1 -1
  132. package/dist/browser/searchIndexingBufferedSender.d.ts.map +1 -1
  133. package/dist/browser/searchIndexingBufferedSender.js +3 -7
  134. package/dist/browser/searchIndexingBufferedSender.js.map +1 -1
  135. package/dist/browser/serviceModels.d.ts +7 -191
  136. package/dist/browser/serviceModels.d.ts.map +1 -1
  137. package/dist/browser/serviceModels.js.map +1 -1
  138. package/dist/browser/serviceUtils.d.ts +3 -5
  139. package/dist/browser/serviceUtils.d.ts.map +1 -1
  140. package/dist/browser/serviceUtils.js +30 -87
  141. package/dist/browser/serviceUtils.js.map +1 -1
  142. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  143. package/dist/browser/{synonymMapHelper.d.ts → synonymMapHelper-browser.d.mts} +3 -3
  144. package/dist/browser/synonymMapHelper-browser.d.mts.map +1 -0
  145. package/dist/browser/{synonymMapHelper.js → synonymMapHelper-browser.mjs} +3 -3
  146. package/dist/browser/synonymMapHelper-browser.mjs.map +1 -0
  147. package/dist/browser/timers-browser.d.mts +8 -0
  148. package/dist/browser/timers-browser.d.mts.map +1 -0
  149. package/dist/browser/timers-browser.mjs +13 -0
  150. package/dist/browser/timers-browser.mjs.map +1 -0
  151. package/dist/browser/tracing.d.ts.map +1 -1
  152. package/dist/browser/walk.js +1 -1
  153. package/dist/browser/walk.js.map +1 -1
  154. package/dist/commonjs/base64.d.ts.map +1 -1
  155. package/dist/commonjs/base64.js +4 -2
  156. package/dist/commonjs/base64.js.map +3 -3
  157. package/dist/commonjs/geographyPoint.js +1 -0
  158. package/dist/commonjs/geographyPoint.js.map +1 -1
  159. package/dist/commonjs/index.d.ts +8 -6
  160. package/dist/commonjs/index.d.ts.map +1 -1
  161. package/dist/commonjs/index.js +1 -29
  162. package/dist/commonjs/index.js.map +3 -3
  163. package/dist/commonjs/indexDocumentsBatch.js +1 -0
  164. package/dist/commonjs/indexDocumentsBatch.js.map +1 -1
  165. package/dist/commonjs/indexModels.d.ts +13 -112
  166. package/dist/commonjs/indexModels.d.ts.map +1 -1
  167. package/dist/commonjs/indexModels.js +1 -0
  168. package/dist/commonjs/indexModels.js.map +2 -2
  169. package/dist/commonjs/knowledgeBaseModels.d.ts +4 -17
  170. package/dist/commonjs/knowledgeBaseModels.d.ts.map +1 -1
  171. package/dist/commonjs/knowledgeBaseModels.js +1 -0
  172. package/dist/commonjs/knowledgeBaseModels.js.map +2 -2
  173. package/dist/commonjs/knowledgeBaseRetrieval/api/index.d.ts +2 -1
  174. package/dist/commonjs/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
  175. package/dist/commonjs/knowledgeBaseRetrieval/api/index.js +1 -0
  176. package/dist/commonjs/knowledgeBaseRetrieval/api/index.js.map +3 -3
  177. package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
  178. package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
  179. package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +4 -3
  180. package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +3 -3
  181. package/dist/commonjs/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
  182. package/dist/commonjs/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
  183. package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js +9 -7
  184. package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js.map +3 -3
  185. package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts +2 -2
  186. package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
  187. package/dist/commonjs/knowledgeBaseRetrieval/api/options.js +1 -0
  188. package/dist/commonjs/knowledgeBaseRetrieval/api/options.js.map +2 -2
  189. package/dist/commonjs/knowledgeBaseRetrieval/index.js +1 -0
  190. package/dist/commonjs/knowledgeBaseRetrieval/index.js.map +1 -1
  191. package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
  192. package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
  193. package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +5 -4
  194. package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +3 -3
  195. package/dist/commonjs/knowledgeRetrievalClient.d.ts +2 -2
  196. package/dist/commonjs/knowledgeRetrievalClient.d.ts.map +1 -1
  197. package/dist/commonjs/knowledgeRetrievalClient.js +10 -4
  198. package/dist/commonjs/knowledgeRetrievalClient.js.map +3 -3
  199. package/dist/commonjs/logger.js +1 -0
  200. package/dist/commonjs/logger.js.map +1 -1
  201. package/dist/commonjs/models/azure/search/documents/index.d.ts +2 -1
  202. package/dist/commonjs/models/azure/search/documents/index.d.ts.map +1 -1
  203. package/dist/commonjs/models/azure/search/documents/index.js +3 -16
  204. package/dist/commonjs/models/azure/search/documents/index.js.map +3 -3
  205. package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts +2 -1
  206. package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts.map +1 -1
  207. package/dist/commonjs/models/azure/search/documents/indexes/index.js +1 -18
  208. package/dist/commonjs/models/azure/search/documents/indexes/index.js.map +3 -3
  209. package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts +50 -477
  210. package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts.map +1 -1
  211. package/dist/commonjs/models/azure/search/documents/indexes/models.js +40 -501
  212. package/dist/commonjs/models/azure/search/documents/indexes/models.js.map +4 -4
  213. package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts +2 -1
  214. package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
  215. package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js +1 -2
  216. package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js.map +3 -3
  217. package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts +135 -242
  218. package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
  219. package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js +136 -335
  220. package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js.map +4 -4
  221. package/dist/commonjs/models/azure/search/documents/models.d.ts +2 -466
  222. package/dist/commonjs/models/azure/search/documents/models.d.ts.map +1 -1
  223. package/dist/commonjs/models/azure/search/documents/models.js +8 -354
  224. package/dist/commonjs/models/azure/search/documents/models.js.map +4 -4
  225. package/dist/commonjs/models/index.d.ts +1 -0
  226. package/dist/commonjs/models/index.d.ts.map +1 -1
  227. package/dist/commonjs/models/index.js +1 -0
  228. package/dist/commonjs/models/index.js.map +2 -2
  229. package/dist/commonjs/models/models.d.ts +3 -3
  230. package/dist/commonjs/models/models.d.ts.map +1 -1
  231. package/dist/commonjs/models/models.js +2 -1
  232. package/dist/commonjs/models/models.js.map +3 -3
  233. package/dist/commonjs/odata.js +1 -0
  234. package/dist/commonjs/odata.js.map +1 -1
  235. package/dist/commonjs/odataMetadataPolicy.js +1 -0
  236. package/dist/commonjs/odataMetadataPolicy.js.map +1 -1
  237. package/dist/commonjs/search/api/index.d.ts +2 -1
  238. package/dist/commonjs/search/api/index.d.ts.map +1 -1
  239. package/dist/commonjs/search/api/index.js +1 -0
  240. package/dist/commonjs/search/api/index.js.map +3 -3
  241. package/dist/commonjs/search/api/operations.d.ts.map +1 -1
  242. package/dist/commonjs/search/api/operations.js +22 -42
  243. package/dist/commonjs/search/api/operations.js.map +3 -3
  244. package/dist/commonjs/search/api/options.d.ts +19 -31
  245. package/dist/commonjs/search/api/options.d.ts.map +1 -1
  246. package/dist/commonjs/search/api/options.js +1 -0
  247. package/dist/commonjs/search/api/options.js.map +2 -2
  248. package/dist/commonjs/search/api/searchContext.js +2 -1
  249. package/dist/commonjs/search/api/searchContext.js.map +2 -2
  250. package/dist/commonjs/search/index.js +1 -0
  251. package/dist/commonjs/search/index.js.map +1 -1
  252. package/dist/commonjs/search/searchClient.js +1 -0
  253. package/dist/commonjs/search/searchClient.js.map +1 -1
  254. package/dist/commonjs/searchApiKeyCredentialPolicy.js +1 -0
  255. package/dist/commonjs/searchApiKeyCredentialPolicy.js.map +1 -1
  256. package/dist/commonjs/searchAudience.js +1 -0
  257. package/dist/commonjs/searchAudience.js.map +1 -1
  258. package/dist/commonjs/searchClient.d.ts +0 -1
  259. package/dist/commonjs/searchClient.d.ts.map +1 -1
  260. package/dist/commonjs/searchClient.js +24 -43
  261. package/dist/commonjs/searchClient.js.map +3 -3
  262. package/dist/commonjs/searchIndex/api/index.d.ts +4 -3
  263. package/dist/commonjs/searchIndex/api/index.d.ts.map +1 -1
  264. package/dist/commonjs/searchIndex/api/index.js +1 -2
  265. package/dist/commonjs/searchIndex/api/index.js.map +3 -3
  266. package/dist/commonjs/searchIndex/api/operations.d.ts +2 -6
  267. package/dist/commonjs/searchIndex/api/operations.d.ts.map +1 -1
  268. package/dist/commonjs/searchIndex/api/operations.js +126 -108
  269. package/dist/commonjs/searchIndex/api/operations.js.map +3 -3
  270. package/dist/commonjs/searchIndex/api/options.d.ts +60 -5
  271. package/dist/commonjs/searchIndex/api/options.d.ts.map +1 -1
  272. package/dist/commonjs/searchIndex/api/options.js +1 -0
  273. package/dist/commonjs/searchIndex/api/options.js.map +2 -2
  274. package/dist/commonjs/searchIndex/api/searchIndexContext.js +2 -1
  275. package/dist/commonjs/searchIndex/api/searchIndexContext.js.map +2 -2
  276. package/dist/commonjs/searchIndex/index.d.ts +1 -1
  277. package/dist/commonjs/searchIndex/index.d.ts.map +1 -1
  278. package/dist/commonjs/searchIndex/index.js +1 -0
  279. package/dist/commonjs/searchIndex/index.js.map +2 -2
  280. package/dist/commonjs/searchIndex/searchIndexClient.d.ts +2 -4
  281. package/dist/commonjs/searchIndex/searchIndexClient.d.ts.map +1 -1
  282. package/dist/commonjs/searchIndex/searchIndexClient.js +1 -4
  283. package/dist/commonjs/searchIndex/searchIndexClient.js.map +3 -3
  284. package/dist/commonjs/searchIndexClient.d.ts +2 -7
  285. package/dist/commonjs/searchIndexClient.d.ts.map +1 -1
  286. package/dist/commonjs/searchIndexClient.js +3 -9
  287. package/dist/commonjs/searchIndexClient.js.map +3 -3
  288. package/dist/commonjs/searchIndexer/api/index.d.ts +4 -3
  289. package/dist/commonjs/searchIndexer/api/index.d.ts.map +1 -1
  290. package/dist/commonjs/searchIndexer/api/index.js +1 -6
  291. package/dist/commonjs/searchIndexer/api/index.js.map +3 -3
  292. package/dist/commonjs/searchIndexer/api/operations.d.ts +2 -14
  293. package/dist/commonjs/searchIndexer/api/operations.d.ts.map +1 -1
  294. package/dist/commonjs/searchIndexer/api/operations.js +76 -168
  295. package/dist/commonjs/searchIndexer/api/operations.js.map +3 -3
  296. package/dist/commonjs/searchIndexer/api/options.d.ts +36 -30
  297. package/dist/commonjs/searchIndexer/api/options.d.ts.map +1 -1
  298. package/dist/commonjs/searchIndexer/api/options.js +1 -0
  299. package/dist/commonjs/searchIndexer/api/options.js.map +2 -2
  300. package/dist/commonjs/searchIndexer/api/searchIndexerContext.js +2 -1
  301. package/dist/commonjs/searchIndexer/api/searchIndexerContext.js.map +2 -2
  302. package/dist/commonjs/searchIndexer/index.d.ts +1 -1
  303. package/dist/commonjs/searchIndexer/index.d.ts.map +1 -1
  304. package/dist/commonjs/searchIndexer/index.js +1 -0
  305. package/dist/commonjs/searchIndexer/index.js.map +2 -2
  306. package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts +2 -8
  307. package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts.map +1 -1
  308. package/dist/commonjs/searchIndexer/searchIndexerClient.js +1 -12
  309. package/dist/commonjs/searchIndexer/searchIndexerClient.js.map +3 -3
  310. package/dist/commonjs/searchIndexerClient.d.ts +1 -14
  311. package/dist/commonjs/searchIndexerClient.d.ts.map +1 -1
  312. package/dist/commonjs/searchIndexerClient.js +1 -39
  313. package/dist/commonjs/searchIndexerClient.js.map +3 -3
  314. package/dist/commonjs/searchIndexingBufferedSender.d.ts.map +1 -1
  315. package/dist/commonjs/searchIndexingBufferedSender.js +4 -7
  316. package/dist/commonjs/searchIndexingBufferedSender.js.map +3 -3
  317. package/dist/commonjs/serialization.js +1 -0
  318. package/dist/commonjs/serialization.js.map +1 -1
  319. package/dist/commonjs/serviceModels.d.ts +7 -191
  320. package/dist/commonjs/serviceModels.d.ts.map +1 -1
  321. package/dist/commonjs/serviceModels.js +1 -0
  322. package/dist/commonjs/serviceModels.js.map +3 -3
  323. package/dist/commonjs/serviceUtils.d.ts +3 -5
  324. package/dist/commonjs/serviceUtils.d.ts.map +1 -1
  325. package/dist/commonjs/serviceUtils.js +31 -89
  326. package/dist/commonjs/serviceUtils.js.map +3 -3
  327. package/dist/commonjs/static-helpers/pagingHelpers.js +1 -0
  328. package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
  329. package/dist/commonjs/static-helpers/serialization/build-csv-collection.js +1 -0
  330. package/dist/commonjs/static-helpers/serialization/build-csv-collection.js.map +1 -1
  331. package/dist/commonjs/static-helpers/serialization/build-newline-collection.js +1 -0
  332. package/dist/commonjs/static-helpers/serialization/build-newline-collection.js.map +1 -1
  333. package/dist/commonjs/static-helpers/serialization/build-pipe-collection.js +1 -0
  334. package/dist/commonjs/static-helpers/serialization/build-pipe-collection.js.map +1 -1
  335. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
  336. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
  337. package/dist/commonjs/static-helpers/serialization/parse-csv-collection.js +1 -0
  338. package/dist/commonjs/static-helpers/serialization/parse-csv-collection.js.map +1 -1
  339. package/dist/commonjs/static-helpers/serialization/parse-newline-collection.js +1 -0
  340. package/dist/commonjs/static-helpers/serialization/parse-newline-collection.js.map +1 -1
  341. package/dist/commonjs/static-helpers/serialization/parse-pipe-collection.js +1 -0
  342. package/dist/commonjs/static-helpers/serialization/parse-pipe-collection.js.map +1 -1
  343. package/dist/commonjs/static-helpers/serialization/serialize-record.js +1 -0
  344. package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +1 -1
  345. package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
  346. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  347. package/dist/commonjs/synonymMapHelper.js +1 -0
  348. package/dist/commonjs/synonymMapHelper.js.map +1 -1
  349. package/dist/commonjs/timers.d.ts +9 -0
  350. package/dist/commonjs/timers.d.ts.map +1 -0
  351. package/dist/commonjs/{errorModels.js → timers.js} +19 -2
  352. package/dist/commonjs/timers.js.map +7 -0
  353. package/dist/commonjs/tracing.d.ts.map +1 -1
  354. package/dist/commonjs/tracing.js +1 -0
  355. package/dist/commonjs/tracing.js.map +1 -1
  356. package/dist/commonjs/tsdoc-metadata.json +1 -1
  357. package/dist/commonjs/walk.js +2 -1
  358. package/dist/commonjs/walk.js.map +3 -3
  359. package/dist/esm/base64.d.ts.map +1 -1
  360. package/dist/esm/base64.js +16 -8
  361. package/dist/esm/base64.js.map +1 -7
  362. package/dist/esm/geographyPoint.js +35 -32
  363. package/dist/esm/geographyPoint.js.map +1 -7
  364. package/dist/esm/index.d.ts +8 -6
  365. package/dist/esm/index.d.ts.map +1 -1
  366. package/dist/esm/index.js +17 -190
  367. package/dist/esm/index.js.map +1 -7
  368. package/dist/esm/indexDocumentsBatch.js +78 -73
  369. package/dist/esm/indexDocumentsBatch.js.map +1 -7
  370. package/dist/esm/indexModels.d.ts +13 -112
  371. package/dist/esm/indexModels.d.ts.map +1 -1
  372. package/dist/esm/indexModels.js +4 -0
  373. package/dist/esm/indexModels.js.map +1 -7
  374. package/dist/esm/knowledgeBaseModels.d.ts +4 -17
  375. package/dist/esm/knowledgeBaseModels.d.ts.map +1 -1
  376. package/dist/esm/knowledgeBaseModels.js +4 -0
  377. package/dist/esm/knowledgeBaseModels.js.map +1 -7
  378. package/dist/esm/knowledgeBaseRetrieval/api/index.d.ts +2 -1
  379. package/dist/esm/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
  380. package/dist/esm/knowledgeBaseRetrieval/api/index.js +5 -8
  381. package/dist/esm/knowledgeBaseRetrieval/api/index.js.map +1 -7
  382. package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
  383. package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
  384. package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +22 -20
  385. package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -7
  386. package/dist/esm/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
  387. package/dist/esm/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
  388. package/dist/esm/knowledgeBaseRetrieval/api/operations.js +39 -42
  389. package/dist/esm/knowledgeBaseRetrieval/api/operations.js.map +1 -7
  390. package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts +2 -2
  391. package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
  392. package/dist/esm/knowledgeBaseRetrieval/api/options.js +4 -0
  393. package/dist/esm/knowledgeBaseRetrieval/api/options.js.map +1 -7
  394. package/dist/esm/knowledgeBaseRetrieval/index.js +4 -4
  395. package/dist/esm/knowledgeBaseRetrieval/index.js.map +1 -7
  396. package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
  397. package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
  398. package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +22 -20
  399. package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +1 -7
  400. package/dist/esm/knowledgeRetrievalClient.d.ts +2 -2
  401. package/dist/esm/knowledgeRetrievalClient.d.ts.map +1 -1
  402. package/dist/esm/knowledgeRetrievalClient.js +89 -91
  403. package/dist/esm/knowledgeRetrievalClient.js.map +1 -7
  404. package/dist/esm/logger.js +7 -4
  405. package/dist/esm/logger.js.map +1 -7
  406. package/dist/esm/models/azure/search/documents/index.d.ts +2 -1
  407. package/dist/esm/models/azure/search/documents/index.d.ts.map +1 -1
  408. package/dist/esm/models/azure/search/documents/index.js +4 -36
  409. package/dist/esm/models/azure/search/documents/index.js.map +1 -7
  410. package/dist/esm/models/azure/search/documents/indexes/index.d.ts +2 -1
  411. package/dist/esm/models/azure/search/documents/indexes/index.d.ts.map +1 -1
  412. package/dist/esm/models/azure/search/documents/indexes/index.js +4 -130
  413. package/dist/esm/models/azure/search/documents/indexes/index.js.map +1 -7
  414. package/dist/esm/models/azure/search/documents/indexes/models.d.ts +50 -477
  415. package/dist/esm/models/azure/search/documents/indexes/models.d.ts.map +1 -1
  416. package/dist/esm/models/azure/search/documents/indexes/models.js +6374 -6188
  417. package/dist/esm/models/azure/search/documents/indexes/models.js.map +1 -7
  418. package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts +2 -1
  419. package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
  420. package/dist/esm/models/azure/search/documents/knowledgeBases/index.js +4 -16
  421. package/dist/esm/models/azure/search/documents/knowledgeBases/index.js.map +1 -7
  422. package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts +135 -242
  423. package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
  424. package/dist/esm/models/azure/search/documents/knowledgeBases/models.js +592 -790
  425. package/dist/esm/models/azure/search/documents/knowledgeBases/models.js.map +1 -7
  426. package/dist/esm/models/azure/search/documents/models.d.ts +2 -466
  427. package/dist/esm/models/azure/search/documents/models.d.ts.map +1 -1
  428. package/dist/esm/models/azure/search/documents/models.js +591 -919
  429. package/dist/esm/models/azure/search/documents/models.js.map +1 -7
  430. package/dist/esm/models/index.d.ts +1 -0
  431. package/dist/esm/models/index.d.ts.map +1 -1
  432. package/dist/esm/models/index.js +4 -4
  433. package/dist/esm/models/index.js.map +1 -7
  434. package/dist/esm/models/models.d.ts +3 -3
  435. package/dist/esm/models/models.d.ts.map +1 -1
  436. package/dist/esm/models/models.js +14 -13
  437. package/dist/esm/models/models.js.map +1 -7
  438. package/dist/esm/odata.js +43 -26
  439. package/dist/esm/odata.js.map +1 -7
  440. package/dist/esm/odataMetadataPolicy.js +15 -11
  441. package/dist/esm/odataMetadataPolicy.js.map +1 -7
  442. package/dist/esm/search/api/index.d.ts +2 -1
  443. package/dist/esm/search/api/index.d.ts.map +1 -1
  444. package/dist/esm/search/api/index.js +5 -26
  445. package/dist/esm/search/api/index.js.map +1 -7
  446. package/dist/esm/search/api/operations.d.ts.map +1 -1
  447. package/dist/esm/search/api/operations.js +418 -452
  448. package/dist/esm/search/api/operations.js.map +1 -7
  449. package/dist/esm/search/api/options.d.ts +19 -31
  450. package/dist/esm/search/api/options.d.ts.map +1 -1
  451. package/dist/esm/search/api/options.js +4 -0
  452. package/dist/esm/search/api/options.js.map +1 -7
  453. package/dist/esm/search/api/searchContext.js +22 -20
  454. package/dist/esm/search/api/searchContext.js.map +1 -7
  455. package/dist/esm/search/index.js +4 -4
  456. package/dist/esm/search/index.js.map +1 -7
  457. package/dist/esm/search/searchClient.js +55 -63
  458. package/dist/esm/search/searchClient.js.map +1 -7
  459. package/dist/esm/searchApiKeyCredentialPolicy.js +17 -13
  460. package/dist/esm/searchApiKeyCredentialPolicy.js.map +1 -7
  461. package/dist/esm/searchAudience.js +21 -9
  462. package/dist/esm/searchAudience.js.map +1 -7
  463. package/dist/esm/searchClient.d.ts +0 -1
  464. package/dist/esm/searchClient.d.ts.map +1 -1
  465. package/dist/esm/searchClient.js +539 -624
  466. package/dist/esm/searchClient.js.map +1 -7
  467. package/dist/esm/searchIndex/api/index.d.ts +4 -3
  468. package/dist/esm/searchIndex/api/index.d.ts.map +1 -1
  469. package/dist/esm/searchIndex/api/index.js +5 -70
  470. package/dist/esm/searchIndex/api/index.js.map +1 -7
  471. package/dist/esm/searchIndex/api/operations.d.ts +2 -6
  472. package/dist/esm/searchIndex/api/operations.d.ts.map +1 -1
  473. package/dist/esm/searchIndex/api/operations.js +1087 -1177
  474. package/dist/esm/searchIndex/api/operations.js.map +1 -7
  475. package/dist/esm/searchIndex/api/options.d.ts +60 -5
  476. package/dist/esm/searchIndex/api/options.d.ts.map +1 -1
  477. package/dist/esm/searchIndex/api/options.js +4 -0
  478. package/dist/esm/searchIndex/api/options.js.map +1 -7
  479. package/dist/esm/searchIndex/api/searchIndexContext.js +22 -20
  480. package/dist/esm/searchIndex/api/searchIndexContext.js.map +1 -7
  481. package/dist/esm/searchIndex/index.d.ts +1 -1
  482. package/dist/esm/searchIndex/index.d.ts.map +1 -1
  483. package/dist/esm/searchIndex/index.js +4 -4
  484. package/dist/esm/searchIndex/index.js.map +1 -7
  485. package/dist/esm/searchIndex/searchIndexClient.d.ts +2 -4
  486. package/dist/esm/searchIndex/searchIndexClient.d.ts.map +1 -1
  487. package/dist/esm/searchIndex/searchIndexClient.js +139 -173
  488. package/dist/esm/searchIndex/searchIndexClient.js.map +1 -7
  489. package/dist/esm/searchIndexClient.d.ts +2 -7
  490. package/dist/esm/searchIndexClient.d.ts.map +1 -1
  491. package/dist/esm/searchIndexClient.js +448 -588
  492. package/dist/esm/searchIndexClient.js.map +1 -7
  493. package/dist/esm/searchIndexer/api/index.d.ts +4 -3
  494. package/dist/esm/searchIndexer/api/index.d.ts.map +1 -1
  495. package/dist/esm/searchIndexer/api/index.js +5 -50
  496. package/dist/esm/searchIndexer/api/index.js.map +1 -7
  497. package/dist/esm/searchIndexer/api/operations.d.ts +2 -14
  498. package/dist/esm/searchIndexer/api/operations.d.ts.map +1 -1
  499. package/dist/esm/searchIndexer/api/operations.js +676 -809
  500. package/dist/esm/searchIndexer/api/operations.js.map +1 -7
  501. package/dist/esm/searchIndexer/api/options.d.ts +36 -30
  502. package/dist/esm/searchIndexer/api/options.d.ts.map +1 -1
  503. package/dist/esm/searchIndexer/api/options.js +4 -0
  504. package/dist/esm/searchIndexer/api/options.js.map +1 -7
  505. package/dist/esm/searchIndexer/api/searchIndexerContext.js +22 -20
  506. package/dist/esm/searchIndexer/api/searchIndexerContext.js.map +1 -7
  507. package/dist/esm/searchIndexer/index.d.ts +1 -1
  508. package/dist/esm/searchIndexer/index.d.ts.map +1 -1
  509. package/dist/esm/searchIndexer/index.js +4 -4
  510. package/dist/esm/searchIndexer/index.js.map +1 -7
  511. package/dist/esm/searchIndexer/searchIndexerClient.d.ts +2 -8
  512. package/dist/esm/searchIndexer/searchIndexerClient.d.ts.map +1 -1
  513. package/dist/esm/searchIndexer/searchIndexerClient.js +91 -123
  514. package/dist/esm/searchIndexer/searchIndexerClient.js.map +1 -7
  515. package/dist/esm/searchIndexerClient.d.ts +1 -14
  516. package/dist/esm/searchIndexerClient.d.ts.map +1 -1
  517. package/dist/esm/searchIndexerClient.js +347 -473
  518. package/dist/esm/searchIndexerClient.js.map +1 -7
  519. package/dist/esm/searchIndexingBufferedSender.d.ts.map +1 -1
  520. package/dist/esm/searchIndexingBufferedSender.js +302 -285
  521. package/dist/esm/searchIndexingBufferedSender.js.map +1 -7
  522. package/dist/esm/serialization.js +112 -111
  523. package/dist/esm/serialization.js.map +1 -7
  524. package/dist/esm/serviceModels.d.ts +7 -191
  525. package/dist/esm/serviceModels.d.ts.map +1 -1
  526. package/dist/esm/serviceModels.js +654 -162
  527. package/dist/esm/serviceModels.js.map +1 -7
  528. package/dist/esm/serviceUtils.d.ts +3 -5
  529. package/dist/esm/serviceUtils.d.ts.map +1 -1
  530. package/dist/esm/serviceUtils.js +776 -865
  531. package/dist/esm/serviceUtils.js.map +1 -7
  532. package/dist/esm/static-helpers/pagingHelpers.js +122 -98
  533. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
  534. package/dist/esm/static-helpers/serialization/build-csv-collection.js +5 -5
  535. package/dist/esm/static-helpers/serialization/build-csv-collection.js.map +1 -7
  536. package/dist/esm/static-helpers/serialization/build-newline-collection.js +5 -5
  537. package/dist/esm/static-helpers/serialization/build-newline-collection.js.map +1 -7
  538. package/dist/esm/static-helpers/serialization/build-pipe-collection.js +5 -5
  539. package/dist/esm/static-helpers/serialization/build-pipe-collection.js.map +1 -7
  540. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
  541. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
  542. package/dist/esm/static-helpers/serialization/parse-csv-collection.js +5 -5
  543. package/dist/esm/static-helpers/serialization/parse-csv-collection.js.map +1 -7
  544. package/dist/esm/static-helpers/serialization/parse-newline-collection.js +5 -5
  545. package/dist/esm/static-helpers/serialization/parse-newline-collection.js.map +1 -7
  546. package/dist/esm/static-helpers/serialization/parse-pipe-collection.js +5 -5
  547. package/dist/esm/static-helpers/serialization/parse-pipe-collection.js.map +1 -7
  548. package/dist/esm/static-helpers/serialization/serialize-record.js +17 -16
  549. package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -7
  550. package/dist/esm/static-helpers/urlTemplate.js +169 -142
  551. package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
  552. package/dist/esm/synonymMapHelper.js +20 -9
  553. package/dist/esm/synonymMapHelper.js.map +1 -7
  554. package/dist/esm/timers.d.ts +9 -0
  555. package/dist/esm/timers.d.ts.map +1 -0
  556. package/dist/esm/timers.js +15 -0
  557. package/dist/esm/timers.js.map +1 -0
  558. package/dist/esm/tracing.d.ts.map +1 -1
  559. package/dist/esm/tracing.js +11 -8
  560. package/dist/esm/tracing.js.map +1 -7
  561. package/dist/esm/walk.js +64 -52
  562. package/dist/esm/walk.js.map +1 -7
  563. package/dist/react-native/base64.d.ts.map +1 -1
  564. package/dist/react-native/base64.js +3 -2
  565. package/dist/react-native/base64.js.map +1 -1
  566. package/dist/react-native/index.d.ts +9 -7
  567. package/dist/react-native/index.d.ts.map +1 -1
  568. package/dist/react-native/index.js +3 -4
  569. package/dist/react-native/index.js.map +1 -1
  570. package/dist/react-native/indexModels.d.ts +13 -112
  571. package/dist/react-native/indexModels.d.ts.map +1 -1
  572. package/dist/react-native/indexModels.js.map +1 -1
  573. package/dist/react-native/knowledgeBaseModels.d.ts +4 -17
  574. package/dist/react-native/knowledgeBaseModels.d.ts.map +1 -1
  575. package/dist/react-native/knowledgeBaseModels.js.map +1 -1
  576. package/dist/react-native/knowledgeBaseRetrieval/api/index.d.ts +2 -1
  577. package/dist/react-native/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
  578. package/dist/react-native/knowledgeBaseRetrieval/api/index.js +1 -1
  579. package/dist/react-native/knowledgeBaseRetrieval/api/index.js.map +1 -1
  580. package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
  581. package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
  582. package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +3 -3
  583. package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
  584. package/dist/react-native/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
  585. package/dist/react-native/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
  586. package/dist/react-native/knowledgeBaseRetrieval/api/operations.js +9 -8
  587. package/dist/react-native/knowledgeBaseRetrieval/api/operations.js.map +1 -1
  588. package/dist/react-native/knowledgeBaseRetrieval/api/options.d.ts +2 -2
  589. package/dist/react-native/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
  590. package/dist/react-native/knowledgeBaseRetrieval/api/options.js.map +1 -1
  591. package/dist/react-native/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
  592. package/dist/react-native/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
  593. package/dist/react-native/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +4 -4
  594. package/dist/react-native/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +1 -1
  595. package/dist/react-native/knowledgeRetrievalClient.d.ts +2 -2
  596. package/dist/react-native/knowledgeRetrievalClient.d.ts.map +1 -1
  597. package/dist/react-native/knowledgeRetrievalClient.js +4 -4
  598. package/dist/react-native/knowledgeRetrievalClient.js.map +1 -1
  599. package/dist/react-native/models/azure/search/documents/index.d.ts +2 -1
  600. package/dist/react-native/models/azure/search/documents/index.d.ts.map +1 -1
  601. package/dist/react-native/models/azure/search/documents/index.js +1 -1
  602. package/dist/react-native/models/azure/search/documents/index.js.map +1 -1
  603. package/dist/react-native/models/azure/search/documents/indexes/index.d.ts +2 -1
  604. package/dist/react-native/models/azure/search/documents/indexes/index.d.ts.map +1 -1
  605. package/dist/react-native/models/azure/search/documents/indexes/index.js +1 -1
  606. package/dist/react-native/models/azure/search/documents/indexes/index.js.map +1 -1
  607. package/dist/react-native/models/azure/search/documents/indexes/models.d.ts +50 -477
  608. package/dist/react-native/models/azure/search/documents/indexes/models.d.ts.map +1 -1
  609. package/dist/react-native/models/azure/search/documents/indexes/models.js +40 -526
  610. package/dist/react-native/models/azure/search/documents/indexes/models.js.map +1 -1
  611. package/dist/react-native/models/azure/search/documents/knowledgeBases/index.d.ts +2 -1
  612. package/dist/react-native/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
  613. package/dist/react-native/models/azure/search/documents/knowledgeBases/index.js +1 -1
  614. package/dist/react-native/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
  615. package/dist/react-native/models/azure/search/documents/knowledgeBases/models.d.ts +135 -242
  616. package/dist/react-native/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
  617. package/dist/react-native/models/azure/search/documents/knowledgeBases/models.js +131 -291
  618. package/dist/react-native/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
  619. package/dist/react-native/models/azure/search/documents/models.d.ts +2 -466
  620. package/dist/react-native/models/azure/search/documents/models.d.ts.map +1 -1
  621. package/dist/react-native/models/azure/search/documents/models.js +1 -429
  622. package/dist/react-native/models/azure/search/documents/models.js.map +1 -1
  623. package/dist/react-native/models/index.d.ts +1 -0
  624. package/dist/react-native/models/index.d.ts.map +1 -1
  625. package/dist/react-native/models/index.js.map +1 -1
  626. package/dist/react-native/models/models.d.ts +3 -3
  627. package/dist/react-native/models/models.d.ts.map +1 -1
  628. package/dist/react-native/models/models.js +3 -3
  629. package/dist/react-native/models/models.js.map +1 -1
  630. package/dist/react-native/search/api/index.d.ts +2 -1
  631. package/dist/react-native/search/api/index.d.ts.map +1 -1
  632. package/dist/react-native/search/api/index.js +1 -1
  633. package/dist/react-native/search/api/index.js.map +1 -1
  634. package/dist/react-native/search/api/operations.d.ts.map +1 -1
  635. package/dist/react-native/search/api/operations.js +35 -54
  636. package/dist/react-native/search/api/operations.js.map +1 -1
  637. package/dist/react-native/search/api/options.d.ts +19 -31
  638. package/dist/react-native/search/api/options.d.ts.map +1 -1
  639. package/dist/react-native/search/api/options.js.map +1 -1
  640. package/dist/react-native/search/api/searchContext.js +1 -1
  641. package/dist/react-native/search/api/searchContext.js.map +1 -1
  642. package/dist/react-native/searchClient.d.ts +0 -1
  643. package/dist/react-native/searchClient.d.ts.map +1 -1
  644. package/dist/react-native/searchClient.js +22 -39
  645. package/dist/react-native/searchClient.js.map +1 -1
  646. package/dist/react-native/searchIndex/api/index.d.ts +4 -3
  647. package/dist/react-native/searchIndex/api/index.d.ts.map +1 -1
  648. package/dist/react-native/searchIndex/api/index.js +2 -2
  649. package/dist/react-native/searchIndex/api/index.js.map +1 -1
  650. package/dist/react-native/searchIndex/api/operations.d.ts +2 -6
  651. package/dist/react-native/searchIndex/api/operations.d.ts.map +1 -1
  652. package/dist/react-native/searchIndex/api/operations.js +186 -96
  653. package/dist/react-native/searchIndex/api/operations.js.map +1 -1
  654. package/dist/react-native/searchIndex/api/options.d.ts +60 -5
  655. package/dist/react-native/searchIndex/api/options.d.ts.map +1 -1
  656. package/dist/react-native/searchIndex/api/options.js.map +1 -1
  657. package/dist/react-native/searchIndex/api/searchIndexContext.js +1 -1
  658. package/dist/react-native/searchIndex/api/searchIndexContext.js.map +1 -1
  659. package/dist/react-native/searchIndex/index.d.ts +1 -1
  660. package/dist/react-native/searchIndex/index.d.ts.map +1 -1
  661. package/dist/react-native/searchIndex/index.js.map +1 -1
  662. package/dist/react-native/searchIndex/searchIndexClient.d.ts +2 -4
  663. package/dist/react-native/searchIndex/searchIndexClient.d.ts.map +1 -1
  664. package/dist/react-native/searchIndex/searchIndexClient.js +1 -5
  665. package/dist/react-native/searchIndex/searchIndexClient.js.map +1 -1
  666. package/dist/react-native/searchIndexClient.d.ts +2 -7
  667. package/dist/react-native/searchIndexClient.d.ts.map +1 -1
  668. package/dist/react-native/searchIndexClient.js +2 -9
  669. package/dist/react-native/searchIndexClient.js.map +1 -1
  670. package/dist/react-native/searchIndexer/api/index.d.ts +4 -3
  671. package/dist/react-native/searchIndexer/api/index.d.ts.map +1 -1
  672. package/dist/react-native/searchIndexer/api/index.js +2 -2
  673. package/dist/react-native/searchIndexer/api/index.js.map +1 -1
  674. package/dist/react-native/searchIndexer/api/operations.d.ts +2 -14
  675. package/dist/react-native/searchIndexer/api/operations.d.ts.map +1 -1
  676. package/dist/react-native/searchIndexer/api/operations.js +112 -150
  677. package/dist/react-native/searchIndexer/api/operations.js.map +1 -1
  678. package/dist/react-native/searchIndexer/api/options.d.ts +36 -30
  679. package/dist/react-native/searchIndexer/api/options.d.ts.map +1 -1
  680. package/dist/react-native/searchIndexer/api/options.js.map +1 -1
  681. package/dist/react-native/searchIndexer/api/searchIndexerContext.js +1 -1
  682. package/dist/react-native/searchIndexer/api/searchIndexerContext.js.map +1 -1
  683. package/dist/react-native/searchIndexer/index.d.ts +1 -1
  684. package/dist/react-native/searchIndexer/index.d.ts.map +1 -1
  685. package/dist/react-native/searchIndexer/index.js.map +1 -1
  686. package/dist/react-native/searchIndexer/searchIndexerClient.d.ts +2 -8
  687. package/dist/react-native/searchIndexer/searchIndexerClient.d.ts.map +1 -1
  688. package/dist/react-native/searchIndexer/searchIndexerClient.js +1 -13
  689. package/dist/react-native/searchIndexer/searchIndexerClient.js.map +1 -1
  690. package/dist/react-native/searchIndexerClient.d.ts +1 -14
  691. package/dist/react-native/searchIndexerClient.d.ts.map +1 -1
  692. package/dist/react-native/searchIndexerClient.js +0 -27
  693. package/dist/react-native/searchIndexerClient.js.map +1 -1
  694. package/dist/react-native/searchIndexingBufferedSender.d.ts.map +1 -1
  695. package/dist/react-native/searchIndexingBufferedSender.js +3 -7
  696. package/dist/react-native/searchIndexingBufferedSender.js.map +1 -1
  697. package/dist/react-native/serviceModels.d.ts +7 -191
  698. package/dist/react-native/serviceModels.d.ts.map +1 -1
  699. package/dist/react-native/serviceModels.js.map +1 -1
  700. package/dist/react-native/serviceUtils.d.ts +3 -5
  701. package/dist/react-native/serviceUtils.d.ts.map +1 -1
  702. package/dist/react-native/serviceUtils.js +30 -87
  703. package/dist/react-native/serviceUtils.js.map +1 -1
  704. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  705. package/dist/react-native/{synonymMapHelper.d.ts → synonymMapHelper-browser.d.mts} +4 -3
  706. package/dist/react-native/synonymMapHelper-browser.d.mts.map +1 -0
  707. package/dist/react-native/synonymMapHelper-browser.mjs +14 -0
  708. package/dist/react-native/synonymMapHelper-browser.mjs.map +1 -0
  709. package/dist/react-native/synonymMapHelper-react-native.d.mts +2 -0
  710. package/dist/react-native/synonymMapHelper-react-native.d.mts.map +1 -0
  711. package/dist/react-native/synonymMapHelper-react-native.mjs +4 -0
  712. package/dist/react-native/synonymMapHelper-react-native.mjs.map +1 -0
  713. package/dist/react-native/timers-browser.d.mts +8 -0
  714. package/dist/react-native/timers-browser.d.mts.map +1 -0
  715. package/dist/react-native/timers-browser.mjs +13 -0
  716. package/dist/react-native/timers-browser.mjs.map +1 -0
  717. package/dist/react-native/timers-react-native.d.mts +2 -0
  718. package/dist/react-native/timers-react-native.d.mts.map +1 -0
  719. package/dist/react-native/timers-react-native.mjs +4 -0
  720. package/dist/react-native/timers-react-native.mjs.map +1 -0
  721. package/dist/react-native/tracing.d.ts.map +1 -1
  722. package/dist/react-native/walk.js +1 -1
  723. package/dist/react-native/walk.js.map +1 -1
  724. package/package.json +33 -20
  725. package/dist/browser/errorModels.d.ts +0 -56
  726. package/dist/browser/errorModels.d.ts.map +0 -1
  727. package/dist/browser/errorModels.js +0 -4
  728. package/dist/browser/errorModels.js.map +0 -1
  729. package/dist/browser/synonymMapHelper.d.ts.map +0 -1
  730. package/dist/browser/synonymMapHelper.js.map +0 -1
  731. package/dist/commonjs/errorModels.d.ts +0 -56
  732. package/dist/commonjs/errorModels.d.ts.map +0 -1
  733. package/dist/commonjs/errorModels.js.map +0 -7
  734. package/dist/esm/errorModels.d.ts +0 -56
  735. package/dist/esm/errorModels.d.ts.map +0 -1
  736. package/dist/esm/errorModels.js +0 -0
  737. package/dist/esm/errorModels.js.map +0 -7
  738. package/dist/react-native/errorModels.d.ts +0 -56
  739. package/dist/react-native/errorModels.d.ts.map +0 -1
  740. package/dist/react-native/errorModels.js +0 -4
  741. package/dist/react-native/errorModels.js.map +0 -1
  742. package/dist/react-native/synonymMapHelper.d.ts.map +0 -1
  743. package/dist/react-native/synonymMapHelper.js +0 -24
  744. package/dist/react-native/synonymMapHelper.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/search-documents",
3
- "version": "12.3.0-alpha.20260310.2",
3
+ "version": "13.0.0",
4
4
  "description": "Azure client library to use AI Search for node.js and browser.",
5
5
  "sdk-type": "client",
6
6
  "main": "./dist/commonjs/index.js",
@@ -32,7 +32,11 @@
32
32
  }
33
33
  ]
34
34
  },
35
- "repository": "github:Azure/azure-sdk-for-js",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/Azure/azure-sdk-for-js",
38
+ "directory": "sdk/search/search-documents"
39
+ },
36
40
  "keywords": [
37
41
  "azure",
38
42
  "cloud"
@@ -45,36 +49,37 @@
45
49
  "engines": {
46
50
  "node": ">=20.0.0"
47
51
  },
48
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents",
52
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/README.md",
49
53
  "sideEffects": false,
50
54
  "dependencies": {
51
- "@azure/core-util": ">=1.13.2-alpha <1.13.2-alphb",
52
- "@azure-rest/core-client": ">=2.5.2-alpha <2.5.2-alphb",
53
- "@azure/core-auth": ">=1.10.2-alpha <1.10.2-alphb",
54
- "@azure/core-rest-pipeline": ">=1.23.1-alpha <1.23.1-alphb",
55
- "@azure/core-tracing": ">=1.3.2-alpha <1.3.2-alphb",
56
- "@azure/logger": ">=1.3.1-alpha <1.3.1-alphb",
55
+ "@azure/core-util": "^1.12.0",
56
+ "@azure-rest/core-client": "^2.3.1",
57
+ "@azure/core-auth": "^1.9.0",
58
+ "@azure/core-rest-pipeline": "^1.20.0",
59
+ "@azure/core-tracing": "^1.2.0",
60
+ "@azure/logger": "^1.2.0",
57
61
  "tslib": "^2.8.1"
58
62
  },
59
63
  "devDependencies": {
60
64
  "@azure/identity": "4.13.0",
61
- "@azure/openai": "1.0.0-beta.12",
65
+ "openai": "^6.16.0",
62
66
  "@types/node": "^20.19.25",
63
- "@vitest/browser-playwright": "^4.0.8",
64
- "@vitest/coverage-istanbul": "^4.0.8",
67
+ "@vitest/browser-playwright": "^4.1.2",
68
+ "@vitest/coverage-istanbul": "^4.1.2",
65
69
  "cross-env": "^10.1.0",
66
70
  "dotenv": "^16.6.1",
67
71
  "eslint": "^9.39.1",
68
- "playwright": "^1.56.1",
72
+ "playwright": "^1.58.2",
69
73
  "prettier": "^3.6.2",
74
+ "react-native": "^0.84.1",
70
75
  "rimraf": "^6.1.0",
71
76
  "type-plus": "^7.6.2",
72
- "typescript": "~5.9.3",
73
- "vitest": "^4.0.8",
77
+ "typescript": "~6.0.2",
78
+ "vitest": "^4.1.2",
74
79
  "@azure-tools/test-credential": "^2.1.2",
75
80
  "@azure-tools/test-recorder": "^4.1.1",
76
- "@azure-tools/test-utils-vitest": "^2.0.1",
77
81
  "@azure/dev-tool": "^1.0.0",
82
+ "@azure-tools/test-utils-vitest": "^2.0.1",
78
83
  "@azure/eslint-plugin-azure-sdk": "^3.0.0"
79
84
  },
80
85
  "//sampleConfiguration": {
@@ -326,22 +331,30 @@
326
331
  }
327
332
  }
328
333
  },
334
+ "imports": {
335
+ "#platform/*": {
336
+ "browser": "./src/*-browser.mts",
337
+ "react-native": "./src/*-react-native.mts",
338
+ "default": "./src/*.ts"
339
+ }
340
+ },
329
341
  "scripts": {
330
342
  "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
331
- "build:samples": "tsc -p tsconfig.samples.json",
343
+ "build:samples": "tsc -p config/tsconfig.samples.json",
332
344
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,mts}\" \"generated/**/*.{ts,mts}\" \"test/**/*.{ts,mts}\" \"samples-dev/**/*.{ts,mts}\" \"*.{js,mjs,json}\"",
333
345
  "clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
334
346
  "execute:samples": "dev-tool samples run samples-dev",
335
347
  "extract-api": "dev-tool run build-package && dev-tool run extract-api",
336
348
  "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,mts}\" \"generated/**/*.{ts,mts}\" \"test/**/*.{ts,mts}\" \"samples-dev/**/*.{ts,mts}\" \"*.{js,mjs,json}\"",
337
- "generate:client": "tsp-client update -d --emitter-options=\"ignore-nullable-on-optional=true\" && npm run format && npx dev-tool customization apply-v2 --skip index.ts",
349
+ "generate:client": "tsp-client update -d --emitter-options=\"ignore-nullable-on-optional=true;wrap-non-model-return=false\" && npm run format && npx dev-tool customization apply --skip index.ts",
338
350
  "generate:embeddings": "ts-node scripts/generateSampleEmbeddings.ts",
339
351
  "lint": "eslint package.json src test samples-dev",
340
352
  "lint:fix": "eslint package.json src test samples-dev --fix --fix-type [problem,suggestion]",
341
353
  "pack": "pnpm pack 2>&1",
342
- "test": "npm run test:node && npm run test:browser",
343
- "test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
354
+ "test": "tsc -b --noEmit && npm run test:node && npm run test:browser",
355
+ "test:browser": "dev-tool run test:vitest --browser",
344
356
  "test:node": "dev-tool run test:vitest --test-proxy-debug",
357
+ "test:node:preview": "cross-env TEST_PREVIEW=true dev-tool run test:vitest --test-proxy-debug",
345
358
  "update-snippets": "dev-tool run update-snippets"
346
359
  }
347
360
  }
@@ -1,56 +0,0 @@
1
- /**
2
- * Common error response for all Azure Resource Manager APIs to return error details for failed
3
- * operations. (This also follows the OData error response format.).
4
- */
5
- export interface ErrorResponse {
6
- /**
7
- * The error object.
8
- */
9
- error?: ErrorDetail;
10
- }
11
- /**
12
- * The error detail.
13
- */
14
- export interface ErrorDetail {
15
- /**
16
- * The error code.
17
- * NOTE: This property will not be serialized. It can only be populated by the server.
18
- */
19
- readonly code?: string;
20
- /**
21
- * The error message.
22
- * NOTE: This property will not be serialized. It can only be populated by the server.
23
- */
24
- readonly message?: string;
25
- /**
26
- * The error target.
27
- * NOTE: This property will not be serialized. It can only be populated by the server.
28
- */
29
- readonly target?: string;
30
- /**
31
- * The error details.
32
- * NOTE: This property will not be serialized. It can only be populated by the server.
33
- */
34
- readonly details?: ErrorDetail[];
35
- /**
36
- * The error additional info.
37
- * NOTE: This property will not be serialized. It can only be populated by the server.
38
- */
39
- readonly additionalInfo?: ErrorAdditionalInfo[];
40
- }
41
- /**
42
- * The resource management error additional info.
43
- */
44
- export interface ErrorAdditionalInfo {
45
- /**
46
- * The additional info type.
47
- * NOTE: This property will not be serialized. It can only be populated by the server.
48
- */
49
- readonly type?: string;
50
- /**
51
- * The additional info.
52
- * NOTE: This property will not be serialized. It can only be populated by the server.
53
- */
54
- readonly info?: Record<string, unknown>;
55
- }
56
- //# sourceMappingURL=errorModels.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errorModels.d.ts","sourceRoot":"","sources":["../../src/errorModels.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC"}
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export {};
4
- //# sourceMappingURL=errorModels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errorModels.js","sourceRoot":"","sources":["../../src/errorModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Common error response for all Azure Resource Manager APIs to return error details for failed\n * operations. (This also follows the OData error response format.).\n */\nexport interface ErrorResponse {\n /**\n * The error object.\n */\n error?: ErrorDetail;\n}\n\n/**\n * The error detail.\n */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/**\n * The resource management error additional info.\n */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"synonymMapHelper.d.ts","sourceRoot":"","sources":["../../src/synonymMapHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAC5C,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,UAAU,CAAC,CAErB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"synonymMapHelper.js","sourceRoot":"","sources":["../../src/synonymMapHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,KAAa,EACb,SAAiB;IAEjB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;AAClD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { SynonymMap } from \"./serviceModels.js\";\n\n/**\n * Helper method to create a SynonymMap object. This is a NodeJS only method.\n * Will throw an error for browser.\n *\n * @param _name - Name of the SynonymMap.\n * @param _filePath - Path of the file that contains the Synonyms (seperated by new lines)\n * @returns SynonymMap object\n */\nexport async function createSynonymMapFromFile(\n _name: string,\n _filePath: string,\n): Promise<SynonymMap> {\n throw new Error(\"Not implemented for browser.\");\n}\n"]}
@@ -1,56 +0,0 @@
1
- /**
2
- * Common error response for all Azure Resource Manager APIs to return error details for failed
3
- * operations. (This also follows the OData error response format.).
4
- */
5
- export interface ErrorResponse {
6
- /**
7
- * The error object.
8
- */
9
- error?: ErrorDetail;
10
- }
11
- /**
12
- * The error detail.
13
- */
14
- export interface ErrorDetail {
15
- /**
16
- * The error code.
17
- * NOTE: This property will not be serialized. It can only be populated by the server.
18
- */
19
- readonly code?: string;
20
- /**
21
- * The error message.
22
- * NOTE: This property will not be serialized. It can only be populated by the server.
23
- */
24
- readonly message?: string;
25
- /**
26
- * The error target.
27
- * NOTE: This property will not be serialized. It can only be populated by the server.
28
- */
29
- readonly target?: string;
30
- /**
31
- * The error details.
32
- * NOTE: This property will not be serialized. It can only be populated by the server.
33
- */
34
- readonly details?: ErrorDetail[];
35
- /**
36
- * The error additional info.
37
- * NOTE: This property will not be serialized. It can only be populated by the server.
38
- */
39
- readonly additionalInfo?: ErrorAdditionalInfo[];
40
- }
41
- /**
42
- * The resource management error additional info.
43
- */
44
- export interface ErrorAdditionalInfo {
45
- /**
46
- * The additional info type.
47
- * NOTE: This property will not be serialized. It can only be populated by the server.
48
- */
49
- readonly type?: string;
50
- /**
51
- * The additional info.
52
- * NOTE: This property will not be serialized. It can only be populated by the server.
53
- */
54
- readonly info?: Record<string, unknown>;
55
- }
56
- //# sourceMappingURL=errorModels.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errorModels.d.ts","sourceRoot":"","sources":["../../src/errorModels.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC"}
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/search/search-documents/src/errorModels.ts"],
4
- "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Common error response for all Azure Resource Manager APIs to return error details for failed\n * operations. (This also follows the OData error response format.).\n */\nexport interface ErrorResponse {\n /**\n * The error object.\n */\n error?: ErrorDetail;\n}\n\n/**\n * The error detail.\n */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/**\n * The resource management error additional info.\n */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,56 +0,0 @@
1
- /**
2
- * Common error response for all Azure Resource Manager APIs to return error details for failed
3
- * operations. (This also follows the OData error response format.).
4
- */
5
- export interface ErrorResponse {
6
- /**
7
- * The error object.
8
- */
9
- error?: ErrorDetail;
10
- }
11
- /**
12
- * The error detail.
13
- */
14
- export interface ErrorDetail {
15
- /**
16
- * The error code.
17
- * NOTE: This property will not be serialized. It can only be populated by the server.
18
- */
19
- readonly code?: string;
20
- /**
21
- * The error message.
22
- * NOTE: This property will not be serialized. It can only be populated by the server.
23
- */
24
- readonly message?: string;
25
- /**
26
- * The error target.
27
- * NOTE: This property will not be serialized. It can only be populated by the server.
28
- */
29
- readonly target?: string;
30
- /**
31
- * The error details.
32
- * NOTE: This property will not be serialized. It can only be populated by the server.
33
- */
34
- readonly details?: ErrorDetail[];
35
- /**
36
- * The error additional info.
37
- * NOTE: This property will not be serialized. It can only be populated by the server.
38
- */
39
- readonly additionalInfo?: ErrorAdditionalInfo[];
40
- }
41
- /**
42
- * The resource management error additional info.
43
- */
44
- export interface ErrorAdditionalInfo {
45
- /**
46
- * The additional info type.
47
- * NOTE: This property will not be serialized. It can only be populated by the server.
48
- */
49
- readonly type?: string;
50
- /**
51
- * The additional info.
52
- * NOTE: This property will not be serialized. It can only be populated by the server.
53
- */
54
- readonly info?: Record<string, unknown>;
55
- }
56
- //# sourceMappingURL=errorModels.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errorModels.d.ts","sourceRoot":"","sources":["../../src/errorModels.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC"}
File without changes
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
@@ -1,56 +0,0 @@
1
- /**
2
- * Common error response for all Azure Resource Manager APIs to return error details for failed
3
- * operations. (This also follows the OData error response format.).
4
- */
5
- export interface ErrorResponse {
6
- /**
7
- * The error object.
8
- */
9
- error?: ErrorDetail;
10
- }
11
- /**
12
- * The error detail.
13
- */
14
- export interface ErrorDetail {
15
- /**
16
- * The error code.
17
- * NOTE: This property will not be serialized. It can only be populated by the server.
18
- */
19
- readonly code?: string;
20
- /**
21
- * The error message.
22
- * NOTE: This property will not be serialized. It can only be populated by the server.
23
- */
24
- readonly message?: string;
25
- /**
26
- * The error target.
27
- * NOTE: This property will not be serialized. It can only be populated by the server.
28
- */
29
- readonly target?: string;
30
- /**
31
- * The error details.
32
- * NOTE: This property will not be serialized. It can only be populated by the server.
33
- */
34
- readonly details?: ErrorDetail[];
35
- /**
36
- * The error additional info.
37
- * NOTE: This property will not be serialized. It can only be populated by the server.
38
- */
39
- readonly additionalInfo?: ErrorAdditionalInfo[];
40
- }
41
- /**
42
- * The resource management error additional info.
43
- */
44
- export interface ErrorAdditionalInfo {
45
- /**
46
- * The additional info type.
47
- * NOTE: This property will not be serialized. It can only be populated by the server.
48
- */
49
- readonly type?: string;
50
- /**
51
- * The additional info.
52
- * NOTE: This property will not be serialized. It can only be populated by the server.
53
- */
54
- readonly info?: Record<string, unknown>;
55
- }
56
- //# sourceMappingURL=errorModels.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errorModels.d.ts","sourceRoot":"","sources":["../../src/errorModels.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC"}
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export {};
4
- //# sourceMappingURL=errorModels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errorModels.js","sourceRoot":"","sources":["../../src/errorModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Common error response for all Azure Resource Manager APIs to return error details for failed\n * operations. (This also follows the OData error response format.).\n */\nexport interface ErrorResponse {\n /**\n * The error object.\n */\n error?: ErrorDetail;\n}\n\n/**\n * The error detail.\n */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/**\n * The resource management error additional info.\n */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"synonymMapHelper.d.ts","sourceRoot":"","sources":["../../src/synonymMapHelper.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD;;;;;;GAMG;AACH,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,UAAU,CAAC,CAWrB"}
@@ -1,24 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import fs from "node:fs";
4
- import { promisify } from "node:util";
5
- const readFileAsync = promisify(fs.readFile);
6
- /**
7
- * Helper method to create a SynonymMap object. This is a NodeJS only method.
8
- *
9
- * @param name - Name of the SynonymMap.
10
- * @param filePath - Path of the file that contains the Synonyms (seperated by new lines)
11
- * @returns SynonymMap object
12
- */
13
- export async function createSynonymMapFromFile(name, filePath) {
14
- const synonyms = (await readFileAsync(filePath, "utf-8"))
15
- .replace(/\r/g, "")
16
- .split("\n")
17
- .map((line) => line.trim())
18
- .filter(Boolean);
19
- return {
20
- name,
21
- synonyms,
22
- };
23
- }
24
- //# sourceMappingURL=synonymMapHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synonymMapHelper.js","sourceRoot":"","sources":["../../src/synonymMapHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,IAAY,EACZ,QAAgB;IAEhB,MAAM,QAAQ,GAAa,CAAC,MAAM,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;SAChE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;SAClB,KAAK,CAAC,IAAI,CAAC;SACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;SAC1B,MAAM,CAAC,OAAO,CAAC,CAAC;IAEnB,OAAO;QACL,IAAI;QACJ,QAAQ;KACT,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport fs from \"node:fs\";\nimport { promisify } from \"node:util\";\nimport type { SynonymMap } from \"./serviceModels.js\";\nconst readFileAsync = promisify(fs.readFile);\n\n/**\n * Helper method to create a SynonymMap object. This is a NodeJS only method.\n *\n * @param name - Name of the SynonymMap.\n * @param filePath - Path of the file that contains the Synonyms (seperated by new lines)\n * @returns SynonymMap object\n */\nexport async function createSynonymMapFromFile(\n name: string,\n filePath: string,\n): Promise<SynonymMap> {\n const synonyms: string[] = (await readFileAsync(filePath, \"utf-8\"))\n .replace(/\\r/g, \"\")\n .split(\"\\n\")\n .map((line) => line.trim())\n .filter(Boolean);\n\n return {\n name,\n synonyms,\n };\n}\n"]}