@azure/synapse-artifacts 1.0.0-alpha.20250620.1 → 1.0.0-alpha.20250730.1

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 (226) hide show
  1. package/dist/browser/artifactsClient.js +34 -5
  2. package/dist/browser/artifactsClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +6060 -2770
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/bigDataPools.js +3 -2
  8. package/dist/browser/operations/bigDataPools.js.map +1 -1
  9. package/dist/browser/operations/dataFlowDebugSession.js +51 -58
  10. package/dist/browser/operations/dataFlowDebugSession.js.map +1 -1
  11. package/dist/browser/operations/dataFlowOperations.js +62 -64
  12. package/dist/browser/operations/dataFlowOperations.js.map +1 -1
  13. package/dist/browser/operations/datasetOperations.js +62 -64
  14. package/dist/browser/operations/datasetOperations.js.map +1 -1
  15. package/dist/browser/operations/integrationRuntimes.js +3 -2
  16. package/dist/browser/operations/integrationRuntimes.js.map +1 -1
  17. package/dist/browser/operations/kqlScriptOperations.js +38 -22
  18. package/dist/browser/operations/kqlScriptOperations.js.map +1 -1
  19. package/dist/browser/operations/kqlScripts.js +25 -42
  20. package/dist/browser/operations/kqlScripts.js.map +1 -1
  21. package/dist/browser/operations/library.js +64 -66
  22. package/dist/browser/operations/library.js.map +1 -1
  23. package/dist/browser/operations/linkConnectionOperations.js +37 -54
  24. package/dist/browser/operations/linkConnectionOperations.js.map +1 -1
  25. package/dist/browser/operations/linkedServiceOperations.js +62 -64
  26. package/dist/browser/operations/linkedServiceOperations.js.map +1 -1
  27. package/dist/browser/operations/metastore.js +5 -4
  28. package/dist/browser/operations/metastore.js.map +1 -1
  29. package/dist/browser/operations/notebookOperationResult.js +2 -1
  30. package/dist/browser/operations/notebookOperationResult.js.map +1 -1
  31. package/dist/browser/operations/notebookOperations.js +86 -105
  32. package/dist/browser/operations/notebookOperations.js.map +1 -1
  33. package/dist/browser/operations/pipelineOperations.js +63 -65
  34. package/dist/browser/operations/pipelineOperations.js.map +1 -1
  35. package/dist/browser/operations/pipelineRunOperations.js +5 -4
  36. package/dist/browser/operations/pipelineRunOperations.js.map +1 -1
  37. package/dist/browser/operations/runNotebook.js +16 -10
  38. package/dist/browser/operations/runNotebook.js.map +1 -1
  39. package/dist/browser/operations/sparkConfigurationOperations.js +62 -64
  40. package/dist/browser/operations/sparkConfigurationOperations.js.map +1 -1
  41. package/dist/browser/operations/sparkJobDefinitionOperations.js +86 -78
  42. package/dist/browser/operations/sparkJobDefinitionOperations.js.map +1 -1
  43. package/dist/browser/operations/sqlPools.js +3 -2
  44. package/dist/browser/operations/sqlPools.js.map +1 -1
  45. package/dist/browser/operations/sqlScriptOperations.js +62 -64
  46. package/dist/browser/operations/sqlScriptOperations.js.map +1 -1
  47. package/dist/browser/operations/triggerOperations.js +99 -86
  48. package/dist/browser/operations/triggerOperations.js.map +1 -1
  49. package/dist/browser/operations/triggerRunOperations.js +4 -3
  50. package/dist/browser/operations/triggerRunOperations.js.map +1 -1
  51. package/dist/browser/operations/workspaceGitRepoManagement.js +2 -1
  52. package/dist/browser/operations/workspaceGitRepoManagement.js.map +1 -1
  53. package/dist/browser/operations/workspaceOperations.js +2 -1
  54. package/dist/browser/operations/workspaceOperations.js.map +1 -1
  55. package/dist/browser/pagingHelper.js +2 -4
  56. package/dist/browser/pagingHelper.js.map +1 -1
  57. package/dist/commonjs/artifactsClient.js +34 -5
  58. package/dist/commonjs/artifactsClient.js.map +1 -1
  59. package/dist/commonjs/lroImpl.js +7 -3
  60. package/dist/commonjs/lroImpl.js.map +1 -1
  61. package/dist/commonjs/models/mappers.js +6060 -2770
  62. package/dist/commonjs/models/mappers.js.map +1 -1
  63. package/dist/commonjs/operations/bigDataPools.js +3 -2
  64. package/dist/commonjs/operations/bigDataPools.js.map +1 -1
  65. package/dist/commonjs/operations/dataFlowDebugSession.js +51 -57
  66. package/dist/commonjs/operations/dataFlowDebugSession.js.map +1 -1
  67. package/dist/commonjs/operations/dataFlowOperations.js +62 -63
  68. package/dist/commonjs/operations/dataFlowOperations.js.map +1 -1
  69. package/dist/commonjs/operations/datasetOperations.js +62 -63
  70. package/dist/commonjs/operations/datasetOperations.js.map +1 -1
  71. package/dist/commonjs/operations/integrationRuntimes.js +3 -2
  72. package/dist/commonjs/operations/integrationRuntimes.js.map +1 -1
  73. package/dist/commonjs/operations/kqlScriptOperations.js +38 -22
  74. package/dist/commonjs/operations/kqlScriptOperations.js.map +1 -1
  75. package/dist/commonjs/operations/kqlScripts.js +25 -41
  76. package/dist/commonjs/operations/kqlScripts.js.map +1 -1
  77. package/dist/commonjs/operations/library.js +64 -65
  78. package/dist/commonjs/operations/library.js.map +1 -1
  79. package/dist/commonjs/operations/linkConnectionOperations.js +37 -53
  80. package/dist/commonjs/operations/linkConnectionOperations.js.map +1 -1
  81. package/dist/commonjs/operations/linkedServiceOperations.js +62 -63
  82. package/dist/commonjs/operations/linkedServiceOperations.js.map +1 -1
  83. package/dist/commonjs/operations/metastore.js +5 -4
  84. package/dist/commonjs/operations/metastore.js.map +1 -1
  85. package/dist/commonjs/operations/notebookOperationResult.js +2 -1
  86. package/dist/commonjs/operations/notebookOperationResult.js.map +1 -1
  87. package/dist/commonjs/operations/notebookOperations.js +86 -104
  88. package/dist/commonjs/operations/notebookOperations.js.map +1 -1
  89. package/dist/commonjs/operations/pipelineOperations.js +63 -64
  90. package/dist/commonjs/operations/pipelineOperations.js.map +1 -1
  91. package/dist/commonjs/operations/pipelineRunOperations.js +5 -4
  92. package/dist/commonjs/operations/pipelineRunOperations.js.map +1 -1
  93. package/dist/commonjs/operations/runNotebook.js +16 -10
  94. package/dist/commonjs/operations/runNotebook.js.map +1 -1
  95. package/dist/commonjs/operations/sparkConfigurationOperations.js +62 -63
  96. package/dist/commonjs/operations/sparkConfigurationOperations.js.map +1 -1
  97. package/dist/commonjs/operations/sparkJobDefinitionOperations.js +86 -77
  98. package/dist/commonjs/operations/sparkJobDefinitionOperations.js.map +1 -1
  99. package/dist/commonjs/operations/sqlPools.js +3 -2
  100. package/dist/commonjs/operations/sqlPools.js.map +1 -1
  101. package/dist/commonjs/operations/sqlScriptOperations.js +62 -63
  102. package/dist/commonjs/operations/sqlScriptOperations.js.map +1 -1
  103. package/dist/commonjs/operations/triggerOperations.js +99 -85
  104. package/dist/commonjs/operations/triggerOperations.js.map +1 -1
  105. package/dist/commonjs/operations/triggerRunOperations.js +4 -3
  106. package/dist/commonjs/operations/triggerRunOperations.js.map +1 -1
  107. package/dist/commonjs/operations/workspaceGitRepoManagement.js +2 -1
  108. package/dist/commonjs/operations/workspaceGitRepoManagement.js.map +1 -1
  109. package/dist/commonjs/operations/workspaceOperations.js +2 -1
  110. package/dist/commonjs/operations/workspaceOperations.js.map +1 -1
  111. package/dist/commonjs/pagingHelper.js +2 -4
  112. package/dist/commonjs/pagingHelper.js.map +1 -1
  113. package/dist/commonjs/tsdoc-metadata.json +11 -11
  114. package/dist/esm/artifactsClient.js +34 -5
  115. package/dist/esm/artifactsClient.js.map +1 -1
  116. package/dist/esm/lroImpl.js +7 -3
  117. package/dist/esm/lroImpl.js.map +1 -1
  118. package/dist/esm/models/mappers.js +6060 -2770
  119. package/dist/esm/models/mappers.js.map +1 -1
  120. package/dist/esm/operations/bigDataPools.js +3 -2
  121. package/dist/esm/operations/bigDataPools.js.map +1 -1
  122. package/dist/esm/operations/dataFlowDebugSession.js +51 -58
  123. package/dist/esm/operations/dataFlowDebugSession.js.map +1 -1
  124. package/dist/esm/operations/dataFlowOperations.js +62 -64
  125. package/dist/esm/operations/dataFlowOperations.js.map +1 -1
  126. package/dist/esm/operations/datasetOperations.js +62 -64
  127. package/dist/esm/operations/datasetOperations.js.map +1 -1
  128. package/dist/esm/operations/integrationRuntimes.js +3 -2
  129. package/dist/esm/operations/integrationRuntimes.js.map +1 -1
  130. package/dist/esm/operations/kqlScriptOperations.js +38 -22
  131. package/dist/esm/operations/kqlScriptOperations.js.map +1 -1
  132. package/dist/esm/operations/kqlScripts.js +25 -42
  133. package/dist/esm/operations/kqlScripts.js.map +1 -1
  134. package/dist/esm/operations/library.js +64 -66
  135. package/dist/esm/operations/library.js.map +1 -1
  136. package/dist/esm/operations/linkConnectionOperations.js +37 -54
  137. package/dist/esm/operations/linkConnectionOperations.js.map +1 -1
  138. package/dist/esm/operations/linkedServiceOperations.js +62 -64
  139. package/dist/esm/operations/linkedServiceOperations.js.map +1 -1
  140. package/dist/esm/operations/metastore.js +5 -4
  141. package/dist/esm/operations/metastore.js.map +1 -1
  142. package/dist/esm/operations/notebookOperationResult.js +2 -1
  143. package/dist/esm/operations/notebookOperationResult.js.map +1 -1
  144. package/dist/esm/operations/notebookOperations.js +86 -105
  145. package/dist/esm/operations/notebookOperations.js.map +1 -1
  146. package/dist/esm/operations/pipelineOperations.js +63 -65
  147. package/dist/esm/operations/pipelineOperations.js.map +1 -1
  148. package/dist/esm/operations/pipelineRunOperations.js +5 -4
  149. package/dist/esm/operations/pipelineRunOperations.js.map +1 -1
  150. package/dist/esm/operations/runNotebook.js +16 -10
  151. package/dist/esm/operations/runNotebook.js.map +1 -1
  152. package/dist/esm/operations/sparkConfigurationOperations.js +62 -64
  153. package/dist/esm/operations/sparkConfigurationOperations.js.map +1 -1
  154. package/dist/esm/operations/sparkJobDefinitionOperations.js +86 -78
  155. package/dist/esm/operations/sparkJobDefinitionOperations.js.map +1 -1
  156. package/dist/esm/operations/sqlPools.js +3 -2
  157. package/dist/esm/operations/sqlPools.js.map +1 -1
  158. package/dist/esm/operations/sqlScriptOperations.js +62 -64
  159. package/dist/esm/operations/sqlScriptOperations.js.map +1 -1
  160. package/dist/esm/operations/triggerOperations.js +99 -86
  161. package/dist/esm/operations/triggerOperations.js.map +1 -1
  162. package/dist/esm/operations/triggerRunOperations.js +4 -3
  163. package/dist/esm/operations/triggerRunOperations.js.map +1 -1
  164. package/dist/esm/operations/workspaceGitRepoManagement.js +2 -1
  165. package/dist/esm/operations/workspaceGitRepoManagement.js.map +1 -1
  166. package/dist/esm/operations/workspaceOperations.js +2 -1
  167. package/dist/esm/operations/workspaceOperations.js.map +1 -1
  168. package/dist/esm/pagingHelper.js +2 -4
  169. package/dist/esm/pagingHelper.js.map +1 -1
  170. package/dist/react-native/artifactsClient.js +34 -5
  171. package/dist/react-native/artifactsClient.js.map +1 -1
  172. package/dist/react-native/lroImpl.js +7 -3
  173. package/dist/react-native/lroImpl.js.map +1 -1
  174. package/dist/react-native/models/mappers.js +6060 -2770
  175. package/dist/react-native/models/mappers.js.map +1 -1
  176. package/dist/react-native/operations/bigDataPools.js +3 -2
  177. package/dist/react-native/operations/bigDataPools.js.map +1 -1
  178. package/dist/react-native/operations/dataFlowDebugSession.js +51 -58
  179. package/dist/react-native/operations/dataFlowDebugSession.js.map +1 -1
  180. package/dist/react-native/operations/dataFlowOperations.js +62 -64
  181. package/dist/react-native/operations/dataFlowOperations.js.map +1 -1
  182. package/dist/react-native/operations/datasetOperations.js +62 -64
  183. package/dist/react-native/operations/datasetOperations.js.map +1 -1
  184. package/dist/react-native/operations/integrationRuntimes.js +3 -2
  185. package/dist/react-native/operations/integrationRuntimes.js.map +1 -1
  186. package/dist/react-native/operations/kqlScriptOperations.js +38 -22
  187. package/dist/react-native/operations/kqlScriptOperations.js.map +1 -1
  188. package/dist/react-native/operations/kqlScripts.js +25 -42
  189. package/dist/react-native/operations/kqlScripts.js.map +1 -1
  190. package/dist/react-native/operations/library.js +64 -66
  191. package/dist/react-native/operations/library.js.map +1 -1
  192. package/dist/react-native/operations/linkConnectionOperations.js +37 -54
  193. package/dist/react-native/operations/linkConnectionOperations.js.map +1 -1
  194. package/dist/react-native/operations/linkedServiceOperations.js +62 -64
  195. package/dist/react-native/operations/linkedServiceOperations.js.map +1 -1
  196. package/dist/react-native/operations/metastore.js +5 -4
  197. package/dist/react-native/operations/metastore.js.map +1 -1
  198. package/dist/react-native/operations/notebookOperationResult.js +2 -1
  199. package/dist/react-native/operations/notebookOperationResult.js.map +1 -1
  200. package/dist/react-native/operations/notebookOperations.js +86 -105
  201. package/dist/react-native/operations/notebookOperations.js.map +1 -1
  202. package/dist/react-native/operations/pipelineOperations.js +63 -65
  203. package/dist/react-native/operations/pipelineOperations.js.map +1 -1
  204. package/dist/react-native/operations/pipelineRunOperations.js +5 -4
  205. package/dist/react-native/operations/pipelineRunOperations.js.map +1 -1
  206. package/dist/react-native/operations/runNotebook.js +16 -10
  207. package/dist/react-native/operations/runNotebook.js.map +1 -1
  208. package/dist/react-native/operations/sparkConfigurationOperations.js +62 -64
  209. package/dist/react-native/operations/sparkConfigurationOperations.js.map +1 -1
  210. package/dist/react-native/operations/sparkJobDefinitionOperations.js +86 -78
  211. package/dist/react-native/operations/sparkJobDefinitionOperations.js.map +1 -1
  212. package/dist/react-native/operations/sqlPools.js +3 -2
  213. package/dist/react-native/operations/sqlPools.js.map +1 -1
  214. package/dist/react-native/operations/sqlScriptOperations.js +62 -64
  215. package/dist/react-native/operations/sqlScriptOperations.js.map +1 -1
  216. package/dist/react-native/operations/triggerOperations.js +99 -86
  217. package/dist/react-native/operations/triggerOperations.js.map +1 -1
  218. package/dist/react-native/operations/triggerRunOperations.js +4 -3
  219. package/dist/react-native/operations/triggerRunOperations.js.map +1 -1
  220. package/dist/react-native/operations/workspaceGitRepoManagement.js +2 -1
  221. package/dist/react-native/operations/workspaceGitRepoManagement.js.map +1 -1
  222. package/dist/react-native/operations/workspaceOperations.js +2 -1
  223. package/dist/react-native/operations/workspaceOperations.js.map +1 -1
  224. package/dist/react-native/pagingHelper.js +2 -4
  225. package/dist/react-native/pagingHelper.js.map +1 -1
  226. package/package.json +2 -2
