@azure/arm-billing 2.2.0 → 4.0.0

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 (341) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +75 -73
  4. package/dist/index.js +10450 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/billingManagementClient.d.ts +37 -0
  9. package/dist-esm/src/billingManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/billingManagementClient.js +70 -0
  11. package/dist-esm/src/billingManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +3244 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +272 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +86 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/dist-esm/src/models/mappers.js +3514 -0
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +45 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +374 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/address.d.ts +20 -0
  33. package/dist-esm/src/operations/address.d.ts.map +1 -0
  34. package/dist-esm/src/operations/address.js +50 -0
  35. package/dist-esm/src/operations/address.js.map +1 -0
  36. package/dist-esm/src/operations/agreements.d.ts +42 -0
  37. package/dist-esm/src/operations/agreements.d.ts.map +1 -0
  38. package/dist-esm/src/operations/agreements.js +156 -0
  39. package/dist-esm/src/operations/agreements.js.map +1 -0
  40. package/dist-esm/src/operations/availableBalances.d.ts +22 -0
  41. package/dist-esm/src/operations/availableBalances.d.ts.map +1 -0
  42. package/dist-esm/src/operations/availableBalances.js +54 -0
  43. package/dist-esm/src/operations/availableBalances.js.map +1 -0
  44. package/dist-esm/src/operations/billingAccounts.d.ts +79 -0
  45. package/dist-esm/src/operations/billingAccounts.d.ts.map +1 -0
  46. package/dist-esm/src/operations/billingAccounts.js +330 -0
  47. package/dist-esm/src/operations/billingAccounts.js.map +1 -0
  48. package/dist-esm/src/operations/billingPeriods.d.ts +44 -0
  49. package/dist-esm/src/operations/billingPeriods.d.ts.map +1 -0
  50. package/dist-esm/src/operations/billingPeriods.js +168 -0
  51. package/dist-esm/src/operations/billingPeriods.js.map +1 -0
  52. package/dist-esm/src/operations/billingPermissions.d.ts +110 -0
  53. package/dist-esm/src/operations/billingPermissions.d.ts.map +1 -0
  54. package/dist-esm/src/operations/billingPermissions.js +468 -0
  55. package/dist-esm/src/operations/billingPermissions.js.map +1 -0
  56. package/dist-esm/src/operations/billingProfiles.d.ts +64 -0
  57. package/dist-esm/src/operations/billingProfiles.d.ts.map +1 -0
  58. package/dist-esm/src/operations/billingProfiles.js +245 -0
  59. package/dist-esm/src/operations/billingProfiles.js.map +1 -0
  60. package/dist-esm/src/operations/billingPropertyOperations.d.ts +26 -0
  61. package/dist-esm/src/operations/billingPropertyOperations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/billingPropertyOperations.js +74 -0
  63. package/dist-esm/src/operations/billingPropertyOperations.js.map +1 -0
  64. package/dist-esm/src/operations/billingRoleAssignments.d.ts +146 -0
  65. package/dist-esm/src/operations/billingRoleAssignments.d.ts.map +1 -0
  66. package/dist-esm/src/operations/billingRoleAssignments.js +578 -0
  67. package/dist-esm/src/operations/billingRoleAssignments.js.map +1 -0
  68. package/dist-esm/src/operations/billingRoleDefinitions.d.ts +119 -0
  69. package/dist-esm/src/operations/billingRoleDefinitions.d.ts.map +1 -0
  70. package/dist-esm/src/operations/billingRoleDefinitions.js +471 -0
  71. package/dist-esm/src/operations/billingRoleDefinitions.js.map +1 -0
  72. package/dist-esm/src/operations/billingSubscriptions.d.ts +160 -0
  73. package/dist-esm/src/operations/billingSubscriptions.d.ts.map +1 -0
  74. package/dist-esm/src/operations/billingSubscriptions.js +655 -0
  75. package/dist-esm/src/operations/billingSubscriptions.js.map +1 -0
  76. package/dist-esm/src/operations/customers.d.ts +71 -0
  77. package/dist-esm/src/operations/customers.d.ts.map +1 -0
  78. package/dist-esm/src/operations/customers.js +287 -0
  79. package/dist-esm/src/operations/customers.js.map +1 -0
  80. package/dist-esm/src/operations/enrollmentAccounts.d.ts +38 -0
  81. package/dist-esm/src/operations/enrollmentAccounts.d.ts.map +1 -0
  82. package/dist-esm/src/operations/enrollmentAccounts.js +144 -0
  83. package/dist-esm/src/operations/enrollmentAccounts.js.map +1 -0
  84. package/dist-esm/src/operations/index.d.ts +22 -0
  85. package/dist-esm/src/operations/index.d.ts.map +1 -0
  86. package/dist-esm/src/operations/index.js +29 -0
  87. package/dist-esm/src/operations/index.js.map +1 -0
  88. package/dist-esm/src/operations/instructions.d.ts +57 -0
  89. package/dist-esm/src/operations/instructions.d.ts.map +1 -0
  90. package/dist-esm/src/operations/instructions.js +208 -0
  91. package/dist-esm/src/operations/instructions.js.map +1 -0
  92. package/dist-esm/src/operations/invoiceSections.d.ts +70 -0
  93. package/dist-esm/src/operations/invoiceSections.d.ts.map +1 -0
  94. package/dist-esm/src/operations/invoiceSections.js +264 -0
  95. package/dist-esm/src/operations/invoiceSections.js.map +1 -0
  96. package/dist-esm/src/operations/invoices.d.ts +202 -0
  97. package/dist-esm/src/operations/invoices.d.ts.map +1 -0
  98. package/dist-esm/src/operations/invoices.js +817 -0
  99. package/dist-esm/src/operations/invoices.js.map +1 -0
  100. package/dist-esm/src/operations/operations.d.ts +32 -0
  101. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operations/operations.js +120 -0
  103. package/dist-esm/src/operations/operations.js.map +1 -0
  104. package/dist-esm/src/operations/policies.d.ts +47 -0
  105. package/dist-esm/src/operations/policies.d.ts.map +1 -0
  106. package/dist-esm/src/operations/policies.js +149 -0
  107. package/dist-esm/src/operations/policies.js.map +1 -0
  108. package/dist-esm/src/operations/products.d.ts +160 -0
  109. package/dist-esm/src/operations/products.d.ts.map +1 -0
  110. package/dist-esm/src/operations/products.js +615 -0
  111. package/dist-esm/src/operations/products.js.map +1 -0
  112. package/dist-esm/src/operations/reservations.d.ts +63 -0
  113. package/dist-esm/src/operations/reservations.d.ts.map +1 -0
  114. package/dist-esm/src/operations/reservations.js +265 -0
  115. package/dist-esm/src/operations/reservations.js.map +1 -0
  116. package/dist-esm/src/operations/transactions.d.ts +40 -0
  117. package/dist-esm/src/operations/transactions.d.ts.map +1 -0
  118. package/dist-esm/src/operations/transactions.js +137 -0
  119. package/dist-esm/src/operations/transactions.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/address.d.ts +12 -0
  121. package/dist-esm/src/operationsInterfaces/address.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/address.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/address.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/agreements.d.ts +19 -0
  125. package/dist-esm/src/operationsInterfaces/agreements.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/agreements.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/agreements.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/availableBalances.d.ts +14 -0
  129. package/dist-esm/src/operationsInterfaces/availableBalances.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/availableBalances.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/availableBalances.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts +41 -0
  133. package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/billingAccounts.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/billingAccounts.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts +21 -0
  137. package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/billingPeriods.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/billingPeriods.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts +34 -0
  141. package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/billingPermissions.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/billingPermissions.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts +40 -0
  145. package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/billingProfiles.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/billingProfiles.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts +18 -0
  149. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts +84 -0
  153. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts +57 -0
  157. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts +80 -0
  161. package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/billingSubscriptions.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/billingSubscriptions.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/customers.d.ts +29 -0
  165. package/dist-esm/src/operationsInterfaces/customers.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/customers.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/customers.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts +17 -0
  169. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/index.d.ts +22 -0
  173. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/index.js +29 -0
  175. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/instructions.d.ts +32 -0
  177. package/dist-esm/src/operationsInterfaces/instructions.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/instructions.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/instructions.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts +44 -0
  181. package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/invoiceSections.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/invoiceSections.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/invoices.d.ts +124 -0
  185. package/dist-esm/src/operationsInterfaces/invoices.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/invoices.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/invoices.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  189. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/policies.d.ts +39 -0
  193. package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/policies.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/products.d.ts +78 -0
  197. package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/products.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/reservations.d.ts +21 -0
  201. package/dist-esm/src/operationsInterfaces/reservations.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/reservations.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/reservations.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/transactions.d.ts +14 -0
  205. package/dist-esm/src/operationsInterfaces/transactions.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/transactions.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/transactions.js.map +1 -0
  208. package/dist-esm/test/sampleTest.d.ts +2 -0
  209. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  210. package/dist-esm/test/sampleTest.js +40 -0
  211. package/dist-esm/test/sampleTest.js.map +1 -0
  212. package/package.json +70 -34
  213. package/review/arm-billing.api.md +2361 -0
  214. package/rollup.config.js +184 -27
  215. package/src/billingManagementClient.ts +157 -0
  216. package/src/index.ts +12 -0
  217. package/src/lroImpl.ts +34 -0
  218. package/src/models/index.ts +3657 -0
  219. package/src/models/mappers.ts +3839 -0
  220. package/src/models/parameters.ts +435 -0
  221. package/src/operations/address.ts +68 -0
  222. package/src/operations/agreements.ts +203 -0
  223. package/src/operations/availableBalances.ts +73 -0
  224. package/src/operations/billingAccounts.ts +433 -0
  225. package/src/operations/billingPeriods.ts +196 -0
  226. package/src/operations/billingPermissions.ts +643 -0
  227. package/src/operations/billingProfiles.ts +334 -0
  228. package/src/operations/billingPropertyOperations.ts +100 -0
  229. package/src/operations/billingRoleAssignments.ts +782 -0
  230. package/src/operations/billingRoleDefinitions.ts +639 -0
  231. package/src/operations/billingSubscriptions.ts +902 -0
  232. package/src/operations/customers.ts +377 -0
  233. package/src/operations/enrollmentAccounts.ts +170 -0
  234. package/src/operations/index.ts +29 -0
  235. package/src/operations/instructions.ts +285 -0
  236. package/src/operations/invoiceSections.ts +373 -0
  237. package/src/operations/invoices.ts +1176 -0
  238. package/src/operations/operations.ts +137 -0
  239. package/src/operations/policies.ts +205 -0
  240. package/src/operations/products.ts +838 -0
  241. package/src/operations/reservations.ts +344 -0
  242. package/src/operations/transactions.ts +189 -0
  243. package/src/operationsInterfaces/address.ts +27 -0
  244. package/src/operationsInterfaces/agreements.ts +40 -0
  245. package/src/operationsInterfaces/availableBalances.ts +29 -0
  246. package/src/operationsInterfaces/billingAccounts.ts +81 -0
  247. package/src/operationsInterfaces/billingPeriods.ts +40 -0
  248. package/src/operationsInterfaces/billingPermissions.ts +65 -0
  249. package/src/operationsInterfaces/billingProfiles.ts +78 -0
  250. package/src/operationsInterfaces/billingPropertyOperations.ts +37 -0
  251. package/src/operationsInterfaces/billingRoleAssignments.ts +152 -0
  252. package/src/operationsInterfaces/billingRoleDefinitions.ts +104 -0
  253. package/src/operationsInterfaces/billingSubscriptions.ts +144 -0
  254. package/src/operationsInterfaces/customers.ts +55 -0
  255. package/src/operationsInterfaces/enrollmentAccounts.ts +36 -0
  256. package/src/operationsInterfaces/index.ts +29 -0
  257. package/src/operationsInterfaces/instructions.ts +63 -0
  258. package/src/operationsInterfaces/invoiceSections.ts +86 -0
  259. package/src/operationsInterfaces/invoices.ts +233 -0
  260. package/src/operationsInterfaces/operations.ts +22 -0
  261. package/src/operationsInterfaces/policies.ts +76 -0
  262. package/src/operationsInterfaces/products.ts +137 -0
  263. package/src/operationsInterfaces/reservations.ts +41 -0
  264. package/src/operationsInterfaces/transactions.ts +30 -0
  265. package/tsconfig.json +4 -4
  266. package/types/arm-billing.d.ts +4451 -0
  267. package/types/tsdoc-metadata.json +11 -0
  268. package/dist/arm-billing.js +0 -1188
  269. package/dist/arm-billing.js.map +0 -1
  270. package/dist/arm-billing.min.js +0 -1
  271. package/dist/arm-billing.min.js.map +0 -1
  272. package/esm/billingManagementClient.d.ts +0 -21
  273. package/esm/billingManagementClient.d.ts.map +0 -1
  274. package/esm/billingManagementClient.js +0 -36
  275. package/esm/billingManagementClient.js.map +0 -1
  276. package/esm/billingManagementClientContext.d.ts +0 -16
  277. package/esm/billingManagementClientContext.d.ts.map +0 -1
  278. package/esm/billingManagementClientContext.js +0 -56
  279. package/esm/billingManagementClientContext.js.map +0 -1
  280. package/esm/models/billingPeriodsMappers.d.ts +0 -2
  281. package/esm/models/billingPeriodsMappers.d.ts.map +0 -1
  282. package/esm/models/billingPeriodsMappers.js +0 -11
  283. package/esm/models/billingPeriodsMappers.js.map +0 -1
  284. package/esm/models/enrollmentAccountsMappers.d.ts +0 -2
  285. package/esm/models/enrollmentAccountsMappers.d.ts.map +0 -1
  286. package/esm/models/enrollmentAccountsMappers.js +0 -11
  287. package/esm/models/enrollmentAccountsMappers.js.map +0 -1
  288. package/esm/models/index.d.ts +0 -573
  289. package/esm/models/index.d.ts.map +0 -1
  290. package/esm/models/index.js +0 -10
  291. package/esm/models/index.js.map +0 -1
  292. package/esm/models/invoicesMappers.d.ts +0 -2
  293. package/esm/models/invoicesMappers.d.ts.map +0 -1
  294. package/esm/models/invoicesMappers.js +0 -11
  295. package/esm/models/invoicesMappers.js.map +0 -1
  296. package/esm/models/mappers.d.ts +0 -17
  297. package/esm/models/mappers.d.ts.map +0 -1
  298. package/esm/models/mappers.js +0 -364
  299. package/esm/models/mappers.js.map +0 -1
  300. package/esm/models/operationsMappers.d.ts +0 -2
  301. package/esm/models/operationsMappers.d.ts.map +0 -1
  302. package/esm/models/operationsMappers.js +0 -11
  303. package/esm/models/operationsMappers.js.map +0 -1
  304. package/esm/models/parameters.d.ts +0 -13
  305. package/esm/models/parameters.d.ts.map +0 -1
  306. package/esm/models/parameters.js +0 -133
  307. package/esm/models/parameters.js.map +0 -1
  308. package/esm/operations/billingPeriods.d.ts +0 -70
  309. package/esm/operations/billingPeriods.d.ts.map +0 -1
  310. package/esm/operations/billingPeriods.js +0 -112
  311. package/esm/operations/billingPeriods.js.map +0 -1
  312. package/esm/operations/enrollmentAccounts.d.ts +0 -64
  313. package/esm/operations/enrollmentAccounts.d.ts.map +0 -1
  314. package/esm/operations/enrollmentAccounts.js +0 -105
  315. package/esm/operations/enrollmentAccounts.js.map +0 -1
  316. package/esm/operations/index.d.ts +0 -5
  317. package/esm/operations/index.d.ts.map +0 -1
  318. package/esm/operations/index.js +0 -14
  319. package/esm/operations/index.js.map +0 -1
  320. package/esm/operations/invoices.d.ts +0 -93
  321. package/esm/operations/invoices.d.ts.map +0 -1
  322. package/esm/operations/invoices.js +0 -140
  323. package/esm/operations/invoices.js.map +0 -1
  324. package/esm/operations/operations.d.ts +0 -46
  325. package/esm/operations/operations.d.ts.map +0 -1
  326. package/esm/operations/operations.js +0 -77
  327. package/esm/operations/operations.js.map +0 -1
  328. package/lib/billingManagementClient.ts +0 -48
  329. package/lib/billingManagementClientContext.ts +0 -62
  330. package/lib/models/billingPeriodsMappers.ts +0 -22
  331. package/lib/models/enrollmentAccountsMappers.ts +0 -22
  332. package/lib/models/index.ts +0 -613
  333. package/lib/models/invoicesMappers.ts +0 -22
  334. package/lib/models/mappers.ts +0 -392
  335. package/lib/models/operationsMappers.ts +0 -18
  336. package/lib/models/parameters.ts +0 -135
  337. package/lib/operations/billingPeriods.ts +0 -187
  338. package/lib/operations/enrollmentAccounts.ts +0 -174
  339. package/lib/operations/index.ts +0 -14
  340. package/lib/operations/invoices.ts +0 -243
  341. package/lib/operations/operations.ts +0 -123
