@azure/arm-subscriptions 6.0.0 → 7.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 (684) hide show
  1. package/README.md +10 -10
  2. package/dist/browser/api/alias/index.d.ts +3 -0
  3. package/dist/browser/api/alias/index.js +4 -0
  4. package/dist/browser/api/alias/index.js.map +1 -0
  5. package/dist/browser/api/alias/operations.d.ts +23 -0
  6. package/dist/browser/api/alias/operations.js +118 -0
  7. package/dist/browser/api/alias/operations.js.map +1 -0
  8. package/dist/browser/api/alias/options.d.ts +16 -0
  9. package/dist/{esm/operationsInterfaces/alias.js → browser/api/alias/options.js} +1 -1
  10. package/dist/browser/api/alias/options.js.map +1 -0
  11. package/dist/browser/api/billingAccount/index.d.ts +3 -0
  12. package/dist/browser/api/billingAccount/index.js +4 -0
  13. package/dist/browser/api/billingAccount/index.js.map +1 -0
  14. package/dist/browser/api/billingAccount/operations.d.ts +9 -0
  15. package/dist/browser/api/billingAccount/operations.js +32 -0
  16. package/dist/browser/api/billingAccount/operations.js.map +1 -0
  17. package/dist/browser/api/billingAccount/options.d.ts +5 -0
  18. package/dist/{esm/operationsInterfaces/operations.js → browser/api/billingAccount/options.js} +1 -1
  19. package/dist/browser/api/billingAccount/options.js.map +1 -0
  20. package/dist/browser/api/index.d.ts +3 -0
  21. package/dist/browser/api/index.js +4 -0
  22. package/dist/browser/api/index.js.map +1 -0
  23. package/dist/browser/api/operations/index.d.ts +3 -0
  24. package/dist/browser/{operationsInterfaces/subscription.js → api/operations/index.js} +2 -2
  25. package/dist/browser/api/operations/index.js.map +1 -0
  26. package/dist/browser/api/operations/operations.d.ts +10 -0
  27. package/dist/browser/api/operations/operations.js +35 -0
  28. package/dist/browser/api/operations/operations.js.map +1 -0
  29. package/dist/browser/api/operations/options.d.ts +5 -0
  30. package/dist/browser/api/operations/options.js +4 -0
  31. package/dist/browser/api/operations/options.js.map +1 -0
  32. package/dist/browser/api/subscription/index.d.ts +3 -0
  33. package/dist/browser/api/subscription/index.js +4 -0
  34. package/dist/browser/api/subscription/index.js.map +1 -0
  35. package/dist/browser/api/subscription/operations.d.ts +26 -0
  36. package/dist/browser/api/subscription/operations.js +145 -0
  37. package/dist/browser/api/subscription/operations.js.map +1 -0
  38. package/dist/browser/api/subscription/options.d.ts +19 -0
  39. package/dist/browser/api/subscription/options.js +4 -0
  40. package/dist/browser/api/subscription/options.js.map +1 -0
  41. package/dist/browser/api/subscriptionContext.d.ts +18 -0
  42. package/dist/browser/api/subscriptionContext.js +23 -0
  43. package/dist/browser/api/subscriptionContext.js.map +1 -0
  44. package/dist/browser/api/subscriptionOperation/index.d.ts +3 -0
  45. package/dist/browser/{operationsInterfaces/operations.js → api/subscriptionOperation/index.js} +2 -2
  46. package/dist/browser/api/subscriptionOperation/index.js.map +1 -0
  47. package/dist/browser/api/subscriptionOperation/operations.d.ts +9 -0
  48. package/dist/browser/api/subscriptionOperation/operations.js +32 -0
  49. package/dist/browser/api/subscriptionOperation/operations.js.map +1 -0
  50. package/dist/browser/api/subscriptionOperation/options.d.ts +5 -0
  51. package/dist/browser/api/subscriptionOperation/options.js +4 -0
  52. package/dist/browser/api/subscriptionOperation/options.js.map +1 -0
  53. package/dist/browser/api/subscriptionPolicy/index.d.ts +3 -0
  54. package/dist/browser/api/subscriptionPolicy/index.js +4 -0
  55. package/dist/browser/api/subscriptionPolicy/index.js.map +1 -0
  56. package/dist/browser/api/subscriptionPolicy/operations.d.ts +18 -0
  57. package/dist/browser/api/subscriptionPolicy/operations.js +87 -0
  58. package/dist/browser/api/subscriptionPolicy/operations.js.map +1 -0
  59. package/dist/browser/api/subscriptionPolicy/options.d.ts +11 -0
  60. package/dist/browser/api/subscriptionPolicy/options.js +4 -0
  61. package/dist/browser/api/subscriptionPolicy/options.js.map +1 -0
  62. package/dist/browser/api/subscriptions/index.d.ts +3 -0
  63. package/dist/browser/api/subscriptions/index.js +4 -0
  64. package/dist/browser/api/subscriptions/index.js.map +1 -0
  65. package/dist/browser/api/subscriptions/operations.d.ts +30 -0
  66. package/dist/browser/api/subscriptions/operations.js +162 -0
  67. package/dist/browser/api/subscriptions/operations.js.map +1 -0
  68. package/dist/browser/api/subscriptions/options.d.ts +20 -0
  69. package/dist/browser/api/subscriptions/options.js +4 -0
  70. package/dist/browser/api/subscriptions/options.js.map +1 -0
  71. package/dist/browser/classic/alias/index.d.ts +23 -0
  72. package/dist/browser/classic/alias/index.js +26 -0
  73. package/dist/browser/classic/alias/index.js.map +1 -0
  74. package/dist/browser/classic/billingAccount/index.d.ts +10 -0
  75. package/dist/browser/classic/billingAccount/index.js +14 -0
  76. package/dist/browser/classic/billingAccount/index.js.map +1 -0
  77. package/dist/browser/classic/index.d.ts +8 -0
  78. package/dist/{react-native/operationsInterfaces/alias.js → browser/classic/index.js} +1 -1
  79. package/dist/browser/classic/index.js.map +1 -0
  80. package/dist/browser/classic/operations/index.d.ts +11 -0
  81. package/dist/browser/classic/operations/index.js +14 -0
  82. package/dist/browser/classic/operations/index.js.map +1 -0
  83. package/dist/browser/classic/subscription/index.d.ts +24 -0
  84. package/dist/browser/classic/subscription/index.js +27 -0
  85. package/dist/browser/classic/subscription/index.js.map +1 -0
  86. package/dist/browser/classic/subscriptionOperation/index.d.ts +10 -0
  87. package/dist/browser/classic/subscriptionOperation/index.js +14 -0
  88. package/dist/browser/classic/subscriptionOperation/index.js.map +1 -0
  89. package/dist/browser/classic/subscriptionPolicy/index.d.ts +15 -0
  90. package/dist/browser/classic/subscriptionPolicy/index.js +16 -0
  91. package/dist/browser/classic/subscriptionPolicy/index.js.map +1 -0
  92. package/dist/browser/classic/subscriptions/index.d.ts +21 -0
  93. package/dist/browser/classic/subscriptions/index.js +19 -0
  94. package/dist/browser/classic/subscriptions/index.js.map +1 -0
  95. package/dist/browser/index.d.ts +19 -3
  96. package/dist/browser/index.js +4 -6
  97. package/dist/browser/index.js.map +1 -1
  98. package/dist/browser/logger.d.ts +2 -0
  99. package/dist/browser/logger.js +5 -0
  100. package/dist/browser/logger.js.map +1 -0
  101. package/dist/browser/models/index.d.ts +2 -568
  102. package/dist/browser/models/index.js +1 -50
  103. package/dist/browser/models/index.js.map +1 -1
  104. package/dist/browser/models/models.d.ts +517 -0
  105. package/dist/browser/models/models.js +428 -0
  106. package/dist/browser/models/models.js.map +1 -0
  107. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  108. package/dist/browser/restorePollerHelpers.js +102 -0
  109. package/dist/browser/restorePollerHelpers.js.map +1 -0
  110. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  111. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  112. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  113. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  114. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  115. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  116. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  117. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  118. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  119. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  120. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  121. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  122. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  123. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  124. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  125. package/dist/browser/subscriptionClient.d.ts +30 -21
  126. package/dist/browser/subscriptionClient.js +40 -96
  127. package/dist/browser/subscriptionClient.js.map +1 -1
  128. package/dist/commonjs/api/alias/index.d.ts +3 -0
  129. package/dist/commonjs/api/alias/index.js +34 -0
  130. package/dist/commonjs/api/alias/index.js.map +7 -0
  131. package/dist/commonjs/api/alias/operations.d.ts +23 -0
  132. package/dist/commonjs/api/alias/operations.js +182 -0
  133. package/dist/commonjs/api/alias/operations.js.map +7 -0
  134. package/dist/commonjs/api/alias/options.d.ts +16 -0
  135. package/dist/commonjs/api/alias/options.js +16 -0
  136. package/dist/commonjs/api/alias/options.js.map +7 -0
  137. package/dist/commonjs/api/billingAccount/index.d.ts +3 -0
  138. package/dist/commonjs/api/billingAccount/index.js +28 -0
  139. package/dist/commonjs/api/billingAccount/index.js.map +7 -0
  140. package/dist/commonjs/api/billingAccount/operations.d.ts +9 -0
  141. package/dist/commonjs/api/billingAccount/operations.js +63 -0
  142. package/dist/commonjs/api/billingAccount/operations.js.map +7 -0
  143. package/dist/commonjs/api/billingAccount/options.d.ts +5 -0
  144. package/dist/commonjs/api/billingAccount/options.js +16 -0
  145. package/dist/commonjs/api/billingAccount/options.js.map +7 -0
  146. package/dist/commonjs/api/index.d.ts +3 -0
  147. package/dist/commonjs/api/index.js +28 -0
  148. package/dist/commonjs/api/index.js.map +7 -0
  149. package/dist/commonjs/api/operations/index.d.ts +3 -0
  150. package/dist/commonjs/api/operations/index.js +28 -0
  151. package/dist/commonjs/api/operations/index.js.map +7 -0
  152. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  153. package/dist/commonjs/api/operations/operations.js +72 -0
  154. package/dist/commonjs/api/operations/operations.js.map +7 -0
  155. package/dist/commonjs/api/operations/options.d.ts +5 -0
  156. package/dist/commonjs/api/operations/options.js +16 -0
  157. package/dist/commonjs/api/operations/options.js.map +7 -0
  158. package/dist/commonjs/api/subscription/index.d.ts +3 -0
  159. package/dist/commonjs/api/subscription/index.js +36 -0
  160. package/dist/commonjs/api/subscription/index.js.map +7 -0
  161. package/dist/commonjs/api/subscription/operations.d.ts +26 -0
  162. package/dist/commonjs/api/subscription/operations.js +212 -0
  163. package/dist/commonjs/api/subscription/operations.js.map +7 -0
  164. package/dist/commonjs/api/subscription/options.d.ts +19 -0
  165. package/dist/commonjs/api/subscription/options.js +16 -0
  166. package/dist/commonjs/api/subscription/options.js.map +7 -0
  167. package/dist/commonjs/api/subscriptionContext.d.ts +18 -0
  168. package/dist/commonjs/api/subscriptionContext.js +45 -0
  169. package/dist/commonjs/api/subscriptionContext.js.map +7 -0
  170. package/dist/commonjs/api/subscriptionOperation/index.d.ts +3 -0
  171. package/dist/commonjs/api/subscriptionOperation/index.js +28 -0
  172. package/dist/commonjs/api/subscriptionOperation/index.js.map +7 -0
  173. package/dist/commonjs/api/subscriptionOperation/operations.d.ts +9 -0
  174. package/dist/commonjs/api/subscriptionOperation/operations.js +63 -0
  175. package/dist/commonjs/api/subscriptionOperation/operations.js.map +7 -0
  176. package/dist/commonjs/api/subscriptionOperation/options.d.ts +5 -0
  177. package/dist/commonjs/api/subscriptionOperation/options.js +16 -0
  178. package/dist/commonjs/api/subscriptionOperation/options.js.map +7 -0
  179. package/dist/commonjs/api/subscriptionPolicy/index.d.ts +3 -0
  180. package/dist/commonjs/api/subscriptionPolicy/index.js +32 -0
  181. package/dist/commonjs/api/subscriptionPolicy/index.js.map +7 -0
  182. package/dist/commonjs/api/subscriptionPolicy/operations.d.ts +18 -0
  183. package/dist/commonjs/api/subscriptionPolicy/operations.js +142 -0
  184. package/dist/commonjs/api/subscriptionPolicy/operations.js.map +7 -0
  185. package/dist/commonjs/api/subscriptionPolicy/options.d.ts +11 -0
  186. package/dist/commonjs/api/subscriptionPolicy/options.js +16 -0
  187. package/dist/commonjs/api/subscriptionPolicy/options.js.map +7 -0
  188. package/dist/commonjs/api/subscriptions/index.d.ts +3 -0
  189. package/dist/commonjs/api/subscriptions/index.js +38 -0
  190. package/dist/commonjs/api/subscriptions/index.js.map +7 -0
  191. package/dist/commonjs/api/subscriptions/operations.d.ts +30 -0
  192. package/dist/commonjs/api/subscriptions/operations.js +244 -0
  193. package/dist/commonjs/api/subscriptions/operations.js.map +7 -0
  194. package/dist/commonjs/api/subscriptions/options.d.ts +20 -0
  195. package/dist/commonjs/api/subscriptions/options.js +16 -0
  196. package/dist/commonjs/api/subscriptions/options.js.map +7 -0
  197. package/dist/commonjs/classic/alias/index.d.ts +23 -0
  198. package/dist/commonjs/classic/alias/index.js +50 -0
  199. package/dist/commonjs/classic/alias/index.js.map +7 -0
  200. package/dist/commonjs/classic/billingAccount/index.d.ts +10 -0
  201. package/dist/commonjs/classic/billingAccount/index.js +38 -0
  202. package/dist/commonjs/classic/billingAccount/index.js.map +7 -0
  203. package/dist/commonjs/classic/index.d.ts +8 -0
  204. package/dist/commonjs/classic/index.js +16 -0
  205. package/dist/commonjs/classic/index.js.map +7 -0
  206. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  207. package/dist/commonjs/classic/operations/index.js +38 -0
  208. package/dist/commonjs/classic/operations/index.js.map +7 -0
  209. package/dist/commonjs/classic/subscription/index.d.ts +24 -0
  210. package/dist/commonjs/classic/subscription/index.js +51 -0
  211. package/dist/commonjs/classic/subscription/index.js.map +7 -0
  212. package/dist/commonjs/classic/subscriptionOperation/index.d.ts +10 -0
  213. package/dist/commonjs/classic/subscriptionOperation/index.js +38 -0
  214. package/dist/commonjs/classic/subscriptionOperation/index.js.map +7 -0
  215. package/dist/commonjs/classic/subscriptionPolicy/index.d.ts +15 -0
  216. package/dist/commonjs/classic/subscriptionPolicy/index.js +40 -0
  217. package/dist/commonjs/classic/subscriptionPolicy/index.js.map +7 -0
  218. package/dist/commonjs/classic/subscriptions/index.d.ts +21 -0
  219. package/dist/commonjs/classic/subscriptions/index.js +43 -0
  220. package/dist/commonjs/classic/subscriptions/index.js.map +7 -0
  221. package/dist/commonjs/index.d.ts +19 -3
  222. package/dist/commonjs/index.js +53 -16
  223. package/dist/commonjs/index.js.map +7 -1
  224. package/dist/commonjs/logger.d.ts +2 -0
  225. package/dist/commonjs/logger.js +29 -0
  226. package/dist/commonjs/logger.js.map +7 -0
  227. package/dist/commonjs/models/index.d.ts +2 -568
  228. package/dist/commonjs/models/index.js +44 -56
  229. package/dist/commonjs/models/index.js.map +7 -1
  230. package/dist/commonjs/models/models.d.ts +517 -0
  231. package/dist/commonjs/models/models.js +476 -0
  232. package/dist/commonjs/models/models.js.map +7 -0
  233. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  234. package/dist/commonjs/restorePollerHelpers.js +115 -0
  235. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  236. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  237. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  238. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  239. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  240. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  241. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  242. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  243. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  244. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  245. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  246. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  247. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  248. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  249. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  250. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  251. package/dist/commonjs/subscriptionClient.d.ts +30 -21
  252. package/dist/commonjs/subscriptionClient.js +69 -108
  253. package/dist/commonjs/subscriptionClient.js.map +7 -1
  254. package/dist/commonjs/tsdoc-metadata.json +1 -1
  255. package/dist/esm/api/alias/index.d.ts +3 -0
  256. package/dist/esm/api/alias/index.js +4 -0
  257. package/dist/esm/api/alias/index.js.map +1 -0
  258. package/dist/esm/api/alias/operations.d.ts +23 -0
  259. package/dist/esm/api/alias/operations.js +118 -0
  260. package/dist/esm/api/alias/operations.js.map +1 -0
  261. package/dist/esm/api/alias/options.d.ts +16 -0
  262. package/dist/esm/api/alias/options.js +4 -0
  263. package/dist/esm/api/alias/options.js.map +1 -0
  264. package/dist/esm/api/billingAccount/index.d.ts +3 -0
  265. package/dist/esm/api/billingAccount/index.js +4 -0
  266. package/dist/esm/api/billingAccount/index.js.map +1 -0
  267. package/dist/esm/api/billingAccount/operations.d.ts +9 -0
  268. package/dist/esm/api/billingAccount/operations.js +32 -0
  269. package/dist/esm/api/billingAccount/operations.js.map +1 -0
  270. package/dist/esm/api/billingAccount/options.d.ts +5 -0
  271. package/dist/esm/api/billingAccount/options.js +4 -0
  272. package/dist/esm/api/billingAccount/options.js.map +1 -0
  273. package/dist/esm/api/index.d.ts +3 -0
  274. package/dist/esm/api/index.js +4 -0
  275. package/dist/esm/api/index.js.map +1 -0
  276. package/dist/esm/api/operations/index.d.ts +3 -0
  277. package/dist/esm/api/operations/index.js +4 -0
  278. package/dist/esm/api/operations/index.js.map +1 -0
  279. package/dist/esm/api/operations/operations.d.ts +10 -0
  280. package/dist/esm/api/operations/operations.js +35 -0
  281. package/dist/esm/api/operations/operations.js.map +1 -0
  282. package/dist/esm/api/operations/options.d.ts +5 -0
  283. package/dist/esm/api/operations/options.js +4 -0
  284. package/dist/esm/api/operations/options.js.map +1 -0
  285. package/dist/esm/api/subscription/index.d.ts +3 -0
  286. package/dist/esm/api/subscription/index.js +4 -0
  287. package/dist/esm/api/subscription/index.js.map +1 -0
  288. package/dist/esm/api/subscription/operations.d.ts +26 -0
  289. package/dist/esm/api/subscription/operations.js +145 -0
  290. package/dist/esm/api/subscription/operations.js.map +1 -0
  291. package/dist/esm/api/subscription/options.d.ts +19 -0
  292. package/dist/esm/api/subscription/options.js +4 -0
  293. package/dist/esm/api/subscription/options.js.map +1 -0
  294. package/dist/esm/api/subscriptionContext.d.ts +18 -0
  295. package/dist/esm/api/subscriptionContext.js +23 -0
  296. package/dist/esm/api/subscriptionContext.js.map +1 -0
  297. package/dist/esm/api/subscriptionOperation/index.d.ts +3 -0
  298. package/dist/{browser/operationsInterfaces/billingAccount.js → esm/api/subscriptionOperation/index.js} +2 -2
  299. package/dist/esm/api/subscriptionOperation/index.js.map +1 -0
  300. package/dist/esm/api/subscriptionOperation/operations.d.ts +9 -0
  301. package/dist/esm/api/subscriptionOperation/operations.js +32 -0
  302. package/dist/esm/api/subscriptionOperation/operations.js.map +1 -0
  303. package/dist/esm/api/subscriptionOperation/options.d.ts +5 -0
  304. package/dist/esm/api/subscriptionOperation/options.js +4 -0
  305. package/dist/esm/api/subscriptionOperation/options.js.map +1 -0
  306. package/dist/esm/api/subscriptionPolicy/index.d.ts +3 -0
  307. package/dist/esm/api/subscriptionPolicy/index.js +4 -0
  308. package/dist/esm/api/subscriptionPolicy/index.js.map +1 -0
  309. package/dist/esm/api/subscriptionPolicy/operations.d.ts +18 -0
  310. package/dist/esm/api/subscriptionPolicy/operations.js +87 -0
  311. package/dist/esm/api/subscriptionPolicy/operations.js.map +1 -0
  312. package/dist/esm/api/subscriptionPolicy/options.d.ts +11 -0
  313. package/dist/esm/api/subscriptionPolicy/options.js +4 -0
  314. package/dist/esm/api/subscriptionPolicy/options.js.map +1 -0
  315. package/dist/esm/api/subscriptions/index.d.ts +3 -0
  316. package/dist/esm/api/subscriptions/index.js +4 -0
  317. package/dist/esm/api/subscriptions/index.js.map +1 -0
  318. package/dist/esm/api/subscriptions/operations.d.ts +30 -0
  319. package/dist/esm/api/subscriptions/operations.js +162 -0
  320. package/dist/esm/api/subscriptions/operations.js.map +1 -0
  321. package/dist/esm/api/subscriptions/options.d.ts +20 -0
  322. package/dist/esm/api/subscriptions/options.js +4 -0
  323. package/dist/esm/api/subscriptions/options.js.map +1 -0
  324. package/dist/esm/classic/alias/index.d.ts +23 -0
  325. package/dist/esm/classic/alias/index.js +26 -0
  326. package/dist/esm/classic/alias/index.js.map +1 -0
  327. package/dist/esm/classic/billingAccount/index.d.ts +10 -0
  328. package/dist/esm/classic/billingAccount/index.js +14 -0
  329. package/dist/esm/classic/billingAccount/index.js.map +1 -0
  330. package/dist/esm/classic/index.d.ts +8 -0
  331. package/dist/{browser/operationsInterfaces/alias.js → esm/classic/index.js} +1 -1
  332. package/dist/esm/classic/index.js.map +1 -0
  333. package/dist/esm/classic/operations/index.d.ts +11 -0
  334. package/dist/esm/classic/operations/index.js +14 -0
  335. package/dist/esm/classic/operations/index.js.map +1 -0
  336. package/dist/esm/classic/subscription/index.d.ts +24 -0
  337. package/dist/esm/classic/subscription/index.js +27 -0
  338. package/dist/esm/classic/subscription/index.js.map +1 -0
  339. package/dist/esm/classic/subscriptionOperation/index.d.ts +10 -0
  340. package/dist/esm/classic/subscriptionOperation/index.js +14 -0
  341. package/dist/esm/classic/subscriptionOperation/index.js.map +1 -0
  342. package/dist/esm/classic/subscriptionPolicy/index.d.ts +15 -0
  343. package/dist/esm/classic/subscriptionPolicy/index.js +16 -0
  344. package/dist/esm/classic/subscriptionPolicy/index.js.map +1 -0
  345. package/dist/esm/classic/subscriptions/index.d.ts +21 -0
  346. package/dist/esm/classic/subscriptions/index.js +19 -0
  347. package/dist/esm/classic/subscriptions/index.js.map +1 -0
  348. package/dist/esm/index.d.ts +19 -3
  349. package/dist/esm/index.js +4 -6
  350. package/dist/esm/index.js.map +1 -1
  351. package/dist/esm/logger.d.ts +2 -0
  352. package/dist/esm/logger.js +5 -0
  353. package/dist/esm/logger.js.map +1 -0
  354. package/dist/esm/models/index.d.ts +2 -568
  355. package/dist/esm/models/index.js +1 -50
  356. package/dist/esm/models/index.js.map +1 -1
  357. package/dist/esm/models/models.d.ts +517 -0
  358. package/dist/esm/models/models.js +428 -0
  359. package/dist/esm/models/models.js.map +1 -0
  360. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  361. package/dist/esm/restorePollerHelpers.js +102 -0
  362. package/dist/esm/restorePollerHelpers.js.map +1 -0
  363. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  364. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  365. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  366. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  367. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  368. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  369. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  370. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  371. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  372. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  373. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  374. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  375. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  376. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  377. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  378. package/dist/esm/subscriptionClient.d.ts +30 -21
  379. package/dist/esm/subscriptionClient.js +40 -96
  380. package/dist/esm/subscriptionClient.js.map +1 -1
  381. package/package.json +205 -96
  382. package/dist/browser/index.d.ts.map +0 -1
  383. package/dist/browser/lroImpl.d.ts +0 -11
  384. package/dist/browser/lroImpl.d.ts.map +0 -1
  385. package/dist/browser/lroImpl.js +0 -20
  386. package/dist/browser/lroImpl.js.map +0 -1
  387. package/dist/browser/models/index.d.ts.map +0 -1
  388. package/dist/browser/models/mappers.d.ts +0 -31
  389. package/dist/browser/models/mappers.d.ts.map +0 -1
  390. package/dist/browser/models/mappers.js +0 -867
  391. package/dist/browser/models/mappers.js.map +0 -1
  392. package/dist/browser/models/parameters.d.ts +0 -15
  393. package/dist/browser/models/parameters.d.ts.map +0 -1
  394. package/dist/browser/models/parameters.js +0 -115
  395. package/dist/browser/models/parameters.js.map +0 -1
  396. package/dist/browser/operations/alias.d.ts +0 -53
  397. package/dist/browser/operations/alias.d.ts.map +0 -1
  398. package/dist/browser/operations/alias.js +0 -182
  399. package/dist/browser/operations/alias.js.map +0 -1
  400. package/dist/browser/operations/billingAccount.d.ts +0 -19
  401. package/dist/browser/operations/billingAccount.d.ts.map +0 -1
  402. package/dist/browser/operations/billingAccount.js +0 -43
  403. package/dist/browser/operations/billingAccount.js.map +0 -1
  404. package/dist/browser/operations/index.d.ts +0 -7
  405. package/dist/browser/operations/index.d.ts.map +0 -1
  406. package/dist/browser/operations/index.js +0 -11
  407. package/dist/browser/operations/index.js.map +0 -1
  408. package/dist/browser/operations/operations.d.ts +0 -32
  409. package/dist/browser/operations/operations.d.ts.map +0 -1
  410. package/dist/browser/operations/operations.js +0 -111
  411. package/dist/browser/operations/operations.js.map +0 -1
  412. package/dist/browser/operations/subscription.d.ts +0 -53
  413. package/dist/browser/operations/subscription.d.ts.map +0 -1
  414. package/dist/browser/operations/subscription.js +0 -203
  415. package/dist/browser/operations/subscription.js.map +0 -1
  416. package/dist/browser/operations/subscriptionOperation.d.ts +0 -20
  417. package/dist/browser/operations/subscriptionOperation.d.ts.map +0 -1
  418. package/dist/browser/operations/subscriptionOperation.js +0 -47
  419. package/dist/browser/operations/subscriptionOperation.js.map +0 -1
  420. package/dist/browser/operations/subscriptionPolicy.d.ts +0 -43
  421. package/dist/browser/operations/subscriptionPolicy.d.ts.map +0 -1
  422. package/dist/browser/operations/subscriptionPolicy.js +0 -160
  423. package/dist/browser/operations/subscriptionPolicy.js.map +0 -1
  424. package/dist/browser/operationsInterfaces/alias.d.ts +0 -45
  425. package/dist/browser/operationsInterfaces/alias.d.ts.map +0 -1
  426. package/dist/browser/operationsInterfaces/alias.js.map +0 -1
  427. package/dist/browser/operationsInterfaces/billingAccount.d.ts +0 -11
  428. package/dist/browser/operationsInterfaces/billingAccount.d.ts.map +0 -1
  429. package/dist/browser/operationsInterfaces/billingAccount.js.map +0 -1
  430. package/dist/browser/operationsInterfaces/index.d.ts +0 -7
  431. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  432. package/dist/browser/operationsInterfaces/index.js +0 -11
  433. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  434. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  435. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  436. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  437. package/dist/browser/operationsInterfaces/subscription.d.ts +0 -45
  438. package/dist/browser/operationsInterfaces/subscription.d.ts.map +0 -1
  439. package/dist/browser/operationsInterfaces/subscription.js.map +0 -1
  440. package/dist/browser/operationsInterfaces/subscriptionOperation.d.ts +0 -12
  441. package/dist/browser/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
  442. package/dist/browser/operationsInterfaces/subscriptionOperation.js +0 -4
  443. package/dist/browser/operationsInterfaces/subscriptionOperation.js.map +0 -1
  444. package/dist/browser/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
  445. package/dist/browser/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
  446. package/dist/browser/operationsInterfaces/subscriptionPolicy.js +0 -4
  447. package/dist/browser/operationsInterfaces/subscriptionPolicy.js.map +0 -1
  448. package/dist/browser/pagingHelper.d.ts +0 -13
  449. package/dist/browser/pagingHelper.d.ts.map +0 -1
  450. package/dist/browser/pagingHelper.js +0 -25
  451. package/dist/browser/pagingHelper.js.map +0 -1
  452. package/dist/browser/subscriptionClient.d.ts.map +0 -1
  453. package/dist/commonjs/index.d.ts.map +0 -1
  454. package/dist/commonjs/lroImpl.d.ts +0 -11
  455. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  456. package/dist/commonjs/lroImpl.js +0 -23
  457. package/dist/commonjs/lroImpl.js.map +0 -1
  458. package/dist/commonjs/models/index.d.ts.map +0 -1
  459. package/dist/commonjs/models/mappers.d.ts +0 -31
  460. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  461. package/dist/commonjs/models/mappers.js +0 -870
  462. package/dist/commonjs/models/mappers.js.map +0 -1
  463. package/dist/commonjs/models/parameters.d.ts +0 -15
  464. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  465. package/dist/commonjs/models/parameters.js +0 -118
  466. package/dist/commonjs/models/parameters.js.map +0 -1
  467. package/dist/commonjs/operations/alias.d.ts +0 -53
  468. package/dist/commonjs/operations/alias.d.ts.map +0 -1
  469. package/dist/commonjs/operations/alias.js +0 -187
  470. package/dist/commonjs/operations/alias.js.map +0 -1
  471. package/dist/commonjs/operations/billingAccount.d.ts +0 -19
  472. package/dist/commonjs/operations/billingAccount.d.ts.map +0 -1
  473. package/dist/commonjs/operations/billingAccount.js +0 -48
  474. package/dist/commonjs/operations/billingAccount.js.map +0 -1
  475. package/dist/commonjs/operations/index.d.ts +0 -7
  476. package/dist/commonjs/operations/index.d.ts.map +0 -1
  477. package/dist/commonjs/operations/index.js +0 -14
  478. package/dist/commonjs/operations/index.js.map +0 -1
  479. package/dist/commonjs/operations/operations.d.ts +0 -32
  480. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  481. package/dist/commonjs/operations/operations.js +0 -116
  482. package/dist/commonjs/operations/operations.js.map +0 -1
  483. package/dist/commonjs/operations/subscription.d.ts +0 -53
  484. package/dist/commonjs/operations/subscription.d.ts.map +0 -1
  485. package/dist/commonjs/operations/subscription.js +0 -208
  486. package/dist/commonjs/operations/subscription.js.map +0 -1
  487. package/dist/commonjs/operations/subscriptionOperation.d.ts +0 -20
  488. package/dist/commonjs/operations/subscriptionOperation.d.ts.map +0 -1
  489. package/dist/commonjs/operations/subscriptionOperation.js +0 -52
  490. package/dist/commonjs/operations/subscriptionOperation.js.map +0 -1
  491. package/dist/commonjs/operations/subscriptionPolicy.d.ts +0 -43
  492. package/dist/commonjs/operations/subscriptionPolicy.d.ts.map +0 -1
  493. package/dist/commonjs/operations/subscriptionPolicy.js +0 -165
  494. package/dist/commonjs/operations/subscriptionPolicy.js.map +0 -1
  495. package/dist/commonjs/operationsInterfaces/alias.d.ts +0 -45
  496. package/dist/commonjs/operationsInterfaces/alias.d.ts.map +0 -1
  497. package/dist/commonjs/operationsInterfaces/alias.js +0 -5
  498. package/dist/commonjs/operationsInterfaces/alias.js.map +0 -1
  499. package/dist/commonjs/operationsInterfaces/billingAccount.d.ts +0 -11
  500. package/dist/commonjs/operationsInterfaces/billingAccount.d.ts.map +0 -1
  501. package/dist/commonjs/operationsInterfaces/billingAccount.js +0 -5
  502. package/dist/commonjs/operationsInterfaces/billingAccount.js.map +0 -1
  503. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -7
  504. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  505. package/dist/commonjs/operationsInterfaces/index.js +0 -14
  506. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  507. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  508. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  509. package/dist/commonjs/operationsInterfaces/operations.js +0 -5
  510. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  511. package/dist/commonjs/operationsInterfaces/subscription.d.ts +0 -45
  512. package/dist/commonjs/operationsInterfaces/subscription.d.ts.map +0 -1
  513. package/dist/commonjs/operationsInterfaces/subscription.js +0 -5
  514. package/dist/commonjs/operationsInterfaces/subscription.js.map +0 -1
  515. package/dist/commonjs/operationsInterfaces/subscriptionOperation.d.ts +0 -12
  516. package/dist/commonjs/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
  517. package/dist/commonjs/operationsInterfaces/subscriptionOperation.js +0 -5
  518. package/dist/commonjs/operationsInterfaces/subscriptionOperation.js.map +0 -1
  519. package/dist/commonjs/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
  520. package/dist/commonjs/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
  521. package/dist/commonjs/operationsInterfaces/subscriptionPolicy.js +0 -5
  522. package/dist/commonjs/operationsInterfaces/subscriptionPolicy.js.map +0 -1
  523. package/dist/commonjs/pagingHelper.d.ts +0 -13
  524. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  525. package/dist/commonjs/pagingHelper.js +0 -29
  526. package/dist/commonjs/pagingHelper.js.map +0 -1
  527. package/dist/commonjs/subscriptionClient.d.ts.map +0 -1
  528. package/dist/esm/index.d.ts.map +0 -1
  529. package/dist/esm/lroImpl.d.ts +0 -11
  530. package/dist/esm/lroImpl.d.ts.map +0 -1
  531. package/dist/esm/lroImpl.js +0 -20
  532. package/dist/esm/lroImpl.js.map +0 -1
  533. package/dist/esm/models/index.d.ts.map +0 -1
  534. package/dist/esm/models/mappers.d.ts +0 -31
  535. package/dist/esm/models/mappers.d.ts.map +0 -1
  536. package/dist/esm/models/mappers.js +0 -867
  537. package/dist/esm/models/mappers.js.map +0 -1
  538. package/dist/esm/models/parameters.d.ts +0 -15
  539. package/dist/esm/models/parameters.d.ts.map +0 -1
  540. package/dist/esm/models/parameters.js +0 -115
  541. package/dist/esm/models/parameters.js.map +0 -1
  542. package/dist/esm/operations/alias.d.ts +0 -53
  543. package/dist/esm/operations/alias.d.ts.map +0 -1
  544. package/dist/esm/operations/alias.js +0 -182
  545. package/dist/esm/operations/alias.js.map +0 -1
  546. package/dist/esm/operations/billingAccount.d.ts +0 -19
  547. package/dist/esm/operations/billingAccount.d.ts.map +0 -1
  548. package/dist/esm/operations/billingAccount.js +0 -43
  549. package/dist/esm/operations/billingAccount.js.map +0 -1
  550. package/dist/esm/operations/index.d.ts +0 -7
  551. package/dist/esm/operations/index.d.ts.map +0 -1
  552. package/dist/esm/operations/index.js +0 -11
  553. package/dist/esm/operations/index.js.map +0 -1
  554. package/dist/esm/operations/operations.d.ts +0 -32
  555. package/dist/esm/operations/operations.d.ts.map +0 -1
  556. package/dist/esm/operations/operations.js +0 -111
  557. package/dist/esm/operations/operations.js.map +0 -1
  558. package/dist/esm/operations/subscription.d.ts +0 -53
  559. package/dist/esm/operations/subscription.d.ts.map +0 -1
  560. package/dist/esm/operations/subscription.js +0 -203
  561. package/dist/esm/operations/subscription.js.map +0 -1
  562. package/dist/esm/operations/subscriptionOperation.d.ts +0 -20
  563. package/dist/esm/operations/subscriptionOperation.d.ts.map +0 -1
  564. package/dist/esm/operations/subscriptionOperation.js +0 -47
  565. package/dist/esm/operations/subscriptionOperation.js.map +0 -1
  566. package/dist/esm/operations/subscriptionPolicy.d.ts +0 -43
  567. package/dist/esm/operations/subscriptionPolicy.d.ts.map +0 -1
  568. package/dist/esm/operations/subscriptionPolicy.js +0 -160
  569. package/dist/esm/operations/subscriptionPolicy.js.map +0 -1
  570. package/dist/esm/operationsInterfaces/alias.d.ts +0 -45
  571. package/dist/esm/operationsInterfaces/alias.d.ts.map +0 -1
  572. package/dist/esm/operationsInterfaces/alias.js.map +0 -1
  573. package/dist/esm/operationsInterfaces/billingAccount.d.ts +0 -11
  574. package/dist/esm/operationsInterfaces/billingAccount.d.ts.map +0 -1
  575. package/dist/esm/operationsInterfaces/billingAccount.js +0 -4
  576. package/dist/esm/operationsInterfaces/billingAccount.js.map +0 -1
  577. package/dist/esm/operationsInterfaces/index.d.ts +0 -7
  578. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  579. package/dist/esm/operationsInterfaces/index.js +0 -11
  580. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  581. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  582. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  583. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  584. package/dist/esm/operationsInterfaces/subscription.d.ts +0 -45
  585. package/dist/esm/operationsInterfaces/subscription.d.ts.map +0 -1
  586. package/dist/esm/operationsInterfaces/subscription.js +0 -4
  587. package/dist/esm/operationsInterfaces/subscription.js.map +0 -1
  588. package/dist/esm/operationsInterfaces/subscriptionOperation.d.ts +0 -12
  589. package/dist/esm/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
  590. package/dist/esm/operationsInterfaces/subscriptionOperation.js +0 -4
  591. package/dist/esm/operationsInterfaces/subscriptionOperation.js.map +0 -1
  592. package/dist/esm/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
  593. package/dist/esm/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
  594. package/dist/esm/operationsInterfaces/subscriptionPolicy.js +0 -4
  595. package/dist/esm/operationsInterfaces/subscriptionPolicy.js.map +0 -1
  596. package/dist/esm/pagingHelper.d.ts +0 -13
  597. package/dist/esm/pagingHelper.d.ts.map +0 -1
  598. package/dist/esm/pagingHelper.js +0 -25
  599. package/dist/esm/pagingHelper.js.map +0 -1
  600. package/dist/esm/subscriptionClient.d.ts.map +0 -1
  601. package/dist/react-native/index.d.ts +0 -5
  602. package/dist/react-native/index.d.ts.map +0 -1
  603. package/dist/react-native/index.js +0 -10
  604. package/dist/react-native/index.js.map +0 -1
  605. package/dist/react-native/lroImpl.d.ts +0 -11
  606. package/dist/react-native/lroImpl.d.ts.map +0 -1
  607. package/dist/react-native/lroImpl.js +0 -20
  608. package/dist/react-native/lroImpl.js.map +0 -1
  609. package/dist/react-native/models/index.d.ts +0 -569
  610. package/dist/react-native/models/index.d.ts.map +0 -1
  611. package/dist/react-native/models/index.js +0 -53
  612. package/dist/react-native/models/index.js.map +0 -1
  613. package/dist/react-native/models/mappers.d.ts +0 -31
  614. package/dist/react-native/models/mappers.d.ts.map +0 -1
  615. package/dist/react-native/models/mappers.js +0 -867
  616. package/dist/react-native/models/mappers.js.map +0 -1
  617. package/dist/react-native/models/parameters.d.ts +0 -15
  618. package/dist/react-native/models/parameters.d.ts.map +0 -1
  619. package/dist/react-native/models/parameters.js +0 -115
  620. package/dist/react-native/models/parameters.js.map +0 -1
  621. package/dist/react-native/operations/alias.d.ts +0 -53
  622. package/dist/react-native/operations/alias.d.ts.map +0 -1
  623. package/dist/react-native/operations/alias.js +0 -182
  624. package/dist/react-native/operations/alias.js.map +0 -1
  625. package/dist/react-native/operations/billingAccount.d.ts +0 -19
  626. package/dist/react-native/operations/billingAccount.d.ts.map +0 -1
  627. package/dist/react-native/operations/billingAccount.js +0 -43
  628. package/dist/react-native/operations/billingAccount.js.map +0 -1
  629. package/dist/react-native/operations/index.d.ts +0 -7
  630. package/dist/react-native/operations/index.d.ts.map +0 -1
  631. package/dist/react-native/operations/index.js +0 -11
  632. package/dist/react-native/operations/index.js.map +0 -1
  633. package/dist/react-native/operations/operations.d.ts +0 -32
  634. package/dist/react-native/operations/operations.d.ts.map +0 -1
  635. package/dist/react-native/operations/operations.js +0 -111
  636. package/dist/react-native/operations/operations.js.map +0 -1
  637. package/dist/react-native/operations/subscription.d.ts +0 -53
  638. package/dist/react-native/operations/subscription.d.ts.map +0 -1
  639. package/dist/react-native/operations/subscription.js +0 -203
  640. package/dist/react-native/operations/subscription.js.map +0 -1
  641. package/dist/react-native/operations/subscriptionOperation.d.ts +0 -20
  642. package/dist/react-native/operations/subscriptionOperation.d.ts.map +0 -1
  643. package/dist/react-native/operations/subscriptionOperation.js +0 -47
  644. package/dist/react-native/operations/subscriptionOperation.js.map +0 -1
  645. package/dist/react-native/operations/subscriptionPolicy.d.ts +0 -43
  646. package/dist/react-native/operations/subscriptionPolicy.d.ts.map +0 -1
  647. package/dist/react-native/operations/subscriptionPolicy.js +0 -160
  648. package/dist/react-native/operations/subscriptionPolicy.js.map +0 -1
  649. package/dist/react-native/operationsInterfaces/alias.d.ts +0 -45
  650. package/dist/react-native/operationsInterfaces/alias.d.ts.map +0 -1
  651. package/dist/react-native/operationsInterfaces/alias.js.map +0 -1
  652. package/dist/react-native/operationsInterfaces/billingAccount.d.ts +0 -11
  653. package/dist/react-native/operationsInterfaces/billingAccount.d.ts.map +0 -1
  654. package/dist/react-native/operationsInterfaces/billingAccount.js +0 -4
  655. package/dist/react-native/operationsInterfaces/billingAccount.js.map +0 -1
  656. package/dist/react-native/operationsInterfaces/index.d.ts +0 -7
  657. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  658. package/dist/react-native/operationsInterfaces/index.js +0 -11
  659. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  660. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  661. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  662. package/dist/react-native/operationsInterfaces/operations.js +0 -4
  663. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  664. package/dist/react-native/operationsInterfaces/subscription.d.ts +0 -45
  665. package/dist/react-native/operationsInterfaces/subscription.d.ts.map +0 -1
  666. package/dist/react-native/operationsInterfaces/subscription.js +0 -4
  667. package/dist/react-native/operationsInterfaces/subscription.js.map +0 -1
  668. package/dist/react-native/operationsInterfaces/subscriptionOperation.d.ts +0 -12
  669. package/dist/react-native/operationsInterfaces/subscriptionOperation.d.ts.map +0 -1
  670. package/dist/react-native/operationsInterfaces/subscriptionOperation.js +0 -4
  671. package/dist/react-native/operationsInterfaces/subscriptionOperation.js.map +0 -1
  672. package/dist/react-native/operationsInterfaces/subscriptionPolicy.d.ts +0 -22
  673. package/dist/react-native/operationsInterfaces/subscriptionPolicy.d.ts.map +0 -1
  674. package/dist/react-native/operationsInterfaces/subscriptionPolicy.js +0 -4
  675. package/dist/react-native/operationsInterfaces/subscriptionPolicy.js.map +0 -1
  676. package/dist/react-native/package.json +0 -3
  677. package/dist/react-native/pagingHelper.d.ts +0 -13
  678. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  679. package/dist/react-native/pagingHelper.js +0 -25
  680. package/dist/react-native/pagingHelper.js.map +0 -1
  681. package/dist/react-native/subscriptionClient.d.ts +0 -23
  682. package/dist/react-native/subscriptionClient.d.ts.map +0 -1
  683. package/dist/react-native/subscriptionClient.js +0 -104
  684. package/dist/react-native/subscriptionClient.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAOrB,QAAA,sBAAsB,GAA+B;IAChE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wBAAwB;QACnC,eAAe,EAAE;YACf,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAA+B;IAC3D,IAAI,EAAE;QACJ,IAAI,EAA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;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,qBAAqB,GAA+B;IAC/D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uBAAuB;QAClC,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,kCAAkC,GAA+B;IAC5E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,oCAAoC;QAC/C,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,+BAA+B,GAA+B;IACzE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iCAAiC;QAC5C,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["// 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\nimport type * as coreClient from \"@azure/core-client\";\n\nexport const CanceledSubscriptionId: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CanceledSubscriptionId\",\n modelProperties: {\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponseBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponseBody\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n },\n },\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SubscriptionName: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionName\",\n modelProperties: {\n subscriptionName: {\n serializedName: \"subscriptionName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const RenamedSubscriptionId: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RenamedSubscriptionId\",\n modelProperties: {\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const EnabledSubscriptionId: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnabledSubscriptionId\",\n modelProperties: {\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SubscriptionCreationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionCreationResult\",\n modelProperties: {\n subscriptionLink: {\n serializedName: \"subscriptionLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PutAliasRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutAliasRequest\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestProperties\",\n },\n },\n },\n },\n};\n\nexport const PutAliasRequestProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestProperties\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n workload: {\n serializedName: \"workload\",\n type: {\n name: \"String\",\n },\n },\n billingScope: {\n serializedName: \"billingScope\",\n type: {\n name: \"String\",\n },\n },\n subscriptionId: {\n serializedName: \"subscriptionId\",\n type: {\n name: \"String\",\n },\n },\n resellerId: {\n serializedName: \"resellerId\",\n type: {\n name: \"String\",\n },\n },\n additionalProperties: {\n serializedName: \"additionalProperties\",\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestAdditionalProperties\",\n },\n },\n },\n },\n};\n\nexport const PutAliasRequestAdditionalProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutAliasRequestAdditionalProperties\",\n modelProperties: {\n managementGroupId: {\n serializedName: \"managementGroupId\",\n type: {\n name: \"String\",\n },\n },\n subscriptionTenantId: {\n serializedName: \"subscriptionTenantId\",\n type: {\n name: \"String\",\n },\n },\n subscriptionOwnerId: {\n serializedName: \"subscriptionOwnerId\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const SubscriptionAliasResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponse\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponseProperties\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SubscriptionAliasResponseProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponseProperties\",\n modelProperties: {\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\",\n },\n },\n acceptOwnershipUrl: {\n serializedName: \"acceptOwnershipUrl\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n acceptOwnershipState: {\n serializedName: \"acceptOwnershipState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n billingScope: {\n serializedName: \"billingScope\",\n type: {\n name: \"String\",\n },\n },\n workload: {\n serializedName: \"workload\",\n type: {\n name: \"String\",\n },\n },\n resellerId: {\n serializedName: \"resellerId\",\n type: {\n name: \"String\",\n },\n },\n subscriptionOwnerId: {\n serializedName: \"subscriptionOwnerId\",\n type: {\n name: \"String\",\n },\n },\n managementGroupId: {\n serializedName: \"managementGroupId\",\n type: {\n name: \"String\",\n },\n },\n createdTime: {\n serializedName: \"createdTime\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const SubscriptionAliasListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAliasResponse\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AcceptOwnershipRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipRequest\",\n modelProperties: {\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipRequestProperties\",\n },\n },\n },\n },\n};\n\nexport const AcceptOwnershipRequestProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipRequestProperties\",\n modelProperties: {\n displayName: {\n serializedName: \"displayName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n managementGroupId: {\n serializedName: \"managementGroupId\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const AcceptOwnershipStatusResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcceptOwnershipStatusResponse\",\n modelProperties: {\n subscriptionId: {\n serializedName: \"subscriptionId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n acceptOwnershipState: {\n serializedName: \"acceptOwnershipState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n billingOwner: {\n serializedName: \"billingOwner\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n subscriptionTenantId: {\n serializedName: \"subscriptionTenantId\",\n type: {\n name: \"String\",\n },\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const PutTenantPolicyRequestProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PutTenantPolicyRequestProperties\",\n modelProperties: {\n blockSubscriptionsLeavingTenant: {\n serializedName: \"blockSubscriptionsLeavingTenant\",\n type: {\n name: \"Boolean\",\n },\n },\n blockSubscriptionsIntoTenant: {\n serializedName: \"blockSubscriptionsIntoTenant\",\n type: {\n name: \"Boolean\",\n },\n },\n exemptedPrincipals: {\n serializedName: \"exemptedPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const GetTenantPolicyResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GetTenantPolicyResponse\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"TenantPolicy\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const TenantPolicy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TenantPolicy\",\n modelProperties: {\n policyId: {\n serializedName: \"policyId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n blockSubscriptionsLeavingTenant: {\n serializedName: \"blockSubscriptionsLeavingTenant\",\n type: {\n name: \"Boolean\",\n },\n },\n blockSubscriptionsIntoTenant: {\n serializedName: \"blockSubscriptionsIntoTenant\",\n type: {\n name: \"Boolean\",\n },\n },\n exemptedPrincipals: {\n serializedName: \"exemptedPrincipals\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Uuid\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const GetTenantPolicyListResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GetTenantPolicyListResponse\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"GetTenantPolicyResponse\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const BillingAccountPoliciesResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BillingAccountPoliciesResponse\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"BillingAccountPoliciesResponseProperties\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const BillingAccountPoliciesResponseProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"BillingAccountPoliciesResponseProperties\",\n modelProperties: {\n serviceTenants: {\n serializedName: \"serviceTenants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ServiceTenantResponse\",\n },\n },\n },\n },\n allowTransfers: {\n serializedName: \"allowTransfers\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const ServiceTenantResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ServiceTenantResponse\",\n modelProperties: {\n tenantId: {\n serializedName: \"tenantId\",\n type: {\n name: \"String\",\n },\n },\n tenantName: {\n serializedName: \"tenantName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SubscriptionAcceptOwnershipHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionAcceptOwnershipHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const SubscriptionOperationGetHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubscriptionOperationGetHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n retryAfter: {\n serializedName: \"retry-after\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n"]}
