@azure/search-documents 12.2.0-beta.2 → 12.2.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 (844) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +208 -232
  3. package/dist/browser/base64-browser.d.mts.map +1 -0
  4. package/dist/browser/base64-browser.mjs.map +1 -0
  5. package/dist/browser/base64.d.ts +11 -0
  6. package/{dist-esm/src/base64.browser.js → dist/browser/base64.js} +1 -1
  7. package/dist/browser/errorModels.d.ts +50 -0
  8. package/dist/browser/errorModels.d.ts.map +1 -0
  9. package/dist/browser/errorModels.js.map +1 -0
  10. package/dist/browser/generated/data/index.d.ts +4 -0
  11. package/dist/browser/generated/data/index.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/generated/data/index.js +3 -3
  13. package/dist/browser/generated/data/index.js.map +1 -0
  14. package/dist/browser/generated/data/models/index.d.ts +783 -0
  15. package/dist/browser/generated/data/models/index.d.ts.map +1 -0
  16. package/dist/browser/generated/data/models/index.js +80 -0
  17. package/dist/browser/generated/data/models/index.js.map +1 -0
  18. package/dist/browser/generated/data/models/mappers.d.ts +34 -0
  19. package/dist/browser/generated/data/models/mappers.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/generated/data/models/mappers.js +18 -365
  21. package/dist/browser/generated/data/models/mappers.js.map +1 -0
  22. package/dist/browser/generated/data/models/parameters.d.ts +58 -0
  23. package/dist/browser/generated/data/models/parameters.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/generated/data/models/parameters.js +1 -43
  25. package/dist/browser/generated/data/models/parameters.js.map +1 -0
  26. package/dist/browser/generated/data/operations/documents.d.ts +70 -0
  27. package/dist/browser/generated/data/operations/documents.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/generated/data/operations/documents.js +9 -6
  29. package/dist/browser/generated/data/operations/documents.js.map +1 -0
  30. package/dist/browser/generated/data/operations/index.d.ts +2 -0
  31. package/dist/browser/generated/data/operations/index.d.ts.map +1 -0
  32. package/{dist-esm/src/generated/data/operationsInterfaces → dist/browser/generated/data/operations}/index.js +1 -1
  33. package/dist/browser/generated/data/operations/index.js.map +1 -0
  34. package/dist/browser/generated/data/operationsInterfaces/documents.d.ts +62 -0
  35. package/dist/browser/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  36. package/dist/browser/generated/data/operationsInterfaces/documents.js.map +1 -0
  37. package/dist/browser/generated/data/operationsInterfaces/index.d.ts +2 -0
  38. package/dist/browser/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  39. package/{dist-esm/src/generated/data/operations → dist/browser/generated/data/operationsInterfaces}/index.js +1 -1
  40. package/dist/browser/generated/data/operationsInterfaces/index.js.map +1 -0
  41. package/dist/browser/generated/data/searchClient.d.ts +21 -0
  42. package/dist/browser/generated/data/searchClient.d.ts.map +1 -0
  43. package/{dist-esm/src → dist/browser}/generated/data/searchClient.js +15 -5
  44. package/dist/browser/generated/data/searchClient.js.map +1 -0
  45. package/dist/browser/generated/service/index.d.ts +4 -0
  46. package/dist/browser/generated/service/index.d.ts.map +1 -0
  47. package/dist/browser/generated/service/index.js +11 -0
  48. package/dist/browser/generated/service/index.js.map +1 -0
  49. package/dist/browser/generated/service/models/index.d.ts +4428 -0
  50. package/dist/browser/generated/service/models/index.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/generated/service/models/index.js +44 -94
  52. package/dist/browser/generated/service/models/index.js.map +1 -0
  53. package/dist/browser/generated/service/models/mappers.d.ts +272 -0
  54. package/dist/browser/generated/service/models/mappers.d.ts.map +1 -0
  55. package/{dist-esm/src → dist/browser}/generated/service/models/mappers.js +794 -906
  56. package/dist/browser/generated/service/models/mappers.js.map +1 -0
  57. package/dist/browser/generated/service/models/parameters.d.ts +22 -0
  58. package/dist/browser/generated/service/models/parameters.d.ts.map +1 -0
  59. package/{dist-esm/src → dist/browser}/generated/service/models/parameters.js +1 -51
  60. package/dist/browser/generated/service/models/parameters.js.map +1 -0
  61. package/dist/browser/generated/service/operations/aliases.d.ts +2 -0
  62. package/dist/browser/generated/service/operations/aliases.d.ts.map +1 -0
  63. package/dist/browser/generated/service/operations/aliases.js +201 -0
  64. package/dist/browser/generated/service/operations/aliases.js.map +1 -0
  65. package/dist/browser/generated/service/operations/dataSources.d.ts +43 -0
  66. package/dist/browser/generated/service/operations/dataSources.d.ts.map +1 -0
  67. package/{dist-esm/src → dist/browser}/generated/service/operations/dataSources.js +4 -6
  68. package/dist/browser/generated/service/operations/dataSources.js.map +1 -0
  69. package/dist/browser/generated/service/operations/index.d.ts +6 -0
  70. package/dist/browser/generated/service/operations/index.d.ts.map +1 -0
  71. package/dist/browser/generated/service/operations/index.js +13 -0
  72. package/dist/browser/generated/service/operations/index.js.map +1 -0
  73. package/dist/browser/generated/service/operations/indexers.d.ts +61 -0
  74. package/dist/browser/generated/service/operations/indexers.d.ts.map +1 -0
  75. package/{dist-esm/src → dist/browser}/generated/service/operations/indexers.js +4 -31
  76. package/dist/browser/generated/service/operations/indexers.js.map +1 -0
  77. package/dist/browser/generated/service/operations/indexes.d.ts +58 -0
  78. package/dist/browser/generated/service/operations/indexes.d.ts.map +1 -0
  79. package/{dist-esm/src → dist/browser}/generated/service/operations/indexes.js +3 -2
  80. package/dist/browser/generated/service/operations/indexes.js.map +1 -0
  81. package/dist/browser/generated/service/operations/skillsets.d.ts +43 -0
  82. package/dist/browser/generated/service/operations/skillsets.d.ts.map +1 -0
  83. package/{dist-esm/src → dist/browser}/generated/service/operations/skillsets.js +4 -32
  84. package/dist/browser/generated/service/operations/skillsets.js.map +1 -0
  85. package/dist/browser/generated/service/operations/synonymMaps.d.ts +43 -0
  86. package/dist/browser/generated/service/operations/synonymMaps.d.ts.map +1 -0
  87. package/{dist-esm/src → dist/browser}/generated/service/operations/synonymMaps.js +3 -2
  88. package/dist/browser/generated/service/operations/synonymMaps.js.map +1 -0
  89. package/dist/browser/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  90. package/dist/browser/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  91. package/dist/browser/generated/service/operationsInterfaces/aliases.js +68 -0
  92. package/dist/browser/generated/service/operationsInterfaces/aliases.js.map +1 -0
  93. package/dist/browser/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  94. package/dist/browser/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  95. package/dist/browser/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  96. package/dist/browser/generated/service/operationsInterfaces/index.d.ts +6 -0
  97. package/dist/browser/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist/browser/generated/service/operationsInterfaces/index.js +13 -0
  99. package/dist/browser/generated/service/operationsInterfaces/index.js.map +1 -0
  100. package/dist/browser/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  101. package/dist/browser/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  102. package/dist/browser/generated/service/operationsInterfaces/indexers.js.map +1 -0
  103. package/dist/browser/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  104. package/dist/browser/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  105. package/dist/browser/generated/service/operationsInterfaces/indexes.js.map +1 -0
  106. package/dist/browser/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  107. package/dist/browser/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  108. package/dist/browser/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  109. package/dist/browser/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  110. package/dist/browser/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  111. package/dist/browser/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  112. package/dist/browser/generated/service/searchServiceClient.d.ts +28 -0
  113. package/dist/browser/generated/service/searchServiceClient.d.ts.map +1 -0
  114. package/{dist-esm/src → dist/browser}/generated/service/searchServiceClient.js +18 -8
  115. package/dist/browser/generated/service/searchServiceClient.js.map +1 -0
  116. package/dist/browser/geographyPoint.d.ts +27 -0
  117. package/dist/browser/geographyPoint.d.ts.map +1 -0
  118. package/{dist-esm/src → dist/browser}/geographyPoint.js +8 -0
  119. package/dist/browser/geographyPoint.js.map +1 -0
  120. package/dist/browser/index.d.ts +15 -0
  121. package/dist/browser/index.d.ts.map +1 -0
  122. package/dist/browser/index.js +16 -0
  123. package/dist/browser/index.js.map +1 -0
  124. package/dist/browser/indexDocumentsBatch.d.ts +41 -0
  125. package/dist/browser/indexDocumentsBatch.d.ts.map +1 -0
  126. package/{dist-esm/src → dist/browser}/indexDocumentsBatch.js +20 -4
  127. package/dist/browser/indexDocumentsBatch.js.map +1 -0
  128. package/dist/browser/indexModels.d.ts +722 -0
  129. package/dist/browser/indexModels.d.ts.map +1 -0
  130. package/dist/browser/indexModels.js.map +1 -0
  131. package/dist/browser/logger.d.ts +5 -0
  132. package/dist/browser/logger.d.ts.map +1 -0
  133. package/dist/browser/odata.d.ts +14 -0
  134. package/dist/browser/odata.d.ts.map +1 -0
  135. package/dist/browser/odataMetadataPolicy.d.ts +9 -0
  136. package/dist/browser/odataMetadataPolicy.d.ts.map +1 -0
  137. package/dist/browser/odataMetadataPolicy.js.map +1 -0
  138. package/dist/browser/package.json +3 -0
  139. package/dist/browser/searchApiKeyCredentialPolicy.d.ts +8 -0
  140. package/dist/browser/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  141. package/dist/browser/searchApiKeyCredentialPolicy.js.map +1 -0
  142. package/dist/browser/searchAudience.d.ts +18 -0
  143. package/dist/browser/searchAudience.d.ts.map +1 -0
  144. package/dist/browser/searchClient.d.ts +266 -0
  145. package/dist/browser/searchClient.d.ts.map +1 -0
  146. package/{dist-esm/src → dist/browser}/searchClient.js +138 -138
  147. package/dist/browser/searchClient.js.map +1 -0
  148. package/dist/browser/searchIndexClient.d.ts +177 -0
  149. package/dist/browser/searchIndexClient.d.ts.map +1 -0
  150. package/{dist-esm/src → dist/browser}/searchIndexClient.js +118 -268
  151. package/dist/browser/searchIndexClient.js.map +1 -0
  152. package/dist/browser/searchIndexerClient.d.ts +187 -0
  153. package/dist/browser/searchIndexerClient.d.ts.map +1 -0
  154. package/{dist-esm/src → dist/browser}/searchIndexerClient.js +79 -93
  155. package/dist/browser/searchIndexerClient.js.map +1 -0
  156. package/dist/browser/searchIndexingBufferedSender.d.ts +193 -0
  157. package/dist/browser/searchIndexingBufferedSender.d.ts.map +1 -0
  158. package/{dist-esm/src → dist/browser}/searchIndexingBufferedSender.js +54 -15
  159. package/dist/browser/searchIndexingBufferedSender.js.map +1 -0
  160. package/dist/browser/serialization.d.ts +3 -0
  161. package/dist/browser/serialization.d.ts.map +1 -0
  162. package/{dist-esm/src → dist/browser}/serialization.js +2 -2
  163. package/dist/browser/serialization.js.map +1 -0
  164. package/dist/browser/serviceModels.d.ts +2181 -0
  165. package/dist/browser/serviceModels.d.ts.map +1 -0
  166. package/dist/browser/serviceModels.js.map +1 -0
  167. package/dist/browser/serviceUtils.d.ts +35 -0
  168. package/dist/browser/serviceUtils.d.ts.map +1 -0
  169. package/{dist-esm/src → dist/browser}/serviceUtils.js +139 -139
  170. package/dist/browser/serviceUtils.js.map +1 -0
  171. package/dist/browser/synonymMapHelper-browser.d.mts.map +1 -0
  172. package/dist/browser/synonymMapHelper-browser.mjs.map +1 -0
  173. package/dist/browser/synonymMapHelper.d.ts +11 -0
  174. package/{dist-esm/src/synonymMapHelper.browser.js → dist/browser/synonymMapHelper.js} +1 -1
  175. package/dist/browser/tracing.d.ts +7 -0
  176. package/dist/browser/tracing.d.ts.map +1 -0
  177. package/dist/browser/walk.d.ts +2 -0
  178. package/dist/browser/walk.d.ts.map +1 -0
  179. package/{dist-esm/src → dist/browser}/walk.js +9 -12
  180. package/dist/browser/walk.js.map +1 -0
  181. package/dist/commonjs/base64.d.ts +11 -0
  182. package/dist/commonjs/base64.d.ts.map +1 -0
  183. package/dist/commonjs/base64.js +21 -0
  184. package/dist/commonjs/base64.js.map +1 -0
  185. package/dist/commonjs/errorModels.d.ts +50 -0
  186. package/dist/commonjs/errorModels.d.ts.map +1 -0
  187. package/dist/commonjs/errorModels.js +5 -0
  188. package/dist/commonjs/errorModels.js.map +1 -0
  189. package/dist/commonjs/generated/data/index.d.ts +4 -0
  190. package/dist/commonjs/generated/data/index.d.ts.map +1 -0
  191. package/dist/commonjs/generated/data/index.js +16 -0
  192. package/dist/commonjs/generated/data/index.js.map +1 -0
  193. package/dist/commonjs/generated/data/models/index.d.ts +783 -0
  194. package/dist/commonjs/generated/data/models/index.d.ts.map +1 -0
  195. package/dist/commonjs/generated/data/models/index.js +83 -0
  196. package/dist/commonjs/generated/data/models/index.js.map +1 -0
  197. package/dist/commonjs/generated/data/models/mappers.d.ts +34 -0
  198. package/dist/commonjs/generated/data/models/mappers.d.ts.map +1 -0
  199. package/dist/commonjs/generated/data/models/mappers.js +1091 -0
  200. package/dist/commonjs/generated/data/models/mappers.js.map +1 -0
  201. package/dist/commonjs/generated/data/models/parameters.d.ts +58 -0
  202. package/dist/commonjs/generated/data/models/parameters.d.ts.map +1 -0
  203. package/dist/commonjs/generated/data/models/parameters.js +581 -0
  204. package/dist/commonjs/generated/data/models/parameters.js.map +1 -0
  205. package/dist/commonjs/generated/data/operations/documents.d.ts +70 -0
  206. package/dist/commonjs/generated/data/operations/documents.d.ts.map +1 -0
  207. package/dist/commonjs/generated/data/operations/documents.js +320 -0
  208. package/dist/commonjs/generated/data/operations/documents.js.map +1 -0
  209. package/dist/commonjs/generated/data/operations/index.d.ts +2 -0
  210. package/dist/commonjs/generated/data/operations/index.d.ts.map +1 -0
  211. package/dist/commonjs/generated/data/operations/index.js +12 -0
  212. package/dist/commonjs/generated/data/operations/index.js.map +1 -0
  213. package/dist/commonjs/generated/data/operationsInterfaces/documents.d.ts +62 -0
  214. package/dist/commonjs/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  215. package/dist/commonjs/generated/data/operationsInterfaces/documents.js +10 -0
  216. package/dist/commonjs/generated/data/operationsInterfaces/documents.js.map +1 -0
  217. package/dist/commonjs/generated/data/operationsInterfaces/index.d.ts +2 -0
  218. package/dist/commonjs/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  219. package/dist/commonjs/generated/data/operationsInterfaces/index.js +12 -0
  220. package/dist/commonjs/generated/data/operationsInterfaces/index.js.map +1 -0
  221. package/dist/commonjs/generated/data/searchClient.d.ts +21 -0
  222. package/dist/commonjs/generated/data/searchClient.d.ts.map +1 -0
  223. package/dist/commonjs/generated/data/searchClient.js +93 -0
  224. package/dist/commonjs/generated/data/searchClient.js.map +1 -0
  225. package/dist/commonjs/generated/service/index.d.ts +4 -0
  226. package/dist/commonjs/generated/service/index.d.ts.map +1 -0
  227. package/dist/commonjs/generated/service/index.js +16 -0
  228. package/dist/commonjs/generated/service/index.js.map +1 -0
  229. package/dist/commonjs/generated/service/models/index.d.ts +4428 -0
  230. package/dist/commonjs/generated/service/models/index.d.ts.map +1 -0
  231. package/dist/commonjs/generated/service/models/index.js +1459 -0
  232. package/dist/commonjs/generated/service/models/index.js.map +1 -0
  233. package/dist/commonjs/generated/service/models/mappers.d.ts +272 -0
  234. package/dist/commonjs/generated/service/models/mappers.d.ts.map +1 -0
  235. package/dist/commonjs/generated/service/models/mappers.js +6077 -0
  236. package/dist/commonjs/generated/service/models/mappers.js.map +1 -0
  237. package/dist/commonjs/generated/service/models/parameters.d.ts +22 -0
  238. package/dist/commonjs/generated/service/models/parameters.d.ts.map +1 -0
  239. package/dist/commonjs/generated/service/models/parameters.js +176 -0
  240. package/dist/commonjs/generated/service/models/parameters.js.map +1 -0
  241. package/dist/commonjs/generated/service/operations/aliases.d.ts +2 -0
  242. package/dist/commonjs/generated/service/operations/aliases.d.ts.map +1 -0
  243. package/dist/commonjs/generated/service/operations/aliases.js +202 -0
  244. package/dist/commonjs/generated/service/operations/aliases.js.map +1 -0
  245. package/dist/commonjs/generated/service/operations/dataSources.d.ts +43 -0
  246. package/dist/commonjs/generated/service/operations/dataSources.d.ts.map +1 -0
  247. package/dist/commonjs/generated/service/operations/dataSources.js +165 -0
  248. package/dist/commonjs/generated/service/operations/dataSources.js.map +1 -0
  249. package/dist/commonjs/generated/service/operations/index.d.ts +6 -0
  250. package/dist/commonjs/generated/service/operations/index.d.ts.map +1 -0
  251. package/dist/commonjs/generated/service/operations/index.js +16 -0
  252. package/dist/commonjs/generated/service/operations/index.js.map +1 -0
  253. package/dist/commonjs/generated/service/operations/indexers.d.ts +61 -0
  254. package/dist/commonjs/generated/service/operations/indexers.d.ts.map +1 -0
  255. package/dist/commonjs/generated/service/operations/indexers.js +233 -0
  256. package/dist/commonjs/generated/service/operations/indexers.js.map +1 -0
  257. package/dist/commonjs/generated/service/operations/indexes.d.ts +58 -0
  258. package/dist/commonjs/generated/service/operations/indexes.d.ts.map +1 -0
  259. package/dist/commonjs/generated/service/operations/indexes.js +218 -0
  260. package/dist/commonjs/generated/service/operations/indexes.js.map +1 -0
  261. package/dist/commonjs/generated/service/operations/skillsets.d.ts +43 -0
  262. package/dist/commonjs/generated/service/operations/skillsets.d.ts.map +1 -0
  263. package/dist/commonjs/generated/service/operations/skillsets.js +165 -0
  264. package/dist/commonjs/generated/service/operations/skillsets.js.map +1 -0
  265. package/dist/commonjs/generated/service/operations/synonymMaps.d.ts +43 -0
  266. package/dist/commonjs/generated/service/operations/synonymMaps.d.ts.map +1 -0
  267. package/dist/commonjs/generated/service/operations/synonymMaps.js +165 -0
  268. package/dist/commonjs/generated/service/operations/synonymMaps.js.map +1 -0
  269. package/dist/commonjs/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  270. package/dist/commonjs/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  271. package/dist/commonjs/generated/service/operationsInterfaces/aliases.js +69 -0
  272. package/dist/commonjs/generated/service/operationsInterfaces/aliases.js.map +1 -0
  273. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  274. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  275. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.js +10 -0
  276. package/dist/commonjs/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  277. package/dist/commonjs/generated/service/operationsInterfaces/index.d.ts +6 -0
  278. package/dist/commonjs/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  279. package/dist/commonjs/generated/service/operationsInterfaces/index.js +16 -0
  280. package/dist/commonjs/generated/service/operationsInterfaces/index.js.map +1 -0
  281. package/dist/commonjs/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  282. package/dist/commonjs/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  283. package/dist/commonjs/generated/service/operationsInterfaces/indexers.js +10 -0
  284. package/dist/commonjs/generated/service/operationsInterfaces/indexers.js.map +1 -0
  285. package/dist/commonjs/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  286. package/dist/commonjs/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  287. package/dist/commonjs/generated/service/operationsInterfaces/indexes.js +10 -0
  288. package/dist/commonjs/generated/service/operationsInterfaces/indexes.js.map +1 -0
  289. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  290. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  291. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.js +10 -0
  292. package/dist/commonjs/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  293. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  294. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  295. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.js +10 -0
  296. package/dist/commonjs/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  297. package/dist/commonjs/generated/service/searchServiceClient.d.ts +28 -0
  298. package/dist/commonjs/generated/service/searchServiceClient.d.ts.map +1 -0
  299. package/dist/commonjs/generated/service/searchServiceClient.js +121 -0
  300. package/dist/commonjs/generated/service/searchServiceClient.js.map +1 -0
  301. package/dist/commonjs/geographyPoint.d.ts +27 -0
  302. package/dist/commonjs/geographyPoint.d.ts.map +1 -0
  303. package/dist/commonjs/geographyPoint.js +39 -0
  304. package/dist/commonjs/geographyPoint.js.map +1 -0
  305. package/dist/commonjs/index.d.ts +15 -0
  306. package/dist/commonjs/index.d.ts.map +1 -0
  307. package/dist/commonjs/index.js +81 -0
  308. package/dist/commonjs/index.js.map +1 -0
  309. package/dist/commonjs/indexDocumentsBatch.d.ts +41 -0
  310. package/dist/commonjs/indexDocumentsBatch.d.ts.map +1 -0
  311. package/dist/commonjs/indexDocumentsBatch.js +83 -0
  312. package/dist/commonjs/indexDocumentsBatch.js.map +1 -0
  313. package/dist/commonjs/indexModels.d.ts +722 -0
  314. package/dist/commonjs/indexModels.d.ts.map +1 -0
  315. package/dist/commonjs/indexModels.js +5 -0
  316. package/dist/commonjs/indexModels.js.map +1 -0
  317. package/dist/commonjs/logger.d.ts +5 -0
  318. package/dist/commonjs/logger.d.ts.map +1 -0
  319. package/dist/commonjs/logger.js +11 -0
  320. package/dist/commonjs/logger.js.map +1 -0
  321. package/dist/commonjs/odata.d.ts +14 -0
  322. package/dist/commonjs/odata.d.ts.map +1 -0
  323. package/dist/commonjs/odata.js +50 -0
  324. package/dist/commonjs/odata.js.map +1 -0
  325. package/dist/commonjs/odataMetadataPolicy.d.ts +9 -0
  326. package/dist/commonjs/odataMetadataPolicy.d.ts.map +1 -0
  327. package/dist/commonjs/odataMetadataPolicy.js +21 -0
  328. package/dist/commonjs/odataMetadataPolicy.js.map +1 -0
  329. package/dist/commonjs/package.json +3 -0
  330. package/dist/commonjs/searchApiKeyCredentialPolicy.d.ts +8 -0
  331. package/dist/commonjs/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  332. package/dist/commonjs/searchApiKeyCredentialPolicy.js +23 -0
  333. package/dist/commonjs/searchApiKeyCredentialPolicy.js.map +1 -0
  334. package/dist/commonjs/searchAudience.d.ts +18 -0
  335. package/dist/commonjs/searchAudience.d.ts.map +1 -0
  336. package/dist/commonjs/searchAudience.js +24 -0
  337. package/dist/commonjs/searchAudience.js.map +1 -0
  338. package/dist/commonjs/searchClient.d.ts +266 -0
  339. package/dist/commonjs/searchClient.d.ts.map +1 -0
  340. package/dist/commonjs/searchClient.js +669 -0
  341. package/dist/commonjs/searchClient.js.map +1 -0
  342. package/dist/commonjs/searchIndexClient.d.ts +177 -0
  343. package/dist/commonjs/searchIndexClient.d.ts.map +1 -0
  344. package/dist/commonjs/searchIndexClient.js +514 -0
  345. package/dist/commonjs/searchIndexClient.js.map +1 -0
  346. package/dist/commonjs/searchIndexerClient.d.ts +187 -0
  347. package/dist/commonjs/searchIndexerClient.d.ts.map +1 -0
  348. package/dist/commonjs/searchIndexerClient.js +591 -0
  349. package/dist/commonjs/searchIndexerClient.js.map +1 -0
  350. package/dist/commonjs/searchIndexingBufferedSender.d.ts +193 -0
  351. package/dist/commonjs/searchIndexingBufferedSender.d.ts.map +1 -0
  352. package/dist/commonjs/searchIndexingBufferedSender.js +327 -0
  353. package/dist/commonjs/searchIndexingBufferedSender.js.map +1 -0
  354. package/dist/commonjs/serialization.d.ts +3 -0
  355. package/dist/commonjs/serialization.d.ts.map +1 -0
  356. package/dist/commonjs/serialization.js +149 -0
  357. package/dist/commonjs/serialization.js.map +1 -0
  358. package/dist/commonjs/serviceModels.d.ts +2181 -0
  359. package/dist/commonjs/serviceModels.d.ts.map +1 -0
  360. package/dist/commonjs/serviceModels.js +658 -0
  361. package/dist/commonjs/serviceModels.js.map +1 -0
  362. package/dist/commonjs/serviceUtils.d.ts +35 -0
  363. package/dist/commonjs/serviceUtils.d.ts.map +1 -0
  364. package/dist/commonjs/serviceUtils.js +548 -0
  365. package/dist/commonjs/serviceUtils.js.map +1 -0
  366. package/dist/commonjs/synonymMapHelper.d.ts +10 -0
  367. package/dist/commonjs/synonymMapHelper.d.ts.map +1 -0
  368. package/dist/commonjs/synonymMapHelper.js +28 -0
  369. package/dist/commonjs/synonymMapHelper.js.map +1 -0
  370. package/dist/commonjs/tracing.d.ts +7 -0
  371. package/dist/commonjs/tracing.d.ts.map +1 -0
  372. package/dist/commonjs/tracing.js +16 -0
  373. package/dist/commonjs/tracing.js.map +1 -0
  374. package/dist/commonjs/tsdoc-metadata.json +11 -0
  375. package/dist/commonjs/walk.d.ts +2 -0
  376. package/dist/commonjs/walk.d.ts.map +1 -0
  377. package/dist/commonjs/walk.js +79 -0
  378. package/dist/commonjs/walk.js.map +1 -0
  379. package/dist/esm/base64.d.ts +11 -0
  380. package/dist/esm/base64.d.ts.map +1 -0
  381. package/dist/esm/errorModels.d.ts +50 -0
  382. package/dist/esm/errorModels.d.ts.map +1 -0
  383. package/dist/esm/errorModels.js +4 -0
  384. package/dist/esm/errorModels.js.map +1 -0
  385. package/dist/esm/generated/data/index.d.ts +4 -0
  386. package/dist/esm/generated/data/index.d.ts.map +1 -0
  387. package/{dist-esm/src/generated/service → dist/esm/generated/data}/index.js +3 -3
  388. package/dist/esm/generated/data/index.js.map +1 -0
  389. package/dist/esm/generated/data/models/index.d.ts +783 -0
  390. package/dist/esm/generated/data/models/index.d.ts.map +1 -0
  391. package/dist/esm/generated/data/models/index.js +80 -0
  392. package/dist/esm/generated/data/models/index.js.map +1 -0
  393. package/dist/esm/generated/data/models/mappers.d.ts +34 -0
  394. package/dist/esm/generated/data/models/mappers.d.ts.map +1 -0
  395. package/dist/esm/generated/data/models/mappers.js +1088 -0
  396. package/dist/esm/generated/data/models/mappers.js.map +1 -0
  397. package/dist/esm/generated/data/models/parameters.d.ts +58 -0
  398. package/dist/esm/generated/data/models/parameters.d.ts.map +1 -0
  399. package/dist/esm/generated/data/models/parameters.js +577 -0
  400. package/dist/esm/generated/data/models/parameters.js.map +1 -0
  401. package/dist/esm/generated/data/operations/documents.d.ts +70 -0
  402. package/dist/esm/generated/data/operations/documents.d.ts.map +1 -0
  403. package/dist/esm/generated/data/operations/documents.js +315 -0
  404. package/dist/esm/generated/data/operations/documents.js.map +1 -0
  405. package/dist/esm/generated/data/operations/index.d.ts +2 -0
  406. package/dist/esm/generated/data/operations/index.d.ts.map +1 -0
  407. package/dist/esm/generated/data/operations/index.js +9 -0
  408. package/dist/esm/generated/data/operations/index.js.map +1 -0
  409. package/dist/esm/generated/data/operationsInterfaces/documents.d.ts +62 -0
  410. package/dist/esm/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  411. package/dist/esm/generated/data/operationsInterfaces/documents.js +9 -0
  412. package/dist/esm/generated/data/operationsInterfaces/documents.js.map +1 -0
  413. package/dist/esm/generated/data/operationsInterfaces/index.d.ts +2 -0
  414. package/dist/esm/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  415. package/dist/esm/generated/data/operationsInterfaces/index.js +9 -0
  416. package/dist/esm/generated/data/operationsInterfaces/index.js.map +1 -0
  417. package/dist/esm/generated/data/searchClient.d.ts +21 -0
  418. package/dist/esm/generated/data/searchClient.d.ts.map +1 -0
  419. package/dist/esm/generated/data/searchClient.js +88 -0
  420. package/dist/esm/generated/data/searchClient.js.map +1 -0
  421. package/dist/esm/generated/service/index.d.ts +4 -0
  422. package/dist/esm/generated/service/index.d.ts.map +1 -0
  423. package/dist/esm/generated/service/index.js +11 -0
  424. package/dist/esm/generated/service/index.js.map +1 -0
  425. package/dist/esm/generated/service/models/index.d.ts +4428 -0
  426. package/dist/esm/generated/service/models/index.d.ts.map +1 -0
  427. package/dist/esm/generated/service/models/index.js +1456 -0
  428. package/dist/esm/generated/service/models/index.js.map +1 -0
  429. package/dist/esm/generated/service/models/mappers.d.ts +272 -0
  430. package/dist/esm/generated/service/models/mappers.d.ts.map +1 -0
  431. package/dist/esm/generated/service/models/mappers.js +6071 -0
  432. package/dist/esm/generated/service/models/mappers.js.map +1 -0
  433. package/dist/esm/generated/service/models/parameters.d.ts +22 -0
  434. package/dist/esm/generated/service/models/parameters.d.ts.map +1 -0
  435. package/dist/esm/generated/service/models/parameters.js +173 -0
  436. package/dist/esm/generated/service/models/parameters.js.map +1 -0
  437. package/dist/esm/generated/service/operations/aliases.d.ts +2 -0
  438. package/dist/esm/generated/service/operations/aliases.d.ts.map +1 -0
  439. package/dist/esm/generated/service/operations/aliases.js +201 -0
  440. package/dist/esm/generated/service/operations/aliases.js.map +1 -0
  441. package/dist/esm/generated/service/operations/dataSources.d.ts +43 -0
  442. package/dist/esm/generated/service/operations/dataSources.d.ts.map +1 -0
  443. package/dist/esm/generated/service/operations/dataSources.js +160 -0
  444. package/dist/esm/generated/service/operations/dataSources.js.map +1 -0
  445. package/dist/esm/generated/service/operations/index.d.ts +6 -0
  446. package/dist/esm/generated/service/operations/index.d.ts.map +1 -0
  447. package/dist/esm/generated/service/operations/index.js +13 -0
  448. package/dist/esm/generated/service/operations/index.js.map +1 -0
  449. package/dist/esm/generated/service/operations/indexers.d.ts +61 -0
  450. package/dist/esm/generated/service/operations/indexers.d.ts.map +1 -0
  451. package/dist/esm/generated/service/operations/indexers.js +228 -0
  452. package/dist/esm/generated/service/operations/indexers.js.map +1 -0
  453. package/dist/esm/generated/service/operations/indexes.d.ts +58 -0
  454. package/dist/esm/generated/service/operations/indexes.d.ts.map +1 -0
  455. package/dist/esm/generated/service/operations/indexes.js +213 -0
  456. package/dist/esm/generated/service/operations/indexes.js.map +1 -0
  457. package/dist/esm/generated/service/operations/skillsets.d.ts +43 -0
  458. package/dist/esm/generated/service/operations/skillsets.d.ts.map +1 -0
  459. package/{dist-esm/src/generated/service/operations/aliases.js → dist/esm/generated/service/operations/skillsets.js} +71 -71
  460. package/dist/esm/generated/service/operations/skillsets.js.map +1 -0
  461. package/dist/esm/generated/service/operations/synonymMaps.d.ts +43 -0
  462. package/dist/esm/generated/service/operations/synonymMaps.d.ts.map +1 -0
  463. package/dist/esm/generated/service/operations/synonymMaps.js +160 -0
  464. package/dist/esm/generated/service/operations/synonymMaps.js.map +1 -0
  465. package/dist/esm/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  466. package/dist/esm/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  467. package/dist/esm/generated/service/operationsInterfaces/aliases.js +68 -0
  468. package/dist/esm/generated/service/operationsInterfaces/aliases.js.map +1 -0
  469. package/dist/esm/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  470. package/dist/esm/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  471. package/dist/esm/generated/service/operationsInterfaces/dataSources.js +9 -0
  472. package/dist/esm/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  473. package/dist/esm/generated/service/operationsInterfaces/index.d.ts +6 -0
  474. package/dist/esm/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  475. package/dist/esm/generated/service/operationsInterfaces/index.js +13 -0
  476. package/dist/esm/generated/service/operationsInterfaces/index.js.map +1 -0
  477. package/dist/esm/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  478. package/dist/esm/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  479. package/dist/esm/generated/service/operationsInterfaces/indexers.js +9 -0
  480. package/dist/esm/generated/service/operationsInterfaces/indexers.js.map +1 -0
  481. package/dist/esm/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  482. package/dist/esm/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  483. package/{dist-esm/src/generated/service/operationsInterfaces/aliases.js → dist/esm/generated/service/operationsInterfaces/indexes.js} +1 -1
  484. package/dist/esm/generated/service/operationsInterfaces/indexes.js.map +1 -0
  485. package/dist/esm/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  486. package/dist/esm/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  487. package/dist/esm/generated/service/operationsInterfaces/skillsets.js +9 -0
  488. package/dist/esm/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  489. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  490. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  491. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.js +9 -0
  492. package/dist/esm/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  493. package/dist/esm/generated/service/searchServiceClient.d.ts +28 -0
  494. package/dist/esm/generated/service/searchServiceClient.d.ts.map +1 -0
  495. package/dist/esm/generated/service/searchServiceClient.js +116 -0
  496. package/dist/esm/generated/service/searchServiceClient.js.map +1 -0
  497. package/dist/esm/geographyPoint.d.ts +27 -0
  498. package/dist/esm/geographyPoint.d.ts.map +1 -0
  499. package/dist/esm/geographyPoint.js +36 -0
  500. package/dist/esm/geographyPoint.js.map +1 -0
  501. package/dist/esm/index.d.ts +15 -0
  502. package/dist/esm/index.d.ts.map +1 -0
  503. package/dist/esm/index.js +16 -0
  504. package/dist/esm/index.js.map +1 -0
  505. package/dist/esm/indexDocumentsBatch.d.ts +41 -0
  506. package/dist/esm/indexDocumentsBatch.d.ts.map +1 -0
  507. package/dist/esm/indexDocumentsBatch.js +79 -0
  508. package/dist/esm/indexDocumentsBatch.js.map +1 -0
  509. package/dist/esm/indexModels.d.ts +722 -0
  510. package/dist/esm/indexModels.d.ts.map +1 -0
  511. package/dist/esm/indexModels.js +4 -0
  512. package/dist/esm/indexModels.js.map +1 -0
  513. package/dist/esm/logger.d.ts +5 -0
  514. package/dist/esm/logger.d.ts.map +1 -0
  515. package/dist/esm/logger.js +8 -0
  516. package/dist/esm/logger.js.map +1 -0
  517. package/dist/esm/odata.d.ts +14 -0
  518. package/dist/esm/odata.d.ts.map +1 -0
  519. package/dist/esm/odata.js +47 -0
  520. package/dist/esm/odata.js.map +1 -0
  521. package/dist/esm/odataMetadataPolicy.d.ts +9 -0
  522. package/dist/esm/odataMetadataPolicy.d.ts.map +1 -0
  523. package/dist/esm/odataMetadataPolicy.js +18 -0
  524. package/dist/esm/odataMetadataPolicy.js.map +1 -0
  525. package/dist/esm/package.json +3 -0
  526. package/dist/esm/searchApiKeyCredentialPolicy.d.ts +8 -0
  527. package/dist/esm/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  528. package/dist/esm/searchApiKeyCredentialPolicy.js +20 -0
  529. package/dist/esm/searchApiKeyCredentialPolicy.js.map +1 -0
  530. package/dist/esm/searchAudience.d.ts +18 -0
  531. package/dist/esm/searchAudience.d.ts.map +1 -0
  532. package/dist/esm/searchAudience.js +21 -0
  533. package/dist/esm/searchAudience.js.map +1 -0
  534. package/dist/esm/searchClient.d.ts +266 -0
  535. package/dist/esm/searchClient.d.ts.map +1 -0
  536. package/dist/esm/searchClient.js +664 -0
  537. package/dist/esm/searchClient.js.map +1 -0
  538. package/dist/esm/searchIndexClient.d.ts +177 -0
  539. package/dist/esm/searchIndexClient.d.ts.map +1 -0
  540. package/dist/esm/searchIndexClient.js +509 -0
  541. package/dist/esm/searchIndexClient.js.map +1 -0
  542. package/dist/esm/searchIndexerClient.d.ts +187 -0
  543. package/dist/esm/searchIndexerClient.d.ts.map +1 -0
  544. package/dist/esm/searchIndexerClient.js +586 -0
  545. package/dist/esm/searchIndexerClient.js.map +1 -0
  546. package/dist/esm/searchIndexingBufferedSender.d.ts +193 -0
  547. package/dist/esm/searchIndexingBufferedSender.d.ts.map +1 -0
  548. package/dist/esm/searchIndexingBufferedSender.js +322 -0
  549. package/dist/esm/searchIndexingBufferedSender.js.map +1 -0
  550. package/dist/esm/serialization.d.ts +3 -0
  551. package/dist/esm/serialization.d.ts.map +1 -0
  552. package/dist/esm/serialization.js +144 -0
  553. package/dist/esm/serialization.js.map +1 -0
  554. package/dist/esm/serviceModels.d.ts +2181 -0
  555. package/dist/esm/serviceModels.d.ts.map +1 -0
  556. package/dist/esm/serviceModels.js +654 -0
  557. package/dist/esm/serviceModels.js.map +1 -0
  558. package/dist/esm/serviceUtils.d.ts +35 -0
  559. package/dist/esm/serviceUtils.d.ts.map +1 -0
  560. package/dist/esm/serviceUtils.js +518 -0
  561. package/dist/esm/serviceUtils.js.map +1 -0
  562. package/dist/esm/synonymMapHelper.d.ts +10 -0
  563. package/dist/esm/synonymMapHelper.d.ts.map +1 -0
  564. package/{dist-esm/src → dist/esm}/synonymMapHelper.js.map +1 -1
  565. package/dist/esm/tracing.d.ts +7 -0
  566. package/dist/esm/tracing.d.ts.map +1 -0
  567. package/dist/esm/tracing.js +13 -0
  568. package/dist/esm/tracing.js.map +1 -0
  569. package/dist/esm/walk.d.ts +2 -0
  570. package/dist/esm/walk.d.ts.map +1 -0
  571. package/dist/esm/walk.js +76 -0
  572. package/dist/esm/walk.js.map +1 -0
  573. package/dist/react-native/base64.d.ts +11 -0
  574. package/dist/react-native/base64.d.ts.map +1 -0
  575. package/dist/react-native/base64.js +17 -0
  576. package/dist/react-native/base64.js.map +1 -0
  577. package/dist/react-native/errorModels.d.ts +50 -0
  578. package/dist/react-native/errorModels.d.ts.map +1 -0
  579. package/dist/react-native/errorModels.js +4 -0
  580. package/dist/react-native/errorModels.js.map +1 -0
  581. package/dist/react-native/generated/data/index.d.ts +4 -0
  582. package/dist/react-native/generated/data/index.d.ts.map +1 -0
  583. package/dist/react-native/generated/data/index.js +11 -0
  584. package/dist/react-native/generated/data/index.js.map +1 -0
  585. package/dist/react-native/generated/data/models/index.d.ts +783 -0
  586. package/dist/react-native/generated/data/models/index.d.ts.map +1 -0
  587. package/dist/react-native/generated/data/models/index.js +80 -0
  588. package/dist/react-native/generated/data/models/index.js.map +1 -0
  589. package/dist/react-native/generated/data/models/mappers.d.ts +34 -0
  590. package/dist/react-native/generated/data/models/mappers.d.ts.map +1 -0
  591. package/dist/react-native/generated/data/models/mappers.js +1088 -0
  592. package/dist/react-native/generated/data/models/mappers.js.map +1 -0
  593. package/dist/react-native/generated/data/models/parameters.d.ts +58 -0
  594. package/dist/react-native/generated/data/models/parameters.d.ts.map +1 -0
  595. package/dist/react-native/generated/data/models/parameters.js +577 -0
  596. package/dist/react-native/generated/data/models/parameters.js.map +1 -0
  597. package/dist/react-native/generated/data/operations/documents.d.ts +70 -0
  598. package/dist/react-native/generated/data/operations/documents.d.ts.map +1 -0
  599. package/dist/react-native/generated/data/operations/documents.js +315 -0
  600. package/dist/react-native/generated/data/operations/documents.js.map +1 -0
  601. package/dist/react-native/generated/data/operations/index.d.ts +2 -0
  602. package/dist/react-native/generated/data/operations/index.d.ts.map +1 -0
  603. package/dist/react-native/generated/data/operations/index.js +9 -0
  604. package/dist/react-native/generated/data/operations/index.js.map +1 -0
  605. package/dist/react-native/generated/data/operationsInterfaces/documents.d.ts +62 -0
  606. package/dist/react-native/generated/data/operationsInterfaces/documents.d.ts.map +1 -0
  607. package/dist/react-native/generated/data/operationsInterfaces/documents.js +9 -0
  608. package/dist/react-native/generated/data/operationsInterfaces/documents.js.map +1 -0
  609. package/dist/react-native/generated/data/operationsInterfaces/index.d.ts +2 -0
  610. package/dist/react-native/generated/data/operationsInterfaces/index.d.ts.map +1 -0
  611. package/dist/react-native/generated/data/operationsInterfaces/index.js +9 -0
  612. package/dist/react-native/generated/data/operationsInterfaces/index.js.map +1 -0
  613. package/dist/react-native/generated/data/searchClient.d.ts +21 -0
  614. package/dist/react-native/generated/data/searchClient.d.ts.map +1 -0
  615. package/dist/react-native/generated/data/searchClient.js +88 -0
  616. package/dist/react-native/generated/data/searchClient.js.map +1 -0
  617. package/dist/react-native/generated/service/index.d.ts +4 -0
  618. package/dist/react-native/generated/service/index.d.ts.map +1 -0
  619. package/dist/react-native/generated/service/index.js +11 -0
  620. package/dist/react-native/generated/service/index.js.map +1 -0
  621. package/dist/react-native/generated/service/models/index.d.ts +4428 -0
  622. package/dist/react-native/generated/service/models/index.d.ts.map +1 -0
  623. package/dist/react-native/generated/service/models/index.js +1456 -0
  624. package/dist/react-native/generated/service/models/index.js.map +1 -0
  625. package/dist/react-native/generated/service/models/mappers.d.ts +272 -0
  626. package/dist/react-native/generated/service/models/mappers.d.ts.map +1 -0
  627. package/dist/react-native/generated/service/models/mappers.js +6071 -0
  628. package/dist/react-native/generated/service/models/mappers.js.map +1 -0
  629. package/dist/react-native/generated/service/models/parameters.d.ts +22 -0
  630. package/dist/react-native/generated/service/models/parameters.d.ts.map +1 -0
  631. package/dist/react-native/generated/service/models/parameters.js +173 -0
  632. package/dist/react-native/generated/service/models/parameters.js.map +1 -0
  633. package/dist/react-native/generated/service/operations/aliases.d.ts +2 -0
  634. package/dist/react-native/generated/service/operations/aliases.d.ts.map +1 -0
  635. package/dist/react-native/generated/service/operations/aliases.js +201 -0
  636. package/dist/react-native/generated/service/operations/aliases.js.map +1 -0
  637. package/dist/react-native/generated/service/operations/dataSources.d.ts +43 -0
  638. package/dist/react-native/generated/service/operations/dataSources.d.ts.map +1 -0
  639. package/dist/react-native/generated/service/operations/dataSources.js +160 -0
  640. package/dist/react-native/generated/service/operations/dataSources.js.map +1 -0
  641. package/dist/react-native/generated/service/operations/index.d.ts +6 -0
  642. package/dist/react-native/generated/service/operations/index.d.ts.map +1 -0
  643. package/dist/react-native/generated/service/operations/index.js +13 -0
  644. package/dist/react-native/generated/service/operations/index.js.map +1 -0
  645. package/dist/react-native/generated/service/operations/indexers.d.ts +61 -0
  646. package/dist/react-native/generated/service/operations/indexers.d.ts.map +1 -0
  647. package/dist/react-native/generated/service/operations/indexers.js +228 -0
  648. package/dist/react-native/generated/service/operations/indexers.js.map +1 -0
  649. package/dist/react-native/generated/service/operations/indexes.d.ts +58 -0
  650. package/dist/react-native/generated/service/operations/indexes.d.ts.map +1 -0
  651. package/dist/react-native/generated/service/operations/indexes.js +213 -0
  652. package/dist/react-native/generated/service/operations/indexes.js.map +1 -0
  653. package/dist/react-native/generated/service/operations/skillsets.d.ts +43 -0
  654. package/dist/react-native/generated/service/operations/skillsets.d.ts.map +1 -0
  655. package/dist/react-native/generated/service/operations/skillsets.js +160 -0
  656. package/dist/react-native/generated/service/operations/skillsets.js.map +1 -0
  657. package/dist/react-native/generated/service/operations/synonymMaps.d.ts +43 -0
  658. package/dist/react-native/generated/service/operations/synonymMaps.d.ts.map +1 -0
  659. package/dist/react-native/generated/service/operations/synonymMaps.js +160 -0
  660. package/dist/react-native/generated/service/operations/synonymMaps.js.map +1 -0
  661. package/dist/react-native/generated/service/operationsInterfaces/aliases.d.ts +2 -0
  662. package/dist/react-native/generated/service/operationsInterfaces/aliases.d.ts.map +1 -0
  663. package/dist/react-native/generated/service/operationsInterfaces/aliases.js +68 -0
  664. package/dist/react-native/generated/service/operationsInterfaces/aliases.js.map +1 -0
  665. package/dist/react-native/generated/service/operationsInterfaces/dataSources.d.ts +35 -0
  666. package/dist/react-native/generated/service/operationsInterfaces/dataSources.d.ts.map +1 -0
  667. package/dist/react-native/generated/service/operationsInterfaces/dataSources.js +9 -0
  668. package/dist/react-native/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  669. package/dist/react-native/generated/service/operationsInterfaces/index.d.ts +6 -0
  670. package/dist/react-native/generated/service/operationsInterfaces/index.d.ts.map +1 -0
  671. package/dist/react-native/generated/service/operationsInterfaces/index.js +13 -0
  672. package/dist/react-native/generated/service/operationsInterfaces/index.js.map +1 -0
  673. package/dist/react-native/generated/service/operationsInterfaces/indexers.d.ts +53 -0
  674. package/dist/react-native/generated/service/operationsInterfaces/indexers.d.ts.map +1 -0
  675. package/dist/react-native/generated/service/operationsInterfaces/indexers.js +9 -0
  676. package/dist/react-native/generated/service/operationsInterfaces/indexers.js.map +1 -0
  677. package/dist/react-native/generated/service/operationsInterfaces/indexes.d.ts +50 -0
  678. package/dist/react-native/generated/service/operationsInterfaces/indexes.d.ts.map +1 -0
  679. package/dist/react-native/generated/service/operationsInterfaces/indexes.js +9 -0
  680. package/dist/react-native/generated/service/operationsInterfaces/indexes.js.map +1 -0
  681. package/dist/react-native/generated/service/operationsInterfaces/skillsets.d.ts +35 -0
  682. package/dist/react-native/generated/service/operationsInterfaces/skillsets.d.ts.map +1 -0
  683. package/dist/react-native/generated/service/operationsInterfaces/skillsets.js +9 -0
  684. package/dist/react-native/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  685. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.d.ts +35 -0
  686. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.d.ts.map +1 -0
  687. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.js +9 -0
  688. package/dist/react-native/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  689. package/dist/react-native/generated/service/searchServiceClient.d.ts +28 -0
  690. package/dist/react-native/generated/service/searchServiceClient.d.ts.map +1 -0
  691. package/dist/react-native/generated/service/searchServiceClient.js +116 -0
  692. package/dist/react-native/generated/service/searchServiceClient.js.map +1 -0
  693. package/dist/react-native/geographyPoint.d.ts +27 -0
  694. package/dist/react-native/geographyPoint.d.ts.map +1 -0
  695. package/dist/react-native/geographyPoint.js +36 -0
  696. package/dist/react-native/geographyPoint.js.map +1 -0
  697. package/dist/react-native/index.d.ts +15 -0
  698. package/dist/react-native/index.d.ts.map +1 -0
  699. package/dist/react-native/index.js +16 -0
  700. package/dist/react-native/index.js.map +1 -0
  701. package/dist/react-native/indexDocumentsBatch.d.ts +41 -0
  702. package/dist/react-native/indexDocumentsBatch.d.ts.map +1 -0
  703. package/dist/react-native/indexDocumentsBatch.js +79 -0
  704. package/dist/react-native/indexDocumentsBatch.js.map +1 -0
  705. package/dist/react-native/indexModels.d.ts +722 -0
  706. package/dist/react-native/indexModels.d.ts.map +1 -0
  707. package/dist/react-native/indexModels.js +4 -0
  708. package/dist/react-native/indexModels.js.map +1 -0
  709. package/dist/react-native/logger.d.ts +5 -0
  710. package/dist/react-native/logger.d.ts.map +1 -0
  711. package/dist/react-native/logger.js +8 -0
  712. package/dist/react-native/logger.js.map +1 -0
  713. package/dist/react-native/odata.d.ts +14 -0
  714. package/dist/react-native/odata.d.ts.map +1 -0
  715. package/dist/react-native/odata.js +47 -0
  716. package/dist/react-native/odata.js.map +1 -0
  717. package/dist/react-native/odataMetadataPolicy.d.ts +9 -0
  718. package/dist/react-native/odataMetadataPolicy.d.ts.map +1 -0
  719. package/dist/react-native/odataMetadataPolicy.js +18 -0
  720. package/dist/react-native/odataMetadataPolicy.js.map +1 -0
  721. package/dist/react-native/package.json +3 -0
  722. package/dist/react-native/searchApiKeyCredentialPolicy.d.ts +8 -0
  723. package/dist/react-native/searchApiKeyCredentialPolicy.d.ts.map +1 -0
  724. package/dist/react-native/searchApiKeyCredentialPolicy.js +20 -0
  725. package/dist/react-native/searchApiKeyCredentialPolicy.js.map +1 -0
  726. package/dist/react-native/searchAudience.d.ts +18 -0
  727. package/dist/react-native/searchAudience.d.ts.map +1 -0
  728. package/dist/react-native/searchAudience.js +21 -0
  729. package/dist/react-native/searchAudience.js.map +1 -0
  730. package/dist/react-native/searchClient.d.ts +266 -0
  731. package/dist/react-native/searchClient.d.ts.map +1 -0
  732. package/dist/react-native/searchClient.js +664 -0
  733. package/dist/react-native/searchClient.js.map +1 -0
  734. package/dist/react-native/searchIndexClient.d.ts +177 -0
  735. package/dist/react-native/searchIndexClient.d.ts.map +1 -0
  736. package/dist/react-native/searchIndexClient.js +509 -0
  737. package/dist/react-native/searchIndexClient.js.map +1 -0
  738. package/dist/react-native/searchIndexerClient.d.ts +187 -0
  739. package/dist/react-native/searchIndexerClient.d.ts.map +1 -0
  740. package/dist/react-native/searchIndexerClient.js +586 -0
  741. package/dist/react-native/searchIndexerClient.js.map +1 -0
  742. package/dist/react-native/searchIndexingBufferedSender.d.ts +193 -0
  743. package/dist/react-native/searchIndexingBufferedSender.d.ts.map +1 -0
  744. package/dist/react-native/searchIndexingBufferedSender.js +322 -0
  745. package/dist/react-native/searchIndexingBufferedSender.js.map +1 -0
  746. package/dist/react-native/serialization.d.ts +3 -0
  747. package/dist/react-native/serialization.d.ts.map +1 -0
  748. package/dist/react-native/serialization.js +144 -0
  749. package/dist/react-native/serialization.js.map +1 -0
  750. package/dist/react-native/serviceModels.d.ts +2181 -0
  751. package/dist/react-native/serviceModels.d.ts.map +1 -0
  752. package/dist/react-native/serviceModels.js +654 -0
  753. package/dist/react-native/serviceModels.js.map +1 -0
  754. package/dist/react-native/serviceUtils.d.ts +35 -0
  755. package/dist/react-native/serviceUtils.d.ts.map +1 -0
  756. package/dist/react-native/serviceUtils.js +518 -0
  757. package/dist/react-native/serviceUtils.js.map +1 -0
  758. package/dist/react-native/synonymMapHelper.d.ts +10 -0
  759. package/dist/react-native/synonymMapHelper.d.ts.map +1 -0
  760. package/dist/react-native/synonymMapHelper.js +24 -0
  761. package/dist/react-native/synonymMapHelper.js.map +1 -0
  762. package/dist/react-native/tracing.d.ts +7 -0
  763. package/dist/react-native/tracing.d.ts.map +1 -0
  764. package/dist/react-native/tracing.js +13 -0
  765. package/dist/react-native/tracing.js.map +1 -0
  766. package/dist/react-native/walk.d.ts +2 -0
  767. package/dist/react-native/walk.d.ts.map +1 -0
  768. package/dist/react-native/walk.js +76 -0
  769. package/dist/react-native/walk.js.map +1 -0
  770. package/package.json +88 -81
  771. package/dist/index.js +0 -15948
  772. package/dist/index.js.map +0 -1
  773. package/dist-esm/src/base64.browser.js.map +0 -1
  774. package/dist-esm/src/errorModels.js.map +0 -1
  775. package/dist-esm/src/generated/data/index.js.map +0 -1
  776. package/dist-esm/src/generated/data/models/index.js +0 -286
  777. package/dist-esm/src/generated/data/models/index.js.map +0 -1
  778. package/dist-esm/src/generated/data/models/mappers.js.map +0 -1
  779. package/dist-esm/src/generated/data/models/parameters.js.map +0 -1
  780. package/dist-esm/src/generated/data/operations/documents.js.map +0 -1
  781. package/dist-esm/src/generated/data/operations/index.js.map +0 -1
  782. package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +0 -1
  783. package/dist-esm/src/generated/data/operationsInterfaces/index.js.map +0 -1
  784. package/dist-esm/src/generated/data/searchClient.js.map +0 -1
  785. package/dist-esm/src/generated/service/index.js.map +0 -1
  786. package/dist-esm/src/generated/service/models/index.js.map +0 -1
  787. package/dist-esm/src/generated/service/models/mappers.js.map +0 -1
  788. package/dist-esm/src/generated/service/models/parameters.js.map +0 -1
  789. package/dist-esm/src/generated/service/operations/aliases.js.map +0 -1
  790. package/dist-esm/src/generated/service/operations/dataSources.js.map +0 -1
  791. package/dist-esm/src/generated/service/operations/index.js +0 -14
  792. package/dist-esm/src/generated/service/operations/index.js.map +0 -1
  793. package/dist-esm/src/generated/service/operations/indexers.js.map +0 -1
  794. package/dist-esm/src/generated/service/operations/indexes.js.map +0 -1
  795. package/dist-esm/src/generated/service/operations/skillsets.js.map +0 -1
  796. package/dist-esm/src/generated/service/operations/synonymMaps.js.map +0 -1
  797. package/dist-esm/src/generated/service/operationsInterfaces/aliases.js.map +0 -1
  798. package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +0 -1
  799. package/dist-esm/src/generated/service/operationsInterfaces/index.js +0 -14
  800. package/dist-esm/src/generated/service/operationsInterfaces/index.js.map +0 -1
  801. package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +0 -1
  802. package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +0 -1
  803. package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +0 -1
  804. package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +0 -1
  805. package/dist-esm/src/generated/service/searchServiceClient.js.map +0 -1
  806. package/dist-esm/src/geographyPoint.js.map +0 -1
  807. package/dist-esm/src/index.js +0 -16
  808. package/dist-esm/src/index.js.map +0 -1
  809. package/dist-esm/src/indexDocumentsBatch.js.map +0 -1
  810. package/dist-esm/src/indexModels.js.map +0 -1
  811. package/dist-esm/src/odataMetadataPolicy.js.map +0 -1
  812. package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +0 -1
  813. package/dist-esm/src/searchClient.js.map +0 -1
  814. package/dist-esm/src/searchIndexClient.js.map +0 -1
  815. package/dist-esm/src/searchIndexerClient.js.map +0 -1
  816. package/dist-esm/src/searchIndexingBufferedSender.js.map +0 -1
  817. package/dist-esm/src/serialization.js.map +0 -1
  818. package/dist-esm/src/serviceModels.js.map +0 -1
  819. package/dist-esm/src/serviceUtils.js.map +0 -1
  820. package/dist-esm/src/synonymMapHelper.browser.js.map +0 -1
  821. package/dist-esm/src/walk.js.map +0 -1
  822. package/types/search-documents.d.ts +0 -8041
  823. /package/{dist-esm/src → dist/browser}/errorModels.js +0 -0
  824. /package/{dist-esm/src → dist/browser}/generated/data/operationsInterfaces/documents.js +0 -0
  825. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/dataSources.js +0 -0
  826. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/indexers.js +0 -0
  827. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/indexes.js +0 -0
  828. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/skillsets.js +0 -0
  829. /package/{dist-esm/src → dist/browser}/generated/service/operationsInterfaces/synonymMaps.js +0 -0
  830. /package/{dist-esm/src → dist/browser}/indexModels.js +0 -0
  831. /package/{dist-esm/src → dist/browser}/logger.js +0 -0
  832. /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
  833. /package/{dist-esm/src → dist/browser}/odata.js +0 -0
  834. /package/{dist-esm/src → dist/browser}/odata.js.map +0 -0
  835. /package/{dist-esm/src → dist/browser}/odataMetadataPolicy.js +0 -0
  836. /package/{dist-esm/src → dist/browser}/searchApiKeyCredentialPolicy.js +0 -0
  837. /package/{dist-esm/src → dist/browser}/searchAudience.js +0 -0
  838. /package/{dist-esm/src → dist/browser}/searchAudience.js.map +0 -0
  839. /package/{dist-esm/src → dist/browser}/serviceModels.js +0 -0
  840. /package/{dist-esm/src → dist/browser}/tracing.js +0 -0
  841. /package/{dist-esm/src → dist/browser}/tracing.js.map +0 -0
  842. /package/{dist-esm/src → dist/esm}/base64.js +0 -0
  843. /package/{dist-esm/src → dist/esm}/base64.js.map +0 -0
  844. /package/{dist-esm/src → dist/esm}/synonymMapHelper.js +0 -0
