@azure/arm-apimanagement 10.0.0-alpha.20250619.1 → 10.0.0-alpha.20250718.2

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 (1123) hide show
  1. package/dist/browser/apiManagementClient.js +160 -11
  2. package/dist/browser/apiManagementClient.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 +1444 -666
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/allPolicies.js +23 -40
  8. package/dist/browser/operations/allPolicies.js.map +1 -1
  9. package/dist/browser/operations/api.js +67 -91
  10. package/dist/browser/operations/api.js.map +1 -1
  11. package/dist/browser/operations/apiDiagnostic.js +23 -40
  12. package/dist/browser/operations/apiDiagnostic.js.map +1 -1
  13. package/dist/browser/operations/apiExport.js +1 -0
  14. package/dist/browser/operations/apiExport.js.map +1 -1
  15. package/dist/browser/operations/apiGateway.js +78 -97
  16. package/dist/browser/operations/apiGateway.js.map +1 -1
  17. package/dist/browser/operations/apiGatewayConfigConnection.js +45 -52
  18. package/dist/browser/operations/apiGatewayConfigConnection.js.map +1 -1
  19. package/dist/browser/operations/apiIssue.js +23 -40
  20. package/dist/browser/operations/apiIssue.js.map +1 -1
  21. package/dist/browser/operations/apiIssueAttachment.js +23 -40
  22. package/dist/browser/operations/apiIssueAttachment.js.map +1 -1
  23. package/dist/browser/operations/apiIssueComment.js +23 -40
  24. package/dist/browser/operations/apiIssueComment.js.map +1 -1
  25. package/dist/browser/operations/apiManagementGatewaySkus.js +23 -40
  26. package/dist/browser/operations/apiManagementGatewaySkus.js.map +1 -1
  27. package/dist/browser/operations/apiManagementOperations.js +23 -40
  28. package/dist/browser/operations/apiManagementOperations.js.map +1 -1
  29. package/dist/browser/operations/apiManagementService.js +122 -121
  30. package/dist/browser/operations/apiManagementService.js.map +1 -1
  31. package/dist/browser/operations/apiManagementServiceSkus.js +23 -40
  32. package/dist/browser/operations/apiManagementServiceSkus.js.map +1 -1
  33. package/dist/browser/operations/apiManagementSkus.js +23 -40
  34. package/dist/browser/operations/apiManagementSkus.js.map +1 -1
  35. package/dist/browser/operations/apiManagementWorkspaceLink.js +1 -0
  36. package/dist/browser/operations/apiManagementWorkspaceLink.js.map +1 -1
  37. package/dist/browser/operations/apiManagementWorkspaceLinks.js +23 -40
  38. package/dist/browser/operations/apiManagementWorkspaceLinks.js.map +1 -1
  39. package/dist/browser/operations/apiOperation.js +23 -40
  40. package/dist/browser/operations/apiOperation.js.map +1 -1
  41. package/dist/browser/operations/apiOperationPolicy.js +1 -0
  42. package/dist/browser/operations/apiOperationPolicy.js.map +1 -1
  43. package/dist/browser/operations/apiPolicy.js +1 -0
  44. package/dist/browser/operations/apiPolicy.js.map +1 -1
  45. package/dist/browser/operations/apiProduct.js +23 -40
  46. package/dist/browser/operations/apiProduct.js.map +1 -1
  47. package/dist/browser/operations/apiRelease.js +23 -40
  48. package/dist/browser/operations/apiRelease.js.map +1 -1
  49. package/dist/browser/operations/apiRevision.js +23 -40
  50. package/dist/browser/operations/apiRevision.js.map +1 -1
  51. package/dist/browser/operations/apiSchema.js +34 -46
  52. package/dist/browser/operations/apiSchema.js.map +1 -1
  53. package/dist/browser/operations/apiTagDescription.js +23 -40
  54. package/dist/browser/operations/apiTagDescription.js.map +1 -1
  55. package/dist/browser/operations/apiVersionSet.js +23 -40
  56. package/dist/browser/operations/apiVersionSet.js.map +1 -1
  57. package/dist/browser/operations/apiWiki.js +1 -0
  58. package/dist/browser/operations/apiWiki.js.map +1 -1
  59. package/dist/browser/operations/apiWikis.js +23 -40
  60. package/dist/browser/operations/apiWikis.js.map +1 -1
  61. package/dist/browser/operations/authorization.js +23 -40
  62. package/dist/browser/operations/authorization.js.map +1 -1
  63. package/dist/browser/operations/authorizationAccessPolicy.js +23 -40
  64. package/dist/browser/operations/authorizationAccessPolicy.js.map +1 -1
  65. package/dist/browser/operations/authorizationLoginLinks.js +1 -0
  66. package/dist/browser/operations/authorizationLoginLinks.js.map +1 -1
  67. package/dist/browser/operations/authorizationProvider.js +23 -40
  68. package/dist/browser/operations/authorizationProvider.js.map +1 -1
  69. package/dist/browser/operations/authorizationServer.js +23 -40
  70. package/dist/browser/operations/authorizationServer.js.map +1 -1
  71. package/dist/browser/operations/backend.js +23 -40
  72. package/dist/browser/operations/backend.js.map +1 -1
  73. package/dist/browser/operations/cache.js +23 -40
  74. package/dist/browser/operations/cache.js.map +1 -1
  75. package/dist/browser/operations/certificate.js +23 -40
  76. package/dist/browser/operations/certificate.js.map +1 -1
  77. package/dist/browser/operations/contentItem.js +23 -40
  78. package/dist/browser/operations/contentItem.js.map +1 -1
  79. package/dist/browser/operations/contentType.js +23 -40
  80. package/dist/browser/operations/contentType.js.map +1 -1
  81. package/dist/browser/operations/delegationSettings.js +1 -0
  82. package/dist/browser/operations/delegationSettings.js.map +1 -1
  83. package/dist/browser/operations/deletedServices.js +34 -46
  84. package/dist/browser/operations/deletedServices.js.map +1 -1
  85. package/dist/browser/operations/diagnostic.js +23 -40
  86. package/dist/browser/operations/diagnostic.js.map +1 -1
  87. package/dist/browser/operations/documentation.js +23 -40
  88. package/dist/browser/operations/documentation.js.map +1 -1
  89. package/dist/browser/operations/emailTemplate.js +23 -40
  90. package/dist/browser/operations/emailTemplate.js.map +1 -1
  91. package/dist/browser/operations/gateway.js +23 -40
  92. package/dist/browser/operations/gateway.js.map +1 -1
  93. package/dist/browser/operations/gatewayApi.js +23 -40
  94. package/dist/browser/operations/gatewayApi.js.map +1 -1
  95. package/dist/browser/operations/gatewayCertificateAuthority.js +23 -40
  96. package/dist/browser/operations/gatewayCertificateAuthority.js.map +1 -1
  97. package/dist/browser/operations/gatewayHostnameConfiguration.js +23 -40
  98. package/dist/browser/operations/gatewayHostnameConfiguration.js.map +1 -1
  99. package/dist/browser/operations/globalSchema.js +34 -46
  100. package/dist/browser/operations/globalSchema.js.map +1 -1
  101. package/dist/browser/operations/graphQLApiResolver.js +23 -40
  102. package/dist/browser/operations/graphQLApiResolver.js.map +1 -1
  103. package/dist/browser/operations/graphQLApiResolverPolicy.js +23 -40
  104. package/dist/browser/operations/graphQLApiResolverPolicy.js.map +1 -1
  105. package/dist/browser/operations/group.js +23 -40
  106. package/dist/browser/operations/group.js.map +1 -1
  107. package/dist/browser/operations/groupUser.js +23 -40
  108. package/dist/browser/operations/groupUser.js.map +1 -1
  109. package/dist/browser/operations/identityProvider.js +23 -40
  110. package/dist/browser/operations/identityProvider.js.map +1 -1
  111. package/dist/browser/operations/issue.js +23 -40
  112. package/dist/browser/operations/issue.js.map +1 -1
  113. package/dist/browser/operations/logger.js +23 -40
  114. package/dist/browser/operations/logger.js.map +1 -1
  115. package/dist/browser/operations/namedValue.js +56 -58
  116. package/dist/browser/operations/namedValue.js.map +1 -1
  117. package/dist/browser/operations/networkStatus.js +1 -0
  118. package/dist/browser/operations/networkStatus.js.map +1 -1
  119. package/dist/browser/operations/notification.js +23 -40
  120. package/dist/browser/operations/notification.js.map +1 -1
  121. package/dist/browser/operations/notificationRecipientEmail.js +1 -0
  122. package/dist/browser/operations/notificationRecipientEmail.js.map +1 -1
  123. package/dist/browser/operations/notificationRecipientUser.js +1 -0
  124. package/dist/browser/operations/notificationRecipientUser.js.map +1 -1
  125. package/dist/browser/operations/openIdConnectProvider.js +23 -40
  126. package/dist/browser/operations/openIdConnectProvider.js.map +1 -1
  127. package/dist/browser/operations/operationOperations.js +23 -40
  128. package/dist/browser/operations/operationOperations.js.map +1 -1
  129. package/dist/browser/operations/operationStatus.js +1 -0
  130. package/dist/browser/operations/operationStatus.js.map +1 -1
  131. package/dist/browser/operations/operationsResults.js +1 -0
  132. package/dist/browser/operations/operationsResults.js.map +1 -1
  133. package/dist/browser/operations/outboundNetworkDependenciesEndpoints.js +1 -0
  134. package/dist/browser/operations/outboundNetworkDependenciesEndpoints.js.map +1 -1
  135. package/dist/browser/operations/policy.js +23 -40
  136. package/dist/browser/operations/policy.js.map +1 -1
  137. package/dist/browser/operations/policyDescription.js +1 -0
  138. package/dist/browser/operations/policyDescription.js.map +1 -1
  139. package/dist/browser/operations/policyFragment.js +34 -46
  140. package/dist/browser/operations/policyFragment.js.map +1 -1
  141. package/dist/browser/operations/policyRestriction.js +23 -40
  142. package/dist/browser/operations/policyRestriction.js.map +1 -1
  143. package/dist/browser/operations/policyRestrictionValidations.js +12 -6
  144. package/dist/browser/operations/policyRestrictionValidations.js.map +1 -1
  145. package/dist/browser/operations/portalConfig.js +23 -40
  146. package/dist/browser/operations/portalConfig.js.map +1 -1
  147. package/dist/browser/operations/portalRevision.js +45 -52
  148. package/dist/browser/operations/portalRevision.js.map +1 -1
  149. package/dist/browser/operations/portalSettings.js +1 -0
  150. package/dist/browser/operations/portalSettings.js.map +1 -1
  151. package/dist/browser/operations/privateEndpointConnectionOperations.js +32 -39
  152. package/dist/browser/operations/privateEndpointConnectionOperations.js.map +1 -1
  153. package/dist/browser/operations/product.js +45 -79
  154. package/dist/browser/operations/product.js.map +1 -1
  155. package/dist/browser/operations/productApi.js +23 -40
  156. package/dist/browser/operations/productApi.js.map +1 -1
  157. package/dist/browser/operations/productApiLink.js +23 -40
  158. package/dist/browser/operations/productApiLink.js.map +1 -1
  159. package/dist/browser/operations/productGroup.js +23 -40
  160. package/dist/browser/operations/productGroup.js.map +1 -1
  161. package/dist/browser/operations/productGroupLink.js +23 -40
  162. package/dist/browser/operations/productGroupLink.js.map +1 -1
  163. package/dist/browser/operations/productPolicy.js +23 -40
  164. package/dist/browser/operations/productPolicy.js.map +1 -1
  165. package/dist/browser/operations/productSubscriptions.js +23 -40
  166. package/dist/browser/operations/productSubscriptions.js.map +1 -1
  167. package/dist/browser/operations/productWiki.js +1 -0
  168. package/dist/browser/operations/productWiki.js.map +1 -1
  169. package/dist/browser/operations/productWikis.js +23 -40
  170. package/dist/browser/operations/productWikis.js.map +1 -1
  171. package/dist/browser/operations/quotaByCounterKeys.js +1 -0
  172. package/dist/browser/operations/quotaByCounterKeys.js.map +1 -1
  173. package/dist/browser/operations/quotaByPeriodKeys.js +1 -0
  174. package/dist/browser/operations/quotaByPeriodKeys.js.map +1 -1
  175. package/dist/browser/operations/region.js +23 -40
  176. package/dist/browser/operations/region.js.map +1 -1
  177. package/dist/browser/operations/reports.js +164 -300
  178. package/dist/browser/operations/reports.js.map +1 -1
  179. package/dist/browser/operations/signInSettings.js +1 -0
  180. package/dist/browser/operations/signInSettings.js.map +1 -1
  181. package/dist/browser/operations/signUpSettings.js +1 -0
  182. package/dist/browser/operations/signUpSettings.js.map +1 -1
  183. package/dist/browser/operations/subscription.js +23 -40
  184. package/dist/browser/operations/subscription.js.map +1 -1
  185. package/dist/browser/operations/tag.js +89 -157
  186. package/dist/browser/operations/tag.js.map +1 -1
  187. package/dist/browser/operations/tagApiLink.js +23 -40
  188. package/dist/browser/operations/tagApiLink.js.map +1 -1
  189. package/dist/browser/operations/tagOperationLink.js +23 -40
  190. package/dist/browser/operations/tagOperationLink.js.map +1 -1
  191. package/dist/browser/operations/tagProductLink.js +23 -40
  192. package/dist/browser/operations/tagProductLink.js.map +1 -1
  193. package/dist/browser/operations/tagResource.js +23 -40
  194. package/dist/browser/operations/tagResource.js.map +1 -1
  195. package/dist/browser/operations/tenantAccess.js +23 -40
  196. package/dist/browser/operations/tenantAccess.js.map +1 -1
  197. package/dist/browser/operations/tenantAccessGit.js +1 -0
  198. package/dist/browser/operations/tenantAccessGit.js.map +1 -1
  199. package/dist/browser/operations/tenantConfiguration.js +34 -18
  200. package/dist/browser/operations/tenantConfiguration.js.map +1 -1
  201. package/dist/browser/operations/tenantSettings.js +23 -40
  202. package/dist/browser/operations/tenantSettings.js.map +1 -1
  203. package/dist/browser/operations/user.js +34 -46
  204. package/dist/browser/operations/user.js.map +1 -1
  205. package/dist/browser/operations/userConfirmationPassword.js +1 -0
  206. package/dist/browser/operations/userConfirmationPassword.js.map +1 -1
  207. package/dist/browser/operations/userGroup.js +23 -40
  208. package/dist/browser/operations/userGroup.js.map +1 -1
  209. package/dist/browser/operations/userIdentities.js +23 -40
  210. package/dist/browser/operations/userIdentities.js.map +1 -1
  211. package/dist/browser/operations/userSubscription.js +23 -40
  212. package/dist/browser/operations/userSubscription.js.map +1 -1
  213. package/dist/browser/operations/workspace.js +23 -40
  214. package/dist/browser/operations/workspace.js.map +1 -1
  215. package/dist/browser/operations/workspaceApi.js +34 -46
  216. package/dist/browser/operations/workspaceApi.js.map +1 -1
  217. package/dist/browser/operations/workspaceApiDiagnostic.js +23 -40
  218. package/dist/browser/operations/workspaceApiDiagnostic.js.map +1 -1
  219. package/dist/browser/operations/workspaceApiExport.js +1 -0
  220. package/dist/browser/operations/workspaceApiExport.js.map +1 -1
  221. package/dist/browser/operations/workspaceApiOperation.js +23 -40
  222. package/dist/browser/operations/workspaceApiOperation.js.map +1 -1
  223. package/dist/browser/operations/workspaceApiOperationPolicy.js +23 -40
  224. package/dist/browser/operations/workspaceApiOperationPolicy.js.map +1 -1
  225. package/dist/browser/operations/workspaceApiPolicy.js +23 -40
  226. package/dist/browser/operations/workspaceApiPolicy.js.map +1 -1
  227. package/dist/browser/operations/workspaceApiRelease.js +23 -40
  228. package/dist/browser/operations/workspaceApiRelease.js.map +1 -1
  229. package/dist/browser/operations/workspaceApiRevision.js +23 -40
  230. package/dist/browser/operations/workspaceApiRevision.js.map +1 -1
  231. package/dist/browser/operations/workspaceApiSchema.js +34 -46
  232. package/dist/browser/operations/workspaceApiSchema.js.map +1 -1
  233. package/dist/browser/operations/workspaceApiVersionSet.js +23 -40
  234. package/dist/browser/operations/workspaceApiVersionSet.js.map +1 -1
  235. package/dist/browser/operations/workspaceBackend.js +23 -40
  236. package/dist/browser/operations/workspaceBackend.js.map +1 -1
  237. package/dist/browser/operations/workspaceCertificate.js +23 -40
  238. package/dist/browser/operations/workspaceCertificate.js.map +1 -1
  239. package/dist/browser/operations/workspaceDiagnostic.js +23 -40
  240. package/dist/browser/operations/workspaceDiagnostic.js.map +1 -1
  241. package/dist/browser/operations/workspaceGlobalSchema.js +34 -46
  242. package/dist/browser/operations/workspaceGlobalSchema.js.map +1 -1
  243. package/dist/browser/operations/workspaceGroup.js +23 -40
  244. package/dist/browser/operations/workspaceGroup.js.map +1 -1
  245. package/dist/browser/operations/workspaceGroupUser.js +23 -40
  246. package/dist/browser/operations/workspaceGroupUser.js.map +1 -1
  247. package/dist/browser/operations/workspaceLogger.js +23 -40
  248. package/dist/browser/operations/workspaceLogger.js.map +1 -1
  249. package/dist/browser/operations/workspaceNamedValue.js +56 -58
  250. package/dist/browser/operations/workspaceNamedValue.js.map +1 -1
  251. package/dist/browser/operations/workspaceNotification.js +23 -40
  252. package/dist/browser/operations/workspaceNotification.js.map +1 -1
  253. package/dist/browser/operations/workspaceNotificationRecipientEmail.js +1 -0
  254. package/dist/browser/operations/workspaceNotificationRecipientEmail.js.map +1 -1
  255. package/dist/browser/operations/workspaceNotificationRecipientUser.js +1 -0
  256. package/dist/browser/operations/workspaceNotificationRecipientUser.js.map +1 -1
  257. package/dist/browser/operations/workspacePolicy.js +23 -40
  258. package/dist/browser/operations/workspacePolicy.js.map +1 -1
  259. package/dist/browser/operations/workspacePolicyFragment.js +34 -46
  260. package/dist/browser/operations/workspacePolicyFragment.js.map +1 -1
  261. package/dist/browser/operations/workspaceProduct.js +23 -40
  262. package/dist/browser/operations/workspaceProduct.js.map +1 -1
  263. package/dist/browser/operations/workspaceProductApiLink.js +23 -40
  264. package/dist/browser/operations/workspaceProductApiLink.js.map +1 -1
  265. package/dist/browser/operations/workspaceProductGroupLink.js +23 -40
  266. package/dist/browser/operations/workspaceProductGroupLink.js.map +1 -1
  267. package/dist/browser/operations/workspaceProductPolicy.js +1 -0
  268. package/dist/browser/operations/workspaceProductPolicy.js.map +1 -1
  269. package/dist/browser/operations/workspaceSubscription.js +23 -40
  270. package/dist/browser/operations/workspaceSubscription.js.map +1 -1
  271. package/dist/browser/operations/workspaceTag.js +23 -40
  272. package/dist/browser/operations/workspaceTag.js.map +1 -1
  273. package/dist/browser/operations/workspaceTagApiLink.js +23 -40
  274. package/dist/browser/operations/workspaceTagApiLink.js.map +1 -1
  275. package/dist/browser/operations/workspaceTagOperationLink.js +23 -40
  276. package/dist/browser/operations/workspaceTagOperationLink.js.map +1 -1
  277. package/dist/browser/operations/workspaceTagProductLink.js +23 -40
  278. package/dist/browser/operations/workspaceTagProductLink.js.map +1 -1
  279. package/dist/browser/pagingHelper.js +2 -4
  280. package/dist/browser/pagingHelper.js.map +1 -1
  281. package/dist/commonjs/apiManagementClient.js +160 -11
  282. package/dist/commonjs/apiManagementClient.js.map +1 -1
  283. package/dist/commonjs/lroImpl.js +7 -3
  284. package/dist/commonjs/lroImpl.js.map +1 -1
  285. package/dist/commonjs/models/mappers.js +1444 -666
  286. package/dist/commonjs/models/mappers.js.map +1 -1
  287. package/dist/commonjs/operations/allPolicies.js +23 -39
  288. package/dist/commonjs/operations/allPolicies.js.map +1 -1
  289. package/dist/commonjs/operations/api.js +67 -90
  290. package/dist/commonjs/operations/api.js.map +1 -1
  291. package/dist/commonjs/operations/apiDiagnostic.js +23 -39
  292. package/dist/commonjs/operations/apiDiagnostic.js.map +1 -1
  293. package/dist/commonjs/operations/apiExport.js +1 -0
  294. package/dist/commonjs/operations/apiExport.js.map +1 -1
  295. package/dist/commonjs/operations/apiGateway.js +78 -96
  296. package/dist/commonjs/operations/apiGateway.js.map +1 -1
  297. package/dist/commonjs/operations/apiGatewayConfigConnection.js +45 -51
  298. package/dist/commonjs/operations/apiGatewayConfigConnection.js.map +1 -1
  299. package/dist/commonjs/operations/apiIssue.js +23 -39
  300. package/dist/commonjs/operations/apiIssue.js.map +1 -1
  301. package/dist/commonjs/operations/apiIssueAttachment.js +23 -39
  302. package/dist/commonjs/operations/apiIssueAttachment.js.map +1 -1
  303. package/dist/commonjs/operations/apiIssueComment.js +23 -39
  304. package/dist/commonjs/operations/apiIssueComment.js.map +1 -1
  305. package/dist/commonjs/operations/apiManagementGatewaySkus.js +23 -39
  306. package/dist/commonjs/operations/apiManagementGatewaySkus.js.map +1 -1
  307. package/dist/commonjs/operations/apiManagementOperations.js +23 -39
  308. package/dist/commonjs/operations/apiManagementOperations.js.map +1 -1
  309. package/dist/commonjs/operations/apiManagementService.js +122 -120
  310. package/dist/commonjs/operations/apiManagementService.js.map +1 -1
  311. package/dist/commonjs/operations/apiManagementServiceSkus.js +23 -39
  312. package/dist/commonjs/operations/apiManagementServiceSkus.js.map +1 -1
  313. package/dist/commonjs/operations/apiManagementSkus.js +23 -39
  314. package/dist/commonjs/operations/apiManagementSkus.js.map +1 -1
  315. package/dist/commonjs/operations/apiManagementWorkspaceLink.js +1 -0
  316. package/dist/commonjs/operations/apiManagementWorkspaceLink.js.map +1 -1
  317. package/dist/commonjs/operations/apiManagementWorkspaceLinks.js +23 -39
  318. package/dist/commonjs/operations/apiManagementWorkspaceLinks.js.map +1 -1
  319. package/dist/commonjs/operations/apiOperation.js +23 -39
  320. package/dist/commonjs/operations/apiOperation.js.map +1 -1
  321. package/dist/commonjs/operations/apiOperationPolicy.js +1 -0
  322. package/dist/commonjs/operations/apiOperationPolicy.js.map +1 -1
  323. package/dist/commonjs/operations/apiPolicy.js +1 -0
  324. package/dist/commonjs/operations/apiPolicy.js.map +1 -1
  325. package/dist/commonjs/operations/apiProduct.js +23 -39
  326. package/dist/commonjs/operations/apiProduct.js.map +1 -1
  327. package/dist/commonjs/operations/apiRelease.js +23 -39
  328. package/dist/commonjs/operations/apiRelease.js.map +1 -1
  329. package/dist/commonjs/operations/apiRevision.js +23 -39
  330. package/dist/commonjs/operations/apiRevision.js.map +1 -1
  331. package/dist/commonjs/operations/apiSchema.js +34 -45
  332. package/dist/commonjs/operations/apiSchema.js.map +1 -1
  333. package/dist/commonjs/operations/apiTagDescription.js +23 -39
  334. package/dist/commonjs/operations/apiTagDescription.js.map +1 -1
  335. package/dist/commonjs/operations/apiVersionSet.js +23 -39
  336. package/dist/commonjs/operations/apiVersionSet.js.map +1 -1
  337. package/dist/commonjs/operations/apiWiki.js +1 -0
  338. package/dist/commonjs/operations/apiWiki.js.map +1 -1
  339. package/dist/commonjs/operations/apiWikis.js +23 -39
  340. package/dist/commonjs/operations/apiWikis.js.map +1 -1
  341. package/dist/commonjs/operations/authorization.js +23 -39
  342. package/dist/commonjs/operations/authorization.js.map +1 -1
  343. package/dist/commonjs/operations/authorizationAccessPolicy.js +23 -39
  344. package/dist/commonjs/operations/authorizationAccessPolicy.js.map +1 -1
  345. package/dist/commonjs/operations/authorizationLoginLinks.js +1 -0
  346. package/dist/commonjs/operations/authorizationLoginLinks.js.map +1 -1
  347. package/dist/commonjs/operations/authorizationProvider.js +23 -39
  348. package/dist/commonjs/operations/authorizationProvider.js.map +1 -1
  349. package/dist/commonjs/operations/authorizationServer.js +23 -39
  350. package/dist/commonjs/operations/authorizationServer.js.map +1 -1
  351. package/dist/commonjs/operations/backend.js +23 -39
  352. package/dist/commonjs/operations/backend.js.map +1 -1
  353. package/dist/commonjs/operations/cache.js +23 -39
  354. package/dist/commonjs/operations/cache.js.map +1 -1
  355. package/dist/commonjs/operations/certificate.js +23 -39
  356. package/dist/commonjs/operations/certificate.js.map +1 -1
  357. package/dist/commonjs/operations/contentItem.js +23 -39
  358. package/dist/commonjs/operations/contentItem.js.map +1 -1
  359. package/dist/commonjs/operations/contentType.js +23 -39
  360. package/dist/commonjs/operations/contentType.js.map +1 -1
  361. package/dist/commonjs/operations/delegationSettings.js +1 -0
  362. package/dist/commonjs/operations/delegationSettings.js.map +1 -1
  363. package/dist/commonjs/operations/deletedServices.js +34 -45
  364. package/dist/commonjs/operations/deletedServices.js.map +1 -1
  365. package/dist/commonjs/operations/diagnostic.js +23 -39
  366. package/dist/commonjs/operations/diagnostic.js.map +1 -1
  367. package/dist/commonjs/operations/documentation.js +23 -39
  368. package/dist/commonjs/operations/documentation.js.map +1 -1
  369. package/dist/commonjs/operations/emailTemplate.js +23 -39
  370. package/dist/commonjs/operations/emailTemplate.js.map +1 -1
  371. package/dist/commonjs/operations/gateway.js +23 -39
  372. package/dist/commonjs/operations/gateway.js.map +1 -1
  373. package/dist/commonjs/operations/gatewayApi.js +23 -39
  374. package/dist/commonjs/operations/gatewayApi.js.map +1 -1
  375. package/dist/commonjs/operations/gatewayCertificateAuthority.js +23 -39
  376. package/dist/commonjs/operations/gatewayCertificateAuthority.js.map +1 -1
  377. package/dist/commonjs/operations/gatewayHostnameConfiguration.js +23 -39
  378. package/dist/commonjs/operations/gatewayHostnameConfiguration.js.map +1 -1
  379. package/dist/commonjs/operations/globalSchema.js +34 -45
  380. package/dist/commonjs/operations/globalSchema.js.map +1 -1
  381. package/dist/commonjs/operations/graphQLApiResolver.js +23 -39
  382. package/dist/commonjs/operations/graphQLApiResolver.js.map +1 -1
  383. package/dist/commonjs/operations/graphQLApiResolverPolicy.js +23 -39
  384. package/dist/commonjs/operations/graphQLApiResolverPolicy.js.map +1 -1
  385. package/dist/commonjs/operations/group.js +23 -39
  386. package/dist/commonjs/operations/group.js.map +1 -1
  387. package/dist/commonjs/operations/groupUser.js +23 -39
  388. package/dist/commonjs/operations/groupUser.js.map +1 -1
  389. package/dist/commonjs/operations/identityProvider.js +23 -39
  390. package/dist/commonjs/operations/identityProvider.js.map +1 -1
  391. package/dist/commonjs/operations/issue.js +23 -39
  392. package/dist/commonjs/operations/issue.js.map +1 -1
  393. package/dist/commonjs/operations/logger.js +23 -39
  394. package/dist/commonjs/operations/logger.js.map +1 -1
  395. package/dist/commonjs/operations/namedValue.js +56 -57
  396. package/dist/commonjs/operations/namedValue.js.map +1 -1
  397. package/dist/commonjs/operations/networkStatus.js +1 -0
  398. package/dist/commonjs/operations/networkStatus.js.map +1 -1
  399. package/dist/commonjs/operations/notification.js +23 -39
  400. package/dist/commonjs/operations/notification.js.map +1 -1
  401. package/dist/commonjs/operations/notificationRecipientEmail.js +1 -0
  402. package/dist/commonjs/operations/notificationRecipientEmail.js.map +1 -1
  403. package/dist/commonjs/operations/notificationRecipientUser.js +1 -0
  404. package/dist/commonjs/operations/notificationRecipientUser.js.map +1 -1
  405. package/dist/commonjs/operations/openIdConnectProvider.js +23 -39
  406. package/dist/commonjs/operations/openIdConnectProvider.js.map +1 -1
  407. package/dist/commonjs/operations/operationOperations.js +23 -39
  408. package/dist/commonjs/operations/operationOperations.js.map +1 -1
  409. package/dist/commonjs/operations/operationStatus.js +1 -0
  410. package/dist/commonjs/operations/operationStatus.js.map +1 -1
  411. package/dist/commonjs/operations/operationsResults.js +1 -0
  412. package/dist/commonjs/operations/operationsResults.js.map +1 -1
  413. package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.js +1 -0
  414. package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.js.map +1 -1
  415. package/dist/commonjs/operations/policy.js +23 -39
  416. package/dist/commonjs/operations/policy.js.map +1 -1
  417. package/dist/commonjs/operations/policyDescription.js +1 -0
  418. package/dist/commonjs/operations/policyDescription.js.map +1 -1
  419. package/dist/commonjs/operations/policyFragment.js +34 -45
  420. package/dist/commonjs/operations/policyFragment.js.map +1 -1
  421. package/dist/commonjs/operations/policyRestriction.js +23 -39
  422. package/dist/commonjs/operations/policyRestriction.js.map +1 -1
  423. package/dist/commonjs/operations/policyRestrictionValidations.js +12 -6
  424. package/dist/commonjs/operations/policyRestrictionValidations.js.map +1 -1
  425. package/dist/commonjs/operations/portalConfig.js +23 -39
  426. package/dist/commonjs/operations/portalConfig.js.map +1 -1
  427. package/dist/commonjs/operations/portalRevision.js +45 -51
  428. package/dist/commonjs/operations/portalRevision.js.map +1 -1
  429. package/dist/commonjs/operations/portalSettings.js +1 -0
  430. package/dist/commonjs/operations/portalSettings.js.map +1 -1
  431. package/dist/commonjs/operations/privateEndpointConnectionOperations.js +32 -38
  432. package/dist/commonjs/operations/privateEndpointConnectionOperations.js.map +1 -1
  433. package/dist/commonjs/operations/product.js +45 -78
  434. package/dist/commonjs/operations/product.js.map +1 -1
  435. package/dist/commonjs/operations/productApi.js +23 -39
  436. package/dist/commonjs/operations/productApi.js.map +1 -1
  437. package/dist/commonjs/operations/productApiLink.js +23 -39
  438. package/dist/commonjs/operations/productApiLink.js.map +1 -1
  439. package/dist/commonjs/operations/productGroup.js +23 -39
  440. package/dist/commonjs/operations/productGroup.js.map +1 -1
  441. package/dist/commonjs/operations/productGroupLink.js +23 -39
  442. package/dist/commonjs/operations/productGroupLink.js.map +1 -1
  443. package/dist/commonjs/operations/productPolicy.js +23 -39
  444. package/dist/commonjs/operations/productPolicy.js.map +1 -1
  445. package/dist/commonjs/operations/productSubscriptions.js +23 -39
  446. package/dist/commonjs/operations/productSubscriptions.js.map +1 -1
  447. package/dist/commonjs/operations/productWiki.js +1 -0
  448. package/dist/commonjs/operations/productWiki.js.map +1 -1
  449. package/dist/commonjs/operations/productWikis.js +23 -39
  450. package/dist/commonjs/operations/productWikis.js.map +1 -1
  451. package/dist/commonjs/operations/quotaByCounterKeys.js +1 -0
  452. package/dist/commonjs/operations/quotaByCounterKeys.js.map +1 -1
  453. package/dist/commonjs/operations/quotaByPeriodKeys.js +1 -0
  454. package/dist/commonjs/operations/quotaByPeriodKeys.js.map +1 -1
  455. package/dist/commonjs/operations/region.js +23 -39
  456. package/dist/commonjs/operations/region.js.map +1 -1
  457. package/dist/commonjs/operations/reports.js +164 -299
  458. package/dist/commonjs/operations/reports.js.map +1 -1
  459. package/dist/commonjs/operations/signInSettings.js +1 -0
  460. package/dist/commonjs/operations/signInSettings.js.map +1 -1
  461. package/dist/commonjs/operations/signUpSettings.js +1 -0
  462. package/dist/commonjs/operations/signUpSettings.js.map +1 -1
  463. package/dist/commonjs/operations/subscription.js +23 -39
  464. package/dist/commonjs/operations/subscription.js.map +1 -1
  465. package/dist/commonjs/operations/tag.js +89 -156
  466. package/dist/commonjs/operations/tag.js.map +1 -1
  467. package/dist/commonjs/operations/tagApiLink.js +23 -39
  468. package/dist/commonjs/operations/tagApiLink.js.map +1 -1
  469. package/dist/commonjs/operations/tagOperationLink.js +23 -39
  470. package/dist/commonjs/operations/tagOperationLink.js.map +1 -1
  471. package/dist/commonjs/operations/tagProductLink.js +23 -39
  472. package/dist/commonjs/operations/tagProductLink.js.map +1 -1
  473. package/dist/commonjs/operations/tagResource.js +23 -39
  474. package/dist/commonjs/operations/tagResource.js.map +1 -1
  475. package/dist/commonjs/operations/tenantAccess.js +23 -39
  476. package/dist/commonjs/operations/tenantAccess.js.map +1 -1
  477. package/dist/commonjs/operations/tenantAccessGit.js +1 -0
  478. package/dist/commonjs/operations/tenantAccessGit.js.map +1 -1
  479. package/dist/commonjs/operations/tenantConfiguration.js +34 -18
  480. package/dist/commonjs/operations/tenantConfiguration.js.map +1 -1
  481. package/dist/commonjs/operations/tenantSettings.js +23 -39
  482. package/dist/commonjs/operations/tenantSettings.js.map +1 -1
  483. package/dist/commonjs/operations/user.js +34 -45
  484. package/dist/commonjs/operations/user.js.map +1 -1
  485. package/dist/commonjs/operations/userConfirmationPassword.js +1 -0
  486. package/dist/commonjs/operations/userConfirmationPassword.js.map +1 -1
  487. package/dist/commonjs/operations/userGroup.js +23 -39
  488. package/dist/commonjs/operations/userGroup.js.map +1 -1
  489. package/dist/commonjs/operations/userIdentities.js +23 -39
  490. package/dist/commonjs/operations/userIdentities.js.map +1 -1
  491. package/dist/commonjs/operations/userSubscription.js +23 -39
  492. package/dist/commonjs/operations/userSubscription.js.map +1 -1
  493. package/dist/commonjs/operations/workspace.js +23 -39
  494. package/dist/commonjs/operations/workspace.js.map +1 -1
  495. package/dist/commonjs/operations/workspaceApi.js +34 -45
  496. package/dist/commonjs/operations/workspaceApi.js.map +1 -1
  497. package/dist/commonjs/operations/workspaceApiDiagnostic.js +23 -39
  498. package/dist/commonjs/operations/workspaceApiDiagnostic.js.map +1 -1
  499. package/dist/commonjs/operations/workspaceApiExport.js +1 -0
  500. package/dist/commonjs/operations/workspaceApiExport.js.map +1 -1
  501. package/dist/commonjs/operations/workspaceApiOperation.js +23 -39
  502. package/dist/commonjs/operations/workspaceApiOperation.js.map +1 -1
  503. package/dist/commonjs/operations/workspaceApiOperationPolicy.js +23 -39
  504. package/dist/commonjs/operations/workspaceApiOperationPolicy.js.map +1 -1
  505. package/dist/commonjs/operations/workspaceApiPolicy.js +23 -39
  506. package/dist/commonjs/operations/workspaceApiPolicy.js.map +1 -1
  507. package/dist/commonjs/operations/workspaceApiRelease.js +23 -39
  508. package/dist/commonjs/operations/workspaceApiRelease.js.map +1 -1
  509. package/dist/commonjs/operations/workspaceApiRevision.js +23 -39
  510. package/dist/commonjs/operations/workspaceApiRevision.js.map +1 -1
  511. package/dist/commonjs/operations/workspaceApiSchema.js +34 -45
  512. package/dist/commonjs/operations/workspaceApiSchema.js.map +1 -1
  513. package/dist/commonjs/operations/workspaceApiVersionSet.js +23 -39
  514. package/dist/commonjs/operations/workspaceApiVersionSet.js.map +1 -1
  515. package/dist/commonjs/operations/workspaceBackend.js +23 -39
  516. package/dist/commonjs/operations/workspaceBackend.js.map +1 -1
  517. package/dist/commonjs/operations/workspaceCertificate.js +23 -39
  518. package/dist/commonjs/operations/workspaceCertificate.js.map +1 -1
  519. package/dist/commonjs/operations/workspaceDiagnostic.js +23 -39
  520. package/dist/commonjs/operations/workspaceDiagnostic.js.map +1 -1
  521. package/dist/commonjs/operations/workspaceGlobalSchema.js +34 -45
  522. package/dist/commonjs/operations/workspaceGlobalSchema.js.map +1 -1
  523. package/dist/commonjs/operations/workspaceGroup.js +23 -39
  524. package/dist/commonjs/operations/workspaceGroup.js.map +1 -1
  525. package/dist/commonjs/operations/workspaceGroupUser.js +23 -39
  526. package/dist/commonjs/operations/workspaceGroupUser.js.map +1 -1
  527. package/dist/commonjs/operations/workspaceLogger.js +23 -39
  528. package/dist/commonjs/operations/workspaceLogger.js.map +1 -1
  529. package/dist/commonjs/operations/workspaceNamedValue.js +56 -57
  530. package/dist/commonjs/operations/workspaceNamedValue.js.map +1 -1
  531. package/dist/commonjs/operations/workspaceNotification.js +23 -39
  532. package/dist/commonjs/operations/workspaceNotification.js.map +1 -1
  533. package/dist/commonjs/operations/workspaceNotificationRecipientEmail.js +1 -0
  534. package/dist/commonjs/operations/workspaceNotificationRecipientEmail.js.map +1 -1
  535. package/dist/commonjs/operations/workspaceNotificationRecipientUser.js +1 -0
  536. package/dist/commonjs/operations/workspaceNotificationRecipientUser.js.map +1 -1
  537. package/dist/commonjs/operations/workspacePolicy.js +23 -39
  538. package/dist/commonjs/operations/workspacePolicy.js.map +1 -1
  539. package/dist/commonjs/operations/workspacePolicyFragment.js +34 -45
  540. package/dist/commonjs/operations/workspacePolicyFragment.js.map +1 -1
  541. package/dist/commonjs/operations/workspaceProduct.js +23 -39
  542. package/dist/commonjs/operations/workspaceProduct.js.map +1 -1
  543. package/dist/commonjs/operations/workspaceProductApiLink.js +23 -39
  544. package/dist/commonjs/operations/workspaceProductApiLink.js.map +1 -1
  545. package/dist/commonjs/operations/workspaceProductGroupLink.js +23 -39
  546. package/dist/commonjs/operations/workspaceProductGroupLink.js.map +1 -1
  547. package/dist/commonjs/operations/workspaceProductPolicy.js +1 -0
  548. package/dist/commonjs/operations/workspaceProductPolicy.js.map +1 -1
  549. package/dist/commonjs/operations/workspaceSubscription.js +23 -39
  550. package/dist/commonjs/operations/workspaceSubscription.js.map +1 -1
  551. package/dist/commonjs/operations/workspaceTag.js +23 -39
  552. package/dist/commonjs/operations/workspaceTag.js.map +1 -1
  553. package/dist/commonjs/operations/workspaceTagApiLink.js +23 -39
  554. package/dist/commonjs/operations/workspaceTagApiLink.js.map +1 -1
  555. package/dist/commonjs/operations/workspaceTagOperationLink.js +23 -39
  556. package/dist/commonjs/operations/workspaceTagOperationLink.js.map +1 -1
  557. package/dist/commonjs/operations/workspaceTagProductLink.js +23 -39
  558. package/dist/commonjs/operations/workspaceTagProductLink.js.map +1 -1
  559. package/dist/commonjs/pagingHelper.js +2 -4
  560. package/dist/commonjs/pagingHelper.js.map +1 -1
  561. package/dist/commonjs/tsdoc-metadata.json +11 -11
  562. package/dist/esm/apiManagementClient.js +160 -11
  563. package/dist/esm/apiManagementClient.js.map +1 -1
  564. package/dist/esm/lroImpl.js +7 -3
  565. package/dist/esm/lroImpl.js.map +1 -1
  566. package/dist/esm/models/mappers.js +1444 -666
  567. package/dist/esm/models/mappers.js.map +1 -1
  568. package/dist/esm/operations/allPolicies.js +23 -40
  569. package/dist/esm/operations/allPolicies.js.map +1 -1
  570. package/dist/esm/operations/api.js +67 -91
  571. package/dist/esm/operations/api.js.map +1 -1
  572. package/dist/esm/operations/apiDiagnostic.js +23 -40
  573. package/dist/esm/operations/apiDiagnostic.js.map +1 -1
  574. package/dist/esm/operations/apiExport.js +1 -0
  575. package/dist/esm/operations/apiExport.js.map +1 -1
  576. package/dist/esm/operations/apiGateway.js +78 -97
  577. package/dist/esm/operations/apiGateway.js.map +1 -1
  578. package/dist/esm/operations/apiGatewayConfigConnection.js +45 -52
  579. package/dist/esm/operations/apiGatewayConfigConnection.js.map +1 -1
  580. package/dist/esm/operations/apiIssue.js +23 -40
  581. package/dist/esm/operations/apiIssue.js.map +1 -1
  582. package/dist/esm/operations/apiIssueAttachment.js +23 -40
  583. package/dist/esm/operations/apiIssueAttachment.js.map +1 -1
  584. package/dist/esm/operations/apiIssueComment.js +23 -40
  585. package/dist/esm/operations/apiIssueComment.js.map +1 -1
  586. package/dist/esm/operations/apiManagementGatewaySkus.js +23 -40
  587. package/dist/esm/operations/apiManagementGatewaySkus.js.map +1 -1
  588. package/dist/esm/operations/apiManagementOperations.js +23 -40
  589. package/dist/esm/operations/apiManagementOperations.js.map +1 -1
  590. package/dist/esm/operations/apiManagementService.js +122 -121
  591. package/dist/esm/operations/apiManagementService.js.map +1 -1
  592. package/dist/esm/operations/apiManagementServiceSkus.js +23 -40
  593. package/dist/esm/operations/apiManagementServiceSkus.js.map +1 -1
  594. package/dist/esm/operations/apiManagementSkus.js +23 -40
  595. package/dist/esm/operations/apiManagementSkus.js.map +1 -1
  596. package/dist/esm/operations/apiManagementWorkspaceLink.js +1 -0
  597. package/dist/esm/operations/apiManagementWorkspaceLink.js.map +1 -1
  598. package/dist/esm/operations/apiManagementWorkspaceLinks.js +23 -40
  599. package/dist/esm/operations/apiManagementWorkspaceLinks.js.map +1 -1
  600. package/dist/esm/operations/apiOperation.js +23 -40
  601. package/dist/esm/operations/apiOperation.js.map +1 -1
  602. package/dist/esm/operations/apiOperationPolicy.js +1 -0
  603. package/dist/esm/operations/apiOperationPolicy.js.map +1 -1
  604. package/dist/esm/operations/apiPolicy.js +1 -0
  605. package/dist/esm/operations/apiPolicy.js.map +1 -1
  606. package/dist/esm/operations/apiProduct.js +23 -40
  607. package/dist/esm/operations/apiProduct.js.map +1 -1
  608. package/dist/esm/operations/apiRelease.js +23 -40
  609. package/dist/esm/operations/apiRelease.js.map +1 -1
  610. package/dist/esm/operations/apiRevision.js +23 -40
  611. package/dist/esm/operations/apiRevision.js.map +1 -1
  612. package/dist/esm/operations/apiSchema.js +34 -46
  613. package/dist/esm/operations/apiSchema.js.map +1 -1
  614. package/dist/esm/operations/apiTagDescription.js +23 -40
  615. package/dist/esm/operations/apiTagDescription.js.map +1 -1
  616. package/dist/esm/operations/apiVersionSet.js +23 -40
  617. package/dist/esm/operations/apiVersionSet.js.map +1 -1
  618. package/dist/esm/operations/apiWiki.js +1 -0
  619. package/dist/esm/operations/apiWiki.js.map +1 -1
  620. package/dist/esm/operations/apiWikis.js +23 -40
  621. package/dist/esm/operations/apiWikis.js.map +1 -1
  622. package/dist/esm/operations/authorization.js +23 -40
  623. package/dist/esm/operations/authorization.js.map +1 -1
  624. package/dist/esm/operations/authorizationAccessPolicy.js +23 -40
  625. package/dist/esm/operations/authorizationAccessPolicy.js.map +1 -1
  626. package/dist/esm/operations/authorizationLoginLinks.js +1 -0
  627. package/dist/esm/operations/authorizationLoginLinks.js.map +1 -1
  628. package/dist/esm/operations/authorizationProvider.js +23 -40
  629. package/dist/esm/operations/authorizationProvider.js.map +1 -1
  630. package/dist/esm/operations/authorizationServer.js +23 -40
  631. package/dist/esm/operations/authorizationServer.js.map +1 -1
  632. package/dist/esm/operations/backend.js +23 -40
  633. package/dist/esm/operations/backend.js.map +1 -1
  634. package/dist/esm/operations/cache.js +23 -40
  635. package/dist/esm/operations/cache.js.map +1 -1
  636. package/dist/esm/operations/certificate.js +23 -40
  637. package/dist/esm/operations/certificate.js.map +1 -1
  638. package/dist/esm/operations/contentItem.js +23 -40
  639. package/dist/esm/operations/contentItem.js.map +1 -1
  640. package/dist/esm/operations/contentType.js +23 -40
  641. package/dist/esm/operations/contentType.js.map +1 -1
  642. package/dist/esm/operations/delegationSettings.js +1 -0
  643. package/dist/esm/operations/delegationSettings.js.map +1 -1
  644. package/dist/esm/operations/deletedServices.js +34 -46
  645. package/dist/esm/operations/deletedServices.js.map +1 -1
  646. package/dist/esm/operations/diagnostic.js +23 -40
  647. package/dist/esm/operations/diagnostic.js.map +1 -1
  648. package/dist/esm/operations/documentation.js +23 -40
  649. package/dist/esm/operations/documentation.js.map +1 -1
  650. package/dist/esm/operations/emailTemplate.js +23 -40
  651. package/dist/esm/operations/emailTemplate.js.map +1 -1
  652. package/dist/esm/operations/gateway.js +23 -40
  653. package/dist/esm/operations/gateway.js.map +1 -1
  654. package/dist/esm/operations/gatewayApi.js +23 -40
  655. package/dist/esm/operations/gatewayApi.js.map +1 -1
  656. package/dist/esm/operations/gatewayCertificateAuthority.js +23 -40
  657. package/dist/esm/operations/gatewayCertificateAuthority.js.map +1 -1
  658. package/dist/esm/operations/gatewayHostnameConfiguration.js +23 -40
  659. package/dist/esm/operations/gatewayHostnameConfiguration.js.map +1 -1
  660. package/dist/esm/operations/globalSchema.js +34 -46
  661. package/dist/esm/operations/globalSchema.js.map +1 -1
  662. package/dist/esm/operations/graphQLApiResolver.js +23 -40
  663. package/dist/esm/operations/graphQLApiResolver.js.map +1 -1
  664. package/dist/esm/operations/graphQLApiResolverPolicy.js +23 -40
  665. package/dist/esm/operations/graphQLApiResolverPolicy.js.map +1 -1
  666. package/dist/esm/operations/group.js +23 -40
  667. package/dist/esm/operations/group.js.map +1 -1
  668. package/dist/esm/operations/groupUser.js +23 -40
  669. package/dist/esm/operations/groupUser.js.map +1 -1
  670. package/dist/esm/operations/identityProvider.js +23 -40
  671. package/dist/esm/operations/identityProvider.js.map +1 -1
  672. package/dist/esm/operations/issue.js +23 -40
  673. package/dist/esm/operations/issue.js.map +1 -1
  674. package/dist/esm/operations/logger.js +23 -40
  675. package/dist/esm/operations/logger.js.map +1 -1
  676. package/dist/esm/operations/namedValue.js +56 -58
  677. package/dist/esm/operations/namedValue.js.map +1 -1
  678. package/dist/esm/operations/networkStatus.js +1 -0
  679. package/dist/esm/operations/networkStatus.js.map +1 -1
  680. package/dist/esm/operations/notification.js +23 -40
  681. package/dist/esm/operations/notification.js.map +1 -1
  682. package/dist/esm/operations/notificationRecipientEmail.js +1 -0
  683. package/dist/esm/operations/notificationRecipientEmail.js.map +1 -1
  684. package/dist/esm/operations/notificationRecipientUser.js +1 -0
  685. package/dist/esm/operations/notificationRecipientUser.js.map +1 -1
  686. package/dist/esm/operations/openIdConnectProvider.js +23 -40
  687. package/dist/esm/operations/openIdConnectProvider.js.map +1 -1
  688. package/dist/esm/operations/operationOperations.js +23 -40
  689. package/dist/esm/operations/operationOperations.js.map +1 -1
  690. package/dist/esm/operations/operationStatus.js +1 -0
  691. package/dist/esm/operations/operationStatus.js.map +1 -1
  692. package/dist/esm/operations/operationsResults.js +1 -0
  693. package/dist/esm/operations/operationsResults.js.map +1 -1
  694. package/dist/esm/operations/outboundNetworkDependenciesEndpoints.js +1 -0
  695. package/dist/esm/operations/outboundNetworkDependenciesEndpoints.js.map +1 -1
  696. package/dist/esm/operations/policy.js +23 -40
  697. package/dist/esm/operations/policy.js.map +1 -1
  698. package/dist/esm/operations/policyDescription.js +1 -0
  699. package/dist/esm/operations/policyDescription.js.map +1 -1
  700. package/dist/esm/operations/policyFragment.js +34 -46
  701. package/dist/esm/operations/policyFragment.js.map +1 -1
  702. package/dist/esm/operations/policyRestriction.js +23 -40
  703. package/dist/esm/operations/policyRestriction.js.map +1 -1
  704. package/dist/esm/operations/policyRestrictionValidations.js +12 -6
  705. package/dist/esm/operations/policyRestrictionValidations.js.map +1 -1
  706. package/dist/esm/operations/portalConfig.js +23 -40
  707. package/dist/esm/operations/portalConfig.js.map +1 -1
  708. package/dist/esm/operations/portalRevision.js +45 -52
  709. package/dist/esm/operations/portalRevision.js.map +1 -1
  710. package/dist/esm/operations/portalSettings.js +1 -0
  711. package/dist/esm/operations/portalSettings.js.map +1 -1
  712. package/dist/esm/operations/privateEndpointConnectionOperations.js +32 -39
  713. package/dist/esm/operations/privateEndpointConnectionOperations.js.map +1 -1
  714. package/dist/esm/operations/product.js +45 -79
  715. package/dist/esm/operations/product.js.map +1 -1
  716. package/dist/esm/operations/productApi.js +23 -40
  717. package/dist/esm/operations/productApi.js.map +1 -1
  718. package/dist/esm/operations/productApiLink.js +23 -40
  719. package/dist/esm/operations/productApiLink.js.map +1 -1
  720. package/dist/esm/operations/productGroup.js +23 -40
  721. package/dist/esm/operations/productGroup.js.map +1 -1
  722. package/dist/esm/operations/productGroupLink.js +23 -40
  723. package/dist/esm/operations/productGroupLink.js.map +1 -1
  724. package/dist/esm/operations/productPolicy.js +23 -40
  725. package/dist/esm/operations/productPolicy.js.map +1 -1
  726. package/dist/esm/operations/productSubscriptions.js +23 -40
  727. package/dist/esm/operations/productSubscriptions.js.map +1 -1
  728. package/dist/esm/operations/productWiki.js +1 -0
  729. package/dist/esm/operations/productWiki.js.map +1 -1
  730. package/dist/esm/operations/productWikis.js +23 -40
  731. package/dist/esm/operations/productWikis.js.map +1 -1
  732. package/dist/esm/operations/quotaByCounterKeys.js +1 -0
  733. package/dist/esm/operations/quotaByCounterKeys.js.map +1 -1
  734. package/dist/esm/operations/quotaByPeriodKeys.js +1 -0
  735. package/dist/esm/operations/quotaByPeriodKeys.js.map +1 -1
  736. package/dist/esm/operations/region.js +23 -40
  737. package/dist/esm/operations/region.js.map +1 -1
  738. package/dist/esm/operations/reports.js +164 -300
  739. package/dist/esm/operations/reports.js.map +1 -1
  740. package/dist/esm/operations/signInSettings.js +1 -0
  741. package/dist/esm/operations/signInSettings.js.map +1 -1
  742. package/dist/esm/operations/signUpSettings.js +1 -0
  743. package/dist/esm/operations/signUpSettings.js.map +1 -1
  744. package/dist/esm/operations/subscription.js +23 -40
  745. package/dist/esm/operations/subscription.js.map +1 -1
  746. package/dist/esm/operations/tag.js +89 -157
  747. package/dist/esm/operations/tag.js.map +1 -1
  748. package/dist/esm/operations/tagApiLink.js +23 -40
  749. package/dist/esm/operations/tagApiLink.js.map +1 -1
  750. package/dist/esm/operations/tagOperationLink.js +23 -40
  751. package/dist/esm/operations/tagOperationLink.js.map +1 -1
  752. package/dist/esm/operations/tagProductLink.js +23 -40
  753. package/dist/esm/operations/tagProductLink.js.map +1 -1
  754. package/dist/esm/operations/tagResource.js +23 -40
  755. package/dist/esm/operations/tagResource.js.map +1 -1
  756. package/dist/esm/operations/tenantAccess.js +23 -40
  757. package/dist/esm/operations/tenantAccess.js.map +1 -1
  758. package/dist/esm/operations/tenantAccessGit.js +1 -0
  759. package/dist/esm/operations/tenantAccessGit.js.map +1 -1
  760. package/dist/esm/operations/tenantConfiguration.js +34 -18
  761. package/dist/esm/operations/tenantConfiguration.js.map +1 -1
  762. package/dist/esm/operations/tenantSettings.js +23 -40
  763. package/dist/esm/operations/tenantSettings.js.map +1 -1
  764. package/dist/esm/operations/user.js +34 -46
  765. package/dist/esm/operations/user.js.map +1 -1
  766. package/dist/esm/operations/userConfirmationPassword.js +1 -0
  767. package/dist/esm/operations/userConfirmationPassword.js.map +1 -1
  768. package/dist/esm/operations/userGroup.js +23 -40
  769. package/dist/esm/operations/userGroup.js.map +1 -1
  770. package/dist/esm/operations/userIdentities.js +23 -40
  771. package/dist/esm/operations/userIdentities.js.map +1 -1
  772. package/dist/esm/operations/userSubscription.js +23 -40
  773. package/dist/esm/operations/userSubscription.js.map +1 -1
  774. package/dist/esm/operations/workspace.js +23 -40
  775. package/dist/esm/operations/workspace.js.map +1 -1
  776. package/dist/esm/operations/workspaceApi.js +34 -46
  777. package/dist/esm/operations/workspaceApi.js.map +1 -1
  778. package/dist/esm/operations/workspaceApiDiagnostic.js +23 -40
  779. package/dist/esm/operations/workspaceApiDiagnostic.js.map +1 -1
  780. package/dist/esm/operations/workspaceApiExport.js +1 -0
  781. package/dist/esm/operations/workspaceApiExport.js.map +1 -1
  782. package/dist/esm/operations/workspaceApiOperation.js +23 -40
  783. package/dist/esm/operations/workspaceApiOperation.js.map +1 -1
  784. package/dist/esm/operations/workspaceApiOperationPolicy.js +23 -40
  785. package/dist/esm/operations/workspaceApiOperationPolicy.js.map +1 -1
  786. package/dist/esm/operations/workspaceApiPolicy.js +23 -40
  787. package/dist/esm/operations/workspaceApiPolicy.js.map +1 -1
  788. package/dist/esm/operations/workspaceApiRelease.js +23 -40
  789. package/dist/esm/operations/workspaceApiRelease.js.map +1 -1
  790. package/dist/esm/operations/workspaceApiRevision.js +23 -40
  791. package/dist/esm/operations/workspaceApiRevision.js.map +1 -1
  792. package/dist/esm/operations/workspaceApiSchema.js +34 -46
  793. package/dist/esm/operations/workspaceApiSchema.js.map +1 -1
  794. package/dist/esm/operations/workspaceApiVersionSet.js +23 -40
  795. package/dist/esm/operations/workspaceApiVersionSet.js.map +1 -1
  796. package/dist/esm/operations/workspaceBackend.js +23 -40
  797. package/dist/esm/operations/workspaceBackend.js.map +1 -1
  798. package/dist/esm/operations/workspaceCertificate.js +23 -40
  799. package/dist/esm/operations/workspaceCertificate.js.map +1 -1
  800. package/dist/esm/operations/workspaceDiagnostic.js +23 -40
  801. package/dist/esm/operations/workspaceDiagnostic.js.map +1 -1
  802. package/dist/esm/operations/workspaceGlobalSchema.js +34 -46
  803. package/dist/esm/operations/workspaceGlobalSchema.js.map +1 -1
  804. package/dist/esm/operations/workspaceGroup.js +23 -40
  805. package/dist/esm/operations/workspaceGroup.js.map +1 -1
  806. package/dist/esm/operations/workspaceGroupUser.js +23 -40
  807. package/dist/esm/operations/workspaceGroupUser.js.map +1 -1
  808. package/dist/esm/operations/workspaceLogger.js +23 -40
  809. package/dist/esm/operations/workspaceLogger.js.map +1 -1
  810. package/dist/esm/operations/workspaceNamedValue.js +56 -58
  811. package/dist/esm/operations/workspaceNamedValue.js.map +1 -1
  812. package/dist/esm/operations/workspaceNotification.js +23 -40
  813. package/dist/esm/operations/workspaceNotification.js.map +1 -1
  814. package/dist/esm/operations/workspaceNotificationRecipientEmail.js +1 -0
  815. package/dist/esm/operations/workspaceNotificationRecipientEmail.js.map +1 -1
  816. package/dist/esm/operations/workspaceNotificationRecipientUser.js +1 -0
  817. package/dist/esm/operations/workspaceNotificationRecipientUser.js.map +1 -1
  818. package/dist/esm/operations/workspacePolicy.js +23 -40
  819. package/dist/esm/operations/workspacePolicy.js.map +1 -1
  820. package/dist/esm/operations/workspacePolicyFragment.js +34 -46
  821. package/dist/esm/operations/workspacePolicyFragment.js.map +1 -1
  822. package/dist/esm/operations/workspaceProduct.js +23 -40
  823. package/dist/esm/operations/workspaceProduct.js.map +1 -1
  824. package/dist/esm/operations/workspaceProductApiLink.js +23 -40
  825. package/dist/esm/operations/workspaceProductApiLink.js.map +1 -1
  826. package/dist/esm/operations/workspaceProductGroupLink.js +23 -40
  827. package/dist/esm/operations/workspaceProductGroupLink.js.map +1 -1
  828. package/dist/esm/operations/workspaceProductPolicy.js +1 -0
  829. package/dist/esm/operations/workspaceProductPolicy.js.map +1 -1
  830. package/dist/esm/operations/workspaceSubscription.js +23 -40
  831. package/dist/esm/operations/workspaceSubscription.js.map +1 -1
  832. package/dist/esm/operations/workspaceTag.js +23 -40
  833. package/dist/esm/operations/workspaceTag.js.map +1 -1
  834. package/dist/esm/operations/workspaceTagApiLink.js +23 -40
  835. package/dist/esm/operations/workspaceTagApiLink.js.map +1 -1
  836. package/dist/esm/operations/workspaceTagOperationLink.js +23 -40
  837. package/dist/esm/operations/workspaceTagOperationLink.js.map +1 -1
  838. package/dist/esm/operations/workspaceTagProductLink.js +23 -40
  839. package/dist/esm/operations/workspaceTagProductLink.js.map +1 -1
  840. package/dist/esm/pagingHelper.js +2 -4
  841. package/dist/esm/pagingHelper.js.map +1 -1
  842. package/dist/react-native/apiManagementClient.js +160 -11
  843. package/dist/react-native/apiManagementClient.js.map +1 -1
  844. package/dist/react-native/lroImpl.js +7 -3
  845. package/dist/react-native/lroImpl.js.map +1 -1
  846. package/dist/react-native/models/mappers.js +1444 -666
  847. package/dist/react-native/models/mappers.js.map +1 -1
  848. package/dist/react-native/operations/allPolicies.js +23 -40
  849. package/dist/react-native/operations/allPolicies.js.map +1 -1
  850. package/dist/react-native/operations/api.js +67 -91
  851. package/dist/react-native/operations/api.js.map +1 -1
  852. package/dist/react-native/operations/apiDiagnostic.js +23 -40
  853. package/dist/react-native/operations/apiDiagnostic.js.map +1 -1
  854. package/dist/react-native/operations/apiExport.js +1 -0
  855. package/dist/react-native/operations/apiExport.js.map +1 -1
  856. package/dist/react-native/operations/apiGateway.js +78 -97
  857. package/dist/react-native/operations/apiGateway.js.map +1 -1
  858. package/dist/react-native/operations/apiGatewayConfigConnection.js +45 -52
  859. package/dist/react-native/operations/apiGatewayConfigConnection.js.map +1 -1
  860. package/dist/react-native/operations/apiIssue.js +23 -40
  861. package/dist/react-native/operations/apiIssue.js.map +1 -1
  862. package/dist/react-native/operations/apiIssueAttachment.js +23 -40
  863. package/dist/react-native/operations/apiIssueAttachment.js.map +1 -1
  864. package/dist/react-native/operations/apiIssueComment.js +23 -40
  865. package/dist/react-native/operations/apiIssueComment.js.map +1 -1
  866. package/dist/react-native/operations/apiManagementGatewaySkus.js +23 -40
  867. package/dist/react-native/operations/apiManagementGatewaySkus.js.map +1 -1
  868. package/dist/react-native/operations/apiManagementOperations.js +23 -40
  869. package/dist/react-native/operations/apiManagementOperations.js.map +1 -1
  870. package/dist/react-native/operations/apiManagementService.js +122 -121
  871. package/dist/react-native/operations/apiManagementService.js.map +1 -1
  872. package/dist/react-native/operations/apiManagementServiceSkus.js +23 -40
  873. package/dist/react-native/operations/apiManagementServiceSkus.js.map +1 -1
  874. package/dist/react-native/operations/apiManagementSkus.js +23 -40
  875. package/dist/react-native/operations/apiManagementSkus.js.map +1 -1
  876. package/dist/react-native/operations/apiManagementWorkspaceLink.js +1 -0
  877. package/dist/react-native/operations/apiManagementWorkspaceLink.js.map +1 -1
  878. package/dist/react-native/operations/apiManagementWorkspaceLinks.js +23 -40
  879. package/dist/react-native/operations/apiManagementWorkspaceLinks.js.map +1 -1
  880. package/dist/react-native/operations/apiOperation.js +23 -40
  881. package/dist/react-native/operations/apiOperation.js.map +1 -1
  882. package/dist/react-native/operations/apiOperationPolicy.js +1 -0
  883. package/dist/react-native/operations/apiOperationPolicy.js.map +1 -1
  884. package/dist/react-native/operations/apiPolicy.js +1 -0
  885. package/dist/react-native/operations/apiPolicy.js.map +1 -1
  886. package/dist/react-native/operations/apiProduct.js +23 -40
  887. package/dist/react-native/operations/apiProduct.js.map +1 -1
  888. package/dist/react-native/operations/apiRelease.js +23 -40
  889. package/dist/react-native/operations/apiRelease.js.map +1 -1
  890. package/dist/react-native/operations/apiRevision.js +23 -40
  891. package/dist/react-native/operations/apiRevision.js.map +1 -1
  892. package/dist/react-native/operations/apiSchema.js +34 -46
  893. package/dist/react-native/operations/apiSchema.js.map +1 -1
  894. package/dist/react-native/operations/apiTagDescription.js +23 -40
  895. package/dist/react-native/operations/apiTagDescription.js.map +1 -1
  896. package/dist/react-native/operations/apiVersionSet.js +23 -40
  897. package/dist/react-native/operations/apiVersionSet.js.map +1 -1
  898. package/dist/react-native/operations/apiWiki.js +1 -0
  899. package/dist/react-native/operations/apiWiki.js.map +1 -1
  900. package/dist/react-native/operations/apiWikis.js +23 -40
  901. package/dist/react-native/operations/apiWikis.js.map +1 -1
  902. package/dist/react-native/operations/authorization.js +23 -40
  903. package/dist/react-native/operations/authorization.js.map +1 -1
  904. package/dist/react-native/operations/authorizationAccessPolicy.js +23 -40
  905. package/dist/react-native/operations/authorizationAccessPolicy.js.map +1 -1
  906. package/dist/react-native/operations/authorizationLoginLinks.js +1 -0
  907. package/dist/react-native/operations/authorizationLoginLinks.js.map +1 -1
  908. package/dist/react-native/operations/authorizationProvider.js +23 -40
  909. package/dist/react-native/operations/authorizationProvider.js.map +1 -1
  910. package/dist/react-native/operations/authorizationServer.js +23 -40
  911. package/dist/react-native/operations/authorizationServer.js.map +1 -1
  912. package/dist/react-native/operations/backend.js +23 -40
  913. package/dist/react-native/operations/backend.js.map +1 -1
  914. package/dist/react-native/operations/cache.js +23 -40
  915. package/dist/react-native/operations/cache.js.map +1 -1
  916. package/dist/react-native/operations/certificate.js +23 -40
  917. package/dist/react-native/operations/certificate.js.map +1 -1
  918. package/dist/react-native/operations/contentItem.js +23 -40
  919. package/dist/react-native/operations/contentItem.js.map +1 -1
  920. package/dist/react-native/operations/contentType.js +23 -40
  921. package/dist/react-native/operations/contentType.js.map +1 -1
  922. package/dist/react-native/operations/delegationSettings.js +1 -0
  923. package/dist/react-native/operations/delegationSettings.js.map +1 -1
  924. package/dist/react-native/operations/deletedServices.js +34 -46
  925. package/dist/react-native/operations/deletedServices.js.map +1 -1
  926. package/dist/react-native/operations/diagnostic.js +23 -40
  927. package/dist/react-native/operations/diagnostic.js.map +1 -1
  928. package/dist/react-native/operations/documentation.js +23 -40
  929. package/dist/react-native/operations/documentation.js.map +1 -1
  930. package/dist/react-native/operations/emailTemplate.js +23 -40
  931. package/dist/react-native/operations/emailTemplate.js.map +1 -1
  932. package/dist/react-native/operations/gateway.js +23 -40
  933. package/dist/react-native/operations/gateway.js.map +1 -1
  934. package/dist/react-native/operations/gatewayApi.js +23 -40
  935. package/dist/react-native/operations/gatewayApi.js.map +1 -1
  936. package/dist/react-native/operations/gatewayCertificateAuthority.js +23 -40
  937. package/dist/react-native/operations/gatewayCertificateAuthority.js.map +1 -1
  938. package/dist/react-native/operations/gatewayHostnameConfiguration.js +23 -40
  939. package/dist/react-native/operations/gatewayHostnameConfiguration.js.map +1 -1
  940. package/dist/react-native/operations/globalSchema.js +34 -46
  941. package/dist/react-native/operations/globalSchema.js.map +1 -1
  942. package/dist/react-native/operations/graphQLApiResolver.js +23 -40
  943. package/dist/react-native/operations/graphQLApiResolver.js.map +1 -1
  944. package/dist/react-native/operations/graphQLApiResolverPolicy.js +23 -40
  945. package/dist/react-native/operations/graphQLApiResolverPolicy.js.map +1 -1
  946. package/dist/react-native/operations/group.js +23 -40
  947. package/dist/react-native/operations/group.js.map +1 -1
  948. package/dist/react-native/operations/groupUser.js +23 -40
  949. package/dist/react-native/operations/groupUser.js.map +1 -1
  950. package/dist/react-native/operations/identityProvider.js +23 -40
  951. package/dist/react-native/operations/identityProvider.js.map +1 -1
  952. package/dist/react-native/operations/issue.js +23 -40
  953. package/dist/react-native/operations/issue.js.map +1 -1
  954. package/dist/react-native/operations/logger.js +23 -40
  955. package/dist/react-native/operations/logger.js.map +1 -1
  956. package/dist/react-native/operations/namedValue.js +56 -58
  957. package/dist/react-native/operations/namedValue.js.map +1 -1
  958. package/dist/react-native/operations/networkStatus.js +1 -0
  959. package/dist/react-native/operations/networkStatus.js.map +1 -1
  960. package/dist/react-native/operations/notification.js +23 -40
  961. package/dist/react-native/operations/notification.js.map +1 -1
  962. package/dist/react-native/operations/notificationRecipientEmail.js +1 -0
  963. package/dist/react-native/operations/notificationRecipientEmail.js.map +1 -1
  964. package/dist/react-native/operations/notificationRecipientUser.js +1 -0
  965. package/dist/react-native/operations/notificationRecipientUser.js.map +1 -1
  966. package/dist/react-native/operations/openIdConnectProvider.js +23 -40
  967. package/dist/react-native/operations/openIdConnectProvider.js.map +1 -1
  968. package/dist/react-native/operations/operationOperations.js +23 -40
  969. package/dist/react-native/operations/operationOperations.js.map +1 -1
  970. package/dist/react-native/operations/operationStatus.js +1 -0
  971. package/dist/react-native/operations/operationStatus.js.map +1 -1
  972. package/dist/react-native/operations/operationsResults.js +1 -0
  973. package/dist/react-native/operations/operationsResults.js.map +1 -1
  974. package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.js +1 -0
  975. package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.js.map +1 -1
  976. package/dist/react-native/operations/policy.js +23 -40
  977. package/dist/react-native/operations/policy.js.map +1 -1
  978. package/dist/react-native/operations/policyDescription.js +1 -0
  979. package/dist/react-native/operations/policyDescription.js.map +1 -1
  980. package/dist/react-native/operations/policyFragment.js +34 -46
  981. package/dist/react-native/operations/policyFragment.js.map +1 -1
  982. package/dist/react-native/operations/policyRestriction.js +23 -40
  983. package/dist/react-native/operations/policyRestriction.js.map +1 -1
  984. package/dist/react-native/operations/policyRestrictionValidations.js +12 -6
  985. package/dist/react-native/operations/policyRestrictionValidations.js.map +1 -1
  986. package/dist/react-native/operations/portalConfig.js +23 -40
  987. package/dist/react-native/operations/portalConfig.js.map +1 -1
  988. package/dist/react-native/operations/portalRevision.js +45 -52
  989. package/dist/react-native/operations/portalRevision.js.map +1 -1
  990. package/dist/react-native/operations/portalSettings.js +1 -0
  991. package/dist/react-native/operations/portalSettings.js.map +1 -1
  992. package/dist/react-native/operations/privateEndpointConnectionOperations.js +32 -39
  993. package/dist/react-native/operations/privateEndpointConnectionOperations.js.map +1 -1
  994. package/dist/react-native/operations/product.js +45 -79
  995. package/dist/react-native/operations/product.js.map +1 -1
  996. package/dist/react-native/operations/productApi.js +23 -40
  997. package/dist/react-native/operations/productApi.js.map +1 -1
  998. package/dist/react-native/operations/productApiLink.js +23 -40
  999. package/dist/react-native/operations/productApiLink.js.map +1 -1
  1000. package/dist/react-native/operations/productGroup.js +23 -40
  1001. package/dist/react-native/operations/productGroup.js.map +1 -1
  1002. package/dist/react-native/operations/productGroupLink.js +23 -40
  1003. package/dist/react-native/operations/productGroupLink.js.map +1 -1
  1004. package/dist/react-native/operations/productPolicy.js +23 -40
  1005. package/dist/react-native/operations/productPolicy.js.map +1 -1
  1006. package/dist/react-native/operations/productSubscriptions.js +23 -40
  1007. package/dist/react-native/operations/productSubscriptions.js.map +1 -1
  1008. package/dist/react-native/operations/productWiki.js +1 -0
  1009. package/dist/react-native/operations/productWiki.js.map +1 -1
  1010. package/dist/react-native/operations/productWikis.js +23 -40
  1011. package/dist/react-native/operations/productWikis.js.map +1 -1
  1012. package/dist/react-native/operations/quotaByCounterKeys.js +1 -0
  1013. package/dist/react-native/operations/quotaByCounterKeys.js.map +1 -1
  1014. package/dist/react-native/operations/quotaByPeriodKeys.js +1 -0
  1015. package/dist/react-native/operations/quotaByPeriodKeys.js.map +1 -1
  1016. package/dist/react-native/operations/region.js +23 -40
  1017. package/dist/react-native/operations/region.js.map +1 -1
  1018. package/dist/react-native/operations/reports.js +164 -300
  1019. package/dist/react-native/operations/reports.js.map +1 -1
  1020. package/dist/react-native/operations/signInSettings.js +1 -0
  1021. package/dist/react-native/operations/signInSettings.js.map +1 -1
  1022. package/dist/react-native/operations/signUpSettings.js +1 -0
  1023. package/dist/react-native/operations/signUpSettings.js.map +1 -1
  1024. package/dist/react-native/operations/subscription.js +23 -40
  1025. package/dist/react-native/operations/subscription.js.map +1 -1
  1026. package/dist/react-native/operations/tag.js +89 -157
  1027. package/dist/react-native/operations/tag.js.map +1 -1
  1028. package/dist/react-native/operations/tagApiLink.js +23 -40
  1029. package/dist/react-native/operations/tagApiLink.js.map +1 -1
  1030. package/dist/react-native/operations/tagOperationLink.js +23 -40
  1031. package/dist/react-native/operations/tagOperationLink.js.map +1 -1
  1032. package/dist/react-native/operations/tagProductLink.js +23 -40
  1033. package/dist/react-native/operations/tagProductLink.js.map +1 -1
  1034. package/dist/react-native/operations/tagResource.js +23 -40
  1035. package/dist/react-native/operations/tagResource.js.map +1 -1
  1036. package/dist/react-native/operations/tenantAccess.js +23 -40
  1037. package/dist/react-native/operations/tenantAccess.js.map +1 -1
  1038. package/dist/react-native/operations/tenantAccessGit.js +1 -0
  1039. package/dist/react-native/operations/tenantAccessGit.js.map +1 -1
  1040. package/dist/react-native/operations/tenantConfiguration.js +34 -18
  1041. package/dist/react-native/operations/tenantConfiguration.js.map +1 -1
  1042. package/dist/react-native/operations/tenantSettings.js +23 -40
  1043. package/dist/react-native/operations/tenantSettings.js.map +1 -1
  1044. package/dist/react-native/operations/user.js +34 -46
  1045. package/dist/react-native/operations/user.js.map +1 -1
  1046. package/dist/react-native/operations/userConfirmationPassword.js +1 -0
  1047. package/dist/react-native/operations/userConfirmationPassword.js.map +1 -1
  1048. package/dist/react-native/operations/userGroup.js +23 -40
  1049. package/dist/react-native/operations/userGroup.js.map +1 -1
  1050. package/dist/react-native/operations/userIdentities.js +23 -40
  1051. package/dist/react-native/operations/userIdentities.js.map +1 -1
  1052. package/dist/react-native/operations/userSubscription.js +23 -40
  1053. package/dist/react-native/operations/userSubscription.js.map +1 -1
  1054. package/dist/react-native/operations/workspace.js +23 -40
  1055. package/dist/react-native/operations/workspace.js.map +1 -1
  1056. package/dist/react-native/operations/workspaceApi.js +34 -46
  1057. package/dist/react-native/operations/workspaceApi.js.map +1 -1
  1058. package/dist/react-native/operations/workspaceApiDiagnostic.js +23 -40
  1059. package/dist/react-native/operations/workspaceApiDiagnostic.js.map +1 -1
  1060. package/dist/react-native/operations/workspaceApiExport.js +1 -0
  1061. package/dist/react-native/operations/workspaceApiExport.js.map +1 -1
  1062. package/dist/react-native/operations/workspaceApiOperation.js +23 -40
  1063. package/dist/react-native/operations/workspaceApiOperation.js.map +1 -1
  1064. package/dist/react-native/operations/workspaceApiOperationPolicy.js +23 -40
  1065. package/dist/react-native/operations/workspaceApiOperationPolicy.js.map +1 -1
  1066. package/dist/react-native/operations/workspaceApiPolicy.js +23 -40
  1067. package/dist/react-native/operations/workspaceApiPolicy.js.map +1 -1
  1068. package/dist/react-native/operations/workspaceApiRelease.js +23 -40
  1069. package/dist/react-native/operations/workspaceApiRelease.js.map +1 -1
  1070. package/dist/react-native/operations/workspaceApiRevision.js +23 -40
  1071. package/dist/react-native/operations/workspaceApiRevision.js.map +1 -1
  1072. package/dist/react-native/operations/workspaceApiSchema.js +34 -46
  1073. package/dist/react-native/operations/workspaceApiSchema.js.map +1 -1
  1074. package/dist/react-native/operations/workspaceApiVersionSet.js +23 -40
  1075. package/dist/react-native/operations/workspaceApiVersionSet.js.map +1 -1
  1076. package/dist/react-native/operations/workspaceBackend.js +23 -40
  1077. package/dist/react-native/operations/workspaceBackend.js.map +1 -1
  1078. package/dist/react-native/operations/workspaceCertificate.js +23 -40
  1079. package/dist/react-native/operations/workspaceCertificate.js.map +1 -1
  1080. package/dist/react-native/operations/workspaceDiagnostic.js +23 -40
  1081. package/dist/react-native/operations/workspaceDiagnostic.js.map +1 -1
  1082. package/dist/react-native/operations/workspaceGlobalSchema.js +34 -46
  1083. package/dist/react-native/operations/workspaceGlobalSchema.js.map +1 -1
  1084. package/dist/react-native/operations/workspaceGroup.js +23 -40
  1085. package/dist/react-native/operations/workspaceGroup.js.map +1 -1
  1086. package/dist/react-native/operations/workspaceGroupUser.js +23 -40
  1087. package/dist/react-native/operations/workspaceGroupUser.js.map +1 -1
  1088. package/dist/react-native/operations/workspaceLogger.js +23 -40
  1089. package/dist/react-native/operations/workspaceLogger.js.map +1 -1
  1090. package/dist/react-native/operations/workspaceNamedValue.js +56 -58
  1091. package/dist/react-native/operations/workspaceNamedValue.js.map +1 -1
  1092. package/dist/react-native/operations/workspaceNotification.js +23 -40
  1093. package/dist/react-native/operations/workspaceNotification.js.map +1 -1
  1094. package/dist/react-native/operations/workspaceNotificationRecipientEmail.js +1 -0
  1095. package/dist/react-native/operations/workspaceNotificationRecipientEmail.js.map +1 -1
  1096. package/dist/react-native/operations/workspaceNotificationRecipientUser.js +1 -0
  1097. package/dist/react-native/operations/workspaceNotificationRecipientUser.js.map +1 -1
  1098. package/dist/react-native/operations/workspacePolicy.js +23 -40
  1099. package/dist/react-native/operations/workspacePolicy.js.map +1 -1
  1100. package/dist/react-native/operations/workspacePolicyFragment.js +34 -46
  1101. package/dist/react-native/operations/workspacePolicyFragment.js.map +1 -1
  1102. package/dist/react-native/operations/workspaceProduct.js +23 -40
  1103. package/dist/react-native/operations/workspaceProduct.js.map +1 -1
  1104. package/dist/react-native/operations/workspaceProductApiLink.js +23 -40
  1105. package/dist/react-native/operations/workspaceProductApiLink.js.map +1 -1
  1106. package/dist/react-native/operations/workspaceProductGroupLink.js +23 -40
  1107. package/dist/react-native/operations/workspaceProductGroupLink.js.map +1 -1
  1108. package/dist/react-native/operations/workspaceProductPolicy.js +1 -0
  1109. package/dist/react-native/operations/workspaceProductPolicy.js.map +1 -1
  1110. package/dist/react-native/operations/workspaceSubscription.js +23 -40
  1111. package/dist/react-native/operations/workspaceSubscription.js.map +1 -1
  1112. package/dist/react-native/operations/workspaceTag.js +23 -40
  1113. package/dist/react-native/operations/workspaceTag.js.map +1 -1
  1114. package/dist/react-native/operations/workspaceTagApiLink.js +23 -40
  1115. package/dist/react-native/operations/workspaceTagApiLink.js.map +1 -1
  1116. package/dist/react-native/operations/workspaceTagOperationLink.js +23 -40
  1117. package/dist/react-native/operations/workspaceTagOperationLink.js.map +1 -1
  1118. package/dist/react-native/operations/workspaceTagProductLink.js +23 -40
  1119. package/dist/react-native/operations/workspaceTagProductLink.js.map +1 -1
  1120. package/dist/react-native/pagingHelper.js +2 -4
  1121. package/dist/react-native/pagingHelper.js.map +1 -1
  1122. package/package.json +2 -2
  1123. /package/review/{arm-apimanagement.api.md → arm-apimanagement-node.api.md} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"workspaceNamedValue.js","sourceRoot":"","sources":["../../../src/operations/workspaceNamedValue.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAwB9C,4CAA4C;AAC5C,uDAAuD;AACvD,MAAa,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,OAAwD;QAExD,MAA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AAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { WorkspaceNamedValue } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n NamedValueContract,\n WorkspaceNamedValueListByServiceNextOptionalParams,\n WorkspaceNamedValueListByServiceOptionalParams,\n WorkspaceNamedValueListByServiceResponse,\n WorkspaceNamedValueGetEntityTagOptionalParams,\n WorkspaceNamedValueGetEntityTagResponse,\n WorkspaceNamedValueGetOptionalParams,\n WorkspaceNamedValueGetResponse,\n NamedValueCreateContract,\n WorkspaceNamedValueCreateOrUpdateOptionalParams,\n WorkspaceNamedValueCreateOrUpdateResponse,\n NamedValueUpdateParameters,\n WorkspaceNamedValueUpdateOptionalParams,\n WorkspaceNamedValueUpdateResponse,\n WorkspaceNamedValueDeleteOptionalParams,\n WorkspaceNamedValueListValueOptionalParams,\n WorkspaceNamedValueListValueResponse,\n WorkspaceNamedValueRefreshSecretOptionalParams,\n WorkspaceNamedValueRefreshSecretResponse,\n WorkspaceNamedValueListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing WorkspaceNamedValue operations. */\nexport class WorkspaceNamedValueImpl implements WorkspaceNamedValue {\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNamedValue class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists a collection of named values defined within a workspace in a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n public listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<NamedValueContract> {\n const iter = this.listByServicePagingAll(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\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.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NamedValueContract[]> {\n let result: WorkspaceNamedValueListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServiceNext(\n resourceGroupName,\n serviceName,\n workspaceId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n ): AsyncIterableIterator<NamedValueContract> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists a collection of named values defined within a workspace in a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n private _listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n ): Promise<WorkspaceNamedValueListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * Gets the entity state (Etag) version of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n getEntityTag(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueGetEntityTagOptionalParams,\n ): Promise<WorkspaceNamedValueGetEntityTagResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, namedValueId, options },\n getEntityTagOperationSpec,\n );\n }\n\n /**\n * Gets the details of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueGetOptionalParams,\n ): Promise<WorkspaceNamedValueGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, namedValueId, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param parameters Create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n parameters: NamedValueCreateContract,\n options?: WorkspaceNamedValueCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<WorkspaceNamedValueCreateOrUpdateResponse>,\n WorkspaceNamedValueCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<WorkspaceNamedValueCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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: {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n WorkspaceNamedValueCreateOrUpdateResponse,\n OperationState<WorkspaceNamedValueCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param parameters Create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n parameters: NamedValueCreateContract,\n options?: WorkspaceNamedValueCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNamedValueCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the specific named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header\n * response of the GET request or it should be * for unconditional update.\n * @param parameters Update parameters.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n ifMatch: string,\n parameters: NamedValueUpdateParameters,\n options?: WorkspaceNamedValueUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<WorkspaceNamedValueUpdateResponse>,\n WorkspaceNamedValueUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<WorkspaceNamedValueUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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: {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n ifMatch,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n WorkspaceNamedValueUpdateResponse,\n OperationState<WorkspaceNamedValueUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the specific named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header\n * response of the GET request or it should be * for unconditional update.\n * @param parameters Update parameters.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n ifMatch: string,\n parameters: NamedValueUpdateParameters,\n options?: WorkspaceNamedValueUpdateOptionalParams,\n ): Promise<WorkspaceNamedValueUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n ifMatch,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes specific named value from the workspace in an API Management service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header\n * response of the GET request or it should be * for unconditional update.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n ifMatch: string,\n options?: WorkspaceNamedValueDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n ifMatch,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets the secret of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n listValue(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueListValueOptionalParams,\n ): Promise<WorkspaceNamedValueListValueResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, namedValueId, options },\n listValueOperationSpec,\n );\n }\n\n /**\n * Refresh the secret of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n async beginRefreshSecret(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueRefreshSecretOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<WorkspaceNamedValueRefreshSecretResponse>,\n WorkspaceNamedValueRefreshSecretResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<WorkspaceNamedValueRefreshSecretResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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: {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n options,\n },\n spec: refreshSecretOperationSpec,\n });\n const poller = await createHttpPoller<\n WorkspaceNamedValueRefreshSecretResponse,\n OperationState<WorkspaceNamedValueRefreshSecretResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Refresh the secret of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n async beginRefreshSecretAndWait(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueRefreshSecretOptionalParams,\n ): Promise<WorkspaceNamedValueRefreshSecretResponse> {\n const poller = await this.beginRefreshSecret(\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByServiceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n nextLink: string,\n options?: WorkspaceNamedValueListByServiceNextOptionalParams,\n ): Promise<WorkspaceNamedValueListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, nextLink, options },\n listByServiceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.top,\n Parameters.skip,\n Parameters.isKeyVaultRefreshFailed1,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getEntityTagOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.WorkspaceNamedValueGetEntityTagHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueGetHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n 201: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n 202: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n 204: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters61,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n 201: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n 202: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n 204: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters62,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch1,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch1],\n serializer,\n};\nconst listValueOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}/listValue\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueSecretContract,\n headersMapper: Mappers.WorkspaceNamedValueListValueHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst refreshSecretOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}/refreshSecret\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n 201: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n 202: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n 204: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"workspaceNamedValue.js","sourceRoot":"","sources":["../../../src/operations/workspaceNamedValue.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAwB9C,4CAA4C;AAC5C,uDAAuD;AACvD,MAAa,uBAAuB;IACjB,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,OAAwD;QAExD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,OAAO,CACR,CAAC;QACF,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,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,WAA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;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { WorkspaceNamedValue } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n NamedValueContract,\n WorkspaceNamedValueListByServiceNextOptionalParams,\n WorkspaceNamedValueListByServiceOptionalParams,\n WorkspaceNamedValueListByServiceResponse,\n WorkspaceNamedValueGetEntityTagOptionalParams,\n WorkspaceNamedValueGetEntityTagResponse,\n WorkspaceNamedValueGetOptionalParams,\n WorkspaceNamedValueGetResponse,\n NamedValueCreateContract,\n WorkspaceNamedValueCreateOrUpdateOptionalParams,\n WorkspaceNamedValueCreateOrUpdateResponse,\n NamedValueUpdateParameters,\n WorkspaceNamedValueUpdateOptionalParams,\n WorkspaceNamedValueUpdateResponse,\n WorkspaceNamedValueDeleteOptionalParams,\n WorkspaceNamedValueListValueOptionalParams,\n WorkspaceNamedValueListValueResponse,\n WorkspaceNamedValueRefreshSecretOptionalParams,\n WorkspaceNamedValueRefreshSecretResponse,\n WorkspaceNamedValueListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing WorkspaceNamedValue operations. */\nexport class WorkspaceNamedValueImpl implements WorkspaceNamedValue {\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNamedValue class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists a collection of named values defined within a workspace in a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n public listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<NamedValueContract> {\n const iter = this.listByServicePagingAll(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\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.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NamedValueContract[]> {\n let result: WorkspaceNamedValueListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServiceNext(\n resourceGroupName,\n serviceName,\n workspaceId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n ): AsyncIterableIterator<NamedValueContract> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists a collection of named values defined within a workspace in a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n private _listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNamedValueListByServiceOptionalParams,\n ): Promise<WorkspaceNamedValueListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * Gets the entity state (Etag) version of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n getEntityTag(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueGetEntityTagOptionalParams,\n ): Promise<WorkspaceNamedValueGetEntityTagResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, namedValueId, options },\n getEntityTagOperationSpec,\n );\n }\n\n /**\n * Gets the details of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueGetOptionalParams,\n ): Promise<WorkspaceNamedValueGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, namedValueId, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param parameters Create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n parameters: NamedValueCreateContract,\n options?: WorkspaceNamedValueCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<WorkspaceNamedValueCreateOrUpdateResponse>,\n WorkspaceNamedValueCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<WorkspaceNamedValueCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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: {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n WorkspaceNamedValueCreateOrUpdateResponse,\n OperationState<WorkspaceNamedValueCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param parameters Create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n parameters: NamedValueCreateContract,\n options?: WorkspaceNamedValueCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNamedValueCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the specific named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header\n * response of the GET request or it should be * for unconditional update.\n * @param parameters Update parameters.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n ifMatch: string,\n parameters: NamedValueUpdateParameters,\n options?: WorkspaceNamedValueUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<WorkspaceNamedValueUpdateResponse>,\n WorkspaceNamedValueUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<WorkspaceNamedValueUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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: {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n ifMatch,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n WorkspaceNamedValueUpdateResponse,\n OperationState<WorkspaceNamedValueUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the specific named value.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header\n * response of the GET request or it should be * for unconditional update.\n * @param parameters Update parameters.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n ifMatch: string,\n parameters: NamedValueUpdateParameters,\n options?: WorkspaceNamedValueUpdateOptionalParams,\n ): Promise<WorkspaceNamedValueUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n ifMatch,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes specific named value from the workspace in an API Management service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header\n * response of the GET request or it should be * for unconditional update.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n ifMatch: string,\n options?: WorkspaceNamedValueDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n ifMatch,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets the secret of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n listValue(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueListValueOptionalParams,\n ): Promise<WorkspaceNamedValueListValueResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, namedValueId, options },\n listValueOperationSpec,\n );\n }\n\n /**\n * Refresh the secret of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n async beginRefreshSecret(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueRefreshSecretOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<WorkspaceNamedValueRefreshSecretResponse>,\n WorkspaceNamedValueRefreshSecretResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<WorkspaceNamedValueRefreshSecretResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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: {\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n options,\n },\n spec: refreshSecretOperationSpec,\n });\n const poller = await createHttpPoller<\n WorkspaceNamedValueRefreshSecretResponse,\n OperationState<WorkspaceNamedValueRefreshSecretResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Refresh the secret of the named value specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param namedValueId Identifier of the NamedValue.\n * @param options The options parameters.\n */\n async beginRefreshSecretAndWait(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n namedValueId: string,\n options?: WorkspaceNamedValueRefreshSecretOptionalParams,\n ): Promise<WorkspaceNamedValueRefreshSecretResponse> {\n const poller = await this.beginRefreshSecret(\n resourceGroupName,\n serviceName,\n workspaceId,\n namedValueId,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByServiceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n nextLink: string,\n options?: WorkspaceNamedValueListByServiceNextOptionalParams,\n ): Promise<WorkspaceNamedValueListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, nextLink, options },\n listByServiceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.top,\n Parameters.skip,\n Parameters.isKeyVaultRefreshFailed1,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getEntityTagOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.WorkspaceNamedValueGetEntityTagHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueGetHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n 201: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n 202: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n 204: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueCreateOrUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters61,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n 201: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n 202: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n 204: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters62,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch1,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch1],\n serializer,\n};\nconst listValueOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}/listValue\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueSecretContract,\n headersMapper: Mappers.WorkspaceNamedValueListValueHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst refreshSecretOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}/refreshSecret\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n 201: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n 202: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n 204: {\n bodyMapper: Mappers.NamedValueContract,\n headersMapper: Mappers.WorkspaceNamedValueRefreshSecretHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.namedValueId,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NamedValueCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
16
  /// <reference lib="esnext.asynciterable" />
17
17
  /** Class containing WorkspaceNotification operations. */
18
18
  class WorkspaceNotificationImpl {
19
+ client;
19
20
  /**
20
21
  * Initialize a new instance of the class WorkspaceNotification class.
21
22
  * @param client Reference to the service client
@@ -41,52 +42,35 @@ class WorkspaceNotificationImpl {
41
42
  return this;
42
43
  },
43
44
  byPage: (settings) => {
44
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
45
+ if (settings?.maxPageSize) {
45
46
  throw new Error("maxPageSize is not supported by this operation.");
46
47
  }
47
48
  return this.listByServicePagingPage(resourceGroupName, serviceName, workspaceId, options, settings);
48
49
  },
49
50
  };
50
51
  }
51
- listByServicePagingPage(resourceGroupName, serviceName, workspaceId, options, settings) {
52
- return tslib_1.__asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
53
- let result;
54
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
55
- if (!continuationToken) {
56
- result = yield tslib_1.__await(this._listByService(resourceGroupName, serviceName, workspaceId, options));
57
- let page = result.value || [];
58
- continuationToken = result.nextLink;
59
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
- yield yield tslib_1.__await(page);
61
- }
62
- while (continuationToken) {
63
- result = yield tslib_1.__await(this._listByServiceNext(resourceGroupName, serviceName, workspaceId, continuationToken, options));
64
- continuationToken = result.nextLink;
65
- let page = result.value || [];
66
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
- yield yield tslib_1.__await(page);
68
- }
69
- });
52
+ async *listByServicePagingPage(resourceGroupName, serviceName, workspaceId, options, settings) {
53
+ let result;
54
+ let continuationToken = settings?.continuationToken;
55
+ if (!continuationToken) {
56
+ result = await this._listByService(resourceGroupName, serviceName, workspaceId, options);
57
+ let page = result.value || [];
58
+ continuationToken = result.nextLink;
59
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
+ yield page;
61
+ }
62
+ while (continuationToken) {
63
+ result = await this._listByServiceNext(resourceGroupName, serviceName, workspaceId, continuationToken, options);
64
+ continuationToken = result.nextLink;
65
+ let page = result.value || [];
66
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
+ yield page;
68
+ }
70
69
  }
71
- listByServicePagingAll(resourceGroupName, serviceName, workspaceId, options) {
72
- return tslib_1.__asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
73
- var _a, e_1, _b, _c;
74
- try {
75
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByServicePagingPage(resourceGroupName, serviceName, workspaceId, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
76
- _c = _f.value;
77
- _d = false;
78
- const page = _c;
79
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
80
- }
81
- }
82
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
83
- finally {
84
- try {
85
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
86
- }
87
- finally { if (e_1) throw e_1.error; }
88
- }
89
- });
70
+ async *listByServicePagingAll(resourceGroupName, serviceName, workspaceId, options) {
71
+ for await (const page of this.listByServicePagingPage(resourceGroupName, serviceName, workspaceId, options)) {
72
+ yield* page;
73
+ }
90
74
  }
91
75
  /**
92
76
  * Lists a collection of properties defined within a service instance.
@@ -1 +1 @@
1
- {"version":3,"file":"workspaceNotification.js","sourceRoot":"","sources":["../../../src/operations/workspaceNotification.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAetD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,OAA0D;QAE1D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,OAAO,CACR,CAAC;QACF,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,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IA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KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC;IACzD,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { WorkspaceNotification } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n NotificationContract,\n WorkspaceNotificationListByServiceNextOptionalParams,\n WorkspaceNotificationListByServiceOptionalParams,\n WorkspaceNotificationListByServiceResponse,\n NotificationName,\n WorkspaceNotificationGetOptionalParams,\n WorkspaceNotificationGetResponse,\n WorkspaceNotificationCreateOrUpdateOptionalParams,\n WorkspaceNotificationCreateOrUpdateResponse,\n WorkspaceNotificationListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing WorkspaceNotification operations. */\nexport class WorkspaceNotificationImpl implements WorkspaceNotification {\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNotification class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists a collection of properties defined within a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n public listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<NotificationContract> {\n const iter = this.listByServicePagingAll(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\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.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NotificationContract[]> {\n let result: WorkspaceNotificationListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServiceNext(\n resourceGroupName,\n serviceName,\n workspaceId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n ): AsyncIterableIterator<NotificationContract> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists a collection of properties defined within a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n private _listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n ): Promise<WorkspaceNotificationListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * Gets the details of the Notification specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationGetOptionalParams,\n ): Promise<WorkspaceNotificationGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update API Management publisher notification for the workspace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNotificationCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * ListByServiceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n nextLink: string,\n options?: WorkspaceNotificationListByServiceNextOptionalParams,\n ): Promise<WorkspaceNotificationListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, nextLink, options },\n listByServiceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.skip],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"workspaceNotification.js","sourceRoot":"","sources":["../../../src/operations/workspaceNotification.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;A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E;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { WorkspaceNotification } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n NotificationContract,\n WorkspaceNotificationListByServiceNextOptionalParams,\n WorkspaceNotificationListByServiceOptionalParams,\n WorkspaceNotificationListByServiceResponse,\n NotificationName,\n WorkspaceNotificationGetOptionalParams,\n WorkspaceNotificationGetResponse,\n WorkspaceNotificationCreateOrUpdateOptionalParams,\n WorkspaceNotificationCreateOrUpdateResponse,\n WorkspaceNotificationListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing WorkspaceNotification operations. */\nexport class WorkspaceNotificationImpl implements WorkspaceNotification {\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNotification class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists a collection of properties defined within a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n public listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<NotificationContract> {\n const iter = this.listByServicePagingAll(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\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.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NotificationContract[]> {\n let result: WorkspaceNotificationListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServiceNext(\n resourceGroupName,\n serviceName,\n workspaceId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n ): AsyncIterableIterator<NotificationContract> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n serviceName,\n workspaceId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists a collection of properties defined within a service instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param options The options parameters.\n */\n private _listByService(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n options?: WorkspaceNotificationListByServiceOptionalParams,\n ): Promise<WorkspaceNotificationListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * Gets the details of the Notification specified by its identifier.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationGetOptionalParams,\n ): Promise<WorkspaceNotificationGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update API Management publisher notification for the workspace.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNotificationCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * ListByServiceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n nextLink: string,\n options?: WorkspaceNotificationListByServiceNextOptionalParams,\n ): Promise<WorkspaceNotificationListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serviceName, workspaceId, nextLink, options },\n listByServiceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.skip],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NotificationCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.serviceName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
14
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
15
  /** Class containing WorkspaceNotificationRecipientEmail operations. */
16
16
  class WorkspaceNotificationRecipientEmailImpl {
17
+ client;
17
18
  /**
18
19
  * Initialize a new instance of the class WorkspaceNotificationRecipientEmail class.
19
20
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"workspaceNotificationRecipientEmail.js","sourceRoot":"","sources":["../../../src/operations/workspaceNotificationRecipientEmail.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,uEAAuE;AACvE,MAAa,uCAAuC;IAKlD;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,gBAAkC,EAClC,OAA6E;QAE7E,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,OAAO;SACR,EACD,+BAA+B,CAChC,CAAC;IACJ,CAAC;IAED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C3B,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,8MAA8M;IACpN,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,WAAW;KACvB;IACD,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 { WorkspaceNotificationRecipientEmail } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n NotificationName,\n WorkspaceNotificationRecipientEmailListByNotificationOptionalParams,\n WorkspaceNotificationRecipientEmailListByNotificationResponse,\n WorkspaceNotificationRecipientEmailCheckEntityExistsOptionalParams,\n WorkspaceNotificationRecipientEmailCheckEntityExistsResponse,\n WorkspaceNotificationRecipientEmailCreateOrUpdateOptionalParams,\n WorkspaceNotificationRecipientEmailCreateOrUpdateResponse,\n WorkspaceNotificationRecipientEmailDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing WorkspaceNotificationRecipientEmail operations. */\nexport class WorkspaceNotificationRecipientEmailImpl\n implements WorkspaceNotificationRecipientEmail\n{\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNotificationRecipientEmail class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the list of the Notification Recipient Emails subscribed to a notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n listByNotification(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationRecipientEmailListByNotificationOptionalParams,\n ): Promise<WorkspaceNotificationRecipientEmailListByNotificationResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n listByNotificationOperationSpec,\n );\n }\n\n /**\n * Determine if Notification Recipient Email subscribed to the notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param email Email identifier.\n * @param options The options parameters.\n */\n checkEntityExists(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n email: string,\n options?: WorkspaceNotificationRecipientEmailCheckEntityExistsOptionalParams,\n ): Promise<WorkspaceNotificationRecipientEmailCheckEntityExistsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n email,\n options,\n },\n checkEntityExistsOperationSpec,\n );\n }\n\n /**\n * Adds the Email address to the list of Recipients for the Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param email Email identifier.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n email: string,\n options?: WorkspaceNotificationRecipientEmailCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNotificationRecipientEmailCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n email,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Removes the email from the list of Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param email Email identifier.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n email: string,\n options?: WorkspaceNotificationRecipientEmailDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n email,\n options,\n },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByNotificationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientEmailCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkEntityExistsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails/{email}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.email,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails/{email}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientEmailContract,\n },\n 201: {\n bodyMapper: Mappers.RecipientEmailContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.email,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails/{email}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.email,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"workspaceNotificationRecipientEmail.js","sourceRoot":"","sources":["../../../src/operations/workspaceNotificationRecipientEmail.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,uEAAuE;AACvE,MAAa,uCAAuC;IAGjC,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,gBAAkC,EAClC,OAA6E;QAE7E,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,OAAO;SACR,EACD,+BAA+B,CAChC,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,iBAAiB,CACf,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,gBAAkC,EAClC,KAAa,EACb,OAA4E;QAE5E,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,KAAK;YACL,OAAO;SACR,EACD,8BAA8B,CAC/B,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,gBAAkC,EAClC,KAAa,EACb,OAAyE;QAEzE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,KAAK;YACL,OAAO;SACR,EACD,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAyB,EACzB,W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AU,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 { WorkspaceNotificationRecipientEmail } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n NotificationName,\n WorkspaceNotificationRecipientEmailListByNotificationOptionalParams,\n WorkspaceNotificationRecipientEmailListByNotificationResponse,\n WorkspaceNotificationRecipientEmailCheckEntityExistsOptionalParams,\n WorkspaceNotificationRecipientEmailCheckEntityExistsResponse,\n WorkspaceNotificationRecipientEmailCreateOrUpdateOptionalParams,\n WorkspaceNotificationRecipientEmailCreateOrUpdateResponse,\n WorkspaceNotificationRecipientEmailDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing WorkspaceNotificationRecipientEmail operations. */\nexport class WorkspaceNotificationRecipientEmailImpl\n implements WorkspaceNotificationRecipientEmail\n{\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNotificationRecipientEmail class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the list of the Notification Recipient Emails subscribed to a notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n listByNotification(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationRecipientEmailListByNotificationOptionalParams,\n ): Promise<WorkspaceNotificationRecipientEmailListByNotificationResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n listByNotificationOperationSpec,\n );\n }\n\n /**\n * Determine if Notification Recipient Email subscribed to the notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param email Email identifier.\n * @param options The options parameters.\n */\n checkEntityExists(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n email: string,\n options?: WorkspaceNotificationRecipientEmailCheckEntityExistsOptionalParams,\n ): Promise<WorkspaceNotificationRecipientEmailCheckEntityExistsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n email,\n options,\n },\n checkEntityExistsOperationSpec,\n );\n }\n\n /**\n * Adds the Email address to the list of Recipients for the Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param email Email identifier.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n email: string,\n options?: WorkspaceNotificationRecipientEmailCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNotificationRecipientEmailCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n email,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Removes the email from the list of Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param email Email identifier.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n email: string,\n options?: WorkspaceNotificationRecipientEmailDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n email,\n options,\n },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByNotificationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientEmailCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkEntityExistsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails/{email}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.email,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails/{email}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientEmailContract,\n },\n 201: {\n bodyMapper: Mappers.RecipientEmailContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.email,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails/{email}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.email,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
14
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
15
  /** Class containing WorkspaceNotificationRecipientUser operations. */
