@azure/arm-playwright 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +115 -0
  4. package/dist/browser/api/index.d.ts +2 -0
  5. package/dist/browser/api/index.js +4 -0
  6. package/dist/browser/api/index.js.map +1 -0
  7. package/dist/browser/api/operations/index.d.ts +3 -0
  8. package/dist/browser/api/operations/index.js +4 -0
  9. package/dist/browser/api/operations/index.js.map +1 -0
  10. package/dist/browser/api/operations/operations.d.ts +10 -0
  11. package/dist/browser/api/operations/operations.js +29 -0
  12. package/dist/browser/api/operations/operations.js.map +1 -0
  13. package/dist/browser/api/operations/options.d.ts +5 -0
  14. package/dist/browser/api/operations/options.js +4 -0
  15. package/dist/browser/api/operations/options.js.map +1 -0
  16. package/dist/browser/api/playwrightManagementContext.d.ts +19 -0
  17. package/dist/browser/api/playwrightManagementContext.js +36 -0
  18. package/dist/browser/api/playwrightManagementContext.js.map +1 -0
  19. package/dist/browser/api/playwrightQuotas/index.d.ts +3 -0
  20. package/dist/browser/api/playwrightQuotas/index.js +4 -0
  21. package/dist/browser/api/playwrightQuotas/index.js.map +1 -0
  22. package/dist/browser/api/playwrightQuotas/operations.d.ts +14 -0
  23. package/dist/browser/api/playwrightQuotas/operations.js +61 -0
  24. package/dist/browser/api/playwrightQuotas/operations.js.map +1 -0
  25. package/dist/browser/api/playwrightQuotas/options.d.ts +8 -0
  26. package/dist/browser/api/playwrightQuotas/options.js +4 -0
  27. package/dist/browser/api/playwrightQuotas/options.js.map +1 -0
  28. package/dist/browser/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  29. package/dist/browser/api/playwrightWorkspaceQuotas/index.js +4 -0
  30. package/dist/browser/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  31. package/dist/browser/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  32. package/dist/browser/api/playwrightWorkspaceQuotas/operations.js +63 -0
  33. package/dist/browser/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  34. package/dist/browser/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  35. package/dist/browser/api/playwrightWorkspaceQuotas/options.js +4 -0
  36. package/dist/browser/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  37. package/dist/browser/api/playwrightWorkspaces/index.d.ts +3 -0
  38. package/dist/browser/api/playwrightWorkspaces/index.js +4 -0
  39. package/dist/browser/api/playwrightWorkspaces/index.js.map +1 -0
  40. package/dist/browser/api/playwrightWorkspaces/operations.d.ts +40 -0
  41. package/dist/browser/api/playwrightWorkspaces/operations.js +212 -0
  42. package/dist/browser/api/playwrightWorkspaces/operations.js.map +1 -0
  43. package/dist/browser/api/playwrightWorkspaces/options.d.ts +27 -0
  44. package/dist/browser/api/playwrightWorkspaces/options.js +4 -0
  45. package/dist/browser/api/playwrightWorkspaces/options.js.map +1 -0
  46. package/dist/browser/classic/index.d.ts +5 -0
  47. package/dist/browser/classic/index.js +4 -0
  48. package/dist/browser/classic/index.js.map +1 -0
  49. package/dist/browser/classic/operations/index.d.ts +11 -0
  50. package/dist/browser/classic/operations/index.js +12 -0
  51. package/dist/browser/classic/operations/index.js.map +1 -0
  52. package/dist/browser/classic/playwrightQuotas/index.d.ts +13 -0
  53. package/dist/browser/classic/playwrightQuotas/index.js +13 -0
  54. package/dist/browser/classic/playwrightQuotas/index.js.map +1 -0
  55. package/dist/browser/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  56. package/dist/browser/classic/playwrightWorkspaceQuotas/index.js +13 -0
  57. package/dist/browser/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  58. package/dist/browser/classic/playwrightWorkspaces/index.d.ts +29 -0
  59. package/dist/browser/classic/playwrightWorkspaces/index.js +18 -0
  60. package/dist/browser/classic/playwrightWorkspaces/index.js.map +1 -0
  61. package/dist/browser/index.d.ts +12 -0
  62. package/dist/browser/index.js +6 -0
  63. package/dist/browser/index.js.map +1 -0
  64. package/dist/browser/logger.d.ts +2 -0
  65. package/dist/browser/logger.js +5 -0
  66. package/dist/browser/logger.js.map +1 -0
  67. package/dist/browser/models/index.d.ts +2 -0
  68. package/dist/browser/models/index.js +4 -0
  69. package/dist/browser/models/index.js.map +1 -0
  70. package/dist/browser/models/models.d.ts +391 -0
  71. package/dist/browser/models/models.js +352 -0
  72. package/dist/browser/models/models.js.map +1 -0
  73. package/dist/browser/package.json +3 -0
  74. package/dist/browser/playwrightManagementClient.d.ts +24 -0
  75. package/dist/browser/playwrightManagementClient.js +24 -0
  76. package/dist/browser/playwrightManagementClient.js.map +1 -0
  77. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  78. package/dist/browser/restorePollerHelpers.js +97 -0
  79. package/dist/browser/restorePollerHelpers.js.map +1 -0
  80. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  81. package/dist/browser/static-helpers/pagingHelpers.js +137 -0
  82. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  83. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  84. package/dist/browser/static-helpers/pollingHelpers.js +76 -0
  85. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  86. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  87. package/dist/browser/static-helpers/urlTemplate.js +169 -0
  88. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  89. package/dist/commonjs/api/index.d.ts +2 -0
  90. package/dist/commonjs/api/index.js +8 -0
  91. package/dist/commonjs/api/index.js.map +1 -0
  92. package/dist/commonjs/api/operations/index.d.ts +3 -0
  93. package/dist/commonjs/api/operations/index.js +8 -0
  94. package/dist/commonjs/api/operations/index.js.map +1 -0
  95. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  96. package/dist/commonjs/api/operations/operations.js +34 -0
  97. package/dist/commonjs/api/operations/operations.js.map +1 -0
  98. package/dist/commonjs/api/operations/options.d.ts +5 -0
  99. package/dist/commonjs/api/operations/options.js +5 -0
  100. package/dist/commonjs/api/operations/options.js.map +1 -0
  101. package/dist/commonjs/api/playwrightManagementContext.d.ts +19 -0
  102. package/dist/commonjs/api/playwrightManagementContext.js +39 -0
  103. package/dist/commonjs/api/playwrightManagementContext.js.map +1 -0
  104. package/dist/commonjs/api/playwrightQuotas/index.d.ts +3 -0
  105. package/dist/commonjs/api/playwrightQuotas/index.js +9 -0
  106. package/dist/commonjs/api/playwrightQuotas/index.js.map +1 -0
  107. package/dist/commonjs/api/playwrightQuotas/operations.d.ts +14 -0
  108. package/dist/commonjs/api/playwrightQuotas/operations.js +69 -0
  109. package/dist/commonjs/api/playwrightQuotas/operations.js.map +1 -0
  110. package/dist/commonjs/api/playwrightQuotas/options.d.ts +8 -0
  111. package/dist/commonjs/api/playwrightQuotas/options.js +5 -0
  112. package/dist/commonjs/api/playwrightQuotas/options.js.map +1 -0
  113. package/dist/commonjs/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  114. package/dist/commonjs/api/playwrightWorkspaceQuotas/index.js +9 -0
  115. package/dist/commonjs/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  116. package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  117. package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js +71 -0
  118. package/dist/commonjs/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  119. package/dist/commonjs/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  120. package/dist/commonjs/api/playwrightWorkspaceQuotas/options.js +5 -0
  121. package/dist/commonjs/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  122. package/dist/commonjs/api/playwrightWorkspaces/index.d.ts +3 -0
  123. package/dist/commonjs/api/playwrightWorkspaces/index.js +14 -0
  124. package/dist/commonjs/api/playwrightWorkspaces/index.js.map +1 -0
  125. package/dist/commonjs/api/playwrightWorkspaces/operations.d.ts +40 -0
  126. package/dist/commonjs/api/playwrightWorkspaces/operations.js +235 -0
  127. package/dist/commonjs/api/playwrightWorkspaces/operations.js.map +1 -0
  128. package/dist/commonjs/api/playwrightWorkspaces/options.d.ts +27 -0
  129. package/dist/commonjs/api/playwrightWorkspaces/options.js +5 -0
  130. package/dist/commonjs/api/playwrightWorkspaces/options.js.map +1 -0
  131. package/dist/commonjs/classic/index.d.ts +5 -0
  132. package/dist/commonjs/classic/index.js +5 -0
  133. package/dist/commonjs/classic/index.js.map +1 -0
  134. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  135. package/dist/commonjs/classic/operations/index.js +15 -0
  136. package/dist/commonjs/classic/operations/index.js.map +1 -0
  137. package/dist/commonjs/classic/playwrightQuotas/index.d.ts +13 -0
  138. package/dist/commonjs/classic/playwrightQuotas/index.js +16 -0
  139. package/dist/commonjs/classic/playwrightQuotas/index.js.map +1 -0
  140. package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  141. package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js +16 -0
  142. package/dist/commonjs/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  143. package/dist/commonjs/classic/playwrightWorkspaces/index.d.ts +29 -0
  144. package/dist/commonjs/classic/playwrightWorkspaces/index.js +21 -0
  145. package/dist/commonjs/classic/playwrightWorkspaces/index.js.map +1 -0
  146. package/dist/commonjs/index.d.ts +12 -0
  147. package/dist/commonjs/index.js +20 -0
  148. package/dist/commonjs/index.js.map +1 -0
  149. package/dist/commonjs/logger.d.ts +2 -0
  150. package/dist/commonjs/logger.js +8 -0
  151. package/dist/commonjs/logger.js.map +1 -0
  152. package/dist/commonjs/models/index.d.ts +2 -0
  153. package/dist/commonjs/models/index.js +16 -0
  154. package/dist/commonjs/models/index.js.map +1 -0
  155. package/dist/commonjs/models/models.d.ts +391 -0
  156. package/dist/commonjs/models/models.js +391 -0
  157. package/dist/commonjs/models/models.js.map +1 -0
  158. package/dist/commonjs/package.json +3 -0
  159. package/dist/commonjs/playwrightManagementClient.d.ts +24 -0
  160. package/dist/commonjs/playwrightManagementClient.js +28 -0
  161. package/dist/commonjs/playwrightManagementClient.js.map +1 -0
  162. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  163. package/dist/commonjs/restorePollerHelpers.js +100 -0
  164. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  165. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  166. package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
  167. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  168. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  169. package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
  170. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  171. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  172. package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
  173. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  174. package/dist/commonjs/tsdoc-metadata.json +11 -0
  175. package/dist/esm/api/index.d.ts +2 -0
  176. package/dist/esm/api/index.js +4 -0
  177. package/dist/esm/api/index.js.map +1 -0
  178. package/dist/esm/api/operations/index.d.ts +3 -0
  179. package/dist/esm/api/operations/index.js +4 -0
  180. package/dist/esm/api/operations/index.js.map +1 -0
  181. package/dist/esm/api/operations/operations.d.ts +10 -0
  182. package/dist/esm/api/operations/operations.js +29 -0
  183. package/dist/esm/api/operations/operations.js.map +1 -0
  184. package/dist/esm/api/operations/options.d.ts +5 -0
  185. package/dist/esm/api/operations/options.js +4 -0
  186. package/dist/esm/api/operations/options.js.map +1 -0
  187. package/dist/esm/api/playwrightManagementContext.d.ts +19 -0
  188. package/dist/esm/api/playwrightManagementContext.js +36 -0
  189. package/dist/esm/api/playwrightManagementContext.js.map +1 -0
  190. package/dist/esm/api/playwrightQuotas/index.d.ts +3 -0
  191. package/dist/esm/api/playwrightQuotas/index.js +4 -0
  192. package/dist/esm/api/playwrightQuotas/index.js.map +1 -0
  193. package/dist/esm/api/playwrightQuotas/operations.d.ts +14 -0
  194. package/dist/esm/api/playwrightQuotas/operations.js +61 -0
  195. package/dist/esm/api/playwrightQuotas/operations.js.map +1 -0
  196. package/dist/esm/api/playwrightQuotas/options.d.ts +8 -0
  197. package/dist/esm/api/playwrightQuotas/options.js +4 -0
  198. package/dist/esm/api/playwrightQuotas/options.js.map +1 -0
  199. package/dist/esm/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  200. package/dist/esm/api/playwrightWorkspaceQuotas/index.js +4 -0
  201. package/dist/esm/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  202. package/dist/esm/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  203. package/dist/esm/api/playwrightWorkspaceQuotas/operations.js +63 -0
  204. package/dist/esm/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  205. package/dist/esm/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  206. package/dist/esm/api/playwrightWorkspaceQuotas/options.js +4 -0
  207. package/dist/esm/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  208. package/dist/esm/api/playwrightWorkspaces/index.d.ts +3 -0
  209. package/dist/esm/api/playwrightWorkspaces/index.js +4 -0
  210. package/dist/esm/api/playwrightWorkspaces/index.js.map +1 -0
  211. package/dist/esm/api/playwrightWorkspaces/operations.d.ts +40 -0
  212. package/dist/esm/api/playwrightWorkspaces/operations.js +212 -0
  213. package/dist/esm/api/playwrightWorkspaces/operations.js.map +1 -0
  214. package/dist/esm/api/playwrightWorkspaces/options.d.ts +27 -0
  215. package/dist/esm/api/playwrightWorkspaces/options.js +4 -0
  216. package/dist/esm/api/playwrightWorkspaces/options.js.map +1 -0
  217. package/dist/esm/classic/index.d.ts +5 -0
  218. package/dist/esm/classic/index.js +4 -0
  219. package/dist/esm/classic/index.js.map +1 -0
  220. package/dist/esm/classic/operations/index.d.ts +11 -0
  221. package/dist/esm/classic/operations/index.js +12 -0
  222. package/dist/esm/classic/operations/index.js.map +1 -0
  223. package/dist/esm/classic/playwrightQuotas/index.d.ts +13 -0
  224. package/dist/esm/classic/playwrightQuotas/index.js +13 -0
  225. package/dist/esm/classic/playwrightQuotas/index.js.map +1 -0
  226. package/dist/esm/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  227. package/dist/esm/classic/playwrightWorkspaceQuotas/index.js +13 -0
  228. package/dist/esm/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  229. package/dist/esm/classic/playwrightWorkspaces/index.d.ts +29 -0
  230. package/dist/esm/classic/playwrightWorkspaces/index.js +18 -0
  231. package/dist/esm/classic/playwrightWorkspaces/index.js.map +1 -0
  232. package/dist/esm/index.d.ts +12 -0
  233. package/dist/esm/index.js +6 -0
  234. package/dist/esm/index.js.map +1 -0
  235. package/dist/esm/logger.d.ts +2 -0
  236. package/dist/esm/logger.js +5 -0
  237. package/dist/esm/logger.js.map +1 -0
  238. package/dist/esm/models/index.d.ts +2 -0
  239. package/dist/esm/models/index.js +4 -0
  240. package/dist/esm/models/index.js.map +1 -0
  241. package/dist/esm/models/models.d.ts +391 -0
  242. package/dist/esm/models/models.js +352 -0
  243. package/dist/esm/models/models.js.map +1 -0
  244. package/dist/esm/package.json +3 -0
  245. package/dist/esm/playwrightManagementClient.d.ts +24 -0
  246. package/dist/esm/playwrightManagementClient.js +24 -0
  247. package/dist/esm/playwrightManagementClient.js.map +1 -0
  248. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  249. package/dist/esm/restorePollerHelpers.js +97 -0
  250. package/dist/esm/restorePollerHelpers.js.map +1 -0
  251. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  252. package/dist/esm/static-helpers/pagingHelpers.js +137 -0
  253. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  254. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  255. package/dist/esm/static-helpers/pollingHelpers.js +76 -0
  256. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  257. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  258. package/dist/esm/static-helpers/urlTemplate.js +169 -0
  259. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  260. package/dist/react-native/api/index.d.ts +2 -0
  261. package/dist/react-native/api/index.js +4 -0
  262. package/dist/react-native/api/index.js.map +1 -0
  263. package/dist/react-native/api/operations/index.d.ts +3 -0
  264. package/dist/react-native/api/operations/index.js +4 -0
  265. package/dist/react-native/api/operations/index.js.map +1 -0
  266. package/dist/react-native/api/operations/operations.d.ts +10 -0
  267. package/dist/react-native/api/operations/operations.js +29 -0
  268. package/dist/react-native/api/operations/operations.js.map +1 -0
  269. package/dist/react-native/api/operations/options.d.ts +5 -0
  270. package/dist/react-native/api/operations/options.js +4 -0
  271. package/dist/react-native/api/operations/options.js.map +1 -0
  272. package/dist/react-native/api/playwrightManagementContext.d.ts +19 -0
  273. package/dist/react-native/api/playwrightManagementContext.js +36 -0
  274. package/dist/react-native/api/playwrightManagementContext.js.map +1 -0
  275. package/dist/react-native/api/playwrightQuotas/index.d.ts +3 -0
  276. package/dist/react-native/api/playwrightQuotas/index.js +4 -0
  277. package/dist/react-native/api/playwrightQuotas/index.js.map +1 -0
  278. package/dist/react-native/api/playwrightQuotas/operations.d.ts +14 -0
  279. package/dist/react-native/api/playwrightQuotas/operations.js +61 -0
  280. package/dist/react-native/api/playwrightQuotas/operations.js.map +1 -0
  281. package/dist/react-native/api/playwrightQuotas/options.d.ts +8 -0
  282. package/dist/react-native/api/playwrightQuotas/options.js +4 -0
  283. package/dist/react-native/api/playwrightQuotas/options.js.map +1 -0
  284. package/dist/react-native/api/playwrightWorkspaceQuotas/index.d.ts +3 -0
  285. package/dist/react-native/api/playwrightWorkspaceQuotas/index.js +4 -0
  286. package/dist/react-native/api/playwrightWorkspaceQuotas/index.js.map +1 -0
  287. package/dist/react-native/api/playwrightWorkspaceQuotas/operations.d.ts +14 -0
  288. package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js +63 -0
  289. package/dist/react-native/api/playwrightWorkspaceQuotas/operations.js.map +1 -0
  290. package/dist/react-native/api/playwrightWorkspaceQuotas/options.d.ts +8 -0
  291. package/dist/react-native/api/playwrightWorkspaceQuotas/options.js +4 -0
  292. package/dist/react-native/api/playwrightWorkspaceQuotas/options.js.map +1 -0
  293. package/dist/react-native/api/playwrightWorkspaces/index.d.ts +3 -0
  294. package/dist/react-native/api/playwrightWorkspaces/index.js +4 -0
  295. package/dist/react-native/api/playwrightWorkspaces/index.js.map +1 -0
  296. package/dist/react-native/api/playwrightWorkspaces/operations.d.ts +40 -0
  297. package/dist/react-native/api/playwrightWorkspaces/operations.js +212 -0
  298. package/dist/react-native/api/playwrightWorkspaces/operations.js.map +1 -0
  299. package/dist/react-native/api/playwrightWorkspaces/options.d.ts +27 -0
  300. package/dist/react-native/api/playwrightWorkspaces/options.js +4 -0
  301. package/dist/react-native/api/playwrightWorkspaces/options.js.map +1 -0
  302. package/dist/react-native/classic/index.d.ts +5 -0
  303. package/dist/react-native/classic/index.js +4 -0
  304. package/dist/react-native/classic/index.js.map +1 -0
  305. package/dist/react-native/classic/operations/index.d.ts +11 -0
  306. package/dist/react-native/classic/operations/index.js +12 -0
  307. package/dist/react-native/classic/operations/index.js.map +1 -0
  308. package/dist/react-native/classic/playwrightQuotas/index.d.ts +13 -0
  309. package/dist/react-native/classic/playwrightQuotas/index.js +13 -0
  310. package/dist/react-native/classic/playwrightQuotas/index.js.map +1 -0
  311. package/dist/react-native/classic/playwrightWorkspaceQuotas/index.d.ts +13 -0
  312. package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js +13 -0
  313. package/dist/react-native/classic/playwrightWorkspaceQuotas/index.js.map +1 -0
  314. package/dist/react-native/classic/playwrightWorkspaces/index.d.ts +29 -0
  315. package/dist/react-native/classic/playwrightWorkspaces/index.js +18 -0
  316. package/dist/react-native/classic/playwrightWorkspaces/index.js.map +1 -0
  317. package/dist/react-native/index.d.ts +12 -0
  318. package/dist/react-native/index.js +6 -0
  319. package/dist/react-native/index.js.map +1 -0
  320. package/dist/react-native/logger.d.ts +2 -0
  321. package/dist/react-native/logger.js +5 -0
  322. package/dist/react-native/logger.js.map +1 -0
  323. package/dist/react-native/models/index.d.ts +2 -0
  324. package/dist/react-native/models/index.js +4 -0
  325. package/dist/react-native/models/index.js.map +1 -0
  326. package/dist/react-native/models/models.d.ts +391 -0
  327. package/dist/react-native/models/models.js +352 -0
  328. package/dist/react-native/models/models.js.map +1 -0
  329. package/dist/react-native/package.json +3 -0
  330. package/dist/react-native/playwrightManagementClient.d.ts +24 -0
  331. package/dist/react-native/playwrightManagementClient.js +24 -0
  332. package/dist/react-native/playwrightManagementClient.js.map +1 -0
  333. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  334. package/dist/react-native/restorePollerHelpers.js +97 -0
  335. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  336. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  337. package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
  338. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  339. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  340. package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
  341. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  342. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  343. package/dist/react-native/static-helpers/urlTemplate.js +169 -0
  344. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  345. package/package.json +252 -0
  346. package/review/arm-playwright-api-operations.api.md +19 -0
  347. package/review/arm-playwright-api-playwrightQuotas.api.md +26 -0
  348. package/review/arm-playwright-api-playwrightWorkspaceQuotas.api.md +26 -0
  349. package/review/arm-playwright-api-playwrightWorkspaces.api.md +65 -0
  350. package/review/arm-playwright-api.api.md +27 -0
  351. package/review/arm-playwright-models.api.md +232 -0
  352. package/review/arm-playwright.api.md +361 -0
