@azure/synapse-artifacts 1.0.0-beta.15 → 1.0.0-beta.17

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 (996) hide show
  1. package/LICENSE +4 -4
  2. package/README.md +9 -13
  3. package/dist/browser/artifactsClient.d.ts +40 -0
  4. package/dist/browser/artifactsClient.d.ts.map +1 -0
  5. package/{dist-esm/src → dist/browser}/artifactsClient.js +37 -9
  6. package/dist/browser/artifactsClient.js.map +1 -0
  7. package/dist/browser/index.d.ts +5 -0
  8. package/dist/browser/index.d.ts.map +1 -0
  9. package/{dist-esm/src → dist/browser}/index.js +4 -4
  10. package/dist/browser/index.js.map +1 -0
  11. package/dist/browser/lroImpl.d.ts +11 -0
  12. package/dist/browser/lroImpl.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/lroImpl.js +7 -3
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/{types/synapse-artifacts.d.ts → dist/browser/models/index.d.ts} +13692 -15069
  16. package/dist/browser/models/index.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/index.js +124 -0
  18. package/dist/browser/models/index.js.map +1 -0
  19. package/dist/browser/models/mappers.d.ts +1310 -0
  20. package/dist/browser/models/mappers.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/models/mappers.js +10306 -5084
  22. package/dist/browser/models/mappers.js.map +1 -0
  23. package/dist/browser/models/parameters.d.ts +70 -0
  24. package/dist/browser/models/parameters.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  26. package/dist/browser/models/parameters.js.map +1 -0
  27. package/dist/browser/operations/bigDataPools.d.ts +24 -0
  28. package/dist/browser/operations/bigDataPools.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/bigDataPools.js +6 -5
  30. package/dist/browser/operations/bigDataPools.js.map +1 -0
  31. package/dist/browser/operations/dataFlowDebugSession.d.ts +70 -0
  32. package/dist/browser/operations/dataFlowDebugSession.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/dataFlowDebugSession.js +57 -64
  34. package/dist/browser/operations/dataFlowDebugSession.js.map +1 -0
  35. package/dist/browser/operations/dataFlowOperations.d.ts +80 -0
  36. package/dist/browser/operations/dataFlowOperations.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/dataFlowOperations.js +69 -75
  38. package/dist/browser/operations/dataFlowOperations.js.map +1 -0
  39. package/dist/browser/operations/datasetOperations.d.ts +79 -0
  40. package/dist/browser/operations/datasetOperations.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/datasetOperations.js +69 -75
  42. package/dist/browser/operations/datasetOperations.js.map +1 -0
  43. package/dist/browser/operations/index.d.ts +25 -0
  44. package/dist/browser/operations/index.d.ts.map +1 -0
  45. package/dist/browser/operations/index.js +32 -0
  46. package/dist/browser/operations/index.js.map +1 -0
  47. package/dist/browser/operations/integrationRuntimes.d.ts +24 -0
  48. package/dist/browser/operations/integrationRuntimes.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/integrationRuntimes.js +6 -5
  50. package/dist/browser/operations/integrationRuntimes.js.map +1 -0
  51. package/dist/browser/operations/kqlScriptOperations.d.ts +60 -0
  52. package/dist/browser/operations/kqlScriptOperations.d.ts.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operations/kqlScriptOperations.js +43 -27
  54. package/dist/browser/operations/kqlScriptOperations.js.map +1 -0
  55. package/dist/browser/operations/kqlScripts.d.ts +32 -0
  56. package/dist/browser/operations/kqlScripts.d.ts.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operations/kqlScripts.js +29 -46
  58. package/dist/browser/operations/kqlScripts.js.map +1 -0
  59. package/dist/browser/operations/library.d.ts +98 -0
  60. package/dist/browser/operations/library.d.ts.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operations/library.js +70 -72
  62. package/dist/browser/operations/library.js.map +1 -0
  63. package/dist/browser/operations/linkConnectionOperations.d.ts +112 -0
  64. package/dist/browser/operations/linkConnectionOperations.d.ts.map +1 -0
  65. package/{dist-esm/src → dist/browser}/operations/linkConnectionOperations.js +41 -58
  66. package/dist/browser/operations/linkConnectionOperations.js.map +1 -0
  67. package/dist/browser/operations/linkedServiceOperations.d.ts +80 -0
  68. package/dist/browser/operations/linkedServiceOperations.d.ts.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operations/linkedServiceOperations.js +69 -75
  70. package/dist/browser/operations/linkedServiceOperations.js.map +1 -0
  71. package/dist/browser/operations/metastore.d.ts +40 -0
  72. package/dist/browser/operations/metastore.d.ts.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operations/metastore.js +8 -7
  74. package/dist/browser/operations/metastore.js.map +1 -0
  75. package/dist/browser/operations/notebookOperationResult.d.ts +19 -0
  76. package/dist/browser/operations/notebookOperationResult.d.ts.map +1 -0
  77. package/{dist-esm/src → dist/browser}/operations/notebookOperationResult.js +5 -4
  78. package/dist/browser/operations/notebookOperationResult.js.map +1 -0
  79. package/dist/browser/operations/notebookOperations.d.ts +99 -0
  80. package/dist/browser/operations/notebookOperations.d.ts.map +1 -0
  81. package/{dist-esm/src → dist/browser}/operations/notebookOperations.js +93 -116
  82. package/dist/browser/operations/notebookOperations.js.map +1 -0
  83. package/dist/browser/operations/pipelineOperations.d.ts +86 -0
  84. package/dist/browser/operations/pipelineOperations.d.ts.map +1 -0
  85. package/{dist-esm/src → dist/browser}/operations/pipelineOperations.js +70 -76
  86. package/dist/browser/operations/pipelineOperations.js.map +1 -0
  87. package/dist/browser/operations/pipelineRunOperations.d.ts +39 -0
  88. package/dist/browser/operations/pipelineRunOperations.d.ts.map +1 -0
  89. package/{dist-esm/src → dist/browser}/operations/pipelineRunOperations.js +9 -12
  90. package/dist/browser/operations/pipelineRunOperations.js.map +1 -0
  91. package/dist/browser/operations/runNotebook.d.ts +51 -0
  92. package/dist/browser/operations/runNotebook.d.ts.map +1 -0
  93. package/{dist-esm/src → dist/browser}/operations/runNotebook.js +31 -20
  94. package/dist/browser/operations/runNotebook.js.map +1 -0
  95. package/dist/browser/operations/sparkConfigurationOperations.d.ts +80 -0
  96. package/dist/browser/operations/sparkConfigurationOperations.d.ts.map +1 -0
  97. package/{dist-esm/src → dist/browser}/operations/sparkConfigurationOperations.js +69 -75
  98. package/dist/browser/operations/sparkConfigurationOperations.js.map +1 -0
  99. package/dist/browser/operations/sparkJobDefinitionOperations.d.ts +104 -0
  100. package/dist/browser/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
  101. package/{dist-esm/src → dist/browser}/operations/sparkJobDefinitionOperations.js +93 -89
  102. package/dist/browser/operations/sparkJobDefinitionOperations.js.map +1 -0
  103. package/dist/browser/operations/sqlPools.d.ts +24 -0
  104. package/dist/browser/operations/sqlPools.d.ts.map +1 -0
  105. package/{dist-esm/src → dist/browser}/operations/sqlPools.js +6 -5
  106. package/dist/browser/operations/sqlPools.js.map +1 -0
  107. package/dist/browser/operations/sqlScriptOperations.d.ts +80 -0
  108. package/dist/browser/operations/sqlScriptOperations.d.ts.map +1 -0
  109. package/{dist-esm/src → dist/browser}/operations/sqlScriptOperations.js +69 -75
  110. package/dist/browser/operations/sqlScriptOperations.js.map +1 -0
  111. package/dist/browser/operations/triggerOperations.d.ts +119 -0
  112. package/dist/browser/operations/triggerOperations.d.ts.map +1 -0
  113. package/{dist-esm/src → dist/browser}/operations/triggerOperations.js +106 -97
  114. package/dist/browser/operations/triggerOperations.js.map +1 -0
  115. package/dist/browser/operations/triggerRunOperations.d.ts +33 -0
  116. package/dist/browser/operations/triggerRunOperations.d.ts.map +1 -0
  117. package/{dist-esm/src → dist/browser}/operations/triggerRunOperations.js +9 -16
  118. package/dist/browser/operations/triggerRunOperations.js.map +1 -0
  119. package/dist/browser/operations/workspaceGitRepoManagement.d.ts +19 -0
  120. package/dist/browser/operations/workspaceGitRepoManagement.d.ts.map +1 -0
  121. package/{dist-esm/src → dist/browser}/operations/workspaceGitRepoManagement.js +6 -9
  122. package/dist/browser/operations/workspaceGitRepoManagement.js.map +1 -0
  123. package/dist/browser/operations/workspaceOperations.d.ts +18 -0
  124. package/dist/browser/operations/workspaceOperations.d.ts.map +1 -0
  125. package/{dist-esm/src → dist/browser}/operations/workspaceOperations.js +5 -4
  126. package/dist/browser/operations/workspaceOperations.js.map +1 -0
  127. package/dist/browser/operationsInterfaces/bigDataPools.d.ts +16 -0
  128. package/dist/browser/operationsInterfaces/bigDataPools.d.ts.map +1 -0
  129. package/dist/browser/operationsInterfaces/bigDataPools.js.map +1 -0
  130. package/dist/browser/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
  131. package/dist/browser/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
  132. package/dist/browser/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
  133. package/dist/browser/operationsInterfaces/dataFlowOperations.d.ts +58 -0
  134. package/dist/browser/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
  135. package/dist/browser/operationsInterfaces/dataFlowOperations.js.map +1 -0
  136. package/dist/browser/operationsInterfaces/datasetOperations.d.ts +58 -0
  137. package/dist/browser/operationsInterfaces/datasetOperations.d.ts.map +1 -0
  138. package/dist/browser/operationsInterfaces/datasetOperations.js.map +1 -0
  139. package/dist/browser/operationsInterfaces/index.d.ts +25 -0
  140. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  141. package/dist/browser/operationsInterfaces/index.js +32 -0
  142. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  143. package/dist/browser/operationsInterfaces/integrationRuntimes.d.ts +16 -0
  144. package/dist/browser/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
  145. package/dist/browser/operationsInterfaces/integrationRuntimes.js.map +1 -0
  146. package/dist/browser/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
  147. package/dist/browser/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
  148. package/dist/browser/operationsInterfaces/kqlScriptOperations.js.map +1 -0
  149. package/dist/browser/operationsInterfaces/kqlScripts.d.ts +11 -0
  150. package/dist/browser/operationsInterfaces/kqlScripts.d.ts.map +1 -0
  151. package/dist/browser/operationsInterfaces/kqlScripts.js.map +1 -0
  152. package/dist/browser/operationsInterfaces/library.d.ts +77 -0
  153. package/dist/browser/operationsInterfaces/library.d.ts.map +1 -0
  154. package/dist/browser/operationsInterfaces/library.js.map +1 -0
  155. package/dist/browser/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
  156. package/dist/browser/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
  157. package/dist/browser/operationsInterfaces/linkConnectionOperations.js.map +1 -0
  158. package/dist/browser/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
  159. package/dist/browser/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
  160. package/dist/browser/operationsInterfaces/linkedServiceOperations.js.map +1 -0
  161. package/dist/browser/operationsInterfaces/metastore.d.ts +32 -0
  162. package/dist/browser/operationsInterfaces/metastore.d.ts.map +1 -0
  163. package/dist/browser/operationsInterfaces/metastore.js.map +1 -0
  164. package/dist/browser/operationsInterfaces/notebookOperationResult.d.ts +11 -0
  165. package/dist/browser/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
  166. package/dist/browser/operationsInterfaces/notebookOperationResult.js.map +1 -0
  167. package/dist/browser/operationsInterfaces/notebookOperations.d.ts +63 -0
  168. package/dist/browser/operationsInterfaces/notebookOperations.d.ts.map +1 -0
  169. package/dist/browser/operationsInterfaces/notebookOperations.js.map +1 -0
  170. package/dist/browser/operationsInterfaces/pipelineOperations.d.ts +64 -0
  171. package/dist/browser/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
  172. package/dist/browser/operationsInterfaces/pipelineOperations.js.map +1 -0
  173. package/dist/browser/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
  174. package/dist/browser/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
  175. package/dist/browser/operationsInterfaces/pipelineRunOperations.js.map +1 -0
  176. package/dist/browser/operationsInterfaces/runNotebook.d.ts +43 -0
  177. package/dist/browser/operationsInterfaces/runNotebook.d.ts.map +1 -0
  178. package/dist/browser/operationsInterfaces/runNotebook.js.map +1 -0
  179. package/dist/browser/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
  180. package/dist/browser/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
  181. package/dist/browser/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
  182. package/dist/browser/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
  183. package/dist/browser/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
  184. package/dist/browser/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
  185. package/dist/browser/operationsInterfaces/sqlPools.d.ts +16 -0
  186. package/dist/browser/operationsInterfaces/sqlPools.d.ts.map +1 -0
  187. package/dist/browser/operationsInterfaces/sqlPools.js.map +1 -0
  188. package/dist/browser/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
  189. package/dist/browser/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
  190. package/dist/browser/operationsInterfaces/sqlScriptOperations.js.map +1 -0
  191. package/dist/browser/operationsInterfaces/triggerOperations.d.ts +98 -0
  192. package/dist/browser/operationsInterfaces/triggerOperations.d.ts.map +1 -0
  193. package/dist/browser/operationsInterfaces/triggerOperations.js.map +1 -0
  194. package/dist/browser/operationsInterfaces/triggerRunOperations.d.ts +25 -0
  195. package/dist/browser/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
  196. package/dist/browser/operationsInterfaces/triggerRunOperations.js.map +1 -0
  197. package/dist/browser/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
  198. package/dist/browser/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
  199. package/dist/browser/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
  200. package/dist/browser/operationsInterfaces/workspaceOperations.d.ts +10 -0
  201. package/dist/browser/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
  202. package/dist/browser/operationsInterfaces/workspaceOperations.js.map +1 -0
  203. package/dist/browser/package.json +3 -0
  204. package/dist/browser/pagingHelper.d.ts +13 -0
  205. package/dist/browser/pagingHelper.d.ts.map +1 -0
  206. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  207. package/dist/browser/pagingHelper.js.map +1 -0
  208. package/dist/browser/tracing.d.ts +2 -0
  209. package/dist/browser/tracing.d.ts.map +1 -0
  210. package/{dist-esm/src → dist/browser}/tracing.js +1 -1
  211. package/{dist-esm/src → dist/browser}/tracing.js.map +1 -1
  212. package/dist/commonjs/artifactsClient.d.ts +40 -0
  213. package/dist/commonjs/artifactsClient.d.ts.map +1 -0
  214. package/dist/commonjs/artifactsClient.js +128 -0
  215. package/dist/commonjs/artifactsClient.js.map +1 -0
  216. package/dist/commonjs/index.d.ts +5 -0
  217. package/dist/commonjs/index.d.ts.map +1 -0
  218. package/dist/commonjs/index.js +19 -0
  219. package/dist/commonjs/index.js.map +1 -0
  220. package/dist/commonjs/lroImpl.d.ts +11 -0
  221. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  222. package/dist/commonjs/lroImpl.js +28 -0
  223. package/dist/commonjs/lroImpl.js.map +1 -0
  224. package/dist/commonjs/models/index.d.ts +13692 -0
  225. package/dist/commonjs/models/index.d.ts.map +1 -0
  226. package/dist/commonjs/models/index.js +1443 -0
  227. package/dist/commonjs/models/index.js.map +1 -0
  228. package/dist/commonjs/models/mappers.d.ts +1310 -0
  229. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  230. package/dist/commonjs/models/mappers.js +30754 -0
  231. package/dist/commonjs/models/mappers.js.map +1 -0
  232. package/dist/commonjs/models/parameters.d.ts +70 -0
  233. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  234. package/dist/commonjs/models/parameters.js +573 -0
  235. package/dist/commonjs/models/parameters.js.map +1 -0
  236. package/dist/commonjs/operations/bigDataPools.d.ts +24 -0
  237. package/dist/commonjs/operations/bigDataPools.d.ts.map +1 -0
  238. package/dist/commonjs/operations/bigDataPools.js +81 -0
  239. package/dist/commonjs/operations/bigDataPools.js.map +1 -0
  240. package/dist/commonjs/operations/dataFlowDebugSession.d.ts +70 -0
  241. package/dist/commonjs/operations/dataFlowDebugSession.d.ts.map +1 -0
  242. package/dist/commonjs/operations/dataFlowDebugSession.js +349 -0
  243. package/dist/commonjs/operations/dataFlowDebugSession.js.map +1 -0
  244. package/dist/commonjs/operations/dataFlowOperations.d.ts +80 -0
  245. package/dist/commonjs/operations/dataFlowOperations.d.ts.map +1 -0
  246. package/dist/commonjs/operations/dataFlowOperations.js +390 -0
  247. package/dist/commonjs/operations/dataFlowOperations.js.map +1 -0
  248. package/dist/commonjs/operations/datasetOperations.d.ts +79 -0
  249. package/dist/commonjs/operations/datasetOperations.d.ts.map +1 -0
  250. package/dist/commonjs/operations/datasetOperations.js +390 -0
  251. package/dist/commonjs/operations/datasetOperations.js.map +1 -0
  252. package/dist/commonjs/operations/index.d.ts +25 -0
  253. package/dist/commonjs/operations/index.d.ts.map +1 -0
  254. package/dist/commonjs/operations/index.js +35 -0
  255. package/dist/commonjs/operations/index.js.map +1 -0
  256. package/dist/commonjs/operations/integrationRuntimes.d.ts +24 -0
  257. package/dist/commonjs/operations/integrationRuntimes.d.ts.map +1 -0
  258. package/dist/commonjs/operations/integrationRuntimes.js +81 -0
  259. package/dist/commonjs/operations/integrationRuntimes.js.map +1 -0
  260. package/dist/commonjs/operations/kqlScriptOperations.d.ts +60 -0
  261. package/dist/commonjs/operations/kqlScriptOperations.d.ts.map +1 -0
  262. package/dist/commonjs/operations/kqlScriptOperations.js +293 -0
  263. package/dist/commonjs/operations/kqlScriptOperations.js.map +1 -0
  264. package/dist/commonjs/operations/kqlScripts.d.ts +32 -0
  265. package/dist/commonjs/operations/kqlScripts.d.ts.map +1 -0
  266. package/dist/commonjs/operations/kqlScripts.js +126 -0
  267. package/dist/commonjs/operations/kqlScripts.js.map +1 -0
  268. package/dist/commonjs/operations/library.d.ts +98 -0
  269. package/dist/commonjs/operations/library.d.ts.map +1 -0
  270. package/dist/commonjs/operations/library.js +443 -0
  271. package/dist/commonjs/operations/library.js.map +1 -0
  272. package/dist/commonjs/operations/linkConnectionOperations.d.ts +112 -0
  273. package/dist/commonjs/operations/linkConnectionOperations.d.ts.map +1 -0
  274. package/dist/commonjs/operations/linkConnectionOperations.js +441 -0
  275. package/dist/commonjs/operations/linkConnectionOperations.js.map +1 -0
  276. package/dist/commonjs/operations/linkedServiceOperations.d.ts +80 -0
  277. package/dist/commonjs/operations/linkedServiceOperations.d.ts.map +1 -0
  278. package/dist/commonjs/operations/linkedServiceOperations.js +391 -0
  279. package/dist/commonjs/operations/linkedServiceOperations.js.map +1 -0
  280. package/dist/commonjs/operations/metastore.d.ts +40 -0
  281. package/dist/commonjs/operations/metastore.d.ts.map +1 -0
  282. package/dist/commonjs/operations/metastore.js +139 -0
  283. package/dist/commonjs/operations/metastore.js.map +1 -0
  284. package/dist/commonjs/operations/notebookOperationResult.d.ts +19 -0
  285. package/dist/commonjs/operations/notebookOperationResult.d.ts.map +1 -0
  286. package/dist/commonjs/operations/notebookOperationResult.js +57 -0
  287. package/dist/commonjs/operations/notebookOperationResult.js.map +1 -0
  288. package/dist/commonjs/operations/notebookOperations.d.ts +99 -0
  289. package/dist/commonjs/operations/notebookOperations.d.ts.map +1 -0
  290. package/dist/commonjs/operations/notebookOperations.js +486 -0
  291. package/dist/commonjs/operations/notebookOperations.js.map +1 -0
  292. package/dist/commonjs/operations/pipelineOperations.d.ts +86 -0
  293. package/dist/commonjs/operations/pipelineOperations.d.ts.map +1 -0
  294. package/dist/commonjs/operations/pipelineOperations.js +424 -0
  295. package/dist/commonjs/operations/pipelineOperations.js.map +1 -0
  296. package/dist/commonjs/operations/pipelineRunOperations.d.ts +39 -0
  297. package/dist/commonjs/operations/pipelineRunOperations.d.ts.map +1 -0
  298. package/dist/commonjs/operations/pipelineRunOperations.js +138 -0
  299. package/dist/commonjs/operations/pipelineRunOperations.js.map +1 -0
  300. package/dist/commonjs/operations/runNotebook.d.ts +51 -0
  301. package/dist/commonjs/operations/runNotebook.d.ts.map +1 -0
  302. package/dist/commonjs/operations/runNotebook.js +208 -0
  303. package/dist/commonjs/operations/runNotebook.js.map +1 -0
  304. package/dist/commonjs/operations/sparkConfigurationOperations.d.ts +80 -0
  305. package/dist/commonjs/operations/sparkConfigurationOperations.d.ts.map +1 -0
  306. package/dist/commonjs/operations/sparkConfigurationOperations.js +391 -0
  307. package/dist/commonjs/operations/sparkConfigurationOperations.js.map +1 -0
  308. package/dist/commonjs/operations/sparkJobDefinitionOperations.d.ts +104 -0
  309. package/dist/commonjs/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
  310. package/dist/commonjs/operations/sparkJobDefinitionOperations.js +557 -0
  311. package/dist/commonjs/operations/sparkJobDefinitionOperations.js.map +1 -0
  312. package/dist/commonjs/operations/sqlPools.d.ts +24 -0
  313. package/dist/commonjs/operations/sqlPools.d.ts.map +1 -0
  314. package/dist/commonjs/operations/sqlPools.js +81 -0
  315. package/dist/commonjs/operations/sqlPools.js.map +1 -0
  316. package/dist/commonjs/operations/sqlScriptOperations.d.ts +80 -0
  317. package/dist/commonjs/operations/sqlScriptOperations.d.ts.map +1 -0
  318. package/dist/commonjs/operations/sqlScriptOperations.js +391 -0
  319. package/dist/commonjs/operations/sqlScriptOperations.js.map +1 -0
  320. package/dist/commonjs/operations/triggerOperations.d.ts +119 -0
  321. package/dist/commonjs/operations/triggerOperations.d.ts.map +1 -0
  322. package/dist/commonjs/operations/triggerOperations.js +647 -0
  323. package/dist/commonjs/operations/triggerOperations.js.map +1 -0
  324. package/dist/commonjs/operations/triggerRunOperations.d.ts +33 -0
  325. package/dist/commonjs/operations/triggerRunOperations.d.ts.map +1 -0
  326. package/dist/commonjs/operations/triggerRunOperations.js +108 -0
  327. package/dist/commonjs/operations/triggerRunOperations.js.map +1 -0
  328. package/dist/commonjs/operations/workspaceGitRepoManagement.d.ts +19 -0
  329. package/dist/commonjs/operations/workspaceGitRepoManagement.d.ts.map +1 -0
  330. package/dist/commonjs/operations/workspaceGitRepoManagement.js +55 -0
  331. package/dist/commonjs/operations/workspaceGitRepoManagement.js.map +1 -0
  332. package/dist/commonjs/operations/workspaceOperations.d.ts +18 -0
  333. package/dist/commonjs/operations/workspaceOperations.d.ts.map +1 -0
  334. package/dist/commonjs/operations/workspaceOperations.js +55 -0
  335. package/dist/commonjs/operations/workspaceOperations.js.map +1 -0
  336. package/dist/commonjs/operationsInterfaces/bigDataPools.d.ts +16 -0
  337. package/dist/commonjs/operationsInterfaces/bigDataPools.d.ts.map +1 -0
  338. package/dist/commonjs/operationsInterfaces/bigDataPools.js +10 -0
  339. package/dist/commonjs/operationsInterfaces/bigDataPools.js.map +1 -0
  340. package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
  341. package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
  342. package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.js +10 -0
  343. package/dist/commonjs/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
  344. package/dist/commonjs/operationsInterfaces/dataFlowOperations.d.ts +58 -0
  345. package/dist/commonjs/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
  346. package/dist/commonjs/operationsInterfaces/dataFlowOperations.js +10 -0
  347. package/dist/commonjs/operationsInterfaces/dataFlowOperations.js.map +1 -0
  348. package/dist/commonjs/operationsInterfaces/datasetOperations.d.ts +58 -0
  349. package/dist/commonjs/operationsInterfaces/datasetOperations.d.ts.map +1 -0
  350. package/dist/commonjs/operationsInterfaces/datasetOperations.js +10 -0
  351. package/dist/commonjs/operationsInterfaces/datasetOperations.js.map +1 -0
  352. package/dist/commonjs/operationsInterfaces/index.d.ts +25 -0
  353. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  354. package/dist/commonjs/operationsInterfaces/index.js +35 -0
  355. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  356. package/dist/commonjs/operationsInterfaces/integrationRuntimes.d.ts +16 -0
  357. package/dist/commonjs/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
  358. package/dist/commonjs/operationsInterfaces/integrationRuntimes.js +10 -0
  359. package/dist/commonjs/operationsInterfaces/integrationRuntimes.js.map +1 -0
  360. package/dist/commonjs/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
  361. package/dist/commonjs/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
  362. package/dist/commonjs/operationsInterfaces/kqlScriptOperations.js +10 -0
  363. package/dist/commonjs/operationsInterfaces/kqlScriptOperations.js.map +1 -0
  364. package/dist/commonjs/operationsInterfaces/kqlScripts.d.ts +11 -0
  365. package/dist/commonjs/operationsInterfaces/kqlScripts.d.ts.map +1 -0
  366. package/dist/commonjs/operationsInterfaces/kqlScripts.js +10 -0
  367. package/dist/commonjs/operationsInterfaces/kqlScripts.js.map +1 -0
  368. package/dist/commonjs/operationsInterfaces/library.d.ts +77 -0
  369. package/dist/commonjs/operationsInterfaces/library.d.ts.map +1 -0
  370. package/dist/commonjs/operationsInterfaces/library.js +10 -0
  371. package/dist/commonjs/operationsInterfaces/library.js.map +1 -0
  372. package/dist/commonjs/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
  373. package/dist/commonjs/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
  374. package/dist/commonjs/operationsInterfaces/linkConnectionOperations.js +10 -0
  375. package/dist/commonjs/operationsInterfaces/linkConnectionOperations.js.map +1 -0
  376. package/dist/commonjs/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
  377. package/dist/commonjs/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
  378. package/dist/commonjs/operationsInterfaces/linkedServiceOperations.js +10 -0
  379. package/dist/commonjs/operationsInterfaces/linkedServiceOperations.js.map +1 -0
  380. package/dist/commonjs/operationsInterfaces/metastore.d.ts +32 -0
  381. package/dist/commonjs/operationsInterfaces/metastore.d.ts.map +1 -0
  382. package/dist/commonjs/operationsInterfaces/metastore.js +10 -0
  383. package/dist/commonjs/operationsInterfaces/metastore.js.map +1 -0
  384. package/dist/commonjs/operationsInterfaces/notebookOperationResult.d.ts +11 -0
  385. package/dist/commonjs/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
  386. package/dist/commonjs/operationsInterfaces/notebookOperationResult.js +10 -0
  387. package/dist/commonjs/operationsInterfaces/notebookOperationResult.js.map +1 -0
  388. package/dist/commonjs/operationsInterfaces/notebookOperations.d.ts +63 -0
  389. package/dist/commonjs/operationsInterfaces/notebookOperations.d.ts.map +1 -0
  390. package/dist/commonjs/operationsInterfaces/notebookOperations.js +10 -0
  391. package/dist/commonjs/operationsInterfaces/notebookOperations.js.map +1 -0
  392. package/dist/commonjs/operationsInterfaces/pipelineOperations.d.ts +64 -0
  393. package/dist/commonjs/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
  394. package/dist/commonjs/operationsInterfaces/pipelineOperations.js +10 -0
  395. package/dist/commonjs/operationsInterfaces/pipelineOperations.js.map +1 -0
  396. package/dist/commonjs/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
  397. package/dist/commonjs/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
  398. package/dist/commonjs/operationsInterfaces/pipelineRunOperations.js +10 -0
  399. package/dist/commonjs/operationsInterfaces/pipelineRunOperations.js.map +1 -0
  400. package/dist/commonjs/operationsInterfaces/runNotebook.d.ts +43 -0
  401. package/dist/commonjs/operationsInterfaces/runNotebook.d.ts.map +1 -0
  402. package/dist/commonjs/operationsInterfaces/runNotebook.js +10 -0
  403. package/dist/commonjs/operationsInterfaces/runNotebook.js.map +1 -0
  404. package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
  405. package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
  406. package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.js +10 -0
  407. package/dist/commonjs/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
  408. package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
  409. package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
  410. package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.js +10 -0
  411. package/dist/commonjs/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
  412. package/dist/commonjs/operationsInterfaces/sqlPools.d.ts +16 -0
  413. package/dist/commonjs/operationsInterfaces/sqlPools.d.ts.map +1 -0
  414. package/dist/commonjs/operationsInterfaces/sqlPools.js +10 -0
  415. package/dist/commonjs/operationsInterfaces/sqlPools.js.map +1 -0
  416. package/dist/commonjs/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
  417. package/dist/commonjs/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
  418. package/dist/commonjs/operationsInterfaces/sqlScriptOperations.js +10 -0
  419. package/dist/commonjs/operationsInterfaces/sqlScriptOperations.js.map +1 -0
  420. package/dist/commonjs/operationsInterfaces/triggerOperations.d.ts +98 -0
  421. package/dist/commonjs/operationsInterfaces/triggerOperations.d.ts.map +1 -0
  422. package/dist/commonjs/operationsInterfaces/triggerOperations.js +10 -0
  423. package/dist/commonjs/operationsInterfaces/triggerOperations.js.map +1 -0
  424. package/dist/commonjs/operationsInterfaces/triggerRunOperations.d.ts +25 -0
  425. package/dist/commonjs/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
  426. package/dist/commonjs/operationsInterfaces/triggerRunOperations.js +10 -0
  427. package/dist/commonjs/operationsInterfaces/triggerRunOperations.js.map +1 -0
  428. package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
  429. package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
  430. package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.js +10 -0
  431. package/dist/commonjs/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
  432. package/dist/commonjs/operationsInterfaces/workspaceOperations.d.ts +10 -0
  433. package/dist/commonjs/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
  434. package/dist/commonjs/operationsInterfaces/workspaceOperations.js +10 -0
  435. package/dist/commonjs/operationsInterfaces/workspaceOperations.js.map +1 -0
  436. package/dist/commonjs/package.json +3 -0
  437. package/dist/commonjs/pagingHelper.d.ts +13 -0
  438. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  439. package/dist/commonjs/pagingHelper.js +34 -0
  440. package/dist/commonjs/pagingHelper.js.map +1 -0
  441. package/dist/commonjs/tracing.d.ts +2 -0
  442. package/dist/commonjs/tracing.d.ts.map +1 -0
  443. package/dist/commonjs/tracing.js +17 -0
  444. package/dist/commonjs/tracing.js.map +1 -0
  445. package/dist/commonjs/tsdoc-metadata.json +11 -0
  446. package/dist/esm/artifactsClient.d.ts +40 -0
  447. package/dist/esm/artifactsClient.d.ts.map +1 -0
  448. package/dist/esm/artifactsClient.js +123 -0
  449. package/dist/esm/artifactsClient.js.map +1 -0
  450. package/dist/esm/index.d.ts +5 -0
  451. package/dist/esm/index.d.ts.map +1 -0
  452. package/dist/esm/index.js +13 -0
  453. package/dist/esm/index.js.map +1 -0
  454. package/dist/esm/lroImpl.d.ts +11 -0
  455. package/dist/esm/lroImpl.d.ts.map +1 -0
  456. package/dist/esm/lroImpl.js +25 -0
  457. package/dist/esm/lroImpl.js.map +1 -0
  458. package/dist/esm/models/index.d.ts +13692 -0
  459. package/dist/esm/models/index.d.ts.map +1 -0
  460. package/dist/esm/models/index.js +1438 -0
  461. package/dist/esm/models/index.js.map +1 -0
  462. package/dist/esm/models/mappers.d.ts +1310 -0
  463. package/dist/esm/models/mappers.d.ts.map +1 -0
  464. package/dist/{index.js → esm/models/mappers.js} +14865 -19018
  465. package/dist/esm/models/mappers.js.map +1 -0
  466. package/dist/esm/models/parameters.d.ts +70 -0
  467. package/dist/esm/models/parameters.d.ts.map +1 -0
  468. package/dist/esm/models/parameters.js +569 -0
  469. package/dist/esm/models/parameters.js.map +1 -0
  470. package/dist/esm/operations/bigDataPools.d.ts +24 -0
  471. package/dist/esm/operations/bigDataPools.d.ts.map +1 -0
  472. package/dist/esm/operations/bigDataPools.js +76 -0
  473. package/dist/esm/operations/bigDataPools.js.map +1 -0
  474. package/dist/esm/operations/dataFlowDebugSession.d.ts +70 -0
  475. package/dist/esm/operations/dataFlowDebugSession.d.ts.map +1 -0
  476. package/dist/esm/operations/dataFlowDebugSession.js +344 -0
  477. package/dist/esm/operations/dataFlowDebugSession.js.map +1 -0
  478. package/dist/esm/operations/dataFlowOperations.d.ts +80 -0
  479. package/dist/esm/operations/dataFlowOperations.d.ts.map +1 -0
  480. package/dist/esm/operations/dataFlowOperations.js +385 -0
  481. package/dist/esm/operations/dataFlowOperations.js.map +1 -0
  482. package/dist/esm/operations/datasetOperations.d.ts +79 -0
  483. package/dist/esm/operations/datasetOperations.d.ts.map +1 -0
  484. package/dist/esm/operations/datasetOperations.js +385 -0
  485. package/dist/esm/operations/datasetOperations.js.map +1 -0
  486. package/dist/esm/operations/index.d.ts +25 -0
  487. package/dist/esm/operations/index.d.ts.map +1 -0
  488. package/dist/esm/operations/index.js +32 -0
  489. package/dist/esm/operations/index.js.map +1 -0
  490. package/dist/esm/operations/integrationRuntimes.d.ts +24 -0
  491. package/dist/esm/operations/integrationRuntimes.d.ts.map +1 -0
  492. package/dist/esm/operations/integrationRuntimes.js +76 -0
  493. package/dist/esm/operations/integrationRuntimes.js.map +1 -0
  494. package/dist/esm/operations/kqlScriptOperations.d.ts +60 -0
  495. package/dist/esm/operations/kqlScriptOperations.d.ts.map +1 -0
  496. package/dist/esm/operations/kqlScriptOperations.js +288 -0
  497. package/dist/esm/operations/kqlScriptOperations.js.map +1 -0
  498. package/dist/esm/operations/kqlScripts.d.ts +32 -0
  499. package/dist/esm/operations/kqlScripts.d.ts.map +1 -0
  500. package/dist/esm/operations/kqlScripts.js +121 -0
  501. package/dist/esm/operations/kqlScripts.js.map +1 -0
  502. package/dist/esm/operations/library.d.ts +98 -0
  503. package/dist/esm/operations/library.d.ts.map +1 -0
  504. package/dist/esm/operations/library.js +438 -0
  505. package/dist/esm/operations/library.js.map +1 -0
  506. package/dist/esm/operations/linkConnectionOperations.d.ts +112 -0
  507. package/dist/esm/operations/linkConnectionOperations.d.ts.map +1 -0
  508. package/dist/esm/operations/linkConnectionOperations.js +436 -0
  509. package/dist/esm/operations/linkConnectionOperations.js.map +1 -0
  510. package/dist/esm/operations/linkedServiceOperations.d.ts +80 -0
  511. package/dist/esm/operations/linkedServiceOperations.d.ts.map +1 -0
  512. package/dist/esm/operations/linkedServiceOperations.js +386 -0
  513. package/dist/esm/operations/linkedServiceOperations.js.map +1 -0
  514. package/dist/esm/operations/metastore.d.ts +40 -0
  515. package/dist/esm/operations/metastore.d.ts.map +1 -0
  516. package/dist/esm/operations/metastore.js +134 -0
  517. package/dist/esm/operations/metastore.js.map +1 -0
  518. package/dist/esm/operations/notebookOperationResult.d.ts +19 -0
  519. package/dist/esm/operations/notebookOperationResult.d.ts.map +1 -0
  520. package/dist/esm/operations/notebookOperationResult.js +52 -0
  521. package/dist/esm/operations/notebookOperationResult.js.map +1 -0
  522. package/dist/esm/operations/notebookOperations.d.ts +99 -0
  523. package/dist/esm/operations/notebookOperations.d.ts.map +1 -0
  524. package/dist/esm/operations/notebookOperations.js +481 -0
  525. package/dist/esm/operations/notebookOperations.js.map +1 -0
  526. package/dist/esm/operations/pipelineOperations.d.ts +86 -0
  527. package/dist/esm/operations/pipelineOperations.d.ts.map +1 -0
  528. package/dist/esm/operations/pipelineOperations.js +419 -0
  529. package/dist/esm/operations/pipelineOperations.js.map +1 -0
  530. package/dist/esm/operations/pipelineRunOperations.d.ts +39 -0
  531. package/dist/esm/operations/pipelineRunOperations.d.ts.map +1 -0
  532. package/dist/esm/operations/pipelineRunOperations.js +133 -0
  533. package/dist/esm/operations/pipelineRunOperations.js.map +1 -0
  534. package/dist/esm/operations/runNotebook.d.ts +51 -0
  535. package/dist/esm/operations/runNotebook.d.ts.map +1 -0
  536. package/dist/esm/operations/runNotebook.js +203 -0
  537. package/dist/esm/operations/runNotebook.js.map +1 -0
  538. package/dist/esm/operations/sparkConfigurationOperations.d.ts +80 -0
  539. package/dist/esm/operations/sparkConfigurationOperations.d.ts.map +1 -0
  540. package/dist/esm/operations/sparkConfigurationOperations.js +386 -0
  541. package/dist/esm/operations/sparkConfigurationOperations.js.map +1 -0
  542. package/dist/esm/operations/sparkJobDefinitionOperations.d.ts +104 -0
  543. package/dist/esm/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
  544. package/dist/esm/operations/sparkJobDefinitionOperations.js +552 -0
  545. package/dist/esm/operations/sparkJobDefinitionOperations.js.map +1 -0
  546. package/dist/esm/operations/sqlPools.d.ts +24 -0
  547. package/dist/esm/operations/sqlPools.d.ts.map +1 -0
  548. package/dist/esm/operations/sqlPools.js +76 -0
  549. package/dist/esm/operations/sqlPools.js.map +1 -0
  550. package/dist/esm/operations/sqlScriptOperations.d.ts +80 -0
  551. package/dist/esm/operations/sqlScriptOperations.d.ts.map +1 -0
  552. package/dist/esm/operations/sqlScriptOperations.js +386 -0
  553. package/dist/esm/operations/sqlScriptOperations.js.map +1 -0
  554. package/dist/esm/operations/triggerOperations.d.ts +119 -0
  555. package/dist/esm/operations/triggerOperations.d.ts.map +1 -0
  556. package/dist/esm/operations/triggerOperations.js +642 -0
  557. package/dist/esm/operations/triggerOperations.js.map +1 -0
  558. package/dist/esm/operations/triggerRunOperations.d.ts +33 -0
  559. package/dist/esm/operations/triggerRunOperations.d.ts.map +1 -0
  560. package/dist/esm/operations/triggerRunOperations.js +103 -0
  561. package/dist/esm/operations/triggerRunOperations.js.map +1 -0
  562. package/dist/esm/operations/workspaceGitRepoManagement.d.ts +19 -0
  563. package/dist/esm/operations/workspaceGitRepoManagement.d.ts.map +1 -0
  564. package/dist/esm/operations/workspaceGitRepoManagement.js +50 -0
  565. package/dist/esm/operations/workspaceGitRepoManagement.js.map +1 -0
  566. package/dist/esm/operations/workspaceOperations.d.ts +18 -0
  567. package/dist/esm/operations/workspaceOperations.d.ts.map +1 -0
  568. package/dist/esm/operations/workspaceOperations.js +50 -0
  569. package/dist/esm/operations/workspaceOperations.js.map +1 -0
  570. package/dist/esm/operationsInterfaces/bigDataPools.d.ts +16 -0
  571. package/dist/esm/operationsInterfaces/bigDataPools.d.ts.map +1 -0
  572. package/dist/esm/operationsInterfaces/bigDataPools.js +9 -0
  573. package/dist/esm/operationsInterfaces/bigDataPools.js.map +1 -0
  574. package/dist/esm/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
  575. package/dist/esm/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
  576. package/dist/esm/operationsInterfaces/dataFlowDebugSession.js +9 -0
  577. package/dist/esm/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
  578. package/dist/esm/operationsInterfaces/dataFlowOperations.d.ts +58 -0
  579. package/dist/esm/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
  580. package/dist/esm/operationsInterfaces/dataFlowOperations.js +9 -0
  581. package/dist/esm/operationsInterfaces/dataFlowOperations.js.map +1 -0
  582. package/dist/esm/operationsInterfaces/datasetOperations.d.ts +58 -0
  583. package/dist/esm/operationsInterfaces/datasetOperations.d.ts.map +1 -0
  584. package/dist/esm/operationsInterfaces/datasetOperations.js +9 -0
  585. package/dist/esm/operationsInterfaces/datasetOperations.js.map +1 -0
  586. package/dist/esm/operationsInterfaces/index.d.ts +25 -0
  587. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  588. package/dist/esm/operationsInterfaces/index.js +32 -0
  589. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  590. package/dist/esm/operationsInterfaces/integrationRuntimes.d.ts +16 -0
  591. package/dist/esm/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
  592. package/dist/esm/operationsInterfaces/integrationRuntimes.js +9 -0
  593. package/dist/esm/operationsInterfaces/integrationRuntimes.js.map +1 -0
  594. package/dist/esm/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
  595. package/dist/esm/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
  596. package/dist/esm/operationsInterfaces/kqlScriptOperations.js +9 -0
  597. package/dist/esm/operationsInterfaces/kqlScriptOperations.js.map +1 -0
  598. package/dist/esm/operationsInterfaces/kqlScripts.d.ts +11 -0
  599. package/dist/esm/operationsInterfaces/kqlScripts.d.ts.map +1 -0
  600. package/dist/esm/operationsInterfaces/kqlScripts.js +9 -0
  601. package/dist/esm/operationsInterfaces/kqlScripts.js.map +1 -0
  602. package/dist/esm/operationsInterfaces/library.d.ts +77 -0
  603. package/dist/esm/operationsInterfaces/library.d.ts.map +1 -0
  604. package/dist/esm/operationsInterfaces/library.js +9 -0
  605. package/dist/esm/operationsInterfaces/library.js.map +1 -0
  606. package/dist/esm/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
  607. package/dist/esm/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
  608. package/dist/esm/operationsInterfaces/linkConnectionOperations.js +9 -0
  609. package/dist/esm/operationsInterfaces/linkConnectionOperations.js.map +1 -0
  610. package/dist/esm/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
  611. package/dist/esm/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
  612. package/dist/esm/operationsInterfaces/linkedServiceOperations.js +9 -0
  613. package/dist/esm/operationsInterfaces/linkedServiceOperations.js.map +1 -0
  614. package/dist/esm/operationsInterfaces/metastore.d.ts +32 -0
  615. package/dist/esm/operationsInterfaces/metastore.d.ts.map +1 -0
  616. package/dist/esm/operationsInterfaces/metastore.js +9 -0
  617. package/dist/esm/operationsInterfaces/metastore.js.map +1 -0
  618. package/dist/esm/operationsInterfaces/notebookOperationResult.d.ts +11 -0
  619. package/dist/esm/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
  620. package/dist/esm/operationsInterfaces/notebookOperationResult.js +9 -0
  621. package/dist/esm/operationsInterfaces/notebookOperationResult.js.map +1 -0
  622. package/dist/esm/operationsInterfaces/notebookOperations.d.ts +63 -0
  623. package/dist/esm/operationsInterfaces/notebookOperations.d.ts.map +1 -0
  624. package/dist/esm/operationsInterfaces/notebookOperations.js +9 -0
  625. package/dist/esm/operationsInterfaces/notebookOperations.js.map +1 -0
  626. package/dist/esm/operationsInterfaces/pipelineOperations.d.ts +64 -0
  627. package/dist/esm/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
  628. package/dist/esm/operationsInterfaces/pipelineOperations.js +9 -0
  629. package/dist/esm/operationsInterfaces/pipelineOperations.js.map +1 -0
  630. package/dist/esm/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
  631. package/dist/esm/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
  632. package/dist/esm/operationsInterfaces/pipelineRunOperations.js +9 -0
  633. package/dist/esm/operationsInterfaces/pipelineRunOperations.js.map +1 -0
  634. package/dist/esm/operationsInterfaces/runNotebook.d.ts +43 -0
  635. package/dist/esm/operationsInterfaces/runNotebook.d.ts.map +1 -0
  636. package/dist/esm/operationsInterfaces/runNotebook.js +9 -0
  637. package/dist/esm/operationsInterfaces/runNotebook.js.map +1 -0
  638. package/dist/esm/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
  639. package/dist/esm/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
  640. package/dist/esm/operationsInterfaces/sparkConfigurationOperations.js +9 -0
  641. package/dist/esm/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
  642. package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
  643. package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
  644. package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.js +9 -0
  645. package/dist/esm/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
  646. package/dist/esm/operationsInterfaces/sqlPools.d.ts +16 -0
  647. package/dist/esm/operationsInterfaces/sqlPools.d.ts.map +1 -0
  648. package/dist/esm/operationsInterfaces/sqlPools.js +9 -0
  649. package/dist/esm/operationsInterfaces/sqlPools.js.map +1 -0
  650. package/dist/esm/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
  651. package/dist/esm/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
  652. package/dist/esm/operationsInterfaces/sqlScriptOperations.js +9 -0
  653. package/dist/esm/operationsInterfaces/sqlScriptOperations.js.map +1 -0
  654. package/dist/esm/operationsInterfaces/triggerOperations.d.ts +98 -0
  655. package/dist/esm/operationsInterfaces/triggerOperations.d.ts.map +1 -0
  656. package/dist/esm/operationsInterfaces/triggerOperations.js +9 -0
  657. package/dist/esm/operationsInterfaces/triggerOperations.js.map +1 -0
  658. package/dist/esm/operationsInterfaces/triggerRunOperations.d.ts +25 -0
  659. package/dist/esm/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
  660. package/dist/esm/operationsInterfaces/triggerRunOperations.js +9 -0
  661. package/dist/esm/operationsInterfaces/triggerRunOperations.js.map +1 -0
  662. package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
  663. package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
  664. package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.js +9 -0
  665. package/dist/esm/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
  666. package/dist/esm/operationsInterfaces/workspaceOperations.d.ts +10 -0
  667. package/dist/esm/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
  668. package/dist/esm/operationsInterfaces/workspaceOperations.js +9 -0
  669. package/dist/esm/operationsInterfaces/workspaceOperations.js.map +1 -0
  670. package/dist/esm/package.json +3 -0
  671. package/dist/esm/pagingHelper.d.ts +13 -0
  672. package/dist/esm/pagingHelper.d.ts.map +1 -0
  673. package/dist/esm/pagingHelper.js +30 -0
  674. package/dist/esm/pagingHelper.js.map +1 -0
  675. package/dist/esm/tracing.d.ts +2 -0
  676. package/dist/esm/tracing.d.ts.map +1 -0
  677. package/dist/esm/tracing.js +14 -0
  678. package/dist/esm/tracing.js.map +1 -0
  679. package/dist/react-native/artifactsClient.d.ts +40 -0
  680. package/dist/react-native/artifactsClient.d.ts.map +1 -0
  681. package/dist/react-native/artifactsClient.js +123 -0
  682. package/dist/react-native/artifactsClient.js.map +1 -0
  683. package/dist/react-native/index.d.ts +5 -0
  684. package/dist/react-native/index.d.ts.map +1 -0
  685. package/dist/react-native/index.js +13 -0
  686. package/dist/react-native/index.js.map +1 -0
  687. package/dist/react-native/lroImpl.d.ts +11 -0
  688. package/dist/react-native/lroImpl.d.ts.map +1 -0
  689. package/dist/react-native/lroImpl.js +25 -0
  690. package/dist/react-native/lroImpl.js.map +1 -0
  691. package/dist/react-native/models/index.d.ts +13692 -0
  692. package/dist/react-native/models/index.d.ts.map +1 -0
  693. package/dist/react-native/models/index.js +1438 -0
  694. package/dist/react-native/models/index.js.map +1 -0
  695. package/dist/react-native/models/mappers.d.ts +1310 -0
  696. package/dist/react-native/models/mappers.d.ts.map +1 -0
  697. package/dist/react-native/models/mappers.js +30736 -0
  698. package/dist/react-native/models/mappers.js.map +1 -0
  699. package/dist/react-native/models/parameters.d.ts +70 -0
  700. package/dist/react-native/models/parameters.d.ts.map +1 -0
  701. package/dist/react-native/models/parameters.js +569 -0
  702. package/dist/react-native/models/parameters.js.map +1 -0
  703. package/dist/react-native/operations/bigDataPools.d.ts +24 -0
  704. package/dist/react-native/operations/bigDataPools.d.ts.map +1 -0
  705. package/dist/react-native/operations/bigDataPools.js +76 -0
  706. package/dist/react-native/operations/bigDataPools.js.map +1 -0
  707. package/dist/react-native/operations/dataFlowDebugSession.d.ts +70 -0
  708. package/dist/react-native/operations/dataFlowDebugSession.d.ts.map +1 -0
  709. package/dist/react-native/operations/dataFlowDebugSession.js +344 -0
  710. package/dist/react-native/operations/dataFlowDebugSession.js.map +1 -0
  711. package/dist/react-native/operations/dataFlowOperations.d.ts +80 -0
  712. package/dist/react-native/operations/dataFlowOperations.d.ts.map +1 -0
  713. package/dist/react-native/operations/dataFlowOperations.js +385 -0
  714. package/dist/react-native/operations/dataFlowOperations.js.map +1 -0
  715. package/dist/react-native/operations/datasetOperations.d.ts +79 -0
  716. package/dist/react-native/operations/datasetOperations.d.ts.map +1 -0
  717. package/dist/react-native/operations/datasetOperations.js +385 -0
  718. package/dist/react-native/operations/datasetOperations.js.map +1 -0
  719. package/dist/react-native/operations/index.d.ts +25 -0
  720. package/dist/react-native/operations/index.d.ts.map +1 -0
  721. package/dist/react-native/operations/index.js +32 -0
  722. package/dist/react-native/operations/index.js.map +1 -0
  723. package/dist/react-native/operations/integrationRuntimes.d.ts +24 -0
  724. package/dist/react-native/operations/integrationRuntimes.d.ts.map +1 -0
  725. package/dist/react-native/operations/integrationRuntimes.js +76 -0
  726. package/dist/react-native/operations/integrationRuntimes.js.map +1 -0
  727. package/dist/react-native/operations/kqlScriptOperations.d.ts +60 -0
  728. package/dist/react-native/operations/kqlScriptOperations.d.ts.map +1 -0
  729. package/dist/react-native/operations/kqlScriptOperations.js +288 -0
  730. package/dist/react-native/operations/kqlScriptOperations.js.map +1 -0
  731. package/dist/react-native/operations/kqlScripts.d.ts +32 -0
  732. package/dist/react-native/operations/kqlScripts.d.ts.map +1 -0
  733. package/dist/react-native/operations/kqlScripts.js +121 -0
  734. package/dist/react-native/operations/kqlScripts.js.map +1 -0
  735. package/dist/react-native/operations/library.d.ts +98 -0
  736. package/dist/react-native/operations/library.d.ts.map +1 -0
  737. package/dist/react-native/operations/library.js +438 -0
  738. package/dist/react-native/operations/library.js.map +1 -0
  739. package/dist/react-native/operations/linkConnectionOperations.d.ts +112 -0
  740. package/dist/react-native/operations/linkConnectionOperations.d.ts.map +1 -0
  741. package/dist/react-native/operations/linkConnectionOperations.js +436 -0
  742. package/dist/react-native/operations/linkConnectionOperations.js.map +1 -0
  743. package/dist/react-native/operations/linkedServiceOperations.d.ts +80 -0
  744. package/dist/react-native/operations/linkedServiceOperations.d.ts.map +1 -0
  745. package/dist/react-native/operations/linkedServiceOperations.js +386 -0
  746. package/dist/react-native/operations/linkedServiceOperations.js.map +1 -0
  747. package/dist/react-native/operations/metastore.d.ts +40 -0
  748. package/dist/react-native/operations/metastore.d.ts.map +1 -0
  749. package/dist/react-native/operations/metastore.js +134 -0
  750. package/dist/react-native/operations/metastore.js.map +1 -0
  751. package/dist/react-native/operations/notebookOperationResult.d.ts +19 -0
  752. package/dist/react-native/operations/notebookOperationResult.d.ts.map +1 -0
  753. package/dist/react-native/operations/notebookOperationResult.js +52 -0
  754. package/dist/react-native/operations/notebookOperationResult.js.map +1 -0
  755. package/dist/react-native/operations/notebookOperations.d.ts +99 -0
  756. package/dist/react-native/operations/notebookOperations.d.ts.map +1 -0
  757. package/dist/react-native/operations/notebookOperations.js +481 -0
  758. package/dist/react-native/operations/notebookOperations.js.map +1 -0
  759. package/dist/react-native/operations/pipelineOperations.d.ts +86 -0
  760. package/dist/react-native/operations/pipelineOperations.d.ts.map +1 -0
  761. package/dist/react-native/operations/pipelineOperations.js +419 -0
  762. package/dist/react-native/operations/pipelineOperations.js.map +1 -0
  763. package/dist/react-native/operations/pipelineRunOperations.d.ts +39 -0
  764. package/dist/react-native/operations/pipelineRunOperations.d.ts.map +1 -0
  765. package/dist/react-native/operations/pipelineRunOperations.js +133 -0
  766. package/dist/react-native/operations/pipelineRunOperations.js.map +1 -0
  767. package/dist/react-native/operations/runNotebook.d.ts +51 -0
  768. package/dist/react-native/operations/runNotebook.d.ts.map +1 -0
  769. package/dist/react-native/operations/runNotebook.js +203 -0
  770. package/dist/react-native/operations/runNotebook.js.map +1 -0
  771. package/dist/react-native/operations/sparkConfigurationOperations.d.ts +80 -0
  772. package/dist/react-native/operations/sparkConfigurationOperations.d.ts.map +1 -0
  773. package/dist/react-native/operations/sparkConfigurationOperations.js +386 -0
  774. package/dist/react-native/operations/sparkConfigurationOperations.js.map +1 -0
  775. package/dist/react-native/operations/sparkJobDefinitionOperations.d.ts +104 -0
  776. package/dist/react-native/operations/sparkJobDefinitionOperations.d.ts.map +1 -0
  777. package/dist/react-native/operations/sparkJobDefinitionOperations.js +552 -0
  778. package/dist/react-native/operations/sparkJobDefinitionOperations.js.map +1 -0
  779. package/dist/react-native/operations/sqlPools.d.ts +24 -0
  780. package/dist/react-native/operations/sqlPools.d.ts.map +1 -0
  781. package/dist/react-native/operations/sqlPools.js +76 -0
  782. package/dist/react-native/operations/sqlPools.js.map +1 -0
  783. package/dist/react-native/operations/sqlScriptOperations.d.ts +80 -0
  784. package/dist/react-native/operations/sqlScriptOperations.d.ts.map +1 -0
  785. package/dist/react-native/operations/sqlScriptOperations.js +386 -0
  786. package/dist/react-native/operations/sqlScriptOperations.js.map +1 -0
  787. package/dist/react-native/operations/triggerOperations.d.ts +119 -0
  788. package/dist/react-native/operations/triggerOperations.d.ts.map +1 -0
  789. package/dist/react-native/operations/triggerOperations.js +642 -0
  790. package/dist/react-native/operations/triggerOperations.js.map +1 -0
  791. package/dist/react-native/operations/triggerRunOperations.d.ts +33 -0
  792. package/dist/react-native/operations/triggerRunOperations.d.ts.map +1 -0
  793. package/dist/react-native/operations/triggerRunOperations.js +103 -0
  794. package/dist/react-native/operations/triggerRunOperations.js.map +1 -0
  795. package/dist/react-native/operations/workspaceGitRepoManagement.d.ts +19 -0
  796. package/dist/react-native/operations/workspaceGitRepoManagement.d.ts.map +1 -0
  797. package/dist/react-native/operations/workspaceGitRepoManagement.js +50 -0
  798. package/dist/react-native/operations/workspaceGitRepoManagement.js.map +1 -0
  799. package/dist/react-native/operations/workspaceOperations.d.ts +18 -0
  800. package/dist/react-native/operations/workspaceOperations.d.ts.map +1 -0
  801. package/dist/react-native/operations/workspaceOperations.js +50 -0
  802. package/dist/react-native/operations/workspaceOperations.js.map +1 -0
  803. package/dist/react-native/operationsInterfaces/bigDataPools.d.ts +16 -0
  804. package/dist/react-native/operationsInterfaces/bigDataPools.d.ts.map +1 -0
  805. package/dist/react-native/operationsInterfaces/bigDataPools.js +9 -0
  806. package/dist/react-native/operationsInterfaces/bigDataPools.js.map +1 -0
  807. package/dist/react-native/operationsInterfaces/dataFlowDebugSession.d.ts +48 -0
  808. package/dist/react-native/operationsInterfaces/dataFlowDebugSession.d.ts.map +1 -0
  809. package/dist/react-native/operationsInterfaces/dataFlowDebugSession.js +9 -0
  810. package/dist/react-native/operationsInterfaces/dataFlowDebugSession.js.map +1 -0
  811. package/dist/react-native/operationsInterfaces/dataFlowOperations.d.ts +58 -0
  812. package/dist/react-native/operationsInterfaces/dataFlowOperations.d.ts.map +1 -0
  813. package/dist/react-native/operationsInterfaces/dataFlowOperations.js +9 -0
  814. package/dist/react-native/operationsInterfaces/dataFlowOperations.js.map +1 -0
  815. package/dist/react-native/operationsInterfaces/datasetOperations.d.ts +58 -0
  816. package/dist/react-native/operationsInterfaces/datasetOperations.d.ts.map +1 -0
  817. package/dist/react-native/operationsInterfaces/datasetOperations.js +9 -0
  818. package/dist/react-native/operationsInterfaces/datasetOperations.js.map +1 -0
  819. package/dist/react-native/operationsInterfaces/index.d.ts +25 -0
  820. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  821. package/dist/react-native/operationsInterfaces/index.js +32 -0
  822. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  823. package/dist/react-native/operationsInterfaces/integrationRuntimes.d.ts +16 -0
  824. package/dist/react-native/operationsInterfaces/integrationRuntimes.d.ts.map +1 -0
  825. package/dist/react-native/operationsInterfaces/integrationRuntimes.js +9 -0
  826. package/dist/react-native/operationsInterfaces/integrationRuntimes.js.map +1 -0
  827. package/dist/react-native/operationsInterfaces/kqlScriptOperations.d.ts +52 -0
  828. package/dist/react-native/operationsInterfaces/kqlScriptOperations.d.ts.map +1 -0
  829. package/dist/react-native/operationsInterfaces/kqlScriptOperations.js +9 -0
  830. package/dist/react-native/operationsInterfaces/kqlScriptOperations.js.map +1 -0
  831. package/dist/react-native/operationsInterfaces/kqlScripts.d.ts +11 -0
  832. package/dist/react-native/operationsInterfaces/kqlScripts.d.ts.map +1 -0
  833. package/dist/react-native/operationsInterfaces/kqlScripts.js +9 -0
  834. package/dist/react-native/operationsInterfaces/kqlScripts.js.map +1 -0
  835. package/dist/react-native/operationsInterfaces/library.d.ts +77 -0
  836. package/dist/react-native/operationsInterfaces/library.d.ts.map +1 -0
  837. package/dist/react-native/operationsInterfaces/library.js +9 -0
  838. package/dist/react-native/operationsInterfaces/library.js.map +1 -0
  839. package/dist/react-native/operationsInterfaces/linkConnectionOperations.d.ts +91 -0
  840. package/dist/react-native/operationsInterfaces/linkConnectionOperations.d.ts.map +1 -0
  841. package/dist/react-native/operationsInterfaces/linkConnectionOperations.js +9 -0
  842. package/dist/react-native/operationsInterfaces/linkConnectionOperations.js.map +1 -0
  843. package/dist/react-native/operationsInterfaces/linkedServiceOperations.d.ts +58 -0
  844. package/dist/react-native/operationsInterfaces/linkedServiceOperations.d.ts.map +1 -0
  845. package/dist/react-native/operationsInterfaces/linkedServiceOperations.js +9 -0
  846. package/dist/react-native/operationsInterfaces/linkedServiceOperations.js.map +1 -0
  847. package/dist/react-native/operationsInterfaces/metastore.d.ts +32 -0
  848. package/dist/react-native/operationsInterfaces/metastore.d.ts.map +1 -0
  849. package/dist/react-native/operationsInterfaces/metastore.js +9 -0
  850. package/dist/react-native/operationsInterfaces/metastore.js.map +1 -0
  851. package/dist/react-native/operationsInterfaces/notebookOperationResult.d.ts +11 -0
  852. package/dist/react-native/operationsInterfaces/notebookOperationResult.d.ts.map +1 -0
  853. package/dist/react-native/operationsInterfaces/notebookOperationResult.js +9 -0
  854. package/dist/react-native/operationsInterfaces/notebookOperationResult.js.map +1 -0
  855. package/dist/react-native/operationsInterfaces/notebookOperations.d.ts +63 -0
  856. package/dist/react-native/operationsInterfaces/notebookOperations.d.ts.map +1 -0
  857. package/dist/react-native/operationsInterfaces/notebookOperations.js +9 -0
  858. package/dist/react-native/operationsInterfaces/notebookOperations.js.map +1 -0
  859. package/dist/react-native/operationsInterfaces/pipelineOperations.d.ts +64 -0
  860. package/dist/react-native/operationsInterfaces/pipelineOperations.d.ts.map +1 -0
  861. package/dist/react-native/operationsInterfaces/pipelineOperations.js +9 -0
  862. package/dist/react-native/operationsInterfaces/pipelineOperations.js.map +1 -0
  863. package/dist/react-native/operationsInterfaces/pipelineRunOperations.d.ts +31 -0
  864. package/dist/react-native/operationsInterfaces/pipelineRunOperations.d.ts.map +1 -0
  865. package/dist/react-native/operationsInterfaces/pipelineRunOperations.js +9 -0
  866. package/dist/react-native/operationsInterfaces/pipelineRunOperations.js.map +1 -0
  867. package/dist/react-native/operationsInterfaces/runNotebook.d.ts +43 -0
  868. package/dist/react-native/operationsInterfaces/runNotebook.d.ts.map +1 -0
  869. package/dist/react-native/operationsInterfaces/runNotebook.js +9 -0
  870. package/dist/react-native/operationsInterfaces/runNotebook.js.map +1 -0
  871. package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.d.ts +58 -0
  872. package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.d.ts.map +1 -0
  873. package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.js +9 -0
  874. package/dist/react-native/operationsInterfaces/sparkConfigurationOperations.js.map +1 -0
  875. package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.d.ts +82 -0
  876. package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.d.ts.map +1 -0
  877. package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.js +9 -0
  878. package/dist/react-native/operationsInterfaces/sparkJobDefinitionOperations.js.map +1 -0
  879. package/dist/react-native/operationsInterfaces/sqlPools.d.ts +16 -0
  880. package/dist/react-native/operationsInterfaces/sqlPools.d.ts.map +1 -0
  881. package/dist/react-native/operationsInterfaces/sqlPools.js +9 -0
  882. package/dist/react-native/operationsInterfaces/sqlPools.js.map +1 -0
  883. package/dist/react-native/operationsInterfaces/sqlScriptOperations.d.ts +58 -0
  884. package/dist/react-native/operationsInterfaces/sqlScriptOperations.d.ts.map +1 -0
  885. package/dist/react-native/operationsInterfaces/sqlScriptOperations.js +9 -0
  886. package/dist/react-native/operationsInterfaces/sqlScriptOperations.js.map +1 -0
  887. package/dist/react-native/operationsInterfaces/triggerOperations.d.ts +98 -0
  888. package/dist/react-native/operationsInterfaces/triggerOperations.d.ts.map +1 -0
  889. package/dist/react-native/operationsInterfaces/triggerOperations.js +9 -0
  890. package/dist/react-native/operationsInterfaces/triggerOperations.js.map +1 -0
  891. package/dist/react-native/operationsInterfaces/triggerRunOperations.d.ts +25 -0
  892. package/dist/react-native/operationsInterfaces/triggerRunOperations.d.ts.map +1 -0
  893. package/dist/react-native/operationsInterfaces/triggerRunOperations.js +9 -0
  894. package/dist/react-native/operationsInterfaces/triggerRunOperations.js.map +1 -0
  895. package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.d.ts +11 -0
  896. package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.d.ts.map +1 -0
  897. package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.js +9 -0
  898. package/dist/react-native/operationsInterfaces/workspaceGitRepoManagement.js.map +1 -0
  899. package/dist/react-native/operationsInterfaces/workspaceOperations.d.ts +10 -0
  900. package/dist/react-native/operationsInterfaces/workspaceOperations.d.ts.map +1 -0
  901. package/dist/react-native/operationsInterfaces/workspaceOperations.js +9 -0
  902. package/dist/react-native/operationsInterfaces/workspaceOperations.js.map +1 -0
  903. package/dist/react-native/package.json +3 -0
  904. package/dist/react-native/pagingHelper.d.ts +13 -0
  905. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  906. package/dist/react-native/pagingHelper.js +30 -0
  907. package/dist/react-native/pagingHelper.js.map +1 -0
  908. package/dist/react-native/tracing.d.ts +2 -0
  909. package/dist/react-native/tracing.d.ts.map +1 -0
  910. package/dist/react-native/tracing.js +14 -0
  911. package/dist/react-native/tracing.js.map +1 -0
  912. package/package.json +87 -79
  913. package/dist/index.js.map +0 -1
  914. package/dist-esm/src/artifactsClient.js.map +0 -1
  915. package/dist-esm/src/index.js.map +0 -1
  916. package/dist-esm/src/lroImpl.js.map +0 -1
  917. package/dist-esm/src/models/index.js.map +0 -1
  918. package/dist-esm/src/models/mappers.js.map +0 -1
  919. package/dist-esm/src/models/parameters.js.map +0 -1
  920. package/dist-esm/src/operations/bigDataPools.js.map +0 -1
  921. package/dist-esm/src/operations/dataFlowDebugSession.js.map +0 -1
  922. package/dist-esm/src/operations/dataFlowOperations.js.map +0 -1
  923. package/dist-esm/src/operations/datasetOperations.js.map +0 -1
  924. package/dist-esm/src/operations/index.js +0 -32
  925. package/dist-esm/src/operations/index.js.map +0 -1
  926. package/dist-esm/src/operations/integrationRuntimes.js.map +0 -1
  927. package/dist-esm/src/operations/kqlScriptOperations.js.map +0 -1
  928. package/dist-esm/src/operations/kqlScripts.js.map +0 -1
  929. package/dist-esm/src/operations/library.js.map +0 -1
  930. package/dist-esm/src/operations/linkConnectionOperations.js.map +0 -1
  931. package/dist-esm/src/operations/linkedServiceOperations.js.map +0 -1
  932. package/dist-esm/src/operations/metastore.js.map +0 -1
  933. package/dist-esm/src/operations/notebookOperationResult.js.map +0 -1
  934. package/dist-esm/src/operations/notebookOperations.js.map +0 -1
  935. package/dist-esm/src/operations/pipelineOperations.js.map +0 -1
  936. package/dist-esm/src/operations/pipelineRunOperations.js.map +0 -1
  937. package/dist-esm/src/operations/runNotebook.js.map +0 -1
  938. package/dist-esm/src/operations/sparkConfigurationOperations.js.map +0 -1
  939. package/dist-esm/src/operations/sparkJobDefinitionOperations.js.map +0 -1
  940. package/dist-esm/src/operations/sqlPools.js.map +0 -1
  941. package/dist-esm/src/operations/sqlScriptOperations.js.map +0 -1
  942. package/dist-esm/src/operations/triggerOperations.js.map +0 -1
  943. package/dist-esm/src/operations/triggerRunOperations.js.map +0 -1
  944. package/dist-esm/src/operations/workspaceGitRepoManagement.js.map +0 -1
  945. package/dist-esm/src/operations/workspaceOperations.js.map +0 -1
  946. package/dist-esm/src/operationsInterfaces/bigDataPools.js.map +0 -1
  947. package/dist-esm/src/operationsInterfaces/dataFlowDebugSession.js.map +0 -1
  948. package/dist-esm/src/operationsInterfaces/dataFlowOperations.js.map +0 -1
  949. package/dist-esm/src/operationsInterfaces/datasetOperations.js.map +0 -1
  950. package/dist-esm/src/operationsInterfaces/index.js +0 -32
  951. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  952. package/dist-esm/src/operationsInterfaces/integrationRuntimes.js.map +0 -1
  953. package/dist-esm/src/operationsInterfaces/kqlScriptOperations.js.map +0 -1
  954. package/dist-esm/src/operationsInterfaces/kqlScripts.js.map +0 -1
  955. package/dist-esm/src/operationsInterfaces/library.js.map +0 -1
  956. package/dist-esm/src/operationsInterfaces/linkConnectionOperations.js.map +0 -1
  957. package/dist-esm/src/operationsInterfaces/linkedServiceOperations.js.map +0 -1
  958. package/dist-esm/src/operationsInterfaces/metastore.js.map +0 -1
  959. package/dist-esm/src/operationsInterfaces/notebookOperationResult.js.map +0 -1
  960. package/dist-esm/src/operationsInterfaces/notebookOperations.js.map +0 -1
  961. package/dist-esm/src/operationsInterfaces/pipelineOperations.js.map +0 -1
  962. package/dist-esm/src/operationsInterfaces/pipelineRunOperations.js.map +0 -1
  963. package/dist-esm/src/operationsInterfaces/runNotebook.js.map +0 -1
  964. package/dist-esm/src/operationsInterfaces/sparkConfigurationOperations.js.map +0 -1
  965. package/dist-esm/src/operationsInterfaces/sparkJobDefinitionOperations.js.map +0 -1
  966. package/dist-esm/src/operationsInterfaces/sqlPools.js.map +0 -1
  967. package/dist-esm/src/operationsInterfaces/sqlScriptOperations.js.map +0 -1
  968. package/dist-esm/src/operationsInterfaces/triggerOperations.js.map +0 -1
  969. package/dist-esm/src/operationsInterfaces/triggerRunOperations.js.map +0 -1
  970. package/dist-esm/src/operationsInterfaces/workspaceGitRepoManagement.js.map +0 -1
  971. package/dist-esm/src/operationsInterfaces/workspaceOperations.js.map +0 -1
  972. package/dist-esm/src/pagingHelper.js.map +0 -1
  973. /package/{dist-esm/src → dist/browser}/operationsInterfaces/bigDataPools.js +0 -0
  974. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dataFlowDebugSession.js +0 -0
  975. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dataFlowOperations.js +0 -0
  976. /package/{dist-esm/src → dist/browser}/operationsInterfaces/datasetOperations.js +0 -0
  977. /package/{dist-esm/src → dist/browser}/operationsInterfaces/integrationRuntimes.js +0 -0
  978. /package/{dist-esm/src → dist/browser}/operationsInterfaces/kqlScriptOperations.js +0 -0
  979. /package/{dist-esm/src → dist/browser}/operationsInterfaces/kqlScripts.js +0 -0
  980. /package/{dist-esm/src → dist/browser}/operationsInterfaces/library.js +0 -0
  981. /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkConnectionOperations.js +0 -0
  982. /package/{dist-esm/src → dist/browser}/operationsInterfaces/linkedServiceOperations.js +0 -0
  983. /package/{dist-esm/src → dist/browser}/operationsInterfaces/metastore.js +0 -0
  984. /package/{dist-esm/src → dist/browser}/operationsInterfaces/notebookOperationResult.js +0 -0
  985. /package/{dist-esm/src → dist/browser}/operationsInterfaces/notebookOperations.js +0 -0
  986. /package/{dist-esm/src → dist/browser}/operationsInterfaces/pipelineOperations.js +0 -0
  987. /package/{dist-esm/src → dist/browser}/operationsInterfaces/pipelineRunOperations.js +0 -0
  988. /package/{dist-esm/src → dist/browser}/operationsInterfaces/runNotebook.js +0 -0
  989. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sparkConfigurationOperations.js +0 -0
  990. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sparkJobDefinitionOperations.js +0 -0
  991. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlPools.js +0 -0
  992. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sqlScriptOperations.js +0 -0
  993. /package/{dist-esm/src → dist/browser}/operationsInterfaces/triggerOperations.js +0 -0
  994. /package/{dist-esm/src → dist/browser}/operationsInterfaces/triggerRunOperations.js +0 -0
  995. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceGitRepoManagement.js +0 -0
  996. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceOperations.js +0 -0