@@ -1,112 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/billingPeriodsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a BillingPeriods. */
14
- var BillingPeriods = /** @class */ (function () {
15
- /**
16
- * Create a BillingPeriods.
17
- * @param {BillingManagementClientContext} client Reference to the service client.
18
- */
19
- function BillingPeriods(client) {
20
- this.client = client;
21
- }
22
- BillingPeriods.prototype.list = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listOperationSpec, callback);
26
- };
27
- BillingPeriods.prototype.get = function (billingPeriodName, options, callback) {
28
- return this.client.sendOperationRequest({
29
- billingPeriodName: billingPeriodName,
30
- options: options
31
- }, getOperationSpec, callback);
32
- };
33
- BillingPeriods.prototype.listNext = function (nextPageLink, options, callback) {
34
- return this.client.sendOperationRequest({
35
- nextPageLink: nextPageLink,
36
- options: options
37
- }, listNextOperationSpec, callback);
38
- };
39
- return BillingPeriods;
40
- }());
41
- export { BillingPeriods };
42
- // Operation Specifications
43
- var serializer = new msRest.Serializer(Mappers);
44
- var listOperationSpec = {
45
- httpMethod: "GET",
46
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods",
47
- urlParameters: [
48
- Parameters.subscriptionId
49
- ],
50
- queryParameters: [
51
- Parameters.apiVersion,
52
- Parameters.filter,
53
- Parameters.skiptoken,
54
- Parameters.top
55
- ],
56
- headerParameters: [
57
- Parameters.acceptLanguage
58
- ],
59
- responses: {
60
- 200: {
61
- bodyMapper: Mappers.BillingPeriodsListResult
62
- },
63
- default: {
64
- bodyMapper: Mappers.ErrorResponse
65
- }
66
- },
67
- serializer: serializer
68
- };
69
- var getOperationSpec = {
70
- httpMethod: "GET",
71
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}",
72
- urlParameters: [
73
- Parameters.subscriptionId,
74
- Parameters.billingPeriodName
75
- ],
76
- queryParameters: [
77
- Parameters.apiVersion
78
- ],
79
- headerParameters: [
80
- Parameters.acceptLanguage
81
- ],
82
- responses: {
83
- 200: {
84
- bodyMapper: Mappers.BillingPeriod
85
- },
86
- default: {
87
- bodyMapper: Mappers.ErrorResponse
88
- }
89
- },
90
- serializer: serializer
91
- };
92
- var listNextOperationSpec = {
93
- httpMethod: "GET",
94
- baseUrl: "https://management.azure.com",
95
- path: "{nextLink}",
96
- urlParameters: [
97
- Parameters.nextPageLink
98
- ],
99
- headerParameters: [
100
- Parameters.acceptLanguage
101
- ],
102
- responses: {
103
- 200: {
104
- bodyMapper: Mappers.BillingPeriodsListResult
105
- },
106
- default: {
107
- bodyMapper: Mappers.ErrorResponse
108
- }
109
- },
110
- serializer: serializer
111
- };
112
- //# sourceMappingURL=billingPeriods.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"billingPeriods.js","sourceRoot":"","sources":["../../lib/operations/billingPeriods.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,2CAA2C;AAC3C;IAGE;;;OAGG;IACH,wBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAmBD,6BAAI,GAAJ,UAAK,OAA2G,EAAE,QAAkE;QACl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CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,64 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { BillingManagementClientContext } from "../billingManagementClientContext";
4
- /** Class representing a EnrollmentAccounts. */
5
- export declare class EnrollmentAccounts {
6
- private readonly client;
7
- /**
8
- * Create a EnrollmentAccounts.
9
- * @param {BillingManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: BillingManagementClientContext);
12
- /**
13
- * Lists the enrollment accounts the caller has access to.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.EnrollmentAccountsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.EnrollmentAccountsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.EnrollmentAccountListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EnrollmentAccountListResult>): void;
27
- /**
28
- * Gets a enrollment account by name.
29
- * @param name Enrollment Account name.
30
- * @param [options] The optional parameters
31
- * @returns Promise<Models.EnrollmentAccountsGetResponse>
32
- */
33
- get(name: string, options?: msRest.RequestOptionsBase): Promise<Models.EnrollmentAccountsGetResponse>;
34
- /**
35
- * @param name Enrollment Account name.
36
- * @param callback The callback
37
- */
38
- get(name: string, callback: msRest.ServiceCallback<Models.EnrollmentAccount>): void;
39
- /**
40
- * @param name Enrollment Account name.
41
- * @param options The optional parameters
42
- * @param callback The callback
43
- */
44
- get(name: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EnrollmentAccount>): void;
45
- /**
46
- * Lists the enrollment accounts the caller has access to.
47
- * @param nextPageLink The NextLink from the previous successful call to List operation.
48
- * @param [options] The optional parameters
49
- * @returns Promise<Models.EnrollmentAccountsListNextResponse>
50
- */
51
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.EnrollmentAccountsListNextResponse>;
52
- /**
53
- * @param nextPageLink The NextLink from the previous successful call to List operation.
54
- * @param callback The callback
55
- */
56
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EnrollmentAccountListResult>): void;
57
- /**
58
- * @param nextPageLink The NextLink from the previous successful call to List operation.
59
- * @param options The optional parameters
60
- * @param callback The callback
61
- */
62
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EnrollmentAccountListResult>): void;
63
- }
64
- //# sourceMappingURL=enrollmentAccounts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enrollmentAccounts.d.ts","sourceRoot":"","sources":["../../lib/operations/enrollmentAccounts.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AA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QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,2BAA2B,CAAC,GAAG,IAAI;CAU/I"}
@@ -1,105 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/enrollmentAccountsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a EnrollmentAccounts. */
14
- var EnrollmentAccounts = /** @class */ (function () {
15
- /**
16
- * Create a EnrollmentAccounts.
17
- * @param {BillingManagementClientContext} client Reference to the service client.
18
- */
19
- function EnrollmentAccounts(client) {
20
- this.client = client;
21
- }
22
- EnrollmentAccounts.prototype.list = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listOperationSpec, callback);
26
- };
27
- EnrollmentAccounts.prototype.get = function (name, options, callback) {
28
- return this.client.sendOperationRequest({
29
- name: name,
30
- options: options
31
- }, getOperationSpec, callback);
32
- };
33
- EnrollmentAccounts.prototype.listNext = function (nextPageLink, options, callback) {
34
- return this.client.sendOperationRequest({
35
- nextPageLink: nextPageLink,
36
- options: options
37
- }, listNextOperationSpec, callback);
38
- };
39
- return EnrollmentAccounts;
40
- }());
41
- export { EnrollmentAccounts };
42
- // Operation Specifications
43
- var serializer = new msRest.Serializer(Mappers);
44
- var listOperationSpec = {
45
- httpMethod: "GET",
46
- path: "providers/Microsoft.Billing/enrollmentAccounts",
47
- queryParameters: [
48
- Parameters.apiVersion
49
- ],
50
- headerParameters: [
51
- Parameters.acceptLanguage
52
- ],
53
- responses: {
54
- 200: {
55
- bodyMapper: Mappers.EnrollmentAccountListResult
56
- },
57
- default: {
58
- bodyMapper: Mappers.ErrorResponse
59
- }
60
- },
61
- serializer: serializer
62
- };
63
- var getOperationSpec = {
64
- httpMethod: "GET",
65
- path: "providers/Microsoft.Billing/enrollmentAccounts/{name}",
66
- urlParameters: [
67
- Parameters.name
68
- ],
69
- queryParameters: [
70
- Parameters.apiVersion
71
- ],
72
- headerParameters: [
73
- Parameters.acceptLanguage
74
- ],
75
- responses: {
76
- 200: {
77
- bodyMapper: Mappers.EnrollmentAccount
78
- },
79
- default: {
80
- bodyMapper: Mappers.ErrorResponse
81
- }
82
- },
83
- serializer: serializer
84
- };
85
- var listNextOperationSpec = {
86
- httpMethod: "GET",
87
- baseUrl: "https://management.azure.com",
88
- path: "{nextLink}",
89
- urlParameters: [
90
- Parameters.nextPageLink
91
- ],
92
- headerParameters: [
93
- Parameters.acceptLanguage
94
- ],
95
- responses: {
96
- 200: {
97
- bodyMapper: Mappers.EnrollmentAccountListResult
98
- },
99
- default: {
100
- bodyMapper: Mappers.ErrorResponse
101
- }
102
- },
103
- serializer: serializer
104
- };
105
- //# sourceMappingURL=enrollmentAccounts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enrollmentAccounts.js","sourceRoot":"","sources":["../../lib/operations/enrollmentAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAC;AAC/D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,+CAA+C;AAC/C;IAGE;;;OAGG;IACH,4BAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,iCAAI,GAAJ,UAAK,OAAgG,EAAE,QAAqE;QAC1K,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAmD,CAAC;IAChE,CAAC;IA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KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from "./enrollmentAccounts";
2
- export * from "./billingPeriods";
3
- export * from "./invoices";
4
- export * from "./operations";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -1,14 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- export * from "./enrollmentAccounts";
11
- export * from "./billingPeriods";
12
- export * from "./invoices";
13
- export * from "./operations";
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -1,93 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { BillingManagementClientContext } from "../billingManagementClientContext";
4
- /** Class representing a Invoices. */
5
- export declare class Invoices {
6
- private readonly client;
7
- /**
8
- * Create a Invoices.
9
- * @param {BillingManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: BillingManagementClientContext);
12
- /**
13
- * Lists the available invoices for a subscription in reverse chronological order beginning with
14
- * the most recent invoice. In preview, invoices are available via this API only for invoice
15
- * periods which end December 1, 2016 or later. This is only supported for Azure Web-Direct
16
- * subscriptions. Other subscription types which were not purchased directly through the Azure web
17
- * portal are not supported through this preview API.
18
- * @param [options] The optional parameters
19
- * @returns Promise<Models.InvoicesListResponse>
20
- */
21
- list(options?: Models.InvoicesListOptionalParams): Promise<Models.InvoicesListResponse>;
22
- /**
23
- * @param callback The callback
24
- */
25
- list(callback: msRest.ServiceCallback<Models.InvoicesListResult>): void;
26
- /**
27
- * @param options The optional parameters
28
- * @param callback The callback
29
- */
30
- list(options: Models.InvoicesListOptionalParams, callback: msRest.ServiceCallback<Models.InvoicesListResult>): void;
31
- /**
32
- * Gets a named invoice resource. When getting a single invoice, the downloadUrl property is
33
- * expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other
34
- * subscription types which were not purchased directly through the Azure web portal are not
35
- * supported through this preview API.
36
- * @param invoiceName The name of an invoice resource.
37
- * @param [options] The optional parameters
38
- * @returns Promise<Models.InvoicesGetResponse>
39
- */
40
- get(invoiceName: string, options?: msRest.RequestOptionsBase): Promise<Models.InvoicesGetResponse>;
41
- /**
42
- * @param invoiceName The name of an invoice resource.
43
- * @param callback The callback
44
- */
45
- get(invoiceName: string, callback: msRest.ServiceCallback<Models.Invoice>): void;
46
- /**
47
- * @param invoiceName The name of an invoice resource.
48
- * @param options The optional parameters
49
- * @param callback The callback
50
- */
51
- get(invoiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Invoice>): void;
52
- /**
53
- * Gets the most recent invoice. When getting a single invoice, the downloadUrl property is
54
- * expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other
55
- * subscription types which were not purchased directly through the Azure web portal are not
56
- * supported through this preview API.
57
- * @param [options] The optional parameters
58
- * @returns Promise<Models.InvoicesGetLatestResponse>
59
- */
60
- getLatest(options?: msRest.RequestOptionsBase): Promise<Models.InvoicesGetLatestResponse>;
61
- /**
62
- * @param callback The callback
63
- */
64
- getLatest(callback: msRest.ServiceCallback<Models.Invoice>): void;
65
- /**
66
- * @param options The optional parameters
67
- * @param callback The callback
68
- */
69
- getLatest(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Invoice>): void;
70
- /**
71
- * Lists the available invoices for a subscription in reverse chronological order beginning with
72
- * the most recent invoice. In preview, invoices are available via this API only for invoice
73
- * periods which end December 1, 2016 or later. This is only supported for Azure Web-Direct
74
- * subscriptions. Other subscription types which were not purchased directly through the Azure web
75
- * portal are not supported through this preview API.
76
- * @param nextPageLink The NextLink from the previous successful call to List operation.
77
- * @param [options] The optional parameters
78
- * @returns Promise<Models.InvoicesListNextResponse>
79
- */
80
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.InvoicesListNextResponse>;
81
- /**
82
- * @param nextPageLink The NextLink from the previous successful call to List operation.
83
- * @param callback The callback
84
- */
85
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.InvoicesListResult>): void;
86
- /**
87
- * @param nextPageLink The NextLink from the previous successful call to List operation.
88
- * @param options The optional parameters
89
- * @param callback The callback
90
- */
91
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.InvoicesListResult>): void;
92
- }
93
- //# sourceMappingURL=invoices.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoices.d.ts","sourceRoot":"","sources":["../../lib/operations/invoices.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAA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IACH,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI;IAUrG;;;;;;;;;OASG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAC;IAC7G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IACjG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;CAUtI"}
@@ -1,140 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/invoicesMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Invoices. */
14
- var Invoices = /** @class */ (function () {
15
- /**
16
- * Create a Invoices.
17
- * @param {BillingManagementClientContext} client Reference to the service client.
18
- */
19
- function Invoices(client) {
20
- this.client = client;
21
- }
22
- Invoices.prototype.list = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listOperationSpec, callback);
26
- };
27
- Invoices.prototype.get = function (invoiceName, options, callback) {
28
- return this.client.sendOperationRequest({
29
- invoiceName: invoiceName,
30
- options: options
31
- }, getOperationSpec, callback);
32
- };
33
- Invoices.prototype.getLatest = function (options, callback) {
34
- return this.client.sendOperationRequest({
35
- options: options
36
- }, getLatestOperationSpec, callback);
37
- };
38
- Invoices.prototype.listNext = function (nextPageLink, options, callback) {
39
- return this.client.sendOperationRequest({
40
- nextPageLink: nextPageLink,
41
- options: options
42
- }, listNextOperationSpec, callback);
43
- };
44
- return Invoices;
45
- }());
46
- export { Invoices };
47
- // Operation Specifications
48
- var serializer = new msRest.Serializer(Mappers);
49
- var listOperationSpec = {
50
- httpMethod: "GET",
51
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices",
52
- urlParameters: [
53
- Parameters.subscriptionId
54
- ],
55
- queryParameters: [
56
- Parameters.apiVersion,
57
- Parameters.expand,
58
- Parameters.filter,
59
- Parameters.skiptoken,
60
- Parameters.top
61
- ],
62
- headerParameters: [
63
- Parameters.acceptLanguage
64
- ],
65
- responses: {
66
- 200: {
67
- bodyMapper: Mappers.InvoicesListResult
68
- },
69
- default: {
70
- bodyMapper: Mappers.ErrorResponse
71
- }
72
- },
73
- serializer: serializer
74
- };
75
- var getOperationSpec = {
76
- httpMethod: "GET",
77
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/{invoiceName}",
78
- urlParameters: [
79
- Parameters.subscriptionId,
80
- Parameters.invoiceName
81
- ],
82
- queryParameters: [
83
- Parameters.apiVersion
84
- ],
85
- headerParameters: [
86
- Parameters.acceptLanguage
87
- ],
88
- responses: {
89
- 200: {
90
- bodyMapper: Mappers.Invoice
91
- },
92
- default: {
93
- bodyMapper: Mappers.ErrorResponse
94
- }
95
- },
96
- serializer: serializer
97
- };
98
- var getLatestOperationSpec = {
99
- httpMethod: "GET",
100
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/latest",
101
- urlParameters: [
102
- Parameters.subscriptionId
103
- ],
104
- queryParameters: [
105
- Parameters.apiVersion
106
- ],
107
- headerParameters: [
108
- Parameters.acceptLanguage
109
- ],
110
- responses: {
111
- 200: {
112
- bodyMapper: Mappers.Invoice
113
- },
114
- default: {
115
- bodyMapper: Mappers.ErrorResponse
116
- }
117
- },
118
- serializer: serializer
119
- };
120
- var listNextOperationSpec = {
121
- httpMethod: "GET",
122
- baseUrl: "https://management.azure.com",
123
- path: "{nextLink}",
124
- urlParameters: [
125
- Parameters.nextPageLink
126
- ],
127
- headerParameters: [
128
- Parameters.acceptLanguage
129
- ],
130
- responses: {
131
- 200: {
132
- bodyMapper: Mappers.InvoicesListResult
133
- },
134
- default: {
135
- bodyMapper: Mappers.ErrorResponse
136
- }
137
- },
138
- serializer: serializer
139
- };
140
- //# sourceMappingURL=invoices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"invoices.js","sourceRoot":"","sources":["../../lib/operations/invoices.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAqBD,uBAAI,GAAJ,UAAK,OAA+F,EAAE,QAA4D;QAChK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAyC,CAAC;IACtD,CAAC;IAuBD,sBAAG,GAAH,UAAI,WAAmB,EAAE,OAA4E,EAAE,QAAiD;QACtJ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAwC,CAAC;IACrD,CAAC;IAoBD,4BAAS,GAAT,UAAU,OAA4E,EAAE,QAAiD;QACvI,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,sBAAsB,EACtB,Q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;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,sBAAsB,GAAyB;IACnD,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,4EAA4E;IAClF,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,OAAO;SAC5B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,46 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { BillingManagementClientContext } from "../billingManagementClientContext";
4
- /** Class representing a Operations. */
5
- export declare class Operations {
6
- private readonly client;
7
- /**
8
- * Create a Operations.
9
- * @param {BillingManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: BillingManagementClientContext);
12
- /**
13
- * Lists all of the available billing REST API operations.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.OperationsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
27
- /**
28
- * Lists all of the available billing REST API operations.
29
- * @param nextPageLink The NextLink from the previous successful call to List operation.
30
- * @param [options] The optional parameters
31
- * @returns Promise<Models.OperationsListNextResponse>
32
- */
33
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
34
- /**
35
- * @param nextPageLink The NextLink from the previous successful call to List operation.
36
- * @param callback The callback
37
- */
38
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
39
- /**
40
- * @param nextPageLink The NextLink from the previous successful call to List operation.
41
- * @param options The optional parameters
42
- * @param callback The callback
43
- */
44
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
45
- }
46
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAU5G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC/G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAClG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAUvI"}