16
16
  class WorkspaceNotificationRecipientUserImpl {
17
+ client;
17
18
  /**
18
19
  * Initialize a new instance of the class WorkspaceNotificationRecipientUser class.
19
20
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"workspaceNotificationRecipientUser.js","sourceRoot":"","sources":["../../../src/operations/workspaceNotificationRecipientUser.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,sEAAsE;AACtE,MAAa,sCAAsC;IAKjD;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB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qB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,8MAA8M;IACpN,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,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 { WorkspaceNotificationRecipientUser } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n NotificationName,\n WorkspaceNotificationRecipientUserListByNotificationOptionalParams,\n WorkspaceNotificationRecipientUserListByNotificationResponse,\n WorkspaceNotificationRecipientUserCheckEntityExistsOptionalParams,\n WorkspaceNotificationRecipientUserCheckEntityExistsResponse,\n WorkspaceNotificationRecipientUserCreateOrUpdateOptionalParams,\n WorkspaceNotificationRecipientUserCreateOrUpdateResponse,\n WorkspaceNotificationRecipientUserDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing WorkspaceNotificationRecipientUser operations. */\nexport class WorkspaceNotificationRecipientUserImpl\n implements WorkspaceNotificationRecipientUser\n{\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNotificationRecipientUser class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the list of the Notification Recipient User subscribed to the notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n listByNotification(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationRecipientUserListByNotificationOptionalParams,\n ): Promise<WorkspaceNotificationRecipientUserListByNotificationResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n listByNotificationOperationSpec,\n );\n }\n\n /**\n * Determine if the Notification Recipient User is subscribed to the notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param userId User identifier. Must be unique in the current API Management service instance.\n * @param options The options parameters.\n */\n checkEntityExists(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n userId: string,\n options?: WorkspaceNotificationRecipientUserCheckEntityExistsOptionalParams,\n ): Promise<WorkspaceNotificationRecipientUserCheckEntityExistsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n userId,\n options,\n },\n checkEntityExistsOperationSpec,\n );\n }\n\n /**\n * Adds the API Management User to the list of Recipients for the Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param userId User identifier. Must be unique in the current API Management service instance.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n userId: string,\n options?: WorkspaceNotificationRecipientUserCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNotificationRecipientUserCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n userId,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Removes the API Management user from the list of Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param userId User identifier. Must be unique in the current API Management service instance.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n userId: string,\n options?: WorkspaceNotificationRecipientUserDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n userId,\n options,\n },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByNotificationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientUserCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkEntityExistsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers/{userId}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.userId,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers/{userId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientUserContract,\n },\n 201: {\n bodyMapper: Mappers.RecipientUserContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.userId,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers/{userId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.userId,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"workspaceNotificationRecipientUser.js","sourceRoot":"","sources":["../../../src/operations/workspaceNotificationRecipientUser.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAatD,sEAAsE;AACtE,MAAa,sCAAsC;IAGhC,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,gBAAkC,EAClC,OAA4E;QAE5E,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,OAAO;SACR,EACD,+BAA+B,CAChC,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,iBAAiB,CACf,iBAAyB,EACzB,WAAmB,EACnB,WAAmB,EACnB,gBAAkC,EAClC,MAAc,EACd,OAA2E;QAE3E,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,MAAM;YACN,OAAO;SACR,EACD,8BAA8B,CAC/B,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;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EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,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 { WorkspaceNotificationRecipientUser } 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 { ApiManagementClient } from \"../apiManagementClient.js\";\nimport {\n NotificationName,\n WorkspaceNotificationRecipientUserListByNotificationOptionalParams,\n WorkspaceNotificationRecipientUserListByNotificationResponse,\n WorkspaceNotificationRecipientUserCheckEntityExistsOptionalParams,\n WorkspaceNotificationRecipientUserCheckEntityExistsResponse,\n WorkspaceNotificationRecipientUserCreateOrUpdateOptionalParams,\n WorkspaceNotificationRecipientUserCreateOrUpdateResponse,\n WorkspaceNotificationRecipientUserDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing WorkspaceNotificationRecipientUser operations. */\nexport class WorkspaceNotificationRecipientUserImpl\n implements WorkspaceNotificationRecipientUser\n{\n private readonly client: ApiManagementClient;\n\n /**\n * Initialize a new instance of the class WorkspaceNotificationRecipientUser class.\n * @param client Reference to the service client\n */\n constructor(client: ApiManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the list of the Notification Recipient User subscribed to the notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param options The options parameters.\n */\n listByNotification(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n options?: WorkspaceNotificationRecipientUserListByNotificationOptionalParams,\n ): Promise<WorkspaceNotificationRecipientUserListByNotificationResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n options,\n },\n listByNotificationOperationSpec,\n );\n }\n\n /**\n * Determine if the Notification Recipient User is subscribed to the notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param userId User identifier. Must be unique in the current API Management service instance.\n * @param options The options parameters.\n */\n checkEntityExists(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n userId: string,\n options?: WorkspaceNotificationRecipientUserCheckEntityExistsOptionalParams,\n ): Promise<WorkspaceNotificationRecipientUserCheckEntityExistsResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n userId,\n options,\n },\n checkEntityExistsOperationSpec,\n );\n }\n\n /**\n * Adds the API Management User to the list of Recipients for the Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param userId User identifier. Must be unique in the current API Management service instance.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n userId: string,\n options?: WorkspaceNotificationRecipientUserCreateOrUpdateOptionalParams,\n ): Promise<WorkspaceNotificationRecipientUserCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n userId,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Removes the API Management user from the list of Notification.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serviceName The name of the API Management service.\n * @param workspaceId Workspace identifier. Must be unique in the current API Management service\n * instance.\n * @param notificationName Notification Name Identifier.\n * @param userId User identifier. Must be unique in the current API Management service instance.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n serviceName: string,\n workspaceId: string,\n notificationName: NotificationName,\n userId: string,\n options?: WorkspaceNotificationRecipientUserDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n serviceName,\n workspaceId,\n notificationName,\n userId,\n options,\n },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByNotificationOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientUserCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkEntityExistsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers/{userId}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.userId,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers/{userId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecipientUserContract,\n },\n 201: {\n bodyMapper: Mappers.RecipientUserContract,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.userId,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientUsers/{userId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.serviceName,\n Parameters.userId,\n Parameters.notificationName,\n Parameters.workspaceId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}