@@ -1 +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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D,OAAO,aAAa,CAAC,QAAQ,CAC3B,6CAA6C,EAC7C,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,cAAc,EAAE,EACpC,wCAAwC,CACiB,CAAC;QAC9D,CAAC,CACF,CAAC;IACJ,CAAC;CACF","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// 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\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 // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, updatedOptions },\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, updatedOptions },\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { filterParameters, updatedOptions },\n queryTriggerRunsByWorkspaceOperationSpec,\n ) as Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse>;\n },\n );\n }\n}\n"]}
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,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,mDAAmD;IACzD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC/E,gBAAgB,EAAE,CAAC,UAAU,CAAC,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KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,EAAE,EACtC,iCAAiC,CACjB,CAAC;QACrB,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,qBAAqB,CACzB,WAAmB,EACnB,KAAa,EACb,OAAuD;QAEvD,OAAO,aAAa,CAAC,QAAQ,CAC3B,uCAAuC,EACvC,OAAO,IAAI,EAAE,EACb,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,EAAE,EACtC,kCAAkC,CAClB,CAAC;QACrB,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,2BAA2B,CAC/B,gBAAqC,EACrC,OAA6D;QAE7D,OAAO,aAAa,CAAC,QAAQ,CAC3B,6CAA6C,EAC7C,OAAO,IAAI,EAAE,EACb,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,gBAAgB,EAAE,cAAc,EAAE,EACpC,wCAAwC,CACiB,CAAC;QAC9D,CAAC,CACF,CAAC;IACJ,CAAC;CACF","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// 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\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 // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, updatedOptions },\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { triggerName, runId, updatedOptions },\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 (updatedOptions) => {\n return this.client.sendOperationRequest(\n { filterParameters, updatedOptions },\n queryTriggerRunsByWorkspaceOperationSpec,\n ) as Promise<TriggerRunQueryTriggerRunsByWorkspaceResponse>;\n },\n );\n }\n}\n"]}
@@ -28,6 +28,7 @@ const getGitHubAccessTokenOperationSpec = {
28
28
  };