@@ -1,15 +0,0 @@
1
- import type { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
- export declare const accept: OperationParameter;
3
- export declare const $host: OperationURLParameter;
4
- export declare const subscriptionId: OperationURLParameter;
5
- export declare const apiVersion: OperationQueryParameter;
6
- export declare const contentType: OperationParameter;
7
- export declare const body: OperationParameter;
8
- export declare const body1: OperationParameter;
9
- export declare const operationId: OperationURLParameter;
10
- export declare const nextLink: OperationURLParameter;
11
- export declare const body2: OperationParameter;
12
- export declare const aliasName: OperationURLParameter;
13
- export declare const body3: OperationParameter;
14
- export declare const billingAccountId: OperationURLParameter;
15
- //# sourceMappingURL=parameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAQ5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBAGlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBASvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAS9B,CAAC"}
@@ -1,118 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.billingAccountId = exports.body3 = exports.aliasName = exports.body2 = exports.nextLink = exports.operationId = exports.body1 = exports.body = exports.contentType = exports.apiVersion = exports.subscriptionId = exports.$host = exports.accept = void 0;
6
- const mappers_js_1 = require("../models/mappers.js");
7
- exports.accept = {
8
- parameterPath: "accept",
9
- mapper: {
10
- defaultValue: "application/json",
11
- isConstant: true,
12
- serializedName: "Accept",
13
- type: {
14
- name: "String",
15
- },
16
- },
17
- };
18
- exports.$host = {
19
- parameterPath: "$host",
20
- mapper: {
21
- serializedName: "$host",
22
- required: true,
23
- type: {
24
- name: "String",
25
- },
26
- },
27
- skipEncoding: true,
28
- };
29
- exports.subscriptionId = {
30
- parameterPath: "subscriptionId",
31
- mapper: {
32
- serializedName: "subscriptionId",
33
- required: true,
34
- type: {
35
- name: "String",
36
- },
37
- },
38
- };
39
- exports.apiVersion = {
40
- parameterPath: "apiVersion",
41
- mapper: {
42
- defaultValue: "2021-10-01",
43
- isConstant: true,
44
- serializedName: "api-version",
45
- type: {
46
- name: "String",
47
- },
48
- },
49
- };
50
- exports.contentType = {
51
- parameterPath: ["options", "contentType"],
52
- mapper: {
53
- defaultValue: "application/json",
54
- isConstant: true,
55
- serializedName: "Content-Type",
56
- type: {
57
- name: "String",
58
- },
59
- },
60
- };
61
- exports.body = {
62
- parameterPath: "body",
63
- mapper: mappers_js_1.SubscriptionName,
64
- };
65
- exports.body1 = {
66
- parameterPath: "body",
67
- mapper: mappers_js_1.AcceptOwnershipRequest,
68
- };
69
- exports.operationId = {
70
- parameterPath: "operationId",
71
- mapper: {
72
- serializedName: "operationId",
73
- required: true,
74
- type: {
75
- name: "String",
76
- },
77
- },
78
- };
79
- exports.nextLink = {
80
- parameterPath: "nextLink",
81
- mapper: {
82
- serializedName: "nextLink",
83
- required: true,
84
- type: {
85
- name: "String",
86
- },
87
- },
88
- skipEncoding: true,
89
- };
90
- exports.body2 = {
91
- parameterPath: "body",
92
- mapper: mappers_js_1.PutAliasRequest,
93
- };
94
- exports.aliasName = {
95
- parameterPath: "aliasName",
96
- mapper: {
97
- serializedName: "aliasName",
98
- required: true,
99
- type: {
100
- name: "String",
101
- },
102
- },
103
- };
104
- exports.body3 = {
105
- parameterPath: "body",
106
- mapper: mappers_js_1.PutTenantPolicyRequestProperties,
107
- };
108
- exports.billingAccountId = {
109
- parameterPath: "billingAccountId",
110
- mapper: {
111
- serializedName: "billingAccountId",
112
- required: true,
113
- type: {
114
- name: "String",
115
- },
116
- },
117
- };
118
- //# sourceMappingURL=parameters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,qDAK8B;AAEjB,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,C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MAAM;IACrB,MAAM,EAAE,4BAAqB;CAC9B,CAAC;AAEW,QAAA,SAAS,GAA0B;IAC9C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAAuB;IACvC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,6CAAsC;CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAA0B;IACrD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["// 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\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n SubscriptionName as SubscriptionNameMapper,\n AcceptOwnershipRequest as AcceptOwnershipRequestMapper,\n PutAliasRequest as PutAliasRequestMapper,\n PutTenantPolicyRequestProperties as PutTenantPolicyRequestPropertiesMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: SubscriptionNameMapper,\n};\n\nexport const body1: OperationParameter = {\n parameterPath: \"body\",\n mapper: AcceptOwnershipRequestMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const body2: OperationParameter = {\n parameterPath: \"body\",\n mapper: PutAliasRequestMapper,\n};\n\nexport const aliasName: OperationURLParameter = {\n parameterPath: \"aliasName\",\n mapper: {\n serializedName: \"aliasName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const body3: OperationParameter = {\n parameterPath: \"body\",\n mapper: PutTenantPolicyRequestPropertiesMapper,\n};\n\nexport const billingAccountId: OperationURLParameter = {\n parameterPath: \"billingAccountId\",\n mapper: {\n serializedName: \"billingAccountId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
@@ -1,53 +0,0 @@
1
- import type { Alias } from "../operationsInterfaces/index.js";
2
- import type { SubscriptionClient } from "../subscriptionClient.js";
3
- import type { SimplePollerLike, OperationState } from "@azure/core-lro";
4
- import type { PutAliasRequest, AliasCreateOptionalParams, AliasCreateResponse, AliasGetOptionalParams, AliasGetResponse, AliasDeleteOptionalParams, AliasListOptionalParams, AliasListResponse } from "../models/index.js";
5
- /** Class containing Alias operations. */
6
- export declare class AliasImpl implements Alias {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class Alias class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: SubscriptionClient);
13
- /**
14
- * Create Alias Subscription.
15
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
16
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
17
- * subscription creation.
18
- * @param body The parameters required to create a new subscription.
19
- * @param options The options parameters.
20
- */
21
- beginCreate(aliasName: string, body: PutAliasRequest, options?: AliasCreateOptionalParams): Promise<SimplePollerLike<OperationState<AliasCreateResponse>, AliasCreateResponse>>;
22
- /**
23
- * Create Alias Subscription.
24
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
25
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
26
- * subscription creation.
27
- * @param body The parameters required to create a new subscription.
28
- * @param options The options parameters.
29
- */
30
- beginCreateAndWait(aliasName: string, body: PutAliasRequest, options?: AliasCreateOptionalParams): Promise<AliasCreateResponse>;
31
- /**
32
- * Get Alias Subscription.
33
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
34
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
35
- * subscription creation.
36
- * @param options The options parameters.
37
- */
38
- get(aliasName: string, options?: AliasGetOptionalParams): Promise<AliasGetResponse>;
39
- /**
40
- * Delete Alias.
41
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
42
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
43
- * subscription creation.
44
- * @param options The options parameters.
45
- */
46
- delete(aliasName: string, options?: AliasDeleteOptionalParams): Promise<void>;
47
- /**
48
- * List Alias Subscription.
49
- * @param options The options parameters.
50
- */
51
- list(options?: AliasListOptionalParams): Promise<AliasListResponse>;
52
- }
53
- //# sourceMappingURL=alias.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alias.d.ts","sourceRoot":"","sources":["../../../src/operations/alias.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,eAAe,EACf,yBAAyB,EACzB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;;;;OAOG;IACG,WAAW,CACf,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,CAAC;IAsDtF;;;;;;;OAOG;IACG,kBAAkB,CACtB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAK/B;;;;;;OAMG;IACH,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAInF;;;;;;OAMG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7E;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAGpE"}
@@ -1,187 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AliasImpl = void 0;
6
- const tslib_1 = require("tslib");
7
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
8
- const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
9
- const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
10
- const core_lro_1 = require("@azure/core-lro");
11
- const lroImpl_js_1 = require("../lroImpl.js");
12
- /** Class containing Alias operations. */
13
- class AliasImpl {
14
- client;
15
- /**
16
- * Initialize a new instance of the class Alias class.
17
- * @param client Reference to the service client
18
- */
19
- constructor(client) {
20
- this.client = client;
21
- }
22
- /**
23
- * Create Alias Subscription.
24
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
25
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
26
- * subscription creation.
27
- * @param body The parameters required to create a new subscription.
28
- * @param options The options parameters.
29
- */
30
- async beginCreate(aliasName, body, options) {
31
- const directSendOperation = async (args, spec) => {
32
- return this.client.sendOperationRequest(args, spec);
33
- };
34
- const sendOperationFn = async (args, spec) => {
35
- let currentRawResponse = undefined;
36
- const providedCallback = args.options?.onResponse;
37
- const callback = (rawResponse, flatResponse) => {
38
- currentRawResponse = rawResponse;
39
- providedCallback?.(rawResponse, flatResponse);
40
- };
41
- const updatedArgs = {
42
- ...args,
43
- options: {
44
- ...args.options,
45
- onResponse: callback,
46
- },
47
- };
48
- const flatResponse = await directSendOperation(updatedArgs, spec);
49
- return {
50
- flatResponse,
51
- rawResponse: {
52
- statusCode: currentRawResponse.status,
53
- body: currentRawResponse.parsedBody,
54
- headers: currentRawResponse.headers.toJSON(),
55
- },
56
- };
57
- };
58
- const lro = (0, lroImpl_js_1.createLroSpec)({
59
- sendOperationFn,
60
- args: { aliasName, body, options },
61
- spec: createOperationSpec,
62
- });
63
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
64
- restoreFrom: options?.resumeFrom,
65
- intervalInMs: options?.updateIntervalInMs,
66
- });
67
- await poller.poll();
68
- return poller;
69
- }
70
- /**
71
- * Create Alias Subscription.
72
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
73
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
74
- * subscription creation.
75
- * @param body The parameters required to create a new subscription.
76
- * @param options The options parameters.
77
- */
78
- async beginCreateAndWait(aliasName, body, options) {
79
- const poller = await this.beginCreate(aliasName, body, options);
80
- return poller.pollUntilDone();
81
- }
82
- /**
83
- * Get Alias Subscription.
84
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
85
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
86
- * subscription creation.
87
- * @param options The options parameters.
88
- */
89
- get(aliasName, options) {
90
- return this.client.sendOperationRequest({ aliasName, options }, getOperationSpec);
91
- }
92
- /**
93
- * Delete Alias.
94
- * @param aliasName AliasName is the name for the subscription creation request. Note that this is not
95
- * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for
96
- * subscription creation.
97
- * @param options The options parameters.
98
- */
99
- delete(aliasName, options) {
100
- return this.client.sendOperationRequest({ aliasName, options }, deleteOperationSpec);
101
- }
102
- /**
103
- * List Alias Subscription.
104
- * @param options The options parameters.
105
- */
106
- list(options) {
107
- return this.client.sendOperationRequest({ options }, listOperationSpec);
108
- }
109
- }
110
- exports.AliasImpl = AliasImpl;
111
- // Operation Specifications
112
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
113
- const createOperationSpec = {
114
- path: "/providers/Microsoft.Subscription/aliases/{aliasName}",
115
- httpMethod: "PUT",
116
- responses: {
117
- 200: {
118
- bodyMapper: Mappers.SubscriptionAliasResponse,
119
- },
120
- 201: {
121
- bodyMapper: Mappers.SubscriptionAliasResponse,
122
- },
123
- 202: {
124
- bodyMapper: Mappers.SubscriptionAliasResponse,
125
- },
126
- 204: {
127
- bodyMapper: Mappers.SubscriptionAliasResponse,
128
- },
129
- default: {
130
- bodyMapper: Mappers.ErrorResponseBody,
131
- },
132
- },
133
- requestBody: Parameters.body2,
134
- queryParameters: [Parameters.apiVersion],
135
- urlParameters: [Parameters.$host, Parameters.aliasName],
136
- headerParameters: [Parameters.accept, Parameters.contentType],
137
- mediaType: "json",
138
- serializer,
139
- };
140
- const getOperationSpec = {
141
- path: "/providers/Microsoft.Subscription/aliases/{aliasName}",
142
- httpMethod: "GET",
143
- responses: {
144
- 200: {
145
- bodyMapper: Mappers.SubscriptionAliasResponse,
146
- },
147
- default: {
148
- bodyMapper: Mappers.ErrorResponseBody,
149
- },
150
- },
151
- queryParameters: [Parameters.apiVersion],
152
- urlParameters: [Parameters.$host, Parameters.aliasName],
153
- headerParameters: [Parameters.accept],
154
- serializer,
155
- };
156
- const deleteOperationSpec = {
157
- path: "/providers/Microsoft.Subscription/aliases/{aliasName}",
158
- httpMethod: "DELETE",
159
- responses: {
160
- 200: {},
161
- 204: {},
162
- default: {
163
- bodyMapper: Mappers.ErrorResponseBody,
164
- },
165
- },
166
- queryParameters: [Parameters.apiVersion],
167
- urlParameters: [Parameters.$host, Parameters.aliasName],
168
- headerParameters: [Parameters.accept],
169
- serializer,
170
- };
171
- const listOperationSpec = {
172
- path: "/providers/Microsoft.Subscription/aliases",
173
- httpMethod: "GET",
174
- responses: {
175
- 200: {
176
- bodyMapper: Mappers.SubscriptionAliasListResult,
177
- },
178
- default: {
179
- bodyMapper: Mappers.ErrorResponseBody,
180
- },
181
- },
182
- queryParameters: [Parameters.apiVersion],
183
- urlParameters: [Parameters.$host],
184
- headerParameters: [Parameters.accept],
185
- serializer,
186
- };
187
- //# sourceMappingURL=alias.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alias.js","sourceRoot":"","sources":["../../../src/operations/alias.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAY9C,yCAAyC;AACzC,MAAa,SAAS;IACH,MAAM,CAAqB;IAE5C;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GA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E,UAAU,CAAC,SAAS,CAAC;IACvD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2CAA2C;IACjD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { Alias } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { SubscriptionClient } from \"../subscriptionClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PutAliasRequest,\n AliasCreateOptionalParams,\n AliasCreateResponse,\n AliasGetOptionalParams,\n AliasGetResponse,\n AliasDeleteOptionalParams,\n AliasListOptionalParams,\n AliasListResponse,\n} from \"../models/index.js\";\n\n/** Class containing Alias operations. */\nexport class AliasImpl implements Alias {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Alias class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Create Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param body The parameters required to create a new subscription.\n * @param options The options parameters.\n */\n async beginCreate(\n aliasName: string,\n body: PutAliasRequest,\n options?: AliasCreateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<AliasCreateResponse>, AliasCreateResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AliasCreateResponse> => {\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 = 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: { aliasName, body, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<AliasCreateResponse, OperationState<AliasCreateResponse>>(\n lro,\n {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n },\n );\n await poller.poll();\n return poller;\n }\n\n /**\n * Create Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param body The parameters required to create a new subscription.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n aliasName: string,\n body: PutAliasRequest,\n options?: AliasCreateOptionalParams,\n ): Promise<AliasCreateResponse> {\n const poller = await this.beginCreate(aliasName, body, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Get Alias Subscription.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param options The options parameters.\n */\n get(aliasName: string, options?: AliasGetOptionalParams): Promise<AliasGetResponse> {\n return this.client.sendOperationRequest({ aliasName, options }, getOperationSpec);\n }\n\n /**\n * Delete Alias.\n * @param aliasName AliasName is the name for the subscription creation request. Note that this is not\n * the same as subscription name and this doesn’t have any other lifecycle need beyond the request for\n * subscription creation.\n * @param options The options parameters.\n */\n delete(aliasName: string, options?: AliasDeleteOptionalParams): Promise<void> {\n return this.client.sendOperationRequest({ aliasName, options }, deleteOperationSpec);\n }\n\n /**\n * List Alias Subscription.\n * @param options The options parameters.\n */\n list(options?: AliasListOptionalParams): Promise<AliasListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases/{aliasName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionAliasResponse,\n },\n 201: {\n bodyMapper: Mappers.SubscriptionAliasResponse,\n },\n 202: {\n bodyMapper: Mappers.SubscriptionAliasResponse,\n },\n 204: {\n bodyMapper: Mappers.SubscriptionAliasResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.aliasName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases/{aliasName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionAliasResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.aliasName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases/{aliasName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.aliasName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Subscription/aliases\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionAliasListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,19 +0,0 @@
1
- import type { BillingAccount } from "../operationsInterfaces/index.js";
2
- import type { SubscriptionClient } from "../subscriptionClient.js";
3
- import type { BillingAccountGetPolicyOptionalParams, BillingAccountGetPolicyResponse } from "../models/index.js";
4
- /** Class containing BillingAccount operations. */
5
- export declare class BillingAccountImpl implements BillingAccount {
6
- private readonly client;
7
- /**
8
- * Initialize a new instance of the class BillingAccount class.
9
- * @param client Reference to the service client
10
- */
11
- constructor(client: SubscriptionClient);
12
- /**
13
- * Get Billing Account Policy.
14
- * @param billingAccountId Billing Account Id.
15
- * @param options The options parameters.
16
- */
17
- getPolicy(billingAccountId: string, options?: BillingAccountGetPolicyOptionalParams): Promise<BillingAccountGetPolicyResponse>;
18
- }
19
- //# sourceMappingURL=billingAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"billingAccount.d.ts","sourceRoot":"","sources":["../../../src/operations/billingAccount.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAE5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;;OAIG;IACH,SAAS,CACP,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;CAG5C"}
@@ -1,48 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.BillingAccountImpl = void 0;
6
- const tslib_1 = require("tslib");
7
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
8
- const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
9
- const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
10
- /** Class containing BillingAccount operations. */
11
- class BillingAccountImpl {
12
- client;
13
- /**
14
- * Initialize a new instance of the class BillingAccount class.
15
- * @param client Reference to the service client
16
- */
17
- constructor(client) {
18
- this.client = client;
19
- }
20
- /**
21
- * Get Billing Account Policy.
22
- * @param billingAccountId Billing Account Id.
23
- * @param options The options parameters.
24
- */
25
- getPolicy(billingAccountId, options) {
26
- return this.client.sendOperationRequest({ billingAccountId, options }, getPolicyOperationSpec);
27
- }
28
- }
29
- exports.BillingAccountImpl = BillingAccountImpl;
30
- // Operation Specifications
31
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
32
- const getPolicyOperationSpec = {
33
- path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default",
34
- httpMethod: "GET",
35
- responses: {
36
- 200: {
37
- bodyMapper: Mappers.BillingAccountPoliciesResponse,
38
- },
39
- default: {
40
- bodyMapper: Mappers.ErrorResponseBody,
41
- },
42
- },
43
- queryParameters: [Parameters.apiVersion],
44
- urlParameters: [Parameters.$host, Parameters.billingAccountId],
45
- headerParameters: [Parameters.accept],
46
- serializer,
47
- };
48
- //# sourceMappingURL=billingAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"billingAccount.js","sourceRoot":"","sources":["../../../src/operations/billingAccount.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,kDAAkD;AAClD,MAAa,kBAAkB;IACZ,MAAM,CAAqB;IAE5C;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,SAAS,CACP,gBAAwB,EACxB,OAA+C;QAE/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAE,EAAE,sBAAsB,CAAC,CAAC;IACjG,CAAC;CACF;AAtBD,gDAsBC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,sBAAsB,GAA6B;IACvD,IAAI,EAAE,mHAAmH;IACzH,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAC9D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { BillingAccount } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { SubscriptionClient } from \"../subscriptionClient.js\";\nimport type {\n BillingAccountGetPolicyOptionalParams,\n BillingAccountGetPolicyResponse,\n} from \"../models/index.js\";\n\n/** Class containing BillingAccount operations. */\nexport class BillingAccountImpl implements BillingAccount {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class BillingAccount class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Get Billing Account Policy.\n * @param billingAccountId Billing Account Id.\n * @param options The options parameters.\n */\n getPolicy(\n billingAccountId: string,\n options?: BillingAccountGetPolicyOptionalParams,\n ): Promise<BillingAccountGetPolicyResponse> {\n return this.client.sendOperationRequest({ billingAccountId, options }, getPolicyOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getPolicyOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BillingAccountPoliciesResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.billingAccountId],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,7 +0,0 @@
1
- export * from "./subscription.js";
2
- export * from "./subscriptionOperation.js";
3
- export * from "./operations.js";
4
- export * from "./alias.js";
5
- export * from "./subscriptionPolicy.js";
6
- export * from "./billingAccount.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAMA,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- const tslib_1 = require("tslib");
6
- // Code generated by Microsoft (R) AutoRest Code Generator.
7
- // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- tslib_1.__exportStar(require("./subscription.js"), exports);
9
- tslib_1.__exportStar(require("./subscriptionOperation.js"), exports);
10
- tslib_1.__exportStar(require("./operations.js"), exports);
11
- tslib_1.__exportStar(require("./alias.js"), exports);
12
- tslib_1.__exportStar(require("./subscriptionPolicy.js"), exports);
13
- tslib_1.__exportStar(require("./billingAccount.js"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,4DAAkC;AAClC,qEAA2C;AAC3C,0DAAgC;AAChC,qDAA2B;AAC3B,kEAAwC;AACxC,8DAAoC","sourcesContent":["// 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\nexport * from \"./subscription.js\";\nexport * from \"./subscriptionOperation.js\";\nexport * from \"./operations.js\";\nexport * from \"./alias.js\";\nexport * from \"./subscriptionPolicy.js\";\nexport * from \"./billingAccount.js\";\n"]}