@@ -0,0 +1,50 @@
1
+ import { SearchIndex, IndexesCreateOptionalParams, IndexesCreateResponse, IndexesListOptionalParams, IndexesListResponse, IndexesCreateOrUpdateOptionalParams, IndexesCreateOrUpdateResponse, IndexesDeleteOptionalParams, IndexesGetOptionalParams, IndexesGetResponse, IndexesGetStatisticsOptionalParams, IndexesGetStatisticsResponse, AnalyzeRequest, IndexesAnalyzeOptionalParams, IndexesAnalyzeResponse } from "../models/index.js";
2
+ /** Interface representing a Indexes. */
3
+ export interface Indexes {
4
+ /**
5
+ * Creates a new search index.
6
+ * @param index The definition of the index to create.
7
+ * @param options The options parameters.
8
+ */
9
+ create(index: SearchIndex, options?: IndexesCreateOptionalParams): Promise<IndexesCreateResponse>;
10
+ /**
11
+ * Lists all indexes available for a search service.
12
+ * @param options The options parameters.
13
+ */
14
+ list(options?: IndexesListOptionalParams): Promise<IndexesListResponse>;
15
+ /**
16
+ * Creates a new search index or updates an index if it already exists.
17
+ * @param indexName The definition of the index to create or update.
18
+ * @param index The definition of the index to create or update.
19
+ * @param options The options parameters.
20
+ */
21
+ createOrUpdate(indexName: string, index: SearchIndex, options?: IndexesCreateOrUpdateOptionalParams): Promise<IndexesCreateOrUpdateResponse>;
22
+ /**
23
+ * Deletes a search index and all the documents it contains. This operation is permanent, with no
24
+ * recovery option. Make sure you have a master copy of your index definition, data ingestion code, and
25
+ * a backup of the primary data source in case you need to re-build the index.
26
+ * @param indexName The name of the index to delete.
27
+ * @param options The options parameters.
28
+ */
29
+ delete(indexName: string, options?: IndexesDeleteOptionalParams): Promise<void>;
30
+ /**
31
+ * Retrieves an index definition.
32
+ * @param indexName The name of the index to retrieve.
33
+ * @param options The options parameters.
34
+ */
35
+ get(indexName: string, options?: IndexesGetOptionalParams): Promise<IndexesGetResponse>;
36
+ /**
37
+ * Returns statistics for the given index, including a document count and storage usage.
38
+ * @param indexName The name of the index for which to retrieve statistics.
39
+ * @param options The options parameters.
40
+ */
41
+ getStatistics(indexName: string, options?: IndexesGetStatisticsOptionalParams): Promise<IndexesGetStatisticsResponse>;
42
+ /**
43
+ * Shows how an analyzer breaks text into tokens.
44
+ * @param indexName The name of the index for which to test an analyzer.
45
+ * @param request The text and analyzer or analysis components to test.
46
+ * @param options The options parameters.
47
+ */
48
+ analyze(indexName: string, request: AnalyzeRequest, options?: IndexesAnalyzeOptionalParams): Promise<IndexesAnalyzeResponse>;
49
+ }
50
+ //# sourceMappingURL=indexes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../../../src/generated/service/operationsInterfaces/indexes.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,WAAW,EACX,2BAA2B,EAC3B,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,EACnB,mCAAmC,EACnC,6BAA6B,EAC7B,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EAClB,kCAAkC,EAClC,4BAA4B,EAC5B,cAAc,EACd,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,wCAAwC;AACxC,MAAM,WAAW,OAAO;IACtB;;;;OAIG;IACH,MAAM,CACJ,KAAK,EAAE,WAAW,EAClB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACxE;;;;;OAKG;IACH,cAAc,CACZ,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,WAAW,EAClB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,GAAG,CACD,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CACX,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;OAKG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexes.js","sourceRoot":"","sources":["../../../../../src/generated/service/operationsInterfaces/indexes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n SearchIndex,\n IndexesCreateOptionalParams,\n IndexesCreateResponse,\n IndexesListOptionalParams,\n IndexesListResponse,\n IndexesCreateOrUpdateOptionalParams,\n IndexesCreateOrUpdateResponse,\n IndexesDeleteOptionalParams,\n IndexesGetOptionalParams,\n IndexesGetResponse,\n IndexesGetStatisticsOptionalParams,\n IndexesGetStatisticsResponse,\n AnalyzeRequest,\n IndexesAnalyzeOptionalParams,\n IndexesAnalyzeResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Indexes. */\nexport interface Indexes {\n /**\n * Creates a new search index.\n * @param index The definition of the index to create.\n * @param options The options parameters.\n */\n create(\n index: SearchIndex,\n options?: IndexesCreateOptionalParams,\n ): Promise<IndexesCreateResponse>;\n /**\n * Lists all indexes available for a search service.\n * @param options The options parameters.\n */\n list(options?: IndexesListOptionalParams): Promise<IndexesListResponse>;\n /**\n * Creates a new search index or updates an index if it already exists.\n * @param indexName The definition of the index to create or update.\n * @param index The definition of the index to create or update.\n * @param options The options parameters.\n */\n createOrUpdate(\n indexName: string,\n index: SearchIndex,\n options?: IndexesCreateOrUpdateOptionalParams,\n ): Promise<IndexesCreateOrUpdateResponse>;\n /**\n * Deletes a search index and all the documents it contains. This operation is permanent, with no\n * recovery option. Make sure you have a master copy of your index definition, data ingestion code, and\n * a backup of the primary data source in case you need to re-build the index.\n * @param indexName The name of the index to delete.\n * @param options The options parameters.\n */\n delete(\n indexName: string,\n options?: IndexesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Retrieves an index definition.\n * @param indexName The name of the index to retrieve.\n * @param options The options parameters.\n */\n get(\n indexName: string,\n options?: IndexesGetOptionalParams,\n ): Promise<IndexesGetResponse>;\n /**\n * Returns statistics for the given index, including a document count and storage usage.\n * @param indexName The name of the index for which to retrieve statistics.\n * @param options The options parameters.\n */\n getStatistics(\n indexName: string,\n options?: IndexesGetStatisticsOptionalParams,\n ): Promise<IndexesGetStatisticsResponse>;\n /**\n * Shows how an analyzer breaks text into tokens.\n * @param indexName The name of the index for which to test an analyzer.\n * @param request The text and analyzer or analysis components to test.\n * @param options The options parameters.\n */\n analyze(\n indexName: string,\n request: AnalyzeRequest,\n options?: IndexesAnalyzeOptionalParams,\n ): Promise<IndexesAnalyzeResponse>;\n}\n"]}
@@ -0,0 +1,35 @@
1
+ import { SearchIndexerSkillset, SkillsetsCreateOrUpdateOptionalParams, SkillsetsCreateOrUpdateResponse, SkillsetsDeleteOptionalParams, SkillsetsGetOptionalParams, SkillsetsGetResponse, SkillsetsListOptionalParams, SkillsetsListResponse, SkillsetsCreateOptionalParams, SkillsetsCreateResponse } from "../models/index.js";
2
+ /** Interface representing a Skillsets. */
3
+ export interface Skillsets {
4
+ /**
5
+ * Creates a new skillset in a search service or updates the skillset if it already exists.
6
+ * @param skillsetName The name of the skillset to create or update.
7
+ * @param skillset The skillset containing one or more skills to create or update in a search service.
8
+ * @param options The options parameters.
9
+ */
10
+ createOrUpdate(skillsetName: string, skillset: SearchIndexerSkillset, options?: SkillsetsCreateOrUpdateOptionalParams): Promise<SkillsetsCreateOrUpdateResponse>;
11
+ /**
12
+ * Deletes a skillset in a search service.
13
+ * @param skillsetName The name of the skillset to delete.
14
+ * @param options The options parameters.
15
+ */
16
+ delete(skillsetName: string, options?: SkillsetsDeleteOptionalParams): Promise<void>;
17
+ /**
18
+ * Retrieves a skillset in a search service.
19
+ * @param skillsetName The name of the skillset to retrieve.
20
+ * @param options The options parameters.
21
+ */
22
+ get(skillsetName: string, options?: SkillsetsGetOptionalParams): Promise<SkillsetsGetResponse>;
23
+ /**
24
+ * List all skillsets in a search service.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options?: SkillsetsListOptionalParams): Promise<SkillsetsListResponse>;
28
+ /**
29
+ * Creates a new skillset in a search service.
30
+ * @param skillset The skillset containing one or more skills to create in a search service.
31
+ * @param options The options parameters.
32
+ */
33
+ create(skillset: SearchIndexerSkillset, options?: SkillsetsCreateOptionalParams): Promise<SkillsetsCreateResponse>;
34
+ }
35
+ //# sourceMappingURL=skillsets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skillsets.d.ts","sourceRoot":"","sources":["../../../../../src/generated/service/operationsInterfaces/skillsets.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,EACrB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,EAC3B,qBAAqB,EACrB,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,cAAc,CACZ,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;OAIG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,GAAG,CACD,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC5E;;;;OAIG;IACH,MAAM,CACJ,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skillsets.js","sourceRoot":"","sources":["../../../../../src/generated/service/operationsInterfaces/skillsets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n SearchIndexerSkillset,\n SkillsetsCreateOrUpdateOptionalParams,\n SkillsetsCreateOrUpdateResponse,\n SkillsetsDeleteOptionalParams,\n SkillsetsGetOptionalParams,\n SkillsetsGetResponse,\n SkillsetsListOptionalParams,\n SkillsetsListResponse,\n SkillsetsCreateOptionalParams,\n SkillsetsCreateResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Skillsets. */\nexport interface Skillsets {\n /**\n * Creates a new skillset in a search service or updates the skillset if it already exists.\n * @param skillsetName The name of the skillset to create or update.\n * @param skillset The skillset containing one or more skills to create or update in a search service.\n * @param options The options parameters.\n */\n createOrUpdate(\n skillsetName: string,\n skillset: SearchIndexerSkillset,\n options?: SkillsetsCreateOrUpdateOptionalParams,\n ): Promise<SkillsetsCreateOrUpdateResponse>;\n /**\n * Deletes a skillset in a search service.\n * @param skillsetName The name of the skillset to delete.\n * @param options The options parameters.\n */\n delete(\n skillsetName: string,\n options?: SkillsetsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Retrieves a skillset in a search service.\n * @param skillsetName The name of the skillset to retrieve.\n * @param options The options parameters.\n */\n get(\n skillsetName: string,\n options?: SkillsetsGetOptionalParams,\n ): Promise<SkillsetsGetResponse>;\n /**\n * List all skillsets in a search service.\n * @param options The options parameters.\n */\n list(options?: SkillsetsListOptionalParams): Promise<SkillsetsListResponse>;\n /**\n * Creates a new skillset in a search service.\n * @param skillset The skillset containing one or more skills to create in a search service.\n * @param options The options parameters.\n */\n create(\n skillset: SearchIndexerSkillset,\n options?: SkillsetsCreateOptionalParams,\n ): Promise<SkillsetsCreateResponse>;\n}\n"]}
@@ -0,0 +1,35 @@
1
+ import { SynonymMap, SynonymMapsCreateOrUpdateOptionalParams, SynonymMapsCreateOrUpdateResponse, SynonymMapsDeleteOptionalParams, SynonymMapsGetOptionalParams, SynonymMapsGetResponse, SynonymMapsListOptionalParams, SynonymMapsListResponse, SynonymMapsCreateOptionalParams, SynonymMapsCreateResponse } from "../models/index.js";
2
+ /** Interface representing a SynonymMaps. */
3
+ export interface SynonymMaps {
4
+ /**
5
+ * Creates a new synonym map or updates a synonym map if it already exists.
6
+ * @param synonymMapName The name of the synonym map to create or update.
7
+ * @param synonymMap The definition of the synonym map to create or update.
8
+ * @param options The options parameters.
9
+ */
10
+ createOrUpdate(synonymMapName: string, synonymMap: SynonymMap, options?: SynonymMapsCreateOrUpdateOptionalParams): Promise<SynonymMapsCreateOrUpdateResponse>;
11
+ /**
12
+ * Deletes a synonym map.
13
+ * @param synonymMapName The name of the synonym map to delete.
14
+ * @param options The options parameters.
15
+ */
16
+ delete(synonymMapName: string, options?: SynonymMapsDeleteOptionalParams): Promise<void>;
17
+ /**
18
+ * Retrieves a synonym map definition.
19
+ * @param synonymMapName The name of the synonym map to retrieve.
20
+ * @param options The options parameters.
21
+ */
22
+ get(synonymMapName: string, options?: SynonymMapsGetOptionalParams): Promise<SynonymMapsGetResponse>;
23
+ /**
24
+ * Lists all synonym maps available for a search service.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options?: SynonymMapsListOptionalParams): Promise<SynonymMapsListResponse>;
28
+ /**
29
+ * Creates a new synonym map.
30
+ * @param synonymMap The definition of the synonym map to create.
31
+ * @param options The options parameters.
32
+ */
33
+ create(synonymMap: SynonymMap, options?: SynonymMapsCreateOptionalParams): Promise<SynonymMapsCreateResponse>;
34
+ }
35
+ //# sourceMappingURL=synonymMaps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"synonymMaps.d.ts","sourceRoot":"","sources":["../../../../../src/generated/service/operationsInterfaces/synonymMaps.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,UAAU,EACV,uCAAuC,EACvC,iCAAiC,EACjC,+BAA+B,EAC/B,4BAA4B,EAC5B,sBAAsB,EACtB,6BAA6B,EAC7B,uBAAuB,EACvB,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAE5B,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,cAAc,CACZ,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;OAIG;IACH,MAAM,CACJ,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"synonymMaps.js","sourceRoot":"","sources":["../../../../../src/generated/service/operationsInterfaces/synonymMaps.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n SynonymMap,\n SynonymMapsCreateOrUpdateOptionalParams,\n SynonymMapsCreateOrUpdateResponse,\n SynonymMapsDeleteOptionalParams,\n SynonymMapsGetOptionalParams,\n SynonymMapsGetResponse,\n SynonymMapsListOptionalParams,\n SynonymMapsListResponse,\n SynonymMapsCreateOptionalParams,\n SynonymMapsCreateResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a SynonymMaps. */\nexport interface SynonymMaps {\n /**\n * Creates a new synonym map or updates a synonym map if it already exists.\n * @param synonymMapName The name of the synonym map to create or update.\n * @param synonymMap The definition of the synonym map to create or update.\n * @param options The options parameters.\n */\n createOrUpdate(\n synonymMapName: string,\n synonymMap: SynonymMap,\n options?: SynonymMapsCreateOrUpdateOptionalParams,\n ): Promise<SynonymMapsCreateOrUpdateResponse>;\n /**\n * Deletes a synonym map.\n * @param synonymMapName The name of the synonym map to delete.\n * @param options The options parameters.\n */\n delete(\n synonymMapName: string,\n options?: SynonymMapsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Retrieves a synonym map definition.\n * @param synonymMapName The name of the synonym map to retrieve.\n * @param options The options parameters.\n */\n get(\n synonymMapName: string,\n options?: SynonymMapsGetOptionalParams,\n ): Promise<SynonymMapsGetResponse>;\n /**\n * Lists all synonym maps available for a search service.\n * @param options The options parameters.\n */\n list(\n options?: SynonymMapsListOptionalParams,\n ): Promise<SynonymMapsListResponse>;\n /**\n * Creates a new synonym map.\n * @param synonymMap The definition of the synonym map to create.\n * @param options The options parameters.\n */\n create(\n synonymMap: SynonymMap,\n options?: SynonymMapsCreateOptionalParams,\n ): Promise<SynonymMapsCreateResponse>;\n}\n"]}
@@ -0,0 +1,28 @@
1
+ import * as coreHttpCompat from "@azure/core-http-compat";
2
+ import { DataSources, Indexers, Skillsets, SynonymMaps, Indexes } from "./operationsInterfaces/index.js";
3
+ import { ApiVersion20250901, SearchServiceClientOptionalParams, GetServiceStatisticsOptionalParams, GetServiceStatisticsResponse } from "./models/index.js";
4
+ /** @internal */
5
+ export declare class SearchServiceClient extends coreHttpCompat.ExtendedServiceClient {
6
+ endpoint: string;
7
+ apiVersion: ApiVersion20250901;
8
+ /**
9
+ * Initializes a new instance of the SearchServiceClient class.
10
+ * @param endpoint The endpoint URL of the search service.
11
+ * @param apiVersion Api Version
12
+ * @param options The parameter options
13
+ */
14
+ constructor(endpoint: string, apiVersion: ApiVersion20250901, options?: SearchServiceClientOptionalParams);
15
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
16
+ private addCustomApiVersionPolicy;
17
+ /**
18
+ * Gets service level statistics for a search service.
19
+ * @param options The options parameters.
20
+ */
21
+ getServiceStatistics(options?: GetServiceStatisticsOptionalParams): Promise<GetServiceStatisticsResponse>;
22
+ dataSources: DataSources;
23
+ indexers: Indexers;
24
+ skillsets: Skillsets;
25
+ synonymMaps: SynonymMaps;
26
+ indexes: Indexes;
27
+ }
28
+ //# sourceMappingURL=searchServiceClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchServiceClient.d.ts","sourceRoot":"","sources":["../../../../src/generated/service/searchServiceClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAa1D,OAAO,EACL,WAAW,EACX,QAAQ,EACR,SAAS,EACT,WAAW,EACX,OAAO,EACR,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,kBAAkB,EAClB,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAE3B,gBAAgB;AAChB,qBAAa,mBAAoB,SAAQ,cAAc,CAAC,qBAAqB;IAC3E,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,kBAAkB,CAAC;IAE/B;;;;;OAKG;gBAED,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,iCAAiC;IA2C7C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;OAGG;IACH,oBAAoB,CAClB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CAClB"}
@@ -7,11 +7,13 @@
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
9
  import * as coreHttpCompat from "@azure/core-http-compat";
