@azure/arm-billing 3.1.1 → 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 (473) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +69 -81
  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/{esm → dist-esm/src}/models/mappers.js +2114 -1808
  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/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  85. package/dist-esm/src/operations/index.d.ts.map +1 -0
  86. package/{esm → dist-esm/src}/operations/index.js +4 -5
  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 +65 -32
  213. package/review/arm-billing.api.md +2361 -0
  214. package/rollup.config.js +181 -30
  215. package/src/billingManagementClient.ts +144 -73
  216. package/src/index.ts +12 -0
  217. package/src/lroImpl.ts +34 -0
  218. package/src/models/index.ts +2567 -3859
  219. package/src/models/mappers.ts +2120 -1803
  220. package/src/models/parameters.ts +257 -103
  221. package/src/operations/address.ts +38 -56
  222. package/src/operations/agreements.ts +133 -118
  223. package/src/operations/availableBalances.ts +41 -56
  224. package/src/operations/billingAccounts.ts +314 -229
  225. package/src/operations/billingPeriods.ts +131 -122
  226. package/src/operations/billingPermissions.ts +468 -275
  227. package/src/operations/billingProfiles.ts +236 -165
  228. package/src/operations/billingPropertyOperations.ts +55 -94
  229. package/src/operations/billingRoleAssignments.ts +506 -453
  230. package/src/operations/billingRoleDefinitions.ts +436 -334
  231. package/src/operations/billingSubscriptions.ts +669 -487
  232. package/src/operations/customers.ts +263 -187
  233. package/src/operations/enrollmentAccounts.ts +104 -108
  234. package/src/operations/index.ts +4 -5
  235. package/src/operations/instructions.ts +182 -167
  236. package/src/operations/invoiceSections.ts +265 -167
  237. package/src/operations/invoices.ts +903 -544
  238. package/src/operations/operations.ts +87 -73
  239. package/src/operations/policies.ts +112 -188
  240. package/src/operations/products.ts +599 -501
  241. package/src/operations/reservations.ts +344 -0
  242. package/src/operations/transactions.ts +133 -81
  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 +3 -3
  266. package/types/arm-billing.d.ts +4451 -0
  267. package/types/tsdoc-metadata.json +11 -0
  268. package/dist/arm-billing.js +0 -8674
  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 -43
  273. package/esm/billingManagementClient.d.ts.map +0 -1
  274. package/esm/billingManagementClient.js +0 -57
  275. package/esm/billingManagementClient.js.map +0 -1
  276. package/esm/billingManagementClientContext.d.ts +0 -21
  277. package/esm/billingManagementClientContext.d.ts.map +0 -1
  278. package/esm/billingManagementClientContext.js +0 -60
  279. package/esm/billingManagementClientContext.js.map +0 -1
  280. package/esm/models/addressMappers.d.ts +0 -2
  281. package/esm/models/addressMappers.d.ts.map +0 -1
  282. package/esm/models/addressMappers.js +0 -9
  283. package/esm/models/addressMappers.js.map +0 -1
  284. package/esm/models/agreementsMappers.d.ts +0 -2
  285. package/esm/models/agreementsMappers.d.ts.map +0 -1
  286. package/esm/models/agreementsMappers.js +0 -9
  287. package/esm/models/agreementsMappers.js.map +0 -1
  288. package/esm/models/availableBalancesMappers.d.ts +0 -2
  289. package/esm/models/availableBalancesMappers.d.ts.map +0 -1
  290. package/esm/models/availableBalancesMappers.js +0 -9
  291. package/esm/models/availableBalancesMappers.js.map +0 -1
  292. package/esm/models/billingAccountsMappers.d.ts +0 -2
  293. package/esm/models/billingAccountsMappers.d.ts.map +0 -1
  294. package/esm/models/billingAccountsMappers.js +0 -9
  295. package/esm/models/billingAccountsMappers.js.map +0 -1
  296. package/esm/models/billingPeriodsMappers.d.ts +0 -2
  297. package/esm/models/billingPeriodsMappers.d.ts.map +0 -1
  298. package/esm/models/billingPeriodsMappers.js +0 -9
  299. package/esm/models/billingPeriodsMappers.js.map +0 -1
  300. package/esm/models/billingPermissionsMappers.d.ts +0 -2
  301. package/esm/models/billingPermissionsMappers.d.ts.map +0 -1
  302. package/esm/models/billingPermissionsMappers.js +0 -9
  303. package/esm/models/billingPermissionsMappers.js.map +0 -1
  304. package/esm/models/billingProfilesMappers.d.ts +0 -2
  305. package/esm/models/billingProfilesMappers.d.ts.map +0 -1
  306. package/esm/models/billingProfilesMappers.js +0 -9
  307. package/esm/models/billingProfilesMappers.js.map +0 -1
  308. package/esm/models/billingPropertyOperationsMappers.d.ts +0 -2
  309. package/esm/models/billingPropertyOperationsMappers.d.ts.map +0 -1
  310. package/esm/models/billingPropertyOperationsMappers.js +0 -9
  311. package/esm/models/billingPropertyOperationsMappers.js.map +0 -1
  312. package/esm/models/billingRoleAssignmentsMappers.d.ts +0 -2
  313. package/esm/models/billingRoleAssignmentsMappers.d.ts.map +0 -1
  314. package/esm/models/billingRoleAssignmentsMappers.js +0 -9
  315. package/esm/models/billingRoleAssignmentsMappers.js.map +0 -1
  316. package/esm/models/billingRoleDefinitionsMappers.d.ts +0 -2
  317. package/esm/models/billingRoleDefinitionsMappers.d.ts.map +0 -1
  318. package/esm/models/billingRoleDefinitionsMappers.js +0 -9
  319. package/esm/models/billingRoleDefinitionsMappers.js.map +0 -1
  320. package/esm/models/billingSubscriptionsMappers.d.ts +0 -2
  321. package/esm/models/billingSubscriptionsMappers.d.ts.map +0 -1
  322. package/esm/models/billingSubscriptionsMappers.js +0 -9
  323. package/esm/models/billingSubscriptionsMappers.js.map +0 -1
  324. package/esm/models/customersMappers.d.ts +0 -2
  325. package/esm/models/customersMappers.d.ts.map +0 -1
  326. package/esm/models/customersMappers.js +0 -9
  327. package/esm/models/customersMappers.js.map +0 -1
  328. package/esm/models/enrollmentAccountsMappers.d.ts +0 -2
  329. package/esm/models/enrollmentAccountsMappers.d.ts.map +0 -1
  330. package/esm/models/enrollmentAccountsMappers.js +0 -9
  331. package/esm/models/enrollmentAccountsMappers.js.map +0 -1
  332. package/esm/models/index.d.ts +0 -4587
  333. package/esm/models/index.d.ts.map +0 -1
  334. package/esm/models/index.js +0 -8
  335. package/esm/models/index.js.map +0 -1
  336. package/esm/models/instructionsMappers.d.ts +0 -2
  337. package/esm/models/instructionsMappers.d.ts.map +0 -1
  338. package/esm/models/instructionsMappers.js +0 -9
  339. package/esm/models/instructionsMappers.js.map +0 -1
  340. package/esm/models/invoiceSectionsMappers.d.ts +0 -2
  341. package/esm/models/invoiceSectionsMappers.d.ts.map +0 -1
  342. package/esm/models/invoiceSectionsMappers.js +0 -9
  343. package/esm/models/invoiceSectionsMappers.js.map +0 -1
  344. package/esm/models/invoicesMappers.d.ts +0 -2
  345. package/esm/models/invoicesMappers.d.ts.map +0 -1
  346. package/esm/models/invoicesMappers.js +0 -9
  347. package/esm/models/invoicesMappers.js.map +0 -1
  348. package/esm/models/mappers.d.ts +0 -82
  349. package/esm/models/mappers.d.ts.map +0 -1
  350. package/esm/models/mappers.js.map +0 -1
  351. package/esm/models/operationsMappers.d.ts +0 -2
  352. package/esm/models/operationsMappers.d.ts.map +0 -1
  353. package/esm/models/operationsMappers.js +0 -9
  354. package/esm/models/operationsMappers.js.map +0 -1
  355. package/esm/models/parameters.d.ts +0 -27
  356. package/esm/models/parameters.d.ts.map +0 -1
  357. package/esm/models/parameters.js +0 -279
  358. package/esm/models/parameters.js.map +0 -1
  359. package/esm/models/policiesMappers.d.ts +0 -2
  360. package/esm/models/policiesMappers.d.ts.map +0 -1
  361. package/esm/models/policiesMappers.js +0 -9
  362. package/esm/models/policiesMappers.js.map +0 -1
  363. package/esm/models/productsMappers.d.ts +0 -2
  364. package/esm/models/productsMappers.d.ts.map +0 -1
  365. package/esm/models/productsMappers.js +0 -9
  366. package/esm/models/productsMappers.js.map +0 -1
  367. package/esm/models/transactionsMappers.d.ts +0 -2
  368. package/esm/models/transactionsMappers.d.ts.map +0 -1
  369. package/esm/models/transactionsMappers.js +0 -9
  370. package/esm/models/transactionsMappers.js.map +0 -1
  371. package/esm/operations/address.d.ts +0 -32
  372. package/esm/operations/address.d.ts.map +0 -1
  373. package/esm/operations/address.js +0 -57
  374. package/esm/operations/address.js.map +0 -1
  375. package/esm/operations/agreements.d.ts +0 -70
  376. package/esm/operations/agreements.d.ts.map +0 -1
  377. package/esm/operations/agreements.js +0 -113
  378. package/esm/operations/agreements.js.map +0 -1
  379. package/esm/operations/availableBalances.d.ts +0 -36
  380. package/esm/operations/availableBalances.d.ts.map +0 -1
  381. package/esm/operations/availableBalances.js +0 -57
  382. package/esm/operations/availableBalances.js.map +0 -1
  383. package/esm/operations/billingAccounts.d.ts +0 -127
  384. package/esm/operations/billingAccounts.d.ts.map +0 -1
  385. package/esm/operations/billingAccounts.js +0 -218
  386. package/esm/operations/billingAccounts.js.map +0 -1
  387. package/esm/operations/billingPeriods.d.ts +0 -70
  388. package/esm/operations/billingPeriods.d.ts.map +0 -1
  389. package/esm/operations/billingPeriods.js +0 -112
  390. package/esm/operations/billingPeriods.js.map +0 -1
  391. package/esm/operations/billingPermissions.d.ts +0 -169
  392. package/esm/operations/billingPermissions.d.ts.map +0 -1
  393. package/esm/operations/billingPermissions.js +0 -251
  394. package/esm/operations/billingPermissions.js.map +0 -1
  395. package/esm/operations/billingProfiles.d.ts +0 -94
  396. package/esm/operations/billingProfiles.d.ts.map +0 -1
  397. package/esm/operations/billingProfiles.js +0 -176
  398. package/esm/operations/billingProfiles.js.map +0 -1
  399. package/esm/operations/billingPropertyOperations.d.ts +0 -46
  400. package/esm/operations/billingPropertyOperations.d.ts.map +0 -1
  401. package/esm/operations/billingPropertyOperations.js +0 -91
  402. package/esm/operations/billingPropertyOperations.js.map +0 -1
  403. package/esm/operations/billingRoleAssignments.d.ts +0 -292
  404. package/esm/operations/billingRoleAssignments.d.ts.map +0 -1
  405. package/esm/operations/billingRoleAssignments.js +0 -387
  406. package/esm/operations/billingRoleAssignments.js.map +0 -1
  407. package/esm/operations/billingRoleDefinitions.d.ts +0 -211
  408. package/esm/operations/billingRoleDefinitions.d.ts.map +0 -1
  409. package/esm/operations/billingRoleDefinitions.js +0 -291
  410. package/esm/operations/billingRoleDefinitions.js.map +0 -1
  411. package/esm/operations/billingSubscriptions.d.ts +0 -267
  412. package/esm/operations/billingSubscriptions.d.ts.map +0 -1
  413. package/esm/operations/billingSubscriptions.js +0 -414
  414. package/esm/operations/billingSubscriptions.js.map +0 -1
  415. package/esm/operations/customers.d.ts +0 -114
  416. package/esm/operations/customers.d.ts.map +0 -1
  417. package/esm/operations/customers.js +0 -172
  418. package/esm/operations/customers.js.map +0 -1
  419. package/esm/operations/enrollmentAccounts.d.ts +0 -64
  420. package/esm/operations/enrollmentAccounts.d.ts.map +0 -1
  421. package/esm/operations/enrollmentAccounts.js +0 -105
  422. package/esm/operations/enrollmentAccounts.js.map +0 -1
  423. package/esm/operations/index.d.ts.map +0 -1
  424. package/esm/operations/index.js.map +0 -1
  425. package/esm/operations/instructions.d.ts +0 -105
  426. package/esm/operations/instructions.d.ts.map +0 -1
  427. package/esm/operations/instructions.js +0 -153
  428. package/esm/operations/instructions.js.map +0 -1
  429. package/esm/operations/invoiceSections.d.ts +0 -102
  430. package/esm/operations/invoiceSections.d.ts.map +0 -1
  431. package/esm/operations/invoiceSections.js +0 -182
  432. package/esm/operations/invoiceSections.js.map +0 -1
  433. package/esm/operations/invoices.d.ts +0 -291
  434. package/esm/operations/invoices.d.ts.map +0 -1
  435. package/esm/operations/invoices.js +0 -539
  436. package/esm/operations/invoices.js.map +0 -1
  437. package/esm/operations/operations.d.ts +0 -46
  438. package/esm/operations/operations.d.ts.map +0 -1
  439. package/esm/operations/operations.js +0 -77
  440. package/esm/operations/operations.js.map +0 -1
  441. package/esm/operations/policies.d.ts +0 -104
  442. package/esm/operations/policies.d.ts.map +0 -1
  443. package/esm/operations/policies.js +0 -162
  444. package/esm/operations/policies.js.map +0 -1
  445. package/esm/operations/products.d.ts +0 -279
  446. package/esm/operations/products.d.ts.map +0 -1
  447. package/esm/operations/products.js +0 -403
  448. package/esm/operations/products.js.map +0 -1
  449. package/esm/operations/transactions.d.ts +0 -54
  450. package/esm/operations/transactions.d.ts.map +0 -1
  451. package/esm/operations/transactions.js +0 -83
  452. package/esm/operations/transactions.js.map +0 -1
  453. package/src/billingManagementClientContext.ts +0 -66
  454. package/src/models/addressMappers.ts +0 -15
  455. package/src/models/agreementsMappers.ts +0 -50
  456. package/src/models/availableBalancesMappers.ts +0 -49
  457. package/src/models/billingAccountsMappers.ts +0 -53
  458. package/src/models/billingPeriodsMappers.ts +0 -50
  459. package/src/models/billingPermissionsMappers.ts +0 -15
  460. package/src/models/billingProfilesMappers.ts +0 -51
  461. package/src/models/billingPropertyOperationsMappers.ts +0 -49
  462. package/src/models/billingRoleAssignmentsMappers.ts +0 -50
  463. package/src/models/billingRoleDefinitionsMappers.ts +0 -50
  464. package/src/models/billingSubscriptionsMappers.ts +0 -54
  465. package/src/models/customersMappers.ts +0 -50
  466. package/src/models/enrollmentAccountsMappers.ts +0 -50
  467. package/src/models/instructionsMappers.ts +0 -50
  468. package/src/models/invoiceSectionsMappers.ts +0 -51
  469. package/src/models/invoicesMappers.ts +0 -55
  470. package/src/models/operationsMappers.ts +0 -16
  471. package/src/models/policiesMappers.ts +0 -49
  472. package/src/models/productsMappers.ts +0 -54
  473. package/src/models/transactionsMappers.ts +0 -50
