@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.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -81
- package/dist/index.js +10450 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/billingManagementClient.d.ts +37 -0
- package/dist-esm/src/billingManagementClient.d.ts.map +1 -0
- package/dist-esm/src/billingManagementClient.js +70 -0
- package/dist-esm/src/billingManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +3244 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +272 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +86 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +2114 -1808
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +45 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +374 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/address.d.ts +20 -0
- package/dist-esm/src/operations/address.d.ts.map +1 -0
- package/dist-esm/src/operations/address.js +50 -0
- package/dist-esm/src/operations/address.js.map +1 -0
- package/dist-esm/src/operations/agreements.d.ts +42 -0
- package/dist-esm/src/operations/agreements.d.ts.map +1 -0
- package/dist-esm/src/operations/agreements.js +156 -0
- package/dist-esm/src/operations/agreements.js.map +1 -0
- package/dist-esm/src/operations/availableBalances.d.ts +22 -0
- package/dist-esm/src/operations/availableBalances.d.ts.map +1 -0
- package/dist-esm/src/operations/availableBalances.js +54 -0
- package/dist-esm/src/operations/availableBalances.js.map +1 -0
- package/dist-esm/src/operations/billingAccounts.d.ts +79 -0
- package/dist-esm/src/operations/billingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/billingAccounts.js +330 -0
- package/dist-esm/src/operations/billingAccounts.js.map +1 -0
- package/dist-esm/src/operations/billingPeriods.d.ts +44 -0
- package/dist-esm/src/operations/billingPeriods.d.ts.map +1 -0
- package/dist-esm/src/operations/billingPeriods.js +168 -0
- package/dist-esm/src/operations/billingPeriods.js.map +1 -0
- package/dist-esm/src/operations/billingPermissions.d.ts +110 -0
- package/dist-esm/src/operations/billingPermissions.d.ts.map +1 -0
- package/dist-esm/src/operations/billingPermissions.js +468 -0
- package/dist-esm/src/operations/billingPermissions.js.map +1 -0
- package/dist-esm/src/operations/billingProfiles.d.ts +64 -0
- package/dist-esm/src/operations/billingProfiles.d.ts.map +1 -0
- package/dist-esm/src/operations/billingProfiles.js +245 -0
- package/dist-esm/src/operations/billingProfiles.js.map +1 -0
- package/dist-esm/src/operations/billingPropertyOperations.d.ts +26 -0
- package/dist-esm/src/operations/billingPropertyOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/billingPropertyOperations.js +74 -0
- package/dist-esm/src/operations/billingPropertyOperations.js.map +1 -0
- package/dist-esm/src/operations/billingRoleAssignments.d.ts +146 -0
- package/dist-esm/src/operations/billingRoleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/billingRoleAssignments.js +578 -0
- package/dist-esm/src/operations/billingRoleAssignments.js.map +1 -0
- package/dist-esm/src/operations/billingRoleDefinitions.d.ts +119 -0
- package/dist-esm/src/operations/billingRoleDefinitions.d.ts.map +1 -0
- package/dist-esm/src/operations/billingRoleDefinitions.js +471 -0
- package/dist-esm/src/operations/billingRoleDefinitions.js.map +1 -0
- package/dist-esm/src/operations/billingSubscriptions.d.ts +160 -0
- package/dist-esm/src/operations/billingSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/billingSubscriptions.js +655 -0
- package/dist-esm/src/operations/billingSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/customers.d.ts +71 -0
- package/dist-esm/src/operations/customers.d.ts.map +1 -0
- package/dist-esm/src/operations/customers.js +287 -0
- package/dist-esm/src/operations/customers.js.map +1 -0
- package/dist-esm/src/operations/enrollmentAccounts.d.ts +38 -0
- package/dist-esm/src/operations/enrollmentAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/enrollmentAccounts.js +144 -0
- package/dist-esm/src/operations/enrollmentAccounts.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/instructions.d.ts +57 -0
- package/dist-esm/src/operations/instructions.d.ts.map +1 -0
- package/dist-esm/src/operations/instructions.js +208 -0
- package/dist-esm/src/operations/instructions.js.map +1 -0
- package/dist-esm/src/operations/invoiceSections.d.ts +70 -0
- package/dist-esm/src/operations/invoiceSections.d.ts.map +1 -0
- package/dist-esm/src/operations/invoiceSections.js +264 -0
- package/dist-esm/src/operations/invoiceSections.js.map +1 -0
- package/dist-esm/src/operations/invoices.d.ts +202 -0
- package/dist-esm/src/operations/invoices.d.ts.map +1 -0
- package/dist-esm/src/operations/invoices.js +817 -0
- package/dist-esm/src/operations/invoices.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/policies.d.ts +47 -0
- package/dist-esm/src/operations/policies.d.ts.map +1 -0
- package/dist-esm/src/operations/policies.js +149 -0
- package/dist-esm/src/operations/policies.js.map +1 -0
- package/dist-esm/src/operations/products.d.ts +160 -0
- package/dist-esm/src/operations/products.d.ts.map +1 -0
- package/dist-esm/src/operations/products.js +615 -0
- package/dist-esm/src/operations/products.js.map +1 -0
- package/dist-esm/src/operations/reservations.d.ts +63 -0
- package/dist-esm/src/operations/reservations.d.ts.map +1 -0
- package/dist-esm/src/operations/reservations.js +265 -0
- package/dist-esm/src/operations/reservations.js.map +1 -0
- package/dist-esm/src/operations/transactions.d.ts +40 -0
- package/dist-esm/src/operations/transactions.d.ts.map +1 -0
- package/dist-esm/src/operations/transactions.js +137 -0
- package/dist-esm/src/operations/transactions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/address.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/address.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/address.js +9 -0
- package/dist-esm/src/operationsInterfaces/address.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/agreements.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/agreements.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/agreements.js +9 -0
- package/dist-esm/src/operationsInterfaces/agreements.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.js +9 -0
- package/dist-esm/src/operationsInterfaces/availableBalances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingPeriods.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts +34 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingPermissions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingProfiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingPropertyOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts +84 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingRoleAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts +57 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingRoleDefinitions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts +80 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/billingSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customers.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/customers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customers.js +9 -0
- package/dist-esm/src/operationsInterfaces/customers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/enrollmentAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +29 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/instructions.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/instructions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/instructions.js +9 -0
- package/dist-esm/src/operationsInterfaces/instructions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.js +9 -0
- package/dist-esm/src/operationsInterfaces/invoiceSections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoices.d.ts +124 -0
- package/dist-esm/src/operationsInterfaces/invoices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/invoices.js +9 -0
- package/dist-esm/src/operationsInterfaces/invoices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/policies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policies.js +9 -0
- package/dist-esm/src/operationsInterfaces/policies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.js +9 -0
- package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/reservations.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/reservations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/reservations.js +9 -0
- package/dist-esm/src/operationsInterfaces/reservations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/transactions.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/transactions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/transactions.js +9 -0
- package/dist-esm/src/operationsInterfaces/transactions.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-billing.api.md +2361 -0
- package/rollup.config.js +181 -30
- package/src/billingManagementClient.ts +144 -73
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2567 -3859
- package/src/models/mappers.ts +2120 -1803
- package/src/models/parameters.ts +257 -103
- package/src/operations/address.ts +38 -56
- package/src/operations/agreements.ts +133 -118
- package/src/operations/availableBalances.ts +41 -56
- package/src/operations/billingAccounts.ts +314 -229
- package/src/operations/billingPeriods.ts +131 -122
- package/src/operations/billingPermissions.ts +468 -275
- package/src/operations/billingProfiles.ts +236 -165
- package/src/operations/billingPropertyOperations.ts +55 -94
- package/src/operations/billingRoleAssignments.ts +506 -453
- package/src/operations/billingRoleDefinitions.ts +436 -334
- package/src/operations/billingSubscriptions.ts +669 -487
- package/src/operations/customers.ts +263 -187
- package/src/operations/enrollmentAccounts.ts +104 -108
- package/src/operations/index.ts +4 -5
- package/src/operations/instructions.ts +182 -167
- package/src/operations/invoiceSections.ts +265 -167
- package/src/operations/invoices.ts +903 -544
- package/src/operations/operations.ts +87 -73
- package/src/operations/policies.ts +112 -188
- package/src/operations/products.ts +599 -501
- package/src/operations/reservations.ts +344 -0
- package/src/operations/transactions.ts +133 -81
- package/src/operationsInterfaces/address.ts +27 -0
- package/src/operationsInterfaces/agreements.ts +40 -0
- package/src/operationsInterfaces/availableBalances.ts +29 -0
- package/src/operationsInterfaces/billingAccounts.ts +81 -0
- package/src/operationsInterfaces/billingPeriods.ts +40 -0
- package/src/operationsInterfaces/billingPermissions.ts +65 -0
- package/src/operationsInterfaces/billingProfiles.ts +78 -0
- package/src/operationsInterfaces/billingPropertyOperations.ts +37 -0
- package/src/operationsInterfaces/billingRoleAssignments.ts +152 -0
- package/src/operationsInterfaces/billingRoleDefinitions.ts +104 -0
- package/src/operationsInterfaces/billingSubscriptions.ts +144 -0
- package/src/operationsInterfaces/customers.ts +55 -0
- package/src/operationsInterfaces/enrollmentAccounts.ts +36 -0
- package/src/operationsInterfaces/index.ts +29 -0
- package/src/operationsInterfaces/instructions.ts +63 -0
- package/src/operationsInterfaces/invoiceSections.ts +86 -0
- package/src/operationsInterfaces/invoices.ts +233 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/policies.ts +76 -0
- package/src/operationsInterfaces/products.ts +137 -0
- package/src/operationsInterfaces/reservations.ts +41 -0
- package/src/operationsInterfaces/transactions.ts +30 -0
- package/tsconfig.json +3 -3
- package/types/arm-billing.d.ts +4451 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-billing.js +0 -8674
- package/dist/arm-billing.js.map +0 -1
- package/dist/arm-billing.min.js +0 -1
- package/dist/arm-billing.min.js.map +0 -1
- package/esm/billingManagementClient.d.ts +0 -43
- package/esm/billingManagementClient.d.ts.map +0 -1
- package/esm/billingManagementClient.js +0 -57
- package/esm/billingManagementClient.js.map +0 -1
- package/esm/billingManagementClientContext.d.ts +0 -21
- package/esm/billingManagementClientContext.d.ts.map +0 -1
- package/esm/billingManagementClientContext.js +0 -60
- package/esm/billingManagementClientContext.js.map +0 -1
- package/esm/models/addressMappers.d.ts +0 -2
- package/esm/models/addressMappers.d.ts.map +0 -1
- package/esm/models/addressMappers.js +0 -9
- package/esm/models/addressMappers.js.map +0 -1
- package/esm/models/agreementsMappers.d.ts +0 -2
- package/esm/models/agreementsMappers.d.ts.map +0 -1
- package/esm/models/agreementsMappers.js +0 -9
- package/esm/models/agreementsMappers.js.map +0 -1
- package/esm/models/availableBalancesMappers.d.ts +0 -2
- package/esm/models/availableBalancesMappers.d.ts.map +0 -1
- package/esm/models/availableBalancesMappers.js +0 -9
- package/esm/models/availableBalancesMappers.js.map +0 -1
- package/esm/models/billingAccountsMappers.d.ts +0 -2
- package/esm/models/billingAccountsMappers.d.ts.map +0 -1
- package/esm/models/billingAccountsMappers.js +0 -9
- package/esm/models/billingAccountsMappers.js.map +0 -1
- package/esm/models/billingPeriodsMappers.d.ts +0 -2
- package/esm/models/billingPeriodsMappers.d.ts.map +0 -1
- package/esm/models/billingPeriodsMappers.js +0 -9
- package/esm/models/billingPeriodsMappers.js.map +0 -1
- package/esm/models/billingPermissionsMappers.d.ts +0 -2
- package/esm/models/billingPermissionsMappers.d.ts.map +0 -1
- package/esm/models/billingPermissionsMappers.js +0 -9
- package/esm/models/billingPermissionsMappers.js.map +0 -1
- package/esm/models/billingProfilesMappers.d.ts +0 -2
- package/esm/models/billingProfilesMappers.d.ts.map +0 -1
- package/esm/models/billingProfilesMappers.js +0 -9
- package/esm/models/billingProfilesMappers.js.map +0 -1
- package/esm/models/billingPropertyOperationsMappers.d.ts +0 -2
- package/esm/models/billingPropertyOperationsMappers.d.ts.map +0 -1
- package/esm/models/billingPropertyOperationsMappers.js +0 -9
- package/esm/models/billingPropertyOperationsMappers.js.map +0 -1
- package/esm/models/billingRoleAssignmentsMappers.d.ts +0 -2
- package/esm/models/billingRoleAssignmentsMappers.d.ts.map +0 -1
- package/esm/models/billingRoleAssignmentsMappers.js +0 -9
- package/esm/models/billingRoleAssignmentsMappers.js.map +0 -1
- package/esm/models/billingRoleDefinitionsMappers.d.ts +0 -2
- package/esm/models/billingRoleDefinitionsMappers.d.ts.map +0 -1
- package/esm/models/billingRoleDefinitionsMappers.js +0 -9
- package/esm/models/billingRoleDefinitionsMappers.js.map +0 -1
- package/esm/models/billingSubscriptionsMappers.d.ts +0 -2
- package/esm/models/billingSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/billingSubscriptionsMappers.js +0 -9
- package/esm/models/billingSubscriptionsMappers.js.map +0 -1
- package/esm/models/customersMappers.d.ts +0 -2
- package/esm/models/customersMappers.d.ts.map +0 -1
- package/esm/models/customersMappers.js +0 -9
- package/esm/models/customersMappers.js.map +0 -1
- package/esm/models/enrollmentAccountsMappers.d.ts +0 -2
- package/esm/models/enrollmentAccountsMappers.d.ts.map +0 -1
- package/esm/models/enrollmentAccountsMappers.js +0 -9
- package/esm/models/enrollmentAccountsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4587
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/instructionsMappers.d.ts +0 -2
- package/esm/models/instructionsMappers.d.ts.map +0 -1
- package/esm/models/instructionsMappers.js +0 -9
- package/esm/models/instructionsMappers.js.map +0 -1
- package/esm/models/invoiceSectionsMappers.d.ts +0 -2
- package/esm/models/invoiceSectionsMappers.d.ts.map +0 -1
- package/esm/models/invoiceSectionsMappers.js +0 -9
- package/esm/models/invoiceSectionsMappers.js.map +0 -1
- package/esm/models/invoicesMappers.d.ts +0 -2
- package/esm/models/invoicesMappers.d.ts.map +0 -1
- package/esm/models/invoicesMappers.js +0 -9
- package/esm/models/invoicesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -82
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -27
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -279
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/policiesMappers.d.ts +0 -2
- package/esm/models/policiesMappers.d.ts.map +0 -1
- package/esm/models/policiesMappers.js +0 -9
- package/esm/models/policiesMappers.js.map +0 -1
- package/esm/models/productsMappers.d.ts +0 -2
- package/esm/models/productsMappers.d.ts.map +0 -1
- package/esm/models/productsMappers.js +0 -9
- package/esm/models/productsMappers.js.map +0 -1
- package/esm/models/transactionsMappers.d.ts +0 -2
- package/esm/models/transactionsMappers.d.ts.map +0 -1
- package/esm/models/transactionsMappers.js +0 -9
- package/esm/models/transactionsMappers.js.map +0 -1
- package/esm/operations/address.d.ts +0 -32
- package/esm/operations/address.d.ts.map +0 -1
- package/esm/operations/address.js +0 -57
- package/esm/operations/address.js.map +0 -1
- package/esm/operations/agreements.d.ts +0 -70
- package/esm/operations/agreements.d.ts.map +0 -1
- package/esm/operations/agreements.js +0 -113
- package/esm/operations/agreements.js.map +0 -1
- package/esm/operations/availableBalances.d.ts +0 -36
- package/esm/operations/availableBalances.d.ts.map +0 -1
- package/esm/operations/availableBalances.js +0 -57
- package/esm/operations/availableBalances.js.map +0 -1
- package/esm/operations/billingAccounts.d.ts +0 -127
- package/esm/operations/billingAccounts.d.ts.map +0 -1
- package/esm/operations/billingAccounts.js +0 -218
- package/esm/operations/billingAccounts.js.map +0 -1
- package/esm/operations/billingPeriods.d.ts +0 -70
- package/esm/operations/billingPeriods.d.ts.map +0 -1
- package/esm/operations/billingPeriods.js +0 -112
- package/esm/operations/billingPeriods.js.map +0 -1
- package/esm/operations/billingPermissions.d.ts +0 -169
- package/esm/operations/billingPermissions.d.ts.map +0 -1
- package/esm/operations/billingPermissions.js +0 -251
- package/esm/operations/billingPermissions.js.map +0 -1
- package/esm/operations/billingProfiles.d.ts +0 -94
- package/esm/operations/billingProfiles.d.ts.map +0 -1
- package/esm/operations/billingProfiles.js +0 -176
- package/esm/operations/billingProfiles.js.map +0 -1
- package/esm/operations/billingPropertyOperations.d.ts +0 -46
- package/esm/operations/billingPropertyOperations.d.ts.map +0 -1
- package/esm/operations/billingPropertyOperations.js +0 -91
- package/esm/operations/billingPropertyOperations.js.map +0 -1
- package/esm/operations/billingRoleAssignments.d.ts +0 -292
- package/esm/operations/billingRoleAssignments.d.ts.map +0 -1
- package/esm/operations/billingRoleAssignments.js +0 -387
- package/esm/operations/billingRoleAssignments.js.map +0 -1
- package/esm/operations/billingRoleDefinitions.d.ts +0 -211
- package/esm/operations/billingRoleDefinitions.d.ts.map +0 -1
- package/esm/operations/billingRoleDefinitions.js +0 -291
- package/esm/operations/billingRoleDefinitions.js.map +0 -1
- package/esm/operations/billingSubscriptions.d.ts +0 -267
- package/esm/operations/billingSubscriptions.d.ts.map +0 -1
- package/esm/operations/billingSubscriptions.js +0 -414
- package/esm/operations/billingSubscriptions.js.map +0 -1
- package/esm/operations/customers.d.ts +0 -114
- package/esm/operations/customers.d.ts.map +0 -1
- package/esm/operations/customers.js +0 -172
- package/esm/operations/customers.js.map +0 -1
- package/esm/operations/enrollmentAccounts.d.ts +0 -64
- package/esm/operations/enrollmentAccounts.d.ts.map +0 -1
- package/esm/operations/enrollmentAccounts.js +0 -105
- package/esm/operations/enrollmentAccounts.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/instructions.d.ts +0 -105
- package/esm/operations/instructions.d.ts.map +0 -1
- package/esm/operations/instructions.js +0 -153
- package/esm/operations/instructions.js.map +0 -1
- package/esm/operations/invoiceSections.d.ts +0 -102
- package/esm/operations/invoiceSections.d.ts.map +0 -1
- package/esm/operations/invoiceSections.js +0 -182
- package/esm/operations/invoiceSections.js.map +0 -1
- package/esm/operations/invoices.d.ts +0 -291
- package/esm/operations/invoices.d.ts.map +0 -1
- package/esm/operations/invoices.js +0 -539
- package/esm/operations/invoices.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/policies.d.ts +0 -104
- package/esm/operations/policies.d.ts.map +0 -1
- package/esm/operations/policies.js +0 -162
- package/esm/operations/policies.js.map +0 -1
- package/esm/operations/products.d.ts +0 -279
- package/esm/operations/products.d.ts.map +0 -1
- package/esm/operations/products.js +0 -403
- package/esm/operations/products.js.map +0 -1
- package/esm/operations/transactions.d.ts +0 -54
- package/esm/operations/transactions.d.ts.map +0 -1
- package/esm/operations/transactions.js +0 -83
- package/esm/operations/transactions.js.map +0 -1
- package/src/billingManagementClientContext.ts +0 -66
- package/src/models/addressMappers.ts +0 -15
- package/src/models/agreementsMappers.ts +0 -50
- package/src/models/availableBalancesMappers.ts +0 -49
- package/src/models/billingAccountsMappers.ts +0 -53
- package/src/models/billingPeriodsMappers.ts +0 -50
- package/src/models/billingPermissionsMappers.ts +0 -15
- package/src/models/billingProfilesMappers.ts +0 -51
- package/src/models/billingPropertyOperationsMappers.ts +0 -49
- package/src/models/billingRoleAssignmentsMappers.ts +0 -50
- package/src/models/billingRoleDefinitionsMappers.ts +0 -50
- package/src/models/billingSubscriptionsMappers.ts +0 -54
- package/src/models/customersMappers.ts +0 -50
- package/src/models/enrollmentAccountsMappers.ts +0 -50
- package/src/models/instructionsMappers.ts +0 -50
- package/src/models/invoiceSectionsMappers.ts +0 -51
- package/src/models/invoicesMappers.ts +0 -55
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/policiesMappers.ts +0 -49
- package/src/models/productsMappers.ts +0 -54
- package/src/models/transactionsMappers.ts +0 -50
|
@@ -1,403 +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/productsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a Products. */
|
|
15
|
-
var Products = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a Products.
|
|
18
|
-
* @param {BillingManagementClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function Products(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
Products.prototype.listByCustomer = function (billingAccountName, customerName, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
billingAccountName: billingAccountName,
|
|
26
|
-
customerName: customerName,
|
|
27
|
-
options: options
|
|
28
|
-
}, listByCustomerOperationSpec, callback);
|
|
29
|
-
};
|
|
30
|
-
Products.prototype.listByBillingAccount = function (billingAccountName, options, callback) {
|
|
31
|
-
return this.client.sendOperationRequest({
|
|
32
|
-
billingAccountName: billingAccountName,
|
|
33
|
-
options: options
|
|
34
|
-
}, listByBillingAccountOperationSpec, callback);
|
|
35
|
-
};
|
|
36
|
-
Products.prototype.listByBillingProfile = function (billingAccountName, billingProfileName, options, callback) {
|
|
37
|
-
return this.client.sendOperationRequest({
|
|
38
|
-
billingAccountName: billingAccountName,
|
|
39
|
-
billingProfileName: billingProfileName,
|
|
40
|
-
options: options
|
|
41
|
-
}, listByBillingProfileOperationSpec, callback);
|
|
42
|
-
};
|
|
43
|
-
Products.prototype.listByInvoiceSection = function (billingAccountName, billingProfileName, invoiceSectionName, options, callback) {
|
|
44
|
-
return this.client.sendOperationRequest({
|
|
45
|
-
billingAccountName: billingAccountName,
|
|
46
|
-
billingProfileName: billingProfileName,
|
|
47
|
-
invoiceSectionName: invoiceSectionName,
|
|
48
|
-
options: options
|
|
49
|
-
}, listByInvoiceSectionOperationSpec, callback);
|
|
50
|
-
};
|
|
51
|
-
Products.prototype.get = function (billingAccountName, productName, options, callback) {
|
|
52
|
-
return this.client.sendOperationRequest({
|
|
53
|
-
billingAccountName: billingAccountName,
|
|
54
|
-
productName: productName,
|
|
55
|
-
options: options
|
|
56
|
-
}, getOperationSpec, callback);
|
|
57
|
-
};
|
|
58
|
-
Products.prototype.update = function (billingAccountName, productName, parameters, options, callback) {
|
|
59
|
-
return this.client.sendOperationRequest({
|
|
60
|
-
billingAccountName: billingAccountName,
|
|
61
|
-
productName: productName,
|
|
62
|
-
parameters: parameters,
|
|
63
|
-
options: options
|
|
64
|
-
}, updateOperationSpec, callback);
|
|
65
|
-
};
|
|
66
|
-
Products.prototype.move = function (billingAccountName, productName, options, callback) {
|
|
67
|
-
return this.client.sendOperationRequest({
|
|
68
|
-
billingAccountName: billingAccountName,
|
|
69
|
-
productName: productName,
|
|
70
|
-
options: options
|
|
71
|
-
}, moveOperationSpec, callback);
|
|
72
|
-
};
|
|
73
|
-
Products.prototype.validateMove = function (billingAccountName, productName, options, callback) {
|
|
74
|
-
return this.client.sendOperationRequest({
|
|
75
|
-
billingAccountName: billingAccountName,
|
|
76
|
-
productName: productName,
|
|
77
|
-
options: options
|
|
78
|
-
}, validateMoveOperationSpec, callback);
|
|
79
|
-
};
|
|
80
|
-
Products.prototype.listByCustomerNext = function (nextPageLink, options, callback) {
|
|
81
|
-
return this.client.sendOperationRequest({
|
|
82
|
-
nextPageLink: nextPageLink,
|
|
83
|
-
options: options
|
|
84
|
-
}, listByCustomerNextOperationSpec, callback);
|
|
85
|
-
};
|
|
86
|
-
Products.prototype.listByBillingAccountNext = function (nextPageLink, options, callback) {
|
|
87
|
-
return this.client.sendOperationRequest({
|
|
88
|
-
nextPageLink: nextPageLink,
|
|
89
|
-
options: options
|
|
90
|
-
}, listByBillingAccountNextOperationSpec, callback);
|
|
91
|
-
};
|
|
92
|
-
Products.prototype.listByBillingProfileNext = function (nextPageLink, options, callback) {
|
|
93
|
-
return this.client.sendOperationRequest({
|
|
94
|
-
nextPageLink: nextPageLink,
|
|
95
|
-
options: options
|
|
96
|
-
}, listByBillingProfileNextOperationSpec, callback);
|
|
97
|
-
};
|
|
98
|
-
Products.prototype.listByInvoiceSectionNext = function (nextPageLink, options, callback) {
|
|
99
|
-
return this.client.sendOperationRequest({
|
|
100
|
-
nextPageLink: nextPageLink,
|
|
101
|
-
options: options
|
|
102
|
-
}, listByInvoiceSectionNextOperationSpec, callback);
|
|
103
|
-
};
|
|
104
|
-
return Products;
|
|
105
|
-
}());
|
|
106
|
-
export { Products };
|
|
107
|
-
// Operation Specifications
|
|
108
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
109
|
-
var listByCustomerOperationSpec = {
|
|
110
|
-
httpMethod: "GET",
|
|
111
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/products",
|
|
112
|
-
urlParameters: [
|
|
113
|
-
Parameters.billingAccountName,
|
|
114
|
-
Parameters.customerName
|
|
115
|
-
],
|
|
116
|
-
queryParameters: [
|
|
117
|
-
Parameters.apiVersion0
|
|
118
|
-
],
|
|
119
|
-
headerParameters: [
|
|
120
|
-
Parameters.acceptLanguage
|
|
121
|
-
],
|
|
122
|
-
responses: {
|
|
123
|
-
200: {
|
|
124
|
-
bodyMapper: Mappers.ProductsListResult
|
|
125
|
-
},
|
|
126
|
-
default: {
|
|
127
|
-
bodyMapper: Mappers.ErrorResponse
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
serializer: serializer
|
|
131
|
-
};
|
|
132
|
-
var listByBillingAccountOperationSpec = {
|
|
133
|
-
httpMethod: "GET",
|
|
134
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products",
|
|
135
|
-
urlParameters: [
|
|
136
|
-
Parameters.billingAccountName
|
|
137
|
-
],
|
|
138
|
-
queryParameters: [
|
|
139
|
-
Parameters.apiVersion0,
|
|
140
|
-
Parameters.filter
|
|
141
|
-
],
|
|
142
|
-
headerParameters: [
|
|
143
|
-
Parameters.acceptLanguage
|
|
144
|
-
],
|
|
145
|
-
responses: {
|
|
146
|
-
200: {
|
|
147
|
-
bodyMapper: Mappers.ProductsListResult
|
|
148
|
-
},
|
|
149
|
-
default: {
|
|
150
|
-
bodyMapper: Mappers.ErrorResponse
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
serializer: serializer
|
|
154
|
-
};
|
|
155
|
-
var listByBillingProfileOperationSpec = {
|
|
156
|
-
httpMethod: "GET",
|
|
157
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/products",
|
|
158
|
-
urlParameters: [
|
|
159
|
-
Parameters.billingAccountName,
|
|
160
|
-
Parameters.billingProfileName
|
|
161
|
-
],
|
|
162
|
-
queryParameters: [
|
|
163
|
-
Parameters.apiVersion0,
|
|
164
|
-
Parameters.filter
|
|
165
|
-
],
|
|
166
|
-
headerParameters: [
|
|
167
|
-
Parameters.acceptLanguage
|
|
168
|
-
],
|
|
169
|
-
responses: {
|
|
170
|
-
200: {
|
|
171
|
-
bodyMapper: Mappers.ProductsListResult
|
|
172
|
-
},
|
|
173
|
-
default: {
|
|
174
|
-
bodyMapper: Mappers.ErrorResponse
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
serializer: serializer
|
|
178
|
-
};
|
|
179
|
-
var listByInvoiceSectionOperationSpec = {
|
|
180
|
-
httpMethod: "GET",
|
|
181
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products",
|
|
182
|
-
urlParameters: [
|
|
183
|
-
Parameters.billingAccountName,
|
|
184
|
-
Parameters.billingProfileName,
|
|
185
|
-
Parameters.invoiceSectionName
|
|
186
|
-
],
|
|
187
|
-
queryParameters: [
|
|
188
|
-
Parameters.apiVersion0,
|
|
189
|
-
Parameters.filter
|
|
190
|
-
],
|
|
191
|
-
headerParameters: [
|
|
192
|
-
Parameters.acceptLanguage
|
|
193
|
-
],
|
|
194
|
-
responses: {
|
|
195
|
-
200: {
|
|
196
|
-
bodyMapper: Mappers.ProductsListResult
|
|
197
|
-
},
|
|
198
|
-
default: {
|
|
199
|
-
bodyMapper: Mappers.ErrorResponse
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
serializer: serializer
|
|
203
|
-
};
|
|
204
|
-
var getOperationSpec = {
|
|
205
|
-
httpMethod: "GET",
|
|
206
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}",
|
|
207
|
-
urlParameters: [
|
|
208
|
-
Parameters.billingAccountName,
|
|
209
|
-
Parameters.productName
|
|
210
|
-
],
|
|
211
|
-
queryParameters: [
|
|
212
|
-
Parameters.apiVersion0
|
|
213
|
-
],
|
|
214
|
-
headerParameters: [
|
|
215
|
-
Parameters.acceptLanguage
|
|
216
|
-
],
|
|
217
|
-
responses: {
|
|
218
|
-
200: {
|
|
219
|
-
bodyMapper: Mappers.Product
|
|
220
|
-
},
|
|
221
|
-
default: {
|
|
222
|
-
bodyMapper: Mappers.ErrorResponse
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
serializer: serializer
|
|
226
|
-
};
|
|
227
|
-
var updateOperationSpec = {
|
|
228
|
-
httpMethod: "PATCH",
|
|
229
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}",
|
|
230
|
-
urlParameters: [
|
|
231
|
-
Parameters.billingAccountName,
|
|
232
|
-
Parameters.productName
|
|
233
|
-
],
|
|
234
|
-
queryParameters: [
|
|
235
|
-
Parameters.apiVersion0
|
|
236
|
-
],
|
|
237
|
-
headerParameters: [
|
|
238
|
-
Parameters.acceptLanguage
|
|
239
|
-
],
|
|
240
|
-
requestBody: {
|
|
241
|
-
parameterPath: "parameters",
|
|
242
|
-
mapper: __assign(__assign({}, Mappers.Product), { required: true })
|
|
243
|
-
},
|
|
244
|
-
responses: {
|
|
245
|
-
200: {
|
|
246
|
-
bodyMapper: Mappers.Product
|
|
247
|
-
},
|
|
248
|
-
default: {
|
|
249
|
-
bodyMapper: Mappers.ErrorResponse
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
serializer: serializer
|
|
253
|
-
};
|
|
254
|
-
var moveOperationSpec = {
|
|
255
|
-
httpMethod: "POST",
|
|
256
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/move",
|
|
257
|
-
urlParameters: [
|
|
258
|
-
Parameters.billingAccountName,
|
|
259
|
-
Parameters.productName
|
|
260
|
-
],
|
|
261
|
-
queryParameters: [
|
|
262
|
-
Parameters.apiVersion0
|
|
263
|
-
],
|
|
264
|
-
headerParameters: [
|
|
265
|
-
Parameters.acceptLanguage
|
|
266
|
-
],
|
|
267
|
-
requestBody: {
|
|
268
|
-
parameterPath: {
|
|
269
|
-
destinationInvoiceSectionId: [
|
|
270
|
-
"options",
|
|
271
|
-
"destinationInvoiceSectionId"
|
|
272
|
-
]
|
|
273
|
-
},
|
|
274
|
-
mapper: __assign(__assign({}, Mappers.TransferProductRequestProperties), { required: true })
|
|
275
|
-
},
|
|
276
|
-
responses: {
|
|
277
|
-
200: {
|
|
278
|
-
bodyMapper: Mappers.Product,
|
|
279
|
-
headersMapper: Mappers.ProductsMoveHeaders
|
|
280
|
-
},
|
|
281
|
-
202: {
|
|
282
|
-
headersMapper: Mappers.ProductsMoveHeaders
|
|
283
|
-
},
|
|
284
|
-
default: {
|
|
285
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
286
|
-
headersMapper: Mappers.ProductsMoveHeaders
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
|
-
serializer: serializer
|
|
290
|
-
};
|
|
291
|
-
var validateMoveOperationSpec = {
|
|
292
|
-
httpMethod: "POST",
|
|
293
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/validateMoveEligibility",
|
|
294
|
-
urlParameters: [
|
|
295
|
-
Parameters.billingAccountName,
|
|
296
|
-
Parameters.productName
|
|
297
|
-
],
|
|
298
|
-
queryParameters: [
|
|
299
|
-
Parameters.apiVersion0
|
|
300
|
-
],
|
|
301
|
-
headerParameters: [
|
|
302
|
-
Parameters.acceptLanguage
|
|
303
|
-
],
|
|
304
|
-
requestBody: {
|
|
305
|
-
parameterPath: {
|
|
306
|
-
destinationInvoiceSectionId: [
|
|
307
|
-
"options",
|
|
308
|
-
"destinationInvoiceSectionId"
|
|
309
|
-
]
|
|
310
|
-
},
|
|
311
|
-
mapper: __assign(__assign({}, Mappers.TransferProductRequestProperties), { required: true })
|
|
312
|
-
},
|
|
313
|
-
responses: {
|
|
314
|
-
200: {
|
|
315
|
-
bodyMapper: Mappers.ValidateProductTransferEligibilityResult
|
|
316
|
-
},
|
|
317
|
-
default: {
|
|
318
|
-
bodyMapper: Mappers.ErrorResponse
|
|
319
|
-
}
|
|
320
|
-
},
|
|
321
|
-
serializer: serializer
|
|
322
|
-
};
|
|
323
|
-
var listByCustomerNextOperationSpec = {
|
|
324
|
-
httpMethod: "GET",
|
|
325
|
-
baseUrl: "https://management.azure.com",
|
|
326
|
-
path: "{nextLink}",
|
|
327
|
-
urlParameters: [
|
|
328
|
-
Parameters.nextPageLink
|
|
329
|
-
],
|
|
330
|
-
headerParameters: [
|
|
331
|
-
Parameters.acceptLanguage
|
|
332
|
-
],
|
|
333
|
-
responses: {
|
|
334
|
-
200: {
|
|
335
|
-
bodyMapper: Mappers.ProductsListResult
|
|
336
|
-
},
|
|
337
|
-
default: {
|
|
338
|
-
bodyMapper: Mappers.ErrorResponse
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
serializer: serializer
|
|
342
|
-
};
|
|
343
|
-
var listByBillingAccountNextOperationSpec = {
|
|
344
|
-
httpMethod: "GET",
|
|
345
|
-
baseUrl: "https://management.azure.com",
|
|
346
|
-
path: "{nextLink}",
|
|
347
|
-
urlParameters: [
|
|
348
|
-
Parameters.nextPageLink
|
|
349
|
-
],
|
|
350
|
-
headerParameters: [
|
|
351
|
-
Parameters.acceptLanguage
|
|
352
|
-
],
|
|
353
|
-
responses: {
|
|
354
|
-
200: {
|
|
355
|
-
bodyMapper: Mappers.ProductsListResult
|
|
356
|
-
},
|
|
357
|
-
default: {
|
|
358
|
-
bodyMapper: Mappers.ErrorResponse
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
serializer: serializer
|
|
362
|
-
};
|
|
363
|
-
var listByBillingProfileNextOperationSpec = {
|
|
364
|
-
httpMethod: "GET",
|
|
365
|
-
baseUrl: "https://management.azure.com",
|
|
366
|
-
path: "{nextLink}",
|
|
367
|
-
urlParameters: [
|
|
368
|
-
Parameters.nextPageLink
|
|
369
|
-
],
|
|
370
|
-
headerParameters: [
|
|
371
|
-
Parameters.acceptLanguage
|
|
372
|
-
],
|
|
373
|
-
responses: {
|
|
374
|
-
200: {
|
|
375
|
-
bodyMapper: Mappers.ProductsListResult
|
|
376
|
-
},
|
|
377
|
-
default: {
|
|
378
|
-
bodyMapper: Mappers.ErrorResponse
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
serializer: serializer
|
|
382
|
-
};
|
|
383
|
-
var listByInvoiceSectionNextOperationSpec = {
|
|
384
|
-
httpMethod: "GET",
|
|
385
|
-
baseUrl: "https://management.azure.com",
|
|
386
|
-
path: "{nextLink}",
|
|
387
|
-
urlParameters: [
|
|
388
|
-
Parameters.nextPageLink
|
|
389
|
-
],
|
|
390
|
-
headerParameters: [
|
|
391
|
-
Parameters.acceptLanguage
|
|
392
|
-
],
|
|
393
|
-
responses: {
|
|
394
|
-
200: {
|
|
395
|
-
bodyMapper: Mappers.ProductsListResult
|
|
396
|
-
},
|
|
397
|
-
default: {
|
|
398
|
-
bodyMapper: Mappers.ErrorResponse
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
serializer: serializer
|
|
402
|
-
};
|
|
403
|
-
//# sourceMappingURL=products.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/operations/products.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;IAyBD,iCAAc,GAAd,UAAe,kBAA0B,EAAE,YAAoB,EAAE,OAAuF,EAAE,QAA4D;QACpN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,kBAAkB,oBAAA;YAClB,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ,CAAmD,CAAC;IAChE,CAAC;IAsBD,uCAAoB,GAApB,UAAqB,kBAA0B,EAAE,OAA+G,EAAE,QAA4D;QAC5N,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,kBAAkB,oBAAA;YAClB,OAAO,SAAA;SACR,EACD,iCAAiC,EACjC,QAAQ,CAAyD,CAAC;IACtE,CAAC;IAyBD,uCAAoB,GAApB,UAAqB,kBAA0B,EAAE,kBAA0B,EAAE,OAA+G,EAAE,QAA4D;QACxP,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,kBAAkB,oBAAA;YAClB,kBAAkB,oBAAA;YAClB,OAAO,SAAA;SACR,EACD,iCAAiC,EACjC,QAAQ,CAAyD,CAAC;IACtE,CAAC;IA4BD,uCAAoB,GAApB,UAAqB,kBAA0B,EAAE,kBAA0B,EAAE,kBAA0B,EAAE,OAA+G,EAAE,QAA4D;QACpR,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,kBAAkB,oBAAA;Y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G,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,54 +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 Transactions. */
|
|
5
|
-
export declare class Transactions {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Transactions.
|
|
9
|
-
* @param {BillingManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: BillingManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage
|
|
14
|
-
* charges.
|
|
15
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
16
|
-
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
17
|
-
* @param [options] The optional parameters
|
|
18
|
-
* @returns Promise<Models.TransactionsListByInvoiceResponse>
|
|
19
|
-
*/
|
|
20
|
-
listByInvoice(billingAccountName: string, invoiceName: string, options?: msRest.RequestOptionsBase): Promise<Models.TransactionsListByInvoiceResponse>;
|
|
21
|
-
/**
|
|
22
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
23
|
-
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
listByInvoice(billingAccountName: string, invoiceName: string, callback: msRest.ServiceCallback<Models.TransactionListResult>): void;
|
|
27
|
-
/**
|
|
28
|
-
* @param billingAccountName The ID that uniquely identifies a billing account.
|
|
29
|
-
* @param invoiceName The ID that uniquely identifies an invoice.
|
|
30
|
-
* @param options The optional parameters
|
|
31
|
-
* @param callback The callback
|
|
32
|
-
*/
|
|
33
|
-
listByInvoice(billingAccountName: string, invoiceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TransactionListResult>): void;
|
|
34
|
-
/**
|
|
35
|
-
* Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage
|
|
36
|
-
* charges.
|
|
37
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<Models.TransactionsListByInvoiceNextResponse>
|
|
40
|
-
*/
|
|
41
|
-
listByInvoiceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.TransactionsListByInvoiceNextResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
44
|
-
* @param callback The callback
|
|
45
|
-
*/
|
|
46
|
-
listByInvoiceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TransactionListResult>): void;
|
|
47
|
-
/**
|
|
48
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
49
|
-
* @param options The optional parameters
|
|
50
|
-
* @param callback The callback
|
|
51
|
-
*/
|
|
52
|
-
listByInvoiceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TransactionListResult>): void;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=transactions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../src/operations/transactions.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,yCAAyC;AACzC,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;OAOG;IACH,aAAa,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,iCAAiC,CAAC;IACtJ;;;;OAIG;IACH,aAAa,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IACpI;;;;;OAKG;IACH,aAAa,CAAC,kBAAkB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAYxK;;;;;;OAMG;IACH,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,qCAAqC,CAAC;IACnI;;;OAGG;IACH,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;IAC7G;;;;OAIG;IACH,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,qBAAqB,CAAC,GAAG,IAAI;CAUlJ"}
|
|
@@ -1,83 +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/transactionsMappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
/** Class representing a Transactions. */
|
|
14
|
-
var Transactions = /** @class */ (function () {
|
|
15
|
-
/**
|
|
16
|
-
* Create a Transactions.
|
|
17
|
-
* @param {BillingManagementClientContext} client Reference to the service client.
|
|
18
|
-
*/
|
|
19
|
-
function Transactions(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
Transactions.prototype.listByInvoice = function (billingAccountName, invoiceName, options, callback) {
|
|
23
|
-
return this.client.sendOperationRequest({
|
|
24
|
-
billingAccountName: billingAccountName,
|
|
25
|
-
invoiceName: invoiceName,
|
|
26
|
-
options: options
|
|
27
|
-
}, listByInvoiceOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
Transactions.prototype.listByInvoiceNext = function (nextPageLink, options, callback) {
|
|
30
|
-
return this.client.sendOperationRequest({
|
|
31
|
-
nextPageLink: nextPageLink,
|
|
32
|
-
options: options
|
|
33
|
-
}, listByInvoiceNextOperationSpec, callback);
|
|
34
|
-
};
|
|
35
|
-
return Transactions;
|
|
36
|
-
}());
|
|
37
|
-
export { Transactions };
|
|
38
|
-
// Operation Specifications
|
|
39
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
40
|
-
var listByInvoiceOperationSpec = {
|
|
41
|
-
httpMethod: "GET",
|
|
42
|
-
path: "providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/transactions",
|
|
43
|
-
urlParameters: [
|
|
44
|
-
Parameters.billingAccountName,
|
|
45
|
-
Parameters.invoiceName
|
|
46
|
-
],
|
|
47
|
-
queryParameters: [
|
|
48
|
-
Parameters.apiVersion0
|
|
49
|
-
],
|
|
50
|
-
headerParameters: [
|
|
51
|
-
Parameters.acceptLanguage
|
|
52
|
-
],
|
|
53
|
-
responses: {
|
|
54
|
-
200: {
|
|
55
|
-
bodyMapper: Mappers.TransactionListResult
|
|
56
|
-
},
|
|
57
|
-
default: {
|
|
58
|
-
bodyMapper: Mappers.ErrorResponse
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
serializer: serializer
|
|
62
|
-
};
|
|
63
|
-
var listByInvoiceNextOperationSpec = {
|
|
64
|
-
httpMethod: "GET",
|
|
65
|
-
baseUrl: "https://management.azure.com",
|
|
66
|
-
path: "{nextLink}",
|
|
67
|
-
urlParameters: [
|
|
68
|
-
Parameters.nextPageLink
|
|
69
|
-
],
|
|
70
|
-
headerParameters: [
|
|
71
|
-
Parameters.acceptLanguage
|
|
72
|
-
],
|
|
73
|
-
responses: {
|
|
74
|
-
200: {
|
|
75
|
-
bodyMapper: Mappers.TransactionListResult
|
|
76
|
-
},
|
|
77
|
-
default: {
|
|
78
|
-
bodyMapper: Mappers.ErrorResponse
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
serializer: serializer
|
|
82
|
-
};
|
|
83
|
-
//# sourceMappingURL=transactions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../src/operations/transactions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,yCAAyC;AACzC;IAGE;;;OAGG;IACH,sBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAwBD,oCAAa,GAAb,UAAc,kBAA0B,EAAE,WAAmB,EAAE,OAA0F,EAAE,QAA+D;QACxN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,kBAAkB,oBAAA;YAClB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,0BAA0B,EAC1B,QAAQ,CAAsD,CAAC;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* 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
|
-
|
|
11
|
-
import * as Models from "./models";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
import { TokenCredential } from "@azure/core-auth";
|
|
14
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
15
|
-
|
|
16
|
-
const packageName = "@azure/arm-billing";
|
|
17
|
-
const packageVersion = "3.1.1";
|
|
18
|
-
|
|
19
|
-
export class BillingManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
20
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
21
|
-
subscriptionId: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Initializes a new instance of the BillingManagementClient class.
|
|
25
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
26
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
27
|
-
* more information about these credentials, see
|
|
28
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
29
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
30
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
31
|
-
* @param subscriptionId The ID that uniquely identifies an Azure subscription.
|
|
32
|
-
* @param [options] The parameter options
|
|
33
|
-
*/
|
|
34
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.BillingManagementClientOptions) {
|
|
35
|
-
if (credentials == undefined) {
|
|
36
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
37
|
-
}
|
|
38
|
-
if (subscriptionId == undefined) {
|
|
39
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
if (!options) {
|
|
43
|
-
options = {};
|
|
44
|
-
}
|
|
45
|
-
if (!options.userAgent) {
|
|
46
|
-
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
47
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
super(credentials, options);
|
|
51
|
-
|
|
52
|
-
this.acceptLanguage = 'en-US';
|
|
53
|
-
this.longRunningOperationRetryTimeout = 30;
|
|
54
|
-
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
|
|
55
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
56
|
-
this.credentials = credentials;
|
|
57
|
-
this.subscriptionId = subscriptionId;
|
|
58
|
-
|
|
59
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
60
|
-
this.acceptLanguage = options.acceptLanguage;
|
|
61
|
-
}
|
|
62
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
63
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,15 +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 license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
AddressDetails,
|
|
11
|
-
ErrorDetails,
|
|
12
|
-
ErrorResponse,
|
|
13
|
-
ErrorSubDetailsItem,
|
|
14
|
-
ValidateAddressResponse
|
|
15
|
-
} from "../models/mappers";
|