@@ -0,0 +1,391 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.KnownVersions = exports.KnownQuotaName = exports.KnownFreeTrialState = exports.KnownCheckNameAvailabilityReason = exports.KnownCreatedByType = exports.KnownEnablementStatus = exports.KnownProvisioningState = exports.KnownActionType = exports.KnownOrigin = void 0;
6
+ exports._operationListResultDeserializer = _operationListResultDeserializer;
7
+ exports.operationArrayDeserializer = operationArrayDeserializer;
8
+ exports.operationDeserializer = operationDeserializer;
9
+ exports.operationDisplayDeserializer = operationDisplayDeserializer;
10
+ exports.errorResponseDeserializer = errorResponseDeserializer;
11
+ exports.errorDetailDeserializer = errorDetailDeserializer;
12
+ exports.errorDetailArrayDeserializer = errorDetailArrayDeserializer;
13
+ exports.errorAdditionalInfoArrayDeserializer = errorAdditionalInfoArrayDeserializer;
14
+ exports.errorAdditionalInfoDeserializer = errorAdditionalInfoDeserializer;
15
+ exports.playwrightWorkspaceSerializer = playwrightWorkspaceSerializer;
16
+ exports.playwrightWorkspaceDeserializer = playwrightWorkspaceDeserializer;
17
+ exports.playwrightWorkspacePropertiesSerializer = playwrightWorkspacePropertiesSerializer;
18
+ exports.playwrightWorkspacePropertiesDeserializer = playwrightWorkspacePropertiesDeserializer;
19
+ exports.trackedResourceSerializer = trackedResourceSerializer;
20
+ exports.trackedResourceDeserializer = trackedResourceDeserializer;
21
+ exports.resourceSerializer = resourceSerializer;
22
+ exports.resourceDeserializer = resourceDeserializer;
23
+ exports.systemDataDeserializer = systemDataDeserializer;
24
+ exports.playwrightWorkspaceUpdateSerializer = playwrightWorkspaceUpdateSerializer;
25
+ exports.playwrightWorkspaceUpdatePropertiesSerializer = playwrightWorkspaceUpdatePropertiesSerializer;
26
+ exports._playwrightWorkspaceListResultDeserializer = _playwrightWorkspaceListResultDeserializer;
27
+ exports.playwrightWorkspaceArraySerializer = playwrightWorkspaceArraySerializer;
28
+ exports.playwrightWorkspaceArrayDeserializer = playwrightWorkspaceArrayDeserializer;
29
+ exports.checkNameAvailabilityRequestSerializer = checkNameAvailabilityRequestSerializer;
30
+ exports.checkNameAvailabilityResponseDeserializer = checkNameAvailabilityResponseDeserializer;
31
+ exports.playwrightQuotaDeserializer = playwrightQuotaDeserializer;
32
+ exports.playwrightQuotaPropertiesDeserializer = playwrightQuotaPropertiesDeserializer;
33
+ exports.freeTrialPropertiesDeserializer = freeTrialPropertiesDeserializer;
34
+ exports.proxyResourceDeserializer = proxyResourceDeserializer;
35
+ exports._playwrightQuotaListResultDeserializer = _playwrightQuotaListResultDeserializer;
36
+ exports.playwrightQuotaArrayDeserializer = playwrightQuotaArrayDeserializer;
37
+ exports.playwrightWorkspaceQuotaDeserializer = playwrightWorkspaceQuotaDeserializer;
38
+ exports.playwrightWorkspaceQuotaPropertiesDeserializer = playwrightWorkspaceQuotaPropertiesDeserializer;
39
+ exports.playwrightWorkspaceFreeTrialPropertiesDeserializer = playwrightWorkspaceFreeTrialPropertiesDeserializer;
40
+ exports._playwrightWorkspaceQuotaListResultDeserializer = _playwrightWorkspaceQuotaListResultDeserializer;
41
+ exports.playwrightWorkspaceQuotaArrayDeserializer = playwrightWorkspaceQuotaArrayDeserializer;
42
+ function _operationListResultDeserializer(item) {
43
+ return {
44
+ value: operationArrayDeserializer(item["value"]),
45
+ nextLink: item["nextLink"],
46
+ };
47
+ }
48
+ function operationArrayDeserializer(result) {
49
+ return result.map((item) => {
50
+ return operationDeserializer(item);
51
+ });
52
+ }
53
+ function operationDeserializer(item) {
54
+ return {
55
+ name: item["name"],
56
+ isDataAction: item["isDataAction"],
57
+ display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
58
+ origin: item["origin"],
59
+ actionType: item["actionType"],
60
+ };
61
+ }
62
+ function operationDisplayDeserializer(item) {
63
+ return {
64
+ provider: item["provider"],
65
+ resource: item["resource"],
66
+ operation: item["operation"],
67
+ description: item["description"],
68
+ };
69
+ }
70
+ /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
71
+ var KnownOrigin;
72
+ (function (KnownOrigin) {
73
+ /** Indicates the operation is initiated by a user. */
74
+ KnownOrigin["User"] = "user";
75
+ /** Indicates the operation is initiated by a system. */
76
+ KnownOrigin["System"] = "system";
77
+ /** Indicates the operation is initiated by a user or system. */
78
+ KnownOrigin["UserSystem"] = "user,system";
79
+ })(KnownOrigin || (exports.KnownOrigin = KnownOrigin = {}));
80
+ /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
81
+ var KnownActionType;
82
+ (function (KnownActionType) {
83
+ /** Actions are for internal-only APIs. */
84
+ KnownActionType["Internal"] = "Internal";
85
+ })(KnownActionType || (exports.KnownActionType = KnownActionType = {}));
86
+ function errorResponseDeserializer(item) {
87
+ return {
88
+ error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
89
+ };
90
+ }
91
+ function errorDetailDeserializer(item) {
92
+ return {
93
+ code: item["code"],
94
+ message: item["message"],
95
+ target: item["target"],
96
+ details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
97
+ additionalInfo: !item["additionalInfo"]
98
+ ? item["additionalInfo"]
99
+ : errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
100
+ };
101
+ }
102
+ function errorDetailArrayDeserializer(result) {
103
+ return result.map((item) => {
104
+ return errorDetailDeserializer(item);
105
+ });
106
+ }
107
+ function errorAdditionalInfoArrayDeserializer(result) {
108
+ return result.map((item) => {
109
+ return errorAdditionalInfoDeserializer(item);
110
+ });
111
+ }
112
+ function errorAdditionalInfoDeserializer(item) {
113
+ return {
114
+ type: item["type"],
115
+ info: item["info"],
116
+ };
117
+ }
118
+ function playwrightWorkspaceSerializer(item) {
119
+ return {
120
+ tags: item["tags"],
121
+ location: item["location"],
122
+ properties: !item["properties"]
123
+ ? item["properties"]
124
+ : playwrightWorkspacePropertiesSerializer(item["properties"]),
125
+ };
126
+ }
127
+ function playwrightWorkspaceDeserializer(item) {
128
+ return {
129
+ tags: item["tags"],
130
+ location: item["location"],
131
+ id: item["id"],
132
+ name: item["name"],
133
+ type: item["type"],
134
+ systemData: !item["systemData"]
135
+ ? item["systemData"]
136
+ : systemDataDeserializer(item["systemData"]),
137
+ properties: !item["properties"]
138
+ ? item["properties"]
139
+ : playwrightWorkspacePropertiesDeserializer(item["properties"]),
140
+ };
141
+ }
142
+ function playwrightWorkspacePropertiesSerializer(item) {
143
+ return {
144
+ regionalAffinity: item["regionalAffinity"],
145
+ localAuth: item["localAuth"],
146
+ };
147
+ }
148
+ function playwrightWorkspacePropertiesDeserializer(item) {
149
+ return {
150
+ provisioningState: item["provisioningState"],
151
+ dataplaneUri: item["dataplaneUri"],
152
+ regionalAffinity: item["regionalAffinity"],
153
+ localAuth: item["localAuth"],
154
+ };
155
+ }
156
+ /** The status of the last resource operation. */
157
+ var KnownProvisioningState;
158
+ (function (KnownProvisioningState) {
159
+ /** Resource has been created. */
160
+ KnownProvisioningState["Succeeded"] = "Succeeded";
161
+ /** Resource creation failed. */
162
+ KnownProvisioningState["Failed"] = "Failed";
163
+ /** Resource creation was canceled. */
164
+ KnownProvisioningState["Canceled"] = "Canceled";
165
+ /** Creation in progress.. */
166
+ KnownProvisioningState["Creating"] = "Creating";
167
+ /** Deletion in progress.. */
168
+ KnownProvisioningState["Deleting"] = "Deleting";
169
+ /** Request accepted for processing.. */
170
+ KnownProvisioningState["Accepted"] = "Accepted";
171
+ })(KnownProvisioningState || (exports.KnownProvisioningState = KnownProvisioningState = {}));
172
+ /** The enablement status of a feature. */
173
+ var KnownEnablementStatus;
174
+ (function (KnownEnablementStatus) {
175
+ /** The feature is Enabled. */
176
+ KnownEnablementStatus["Enabled"] = "Enabled";
177
+ /** The feature is Disabled. */
178
+ KnownEnablementStatus["Disabled"] = "Disabled";
179
+ })(KnownEnablementStatus || (exports.KnownEnablementStatus = KnownEnablementStatus = {}));
180
+ function trackedResourceSerializer(item) {
181
+ return { tags: item["tags"], location: item["location"] };
182
+ }
183
+ function trackedResourceDeserializer(item) {
184
+ return {
185
+ id: item["id"],
186
+ name: item["name"],
187
+ type: item["type"],
188
+ systemData: !item["systemData"]
189
+ ? item["systemData"]
190
+ : systemDataDeserializer(item["systemData"]),
191
+ tags: item["tags"],
192
+ location: item["location"],
193
+ };
194
+ }
195
+ function resourceSerializer(item) {
196
+ return item;
197
+ }
198
+ function resourceDeserializer(item) {
199
+ return {
200
+ id: item["id"],
201
+ name: item["name"],
202
+ type: item["type"],
203
+ systemData: !item["systemData"]
204
+ ? item["systemData"]
205
+ : systemDataDeserializer(item["systemData"]),
206
+ };
207
+ }
208
+ function systemDataDeserializer(item) {
209
+ return {
210
+ createdBy: item["createdBy"],
211
+ createdByType: item["createdByType"],
212
+ createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
213
+ lastModifiedBy: item["lastModifiedBy"],
214
+ lastModifiedByType: item["lastModifiedByType"],
215
+ lastModifiedAt: !item["lastModifiedAt"]
216
+ ? item["lastModifiedAt"]
217
+ : new Date(item["lastModifiedAt"]),
218
+ };
219
+ }
220
+ /** The kind of entity that created the resource. */
221
+ var KnownCreatedByType;
222
+ (function (KnownCreatedByType) {
223
+ /** The entity was created by a user. */
224
+ KnownCreatedByType["User"] = "User";
225
+ /** The entity was created by an application. */
226
+ KnownCreatedByType["Application"] = "Application";
227
+ /** The entity was created by a managed identity. */
228
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
229
+ /** The entity was created by a key. */
230
+ KnownCreatedByType["Key"] = "Key";
231
+ })(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
232
+ function playwrightWorkspaceUpdateSerializer(item) {
233
+ return {
234
+ tags: item["tags"],
235
+ properties: !item["properties"]
236
+ ? item["properties"]
237
+ : playwrightWorkspaceUpdatePropertiesSerializer(item["properties"]),
238
+ };
239
+ }
240
+ function playwrightWorkspaceUpdatePropertiesSerializer(item) {
241
+ return {
242
+ regionalAffinity: item["regionalAffinity"],
243
+ localAuth: item["localAuth"],
244
+ };
245
+ }
246
+ function _playwrightWorkspaceListResultDeserializer(item) {
247
+ return {
248
+ value: playwrightWorkspaceArrayDeserializer(item["value"]),
249
+ nextLink: item["nextLink"],
250
+ };
251
+ }
252
+ function playwrightWorkspaceArraySerializer(result) {
253
+ return result.map((item) => {
254
+ return playwrightWorkspaceSerializer(item);
255
+ });
256
+ }
257
+ function playwrightWorkspaceArrayDeserializer(result) {
258
+ return result.map((item) => {
259
+ return playwrightWorkspaceDeserializer(item);
260
+ });
261
+ }
262
+ function checkNameAvailabilityRequestSerializer(item) {
263
+ return { name: item["name"], type: item["type"] };
264
+ }
265
+ function checkNameAvailabilityResponseDeserializer(item) {
266
+ return {
267
+ nameAvailable: item["nameAvailable"],
268
+ reason: item["reason"],
269
+ message: item["message"],
270
+ };
271
+ }
272
+ /** Possible reasons for a name not being available. */
273
+ var KnownCheckNameAvailabilityReason;
274
+ (function (KnownCheckNameAvailabilityReason) {
275
+ /** Name is invalid. */
276
+ KnownCheckNameAvailabilityReason["Invalid"] = "Invalid";
277
+ /** Name already exists. */
278
+ KnownCheckNameAvailabilityReason["AlreadyExists"] = "AlreadyExists";
279
+ })(KnownCheckNameAvailabilityReason || (exports.KnownCheckNameAvailabilityReason = KnownCheckNameAvailabilityReason = {}));
280
+ function playwrightQuotaDeserializer(item) {
281
+ return {
282
+ id: item["id"],
283
+ name: item["name"],
284
+ type: item["type"],
285
+ systemData: !item["systemData"]
286
+ ? item["systemData"]
287
+ : systemDataDeserializer(item["systemData"]),
288
+ properties: !item["properties"]
289
+ ? item["properties"]
290
+ : playwrightQuotaPropertiesDeserializer(item["properties"]),
291
+ };
292
+ }
293
+ function playwrightQuotaPropertiesDeserializer(item) {
294
+ return {
295
+ freeTrial: !item["freeTrial"]
296
+ ? item["freeTrial"]
297
+ : freeTrialPropertiesDeserializer(item["freeTrial"]),
298
+ provisioningState: item["provisioningState"],
299
+ };
300
+ }
301
+ function freeTrialPropertiesDeserializer(item) {
302
+ return {
303
+ workspaceId: item["workspaceId"],
304
+ state: item["state"],
305
+ };
306
+ }
307
+ /** The free-trial state. */
308
+ var KnownFreeTrialState;
309
+ (function (KnownFreeTrialState) {
310
+ /** The free-trial is Active. */
311
+ KnownFreeTrialState["Active"] = "Active";
312
+ /** The free-trial is Expired. */
313
+ KnownFreeTrialState["Expired"] = "Expired";
314
+ /** The free-trial is Not Applicable. */
315
+ KnownFreeTrialState["NotApplicable"] = "NotApplicable";
316
+ })(KnownFreeTrialState || (exports.KnownFreeTrialState = KnownFreeTrialState = {}));
317
+ /** Playwright quota names. */
318
+ var KnownQuotaName;
319
+ (function (KnownQuotaName) {
320
+ /** Quota for execution duration in minutes. */
321
+ KnownQuotaName["ExecutionMinutes"] = "ExecutionMinutes";
322
+ })(KnownQuotaName || (exports.KnownQuotaName = KnownQuotaName = {}));
323
+ function proxyResourceDeserializer(item) {
324
+ return {
325
+ id: item["id"],
326
+ name: item["name"],
327
+ type: item["type"],
328
+ systemData: !item["systemData"]
329
+ ? item["systemData"]
330
+ : systemDataDeserializer(item["systemData"]),
331
+ };
332
+ }
333
+ function _playwrightQuotaListResultDeserializer(item) {
334
+ return {
335
+ value: playwrightQuotaArrayDeserializer(item["value"]),
336
+ nextLink: item["nextLink"],
337
+ };
338
+ }
339
+ function playwrightQuotaArrayDeserializer(result) {
340
+ return result.map((item) => {
341
+ return playwrightQuotaDeserializer(item);
342
+ });
343
+ }
344
+ function playwrightWorkspaceQuotaDeserializer(item) {
345
+ return {
346
+ id: item["id"],
347
+ name: item["name"],
348
+ type: item["type"],
349
+ systemData: !item["systemData"]
350
+ ? item["systemData"]
351
+ : systemDataDeserializer(item["systemData"]),
352
+ properties: !item["properties"]
353
+ ? item["properties"]
354
+ : playwrightWorkspaceQuotaPropertiesDeserializer(item["properties"]),
355
+ };
356
+ }
357
+ function playwrightWorkspaceQuotaPropertiesDeserializer(item) {
358
+ return {
359
+ freeTrial: !item["freeTrial"]
360
+ ? item["freeTrial"]
361
+ : playwrightWorkspaceFreeTrialPropertiesDeserializer(item["freeTrial"]),
362
+ provisioningState: item["provisioningState"],
363
+ };
364
+ }
365
+ function playwrightWorkspaceFreeTrialPropertiesDeserializer(item) {
366
+ return {
367
+ createdAt: new Date(item["createdAt"]),
368
+ expiryAt: new Date(item["expiryAt"]),
369
+ allocatedValue: item["allocatedValue"],
370
+ usedValue: item["usedValue"],
371
+ percentageUsed: item["percentageUsed"],
372
+ };
373
+ }
374
+ function _playwrightWorkspaceQuotaListResultDeserializer(item) {
375
+ return {
376
+ value: playwrightWorkspaceQuotaArrayDeserializer(item["value"]),
377
+ nextLink: item["nextLink"],
378
+ };
379
+ }
380
+ function playwrightWorkspaceQuotaArrayDeserializer(result) {
381
+ return result.map((item) => {
382
+ return playwrightWorkspaceQuotaDeserializer(item);
383
+ });
384
+ }
385
+ /** Playwright service Management API Versions. */
386
+ var KnownVersions;
387
+ (function (KnownVersions) {
388
+ /** 2025-07-01-preview version */
389
+ KnownVersions["V20250701Preview"] = "2025-07-01-preview";
390
+ })(KnownVersions || (exports.KnownVersions = KnownVersions = {}));
391
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAQD,sEAQC;AAED,0EAcC;AAcD,0FAKC;AAED,8FASC;AA0DD,8DAEC;AAED,kEAWC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAkCD,kFAOC;AAUD,sGAOC;AAUD,gGAOC;AAED,gFAIC;AAED,oFAIC;AAUD,wFAEC;AAYD,8FAQC;AA0BD,kEAYC;AAUD,sFAOC;AAUD,0EAKC;AAyCD,8DASC;AAUD,wFAKC;AAED,4EAIC;AAQD,oFAYC;AAUD,wGASC;AAgBD,gHAUC;AAUD,0GAOC;AAED,8FAMC;AA1rBD,SAAgB,gC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D,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iCAAiC;IACjC,wDAAuC,CAAA;AACzC,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Playwright workspace resource. */\nexport interface PlaywrightWorkspace extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceProperties;\n}\n\nexport function playwrightWorkspaceSerializer(item: PlaywrightWorkspace): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspacePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function playwrightWorkspaceDeserializer(item: any): PlaywrightWorkspace {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspacePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Playwright workspace resource properties. */\nexport interface PlaywrightWorkspaceProperties {\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n /** The workspace data plane URI. */\n readonly dataplaneUri?: string;\n /** This property sets the connection region for client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created. */\n regionalAffinity?: EnablementStatus;\n /** When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations. */\n localAuth?: EnablementStatus;\n}\n\nexport function playwrightWorkspacePropertiesSerializer(item: PlaywrightWorkspaceProperties): any {\n return {\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\nexport function playwrightWorkspacePropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n dataplaneUri: item[\"dataplaneUri\"],\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\n/** The status of the last resource operation. */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** Creation in progress.. */\n Creating = \"Creating\",\n /** Deletion in progress.. */\n Deleting = \"Deleting\",\n /** Request accepted for processing.. */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the last resource operation. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Creating**: Creation in progress.. \\\n * **Deleting**: Deletion in progress.. \\\n * **Accepted**: Request accepted for processing..\n */\nexport type ProvisioningState = string;\n\n/** The enablement status of a feature. */\nexport enum KnownEnablementStatus {\n /** The feature is Enabled. */\n Enabled = \"Enabled\",\n /** The feature is Disabled. */\n Disabled = \"Disabled\",\n}\n\n/**\n * The enablement status of a feature. \\\n * {@link KnownEnablementStatus} can be used interchangeably with EnablementStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled**: The feature is Enabled. \\\n * **Disabled**: The feature is Disabled.\n */\nexport type EnablementStatus = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The type used for update operations of the PlaywrightWorkspace. */\nexport interface PlaywrightWorkspaceUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceUpdateProperties;\n}\n\nexport function playwrightWorkspaceUpdateSerializer(item: PlaywrightWorkspaceUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspaceUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the PlaywrightWorkspace. */\nexport interface PlaywrightWorkspaceUpdateProperties {\n /** This property sets the connection region for client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created. */\n regionalAffinity?: EnablementStatus;\n /** When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations. */\n localAuth?: EnablementStatus;\n}\n\nexport function playwrightWorkspaceUpdatePropertiesSerializer(\n item: PlaywrightWorkspaceUpdateProperties,\n): any {\n return {\n regionalAffinity: item[\"regionalAffinity\"],\n localAuth: item[\"localAuth\"],\n };\n}\n\n/** The response of a PlaywrightWorkspace list operation. */\nexport interface _PlaywrightWorkspaceListResult {\n /** The PlaywrightWorkspace items on this page */\n value: PlaywrightWorkspace[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightWorkspaceListResultDeserializer(\n item: any,\n): _PlaywrightWorkspaceListResult {\n return {\n value: playwrightWorkspaceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightWorkspaceArraySerializer(result: Array<PlaywrightWorkspace>): any[] {\n return result.map((item) => {\n return playwrightWorkspaceSerializer(item);\n });\n}\n\nexport function playwrightWorkspaceArrayDeserializer(result: Array<PlaywrightWorkspace>): any[] {\n return result.map((item) => {\n return playwrightWorkspaceDeserializer(item);\n });\n}\n\n/** The check availability request body. */\nexport interface CheckNameAvailabilityRequest {\n /** The name of the resource for which availability needs to be checked. */\n name?: string;\n /** The resource type. */\n type?: string;\n}\n\nexport function checkNameAvailabilityRequestSerializer(item: CheckNameAvailabilityRequest): any {\n return { name: item[\"name\"], type: item[\"type\"] };\n}\n\n/** The check availability result. */\nexport interface CheckNameAvailabilityResponse {\n /** Indicates if the resource name is available. */\n nameAvailable?: boolean;\n /** The reason why the given name is not available. */\n reason?: CheckNameAvailabilityReason;\n /** Detailed reason why the given name is not available. */\n message?: string;\n}\n\nexport function checkNameAvailabilityResponseDeserializer(\n item: any,\n): CheckNameAvailabilityResponse {\n return {\n nameAvailable: item[\"nameAvailable\"],\n reason: item[\"reason\"],\n message: item[\"message\"],\n };\n}\n\n/** Possible reasons for a name not being available. */\nexport enum KnownCheckNameAvailabilityReason {\n /** Name is invalid. */\n Invalid = \"Invalid\",\n /** Name already exists. */\n AlreadyExists = \"AlreadyExists\",\n}\n\n/**\n * Possible reasons for a name not being available. \\\n * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Invalid**: Name is invalid. \\\n * **AlreadyExists**: Name already exists.\n */\nexport type CheckNameAvailabilityReason = string;\n\n/** Subscription-level location-based Playwright quota resource. */\nexport interface PlaywrightQuota extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightQuotaProperties;\n}\n\nexport function playwrightQuotaDeserializer(item: any): PlaywrightQuota {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightQuotaPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Subscription-level location-based Playwright quota resource properties. */\nexport interface PlaywrightQuotaProperties {\n /** The subscription-level location-based Playwright quota resource free-trial properties. */\n readonly freeTrial?: FreeTrialProperties;\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function playwrightQuotaPropertiesDeserializer(item: any): PlaywrightQuotaProperties {\n return {\n freeTrial: !item[\"freeTrial\"]\n ? item[\"freeTrial\"]\n : freeTrialPropertiesDeserializer(item[\"freeTrial\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Subscription-level location-based Playwright quota resource free-trial properties. */\nexport interface FreeTrialProperties {\n /** Playwright workspace-id that has free-trial in the subscription. */\n readonly workspaceId: string;\n /** The free-trial state. */\n readonly state: FreeTrialState;\n}\n\nexport function freeTrialPropertiesDeserializer(item: any): FreeTrialProperties {\n return {\n workspaceId: item[\"workspaceId\"],\n state: item[\"state\"],\n };\n}\n\n/** The free-trial state. */\nexport enum KnownFreeTrialState {\n /** The free-trial is Active. */\n Active = \"Active\",\n /** The free-trial is Expired. */\n Expired = \"Expired\",\n /** The free-trial is Not Applicable. */\n NotApplicable = \"NotApplicable\",\n}\n\n/**\n * The free-trial state. \\\n * {@link KnownFreeTrialState} can be used interchangeably with FreeTrialState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Active**: The free-trial is Active. \\\n * **Expired**: The free-trial is Expired. \\\n * **NotApplicable**: The free-trial is Not Applicable.\n */\nexport type FreeTrialState = string;\n\n/** Playwright quota names. */\nexport enum KnownQuotaName {\n /** Quota for execution duration in minutes. */\n ExecutionMinutes = \"ExecutionMinutes\",\n}\n\n/**\n * Playwright quota names. \\\n * {@link KnownQuotaName} can be used interchangeably with QuotaName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ExecutionMinutes**: Quota for execution duration in minutes.\n */\nexport type QuotaName = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a PlaywrightQuota list operation. */\nexport interface _PlaywrightQuotaListResult {\n /** The PlaywrightQuota items on this page */\n value: PlaywrightQuota[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightQuotaListResultDeserializer(item: any): _PlaywrightQuotaListResult {\n return {\n value: playwrightQuotaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightQuotaArrayDeserializer(result: Array<PlaywrightQuota>): any[] {\n return result.map((item) => {\n return playwrightQuotaDeserializer(item);\n });\n}\n\n/** Playwright workspace quota resource. */\nexport interface PlaywrightWorkspaceQuota extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: PlaywrightWorkspaceQuotaProperties;\n}\n\nexport function playwrightWorkspaceQuotaDeserializer(item: any): PlaywrightWorkspaceQuota {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : playwrightWorkspaceQuotaPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Playwright workspace quota resource properties. */\nexport interface PlaywrightWorkspaceQuotaProperties {\n /** The Playwright workspace quota resource free-trial properties. */\n readonly freeTrial?: PlaywrightWorkspaceFreeTrialProperties;\n /** The status of the last resource operation. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function playwrightWorkspaceQuotaPropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceQuotaProperties {\n return {\n freeTrial: !item[\"freeTrial\"]\n ? item[\"freeTrial\"]\n : playwrightWorkspaceFreeTrialPropertiesDeserializer(item[\"freeTrial\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Playwright workspace quota resource resource free-trial properties. */\nexport interface PlaywrightWorkspaceFreeTrialProperties {\n /** The free-trial createdAt utcDateTime. */\n readonly createdAt: Date;\n /** The free-trial expiryAt utcDateTime. */\n readonly expiryAt: Date;\n /** The free-trial allocated limit value eg. allocated free execution minutes. */\n readonly allocatedValue: number;\n /** The free-trial used value eg. used free execution minutes. */\n readonly usedValue: number;\n /** The free-trial percentage used. */\n readonly percentageUsed: number;\n}\n\nexport function playwrightWorkspaceFreeTrialPropertiesDeserializer(\n item: any,\n): PlaywrightWorkspaceFreeTrialProperties {\n return {\n createdAt: new Date(item[\"createdAt\"]),\n expiryAt: new Date(item[\"expiryAt\"]),\n allocatedValue: item[\"allocatedValue\"],\n usedValue: item[\"usedValue\"],\n percentageUsed: item[\"percentageUsed\"],\n };\n}\n\n/** The response of a PlaywrightWorkspaceQuota list operation. */\nexport interface _PlaywrightWorkspaceQuotaListResult {\n /** The PlaywrightWorkspaceQuota items on this page */\n value: PlaywrightWorkspaceQuota[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _playwrightWorkspaceQuotaListResultDeserializer(\n item: any,\n): _PlaywrightWorkspaceQuotaListResult {\n return {\n value: playwrightWorkspaceQuotaArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function playwrightWorkspaceQuotaArrayDeserializer(\n result: Array<PlaywrightWorkspaceQuota>,\n): any[] {\n return result.map((item) => {\n return playwrightWorkspaceQuotaDeserializer(item);\n });\n}\n\n/** Playwright service Management API Versions. */\nexport enum KnownVersions {\n /** 2025-07-01-preview version */\n V20250701Preview = \"2025-07-01-preview\",\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,24 @@
1
+ import { PlaywrightManagementClientOptionalParams } from "./api/index.js";
2
+ import { PlaywrightWorkspaceQuotasOperations } from "./classic/playwrightWorkspaceQuotas/index.js";
3
+ import { PlaywrightQuotasOperations } from "./classic/playwrightQuotas/index.js";
4
+ import { PlaywrightWorkspacesOperations } from "./classic/playwrightWorkspaces/index.js";
5
+ import { OperationsOperations } from "./classic/operations/index.js";
6
+ import { Pipeline } from "@azure/core-rest-pipeline";
7
+ import { TokenCredential } from "@azure/core-auth";
8
+ export { PlaywrightManagementClientOptionalParams } from "./api/playwrightManagementContext.js";
9
+ export declare class PlaywrightManagementClient {
10
+ private _client;
11
+ /** The pipeline used by this client to make requests */
12
+ readonly pipeline: Pipeline;
13
+ /** Playwright service provides access to Playwright workspace resource and it's operations. */
14
+ constructor(credential: TokenCredential, subscriptionId: string, options?: PlaywrightManagementClientOptionalParams);
15
+ /** The operation groups for playwrightWorkspaceQuotas */
16
+ readonly playwrightWorkspaceQuotas: PlaywrightWorkspaceQuotasOperations;
17
+ /** The operation groups for playwrightQuotas */
18
+ readonly playwrightQuotas: PlaywrightQuotasOperations;
19
+ /** The operation groups for playwrightWorkspaces */
20
+ readonly playwrightWorkspaces: PlaywrightWorkspacesOperations;
21
+ /** The operation groups for operations */
22
+ readonly operations: OperationsOperations;
23
+ }
24
+ //# sourceMappingURL=playwrightManagementClient.d.ts.map
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.PlaywrightManagementClient = void 0;
6
+ const index_js_1 = require("./api/index.js");
7
+ const index_js_2 = require("./classic/playwrightWorkspaceQuotas/index.js");
8
+ const index_js_3 = require("./classic/playwrightQuotas/index.js");
9
+ const index_js_4 = require("./classic/playwrightWorkspaces/index.js");
10
+ const index_js_5 = require("./classic/operations/index.js");
11
+ class PlaywrightManagementClient {
12
+ /** Playwright service provides access to Playwright workspace resource and it's operations. */
13
+ constructor(credential, subscriptionId, options = {}) {
14
+ var _a;
15
+ const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
16
+ const userAgentPrefix = prefixFromOptions
17
+ ? `${prefixFromOptions} azsdk-js-client`
18
+ : `azsdk-js-client`;
19
+ this._client = (0, index_js_1.createPlaywrightManagement)(credential, subscriptionId, Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix } }));
20
+ this.pipeline = this._client.pipeline;
21
+ this.playwrightWorkspaceQuotas = (0, index_js_2._getPlaywrightWorkspaceQuotasOperations)(this._client);
22
+ this.playwrightQuotas = (0, index_js_3._getPlaywrightQuotasOperations)(this._client);
23
+ this.playwrightWorkspaces = (0, index_js_4._getPlaywrightWorkspacesOperations)(this._client);
24
+ this.operations = (0, index_js_5._getOperationsOperations)(this._client);
25
+ }
26
+ }
27
+ exports.PlaywrightManagementClient = PlaywrightManagementClient;
28
+ //# sourceMappingURL=playwrightManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playwrightManagementClient.js","sourceRoot":"","sources":["../../src/playwrightManagementClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,6CAIwB;AACxB,2EAGsD;AACtD,kEAG6C;AAC7C,sEAGiD;AACjD,4DAA+F;AAM/F,MAAa,0BAA0B;IAKrC,+FAA+F;IAC/F,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAAoD,EAAE;;QAEtD,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAA,qCAA0B,EAAC,UAAU,EAAE,cAAc,kCAC/D,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,IACrC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,yBAAyB,GAAG,IAAA,kDAAuC,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,IAAI,CAAC,gBAAgB,GAAG,IAAA,yCAA8B,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,oBAAoB,GAAG,IAAA,6CAAkC,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,IAAI,CAAC,UAAU,GAAG,IAAA,mCAAwB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAUF;AAlCD,gEAkCC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n createPlaywrightManagement,\n PlaywrightManagementContext,\n PlaywrightManagementClientOptionalParams,\n} from \"./api/index.js\";\nimport {\n PlaywrightWorkspaceQuotasOperations,\n _getPlaywrightWorkspaceQuotasOperations,\n} from \"./classic/playwrightWorkspaceQuotas/index.js\";\nimport {\n PlaywrightQuotasOperations,\n _getPlaywrightQuotasOperations,\n} from \"./classic/playwrightQuotas/index.js\";\nimport {\n PlaywrightWorkspacesOperations,\n _getPlaywrightWorkspacesOperations,\n} from \"./classic/playwrightWorkspaces/index.js\";\nimport { OperationsOperations, _getOperationsOperations } from \"./classic/operations/index.js\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport { PlaywrightManagementClientOptionalParams } from \"./api/playwrightManagementContext.js\";\n\nexport class PlaywrightManagementClient {\n private _client: PlaywrightManagementContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Playwright service provides access to Playwright workspace resource and it's operations. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: PlaywrightManagementClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createPlaywrightManagement(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.playwrightWorkspaceQuotas = _getPlaywrightWorkspaceQuotasOperations(this._client);\n this.playwrightQuotas = _getPlaywrightQuotasOperations(this._client);\n this.playwrightWorkspaces = _getPlaywrightWorkspacesOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for playwrightWorkspaceQuotas */\n public readonly playwrightWorkspaceQuotas: PlaywrightWorkspaceQuotasOperations;\n /** The operation groups for playwrightQuotas */\n public readonly playwrightQuotas: PlaywrightQuotasOperations;\n /** The operation groups for playwrightWorkspaces */\n public readonly playwrightWorkspaces: PlaywrightWorkspacesOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
@@ -0,0 +1,21 @@
1
+ import { PlaywrightManagementClient } from "./playwrightManagementClient.js";
2
+ import { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ import { AbortSignalLike } from "@azure/abort-controller";
4
+ import { PollerLike, OperationState } from "@azure/core-lro";
5
+ export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
6
+ /** Delay to wait until next poll, in milliseconds. */
7
+ updateIntervalInMs?: number;
8
+ /**
9
+ * The signal which can be used to abort requests.
10
+ */
11
+ abortSignal?: AbortSignalLike;
12
+ /** Deserialization function for raw response body */
13
+ processResponseBody?: (result: TResponse) => Promise<TResult>;
14
+ }
15
+ /**
16
+ * Creates a poller from the serialized state of another poller. This can be
17
+ * useful when you want to create pollers on a different host or a poller
18
+ * needs to be constructed after the original one is not in scope.
19
+ */
20
+ export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: PlaywrightManagementClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
21
+ //# sourceMappingURL=restorePollerHelpers.d.ts.map