@@ -1,36 +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 AvailableBalances. */
5
- export declare class AvailableBalances {
6
- private readonly client;
7
- /**
8
- * Create a AvailableBalances.
9
- * @param {BillingManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: BillingManagementClientContext);
12
- /**
13
- * The available credit balance for a billing profile. This is the balance that can be used for pay
14
- * now to settle due or past due invoices. The operation is supported only for billing accounts
15
- * with agreement type Microsoft Customer Agreement.
16
- * @param billingAccountName The ID that uniquely identifies a billing account.
17
- * @param billingProfileName The ID that uniquely identifies a billing profile.
18
- * @param [options] The optional parameters
19
- * @returns Promise<Models.AvailableBalancesGetResponse>
20
- */
21
- get(billingAccountName: string, billingProfileName: string, options?: msRest.RequestOptionsBase): Promise<Models.AvailableBalancesGetResponse>;
22
- /**
23
- * @param billingAccountName The ID that uniquely identifies a billing account.
24
- * @param billingProfileName The ID that uniquely identifies a billing profile.
25
- * @param callback The callback
26
- */
27
- get(billingAccountName: string, billingProfileName: string, callback: msRest.ServiceCallback<Models.AvailableBalance>): void;
28
- /**
29
- * @param billingAccountName The ID that uniquely identifies a billing account.
30
- * @param billingProfileName The ID that uniquely identifies a billing profile.
31
- * @param options The optional parameters
32
- * @param callback The callback
33
- */
34
- get(billingAccountName: string, billingProfileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AvailableBalance>): void;
35
- }
36
- //# sourceMappingURL=availableBalances.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availableBalances.d.ts","sourceRoot":"","sources":["../../src/operations/availableBalances.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,8CAA8C;AAC9C,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;OAQG;IACH,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,4BAA4B,CAAC;IAC9I;;;;OAIG;IACH,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAI;IAC5H;;;;;OAKG;IACH,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAI;CAWjK"}
@@ -1,57 +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/availableBalancesMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a AvailableBalances. */
14
- var AvailableBalances = /** @class */ (function () {
15
- /**
16
- * Create a AvailableBalances.
17
- * @param {BillingManagementClientContext} client Reference to the service client.
18
- */
19
- function AvailableBalances(client) {
20
- this.client = client;
21
- }
22
- AvailableBalances.prototype.get = function (billingAccountName, billingProfileName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- billingAccountName: billingAccountName,
25
- billingProfileName: billingProfileName,
26
- options: options
27
- }, getOperationSpec, callback);
28
- };
29
- return AvailableBalances;
30
- }());
31
- export { AvailableBalances };
32
- // Operation Specifications
33
- var serializer = new msRest.Serializer(Mappers);
34
- var getOperationSpec = {
35
- httpMethod: "GET",
36
- path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/availableBalance/default",
37
- urlParameters: [
38
- Parameters.billingAccountName,
39
- Parameters.billingProfileName
40
- ],
41
- queryParameters: [
42
- Parameters.apiVersion0
43
- ],
44
- headerParameters: [
45
- Parameters.acceptLanguage
46
- ],
47
- responses: {
48
- 200: {
49
- bodyMapper: Mappers.AvailableBalance
50
- },
51
- default: {
52
- bodyMapper: Mappers.ErrorResponse
53
- }
54
- },
55
- serializer: serializer
56
- };
57
- //# sourceMappingURL=availableBalances.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availableBalances.js","sourceRoot":"","sources":["../../src/operations/availableBalances.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,oCAAoC,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,8CAA8C;AAC9C;IAGE;;;OAGG;IACH,2BAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAyBD,+BAAG,GAAH,UAAI,kBAA0B,EAAE,kBAA0B,EAAE,OAAqF,EAAE,QAA0D;QAC3M,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,kBAAkB,oBAAA;YAClB,kBAAkB,oBAAA;YAClB,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAAiD,CAAC;IAC9D,CAAC;IACH,wBAAC;AAAD,CAAC,AA5CD,IA4CC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,gBAAgB,GAAyB;IAC7C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,gIAAgI;IACtI,aAAa,EAAE;QACb,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,kBAAkB;KAC9B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,127 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { BillingManagementClientContext } from "../billingManagementClientContext";
5
- /** Class representing a BillingAccounts. */
6
- export declare class BillingAccounts {
7
- private readonly client;
8
- /**
9
- * Create a BillingAccounts.
10
- * @param {BillingManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: BillingManagementClientContext);
13
- /**
14
- * Lists the billing accounts that a user has access to.
15
- * @param [options] The optional parameters
16
- * @returns Promise<Models.BillingAccountsListResponse>
17
- */
18
- list(options?: Models.BillingAccountsListOptionalParams): Promise<Models.BillingAccountsListResponse>;
19
- /**
20
- * @param callback The callback
21
- */
22
- list(callback: msRest.ServiceCallback<Models.BillingAccountListResult>): void;
23
- /**
24
- * @param options The optional parameters
25
- * @param callback The callback
26
- */
27
- list(options: Models.BillingAccountsListOptionalParams, callback: msRest.ServiceCallback<Models.BillingAccountListResult>): void;
28
- /**
29
- * Gets a billing account by its ID.
30
- * @param billingAccountName The ID that uniquely identifies a billing account.
31
- * @param [options] The optional parameters
32
- * @returns Promise<Models.BillingAccountsGetResponse>
33
- */
34
- get(billingAccountName: string, options?: Models.BillingAccountsGetOptionalParams): Promise<Models.BillingAccountsGetResponse>;
35
- /**
36
- * @param billingAccountName The ID that uniquely identifies a billing account.
37
- * @param callback The callback
38
- */
39
- get(billingAccountName: string, callback: msRest.ServiceCallback<Models.BillingAccount>): void;
40
- /**
41
- * @param billingAccountName The ID that uniquely identifies a billing account.
42
- * @param options The optional parameters
43
- * @param callback The callback
44
- */
45
- get(billingAccountName: string, options: Models.BillingAccountsGetOptionalParams, callback: msRest.ServiceCallback<Models.BillingAccount>): void;
46
- /**
47
- * Updates the properties of a billing account. Currently, displayName and address can be updated.
48
- * The operation is supported only for billing accounts with agreement type Microsoft Customer
49
- * Agreement.
50
- * @param billingAccountName The ID that uniquely identifies a billing account.
51
- * @param parameters Request parameters that are provided to the update billing account operation.
52
- * @param [options] The optional parameters
53
- * @returns Promise<Models.BillingAccountsUpdateResponse>
54
- */
55
- update(billingAccountName: string, parameters: Models.BillingAccountUpdateRequest, options?: msRest.RequestOptionsBase): Promise<Models.BillingAccountsUpdateResponse>;
56
- /**
57
- * Lists the invoice sections for which the user has permission to create Azure subscriptions. The
58
- * operation is supported only for billing accounts with agreement type Microsoft Customer
59
- * Agreement.
60
- * @param billingAccountName The ID that uniquely identifies a billing account.
61
- * @param [options] The optional parameters
62
- * @returns
63
- * Promise<Models.BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionResponse>
64
- */
65
- listInvoiceSectionsByCreateSubscriptionPermission(billingAccountName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionResponse>;
66
- /**
67
- * @param billingAccountName The ID that uniquely identifies a billing account.
68
- * @param callback The callback
69
- */
70
- listInvoiceSectionsByCreateSubscriptionPermission(billingAccountName: string, callback: msRest.ServiceCallback<Models.InvoiceSectionListWithCreateSubPermissionResult>): void;
71
- /**
72
- * @param billingAccountName The ID that uniquely identifies a billing account.
73
- * @param options The optional parameters
74
- * @param callback The callback
75
- */
76
- listInvoiceSectionsByCreateSubscriptionPermission(billingAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.InvoiceSectionListWithCreateSubPermissionResult>): void;
77
- /**
78
- * Updates the properties of a billing account. Currently, displayName and address can be updated.
79
- * The operation is supported only for billing accounts with agreement type Microsoft Customer
80
- * Agreement.
81
- * @param billingAccountName The ID that uniquely identifies a billing account.
82
- * @param parameters Request parameters that are provided to the update billing account operation.
83
- * @param [options] The optional parameters
84
- * @returns Promise<msRestAzure.LROPoller>
85
- */
86
- beginUpdate(billingAccountName: string, parameters: Models.BillingAccountUpdateRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
87
- /**
88
- * Lists the billing accounts that a user has access to.
89
- * @param nextPageLink The NextLink from the previous successful call to List operation.
90
- * @param [options] The optional parameters
91
- * @returns Promise<Models.BillingAccountsListNextResponse>
92
- */
93
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingAccountsListNextResponse>;
94
- /**
95
- * @param nextPageLink The NextLink from the previous successful call to List operation.
96
- * @param callback The callback
97
- */
98
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BillingAccountListResult>): void;
99
- /**
100
- * @param nextPageLink The NextLink from the previous successful call to List operation.
101
- * @param options The optional parameters
102
- * @param callback The callback
103
- */
104
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingAccountListResult>): void;
105
- /**
106
- * Lists the invoice sections for which the user has permission to create Azure subscriptions. The
107
- * operation is supported only for billing accounts with agreement type Microsoft Customer
108
- * Agreement.
109
- * @param nextPageLink The NextLink from the previous successful call to List operation.
110
- * @param [options] The optional parameters
111
- * @returns
112
- * Promise<Models.BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionNextResponse>
113
- */
114
- listInvoiceSectionsByCreateSubscriptionPermissionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingAccountsListInvoiceSectionsByCreateSubscriptionPermissionNextResponse>;
115
- /**
116
- * @param nextPageLink The NextLink from the previous successful call to List operation.
117
- * @param callback The callback
118
- */
119
- listInvoiceSectionsByCreateSubscriptionPermissionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.InvoiceSectionListWithCreateSubPermissionResult>): void;
120
- /**
121
- * @param nextPageLink The NextLink from the previous successful call to List operation.
122
- * @param options The optional parameters
123
- * @param callback The callback
124
- */
125
- listInvoiceSectionsByCreateSubscriptionPermissionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.InvoiceSectionListWithCreateSubPermissionResult>): void;
126
- }
127
- //# sourceMappingURL=billingAccounts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"billingAccounts.d.ts","sourceRoot":"","sources":["../../src/operations/billingAccounts.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,4CAA4C;AAC5C,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,iCAAiC,GAAG,OAAO,CAAC,MAAM,CAAC,2BAA2B,CAAC;IACrG;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,wBAAwB,CAAC,GAAG,IAAI;IAC7E;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,iCAAiC,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,wBAAwB,CAAC,GAAG,IAAI;IAUhI;;;;;OAKG;IACH,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,gCAAgC,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IAC9H;;;OAGG;IACH,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI;IAC9F;;;;OAIG;IACH,GAAG,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,gCAAgC,EAAE,QAAQ,EAAE,M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O,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,wBAAwB,CAAC,GAAG,IAAI;IAW3I;;;;;;;;OAQG;IACH,qDAAqD,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,4EAA4E,CAAC;IAC9M;;;OAGG;IACH,qDAAqD,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,+CAA+C,CAAC,GAAG,IAAI;IAC3K;;;;OAIG;IACH,qDAAqD,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,+CAA+C,CAAC,GAAG,IAAI;CAUhN"}
@@ -1,218 +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 { __assign } from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/billingAccountsMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a BillingAccounts. */
15
- var BillingAccounts = /** @class */ (function () {
16
- /**
17
- * Create a BillingAccounts.
18
- * @param {BillingManagementClientContext} client Reference to the service client.
19
- */
20
- function BillingAccounts(client) {
21
- this.client = client;
22
- }
23
- BillingAccounts.prototype.list = function (options, callback) {
24
- return this.client.sendOperationRequest({
25
- options: options
26
- }, listOperationSpec, callback);
27
- };
28
- BillingAccounts.prototype.get = function (billingAccountName, options, callback) {
29
- return this.client.sendOperationRequest({
30
- billingAccountName: billingAccountName,
31
- options: options
32
- }, getOperationSpec, callback);
33
- };
34
- /**
35
- * Updates the properties of a billing account. Currently, displayName and address can be updated.
36
- * The operation is supported only for billing accounts with agreement type Microsoft Customer
37
- * Agreement.
38
- * @param billingAccountName The ID that uniquely identifies a billing account.
39
- * @param parameters Request parameters that are provided to the update billing account operation.
40
- * @param [options] The optional parameters
41
- * @returns Promise<Models.BillingAccountsUpdateResponse>
42
- */
43
- BillingAccounts.prototype.update = function (billingAccountName, parameters, options) {
44
- return this.beginUpdate(billingAccountName, parameters, options)
45
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
46
- };
47
- BillingAccounts.prototype.listInvoiceSectionsByCreateSubscriptionPermission = function (billingAccountName, options, callback) {
48
- return this.client.sendOperationRequest({
49
- billingAccountName: billingAccountName,
50
- options: options
51
- }, listInvoiceSectionsByCreateSubscriptionPermissionOperationSpec, callback);
52
- };
53
- /**
54
- * Updates the properties of a billing account. Currently, displayName and address can be updated.
55
- * The operation is supported only for billing accounts with agreement type Microsoft Customer
56
- * Agreement.
57
- * @param billingAccountName The ID that uniquely identifies a billing account.
58
- * @param parameters Request parameters that are provided to the update billing account operation.
59
- * @param [options] The optional parameters
60
- * @returns Promise<msRestAzure.LROPoller>
61
- */
62
- BillingAccounts.prototype.beginUpdate = function (billingAccountName, parameters, options) {
63
- return this.client.sendLRORequest({
64
- billingAccountName: billingAccountName,
65
- parameters: parameters,
66
- options: options
67
- }, beginUpdateOperationSpec, options);
68
- };
69
- BillingAccounts.prototype.listNext = function (nextPageLink, options, callback) {
70
- return this.client.sendOperationRequest({
71
- nextPageLink: nextPageLink,
72
- options: options
73
- }, listNextOperationSpec, callback);
74
- };
75
- BillingAccounts.prototype.listInvoiceSectionsByCreateSubscriptionPermissionNext = function (nextPageLink, options, callback) {
76
- return this.client.sendOperationRequest({
77
- nextPageLink: nextPageLink,
78
- options: options
79
- }, listInvoiceSectionsByCreateSubscriptionPermissionNextOperationSpec, callback);
80
- };
81
- return BillingAccounts;
82
- }());
83
- export { BillingAccounts };
84
- // Operation Specifications
85
- var serializer = new msRest.Serializer(Mappers);
86
- var listOperationSpec = {
87
- httpMethod: "GET",
88
- path: "providers/Microsoft.Billing/billingAccounts",
89
- queryParameters: [
90
- Parameters.apiVersion0,
91
- Parameters.expand
92
- ],
93
- headerParameters: [
94
- Parameters.acceptLanguage
95
- ],
96
- responses: {
97
- 200: {
98
- bodyMapper: Mappers.BillingAccountListResult
99
- },
100
- default: {
101
- bodyMapper: Mappers.ErrorResponse
102
- }
103
- },
104
- serializer: serializer
105
- };
106
- var getOperationSpec = {
107
- httpMethod: "GET",
108
- path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}",
109
- urlParameters: [
110
- Parameters.billingAccountName
111
- ],
112
- queryParameters: [
113
- Parameters.apiVersion0,
114
- Parameters.expand
115
- ],
116
- headerParameters: [
117
- Parameters.acceptLanguage
118
- ],
119
- responses: {
120
- 200: {
121
- bodyMapper: Mappers.BillingAccount
122
- },
123
- default: {
124
- bodyMapper: Mappers.ErrorResponse
125
- }
126
- },
127
- serializer: serializer
128
- };
129
- var listInvoiceSectionsByCreateSubscriptionPermissionOperationSpec = {
130
- httpMethod: "POST",
131
- path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/listInvoiceSectionsWithCreateSubscriptionPermission",
132
- urlParameters: [
133
- Parameters.billingAccountName
134
- ],
135
- queryParameters: [
136
- Parameters.apiVersion0
137
- ],
138
- headerParameters: [
139
- Parameters.acceptLanguage
140
- ],
141
- responses: {
142
- 200: {
143
- bodyMapper: Mappers.InvoiceSectionListWithCreateSubPermissionResult
144
- },
145
- default: {
146
- bodyMapper: Mappers.ErrorResponse
147
- }
148
- },
149
- serializer: serializer
150
- };
151
- var beginUpdateOperationSpec = {
152
- httpMethod: "PATCH",
153
- path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}",
154
- urlParameters: [
155
- Parameters.billingAccountName
156
- ],
157
- queryParameters: [
158
- Parameters.apiVersion0
159
- ],
160
- headerParameters: [
161
- Parameters.acceptLanguage
162
- ],
163
- requestBody: {
164
- parameterPath: "parameters",
165
- mapper: __assign(__assign({}, Mappers.BillingAccountUpdateRequest), { required: true })
166
- },
167
- responses: {
168
- 200: {
169
- bodyMapper: Mappers.BillingAccount
170
- },
171
- 202: {},
172
- default: {
173
- bodyMapper: Mappers.ErrorResponse
174
- }
175
- },
176
- serializer: serializer
177
- };
178
- var listNextOperationSpec = {
179
- httpMethod: "GET",
180
- baseUrl: "https://management.azure.com",
181
- path: "{nextLink}",
182
- urlParameters: [
183
- Parameters.nextPageLink
184
- ],
185
- headerParameters: [
186
- Parameters.acceptLanguage
187
- ],
188
- responses: {
189
- 200: {
190
- bodyMapper: Mappers.BillingAccountListResult
191
- },
192
- default: {
193
- bodyMapper: Mappers.ErrorResponse
194
- }
195
- },
196
- serializer: serializer
197
- };
198
- var listInvoiceSectionsByCreateSubscriptionPermissionNextOperationSpec = {
199
- httpMethod: "POST",
200
- baseUrl: "https://management.azure.com",
201
- path: "{nextLink}",
202
- urlParameters: [
203
- Parameters.nextPageLink
204
- ],
205
- headerParameters: [
206
- Parameters.acceptLanguage
207
- ],
208
- responses: {
209
- 200: {
210
- bodyMapper: Mappers.InvoiceSectionListWithCreateSubPermissionResult
211
- },
212
- default: {
213
- bodyMapper: Mappers.ErrorResponse
214
- }
215
- },
216
- serializer: serializer
217
- };
218
- //# sourceMappingURL=billingAccounts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"billingAccounts.js","sourceRoot":"","sources":["../../src/operations/billingAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,kCAAkC,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,4CAA4C;AAC5C;IAGE;;;OAGG;IACH,yBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,8BAAI,GAAJ,U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AAkE,GAAyB;IAC/F,UAAU,EAAE,MAAM;IAClB,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,+CAA+C;SACpE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,70 +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 BillingPeriods. */
5
- export declare class BillingPeriods {
6
- private readonly client;
7
- /**
8
- * Create a BillingPeriods.
9
- * @param {BillingManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: BillingManagementClientContext);
12
- /**
13
- * Lists the available billing periods for a subscription in reverse chronological order. This is
14
- * only supported for Azure Web-Direct subscriptions. Other subscription types which were not
15
- * purchased directly through the Azure web portal are not supported through this preview API.
16
- * @param [options] The optional parameters
17
- * @returns Promise<Models.BillingPeriodsListResponse>
18
- */
19
- list(options?: Models.BillingPeriodsListOptionalParams): Promise<Models.BillingPeriodsListResponse>;
20
- /**
21
- * @param callback The callback
22
- */
23
- list(callback: msRest.ServiceCallback<Models.BillingPeriodsListResult>): void;
24
- /**
25
- * @param options The optional parameters
26
- * @param callback The callback
27
- */
28
- list(options: Models.BillingPeriodsListOptionalParams, callback: msRest.ServiceCallback<Models.BillingPeriodsListResult>): void;
29
- /**
30
- * Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other
31
- * subscription types which were not purchased directly through the Azure web portal are not
32
- * supported through this preview API.
33
- * @param billingPeriodName The name of a BillingPeriod resource.
34
- * @param [options] The optional parameters
35
- * @returns Promise<Models.BillingPeriodsGetResponse>
36
- */
37
- get(billingPeriodName: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingPeriodsGetResponse>;
38
- /**
39
- * @param billingPeriodName The name of a BillingPeriod resource.
40
- * @param callback The callback
41
- */
42
- get(billingPeriodName: string, callback: msRest.ServiceCallback<Models.BillingPeriod>): void;
43
- /**
44
- * @param billingPeriodName The name of a BillingPeriod resource.
45
- * @param options The optional parameters
46
- * @param callback The callback
47
- */
48
- get(billingPeriodName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingPeriod>): void;
49
- /**
50
- * Lists the available billing periods for a subscription in reverse chronological order. This is
51
- * only supported for Azure Web-Direct subscriptions. Other subscription types which were not
52
- * purchased directly through the Azure web portal are not supported through this preview API.
53
- * @param nextPageLink The NextLink from the previous successful call to List operation.
54
- * @param [options] The optional parameters
55
- * @returns Promise<Models.BillingPeriodsListNextResponse>
56
- */
57
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.BillingPeriodsListNextResponse>;
58
- /**
59
- * @param nextPageLink The NextLink from the previous successful call to List operation.
60
- * @param callback The callback
61
- */
62
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.BillingPeriodsListResult>): void;
63
- /**
64
- * @param nextPageLink The NextLink from the previous successful call to List operation.
65
- * @param options The optional parameters
66
- * @param callback The callback
67
- */
68
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BillingPeriodsListResult>): void;
69
- }
70
- //# sourceMappingURL=billingPeriods.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"billingPeriods.d.ts","sourceRoot":"","sources":["../../src/operations/billingPeriods.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,2CAA2C;AAC3C,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,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AAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,wBAAwB,CAAC,GAAG,IAAI;CAU5I"}
@@ -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.apiVersion1,
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.apiVersion1
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":["../../src/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;QAClL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAA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