@@ -5,17 +5,17 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { tracingClient } from "../tracing";
10
- import { setContinuationToken } from "../pagingHelper";
8
+ import { tracingClient } from "../tracing.js";
9
+ import { setContinuationToken } from "../pagingHelper.js";
11
10
  import * as coreClient from "@azure/core-client";
12
- import * as Mappers from "../models/mappers";
13
- import * as Parameters from "../models/parameters";
14
- import { createHttpPoller, } from "@azure/core-lro";
15
- import { createLroSpec } from "../lroImpl";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { createHttpPoller } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl.js";
16
15
  /// <reference lib="esnext.asynciterable" />
17
16
  /** Class containing TriggerOperations operations. */
18
17
  export class TriggerOperationsImpl {
18
+ client;
19
19
  /**
20
20
  * Initialize a new instance of the class TriggerOperations class.
21
21
  * @param client Reference to the service client
@@ -37,59 +37,42 @@ export class TriggerOperationsImpl {
37
37
  return this;
38
38
  },
39
39
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.getTriggersByWorkspacePagingPage(options, settings);
44
44
  },
45
45
  };
46
46
  }
47
- getTriggersByWorkspacePagingPage(options, settings) {
48
- return __asyncGenerator(this, arguments, function* getTriggersByWorkspacePagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield __await(this._getTriggersByWorkspace(options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- setContinuationToken(page, continuationToken);
56
- yield yield __await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield __await(this._getTriggersByWorkspaceNext(continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- setContinuationToken(page, continuationToken);
63
- yield yield __await(page);
64
- }
65
- });
47
+ async *getTriggersByWorkspacePagingPage(options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._getTriggersByWorkspace(options);
52
+ const page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._getTriggersByWorkspaceNext(continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ const page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield page;
63
+ }
66
64
  }
67
- getTriggersByWorkspacePagingAll(options) {
68
- return __asyncGenerator(this, arguments, function* getTriggersByWorkspacePagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = __asyncValues(this.getTriggersByWorkspacePagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
76
- }
77
- }
78
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
- finally {
80
- try {
81
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
65
+ async *getTriggersByWorkspacePagingAll(options) {
66
+ for await (const page of this.getTriggersByWorkspacePagingPage(options)) {
67
+ yield* page;
68
+ }
86
69
  }
87
70
  /**
88
71
  * Lists triggers.
89
72
  * @param options The options parameters.
90
73
  */
91
74
  async _getTriggersByWorkspace(options) {
92
- return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspace", options !== null && options !== void 0 ? options : {}, async (options) => {
75
+ return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspace", options ?? {}, async (options) => {
93
76
  return this.client.sendOperationRequest({ options }, getTriggersByWorkspaceOperationSpec);
94
77
  });