29
29
  /** Class containing WorkspaceGitRepoManagement operations. */
30
30
  export class WorkspaceGitRepoManagementImpl {
31
+ client;
31
32
  /**
32
33
  * Initialize a new instance of the class WorkspaceGitRepoManagement class.
33
34
  * @param client - Reference to the service client
@@ -42,7 +43,7 @@ export class WorkspaceGitRepoManagementImpl {
42
43
  * @param options - The options parameters.
43
44
  */
44
45
  async getGitHubAccessToken(gitHubAccessTokenRequest, options) {
45
- return tracingClient.withSpan("ArtifactsClient.getGitHubAccessToken", options !== null && options !== void 0 ? options : {}, async (updatedOptions) => {
46
+ return tracingClient.withSpan("ArtifactsClient.getGitHubAccessToken", options ?? {}, async (updatedOptions) => {
46
47
  return this.client.sendOperationRequest({ gitHubAccessTokenRequest, updatedOptions }, getGitHubAccessTokenOperationSpec);
47
48
  });
48
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"workspaceGitRepoManagement.js","sourceRoot":"","sources":["../../../src/operations/workspaceGitRepoManagement.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,uBAAuB;IAC7B,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,wBAAwB;IAChD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,eAAe,CAAC;IACzF,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AAEF,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAGzC;;;OAGG;IACH,wEAAwE;IACxE,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,oBAAoB,CACxB,wBAAkD,EAClD,OAAsE;QAEtE,OAAO,aAAa,CAAC,QAAQ,CAC3B,sCAAsC,EACtC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,wBAAwB,EAAE,cAAc,EAAE,EAC5C,iCAAiC,CACiC,CAAC;QACvE,CAAC,CACF,CAAC;IACJ,CAAC;CACF","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 { WorkspaceGitRepoManagement } 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 GitHubAccessTokenRequest,\n WorkspaceGitRepoManagementGetGitHubAccessTokenOptionalParams,\n WorkspaceGitRepoManagementGetGitHubAccessTokenResponse,\n} from \"../models/index.js\";\n\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getGitHubAccessTokenOperationSpec: coreClient.OperationSpec = {\n path: \"/getGitHubAccessToken\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.GitHubAccessTokenResponse,\n },\n },\n requestBody: Parameters.gitHubAccessTokenRequest,\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType, Parameters.clientRequestId],\n mediaType: \"json\",\n serializer,\n};\n\n/** Class containing WorkspaceGitRepoManagement operations. */\nexport class WorkspaceGitRepoManagementImpl implements WorkspaceGitRepoManagement {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class WorkspaceGitRepoManagement class.\n * @param client - Reference to the service client\n */\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Get the GitHub access token.\n * @param gitHubAccessTokenRequest - The GitHub access token request\n * @param options - The options parameters.\n */\n async getGitHubAccessToken(\n gitHubAccessTokenRequest: GitHubAccessTokenRequest,\n options?: WorkspaceGitRepoManagementGetGitHubAccessTokenOptionalParams,\n ): Promise<WorkspaceGitRepoManagementGetGitHubAccessTokenResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.getGitHubAccessToken\",\n options ?? {},\n async (updatedOptions) => {\n return this.client.sendOperationRequest(\n { gitHubAccessTokenRequest, updatedOptions },\n getGitHubAccessTokenOperationSpec,\n ) as Promise<WorkspaceGitRepoManagementGetGitHubAccessTokenResponse>;\n },\n );\n }\n}\n"]}
1
+ {"version":3,"file":"workspaceGitRepoManagement.js","sourceRoot":"","sources":["../../../src/operations/workspaceGitRepoManagement.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,uBAAuB;IAC7B,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,wBAAwB;IAChD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,eAAe,CAAC;IACzF,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AAEF,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IACxB,MAAM,CAAkB;IAEzC;;;OAGG;IACH,wEAAwE;IACxE,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,oBAAoB,CACxB,wBAAkD,EAClD,OAAsE;QAEtE,OAAO,aAAa,CAAC,QAAQ,CAC3B,sCAAsC,EACtC,OAAO,IAAI,EAAE,EACb,KAAK,EAAE,cAAc,EAAE,EAAE;YACvB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,wBAAwB,EAAE,cAAc,EAAE,EAC5C,iCAAiC,CACiC,CAAC;QACvE,CAAC,CACF,CAAC;IACJ,CAAC;CACF","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 { WorkspaceGitRepoManagement } 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 GitHubAccessTokenRequest,\n WorkspaceGitRepoManagementGetGitHubAccessTokenOptionalParams,\n WorkspaceGitRepoManagementGetGitHubAccessTokenResponse,\n} from \"../models/index.js\";\n\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getGitHubAccessTokenOperationSpec: coreClient.OperationSpec = {\n path: \"/getGitHubAccessToken\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.GitHubAccessTokenResponse,\n },\n },\n requestBody: Parameters.gitHubAccessTokenRequest,\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType, Parameters.clientRequestId],\n mediaType: \"json\",\n serializer,\n};\n\n/** Class containing WorkspaceGitRepoManagement operations. */\nexport class WorkspaceGitRepoManagementImpl implements WorkspaceGitRepoManagement {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class WorkspaceGitRepoManagement class.\n * @param client - Reference to the service client\n */\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Get the GitHub access token.\n * @param gitHubAccessTokenRequest - The GitHub access token request\n * @param options - The options parameters.\n */\n async getGitHubAccessToken(\n gitHubAccessTokenRequest: GitHubAccessTokenRequest,\n options?: WorkspaceGitRepoManagementGetGitHubAccessTokenOptionalParams,\n ): Promise<WorkspaceGitRepoManagementGetGitHubAccessTokenResponse> {\n return tracingClient.withSpan(\n \"ArtifactsClient.getGitHubAccessToken\",\n options ?? {},\n async (updatedOptions) => {\n return this.client.sendOperationRequest(\n { gitHubAccessTokenRequest, updatedOptions },\n getGitHubAccessTokenOperationSpec,\n ) as Promise<WorkspaceGitRepoManagementGetGitHubAccessTokenResponse>;\n },\n );\n }\n}\n"]}
@@ -29,6 +29,7 @@ const getOperationSpec = {
29
29
  };
30
30
  /** Class containing WorkspaceOperations operations. */
31
31
  export class WorkspaceOperationsImpl {
32
+ client;
32
33
  /**
33
34
  * Initialize a new instance of the class WorkspaceOperations class.
34
35
  * @param client - Reference to the service client
@@ -42,7 +43,7 @@ export class WorkspaceOperationsImpl {
42
43
  * @param options - The options parameters.
43
44
  */
44
45
  async get(options) {
45
- return tracingClient.withSpan("ArtifactsClient.get", options !== null && options !== void 0 ? options : {}, async (updatedOptions) => {
46
+ return tracingClient.withSpan("ArtifactsClient.get", options ?? {}, async (updatedOptions) => {
46
47
  return this.client.sendOperationRequest({ updatedOptions }, getOperationSpec);
47
48
  });
48
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"workspaceOperations.js","sourceRoot":"","sources":["../../../src/operations/workspaceOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,SAAS;SAC9B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AAEF,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,wEAAwE;IACxE,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,GAAG,CAAC,OAAoC;QAC5C,OAAO,aAAa,CAAC,QAAQ,CAAC,qBAAqB,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;YAC3F,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,EAClB,gBAAgB,CACgB,CAAC;QACrC,CAAC,CAAC,CAAC;IACL,CAAC;CACF","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 { WorkspaceOperations } 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 { WorkspaceGetOptionalParams, WorkspaceGetResponse } from \"../models/index.js\";\n\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/workspace\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace,\n },\n default: {\n bodyMapper: Mappers.ErrorContract,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer,\n};\n\n/** Class containing WorkspaceOperations operations. */\nexport class WorkspaceOperationsImpl implements WorkspaceOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class WorkspaceOperations class.\n * @param client - Reference to the service client\n */\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Get Workspace\n * @param options - The options parameters.\n */\n async get(options?: WorkspaceGetOptionalParams): Promise<WorkspaceGetResponse> {\n return tracingClient.withSpan(\"ArtifactsClient.get\", options ?? {}, async (updatedOptions) => {\n return this.client.sendOperationRequest(\n { updatedOptions },\n getOperationSpec,\n ) as Promise<WorkspaceGetResponse>;\n });\n }\n}\n"]}
1
+ {"version":3,"file":"workspaceOperations.js","sourceRoot":"","sources":["../../../src/operations/workspaceOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,SAAS;SAC9B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AAEF,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IACjB,MAAM,CAAkB;IAEzC;;;OAGG;IACH,wEAAwE;IACxE,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,GAAG,CAAC,OAAoC;QAC5C,OAAO,aAAa,CAAC,QAAQ,CAAC,qBAAqB,EAAE,OAAO,IAAI,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE;YAC3F,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,EAClB,gBAAgB,CACgB,CAAC;QACrC,CAAC,CAAC,CAAC;IACL,CAAC;CACF","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 { WorkspaceOperations } 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 { WorkspaceGetOptionalParams, WorkspaceGetResponse } from \"../models/index.js\";\n\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/workspace\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Workspace,\n },\n default: {\n bodyMapper: Mappers.ErrorContract,\n },\n },\n queryParameters: [Parameters.apiVersion5],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer,\n};\n\n/** Class containing WorkspaceOperations operations. */\nexport class WorkspaceOperationsImpl implements WorkspaceOperations {\n private readonly client: ArtifactsClient;\n\n /**\n * Initialize a new instance of the class WorkspaceOperations class.\n * @param client - Reference to the service client\n */\n // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\n constructor(client: ArtifactsClient) {\n this.client = client;\n }\n\n /**\n * Get Workspace\n * @param options - The options parameters.\n */\n async get(options?: WorkspaceGetOptionalParams): Promise<WorkspaceGetResponse> {\n return tracingClient.withSpan(\"ArtifactsClient.get\", options ?? {}, async (updatedOptions) => {\n return this.client.sendOperationRequest(\n { updatedOptions },\n getOperationSpec,\n ) as Promise<WorkspaceGetResponse>;\n });\n }\n}\n"]}
@@ -14,18 +14,16 @@ const pageMap = new WeakMap();
14
14
  * @returns The continuation token that can be passed into byPage() during future calls.
15
15
  */
16
16
  export function getContinuationToken(page) {
17
- var _a;
18
17
  if (typeof page !== "object" || page === null) {
19
18
  return undefined;
20
19
  }
21
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
20
+ return pageMap.get(page)?.continuationToken;
22
21
  }
23
22
  export function setContinuationToken(page, continuationToken) {
24
- var _a;
25
23
  if (typeof page !== "object" || page === null || !continuationToken) {
26
24
  return;
27
25
  }
28
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
26
+ const pageInfo = pageMap.get(page) ?? {};
29
27
  pageInfo.continuationToken = continuationToken;
30
28
  pageMap.set(page, pageInfo);
31
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page - An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page - An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Microsoft Corporation",
4
4
  "description": "A generated SDK for ArtifactsClient.",
5
5
  "sdk-type": "client",
6
- "version": "1.0.0-alpha.20250620.1",
6
+ "version": "1.0.0-alpha.20250730.1",
7
7
  "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-artifacts/README.md",
8
8
  "repository": "github:Azure/azure-sdk-for-js",
9
9
  "dependencies": {
@@ -89,7 +89,7 @@
89
89
  },
90
90
  "type": "module",
91
91
  "tshy": {
92
- "project": "./tsconfig.src.json",
92
+ "project": "../../../tsconfig.src.build.json",
93
93
  "exports": {
94
94
  "./package.json": "./package.json",
95
95
  ".": "./src/index.ts"