10
- import { DataSourcesImpl, IndexersImpl, SkillsetsImpl, SynonymMapsImpl, IndexesImpl, AliasesImpl, } from "./operations";
11
- import * as Parameters from "./models/parameters";
12
- import * as Mappers from "./models/mappers";
10
+ import { DataSourcesImpl, IndexersImpl, SkillsetsImpl, SynonymMapsImpl, IndexesImpl, } from "./operations/index.js";
11
+ import * as Parameters from "./models/parameters.js";
12
+ import * as Mappers from "./models/mappers.js";
13
13
  /** @internal */
14
14
  export class SearchServiceClient extends coreHttpCompat.ExtendedServiceClient {
15
+ endpoint;
16
+ apiVersion;
15
17
  /**
16
18
  * Initializes a new instance of the SearchServiceClient class.
17
19
  * @param endpoint The endpoint URL of the search service.
@@ -19,7 +21,6 @@ export class SearchServiceClient extends coreHttpCompat.ExtendedServiceClient {
19
21
  * @param options The parameter options
20
22
  */
21
23
  constructor(endpoint, apiVersion, options) {
22
- var _a, _b;
23
24
  if (endpoint === undefined) {
24
25
  throw new Error("'endpoint' cannot be null");
25
26
  }
@@ -33,13 +34,18 @@ export class SearchServiceClient extends coreHttpCompat.ExtendedServiceClient {
33
34
  const defaults = {
34
35
  requestContentType: "application/json; charset=utf-8",
35
36
  };
36
- const packageDetails = `azsdk-js-search-documents/12.2.0-beta.2`;
37
+ const packageDetails = `azsdk-js-search-documents/12.2.0`;
37
38
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
39
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
40
  : `${packageDetails}`;
40
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
41
+ const optionsWithDefaults = {
42
+ ...defaults,
43
+ ...options,
44
+ userAgentOptions: {
41
45
  userAgentPrefix,
42
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "{endpoint}" });
46
+ },
47
+ endpoint: options.endpoint ?? options.baseUri ?? "{endpoint}",
48
+ };
43
49
  super(optionsWithDefaults);
44
50
  // Parameter assignments
45
51
  this.endpoint = endpoint;
@@ -49,7 +55,6 @@ export class SearchServiceClient extends coreHttpCompat.ExtendedServiceClient {
49
55
  this.skillsets = new SkillsetsImpl(this);
50
56
  this.synonymMaps = new SynonymMapsImpl(this);
51
57
  this.indexes = new IndexesImpl(this);
52
- this.aliases = new AliasesImpl(this);
53
58
  this.addCustomApiVersionPolicy(apiVersion);
54
59
  }
55
60
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -84,6 +89,11 @@ export class SearchServiceClient extends coreHttpCompat.ExtendedServiceClient {
84
89
  getServiceStatistics(options) {
85
90
  return this.sendOperationRequest({ options }, getServiceStatisticsOperationSpec);
86
91
  }
92
+ dataSources;
93
+ indexers;
94
+ skillsets;
95
+ synonymMaps;
96
+ indexes;
87
97
  }
88
98
  // Operation Specifications
89
99
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchServiceClient.js","sourceRoot":"","sources":["../../../../src/generated/service/searchServiceClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAM1D,OAAO,EACL,eAAe,EACf,YAAY,EACZ,aAAa,EACb,eAAe,EACf,WAAW,GACZ,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;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AAoB,CAClB,OAA4C;QAE5C,OAAO,IAAI,CAAC,oBAAoB,CAC9B,EAAE,OAAO,EAAE,EACX,iCAAiC,CAClC,CAAC;IACJ,CAAC;IAED,WAAW,CAAc;IACzB,QAAQ,CAAW;IACnB,SAAS,CAAY;IACrB,WAAW,CAAc;IACzB,OAAO,CAAU;CAClB;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,eAAe;IACrB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport {\n DataSourcesImpl,\n IndexersImpl,\n SkillsetsImpl,\n SynonymMapsImpl,\n IndexesImpl,\n} from \"./operations/index.js\";\nimport {\n DataSources,\n Indexers,\n Skillsets,\n SynonymMaps,\n Indexes,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n ApiVersion20250901,\n SearchServiceClientOptionalParams,\n GetServiceStatisticsOptionalParams,\n GetServiceStatisticsResponse,\n} from \"./models/index.js\";\n\n/** @internal */\nexport class SearchServiceClient extends coreHttpCompat.ExtendedServiceClient {\n endpoint: string;\n apiVersion: ApiVersion20250901;\n\n /**\n * Initializes a new instance of the SearchServiceClient class.\n * @param endpoint The endpoint URL of the search service.\n * @param apiVersion Api Version\n * @param options The parameter options\n */\n constructor(\n endpoint: string,\n apiVersion: ApiVersion20250901,\n options?: SearchServiceClientOptionalParams,\n ) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n if (apiVersion === undefined) {\n throw new Error(\"'apiVersion' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SearchServiceClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n };\n\n const packageDetails = `azsdk-js-search-documents/12.2.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{endpoint}\",\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n this.apiVersion = apiVersion;\n this.dataSources = new DataSourcesImpl(this);\n this.indexers = new IndexersImpl(this);\n this.skillsets = new SkillsetsImpl(this);\n this.synonymMaps = new SynonymMapsImpl(this);\n this.indexes = new IndexesImpl(this);\n this.addCustomApiVersionPolicy(apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Gets service level statistics for a search service.\n * @param options The options parameters.\n */\n getServiceStatistics(\n options?: GetServiceStatisticsOptionalParams,\n ): Promise<GetServiceStatisticsResponse> {\n return this.sendOperationRequest(\n { options },\n getServiceStatisticsOperationSpec,\n );\n }\n\n dataSources: DataSources;\n indexers: Indexers;\n skillsets: Skillsets;\n synonymMaps: SynonymMaps;\n indexes: Indexes;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getServiceStatisticsOperationSpec: coreClient.OperationSpec = {\n path: \"/servicestats\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceStatistics,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Represents a geographic point in global coordinates.
3
+ */
4
+ export default class GeographyPoint {
5
+ /**
6
+ * The latitude in decimal.
7
+ */
8
+ latitude: number;
9
+ /**
10
+ * The longitude in decimal.
11
+ */
12
+ longitude: number;
13
+ /**
14
+ * Constructs a new instance of GeographyPoint given
15
+ * the specified coordinates.
16
+ * @param geographyPoint - object with longitude and latitude values in decimal
17
+ */
18
+ constructor(geographyPoint: {
19
+ longitude: number;
20
+ latitude: number;
21
+ });
22
+ /**
23
+ * Used to serialize to a GeoJSON Point.
24
+ */
25
+ toJSON(): Record<string, unknown>;
26
+ }
27
+ //# sourceMappingURL=geographyPoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geographyPoint.d.ts","sourceRoot":"","sources":["../../src/geographyPoint.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC;;OAEG;IACI,QAAQ,EAAE,MAAM,CAAC;IACxB;;OAEG;IACI,SAAS,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;gBACS,cAAc,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;IAKnE;;OAEG;IACI,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAOzC"}
@@ -5,6 +5,14 @@ const WorldGeodeticSystem1984 = "EPSG:4326"; // See https://epsg.io/4326
5
5
  * Represents a geographic point in global coordinates.
6
6
  */
7
7
  export default class GeographyPoint {
8
+ /**
9
+ * The latitude in decimal.
10
+ */
11
+ latitude;
12
+ /**
13
+ * The longitude in decimal.
14
+ */
15
+ longitude;
8
16
  /**
9
17
  * Constructs a new instance of GeographyPoint given
10
18
  * the specified coordinates.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geographyPoint.js","sourceRoot":"","sources":["../../src/geographyPoint.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,uBAAuB,GAAG,WAAW,CAAC,CAAC,2BAA2B;AAExE;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC;;OAEG;IACI,QAAQ,CAAS;IACxB;;OAEG;IACI,SAAS,CAAS;IAEzB;;;;OAIG;IACH,YAAY,cAAuD;QACjE,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC,SAAS,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;IAC1C,CAAC;IAED;;OAEG;IACI,MAAM;QACX,OAAO;YACL,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC;YAC5C,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE;SACrE,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nconst WorldGeodeticSystem1984 = \"EPSG:4326\"; // See https://epsg.io/4326\n\n/**\n * Represents a geographic point in global coordinates.\n */\nexport default class GeographyPoint {\n /**\n * The latitude in decimal.\n */\n public latitude: number;\n /**\n * The longitude in decimal.\n */\n public longitude: number;\n\n /**\n * Constructs a new instance of GeographyPoint given\n * the specified coordinates.\n * @param geographyPoint - object with longitude and latitude values in decimal\n */\n constructor(geographyPoint: { longitude: number; latitude: number }) {\n this.longitude = geographyPoint.longitude;\n this.latitude = geographyPoint.latitude;\n }\n\n /**\n * Used to serialize to a GeoJSON Point.\n */\n public toJSON(): Record<string, unknown> {\n return {\n type: \"Point\",\n coordinates: [this.longitude, this.latitude],\n crs: { type: \"name\", properties: { name: WorldGeodeticSystem1984 } },\n };\n }\n}\n"]}
@@ -0,0 +1,15 @@
1
+ export { AzureKeyCredential } from "@azure/core-auth";
2
+ export { AutocompleteItem, AutocompleteMode, AutocompleteResult, FacetResult, IndexActionType, IndexDocumentsResult, IndexingResult, KnownSemanticErrorMode, KnownSemanticErrorReason, KnownSemanticSearchResultsType, KnownVectorFilterMode, KnownVectorQueryKind, QueryAnswerResult, QueryCaptionResult, QueryType, ScoringStatistics, SearchMode, } from "./generated/data/models/index.js";
3
+ export { AnalyzeResult, AnalyzedTokenInfo, AsciiFoldingTokenFilter, AzureActiveDirectoryApplicationCredentials, AzureOpenAIModelName, BaseLexicalNormalizer, BM25Similarity, BinaryQuantizationCompression, CharFilter as BaseCharFilter, CharFilterName, CjkBigramTokenFilter, CjkBigramTokenFilterScripts, ClassicSimilarity, ClassicTokenizer, CognitiveServicesAccount as BaseCognitiveServicesAccount, CognitiveServicesAccountKey, CommonGramTokenFilter, ConditionalSkill, CorsOptions, CustomEntity, CustomEntityAlias, CustomLexicalNormalizer, DataChangeDetectionPolicy as BaseDataChangeDetectionPolicy, DataDeletionDetectionPolicy as BaseDataDeletionDetectionPolicy, DefaultCognitiveServicesAccount, DictionaryDecompounderTokenFilter, DistanceScoringFunction, DistanceScoringParameters, DocumentExtractionSkill, DocumentIntelligenceLayoutSkill, DocumentIntelligenceLayoutSkillChunkingProperties, DocumentIntelligenceLayoutSkillChunkingUnit, DocumentIntelligenceLayoutSkillExtractionOptions, DocumentIntelligenceLayoutSkillMarkdownHeaderDepth, DocumentIntelligenceLayoutSkillOutputFormat, DocumentIntelligenceLayoutSkillOutputMode, EdgeNGramTokenFilterSide, EdgeNGramTokenizer, ElisionTokenFilter, EntityLinkingSkill, EntityRecognitionSkillV3, FieldMapping, FieldMappingFunction, FreshnessScoringFunction, FreshnessScoringParameters, HighWaterMarkChangeDetectionPolicy, IndexProjectionMode, IndexerExecutionResult, IndexerExecutionStatus, IndexerStatus, IndexingSchedule, InputFieldMappingEntry, KeepTokenFilter, KeywordMarkerTokenFilter, KnownAzureOpenAIModelName, KnownBlobIndexerDataToExtract, KnownBlobIndexerImageAction, KnownBlobIndexerPDFTextRotationAlgorithm, KnownBlobIndexerParsingMode, KnownCharFilterName as KnownCharFilterNames, KnownCustomEntityLookupSkillLanguage, KnownDocumentIntelligenceLayoutSkillChunkingUnit, KnownDocumentIntelligenceLayoutSkillExtractionOptions, KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth, KnownDocumentIntelligenceLayoutSkillOutputFormat, KnownDocumentIntelligenceLayoutSkillOutputMode, KnownEntityCategory, KnownEntityRecognitionSkillLanguage, KnownImageAnalysisSkillLanguage, KnownImageDetail, KnownIndexProjectionMode, KnownIndexerExecutionEnvironment, KnownKeyPhraseExtractionSkillLanguage, KnownLexicalNormalizerName as KnownLexicalNormalizerNames, KnownLexicalTokenizerName as KnownTokenizerNames, KnownOcrLineEnding, KnownOcrSkillLanguage, KnownPIIDetectionSkillMaskingMode, KnownRankingOrder, KnownRegexFlags, KnownSearchFieldDataType, KnownSearchIndexerDataSourceType, KnownSentimentSkillLanguage, KnownSplitSkillLanguage, KnownTextSplitMode, KnownTextTranslationSkillLanguage, KnownTokenFilterName as KnownTokenFilterNames, KnownVectorEncodingFormat, KnownVectorSearchAlgorithmKind, KnownVectorSearchAlgorithmMetric, KnownVectorSearchCompressionKind, KnownVectorSearchCompressionRescoreStorageMethod, KnownVectorSearchCompressionTarget, KnownVectorSearchVectorizerKind, KnownVisualFeature, LanguageDetectionSkill, LengthTokenFilter, LexicalAnalyzer as BaseLexicalAnalyzer, LexicalAnalyzerName, LexicalNormalizerName, LexicalTokenizer as BaseLexicalTokenizer, LexicalTokenizerName, LimitTokenFilter, LuceneStandardAnalyzer, MagnitudeScoringFunction, MagnitudeScoringParameters, MappingCharFilter, MergeSkill, MicrosoftLanguageStemmingTokenizer, MicrosoftLanguageTokenizer, MicrosoftStemmingTokenizerLanguage, MicrosoftTokenizerLanguage, NGramTokenizer, OcrLineEnding, OutputFieldMappingEntry, PathHierarchyTokenizerV2 as PathHierarchyTokenizer, PatternCaptureTokenFilter, PatternReplaceCharFilter, PatternReplaceTokenFilter, PhoneticEncoder, PhoneticTokenFilter, RankingOrder, RescoringOptions, ResourceCounter, ScalarQuantizationCompression, ScalarQuantizationParameters, ScoringFunction as BaseScoringFunction, ScoringFunctionAggregation, ScoringFunctionInterpolation, SearchIndexerDataContainer, SearchIndexerDataIdentity as BaseSearchIndexerDataIdentity, SearchIndexerDataNoneIdentity, SearchIndexerDataUserAssignedIdentity, SearchIndexerError, SearchIndexerIndexProjectionSelector, SearchIndexerKnowledgeStoreBlobProjectionSelector, SearchIndexerKnowledgeStoreFileProjectionSelector, SearchIndexerKnowledgeStoreObjectProjectionSelector, SearchIndexerKnowledgeStoreProjection, SearchIndexerKnowledgeStoreProjectionSelector, SearchIndexerKnowledgeStoreTableProjectionSelector, SearchIndexerLimits, SearchIndexerSkill as BaseSearchIndexerSkill, SearchIndexerStatus, SearchIndexerWarning, SemanticConfiguration, SemanticField, SemanticPrioritizedFields, SemanticSearch, SentimentSkillV3, ServiceCounters, ServiceLimits, ShaperSkill, ShingleTokenFilter, Similarity, SnowballTokenFilter, SnowballTokenFilterLanguage, SoftDeleteColumnDeletionDetectionPolicy, SqlIntegratedChangeTrackingPolicy, StemmerOverrideTokenFilter, StemmerTokenFilter, StemmerTokenFilterLanguage, StopAnalyzer, StopwordsList, StopwordsTokenFilter, Suggester as SearchSuggester, SynonymTokenFilter, TagScoringFunction, TagScoringParameters, TextWeights, TokenCharacterKind, TokenFilter as BaseTokenFilter, TokenFilterName, TruncateTokenFilter, UaxUrlEmailTokenizer, UniqueTokenFilter, VectorEncodingFormat, VectorSearchCompression as BaseVectorSearchCompression, VectorSearchCompressionKind, VectorSearchCompressionRescoreStorageMethod, VectorSearchCompressionTarget, VectorSearchProfile, VectorSearchVectorizerKind, WordDelimiterTokenFilter, } from "./generated/service/models/index.js";
4
+ export { default as GeographyPoint } from "./geographyPoint.js";
5
+ export { IndexDocumentsBatch } from "./indexDocumentsBatch.js";
6
+ export { AutocompleteOptions, AutocompleteRequest, BaseSearchRequestOptions, BaseVectorQuery, CountDocumentsOptions, DeleteDocumentsOptions, ExcludedODataTypes, ExtractDocumentKey, ExtractiveQueryAnswer, ExtractiveQueryCaption, GetDocumentOptions, IndexDocumentsAction, IndexDocumentsOptions, ListSearchResultsPageSettings, MergeDocumentsOptions, MergeOrUploadDocumentsOptions, NarrowedModel, QueryAnswer, QueryCaption, SearchDocumentsPageResult, SearchDocumentsResult, SearchDocumentsResultBase, SearchFieldArray, SearchIndexingBufferedSenderDeleteDocumentsOptions, SearchIndexingBufferedSenderFlushDocumentsOptions, SearchIndexingBufferedSenderMergeDocumentsOptions, SearchIndexingBufferedSenderMergeOrUploadDocumentsOptions, SearchIndexingBufferedSenderOptions, SearchIndexingBufferedSenderUploadDocumentsOptions, SearchIterator, SearchOptions, SearchPick, SearchRequestOptions, SearchRequestQueryTypeOptions, SearchResult, SelectArray, SelectFields, SemanticErrorMode, SemanticErrorReason, SemanticSearchOptions, SemanticSearchResultsType, SuggestDocumentsResult, SuggestNarrowedModel, SuggestOptions, SuggestRequest, SuggestResult, UnionToIntersection, UploadDocumentsOptions, VectorFilterMode, VectorizableTextQuery, VectorizedQuery, VectorQuery, VectorQueryKind, VectorSearchOptions, } from "./indexModels.js";
7
+ export { odata } from "./odata.js";
8
+ export { KnownSearchAudience } from "./searchAudience.js";
9
+ export { SearchClient, SearchClientOptions } from "./searchClient.js";
10
+ export { SearchIndexClient, SearchIndexClientOptions } from "./searchIndexClient.js";
11
+ export { SearchIndexerClient, SearchIndexerClientOptions } from "./searchIndexerClient.js";
12
+ export { DEFAULT_BATCH_SIZE, DEFAULT_FLUSH_WINDOW, DEFAULT_RETRY_COUNT, IndexDocumentsClient, SearchIndexingBufferedSender, } from "./searchIndexingBufferedSender.js";
13
+ export { AnalyzeRequest, AnalyzeTextOptions, AzureOpenAIEmbeddingSkill, AzureOpenAIParameters, AzureOpenAIVectorizer, BaseVectorSearchAlgorithmConfiguration, BaseVectorSearchVectorizer, BlobIndexerDataToExtract, BlobIndexerImageAction, BlobIndexerParsingMode, BlobIndexerPDFTextRotationAlgorithm, CharFilter, CognitiveServicesAccount, ComplexDataType, ComplexField, CreateDataSourceConnectionOptions, CreateIndexerOptions, CreateIndexOptions, CreateorUpdateDataSourceConnectionOptions, CreateorUpdateIndexerOptions, CreateOrUpdateIndexOptions, CreateOrUpdateSkillsetOptions, CreateOrUpdateSynonymMapOptions, CreateSkillsetOptions, CreateSynonymMapOptions, CustomAnalyzer, CustomEntityLookupSkill, CustomEntityLookupSkillLanguage, DataChangeDetectionPolicy, DataDeletionDetectionPolicy, DeleteDataSourceConnectionOptions, DeleteIndexerOptions, DeleteIndexOptions, DeleteSkillsetOptions, DeleteSynonymMapOptions, EdgeNGramTokenFilter, EntityCategory, EntityRecognitionSkill, EntityRecognitionSkillLanguage, ExhaustiveKnnAlgorithmConfiguration, ExhaustiveKnnParameters, GetDataSourceConnectionOptions, GetIndexerOptions, GetIndexerStatusOptions, GetIndexOptions, GetIndexStatisticsOptions, GetServiceStatisticsOptions, GetSkillSetOptions, GetSynonymMapsOptions, HnswAlgorithmConfiguration, HnswParameters, ImageAnalysisSkill, ImageAnalysisSkillLanguage, ImageDetail, IndexerExecutionEnvironment, IndexingParameters, IndexingParametersConfiguration, IndexIterator, IndexNameIterator, KeyPhraseExtractionSkill, KeyPhraseExtractionSkillLanguage, KeywordTokenizer, KnownAnalyzerNames, LexicalAnalyzer, LexicalNormalizer, LexicalTokenizer, ListDataSourceConnectionsOptions, ListIndexersOptions, ListIndexesOptions, ListSkillsetsOptions, ListSynonymMapsOptions, LuceneStandardTokenizer, NGramTokenFilter, OcrSkill, OcrSkillLanguage, PatternAnalyzer, PatternTokenizer, PIIDetectionSkill, PIIDetectionSkillMaskingMode, RegexFlags, ResetIndexerOptions, RunIndexerOptions, ScoringFunction, ScoringProfile, SearchField, SearchFieldDataType, SearchIndex, SearchIndexer, SearchIndexerDataIdentity, SearchIndexerDataSourceConnection, SearchIndexerDataSourceType, SearchIndexerIndexProjection, SearchIndexerIndexProjectionParameters, SearchIndexerKnowledgeStore, SearchIndexerKnowledgeStoreParameters, SearchIndexerSkill, SearchIndexerSkillset, SearchIndexStatistics, SearchResourceEncryptionKey, SearchServiceStatistics, SentimentSkill, SentimentSkillLanguage, SimilarityAlgorithm, SimpleField, SplitSkill, SplitSkillLanguage, SynonymMap, TextSplitMode, TextTranslationSkill, TextTranslationSkillLanguage, TokenFilter, VectorSearch, VectorSearchAlgorithmConfiguration, VectorSearchAlgorithmKind, VectorSearchAlgorithmMetric, VectorSearchCompression, VectorSearchVectorizer, VisualFeature, WebApiParameters, WebApiSkill, WebApiVectorizer, } from "./serviceModels.js";
14
+ export { createSynonymMapFromFile } from "./synonymMapHelper.js";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBA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X,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,16 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { AzureKeyCredential } from "@azure/core-auth";
4
+ export { KnownSemanticErrorMode, KnownSemanticErrorReason, KnownSemanticSearchResultsType, KnownVectorFilterMode, KnownVectorQueryKind, } from "./generated/data/models/index.js";
5
+ export { KnownAzureOpenAIModelName, KnownBlobIndexerDataToExtract, KnownBlobIndexerImageAction, KnownBlobIndexerPDFTextRotationAlgorithm, KnownBlobIndexerParsingMode, KnownCharFilterName as KnownCharFilterNames, KnownCustomEntityLookupSkillLanguage, KnownDocumentIntelligenceLayoutSkillChunkingUnit, KnownDocumentIntelligenceLayoutSkillExtractionOptions, KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth, KnownDocumentIntelligenceLayoutSkillOutputFormat, KnownDocumentIntelligenceLayoutSkillOutputMode, KnownEntityCategory, KnownEntityRecognitionSkillLanguage, KnownImageAnalysisSkillLanguage, KnownImageDetail, KnownIndexProjectionMode, KnownIndexerExecutionEnvironment, KnownKeyPhraseExtractionSkillLanguage, KnownLexicalNormalizerName as KnownLexicalNormalizerNames, KnownLexicalTokenizerName as KnownTokenizerNames, KnownOcrLineEnding, KnownOcrSkillLanguage, KnownPIIDetectionSkillMaskingMode, KnownRankingOrder, KnownRegexFlags, KnownSearchFieldDataType, KnownSearchIndexerDataSourceType, KnownSentimentSkillLanguage, KnownSplitSkillLanguage, KnownTextSplitMode, KnownTextTranslationSkillLanguage, KnownTokenFilterName as KnownTokenFilterNames, KnownVectorEncodingFormat, KnownVectorSearchAlgorithmKind, KnownVectorSearchAlgorithmMetric, KnownVectorSearchCompressionKind, KnownVectorSearchCompressionRescoreStorageMethod, KnownVectorSearchCompressionTarget, KnownVectorSearchVectorizerKind, KnownVisualFeature, } from "./generated/service/models/index.js";
6
+ export { default as GeographyPoint } from "./geographyPoint.js";
7
+ export { IndexDocumentsBatch } from "./indexDocumentsBatch.js";
8
+ export { odata } from "./odata.js";
9
+ export { KnownSearchAudience } from "./searchAudience.js";
10
+ export { SearchClient } from "./searchClient.js";
11
+ export { SearchIndexClient } from "./searchIndexClient.js";
12
+ export { SearchIndexerClient } from "./searchIndexerClient.js";
13
+ export { DEFAULT_BATCH_SIZE, DEFAULT_FLUSH_WINDOW, DEFAULT_RETRY_COUNT, SearchIndexingBufferedSender, } from "./searchIndexingBufferedSender.js";
14
+ export { KnownAnalyzerNames, } from "./serviceModels.js";
15
+ export { createSynonymMapFromFile } from "./synonymMapHelper.js";
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAQL,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,qBAAqB,EACrB,oBAAoB,GAMrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAuDL,yBAAyB,EACzB,6BAA6B,EAC7B,2BAA2B,EAC3B,wCAAwC,EACxC,2BAA2B,EAC3B,mBAAmB,IAAI,oBAAoB,EAC3C,oCAAoC,EACpC,gDAAgD,EAChD,qDAAqD,EACrD,uDAAuD,EACvD,gDAAgD,EAChD,8CAA8C,EAC9C,mBAAmB,EACnB,mCAAmC,EACnC,+BAA+B,EAC/B,gBAAgB,EAChB,wBAAwB,EACxB,gCAAgC,EAChC,qCAAqC,EACrC,0BAA0B,IAAI,2BAA2B,EACzD,yBAAyB,IAAI,mBAAmB,EAChD,kBAAkB,EAClB,qBAAqB,EACrB,iCAAiC,EACjC,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,gCAAgC,EAChC,2BAA2B,EAC3B,uBAAuB,EACvB,kBAAkB,EAClB,iCAAiC,EACjC,oBAAoB,IAAI,qBAAqB,EAC7C,yBAAyB,EACzB,8BAA8B,EAC9B,gCAAgC,EAChC,gCAAgC,EAChC,gDAAgD,EAChD,kCAAkC,EAClC,+BAA+B,EAC/B,kBAAkB,GA0FnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAyD/D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAuB,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAA4B,MAAM,wBAAwB,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAA8B,MAAM,0BAA0B,CAAC;AAC3F,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EAEnB,4BAA4B,GAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EA+DL,kBAAkB,GA2DnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { AzureKeyCredential } from \"@azure/core-auth\";\nexport {\n AutocompleteItem,\n AutocompleteMode,\n AutocompleteResult,\n FacetResult,\n IndexActionType,\n IndexDocumentsResult,\n IndexingResult,\n KnownSemanticErrorMode,\n KnownSemanticErrorReason,\n KnownSemanticSearchResultsType,\n KnownVectorFilterMode,\n KnownVectorQueryKind,\n QueryAnswerResult,\n QueryCaptionResult,\n QueryType,\n ScoringStatistics,\n SearchMode,\n} from \"./generated/data/models/index.js\";\nexport {\n AnalyzeResult,\n AnalyzedTokenInfo,\n AsciiFoldingTokenFilter,\n AzureActiveDirectoryApplicationCredentials,\n AzureOpenAIModelName,\n BaseLexicalNormalizer,\n BM25Similarity,\n BinaryQuantizationCompression,\n CharFilter as BaseCharFilter,\n CharFilterName,\n CjkBigramTokenFilter,\n CjkBigramTokenFilterScripts,\n ClassicSimilarity,\n ClassicTokenizer,\n CognitiveServicesAccount as BaseCognitiveServicesAccount,\n CognitiveServicesAccountKey,\n CommonGramTokenFilter,\n ConditionalSkill,\n CorsOptions,\n CustomEntity,\n CustomEntityAlias,\n CustomLexicalNormalizer,\n DataChangeDetectionPolicy as BaseDataChangeDetectionPolicy,\n DataDeletionDetectionPolicy as BaseDataDeletionDetectionPolicy,\n DefaultCognitiveServicesAccount,\n DictionaryDecompounderTokenFilter,\n DistanceScoringFunction,\n DistanceScoringParameters,\n DocumentExtractionSkill,\n DocumentIntelligenceLayoutSkill,\n DocumentIntelligenceLayoutSkillChunkingProperties,\n DocumentIntelligenceLayoutSkillChunkingUnit,\n DocumentIntelligenceLayoutSkillExtractionOptions,\n DocumentIntelligenceLayoutSkillMarkdownHeaderDepth,\n DocumentIntelligenceLayoutSkillOutputFormat,\n DocumentIntelligenceLayoutSkillOutputMode,\n EdgeNGramTokenFilterSide,\n EdgeNGramTokenizer,\n ElisionTokenFilter,\n EntityLinkingSkill,\n EntityRecognitionSkillV3,\n FieldMapping,\n FieldMappingFunction,\n FreshnessScoringFunction,\n FreshnessScoringParameters,\n HighWaterMarkChangeDetectionPolicy,\n IndexProjectionMode,\n IndexerExecutionResult,\n IndexerExecutionStatus,\n IndexerStatus,\n IndexingSchedule,\n InputFieldMappingEntry,\n KeepTokenFilter,\n KeywordMarkerTokenFilter,\n KnownAzureOpenAIModelName,\n KnownBlobIndexerDataToExtract,\n KnownBlobIndexerImageAction,\n KnownBlobIndexerPDFTextRotationAlgorithm,\n KnownBlobIndexerParsingMode,\n KnownCharFilterName as KnownCharFilterNames,\n KnownCustomEntityLookupSkillLanguage,\n KnownDocumentIntelligenceLayoutSkillChunkingUnit,\n KnownDocumentIntelligenceLayoutSkillExtractionOptions,\n KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth,\n KnownDocumentIntelligenceLayoutSkillOutputFormat,\n KnownDocumentIntelligenceLayoutSkillOutputMode,\n KnownEntityCategory,\n KnownEntityRecognitionSkillLanguage,\n KnownImageAnalysisSkillLanguage,\n KnownImageDetail,\n KnownIndexProjectionMode,\n KnownIndexerExecutionEnvironment,\n KnownKeyPhraseExtractionSkillLanguage,\n KnownLexicalNormalizerName as KnownLexicalNormalizerNames,\n KnownLexicalTokenizerName as KnownTokenizerNames,\n KnownOcrLineEnding,\n KnownOcrSkillLanguage,\n KnownPIIDetectionSkillMaskingMode,\n KnownRankingOrder,\n KnownRegexFlags,\n KnownSearchFieldDataType,\n KnownSearchIndexerDataSourceType,\n KnownSentimentSkillLanguage,\n KnownSplitSkillLanguage,\n KnownTextSplitMode,\n KnownTextTranslationSkillLanguage,\n KnownTokenFilterName as KnownTokenFilterNames,\n KnownVectorEncodingFormat,\n KnownVectorSearchAlgorithmKind,\n KnownVectorSearchAlgorithmMetric,\n KnownVectorSearchCompressionKind,\n KnownVectorSearchCompressionRescoreStorageMethod,\n KnownVectorSearchCompressionTarget,\n KnownVectorSearchVectorizerKind,\n KnownVisualFeature,\n LanguageDetectionSkill,\n LengthTokenFilter,\n LexicalAnalyzer as BaseLexicalAnalyzer,\n LexicalAnalyzerName,\n LexicalNormalizerName,\n LexicalTokenizer as BaseLexicalTokenizer,\n LexicalTokenizerName,\n LimitTokenFilter,\n LuceneStandardAnalyzer,\n MagnitudeScoringFunction,\n MagnitudeScoringParameters,\n MappingCharFilter,\n MergeSkill,\n MicrosoftLanguageStemmingTokenizer,\n MicrosoftLanguageTokenizer,\n MicrosoftStemmingTokenizerLanguage,\n MicrosoftTokenizerLanguage,\n NGramTokenizer,\n OcrLineEnding,\n OutputFieldMappingEntry,\n PathHierarchyTokenizerV2 as PathHierarchyTokenizer,\n PatternCaptureTokenFilter,\n PatternReplaceCharFilter,\n PatternReplaceTokenFilter,\n PhoneticEncoder,\n PhoneticTokenFilter,\n RankingOrder,\n RescoringOptions,\n ResourceCounter,\n ScalarQuantizationCompression,\n ScalarQuantizationParameters,\n ScoringFunction as BaseScoringFunction,\n ScoringFunctionAggregation,\n ScoringFunctionInterpolation,\n SearchIndexerDataContainer,\n SearchIndexerDataIdentity as BaseSearchIndexerDataIdentity,\n SearchIndexerDataNoneIdentity,\n SearchIndexerDataUserAssignedIdentity,\n SearchIndexerError,\n SearchIndexerIndexProjectionSelector,\n SearchIndexerKnowledgeStoreBlobProjectionSelector,\n SearchIndexerKnowledgeStoreFileProjectionSelector,\n SearchIndexerKnowledgeStoreObjectProjectionSelector,\n SearchIndexerKnowledgeStoreProjection,\n SearchIndexerKnowledgeStoreProjectionSelector,\n SearchIndexerKnowledgeStoreTableProjectionSelector,\n SearchIndexerLimits,\n SearchIndexerSkill as BaseSearchIndexerSkill,\n SearchIndexerStatus,\n SearchIndexerWarning,\n SemanticConfiguration,\n SemanticField,\n SemanticPrioritizedFields,\n SemanticSearch,\n SentimentSkillV3,\n ServiceCounters,\n ServiceLimits,\n ShaperSkill,\n ShingleTokenFilter,\n Similarity,\n SnowballTokenFilter,\n SnowballTokenFilterLanguage,\n SoftDeleteColumnDeletionDetectionPolicy,\n SqlIntegratedChangeTrackingPolicy,\n StemmerOverrideTokenFilter,\n StemmerTokenFilter,\n StemmerTokenFilterLanguage,\n StopAnalyzer,\n StopwordsList,\n StopwordsTokenFilter,\n Suggester as SearchSuggester,\n SynonymTokenFilter,\n TagScoringFunction,\n TagScoringParameters,\n TextWeights,\n TokenCharacterKind,\n TokenFilter as BaseTokenFilter,\n TokenFilterName,\n TruncateTokenFilter,\n UaxUrlEmailTokenizer,\n UniqueTokenFilter,\n VectorEncodingFormat,\n VectorSearchCompression as BaseVectorSearchCompression,\n VectorSearchCompressionKind,\n VectorSearchCompressionRescoreStorageMethod,\n VectorSearchCompressionTarget,\n VectorSearchProfile,\n VectorSearchVectorizerKind,\n WordDelimiterTokenFilter,\n} from \"./generated/service/models/index.js\";\nexport { default as GeographyPoint } from \"./geographyPoint.js\";\nexport { IndexDocumentsBatch } from \"./indexDocumentsBatch.js\";\nexport {\n AutocompleteOptions,\n AutocompleteRequest,\n BaseSearchRequestOptions,\n BaseVectorQuery,\n CountDocumentsOptions,\n DeleteDocumentsOptions,\n ExcludedODataTypes,\n ExtractDocumentKey,\n ExtractiveQueryAnswer,\n ExtractiveQueryCaption,\n GetDocumentOptions,\n IndexDocumentsAction,\n IndexDocumentsOptions,\n ListSearchResultsPageSettings,\n MergeDocumentsOptions,\n MergeOrUploadDocumentsOptions,\n NarrowedModel,\n QueryAnswer,\n QueryCaption,\n SearchDocumentsPageResult,\n SearchDocumentsResult,\n SearchDocumentsResultBase,\n SearchFieldArray,\n SearchIndexingBufferedSenderDeleteDocumentsOptions,\n SearchIndexingBufferedSenderFlushDocumentsOptions,\n SearchIndexingBufferedSenderMergeDocumentsOptions,\n SearchIndexingBufferedSenderMergeOrUploadDocumentsOptions,\n SearchIndexingBufferedSenderOptions,\n SearchIndexingBufferedSenderUploadDocumentsOptions,\n SearchIterator,\n SearchOptions,\n SearchPick,\n SearchRequestOptions,\n SearchRequestQueryTypeOptions,\n SearchResult,\n SelectArray,\n SelectFields,\n SemanticErrorMode,\n SemanticErrorReason,\n SemanticSearchOptions,\n SemanticSearchResultsType,\n SuggestDocumentsResult,\n SuggestNarrowedModel,\n SuggestOptions,\n SuggestRequest,\n SuggestResult,\n UnionToIntersection,\n UploadDocumentsOptions,\n VectorFilterMode,\n VectorizableTextQuery,\n VectorizedQuery,\n VectorQuery,\n VectorQueryKind,\n VectorSearchOptions,\n} from \"./indexModels.js\";\nexport { odata } from \"./odata.js\";\nexport { KnownSearchAudience } from \"./searchAudience.js\";\nexport { SearchClient, SearchClientOptions } from \"./searchClient.js\";\nexport { SearchIndexClient, SearchIndexClientOptions } from \"./searchIndexClient.js\";\nexport { SearchIndexerClient, SearchIndexerClientOptions } from \"./searchIndexerClient.js\";\nexport {\n DEFAULT_BATCH_SIZE,\n DEFAULT_FLUSH_WINDOW,\n DEFAULT_RETRY_COUNT,\n IndexDocumentsClient,\n SearchIndexingBufferedSender,\n} from \"./searchIndexingBufferedSender.js\";\nexport {\n AnalyzeRequest,\n AnalyzeTextOptions,\n AzureOpenAIEmbeddingSkill,\n AzureOpenAIParameters,\n AzureOpenAIVectorizer,\n BaseVectorSearchAlgorithmConfiguration,\n BaseVectorSearchVectorizer,\n BlobIndexerDataToExtract,\n BlobIndexerImageAction,\n BlobIndexerParsingMode,\n BlobIndexerPDFTextRotationAlgorithm,\n CharFilter,\n CognitiveServicesAccount,\n ComplexDataType,\n ComplexField,\n CreateDataSourceConnectionOptions,\n CreateIndexerOptions,\n CreateIndexOptions,\n CreateorUpdateDataSourceConnectionOptions,\n CreateorUpdateIndexerOptions,\n CreateOrUpdateIndexOptions,\n CreateOrUpdateSkillsetOptions,\n CreateOrUpdateSynonymMapOptions,\n CreateSkillsetOptions,\n CreateSynonymMapOptions,\n CustomAnalyzer,\n CustomEntityLookupSkill,\n CustomEntityLookupSkillLanguage,\n DataChangeDetectionPolicy,\n DataDeletionDetectionPolicy,\n DeleteDataSourceConnectionOptions,\n DeleteIndexerOptions,\n DeleteIndexOptions,\n DeleteSkillsetOptions,\n DeleteSynonymMapOptions,\n EdgeNGramTokenFilter,\n EntityCategory,\n EntityRecognitionSkill,\n EntityRecognitionSkillLanguage,\n ExhaustiveKnnAlgorithmConfiguration,\n ExhaustiveKnnParameters,\n GetDataSourceConnectionOptions,\n GetIndexerOptions,\n GetIndexerStatusOptions,\n GetIndexOptions,\n GetIndexStatisticsOptions,\n GetServiceStatisticsOptions,\n GetSkillSetOptions,\n GetSynonymMapsOptions,\n HnswAlgorithmConfiguration,\n HnswParameters,\n ImageAnalysisSkill,\n ImageAnalysisSkillLanguage,\n ImageDetail,\n IndexerExecutionEnvironment,\n IndexingParameters,\n IndexingParametersConfiguration,\n IndexIterator,\n IndexNameIterator,\n KeyPhraseExtractionSkill,\n KeyPhraseExtractionSkillLanguage,\n KeywordTokenizer,\n KnownAnalyzerNames,\n LexicalAnalyzer,\n LexicalNormalizer,\n LexicalTokenizer,\n ListDataSourceConnectionsOptions,\n ListIndexersOptions,\n ListIndexesOptions,\n ListSkillsetsOptions,\n ListSynonymMapsOptions,\n LuceneStandardTokenizer,\n NGramTokenFilter,\n OcrSkill,\n OcrSkillLanguage,\n PatternAnalyzer,\n PatternTokenizer,\n PIIDetectionSkill,\n PIIDetectionSkillMaskingMode,\n RegexFlags,\n ResetIndexerOptions,\n RunIndexerOptions,\n ScoringFunction,\n ScoringProfile,\n SearchField,\n SearchFieldDataType,\n SearchIndex,\n SearchIndexer,\n SearchIndexerDataIdentity,\n SearchIndexerDataSourceConnection,\n SearchIndexerDataSourceType,\n SearchIndexerIndexProjection,\n SearchIndexerIndexProjectionParameters,\n SearchIndexerKnowledgeStore,\n SearchIndexerKnowledgeStoreParameters,\n SearchIndexerSkill,\n SearchIndexerSkillset,\n SearchIndexStatistics,\n SearchResourceEncryptionKey,\n SearchServiceStatistics,\n SentimentSkill,\n SentimentSkillLanguage,\n SimilarityAlgorithm,\n SimpleField,\n SplitSkill,\n SplitSkillLanguage,\n SynonymMap,\n TextSplitMode,\n TextTranslationSkill,\n TextTranslationSkillLanguage,\n TokenFilter,\n VectorSearch,\n VectorSearchAlgorithmConfiguration,\n VectorSearchAlgorithmKind,\n VectorSearchAlgorithmMetric,\n VectorSearchCompression,\n VectorSearchVectorizer,\n VisualFeature,\n WebApiParameters,\n WebApiSkill,\n WebApiVectorizer,\n} from \"./serviceModels.js\";\nexport { createSynonymMapFromFile } from \"./synonymMapHelper.js\";\n"]}
@@ -0,0 +1,41 @@
1
+ import { IndexDocumentsAction } from "./indexModels.js";
2
+ /**
3
+ * Class used to perform batch operations
4
+ * with multiple documents to the index.
5
+ */
6
+ export declare class IndexDocumentsBatch<TModel> {
7
+ /**
8
+ * The set of actions taken in this batch.
9
+ */
10
+ readonly actions: IndexDocumentsAction<TModel>[];
11
+ constructor(actions?: IndexDocumentsAction<TModel>[]);
12
+ /**
13
+ * Upload an array of documents to the index.
14
+ * @param documents - The documents to upload.
15
+ */
16
+ upload(documents: TModel[]): void;
17
+ /**
18
+ * Update a set of documents in the index.
19
+ * For more details about how merging works, see https://docs.microsoft.com/en-us/rest/api/searchservice/AddUpdate-or-Delete-Documents
20
+ * @param documents - The updated documents.
21
+ */
22
+ merge(documents: TModel[]): void;
23
+ /**
24
+ * Update a set of documents in the index or uploads them if they don't exist.
25
+ * For more details about how merging works, see https://docs.microsoft.com/en-us/rest/api/searchservice/AddUpdate-or-Delete-Documents
26
+ * @param documents - The new/updated documents.
27
+ */
28
+ mergeOrUpload(documents: TModel[]): void;
29
+ /**
30
+ * Delete a set of documents.
31
+ * @param keyName - The name of their primary key in the index.
32
+ * @param keyValues - The primary key values of documents to delete.
33
+ */
34
+ delete(keyName: keyof TModel, keyValues: string[]): void;
35
+ /**
36
+ * Delete a set of documents.
37
+ * @param documents - Documents to be deleted.
38
+ */
39
+ delete(documents: TModel[]): void;
40
+ }
41
+ //# sourceMappingURL=indexDocumentsBatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexDocumentsBatch.d.ts","sourceRoot":"","sources":["../../src/indexDocumentsBatch.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD;;;GAGG;AACH,qBAAa,mBAAmB,CAAC,MAAM;IACrC;;OAEG;IACH,SAAgB,OAAO,EAAE,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;gBAE5C,OAAO,GAAE,oBAAoB,CAAC,MAAM,CAAC,EAAO;IAIxD;;;OAGG;IACI,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI;IAWxC;;;;OAIG;IACI,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI;IAWvC;;;;OAIG;IACI,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI;IAW/C;;;;OAIG;IACI,MAAM,CAAC,OAAO,EAAE,MAAM,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI;IAE/D;;;OAGG;IACI,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI;CA2BzC"}
@@ -5,6 +5,10 @@
5
5
  * with multiple documents to the index.
6
6
  */
7
7
  export class IndexDocumentsBatch {
8
+ /**
9
+ * The set of actions taken in this batch.
10
+ */
11
+ actions;
8
12
  constructor(actions = []) {
9
13
  this.actions = actions;
10
14
  }
@@ -14,7 +18,10 @@ export class IndexDocumentsBatch {
14
18
  */
15
19
  upload(documents) {
16
20
  const batch = documents.map((doc) => {
17
- return Object.assign(Object.assign({}, doc), { __actionType: "upload" });
21
+ return {
22
+ ...doc,
23
+ __actionType: "upload",
24
+ };
18
25
  });
19
26
  this.actions.push(...batch);
20
27
  }
@@ -25,7 +32,10 @@ export class IndexDocumentsBatch {
25
32
  */
26
33
  merge(documents) {
27
34
  const batch = documents.map((doc) => {
28
- return Object.assign(Object.assign({}, doc), { __actionType: "merge" });
35
+ return {
36
+ ...doc,
37
+ __actionType: "merge",
38
+ };
29
39
  });
30
40
  this.actions.push(...batch);
31
41
  }
@@ -36,7 +46,10 @@ export class IndexDocumentsBatch {
36
46
  */
37
47
  mergeOrUpload(documents) {
38
48
  const batch = documents.map((doc) => {
39
- return Object.assign(Object.assign({}, doc), { __actionType: "mergeOrUpload" });
49
+ return {
50
+ ...doc,
51
+ __actionType: "mergeOrUpload",
52
+ };
40
53
  });
41
54
  this.actions.push(...batch);
42
55
  }
@@ -54,7 +67,10 @@ export class IndexDocumentsBatch {
54
67
  else {
55
68
  const documents = keyNameOrDocuments;
56
69
  const batch = documents.map((document) => {
57
- return Object.assign({ __actionType: "delete" }, document);
70
+ return {
71
+ __actionType: "delete",
72
+ ...document,
73
+ };
58
74
  });
59
75
  this.actions.push(...batch);
60
76
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexDocumentsBatch.js","s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CAA+B,CAAC,QAAQ,EAAE,EAAE;gBACrE,OAAO;oBACL,YAAY,EAAE,QAAQ;oBACtB,CAAC,OAAO,CAAC,EAAE,QAAQ;iBACY,CAAC;YACpC,CAAC,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,MAAM,SAAS,GAAG,kBAA8B,CAAC;YAEjD,MAAM,KAAK,GAAG,SAAS,CAAC,GAAG,CAA+B,CAAC,QAAQ,EAAE,EAAE;gBACrE,OAAO;oBACL,YAAY,EAAE,QAAQ;oBACtB,GAAG,QAAQ;iBACoB,CAAC;YACpC,CAAC,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IndexDocumentsAction } from \"./indexModels.js\";\n\n/**\n * Class used to perform batch operations\n * with multiple documents to the index.\n */\nexport class IndexDocumentsBatch<TModel> {\n /**\n * The set of actions taken in this batch.\n */\n public readonly actions: IndexDocumentsAction<TModel>[];\n\n constructor(actions: IndexDocumentsAction<TModel>[] = []) {\n this.actions = actions;\n }\n\n /**\n * Upload an array of documents to the index.\n * @param documents - The documents to upload.\n */\n public upload(documents: TModel[]): void {\n const batch = documents.map<IndexDocumentsAction<TModel>>((doc) => {\n return {\n ...doc,\n __actionType: \"upload\",\n };\n });\n\n this.actions.push(...batch);\n }\n\n /**\n * Update a set of documents in the index.\n * For more details about how merging works, see https://docs.microsoft.com/en-us/rest/api/searchservice/AddUpdate-or-Delete-Documents\n * @param documents - The updated documents.\n */\n public merge(documents: TModel[]): void {\n const batch = documents.map<IndexDocumentsAction<TModel>>((doc) => {\n return {\n ...doc,\n __actionType: \"merge\",\n };\n });\n\n this.actions.push(...batch);\n }\n\n /**\n * Update a set of documents in the index or uploads them if they don't exist.\n * For more details about how merging works, see https://docs.microsoft.com/en-us/rest/api/searchservice/AddUpdate-or-Delete-Documents\n * @param documents - The new/updated documents.\n */\n public mergeOrUpload(documents: TModel[]): void {\n const batch = documents.map<IndexDocumentsAction<TModel>>((doc) => {\n return {\n ...doc,\n __actionType: \"mergeOrUpload\",\n };\n });\n\n this.actions.push(...batch);\n }\n\n /**\n * Delete a set of documents.\n * @param keyName - The name of their primary key in the index.\n * @param keyValues - The primary key values of documents to delete.\n */\n public delete(keyName: keyof TModel, keyValues: string[]): void;\n\n /**\n * Delete a set of documents.\n * @param documents - Documents to be deleted.\n */\n public delete(documents: TModel[]): void;\n\n public delete(keyNameOrDocuments: keyof TModel | TModel[], keyValues?: string[]): void {\n if (keyValues) {\n const keyName = keyNameOrDocuments as keyof TModel;\n\n const batch = keyValues.map<IndexDocumentsAction<TModel>>((keyValue) => {\n return {\n __actionType: \"delete\",\n [keyName]: keyValue,\n } as IndexDocumentsAction<TModel>;\n });\n\n this.actions.push(...batch);\n } else {\n const documents = keyNameOrDocuments as TModel[];\n\n const batch = documents.map<IndexDocumentsAction<TModel>>((document) => {\n return {\n __actionType: \"delete\",\n ...document,\n } as IndexDocumentsAction<TModel>;\n });\n\n this.actions.push(...batch);\n }\n }\n}\n"]}