95
78
  }
@@ -101,19 +84,24 @@ export class TriggerOperationsImpl {
101
84
  */
102
85
  async beginCreateOrUpdateTrigger(triggerName, trigger, options) {
103
86
  const directSendOperation = async (args, spec) => {
104
- return tracingClient.withSpan("ArtifactsClient.beginCreateOrUpdateTrigger", options !== null && options !== void 0 ? options : {}, async () => {
87
+ return tracingClient.withSpan("ArtifactsClient.beginCreateOrUpdateTrigger", options ?? {}, async () => {
105
88
  return this.client.sendOperationRequest(args, spec);
106
89
  });
107
90
  };
108
91
  const sendOperationFn = async (args, spec) => {
109
- var _a;
110
92
  let currentRawResponse = undefined;
111
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
93
+ const providedCallback = args.options?.onResponse;
112
94
  const callback = (rawResponse, flatResponse) => {
113
95
  currentRawResponse = rawResponse;
114
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
96
+ providedCallback?.(rawResponse, flatResponse);
97
+ };
98
+ const updatedArgs = {
99
+ ...args,
100
+ options: {
101
+ ...args.options,
102
+ onResponse: callback,
103
+ },
115
104
  };
116
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
117
105
  const flatResponse = await directSendOperation(updatedArgs, spec);
118
106
  return {
119
107
  flatResponse,
@@ -130,8 +118,8 @@ export class TriggerOperationsImpl {
130
118
  spec: createOrUpdateTriggerOperationSpec,
131
119
  });
132
120
  const poller = await createHttpPoller(lro, {
133
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
134
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
121
+ restoreFrom: options?.resumeFrom,
122
+ intervalInMs: options?.updateIntervalInMs,
135
123
  });
136
124
  await poller.poll();
137
125
  return poller;
@@ -152,7 +140,7 @@ export class TriggerOperationsImpl {
152
140
  * @param options The options parameters.
153
141
  */
154
142
  async getTrigger(triggerName, options) {
155
- return tracingClient.withSpan("ArtifactsClient.getTrigger", options !== null && options !== void 0 ? options : {}, async (options) => {
143
+ return tracingClient.withSpan("ArtifactsClient.getTrigger", options ?? {}, async (options) => {
156
144
  return this.client.sendOperationRequest({ triggerName, options }, getTriggerOperationSpec);
157
145
  });
158
146
  }
@@ -163,19 +151,24 @@ export class TriggerOperationsImpl {
163
151
  */
164
152
  async beginDeleteTrigger(triggerName, options) {
165
153
  const directSendOperation = async (args, spec) => {
166
- return tracingClient.withSpan("ArtifactsClient.beginDeleteTrigger", options !== null && options !== void 0 ? options : {}, async () => {
154
+ return tracingClient.withSpan("ArtifactsClient.beginDeleteTrigger", options ?? {}, async () => {
167
155
  return this.client.sendOperationRequest(args, spec);
168
156
  });
169
157
  };
170
158
  const sendOperationFn = async (args, spec) => {
171
- var _a;
172
159
  let currentRawResponse = undefined;
173
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
160
+ const providedCallback = args.options?.onResponse;
174
161
  const callback = (rawResponse, flatResponse) => {
175
162
  currentRawResponse = rawResponse;
176
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
163
+ providedCallback?.(rawResponse, flatResponse);
164
+ };
165
+ const updatedArgs = {
166
+ ...args,
167
+ options: {
168
+ ...args.options,
169
+ onResponse: callback,
170
+ },
177
171
  };
178
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
179
172
  const flatResponse = await directSendOperation(updatedArgs, spec);
180
173
  return {
181
174
  flatResponse,
@@ -192,8 +185,8 @@ export class TriggerOperationsImpl {
192
185
  spec: deleteTriggerOperationSpec,
193
186
  });
194
187
  const poller = await createHttpPoller(lro, {
195
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
196
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
188
+ restoreFrom: options?.resumeFrom,
189
+ intervalInMs: options?.updateIntervalInMs,
197
190
  });
198
191
  await poller.poll();
199
192
  return poller;
@@ -214,19 +207,24 @@ export class TriggerOperationsImpl {
214
207
  */
215
208
  async beginSubscribeTriggerToEvents(triggerName, options) {
216
209
  const directSendOperation = async (args, spec) => {
217
- return tracingClient.withSpan("ArtifactsClient.beginSubscribeTriggerToEvents", options !== null && options !== void 0 ? options : {}, async () => {
210
+ return tracingClient.withSpan("ArtifactsClient.beginSubscribeTriggerToEvents", options ?? {}, async () => {
218
211
  return this.client.sendOperationRequest(args, spec);
219
212
  });
220
213
  };
221
214
  const sendOperationFn = async (args, spec) => {
222
- var _a;
223
215
  let currentRawResponse = undefined;
224
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
216
+ const providedCallback = args.options?.onResponse;
225
217
  const callback = (rawResponse, flatResponse) => {
226
218
  currentRawResponse = rawResponse;
227
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
219
+ providedCallback?.(rawResponse, flatResponse);
220
+ };
221
+ const updatedArgs = {
222
+ ...args,
223
+ options: {
224
+ ...args.options,
225
+ onResponse: callback,
226
+ },
228
227
  };
229
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
230
228
  const flatResponse = await directSendOperation(updatedArgs, spec);
231
229
  return {
232
230
  flatResponse,
@@ -243,8 +241,8 @@ export class TriggerOperationsImpl {
243
241
  spec: subscribeTriggerToEventsOperationSpec,
244
242
  });
245
243
  const poller = await createHttpPoller(lro, {
246
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
247
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
244
+ restoreFrom: options?.resumeFrom,
245
+ intervalInMs: options?.updateIntervalInMs,
248
246
  });
249
247
  await poller.poll();
250
248
  return poller;
@@ -264,7 +262,7 @@ export class TriggerOperationsImpl {
264
262
  * @param options The options parameters.
265
263
  */
266
264
  async getEventSubscriptionStatus(triggerName, options) {
267
- return tracingClient.withSpan("ArtifactsClient.getEventSubscriptionStatus", options !== null && options !== void 0 ? options : {}, async (options) => {
265
+ return tracingClient.withSpan("ArtifactsClient.getEventSubscriptionStatus", options ?? {}, async (options) => {
268
266
  return this.client.sendOperationRequest({ triggerName, options }, getEventSubscriptionStatusOperationSpec);
269
267
  });
270
268
  }
@@ -275,19 +273,24 @@ export class TriggerOperationsImpl {
275
273
  */
276
274
  async beginUnsubscribeTriggerFromEvents(triggerName, options) {
277
275
  const directSendOperation = async (args, spec) => {
278
- return tracingClient.withSpan("ArtifactsClient.beginUnsubscribeTriggerFromEvents", options !== null && options !== void 0 ? options : {}, async () => {
276
+ return tracingClient.withSpan("ArtifactsClient.beginUnsubscribeTriggerFromEvents", options ?? {}, async () => {
279
277
  return this.client.sendOperationRequest(args, spec);
280
278
  });
281
279
  };
282
280
  const sendOperationFn = async (args, spec) => {
283
- var _a;
284
281
  let currentRawResponse = undefined;
285
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
282
+ const providedCallback = args.options?.onResponse;
286
283
  const callback = (rawResponse, flatResponse) => {
287
284
  currentRawResponse = rawResponse;
288
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
285
+ providedCallback?.(rawResponse, flatResponse);
286
+ };
287
+ const updatedArgs = {
288
+ ...args,
289
+ options: {
290
+ ...args.options,
291
+ onResponse: callback,
292
+ },
289
293
  };
290
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
291
294
  const flatResponse = await directSendOperation(updatedArgs, spec);
292
295
  return {
293
296
  flatResponse,
@@ -304,8 +307,8 @@ export class TriggerOperationsImpl {
304
307
  spec: unsubscribeTriggerFromEventsOperationSpec,
305
308
  });
306
309
  const poller = await createHttpPoller(lro, {
307
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
308
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
310
+ restoreFrom: options?.resumeFrom,
311
+ intervalInMs: options?.updateIntervalInMs,
309
312
  });
310
313
  await poller.poll();
311
314
  return poller;
@@ -326,19 +329,24 @@ export class TriggerOperationsImpl {
326
329
  */
327
330
  async beginStartTrigger(triggerName, options) {
328
331
  const directSendOperation = async (args, spec) => {
329
- return tracingClient.withSpan("ArtifactsClient.beginStartTrigger", options !== null && options !== void 0 ? options : {}, async () => {
332
+ return tracingClient.withSpan("ArtifactsClient.beginStartTrigger", options ?? {}, async () => {
330
333
  return this.client.sendOperationRequest(args, spec);
331
334
  });
332
335
  };
333
336
  const sendOperationFn = async (args, spec) => {
334
- var _a;
335
337
  let currentRawResponse = undefined;
336
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
338
+ const providedCallback = args.options?.onResponse;
337
339
  const callback = (rawResponse, flatResponse) => {
338
340
  currentRawResponse = rawResponse;
339
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
341
+ providedCallback?.(rawResponse, flatResponse);
342
+ };
343
+ const updatedArgs = {
344
+ ...args,
345
+ options: {
346
+ ...args.options,
347
+ onResponse: callback,
348
+ },
340
349
  };
341
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
342
350
  const flatResponse = await directSendOperation(updatedArgs, spec);
343
351
  return {
344
352
  flatResponse,
@@ -355,8 +363,8 @@ export class TriggerOperationsImpl {
355
363
  spec: startTriggerOperationSpec,
356
364
  });
357
365
  const poller = await createHttpPoller(lro, {
358
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
359
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
366
+ restoreFrom: options?.resumeFrom,
367
+ intervalInMs: options?.updateIntervalInMs,
360
368
  });
361
369
  await poller.poll();
362
370
  return poller;
@@ -377,19 +385,24 @@ export class TriggerOperationsImpl {
377
385
  */
378
386
  async beginStopTrigger(triggerName, options) {
379
387
  const directSendOperation = async (args, spec) => {
380
- return tracingClient.withSpan("ArtifactsClient.beginStopTrigger", options !== null && options !== void 0 ? options : {}, async () => {
388
+ return tracingClient.withSpan("ArtifactsClient.beginStopTrigger", options ?? {}, async () => {
381
389
  return this.client.sendOperationRequest(args, spec);
382
390
  });
383
391
  };
384
392
  const sendOperationFn = async (args, spec) => {
385
- var _a;
386
393
  let currentRawResponse = undefined;
387
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
394
+ const providedCallback = args.options?.onResponse;
388
395
  const callback = (rawResponse, flatResponse) => {
389
396
  currentRawResponse = rawResponse;
390
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
397
+ providedCallback?.(rawResponse, flatResponse);
398
+ };
399
+ const updatedArgs = {
400
+ ...args,
401
+ options: {
402
+ ...args.options,
403
+ onResponse: callback,
404
+ },
391
405
  };
392
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
393
406
  const flatResponse = await directSendOperation(updatedArgs, spec);
394
407
  return {
395
408
  flatResponse,
@@ -406,8 +419,8 @@ export class TriggerOperationsImpl {
406
419
  spec: stopTriggerOperationSpec,
407
420
  });
408
421
  const poller = await createHttpPoller(lro, {
409
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
410
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
422
+ restoreFrom: options?.resumeFrom,
423
+ intervalInMs: options?.updateIntervalInMs,
411
424
  });
412
425
  await poller.poll();
413
426
  return poller;
@@ -427,7 +440,7 @@ export class TriggerOperationsImpl {
427
440
  * @param options The options parameters.
428
441
  */
429
442
  async _getTriggersByWorkspaceNext(nextLink, options) {
430
- return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspaceNext", options !== null && options !== void 0 ? options : {}, async (options) => {
443
+ return tracingClient.withSpan("ArtifactsClient._getTriggersByWorkspaceNext", options ?? {}, async (options) => {
431
444
  return this.client.sendOperationRequest({ nextLink, options }, getTriggersByWorkspaceNextOperationSpec);
432
445
  });
433
446
  }
@@ -473,11 +486,7 @@ const createOrUpdateTriggerOperationSpec = {
473
486
  requestBody: Parameters.trigger,
474
487
  queryParameters: [Parameters.apiVersion5],
475
488
  urlParameters: [Parameters.endpoint, Parameters.triggerName],
476
- headerParameters: [
477
- Parameters.accept,
478
- Parameters.contentType,
479
- Parameters.ifMatch,
480
- ],
489
+ headerParameters: [Parameters.accept, Parameters.contentType, Parameters.ifMatch],
481
490
  mediaType: "json",
482
491
  serializer,
483
492
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggerOperations.js","sourceRoot":"","sources":["../../../src/operations/triggerOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAsB9C,4CAA4C;AAC5C,qDAAqD;AACrD,MAAM,OAAO,qBAAqB;IACf,MAAM,CAAkB;IAEzC;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,uBAAuB,CAC5B,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,+BAA+B,CAAC,OAAO,CAAC,CAAC;QAC3D,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,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AE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IACzD,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 { tracingClient } from \"../tracing.js\";\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { TriggerOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ArtifactsClient } from \"../artifactsClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n TriggerResource,\n TriggerGetTriggersByWorkspaceNextOptionalParams,\n TriggerGetTriggersByWorkspaceOptionalParams,\n TriggerGetTriggersByWorkspaceResponse,\n TriggerCreateOrUpdateTriggerOptionalParams,\n TriggerCreateOrUpdateTriggerResponse,\n TriggerGetTriggerOptionalParams,\n TriggerGetTriggerResponse,\n TriggerDeleteTriggerOptionalParams,\n TriggerSubscribeTriggerToEventsOptionalParams,\n TriggerSubscribeTriggerToEventsResponse,\n TriggerGetEventSubscriptionStatusOptionalParams,\n TriggerGetEventSubscriptionStatusResponse,\n TriggerUnsubscribeTriggerFromEventsOptionalParams,\n TriggerUnsubscribeTriggerFromEventsResponse,\n TriggerStartTriggerOptionalParams,\n TriggerStopTriggerOptionalParams,\n TriggerGetTriggersByWorkspaceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TriggerOperations operations. */\nexport class TriggerOperationsImpl implements TriggerOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class TriggerOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Lists triggers.\n * @param options The options parameters.\n */\n public listTriggersByWorkspace(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n ): PagedAsyncIterableIterator<TriggerResource> {\n const iter = this.getTriggersByWorkspacePagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.getTriggersByWorkspacePagingPage(options, settings);\n },\n };\n }\n\n private async *getTriggersByWorkspacePagingPage(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<TriggerResource[]> {\n let result: TriggerGetTriggersByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._getTriggersByWorkspace(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._getTriggersByWorkspaceNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *getTriggersByWorkspacePagingAll(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n ): AsyncIterableIterator<TriggerResource> {\n for await (const page of this.getTriggersByWorkspacePagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists triggers.\n * @param options The options parameters.\n */\n private async _getTriggersByWorkspace(\n options?: TriggerGetTriggersByWorkspaceOptionalParams,\n ): Promise<TriggerGetTriggersByWorkspaceResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient._getTriggersByWorkspace\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getTriggersByWorkspaceOperationSpec,\n ) as Promise<TriggerGetTriggersByWorkspaceResponse>;\n },\n );\n }\n\n /**\n * Creates or updates a trigger.\n * @param triggerName The trigger name.\n * @param trigger Trigger resource definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateTrigger(\n triggerName: string,\n trigger: TriggerResource,\n options?: TriggerCreateOrUpdateTriggerOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TriggerCreateOrUpdateTriggerResponse>,\n TriggerCreateOrUpdateTriggerResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TriggerCreateOrUpdateTriggerResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginCreateOrUpdateTrigger\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(\n args,\n spec,\n ) as Promise<TriggerCreateOrUpdateTriggerResponse>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, trigger, options },\n spec: createOrUpdateTriggerOperationSpec,\n });\n const poller = await createHttpPoller<\n TriggerCreateOrUpdateTriggerResponse,\n OperationState<TriggerCreateOrUpdateTriggerResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a trigger.\n * @param triggerName The trigger name.\n * @param trigger Trigger resource definition.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateTriggerAndWait(\n triggerName: string,\n trigger: TriggerResource,\n options?: TriggerCreateOrUpdateTriggerOptionalParams,\n ): Promise<TriggerCreateOrUpdateTriggerResponse> {\n const poller = await this.beginCreateOrUpdateTrigger(triggerName, trigger, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async getTrigger(\n triggerName: string,\n options?: TriggerGetTriggerOptionalParams,\n ): Promise<TriggerGetTriggerResponse> {\n return tracingClient.withSpan(\"ArtifactsClient.getTrigger\", options ?? {}, async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, options },\n getTriggerOperationSpec,\n ) as Promise<TriggerGetTriggerResponse>;\n });\n }\n\n /**\n * Deletes a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginDeleteTrigger(\n triggerName: string,\n options?: TriggerDeleteTriggerOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginDeleteTrigger\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<void>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: deleteTriggerOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginDeleteTriggerAndWait(\n triggerName: string,\n options?: TriggerDeleteTriggerOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDeleteTrigger(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Subscribe event trigger to events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginSubscribeTriggerToEvents(\n triggerName: string,\n options?: TriggerSubscribeTriggerToEventsOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TriggerSubscribeTriggerToEventsResponse>,\n TriggerSubscribeTriggerToEventsResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TriggerSubscribeTriggerToEventsResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginSubscribeTriggerToEvents\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(\n args,\n spec,\n ) as Promise<TriggerSubscribeTriggerToEventsResponse>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: subscribeTriggerToEventsOperationSpec,\n });\n const poller = await createHttpPoller<\n TriggerSubscribeTriggerToEventsResponse,\n OperationState<TriggerSubscribeTriggerToEventsResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Subscribe event trigger to events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginSubscribeTriggerToEventsAndWait(\n triggerName: string,\n options?: TriggerSubscribeTriggerToEventsOptionalParams,\n ): Promise<TriggerSubscribeTriggerToEventsResponse> {\n const poller = await this.beginSubscribeTriggerToEvents(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Get a trigger's event subscription status.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async getEventSubscriptionStatus(\n triggerName: string,\n options?: TriggerGetEventSubscriptionStatusOptionalParams,\n ): Promise<TriggerGetEventSubscriptionStatusResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.getEventSubscriptionStatus\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, options },\n getEventSubscriptionStatusOperationSpec,\n ) as Promise<TriggerGetEventSubscriptionStatusResponse>;\n },\n );\n }\n\n /**\n * Unsubscribe event trigger from events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginUnsubscribeTriggerFromEvents(\n triggerName: string,\n options?: TriggerUnsubscribeTriggerFromEventsOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TriggerUnsubscribeTriggerFromEventsResponse>,\n TriggerUnsubscribeTriggerFromEventsResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TriggerUnsubscribeTriggerFromEventsResponse> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginUnsubscribeTriggerFromEvents\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(\n args,\n spec,\n ) as Promise<TriggerUnsubscribeTriggerFromEventsResponse>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: unsubscribeTriggerFromEventsOperationSpec,\n });\n const poller = await createHttpPoller<\n TriggerUnsubscribeTriggerFromEventsResponse,\n OperationState<TriggerUnsubscribeTriggerFromEventsResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Unsubscribe event trigger from events.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginUnsubscribeTriggerFromEventsAndWait(\n triggerName: string,\n options?: TriggerUnsubscribeTriggerFromEventsOptionalParams,\n ): Promise<TriggerUnsubscribeTriggerFromEventsResponse> {\n const poller = await this.beginUnsubscribeTriggerFromEvents(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Starts a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStartTrigger(\n triggerName: string,\n options?: TriggerStartTriggerOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return tracingClient.withSpan(\n \"ArtifactsClient.beginStartTrigger\",\n options ?? {},\n async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<void>;\n },\n );\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: startTriggerOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStartTriggerAndWait(\n triggerName: string,\n options?: TriggerStartTriggerOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStartTrigger(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Stops a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStopTrigger(\n triggerName: string,\n options?: TriggerStopTriggerOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return tracingClient.withSpan(\"ArtifactsClient.beginStopTrigger\", options ?? {}, async () => {\n return this.client.sendOperationRequest(args, spec) as Promise<void>;\n });\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { triggerName, options },\n spec: stopTriggerOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops a trigger.\n * @param triggerName The trigger name.\n * @param options The options parameters.\n */\n async beginStopTriggerAndWait(\n triggerName: string,\n options?: TriggerStopTriggerOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStopTrigger(triggerName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * GetTriggersByWorkspaceNext\n * @param nextLink The nextLink from the previous successful call to the GetTriggersByWorkspace method.\n * @param options The options parameters.\n */\n private async _getTriggersByWorkspaceNext(\n nextLink: string,\n options?: TriggerGetTriggersByWorkspaceNextOptionalParams,\n ): Promise<TriggerGetTriggersByWorkspaceNextResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient._getTriggersByWorkspaceNext\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { nextLink, options },\n getTriggersByWorkspaceNextOperationSpec,\n ) as Promise<TriggerGetTriggersByWorkspaceNextResponse>;\n },\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getTriggersByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerResource,\n },\n 201: {\n bodyMapper: Mappers.TriggerResource,\n },\n 202: {\n bodyMapper: Mappers.TriggerResource,\n },\n 204: {\n bodyMapper: Mappers.TriggerResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.trigger,\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept, Parameters.contentType, Parameters.ifMatch],\n mediaType: \"json\",\n serializer,\n};\nconst getTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerResource,\n },\n 304: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer,\n};\nconst deleteTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst subscribeTriggerToEventsOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/subscribeToEvents\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 201: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 202: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 204: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getEventSubscriptionStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/getEventSubscriptionStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst unsubscribeTriggerFromEventsOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/unsubscribeFromEvents\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 201: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 202: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n 204: {\n bodyMapper: Mappers.TriggerSubscriptionOperationStatus,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopTriggerOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getTriggersByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,33 @@
1
+ import type { TriggerRunOperations } from "../operationsInterfaces/index.js";
2
+ import type { ArtifactsClient } from "../artifactsClient.js";
3
+ import type { TriggerRunRerunTriggerInstanceOptionalParams, TriggerRunCancelTriggerInstanceOptionalParams, RunFilterParameters, TriggerRunQueryTriggerRunsByWorkspaceOptionalParams, TriggerRunQueryTriggerRunsByWorkspaceResponse } from "../models/index.js";
4
+ /** Class containing TriggerRunOperations operations. */
5
+ export declare class TriggerRunOperationsImpl implements TriggerRunOperations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class TriggerRunOperations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: ArtifactsClient);
12
+ /**
13
+ * Rerun single trigger instance by runId.
14
+ * @param triggerName The trigger name.
15
+ * @param runId The pipeline run identifier.
16
+ * @param options The options parameters.
17
+ */
18
+ rerunTriggerInstance(triggerName: string, runId: string, options?: TriggerRunRerunTriggerInstanceOptionalParams): Promise<void>;
19
+ /**
20
+ * Cancel single trigger instance by runId.
21
+ * @param triggerName The trigger name.
22
+ * @param runId The pipeline run identifier.
23
+ * @param options The options parameters.
24
+ */
25
+ cancelTriggerInstance(triggerName: string, runId: string, options?: TriggerRunCancelTriggerInstanceOptionalParams): Promise<void>;
26
+ /**
27
+ * Query trigger runs.
28
+ * @param filterParameters Parameters to filter the pipeline run.
29
+ * @param options The options parameters.
30
+ */
31
+ queryTriggerRunsByWorkspace(filterParameters: RunFilterParameters, options?: TriggerRunQueryTriggerRunsByWorkspaceOptionalParams): Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse>;
32
+ }
33
+ //# sourceMappingURL=triggerRunOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggerRunOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/triggerRunOperations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EACV,4CAA4C,EAC5C,6CAA6C,EAC7C,mBAAmB,EACnB,mDAAmD,EACnD,6CAA6C,EAC9C,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;;OAKG;IACG,oBAAoB,CACxB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;OAKG;IACG,qBAAqB,CACzB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,IAAI,CAAC;IAahB;;;;OAIG;IACG,2BAA2B,CAC/B,gBAAgB,EAAE,mBAAmB,EACrC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;CAY1D"}
@@ -5,12 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { tracingClient } from "../tracing";
8
+ import { tracingClient } from "../tracing.js";
9
9
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
12
  /** Class containing TriggerRunOperations operations. */
13
13
  export class TriggerRunOperationsImpl {
14
+ client;
14
15
  /**
15
16
  * Initialize a new instance of the class TriggerRunOperations class.
16
17
  * @param client Reference to the service client
@@ -25,7 +26,7 @@ export class TriggerRunOperationsImpl {
25
26
  * @param options The options parameters.
26
27
  */
27
28
  async rerunTriggerInstance(triggerName, runId, options) {
28
- return tracingClient.withSpan("ArtifactsClient.rerunTriggerInstance", options !== null && options !== void 0 ? options : {}, async (options) => {
29
+ return tracingClient.withSpan("ArtifactsClient.rerunTriggerInstance", options ?? {}, async (options) => {
29
30
  return this.client.sendOperationRequest({ triggerName, runId, options }, rerunTriggerInstanceOperationSpec);
30
31
  });
31
32
  }
@@ -36,7 +37,7 @@ export class TriggerRunOperationsImpl {
36
37
  * @param options The options parameters.
37
38
  */
38
39
  async cancelTriggerInstance(triggerName, runId, options) {
39
- return tracingClient.withSpan("ArtifactsClient.cancelTriggerInstance", options !== null && options !== void 0 ? options : {}, async (options) => {
40
+ return tracingClient.withSpan("ArtifactsClient.cancelTriggerInstance", options ?? {}, async (options) => {
40
41
  return this.client.sendOperationRequest({ triggerName, runId, options }, cancelTriggerInstanceOperationSpec);
41
42
  });
42
43
  }
@@ -46,7 +47,7 @@ export class TriggerRunOperationsImpl {
46
47
  * @param options The options parameters.
47
48
  */
48
49
  async queryTriggerRunsByWorkspace(filterParameters, options) {
49
- return tracingClient.withSpan("ArtifactsClient.queryTriggerRunsByWorkspace", options !== null && options !== void 0 ? options : {}, async (options) => {
50
+ return tracingClient.withSpan("ArtifactsClient.queryTriggerRunsByWorkspace", options ?? {}, async (options) => {
50
51
  return this.client.sendOperationRequest({ filterParameters, options }, queryTriggerRunsByWorkspaceOperationSpec);
51
52
  });
52
53
  }
@@ -63,11 +64,7 @@ const rerunTriggerInstanceOperationSpec = {
63
64
  },
64
65
  },
65
66
  queryParameters: [Parameters.apiVersion5],
66
- urlParameters: [
67
- Parameters.endpoint,
68
- Parameters.runId1,
69
- Parameters.triggerName,
70
- ],
67
+ urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],
71
68
  headerParameters: [Parameters.accept],
72
69
  serializer,
73
70
  };
@@ -81,11 +78,7 @@ const cancelTriggerInstanceOperationSpec = {
81
78
  },
82
79
  },
83
80
  queryParameters: [Parameters.apiVersion5],
84
- urlParameters: [
85
- Parameters.endpoint,
86
- Parameters.runId1,
87
- Parameters.triggerName,
88
- ],
81
+ urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],
89
82
  headerParameters: [Parameters.accept],
90
83
  serializer,
91
84
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggerRunOperations.js","sourceRoot":"","sources":["../../../src/operations/triggerRunOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK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AAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { tracingClient } from \"../tracing.js\";\nimport type { TriggerRunOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { ArtifactsClient } from \"../artifactsClient.js\";\nimport type {\n TriggerRunRerunTriggerInstanceOptionalParams,\n TriggerRunCancelTriggerInstanceOptionalParams,\n RunFilterParameters,\n TriggerRunQueryTriggerRunsByWorkspaceOptionalParams,\n TriggerRunQueryTriggerRunsByWorkspaceResponse,\n} from \"../models/index.js\";\n\n/** Class containing TriggerRunOperations operations. */\nexport class TriggerRunOperationsImpl implements TriggerRunOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class TriggerRunOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Rerun single trigger instance by runId.\n * @param triggerName The trigger name.\n * @param runId The pipeline run identifier.\n * @param options The options parameters.\n */\n async rerunTriggerInstance(\n triggerName: string,\n runId: string,\n options?: TriggerRunRerunTriggerInstanceOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.rerunTriggerInstance\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, options },\n rerunTriggerInstanceOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Cancel single trigger instance by runId.\n * @param triggerName The trigger name.\n * @param runId The pipeline run identifier.\n * @param options The options parameters.\n */\n async cancelTriggerInstance(\n triggerName: string,\n runId: string,\n options?: TriggerRunCancelTriggerInstanceOptionalParams,\n ): Promise<void> {\n return tracingClient.withSpan(\n \"ArtifactsClient.cancelTriggerInstance\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, options },\n cancelTriggerInstanceOperationSpec,\n ) as Promise<void>;\n },\n );\n }\n\n /**\n * Query trigger runs.\n * @param filterParameters Parameters to filter the pipeline run.\n * @param options The options parameters.\n */\n async queryTriggerRunsByWorkspace(\n filterParameters: RunFilterParameters,\n options?: TriggerRunQueryTriggerRunsByWorkspaceOptionalParams,\n ): Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.queryTriggerRunsByWorkspace\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { filterParameters, options },\n queryTriggerRunsByWorkspaceOperationSpec,\n ) as Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse>;\n },\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst rerunTriggerInstanceOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/triggerRuns/{runId}/rerun\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelTriggerInstanceOperationSpec: coreClient.OperationSpec = {\n path: \"/triggers/{triggerName}/triggerRuns/{runId}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint, Parameters.runId1, Parameters.triggerName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst queryTriggerRunsByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path: \"/queryTriggerRuns\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TriggerRunsQueryResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.filterParameters,\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}