@azure/arm-billing 4.0.2-alpha.20221101.1 → 4.1.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 +26 -11
- package/dist/index.js +817 -251
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/addressValidateSample.d.ts +2 -0
- package/dist-esm/samples-dev/addressValidateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/addressValidateSample.js +59 -0
- package/dist-esm/samples-dev/addressValidateSample.js.map +1 -0
- package/dist-esm/samples-dev/agreementsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/agreementsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/agreementsGetSample.js +31 -0
- package/dist-esm/samples-dev/agreementsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/agreementsListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/agreementsListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/agreementsListByBillingAccountSample.js +44 -0
- package/dist-esm/samples-dev/agreementsListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/availableBalancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/availableBalancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availableBalancesGetSample.js +31 -0
- package/dist-esm/samples-dev/availableBalancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/billingAccountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingAccountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingAccountsGetSample.js +49 -0
- package/dist-esm/samples-dev/billingAccountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/billingAccountsListInvoiceSectionsByCreateSubscriptionPermissionSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingAccountsListInvoiceSectionsByCreateSubscriptionPermissionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingAccountsListInvoiceSectionsByCreateSubscriptionPermissionSample.js +44 -0
- package/dist-esm/samples-dev/billingAccountsListInvoiceSectionsByCreateSubscriptionPermissionSample.js.map +1 -0
- package/dist-esm/samples-dev/billingAccountsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingAccountsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingAccountsListSample.js +107 -0
- package/dist-esm/samples-dev/billingAccountsListSample.js.map +1 -0
- package/dist-esm/samples-dev/billingAccountsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingAccountsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingAccountsUpdateSample.js +43 -0
- package/dist-esm/samples-dev/billingAccountsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPeriodsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPeriodsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPeriodsGetSample.js +30 -0
- package/dist-esm/samples-dev/billingPeriodsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPeriodsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPeriodsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPeriodsListSample.js +43 -0
- package/dist-esm/samples-dev/billingPeriodsListSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingAccountSample.js +44 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/billingPermissionsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByCustomerSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPermissionsListByCustomerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByCustomerSample.js +45 -0
- package/dist-esm/samples-dev/billingPermissionsListByCustomerSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByInvoiceSectionsSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPermissionsListByInvoiceSectionsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPermissionsListByInvoiceSectionsSample.js +46 -0
- package/dist-esm/samples-dev/billingPermissionsListByInvoiceSectionsSample.js.map +1 -0
- package/dist-esm/samples-dev/billingProfilesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingProfilesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingProfilesCreateOrUpdateSample.js +46 -0
- package/dist-esm/samples-dev/billingProfilesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/billingProfilesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingProfilesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingProfilesGetSample.js +51 -0
- package/dist-esm/samples-dev/billingProfilesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/billingProfilesListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingProfilesListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingProfilesListByBillingAccountSample.js +77 -0
- package/dist-esm/samples-dev/billingProfilesListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPropertyGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPropertyGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPropertyGetSample.js +29 -0
- package/dist-esm/samples-dev/billingPropertyGetSample.js.map +1 -0
- package/dist-esm/samples-dev/billingPropertyUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingPropertyUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingPropertyUpdateSample.js +30 -0
- package/dist-esm/samples-dev/billingPropertyUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingAccountSample.js +31 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingProfileSample.js +32 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByInvoiceSectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByInvoiceSectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByInvoiceSectionSample.js +33 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsDeleteByInvoiceSectionSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingAccountSample.js +31 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingProfileSample.js +32 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByInvoiceSectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByInvoiceSectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByInvoiceSectionSample.js +33 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsGetByInvoiceSectionSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingAccountSample.js +44 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByInvoiceSectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByInvoiceSectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByInvoiceSectionSample.js +46 -0
- package/dist-esm/samples-dev/billingRoleAssignmentsListByInvoiceSectionSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingAccountSample.js +31 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingProfileSample.js +32 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByInvoiceSectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByInvoiceSectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByInvoiceSectionSample.js +33 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsGetByInvoiceSectionSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingAccountSample.js +44 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByInvoiceSectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByInvoiceSectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByInvoiceSectionSample.js +46 -0
- package/dist-esm/samples-dev/billingRoleDefinitionsListByInvoiceSectionSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsGetSample.js +30 -0
- package/dist-esm/samples-dev/billingSubscriptionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingAccountSample.js +44 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByCustomerSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByCustomerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByCustomerSample.js +45 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByCustomerSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByInvoiceSectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByInvoiceSectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByInvoiceSectionSample.js +46 -0
- package/dist-esm/samples-dev/billingSubscriptionsListByInvoiceSectionSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsMoveSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsMoveSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsMoveSample.js +33 -0
- package/dist-esm/samples-dev/billingSubscriptionsMoveSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsUpdateSample.js +31 -0
- package/dist-esm/samples-dev/billingSubscriptionsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsValidateMoveSample.d.ts +2 -0
- package/dist-esm/samples-dev/billingSubscriptionsValidateMoveSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/billingSubscriptionsValidateMoveSample.js +53 -0
- package/dist-esm/samples-dev/billingSubscriptionsValidateMoveSample.js.map +1 -0
- package/dist-esm/samples-dev/customersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/customersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/customersGetSample.js +51 -0
- package/dist-esm/samples-dev/customersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/customersListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/customersListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/customersListByBillingAccountSample.js +44 -0
- package/dist-esm/samples-dev/customersListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/customersListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/customersListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/customersListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/customersListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/enrollmentAccountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/enrollmentAccountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/enrollmentAccountsGetSample.js +30 -0
- package/dist-esm/samples-dev/enrollmentAccountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/enrollmentAccountsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/enrollmentAccountsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/enrollmentAccountsListSample.js +43 -0
- package/dist-esm/samples-dev/enrollmentAccountsListSample.js.map +1 -0
- package/dist-esm/samples-dev/instructionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/instructionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instructionsGetSample.js +32 -0
- package/dist-esm/samples-dev/instructionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/instructionsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/instructionsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instructionsListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/instructionsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/instructionsPutSample.d.ts +2 -0
- package/dist-esm/samples-dev/instructionsPutSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instructionsPutSample.js +37 -0
- package/dist-esm/samples-dev/instructionsPutSample.js.map +1 -0
- package/dist-esm/samples-dev/invoiceSectionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoiceSectionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoiceSectionsCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/invoiceSectionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/invoiceSectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoiceSectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoiceSectionsGetSample.js +32 -0
- package/dist-esm/samples-dev/invoiceSectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/invoiceSectionsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoiceSectionsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoiceSectionsListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/invoiceSectionsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadBillingSubscriptionInvoiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesDownloadBillingSubscriptionInvoiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadBillingSubscriptionInvoiceSample.js +31 -0
- package/dist-esm/samples-dev/invoicesDownloadBillingSubscriptionInvoiceSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadInvoiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesDownloadInvoiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadInvoiceSample.js +32 -0
- package/dist-esm/samples-dev/invoicesDownloadInvoiceSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingProfileInvoicesSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingProfileInvoicesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingProfileInvoicesSample.js +35 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingProfileInvoicesSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingSubscriptionInvoicesSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingSubscriptionInvoicesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingSubscriptionInvoicesSample.js +34 -0
- package/dist-esm/samples-dev/invoicesDownloadMultipleBillingSubscriptionInvoicesSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesGetByIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesGetByIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesGetByIdSample.js +30 -0
- package/dist-esm/samples-dev/invoicesGetByIdSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesGetBySubscriptionAndInvoiceIdSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesGetBySubscriptionAndInvoiceIdSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesGetBySubscriptionAndInvoiceIdSample.js +30 -0
- package/dist-esm/samples-dev/invoicesGetBySubscriptionAndInvoiceIdSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesGetSample.js +85 -0
- package/dist-esm/samples-dev/invoicesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesListByBillingAccountSample.js +79 -0
- package/dist-esm/samples-dev/invoicesListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesListByBillingProfileSample.js +81 -0
- package/dist-esm/samples-dev/invoicesListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/invoicesListByBillingSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/invoicesListByBillingSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/invoicesListByBillingSubscriptionSample.js +45 -0
- package/dist-esm/samples-dev/invoicesListByBillingSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/policiesGetByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/policiesGetByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policiesGetByBillingProfileSample.js +31 -0
- package/dist-esm/samples-dev/policiesGetByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/policiesGetByCustomerSample.d.ts +2 -0
- package/dist-esm/samples-dev/policiesGetByCustomerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policiesGetByCustomerSample.js +31 -0
- package/dist-esm/samples-dev/policiesGetByCustomerSample.js.map +1 -0
- package/dist-esm/samples-dev/policiesUpdateCustomerSample.d.ts +2 -0
- package/dist-esm/samples-dev/policiesUpdateCustomerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policiesUpdateCustomerSample.js +32 -0
- package/dist-esm/samples-dev/policiesUpdateCustomerSample.js.map +1 -0
- package/dist-esm/samples-dev/policiesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/policiesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/policiesUpdateSample.js +36 -0
- package/dist-esm/samples-dev/policiesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/productsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsGetSample.js +31 -0
- package/dist-esm/samples-dev/productsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/productsListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsListByBillingAccountSample.js +44 -0
- package/dist-esm/samples-dev/productsListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/productsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsListByBillingProfileSample.js +45 -0
- package/dist-esm/samples-dev/productsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/productsListByCustomerSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsListByCustomerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsListByCustomerSample.js +45 -0
- package/dist-esm/samples-dev/productsListByCustomerSample.js.map +1 -0
- package/dist-esm/samples-dev/productsListByInvoiceSectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsListByInvoiceSectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsListByInvoiceSectionSample.js +46 -0
- package/dist-esm/samples-dev/productsListByInvoiceSectionSample.js.map +1 -0
- package/dist-esm/samples-dev/productsMoveSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsMoveSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsMoveSample.js +34 -0
- package/dist-esm/samples-dev/productsMoveSample.js.map +1 -0
- package/dist-esm/samples-dev/productsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsUpdateSample.js +32 -0
- package/dist-esm/samples-dev/productsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/productsValidateMoveSample.d.ts +2 -0
- package/dist-esm/samples-dev/productsValidateMoveSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/productsValidateMoveSample.js +55 -0
- package/dist-esm/samples-dev/productsValidateMoveSample.js.map +1 -0
- package/dist-esm/samples-dev/reservationsListByBillingAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/reservationsListByBillingAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/reservationsListByBillingAccountSample.js +52 -0
- package/dist-esm/samples-dev/reservationsListByBillingAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/reservationsListByBillingProfileSample.d.ts +2 -0
- package/dist-esm/samples-dev/reservationsListByBillingProfileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/reservationsListByBillingProfileSample.js +53 -0
- package/dist-esm/samples-dev/reservationsListByBillingProfileSample.js.map +1 -0
- package/dist-esm/samples-dev/transactionsListByInvoiceSample.d.ts +2 -0
- package/dist-esm/samples-dev/transactionsListByInvoiceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/transactionsListByInvoiceSample.js +45 -0
- package/dist-esm/samples-dev/transactionsListByInvoiceSample.js.map +1 -0
- package/dist-esm/src/billingManagementClient.d.ts.map +1 -1
- package/dist-esm/src/billingManagementClient.js +25 -6
- package/dist-esm/src/billingManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +168 -40
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +128 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/agreements.d.ts.map +1 -1
- package/dist-esm/src/operations/agreements.js +19 -7
- package/dist-esm/src/operations/agreements.js.map +1 -1
- package/dist-esm/src/operations/billingAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/billingAccounts.js +37 -14
- package/dist-esm/src/operations/billingAccounts.js.map +1 -1
- package/dist-esm/src/operations/billingPeriods.d.ts.map +1 -1
- package/dist-esm/src/operations/billingPeriods.js +19 -7
- package/dist-esm/src/operations/billingPeriods.js.map +1 -1
- package/dist-esm/src/operations/billingPermissions.d.ts.map +1 -1
- package/dist-esm/src/operations/billingPermissions.js +73 -28
- package/dist-esm/src/operations/billingPermissions.js.map +1 -1
- package/dist-esm/src/operations/billingProfiles.d.ts.map +1 -1
- package/dist-esm/src/operations/billingProfiles.js +19 -7
- package/dist-esm/src/operations/billingProfiles.js.map +1 -1
- package/dist-esm/src/operations/billingRoleAssignments.d.ts.map +1 -1
- package/dist-esm/src/operations/billingRoleAssignments.js +55 -21
- package/dist-esm/src/operations/billingRoleAssignments.js.map +1 -1
- package/dist-esm/src/operations/billingRoleDefinitions.d.ts.map +1 -1
- package/dist-esm/src/operations/billingRoleDefinitions.js +55 -21
- package/dist-esm/src/operations/billingRoleDefinitions.js.map +1 -1
- package/dist-esm/src/operations/billingSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/billingSubscriptions.js +73 -28
- package/dist-esm/src/operations/billingSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/customers.d.ts.map +1 -1
- package/dist-esm/src/operations/customers.js +37 -14
- package/dist-esm/src/operations/customers.js.map +1 -1
- package/dist-esm/src/operations/enrollmentAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/enrollmentAccounts.js +19 -7
- package/dist-esm/src/operations/enrollmentAccounts.js.map +1 -1
- package/dist-esm/src/operations/instructions.d.ts.map +1 -1
- package/dist-esm/src/operations/instructions.js +19 -7
- package/dist-esm/src/operations/instructions.js.map +1 -1
- package/dist-esm/src/operations/invoiceSections.d.ts.map +1 -1
- package/dist-esm/src/operations/invoiceSections.js +19 -7
- package/dist-esm/src/operations/invoiceSections.js.map +1 -1
- package/dist-esm/src/operations/invoices.d.ts.map +1 -1
- package/dist-esm/src/operations/invoices.js +55 -21
- package/dist-esm/src/operations/invoices.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/products.d.ts.map +1 -1
- package/dist-esm/src/operations/products.js +73 -28
- package/dist-esm/src/operations/products.js.map +1 -1
- package/dist-esm/src/operations/reservations.d.ts.map +1 -1
- package/dist-esm/src/operations/reservations.js +37 -14
- package/dist-esm/src/operations/reservations.js.map +1 -1
- package/dist-esm/src/operations/transactions.d.ts.map +1 -1
- package/dist-esm/src/operations/transactions.js +19 -7
- package/dist-esm/src/operations/transactions.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +22 -10
- package/review/arm-billing.api.md +134 -259
- package/src/billingManagementClient.ts +35 -5
- package/src/index.ts +1 -0
- package/src/models/index.ts +168 -40
- package/src/operations/agreements.ts +25 -8
- package/src/operations/billingAccounts.ts +46 -20
- package/src/operations/billingPeriods.ts +21 -8
- package/src/operations/billingPermissions.ts +101 -45
- package/src/operations/billingProfiles.ts +25 -8
- package/src/operations/billingRoleAssignments.ts +77 -34
- package/src/operations/billingRoleDefinitions.ts +77 -34
- package/src/operations/billingSubscriptions.ts +101 -45
- package/src/operations/customers.ts +50 -20
- package/src/operations/enrollmentAccounts.ts +21 -8
- package/src/operations/instructions.ts +26 -12
- package/src/operations/invoiceSections.ts +26 -12
- package/src/operations/invoices.ts +80 -40
- package/src/operations/operations.ts +21 -8
- package/src/operations/products.ts +101 -45
- package/src/operations/reservations.ts +50 -20
- package/src/operations/transactions.ts +26 -12
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +8 -2
- package/types/arm-billing.d.ts +177 -40
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var coreClient = require('@azure/core-client');
|
|
6
|
+
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
6
7
|
var tslib = require('tslib');
|
|
7
8
|
var coreLro = require('@azure/core-lro');
|
|
8
9
|
|
|
@@ -25,6 +26,39 @@ function _interopNamespace(e) {
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
29
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
|
30
|
+
|
|
31
|
+
/*
|
|
32
|
+
* Copyright (c) Microsoft Corporation.
|
|
33
|
+
* Licensed under the MIT License.
|
|
34
|
+
*
|
|
35
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
36
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
37
|
+
*/
|
|
38
|
+
const pageMap = new WeakMap();
|
|
39
|
+
/**
|
|
40
|
+
* Given a result page from a pageable operation, returns a
|
|
41
|
+
* continuation token that can be used to begin paging from
|
|
42
|
+
* that point later.
|
|
43
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
44
|
+
* @returns The continuation token that can be passed into byPage().
|
|
45
|
+
*/
|
|
46
|
+
function getContinuationToken(page) {
|
|
47
|
+
var _a;
|
|
48
|
+
if (typeof page !== "object" || page === null) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
52
|
+
}
|
|
53
|
+
function setContinuationToken(page, continuationToken) {
|
|
54
|
+
var _a;
|
|
55
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
59
|
+
pageInfo.continuationToken = continuationToken;
|
|
60
|
+
pageMap.set(page, pageInfo);
|
|
61
|
+
}
|
|
28
62
|
|
|
29
63
|
/*
|
|
30
64
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -36,265 +70,393 @@ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
|
36
70
|
/** Known values of {@link AgreementType} that the service accepts. */
|
|
37
71
|
exports.KnownAgreementType = void 0;
|
|
38
72
|
(function (KnownAgreementType) {
|
|
73
|
+
/** MicrosoftCustomerAgreement */
|
|
39
74
|
KnownAgreementType["MicrosoftCustomerAgreement"] = "MicrosoftCustomerAgreement";
|
|
75
|
+
/** EnterpriseAgreement */
|
|
40
76
|
KnownAgreementType["EnterpriseAgreement"] = "EnterpriseAgreement";
|
|
77
|
+
/** MicrosoftOnlineServicesProgram */
|
|
41
78
|
KnownAgreementType["MicrosoftOnlineServicesProgram"] = "MicrosoftOnlineServicesProgram";
|
|
79
|
+
/** MicrosoftPartnerAgreement */
|
|
42
80
|
KnownAgreementType["MicrosoftPartnerAgreement"] = "MicrosoftPartnerAgreement";
|
|
43
81
|
})(exports.KnownAgreementType || (exports.KnownAgreementType = {}));
|
|
44
82
|
/** Known values of {@link AccountType} that the service accepts. */
|
|
45
83
|
exports.KnownAccountType = void 0;
|
|
46
84
|
(function (KnownAccountType) {
|
|
85
|
+
/** Enterprise */
|
|
47
86
|
KnownAccountType["Enterprise"] = "Enterprise";
|
|
87
|
+
/** Individual */
|
|
48
88
|
KnownAccountType["Individual"] = "Individual";
|
|
89
|
+
/** Partner */
|
|
49
90
|
KnownAccountType["Partner"] = "Partner";
|
|
50
91
|
})(exports.KnownAccountType || (exports.KnownAccountType = {}));
|
|
51
92
|
/** Known values of {@link AccountStatus} that the service accepts. */
|
|
52
93
|
exports.KnownAccountStatus = void 0;
|
|
53
94
|
(function (KnownAccountStatus) {
|
|
95
|
+
/** Active */
|
|
54
96
|
KnownAccountStatus["Active"] = "Active";
|
|
97
|
+
/** Deleted */
|
|
55
98
|
KnownAccountStatus["Deleted"] = "Deleted";
|
|
99
|
+
/** Disabled */
|
|
56
100
|
KnownAccountStatus["Disabled"] = "Disabled";
|
|
101
|
+
/** Expired */
|
|
57
102
|
KnownAccountStatus["Expired"] = "Expired";
|
|
103
|
+
/** Transferred */
|
|
58
104
|
KnownAccountStatus["Transferred"] = "Transferred";
|
|
105
|
+
/** Extended */
|
|
59
106
|
KnownAccountStatus["Extended"] = "Extended";
|
|
107
|
+
/** Terminated */
|
|
60
108
|
KnownAccountStatus["Terminated"] = "Terminated";
|
|
61
109
|
})(exports.KnownAccountStatus || (exports.KnownAccountStatus = {}));
|
|
62
110
|
/** Known values of {@link BillingRelationshipType} that the service accepts. */
|
|
63
111
|
exports.KnownBillingRelationshipType = void 0;
|
|
64
112
|
(function (KnownBillingRelationshipType) {
|
|
113
|
+
/** Direct */
|
|
65
114
|
KnownBillingRelationshipType["Direct"] = "Direct";
|
|
115
|
+
/** IndirectCustomer */
|
|
66
116
|
KnownBillingRelationshipType["IndirectCustomer"] = "IndirectCustomer";
|
|
117
|
+
/** IndirectPartner */
|
|
67
118
|
KnownBillingRelationshipType["IndirectPartner"] = "IndirectPartner";
|
|
119
|
+
/** CSPPartner */
|
|
68
120
|
KnownBillingRelationshipType["CSPPartner"] = "CSPPartner";
|
|
69
121
|
})(exports.KnownBillingRelationshipType || (exports.KnownBillingRelationshipType = {}));
|
|
70
122
|
/** Known values of {@link InvoiceSectionState} that the service accepts. */
|
|
71
123
|
exports.KnownInvoiceSectionState = void 0;
|
|
72
124
|
(function (KnownInvoiceSectionState) {
|
|
125
|
+
/** Active */
|
|
73
126
|
KnownInvoiceSectionState["Active"] = "Active";
|
|
127
|
+
/** Restricted */
|
|
74
128
|
KnownInvoiceSectionState["Restricted"] = "Restricted";
|
|
75
129
|
})(exports.KnownInvoiceSectionState || (exports.KnownInvoiceSectionState = {}));
|
|
76
130
|
/** Known values of {@link TargetCloud} that the service accepts. */
|
|
77
131
|
exports.KnownTargetCloud = void 0;
|
|
78
132
|
(function (KnownTargetCloud) {
|
|
133
|
+
/** USGov */
|
|
79
134
|
KnownTargetCloud["USGov"] = "USGov";
|
|
135
|
+
/** USNat */
|
|
80
136
|
KnownTargetCloud["USNat"] = "USNat";
|
|
137
|
+
/** USSec */
|
|
81
138
|
KnownTargetCloud["USSec"] = "USSec";
|
|
82
139
|
})(exports.KnownTargetCloud || (exports.KnownTargetCloud = {}));
|
|
83
140
|
/** Known values of {@link BillingProfileStatus} that the service accepts. */
|
|
84
141
|
exports.KnownBillingProfileStatus = void 0;
|
|
85
142
|
(function (KnownBillingProfileStatus) {
|
|
143
|
+
/** Active */
|
|
86
144
|
KnownBillingProfileStatus["Active"] = "Active";
|
|
145
|
+
/** Disabled */
|
|
87
146
|
KnownBillingProfileStatus["Disabled"] = "Disabled";
|
|
147
|
+
/** Warned */
|
|
88
148
|
KnownBillingProfileStatus["Warned"] = "Warned";
|
|
89
149
|
})(exports.KnownBillingProfileStatus || (exports.KnownBillingProfileStatus = {}));
|
|
90
150
|
/** Known values of {@link StatusReasonCode} that the service accepts. */
|
|
91
151
|
exports.KnownStatusReasonCode = void 0;
|
|
92
152
|
(function (KnownStatusReasonCode) {
|
|
153
|
+
/** PastDue */
|
|
93
154
|
KnownStatusReasonCode["PastDue"] = "PastDue";
|
|
155
|
+
/** SpendingLimitReached */
|
|
94
156
|
KnownStatusReasonCode["SpendingLimitReached"] = "SpendingLimitReached";
|
|
157
|
+
/** SpendingLimitExpired */
|
|
95
158
|
KnownStatusReasonCode["SpendingLimitExpired"] = "SpendingLimitExpired";
|
|
96
159
|
})(exports.KnownStatusReasonCode || (exports.KnownStatusReasonCode = {}));
|
|
97
160
|
/** Known values of {@link SpendingLimit} that the service accepts. */
|
|
98
161
|
exports.KnownSpendingLimit = void 0;
|
|
99
162
|
(function (KnownSpendingLimit) {
|
|
163
|
+
/** Off */
|
|
100
164
|
KnownSpendingLimit["Off"] = "Off";
|
|
165
|
+
/** On */
|
|
101
166
|
KnownSpendingLimit["On"] = "On";
|
|
102
167
|
})(exports.KnownSpendingLimit || (exports.KnownSpendingLimit = {}));
|
|
103
168
|
/** Known values of {@link StatusReasonCodeForBillingProfile} that the service accepts. */
|
|
104
169
|
exports.KnownStatusReasonCodeForBillingProfile = void 0;
|
|
105
170
|
(function (KnownStatusReasonCodeForBillingProfile) {
|
|
171
|
+
/** PastDue */
|
|
106
172
|
KnownStatusReasonCodeForBillingProfile["PastDue"] = "PastDue";
|
|
173
|
+
/** SpendingLimitReached */
|
|
107
174
|
KnownStatusReasonCodeForBillingProfile["SpendingLimitReached"] = "SpendingLimitReached";
|
|
175
|
+
/** SpendingLimitExpired */
|
|
108
176
|
KnownStatusReasonCodeForBillingProfile["SpendingLimitExpired"] = "SpendingLimitExpired";
|
|
109
177
|
})(exports.KnownStatusReasonCodeForBillingProfile || (exports.KnownStatusReasonCodeForBillingProfile = {}));
|
|
110
178
|
/** Known values of {@link SpendingLimitForBillingProfile} that the service accepts. */
|
|
111
179
|
exports.KnownSpendingLimitForBillingProfile = void 0;
|
|
112
180
|
(function (KnownSpendingLimitForBillingProfile) {
|
|
181
|
+
/** Off */
|
|
113
182
|
KnownSpendingLimitForBillingProfile["Off"] = "Off";
|
|
183
|
+
/** On */
|
|
114
184
|
KnownSpendingLimitForBillingProfile["On"] = "On";
|
|
115
185
|
})(exports.KnownSpendingLimitForBillingProfile || (exports.KnownSpendingLimitForBillingProfile = {}));
|
|
116
186
|
/** Known values of {@link AddressValidationStatus} that the service accepts. */
|
|
117
187
|
exports.KnownAddressValidationStatus = void 0;
|
|
118
188
|
(function (KnownAddressValidationStatus) {
|
|
189
|
+
/** Valid */
|
|
119
190
|
KnownAddressValidationStatus["Valid"] = "Valid";
|
|
191
|
+
/** Invalid */
|
|
120
192
|
KnownAddressValidationStatus["Invalid"] = "Invalid";
|
|
121
193
|
})(exports.KnownAddressValidationStatus || (exports.KnownAddressValidationStatus = {}));
|
|
122
194
|
/** Known values of {@link BillingSubscriptionStatusType} that the service accepts. */
|
|
123
195
|
exports.KnownBillingSubscriptionStatusType = void 0;
|
|
124
196
|
(function (KnownBillingSubscriptionStatusType) {
|
|
197
|
+
/** Active */
|
|
125
198
|
KnownBillingSubscriptionStatusType["Active"] = "Active";
|
|
199
|
+
/** Inactive */
|
|
126
200
|
KnownBillingSubscriptionStatusType["Inactive"] = "Inactive";
|
|
201
|
+
/** Abandoned */
|
|
127
202
|
KnownBillingSubscriptionStatusType["Abandoned"] = "Abandoned";
|
|
203
|
+
/** Deleted */
|
|
128
204
|
KnownBillingSubscriptionStatusType["Deleted"] = "Deleted";
|
|
205
|
+
/** Warning */
|
|
129
206
|
KnownBillingSubscriptionStatusType["Warning"] = "Warning";
|
|
130
207
|
})(exports.KnownBillingSubscriptionStatusType || (exports.KnownBillingSubscriptionStatusType = {}));
|
|
131
208
|
/** Known values of {@link AutoRenew} that the service accepts. */
|
|
132
209
|
exports.KnownAutoRenew = void 0;
|
|
133
210
|
(function (KnownAutoRenew) {
|
|
211
|
+
/** Off */
|
|
134
212
|
KnownAutoRenew["Off"] = "Off";
|
|
213
|
+
/** On */
|
|
135
214
|
KnownAutoRenew["On"] = "On";
|
|
136
215
|
})(exports.KnownAutoRenew || (exports.KnownAutoRenew = {}));
|
|
137
216
|
/** Known values of {@link ProductStatusType} that the service accepts. */
|
|
138
217
|
exports.KnownProductStatusType = void 0;
|
|
139
218
|
(function (KnownProductStatusType) {
|
|
219
|
+
/** Active */
|
|
140
220
|
KnownProductStatusType["Active"] = "Active";
|
|
221
|
+
/** Inactive */
|
|
141
222
|
KnownProductStatusType["Inactive"] = "Inactive";
|
|
223
|
+
/** PastDue */
|
|
142
224
|
KnownProductStatusType["PastDue"] = "PastDue";
|
|
225
|
+
/** Expiring */
|
|
143
226
|
KnownProductStatusType["Expiring"] = "Expiring";
|
|
227
|
+
/** Expired */
|
|
144
228
|
KnownProductStatusType["Expired"] = "Expired";
|
|
229
|
+
/** Disabled */
|
|
145
230
|
KnownProductStatusType["Disabled"] = "Disabled";
|
|
231
|
+
/** Cancelled */
|
|
146
232
|
KnownProductStatusType["Cancelled"] = "Cancelled";
|
|
233
|
+
/** AutoRenew */
|
|
147
234
|
KnownProductStatusType["AutoRenew"] = "AutoRenew";
|
|
148
235
|
})(exports.KnownProductStatusType || (exports.KnownProductStatusType = {}));
|
|
149
236
|
/** Known values of {@link BillingFrequency} that the service accepts. */
|
|
150
237
|
exports.KnownBillingFrequency = void 0;
|
|
151
238
|
(function (KnownBillingFrequency) {
|
|
239
|
+
/** OneTime */
|
|
152
240
|
KnownBillingFrequency["OneTime"] = "OneTime";
|
|
241
|
+
/** Monthly */
|
|
153
242
|
KnownBillingFrequency["Monthly"] = "Monthly";
|
|
243
|
+
/** UsageBased */
|
|
154
244
|
KnownBillingFrequency["UsageBased"] = "UsageBased";
|
|
155
245
|
})(exports.KnownBillingFrequency || (exports.KnownBillingFrequency = {}));
|
|
156
246
|
/** Known values of {@link InvoiceStatus} that the service accepts. */
|
|
157
247
|
exports.KnownInvoiceStatus = void 0;
|
|
158
248
|
(function (KnownInvoiceStatus) {
|
|
249
|
+
/** Due */
|
|
159
250
|
KnownInvoiceStatus["Due"] = "Due";
|
|
251
|
+
/** OverDue */
|
|
160
252
|
KnownInvoiceStatus["OverDue"] = "OverDue";
|
|
253
|
+
/** Paid */
|
|
161
254
|
KnownInvoiceStatus["Paid"] = "Paid";
|
|
255
|
+
/** Void */
|
|
162
256
|
KnownInvoiceStatus["Void"] = "Void";
|
|
163
257
|
})(exports.KnownInvoiceStatus || (exports.KnownInvoiceStatus = {}));
|
|
164
258
|
/** Known values of {@link InvoiceType} that the service accepts. */
|
|
165
259
|
exports.KnownInvoiceType = void 0;
|
|
166
260
|
(function (KnownInvoiceType) {
|
|
261
|
+
/** AzureService */
|
|
167
262
|
KnownInvoiceType["AzureService"] = "AzureService";
|
|
263
|
+
/** AzureMarketplace */
|
|
168
264
|
KnownInvoiceType["AzureMarketplace"] = "AzureMarketplace";
|
|
265
|
+
/** AzureSupport */
|
|
169
266
|
KnownInvoiceType["AzureSupport"] = "AzureSupport";
|
|
170
267
|
})(exports.KnownInvoiceType || (exports.KnownInvoiceType = {}));
|
|
171
268
|
/** Known values of {@link DocumentType} that the service accepts. */
|
|
172
269
|
exports.KnownDocumentType = void 0;
|
|
173
270
|
(function (KnownDocumentType) {
|
|
271
|
+
/** Invoice */
|
|
174
272
|
KnownDocumentType["Invoice"] = "Invoice";
|
|
273
|
+
/** VoidNote */
|
|
175
274
|
KnownDocumentType["VoidNote"] = "VoidNote";
|
|
275
|
+
/** TaxReceipt */
|
|
176
276
|
KnownDocumentType["TaxReceipt"] = "TaxReceipt";
|
|
277
|
+
/** CreditNote */
|
|
177
278
|
KnownDocumentType["CreditNote"] = "CreditNote";
|
|
178
279
|
})(exports.KnownDocumentType || (exports.KnownDocumentType = {}));
|
|
179
280
|
/** Known values of {@link DocumentSource} that the service accepts. */
|
|
180
281
|
exports.KnownDocumentSource = void 0;
|
|
181
282
|
(function (KnownDocumentSource) {
|
|
283
|
+
/** DRS */
|
|
182
284
|
KnownDocumentSource["DRS"] = "DRS";
|
|
285
|
+
/** ENF */
|
|
183
286
|
KnownDocumentSource["ENF"] = "ENF";
|
|
184
287
|
})(exports.KnownDocumentSource || (exports.KnownDocumentSource = {}));
|
|
185
288
|
/** Known values of {@link PaymentMethodFamily} that the service accepts. */
|
|
186
289
|
exports.KnownPaymentMethodFamily = void 0;
|
|
187
290
|
(function (KnownPaymentMethodFamily) {
|
|
291
|
+
/** Credits */
|
|
188
292
|
KnownPaymentMethodFamily["Credits"] = "Credits";
|
|
293
|
+
/** CheckWire */
|
|
189
294
|
KnownPaymentMethodFamily["CheckWire"] = "CheckWire";
|
|
295
|
+
/** CreditCard */
|
|
190
296
|
KnownPaymentMethodFamily["CreditCard"] = "CreditCard";
|
|
297
|
+
/** None */
|
|
191
298
|
KnownPaymentMethodFamily["None"] = "None";
|
|
192
299
|
})(exports.KnownPaymentMethodFamily || (exports.KnownPaymentMethodFamily = {}));
|
|
193
300
|
/** Known values of {@link InvoiceDocumentType} that the service accepts. */
|
|
194
301
|
exports.KnownInvoiceDocumentType = void 0;
|
|
195
302
|
(function (KnownInvoiceDocumentType) {
|
|
303
|
+
/** Invoice */
|
|
196
304
|
KnownInvoiceDocumentType["Invoice"] = "Invoice";
|
|
305
|
+
/** CreditNote */
|
|
197
306
|
KnownInvoiceDocumentType["CreditNote"] = "CreditNote";
|
|
198
307
|
})(exports.KnownInvoiceDocumentType || (exports.KnownInvoiceDocumentType = {}));
|
|
199
308
|
/** Known values of {@link SubscriptionTransferValidationErrorCode} that the service accepts. */
|
|
200
309
|
exports.KnownSubscriptionTransferValidationErrorCode = void 0;
|
|
201
310
|
(function (KnownSubscriptionTransferValidationErrorCode) {
|
|
311
|
+
/** BillingAccountInactive */
|
|
202
312
|
KnownSubscriptionTransferValidationErrorCode["BillingAccountInactive"] = "BillingAccountInactive";
|
|
313
|
+
/** CrossBillingAccountNotAllowed */
|
|
203
314
|
KnownSubscriptionTransferValidationErrorCode["CrossBillingAccountNotAllowed"] = "CrossBillingAccountNotAllowed";
|
|
315
|
+
/** DestinationBillingProfileInactive */
|
|
204
316
|
KnownSubscriptionTransferValidationErrorCode["DestinationBillingProfileInactive"] = "DestinationBillingProfileInactive";
|
|
317
|
+
/** DestinationBillingProfileNotFound */
|
|
205
318
|
KnownSubscriptionTransferValidationErrorCode["DestinationBillingProfileNotFound"] = "DestinationBillingProfileNotFound";
|
|
319
|
+
/** DestinationBillingProfilePastDue */
|
|
206
320
|
KnownSubscriptionTransferValidationErrorCode["DestinationBillingProfilePastDue"] = "DestinationBillingProfilePastDue";
|
|
321
|
+
/** DestinationInvoiceSectionInactive */
|
|
207
322
|
KnownSubscriptionTransferValidationErrorCode["DestinationInvoiceSectionInactive"] = "DestinationInvoiceSectionInactive";
|
|
323
|
+
/** DestinationInvoiceSectionNotFound */
|
|
208
324
|
KnownSubscriptionTransferValidationErrorCode["DestinationInvoiceSectionNotFound"] = "DestinationInvoiceSectionNotFound";
|
|
325
|
+
/** InsufficientPermissionOnDestination */
|
|
209
326
|
KnownSubscriptionTransferValidationErrorCode["InsufficientPermissionOnDestination"] = "InsufficientPermissionOnDestination";
|
|
327
|
+
/** InsufficientPermissionOnSource */
|
|
210
328
|
KnownSubscriptionTransferValidationErrorCode["InsufficientPermissionOnSource"] = "InsufficientPermissionOnSource";
|
|
329
|
+
/** InvalidDestination */
|
|
211
330
|
KnownSubscriptionTransferValidationErrorCode["InvalidDestination"] = "InvalidDestination";
|
|
331
|
+
/** InvalidSource */
|
|
212
332
|
KnownSubscriptionTransferValidationErrorCode["InvalidSource"] = "InvalidSource";
|
|
333
|
+
/** MarketplaceNotEnabledOnDestination */
|
|
213
334
|
KnownSubscriptionTransferValidationErrorCode["MarketplaceNotEnabledOnDestination"] = "MarketplaceNotEnabledOnDestination";
|
|
335
|
+
/** NotAvailableForDestinationMarket */
|
|
214
336
|
KnownSubscriptionTransferValidationErrorCode["NotAvailableForDestinationMarket"] = "NotAvailableForDestinationMarket";
|
|
337
|
+
/** ProductInactive */
|
|
215
338
|
KnownSubscriptionTransferValidationErrorCode["ProductInactive"] = "ProductInactive";
|
|
339
|
+
/** ProductNotFound */
|
|
216
340
|
KnownSubscriptionTransferValidationErrorCode["ProductNotFound"] = "ProductNotFound";
|
|
341
|
+
/** ProductTypeNotSupported */
|
|
217
342
|
KnownSubscriptionTransferValidationErrorCode["ProductTypeNotSupported"] = "ProductTypeNotSupported";
|
|
343
|
+
/** SourceBillingProfilePastDue */
|
|
218
344
|
KnownSubscriptionTransferValidationErrorCode["SourceBillingProfilePastDue"] = "SourceBillingProfilePastDue";
|
|
345
|
+
/** SourceInvoiceSectionInactive */
|
|
219
346
|
KnownSubscriptionTransferValidationErrorCode["SourceInvoiceSectionInactive"] = "SourceInvoiceSectionInactive";
|
|
347
|
+
/** SubscriptionNotActive */
|
|
220
348
|
KnownSubscriptionTransferValidationErrorCode["SubscriptionNotActive"] = "SubscriptionNotActive";
|
|
349
|
+
/** SubscriptionTypeNotSupported */
|
|
221
350
|
KnownSubscriptionTransferValidationErrorCode["SubscriptionTypeNotSupported"] = "SubscriptionTypeNotSupported";
|
|
222
351
|
})(exports.KnownSubscriptionTransferValidationErrorCode || (exports.KnownSubscriptionTransferValidationErrorCode = {}));
|
|
223
352
|
/** Known values of {@link ProductTransferValidationErrorCode} that the service accepts. */
|
|
224
353
|
exports.KnownProductTransferValidationErrorCode = void 0;
|
|
225
354
|
(function (KnownProductTransferValidationErrorCode) {
|
|
355
|
+
/** InvalidSource */
|
|
226
356
|
KnownProductTransferValidationErrorCode["InvalidSource"] = "InvalidSource";
|
|
357
|
+
/** ProductNotActive */
|
|
227
358
|
KnownProductTransferValidationErrorCode["ProductNotActive"] = "ProductNotActive";
|
|
359
|
+
/** InsufficientPermissionOnSource */
|
|
228
360
|
KnownProductTransferValidationErrorCode["InsufficientPermissionOnSource"] = "InsufficientPermissionOnSource";
|
|
361
|
+
/** InsufficientPermissionOnDestination */
|
|
229
362
|
KnownProductTransferValidationErrorCode["InsufficientPermissionOnDestination"] = "InsufficientPermissionOnDestination";
|
|
363
|
+
/** DestinationBillingProfilePastDue */
|
|
230
364
|
KnownProductTransferValidationErrorCode["DestinationBillingProfilePastDue"] = "DestinationBillingProfilePastDue";
|
|
365
|
+
/** ProductTypeNotSupported */
|
|
231
366
|
KnownProductTransferValidationErrorCode["ProductTypeNotSupported"] = "ProductTypeNotSupported";
|
|
367
|
+
/** CrossBillingAccountNotAllowed */
|
|
232
368
|
KnownProductTransferValidationErrorCode["CrossBillingAccountNotAllowed"] = "CrossBillingAccountNotAllowed";
|
|
369
|
+
/** NotAvailableForDestinationMarket */
|
|
233
370
|
KnownProductTransferValidationErrorCode["NotAvailableForDestinationMarket"] = "NotAvailableForDestinationMarket";
|
|
371
|
+
/** OneTimePurchaseProductTransferNotAllowed */
|
|
234
372
|
KnownProductTransferValidationErrorCode["OneTimePurchaseProductTransferNotAllowed"] = "OneTimePurchaseProductTransferNotAllowed";
|
|
235
373
|
})(exports.KnownProductTransferValidationErrorCode || (exports.KnownProductTransferValidationErrorCode = {}));
|
|
236
374
|
/** Known values of {@link TransactionTypeKind} that the service accepts. */
|
|
237
375
|
exports.KnownTransactionTypeKind = void 0;
|
|
238
376
|
(function (KnownTransactionTypeKind) {
|
|
377
|
+
/** All */
|
|
239
378
|
KnownTransactionTypeKind["All"] = "all";
|
|
379
|
+
/** Reservation */
|
|
240
380
|
KnownTransactionTypeKind["Reservation"] = "reservation";
|
|
241
381
|
})(exports.KnownTransactionTypeKind || (exports.KnownTransactionTypeKind = {}));
|
|
242
382
|
/** Known values of {@link ReservationType} that the service accepts. */
|
|
243
383
|
exports.KnownReservationType = void 0;
|
|
244
384
|
(function (KnownReservationType) {
|
|
385
|
+
/** Purchase */
|
|
245
386
|
KnownReservationType["Purchase"] = "Purchase";
|
|
387
|
+
/** UsageCharge */
|
|
246
388
|
KnownReservationType["UsageCharge"] = "Usage Charge";
|
|
247
389
|
})(exports.KnownReservationType || (exports.KnownReservationType = {}));
|
|
248
390
|
/** Known values of {@link MarketplacePurchasesPolicy} that the service accepts. */
|
|
249
391
|
exports.KnownMarketplacePurchasesPolicy = void 0;
|
|
250
392
|
(function (KnownMarketplacePurchasesPolicy) {
|
|
393
|
+
/** AllAllowed */
|
|
251
394
|
KnownMarketplacePurchasesPolicy["AllAllowed"] = "AllAllowed";
|
|
395
|
+
/** OnlyFreeAllowed */
|
|
252
396
|
KnownMarketplacePurchasesPolicy["OnlyFreeAllowed"] = "OnlyFreeAllowed";
|
|
397
|
+
/** NotAllowed */
|
|
253
398
|
KnownMarketplacePurchasesPolicy["NotAllowed"] = "NotAllowed";
|
|
254
399
|
})(exports.KnownMarketplacePurchasesPolicy || (exports.KnownMarketplacePurchasesPolicy = {}));
|
|
255
400
|
/** Known values of {@link ReservationPurchasesPolicy} that the service accepts. */
|
|
256
401
|
exports.KnownReservationPurchasesPolicy = void 0;
|
|
257
402
|
(function (KnownReservationPurchasesPolicy) {
|
|
403
|
+
/** Allowed */
|
|
258
404
|
KnownReservationPurchasesPolicy["Allowed"] = "Allowed";
|
|
405
|
+
/** NotAllowed */
|
|
259
406
|
KnownReservationPurchasesPolicy["NotAllowed"] = "NotAllowed";
|
|
260
407
|
})(exports.KnownReservationPurchasesPolicy || (exports.KnownReservationPurchasesPolicy = {}));
|
|
261
408
|
/** Known values of {@link ViewChargesPolicy} that the service accepts. */
|
|
262
409
|
exports.KnownViewChargesPolicy = void 0;
|
|
263
410
|
(function (KnownViewChargesPolicy) {
|
|
411
|
+
/** Allowed */
|
|
264
412
|
KnownViewChargesPolicy["Allowed"] = "Allowed";
|
|
413
|
+
/** NotAllowed */
|
|
265
414
|
KnownViewChargesPolicy["NotAllowed"] = "NotAllowed";
|
|
266
415
|
})(exports.KnownViewChargesPolicy || (exports.KnownViewChargesPolicy = {}));
|
|
267
416
|
/** Known values of {@link ViewCharges} that the service accepts. */
|
|
268
417
|
exports.KnownViewCharges = void 0;
|
|
269
418
|
(function (KnownViewCharges) {
|
|
419
|
+
/** Allowed */
|
|
270
420
|
KnownViewCharges["Allowed"] = "Allowed";
|
|
421
|
+
/** NotAllowed */
|
|
271
422
|
KnownViewCharges["NotAllowed"] = "NotAllowed";
|
|
272
423
|
})(exports.KnownViewCharges || (exports.KnownViewCharges = {}));
|
|
273
424
|
/** Known values of {@link BillingProfileStatusReasonCode} that the service accepts. */
|
|
274
425
|
exports.KnownBillingProfileStatusReasonCode = void 0;
|
|
275
426
|
(function (KnownBillingProfileStatusReasonCode) {
|
|
427
|
+
/** PastDue */
|
|
276
428
|
KnownBillingProfileStatusReasonCode["PastDue"] = "PastDue";
|
|
429
|
+
/** SpendingLimitReached */
|
|
277
430
|
KnownBillingProfileStatusReasonCode["SpendingLimitReached"] = "SpendingLimitReached";
|
|
431
|
+
/** SpendingLimitExpired */
|
|
278
432
|
KnownBillingProfileStatusReasonCode["SpendingLimitExpired"] = "SpendingLimitExpired";
|
|
279
433
|
})(exports.KnownBillingProfileStatusReasonCode || (exports.KnownBillingProfileStatusReasonCode = {}));
|
|
280
434
|
/** Known values of {@link BillingProfileSpendingLimit} that the service accepts. */
|
|
281
435
|
exports.KnownBillingProfileSpendingLimit = void 0;
|
|
282
436
|
(function (KnownBillingProfileSpendingLimit) {
|
|
437
|
+
/** Off */
|
|
283
438
|
KnownBillingProfileSpendingLimit["Off"] = "Off";
|
|
439
|
+
/** On */
|
|
284
440
|
KnownBillingProfileSpendingLimit["On"] = "On";
|
|
285
441
|
})(exports.KnownBillingProfileSpendingLimit || (exports.KnownBillingProfileSpendingLimit = {}));
|
|
286
442
|
/** Known values of {@link Category} that the service accepts. */
|
|
287
443
|
exports.KnownCategory = void 0;
|
|
288
444
|
(function (KnownCategory) {
|
|
445
|
+
/** MicrosoftCustomerAgreement */
|
|
289
446
|
KnownCategory["MicrosoftCustomerAgreement"] = "MicrosoftCustomerAgreement";
|
|
447
|
+
/** AffiliatePurchaseTerms */
|
|
290
448
|
KnownCategory["AffiliatePurchaseTerms"] = "AffiliatePurchaseTerms";
|
|
449
|
+
/** Other */
|
|
291
450
|
KnownCategory["Other"] = "Other";
|
|
292
451
|
})(exports.KnownCategory || (exports.KnownCategory = {}));
|
|
293
452
|
/** Known values of {@link AcceptanceMode} that the service accepts. */
|
|
294
453
|
exports.KnownAcceptanceMode = void 0;
|
|
295
454
|
(function (KnownAcceptanceMode) {
|
|
455
|
+
/** ClickToAccept */
|
|
296
456
|
KnownAcceptanceMode["ClickToAccept"] = "ClickToAccept";
|
|
457
|
+
/** ESignEmbedded */
|
|
297
458
|
KnownAcceptanceMode["ESignEmbedded"] = "ESignEmbedded";
|
|
459
|
+
/** ESignOffline */
|
|
298
460
|
KnownAcceptanceMode["ESignOffline"] = "ESignOffline";
|
|
299
461
|
})(exports.KnownAcceptanceMode || (exports.KnownAcceptanceMode = {}));
|
|
300
462
|
|
|
@@ -4331,20 +4493,31 @@ class BillingAccountsImpl {
|
|
|
4331
4493
|
[Symbol.asyncIterator]() {
|
|
4332
4494
|
return this;
|
|
4333
4495
|
},
|
|
4334
|
-
byPage: () => {
|
|
4335
|
-
|
|
4496
|
+
byPage: (settings) => {
|
|
4497
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4498
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4499
|
+
}
|
|
4500
|
+
return this.listPagingPage(options, settings);
|
|
4336
4501
|
}
|
|
4337
4502
|
};
|
|
4338
4503
|
}
|
|
4339
|
-
listPagingPage(options) {
|
|
4504
|
+
listPagingPage(options, settings) {
|
|
4340
4505
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
4341
|
-
let result
|
|
4342
|
-
|
|
4343
|
-
|
|
4506
|
+
let result;
|
|
4507
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4508
|
+
if (!continuationToken) {
|
|
4509
|
+
result = yield tslib.__await(this._list(options));
|
|
4510
|
+
let page = result.value || [];
|
|
4511
|
+
continuationToken = result.nextLink;
|
|
4512
|
+
setContinuationToken(page, continuationToken);
|
|
4513
|
+
yield yield tslib.__await(page);
|
|
4514
|
+
}
|
|
4344
4515
|
while (continuationToken) {
|
|
4345
4516
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
4346
4517
|
continuationToken = result.nextLink;
|
|
4347
|
-
|
|
4518
|
+
let page = result.value || [];
|
|
4519
|
+
setContinuationToken(page, continuationToken);
|
|
4520
|
+
yield yield tslib.__await(page);
|
|
4348
4521
|
}
|
|
4349
4522
|
});
|
|
4350
4523
|
}
|
|
@@ -4381,20 +4554,31 @@ class BillingAccountsImpl {
|
|
|
4381
4554
|
[Symbol.asyncIterator]() {
|
|
4382
4555
|
return this;
|
|
4383
4556
|
},
|
|
4384
|
-
byPage: () => {
|
|
4385
|
-
|
|
4557
|
+
byPage: (settings) => {
|
|
4558
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4559
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4560
|
+
}
|
|
4561
|
+
return this.listInvoiceSectionsByCreateSubscriptionPermissionPagingPage(billingAccountName, options, settings);
|
|
4386
4562
|
}
|
|
4387
4563
|
};
|
|
4388
4564
|
}
|
|
4389
|
-
listInvoiceSectionsByCreateSubscriptionPermissionPagingPage(billingAccountName, options) {
|
|
4565
|
+
listInvoiceSectionsByCreateSubscriptionPermissionPagingPage(billingAccountName, options, settings) {
|
|
4390
4566
|
return tslib.__asyncGenerator(this, arguments, function* listInvoiceSectionsByCreateSubscriptionPermissionPagingPage_1() {
|
|
4391
|
-
let result
|
|
4392
|
-
|
|
4393
|
-
|
|
4567
|
+
let result;
|
|
4568
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4569
|
+
if (!continuationToken) {
|
|
4570
|
+
result = yield tslib.__await(this._listInvoiceSectionsByCreateSubscriptionPermission(billingAccountName, options));
|
|
4571
|
+
let page = result.value || [];
|
|
4572
|
+
continuationToken = result.nextLink;
|
|
4573
|
+
setContinuationToken(page, continuationToken);
|
|
4574
|
+
yield yield tslib.__await(page);
|
|
4575
|
+
}
|
|
4394
4576
|
while (continuationToken) {
|
|
4395
4577
|
result = yield tslib.__await(this._listInvoiceSectionsByCreateSubscriptionPermissionNext(billingAccountName, continuationToken, options));
|
|
4396
4578
|
continuationToken = result.nextLink;
|
|
4397
|
-
|
|
4579
|
+
let page = result.value || [];
|
|
4580
|
+
setContinuationToken(page, continuationToken);
|
|
4581
|
+
yield yield tslib.__await(page);
|
|
4398
4582
|
}
|
|
4399
4583
|
});
|
|
4400
4584
|
}
|
|
@@ -4757,20 +4941,31 @@ class InstructionsImpl {
|
|
|
4757
4941
|
[Symbol.asyncIterator]() {
|
|
4758
4942
|
return this;
|
|
4759
4943
|
},
|
|
4760
|
-
byPage: () => {
|
|
4761
|
-
|
|
4944
|
+
byPage: (settings) => {
|
|
4945
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4946
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
4947
|
+
}
|
|
4948
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
4762
4949
|
}
|
|
4763
4950
|
};
|
|
4764
4951
|
}
|
|
4765
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
4952
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
4766
4953
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
4767
|
-
let result
|
|
4768
|
-
|
|
4769
|
-
|
|
4954
|
+
let result;
|
|
4955
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4956
|
+
if (!continuationToken) {
|
|
4957
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
4958
|
+
let page = result.value || [];
|
|
4959
|
+
continuationToken = result.nextLink;
|
|
4960
|
+
setContinuationToken(page, continuationToken);
|
|
4961
|
+
yield yield tslib.__await(page);
|
|
4962
|
+
}
|
|
4770
4963
|
while (continuationToken) {
|
|
4771
4964
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
4772
4965
|
continuationToken = result.nextLink;
|
|
4773
|
-
|
|
4966
|
+
let page = result.value || [];
|
|
4967
|
+
setContinuationToken(page, continuationToken);
|
|
4968
|
+
yield yield tslib.__await(page);
|
|
4774
4969
|
}
|
|
4775
4970
|
});
|
|
4776
4971
|
}
|
|
@@ -4961,20 +5156,31 @@ class BillingProfilesImpl {
|
|
|
4961
5156
|
[Symbol.asyncIterator]() {
|
|
4962
5157
|
return this;
|
|
4963
5158
|
},
|
|
4964
|
-
byPage: () => {
|
|
4965
|
-
|
|
5159
|
+
byPage: (settings) => {
|
|
5160
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5161
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5162
|
+
}
|
|
5163
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
4966
5164
|
}
|
|
4967
5165
|
};
|
|
4968
5166
|
}
|
|
4969
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
5167
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
4970
5168
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
4971
|
-
let result
|
|
4972
|
-
|
|
4973
|
-
|
|
5169
|
+
let result;
|
|
5170
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5171
|
+
if (!continuationToken) {
|
|
5172
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
5173
|
+
let page = result.value || [];
|
|
5174
|
+
continuationToken = result.nextLink;
|
|
5175
|
+
setContinuationToken(page, continuationToken);
|
|
5176
|
+
yield yield tslib.__await(page);
|
|
5177
|
+
}
|
|
4974
5178
|
while (continuationToken) {
|
|
4975
5179
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
4976
5180
|
continuationToken = result.nextLink;
|
|
4977
|
-
|
|
5181
|
+
let page = result.value || [];
|
|
5182
|
+
setContinuationToken(page, continuationToken);
|
|
5183
|
+
yield yield tslib.__await(page);
|
|
4978
5184
|
}
|
|
4979
5185
|
});
|
|
4980
5186
|
}
|
|
@@ -5203,20 +5409,31 @@ class CustomersImpl {
|
|
|
5203
5409
|
[Symbol.asyncIterator]() {
|
|
5204
5410
|
return this;
|
|
5205
5411
|
},
|
|
5206
|
-
byPage: () => {
|
|
5207
|
-
|
|
5412
|
+
byPage: (settings) => {
|
|
5413
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5414
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5415
|
+
}
|
|
5416
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
5208
5417
|
}
|
|
5209
5418
|
};
|
|
5210
5419
|
}
|
|
5211
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
5420
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
5212
5421
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
5213
|
-
let result
|
|
5214
|
-
|
|
5215
|
-
|
|
5422
|
+
let result;
|
|
5423
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5424
|
+
if (!continuationToken) {
|
|
5425
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
5426
|
+
let page = result.value || [];
|
|
5427
|
+
continuationToken = result.nextLink;
|
|
5428
|
+
setContinuationToken(page, continuationToken);
|
|
5429
|
+
yield yield tslib.__await(page);
|
|
5430
|
+
}
|
|
5216
5431
|
while (continuationToken) {
|
|
5217
5432
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
5218
5433
|
continuationToken = result.nextLink;
|
|
5219
|
-
|
|
5434
|
+
let page = result.value || [];
|
|
5435
|
+
setContinuationToken(page, continuationToken);
|
|
5436
|
+
yield yield tslib.__await(page);
|
|
5220
5437
|
}
|
|
5221
5438
|
});
|
|
5222
5439
|
}
|
|
@@ -5253,20 +5470,31 @@ class CustomersImpl {
|
|
|
5253
5470
|
[Symbol.asyncIterator]() {
|
|
5254
5471
|
return this;
|
|
5255
5472
|
},
|
|
5256
|
-
byPage: () => {
|
|
5257
|
-
|
|
5473
|
+
byPage: (settings) => {
|
|
5474
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5475
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5476
|
+
}
|
|
5477
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
5258
5478
|
}
|
|
5259
5479
|
};
|
|
5260
5480
|
}
|
|
5261
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
5481
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
5262
5482
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
5263
|
-
let result
|
|
5264
|
-
|
|
5265
|
-
|
|
5483
|
+
let result;
|
|
5484
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5485
|
+
if (!continuationToken) {
|
|
5486
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
5487
|
+
let page = result.value || [];
|
|
5488
|
+
continuationToken = result.nextLink;
|
|
5489
|
+
setContinuationToken(page, continuationToken);
|
|
5490
|
+
yield yield tslib.__await(page);
|
|
5491
|
+
}
|
|
5266
5492
|
while (continuationToken) {
|
|
5267
5493
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
5268
5494
|
continuationToken = result.nextLink;
|
|
5269
|
-
|
|
5495
|
+
let page = result.value || [];
|
|
5496
|
+
setContinuationToken(page, continuationToken);
|
|
5497
|
+
yield yield tslib.__await(page);
|
|
5270
5498
|
}
|
|
5271
5499
|
});
|
|
5272
5500
|
}
|
|
@@ -5486,20 +5714,31 @@ class InvoiceSectionsImpl {
|
|
|
5486
5714
|
[Symbol.asyncIterator]() {
|
|
5487
5715
|
return this;
|
|
5488
5716
|
},
|
|
5489
|
-
byPage: () => {
|
|
5490
|
-
|
|
5717
|
+
byPage: (settings) => {
|
|
5718
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5719
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5720
|
+
}
|
|
5721
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
5491
5722
|
}
|
|
5492
5723
|
};
|
|
5493
5724
|
}
|
|
5494
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
5725
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
5495
5726
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
5496
|
-
let result
|
|
5497
|
-
|
|
5498
|
-
|
|
5727
|
+
let result;
|
|
5728
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5729
|
+
if (!continuationToken) {
|
|
5730
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
5731
|
+
let page = result.value || [];
|
|
5732
|
+
continuationToken = result.nextLink;
|
|
5733
|
+
setContinuationToken(page, continuationToken);
|
|
5734
|
+
yield yield tslib.__await(page);
|
|
5735
|
+
}
|
|
5499
5736
|
while (continuationToken) {
|
|
5500
5737
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
5501
5738
|
continuationToken = result.nextLink;
|
|
5502
|
-
|
|
5739
|
+
let page = result.value || [];
|
|
5740
|
+
setContinuationToken(page, continuationToken);
|
|
5741
|
+
yield yield tslib.__await(page);
|
|
5503
5742
|
}
|
|
5504
5743
|
});
|
|
5505
5744
|
}
|
|
@@ -5745,20 +5984,31 @@ class BillingPermissionsImpl {
|
|
|
5745
5984
|
[Symbol.asyncIterator]() {
|
|
5746
5985
|
return this;
|
|
5747
5986
|
},
|
|
5748
|
-
byPage: () => {
|
|
5749
|
-
|
|
5987
|
+
byPage: (settings) => {
|
|
5988
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
5989
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
5990
|
+
}
|
|
5991
|
+
return this.listByCustomerPagingPage(billingAccountName, customerName, options, settings);
|
|
5750
5992
|
}
|
|
5751
5993
|
};
|
|
5752
5994
|
}
|
|
5753
|
-
listByCustomerPagingPage(billingAccountName, customerName, options) {
|
|
5995
|
+
listByCustomerPagingPage(billingAccountName, customerName, options, settings) {
|
|
5754
5996
|
return tslib.__asyncGenerator(this, arguments, function* listByCustomerPagingPage_1() {
|
|
5755
|
-
let result
|
|
5756
|
-
|
|
5757
|
-
|
|
5997
|
+
let result;
|
|
5998
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
5999
|
+
if (!continuationToken) {
|
|
6000
|
+
result = yield tslib.__await(this._listByCustomer(billingAccountName, customerName, options));
|
|
6001
|
+
let page = result.value || [];
|
|
6002
|
+
continuationToken = result.nextLink;
|
|
6003
|
+
setContinuationToken(page, continuationToken);
|
|
6004
|
+
yield yield tslib.__await(page);
|
|
6005
|
+
}
|
|
5758
6006
|
while (continuationToken) {
|
|
5759
6007
|
result = yield tslib.__await(this._listByCustomerNext(billingAccountName, customerName, continuationToken, options));
|
|
5760
6008
|
continuationToken = result.nextLink;
|
|
5761
|
-
|
|
6009
|
+
let page = result.value || [];
|
|
6010
|
+
setContinuationToken(page, continuationToken);
|
|
6011
|
+
yield yield tslib.__await(page);
|
|
5762
6012
|
}
|
|
5763
6013
|
});
|
|
5764
6014
|
}
|
|
@@ -5794,20 +6044,31 @@ class BillingPermissionsImpl {
|
|
|
5794
6044
|
[Symbol.asyncIterator]() {
|
|
5795
6045
|
return this;
|
|
5796
6046
|
},
|
|
5797
|
-
byPage: () => {
|
|
5798
|
-
|
|
6047
|
+
byPage: (settings) => {
|
|
6048
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6049
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6050
|
+
}
|
|
6051
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
5799
6052
|
}
|
|
5800
6053
|
};
|
|
5801
6054
|
}
|
|
5802
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
6055
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
5803
6056
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
5804
|
-
let result
|
|
5805
|
-
|
|
5806
|
-
|
|
6057
|
+
let result;
|
|
6058
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6059
|
+
if (!continuationToken) {
|
|
6060
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
6061
|
+
let page = result.value || [];
|
|
6062
|
+
continuationToken = result.nextLink;
|
|
6063
|
+
setContinuationToken(page, continuationToken);
|
|
6064
|
+
yield yield tslib.__await(page);
|
|
6065
|
+
}
|
|
5807
6066
|
while (continuationToken) {
|
|
5808
6067
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
5809
6068
|
continuationToken = result.nextLink;
|
|
5810
|
-
|
|
6069
|
+
let page = result.value || [];
|
|
6070
|
+
setContinuationToken(page, continuationToken);
|
|
6071
|
+
yield yield tslib.__await(page);
|
|
5811
6072
|
}
|
|
5812
6073
|
});
|
|
5813
6074
|
}
|
|
@@ -5845,20 +6106,31 @@ class BillingPermissionsImpl {
|
|
|
5845
6106
|
[Symbol.asyncIterator]() {
|
|
5846
6107
|
return this;
|
|
5847
6108
|
},
|
|
5848
|
-
byPage: () => {
|
|
5849
|
-
|
|
6109
|
+
byPage: (settings) => {
|
|
6110
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6111
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6112
|
+
}
|
|
6113
|
+
return this.listByInvoiceSectionsPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings);
|
|
5850
6114
|
}
|
|
5851
6115
|
};
|
|
5852
6116
|
}
|
|
5853
|
-
listByInvoiceSectionsPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
6117
|
+
listByInvoiceSectionsPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings) {
|
|
5854
6118
|
return tslib.__asyncGenerator(this, arguments, function* listByInvoiceSectionsPagingPage_1() {
|
|
5855
|
-
let result
|
|
5856
|
-
|
|
5857
|
-
|
|
6119
|
+
let result;
|
|
6120
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6121
|
+
if (!continuationToken) {
|
|
6122
|
+
result = yield tslib.__await(this._listByInvoiceSections(billingAccountName, billingProfileName, invoiceSectionName, options));
|
|
6123
|
+
let page = result.value || [];
|
|
6124
|
+
continuationToken = result.nextLink;
|
|
6125
|
+
setContinuationToken(page, continuationToken);
|
|
6126
|
+
yield yield tslib.__await(page);
|
|
6127
|
+
}
|
|
5858
6128
|
while (continuationToken) {
|
|
5859
6129
|
result = yield tslib.__await(this._listByInvoiceSectionsNext(billingAccountName, billingProfileName, invoiceSectionName, continuationToken, options));
|
|
5860
6130
|
continuationToken = result.nextLink;
|
|
5861
|
-
|
|
6131
|
+
let page = result.value || [];
|
|
6132
|
+
setContinuationToken(page, continuationToken);
|
|
6133
|
+
yield yield tslib.__await(page);
|
|
5862
6134
|
}
|
|
5863
6135
|
});
|
|
5864
6136
|
}
|
|
@@ -5895,20 +6167,31 @@ class BillingPermissionsImpl {
|
|
|
5895
6167
|
[Symbol.asyncIterator]() {
|
|
5896
6168
|
return this;
|
|
5897
6169
|
},
|
|
5898
|
-
byPage: () => {
|
|
5899
|
-
|
|
6170
|
+
byPage: (settings) => {
|
|
6171
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6172
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6173
|
+
}
|
|
6174
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
5900
6175
|
}
|
|
5901
6176
|
};
|
|
5902
6177
|
}
|
|
5903
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
6178
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
5904
6179
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
5905
|
-
let result
|
|
5906
|
-
|
|
5907
|
-
|
|
6180
|
+
let result;
|
|
6181
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6182
|
+
if (!continuationToken) {
|
|
6183
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
6184
|
+
let page = result.value || [];
|
|
6185
|
+
continuationToken = result.nextLink;
|
|
6186
|
+
setContinuationToken(page, continuationToken);
|
|
6187
|
+
yield yield tslib.__await(page);
|
|
6188
|
+
}
|
|
5908
6189
|
while (continuationToken) {
|
|
5909
6190
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
5910
6191
|
continuationToken = result.nextLink;
|
|
5911
|
-
|
|
6192
|
+
let page = result.value || [];
|
|
6193
|
+
setContinuationToken(page, continuationToken);
|
|
6194
|
+
yield yield tslib.__await(page);
|
|
5912
6195
|
}
|
|
5913
6196
|
});
|
|
5914
6197
|
}
|
|
@@ -6210,20 +6493,31 @@ class BillingSubscriptionsImpl {
|
|
|
6210
6493
|
[Symbol.asyncIterator]() {
|
|
6211
6494
|
return this;
|
|
6212
6495
|
},
|
|
6213
|
-
byPage: () => {
|
|
6214
|
-
|
|
6496
|
+
byPage: (settings) => {
|
|
6497
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6498
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6499
|
+
}
|
|
6500
|
+
return this.listByCustomerPagingPage(billingAccountName, customerName, options, settings);
|
|
6215
6501
|
}
|
|
6216
6502
|
};
|
|
6217
6503
|
}
|
|
6218
|
-
listByCustomerPagingPage(billingAccountName, customerName, options) {
|
|
6504
|
+
listByCustomerPagingPage(billingAccountName, customerName, options, settings) {
|
|
6219
6505
|
return tslib.__asyncGenerator(this, arguments, function* listByCustomerPagingPage_1() {
|
|
6220
|
-
let result
|
|
6221
|
-
|
|
6222
|
-
|
|
6506
|
+
let result;
|
|
6507
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6508
|
+
if (!continuationToken) {
|
|
6509
|
+
result = yield tslib.__await(this._listByCustomer(billingAccountName, customerName, options));
|
|
6510
|
+
let page = result.value || [];
|
|
6511
|
+
continuationToken = result.nextLink;
|
|
6512
|
+
setContinuationToken(page, continuationToken);
|
|
6513
|
+
yield yield tslib.__await(page);
|
|
6514
|
+
}
|
|
6223
6515
|
while (continuationToken) {
|
|
6224
6516
|
result = yield tslib.__await(this._listByCustomerNext(billingAccountName, customerName, continuationToken, options));
|
|
6225
6517
|
continuationToken = result.nextLink;
|
|
6226
|
-
|
|
6518
|
+
let page = result.value || [];
|
|
6519
|
+
setContinuationToken(page, continuationToken);
|
|
6520
|
+
yield yield tslib.__await(page);
|
|
6227
6521
|
}
|
|
6228
6522
|
});
|
|
6229
6523
|
}
|
|
@@ -6260,20 +6554,31 @@ class BillingSubscriptionsImpl {
|
|
|
6260
6554
|
[Symbol.asyncIterator]() {
|
|
6261
6555
|
return this;
|
|
6262
6556
|
},
|
|
6263
|
-
byPage: () => {
|
|
6264
|
-
|
|
6557
|
+
byPage: (settings) => {
|
|
6558
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6559
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6560
|
+
}
|
|
6561
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
6265
6562
|
}
|
|
6266
6563
|
};
|
|
6267
6564
|
}
|
|
6268
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
6565
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
6269
6566
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
6270
|
-
let result
|
|
6271
|
-
|
|
6272
|
-
|
|
6567
|
+
let result;
|
|
6568
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6569
|
+
if (!continuationToken) {
|
|
6570
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
6571
|
+
let page = result.value || [];
|
|
6572
|
+
continuationToken = result.nextLink;
|
|
6573
|
+
setContinuationToken(page, continuationToken);
|
|
6574
|
+
yield yield tslib.__await(page);
|
|
6575
|
+
}
|
|
6273
6576
|
while (continuationToken) {
|
|
6274
6577
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
6275
6578
|
continuationToken = result.nextLink;
|
|
6276
|
-
|
|
6579
|
+
let page = result.value || [];
|
|
6580
|
+
setContinuationToken(page, continuationToken);
|
|
6581
|
+
yield yield tslib.__await(page);
|
|
6277
6582
|
}
|
|
6278
6583
|
});
|
|
6279
6584
|
}
|
|
@@ -6311,20 +6616,31 @@ class BillingSubscriptionsImpl {
|
|
|
6311
6616
|
[Symbol.asyncIterator]() {
|
|
6312
6617
|
return this;
|
|
6313
6618
|
},
|
|
6314
|
-
byPage: () => {
|
|
6315
|
-
|
|
6619
|
+
byPage: (settings) => {
|
|
6620
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6621
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6622
|
+
}
|
|
6623
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
6316
6624
|
}
|
|
6317
6625
|
};
|
|
6318
6626
|
}
|
|
6319
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
6627
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
6320
6628
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
6321
|
-
let result
|
|
6322
|
-
|
|
6323
|
-
|
|
6629
|
+
let result;
|
|
6630
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6631
|
+
if (!continuationToken) {
|
|
6632
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
6633
|
+
let page = result.value || [];
|
|
6634
|
+
continuationToken = result.nextLink;
|
|
6635
|
+
setContinuationToken(page, continuationToken);
|
|
6636
|
+
yield yield tslib.__await(page);
|
|
6637
|
+
}
|
|
6324
6638
|
while (continuationToken) {
|
|
6325
6639
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
6326
6640
|
continuationToken = result.nextLink;
|
|
6327
|
-
|
|
6641
|
+
let page = result.value || [];
|
|
6642
|
+
setContinuationToken(page, continuationToken);
|
|
6643
|
+
yield yield tslib.__await(page);
|
|
6328
6644
|
}
|
|
6329
6645
|
});
|
|
6330
6646
|
}
|
|
@@ -6363,20 +6679,31 @@ class BillingSubscriptionsImpl {
|
|
|
6363
6679
|
[Symbol.asyncIterator]() {
|
|
6364
6680
|
return this;
|
|
6365
6681
|
},
|
|
6366
|
-
byPage: () => {
|
|
6367
|
-
|
|
6682
|
+
byPage: (settings) => {
|
|
6683
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
6684
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
6685
|
+
}
|
|
6686
|
+
return this.listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings);
|
|
6368
6687
|
}
|
|
6369
6688
|
};
|
|
6370
6689
|
}
|
|
6371
|
-
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
6690
|
+
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings) {
|
|
6372
6691
|
return tslib.__asyncGenerator(this, arguments, function* listByInvoiceSectionPagingPage_1() {
|
|
6373
|
-
let result
|
|
6374
|
-
|
|
6375
|
-
|
|
6692
|
+
let result;
|
|
6693
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
6694
|
+
if (!continuationToken) {
|
|
6695
|
+
result = yield tslib.__await(this._listByInvoiceSection(billingAccountName, billingProfileName, invoiceSectionName, options));
|
|
6696
|
+
let page = result.value || [];
|
|
6697
|
+
continuationToken = result.nextLink;
|
|
6698
|
+
setContinuationToken(page, continuationToken);
|
|
6699
|
+
yield yield tslib.__await(page);
|
|
6700
|
+
}
|
|
6376
6701
|
while (continuationToken) {
|
|
6377
6702
|
result = yield tslib.__await(this._listByInvoiceSectionNext(billingAccountName, billingProfileName, invoiceSectionName, continuationToken, options));
|
|
6378
6703
|
continuationToken = result.nextLink;
|
|
6379
|
-
|
|
6704
|
+
let page = result.value || [];
|
|
6705
|
+
setContinuationToken(page, continuationToken);
|
|
6706
|
+
yield yield tslib.__await(page);
|
|
6380
6707
|
}
|
|
6381
6708
|
});
|
|
6382
6709
|
}
|
|
@@ -6861,20 +7188,31 @@ class ProductsImpl {
|
|
|
6861
7188
|
[Symbol.asyncIterator]() {
|
|
6862
7189
|
return this;
|
|
6863
7190
|
},
|
|
6864
|
-
byPage: () => {
|
|
6865
|
-
|
|
7191
|
+
byPage: (settings) => {
|
|
7192
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7193
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7194
|
+
}
|
|
7195
|
+
return this.listByCustomerPagingPage(billingAccountName, customerName, options, settings);
|
|
6866
7196
|
}
|
|
6867
7197
|
};
|
|
6868
7198
|
}
|
|
6869
|
-
listByCustomerPagingPage(billingAccountName, customerName, options) {
|
|
7199
|
+
listByCustomerPagingPage(billingAccountName, customerName, options, settings) {
|
|
6870
7200
|
return tslib.__asyncGenerator(this, arguments, function* listByCustomerPagingPage_1() {
|
|
6871
|
-
let result
|
|
6872
|
-
|
|
6873
|
-
|
|
7201
|
+
let result;
|
|
7202
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7203
|
+
if (!continuationToken) {
|
|
7204
|
+
result = yield tslib.__await(this._listByCustomer(billingAccountName, customerName, options));
|
|
7205
|
+
let page = result.value || [];
|
|
7206
|
+
continuationToken = result.nextLink;
|
|
7207
|
+
setContinuationToken(page, continuationToken);
|
|
7208
|
+
yield yield tslib.__await(page);
|
|
7209
|
+
}
|
|
6874
7210
|
while (continuationToken) {
|
|
6875
7211
|
result = yield tslib.__await(this._listByCustomerNext(billingAccountName, customerName, continuationToken, options));
|
|
6876
7212
|
continuationToken = result.nextLink;
|
|
6877
|
-
|
|
7213
|
+
let page = result.value || [];
|
|
7214
|
+
setContinuationToken(page, continuationToken);
|
|
7215
|
+
yield yield tslib.__await(page);
|
|
6878
7216
|
}
|
|
6879
7217
|
});
|
|
6880
7218
|
}
|
|
@@ -6912,20 +7250,31 @@ class ProductsImpl {
|
|
|
6912
7250
|
[Symbol.asyncIterator]() {
|
|
6913
7251
|
return this;
|
|
6914
7252
|
},
|
|
6915
|
-
byPage: () => {
|
|
6916
|
-
|
|
7253
|
+
byPage: (settings) => {
|
|
7254
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7255
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7256
|
+
}
|
|
7257
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
6917
7258
|
}
|
|
6918
7259
|
};
|
|
6919
7260
|
}
|
|
6920
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
7261
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
6921
7262
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
6922
|
-
let result
|
|
6923
|
-
|
|
6924
|
-
|
|
7263
|
+
let result;
|
|
7264
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7265
|
+
if (!continuationToken) {
|
|
7266
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
7267
|
+
let page = result.value || [];
|
|
7268
|
+
continuationToken = result.nextLink;
|
|
7269
|
+
setContinuationToken(page, continuationToken);
|
|
7270
|
+
yield yield tslib.__await(page);
|
|
7271
|
+
}
|
|
6925
7272
|
while (continuationToken) {
|
|
6926
7273
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
6927
7274
|
continuationToken = result.nextLink;
|
|
6928
|
-
|
|
7275
|
+
let page = result.value || [];
|
|
7276
|
+
setContinuationToken(page, continuationToken);
|
|
7277
|
+
yield yield tslib.__await(page);
|
|
6929
7278
|
}
|
|
6930
7279
|
});
|
|
6931
7280
|
}
|
|
@@ -6964,20 +7313,31 @@ class ProductsImpl {
|
|
|
6964
7313
|
[Symbol.asyncIterator]() {
|
|
6965
7314
|
return this;
|
|
6966
7315
|
},
|
|
6967
|
-
byPage: () => {
|
|
6968
|
-
|
|
7316
|
+
byPage: (settings) => {
|
|
7317
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7318
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7319
|
+
}
|
|
7320
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
6969
7321
|
}
|
|
6970
7322
|
};
|
|
6971
7323
|
}
|
|
6972
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
7324
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
6973
7325
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
6974
|
-
let result
|
|
6975
|
-
|
|
6976
|
-
|
|
7326
|
+
let result;
|
|
7327
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7328
|
+
if (!continuationToken) {
|
|
7329
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
7330
|
+
let page = result.value || [];
|
|
7331
|
+
continuationToken = result.nextLink;
|
|
7332
|
+
setContinuationToken(page, continuationToken);
|
|
7333
|
+
yield yield tslib.__await(page);
|
|
7334
|
+
}
|
|
6977
7335
|
while (continuationToken) {
|
|
6978
7336
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
6979
7337
|
continuationToken = result.nextLink;
|
|
6980
|
-
|
|
7338
|
+
let page = result.value || [];
|
|
7339
|
+
setContinuationToken(page, continuationToken);
|
|
7340
|
+
yield yield tslib.__await(page);
|
|
6981
7341
|
}
|
|
6982
7342
|
});
|
|
6983
7343
|
}
|
|
@@ -7016,20 +7376,31 @@ class ProductsImpl {
|
|
|
7016
7376
|
[Symbol.asyncIterator]() {
|
|
7017
7377
|
return this;
|
|
7018
7378
|
},
|
|
7019
|
-
byPage: () => {
|
|
7020
|
-
|
|
7379
|
+
byPage: (settings) => {
|
|
7380
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7381
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7382
|
+
}
|
|
7383
|
+
return this.listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings);
|
|
7021
7384
|
}
|
|
7022
7385
|
};
|
|
7023
7386
|
}
|
|
7024
|
-
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
7387
|
+
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings) {
|
|
7025
7388
|
return tslib.__asyncGenerator(this, arguments, function* listByInvoiceSectionPagingPage_1() {
|
|
7026
|
-
let result
|
|
7027
|
-
|
|
7028
|
-
|
|
7389
|
+
let result;
|
|
7390
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7391
|
+
if (!continuationToken) {
|
|
7392
|
+
result = yield tslib.__await(this._listByInvoiceSection(billingAccountName, billingProfileName, invoiceSectionName, options));
|
|
7393
|
+
let page = result.value || [];
|
|
7394
|
+
continuationToken = result.nextLink;
|
|
7395
|
+
setContinuationToken(page, continuationToken);
|
|
7396
|
+
yield yield tslib.__await(page);
|
|
7397
|
+
}
|
|
7029
7398
|
while (continuationToken) {
|
|
7030
7399
|
result = yield tslib.__await(this._listByInvoiceSectionNext(billingAccountName, billingProfileName, invoiceSectionName, continuationToken, options));
|
|
7031
7400
|
continuationToken = result.nextLink;
|
|
7032
|
-
|
|
7401
|
+
let page = result.value || [];
|
|
7402
|
+
setContinuationToken(page, continuationToken);
|
|
7403
|
+
yield yield tslib.__await(page);
|
|
7033
7404
|
}
|
|
7034
7405
|
});
|
|
7035
7406
|
}
|
|
@@ -7476,20 +7847,31 @@ class InvoicesImpl {
|
|
|
7476
7847
|
[Symbol.asyncIterator]() {
|
|
7477
7848
|
return this;
|
|
7478
7849
|
},
|
|
7479
|
-
byPage: () => {
|
|
7480
|
-
|
|
7850
|
+
byPage: (settings) => {
|
|
7851
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7852
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7853
|
+
}
|
|
7854
|
+
return this.listByBillingAccountPagingPage(billingAccountName, periodStartDate, periodEndDate, options, settings);
|
|
7481
7855
|
}
|
|
7482
7856
|
};
|
|
7483
7857
|
}
|
|
7484
|
-
listByBillingAccountPagingPage(billingAccountName, periodStartDate, periodEndDate, options) {
|
|
7858
|
+
listByBillingAccountPagingPage(billingAccountName, periodStartDate, periodEndDate, options, settings) {
|
|
7485
7859
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
7486
|
-
let result
|
|
7487
|
-
|
|
7488
|
-
|
|
7860
|
+
let result;
|
|
7861
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7862
|
+
if (!continuationToken) {
|
|
7863
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, periodStartDate, periodEndDate, options));
|
|
7864
|
+
let page = result.value || [];
|
|
7865
|
+
continuationToken = result.nextLink;
|
|
7866
|
+
setContinuationToken(page, continuationToken);
|
|
7867
|
+
yield yield tslib.__await(page);
|
|
7868
|
+
}
|
|
7489
7869
|
while (continuationToken) {
|
|
7490
7870
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, periodStartDate, periodEndDate, continuationToken, options));
|
|
7491
7871
|
continuationToken = result.nextLink;
|
|
7492
|
-
|
|
7872
|
+
let page = result.value || [];
|
|
7873
|
+
setContinuationToken(page, continuationToken);
|
|
7874
|
+
yield yield tslib.__await(page);
|
|
7493
7875
|
}
|
|
7494
7876
|
});
|
|
7495
7877
|
}
|
|
@@ -7532,20 +7914,31 @@ class InvoicesImpl {
|
|
|
7532
7914
|
[Symbol.asyncIterator]() {
|
|
7533
7915
|
return this;
|
|
7534
7916
|
},
|
|
7535
|
-
byPage: () => {
|
|
7536
|
-
|
|
7917
|
+
byPage: (settings) => {
|
|
7918
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7919
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7920
|
+
}
|
|
7921
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, periodStartDate, periodEndDate, options, settings);
|
|
7537
7922
|
}
|
|
7538
7923
|
};
|
|
7539
7924
|
}
|
|
7540
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, periodStartDate, periodEndDate, options) {
|
|
7925
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, periodStartDate, periodEndDate, options, settings) {
|
|
7541
7926
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
7542
|
-
let result
|
|
7543
|
-
|
|
7544
|
-
|
|
7927
|
+
let result;
|
|
7928
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7929
|
+
if (!continuationToken) {
|
|
7930
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, periodStartDate, periodEndDate, options));
|
|
7931
|
+
let page = result.value || [];
|
|
7932
|
+
continuationToken = result.nextLink;
|
|
7933
|
+
setContinuationToken(page, continuationToken);
|
|
7934
|
+
yield yield tslib.__await(page);
|
|
7935
|
+
}
|
|
7545
7936
|
while (continuationToken) {
|
|
7546
7937
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, periodStartDate, periodEndDate, continuationToken, options));
|
|
7547
7938
|
continuationToken = result.nextLink;
|
|
7548
|
-
|
|
7939
|
+
let page = result.value || [];
|
|
7940
|
+
setContinuationToken(page, continuationToken);
|
|
7941
|
+
yield yield tslib.__await(page);
|
|
7549
7942
|
}
|
|
7550
7943
|
});
|
|
7551
7944
|
}
|
|
@@ -7582,20 +7975,31 @@ class InvoicesImpl {
|
|
|
7582
7975
|
[Symbol.asyncIterator]() {
|
|
7583
7976
|
return this;
|
|
7584
7977
|
},
|
|
7585
|
-
byPage: () => {
|
|
7586
|
-
|
|
7978
|
+
byPage: (settings) => {
|
|
7979
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7980
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
7981
|
+
}
|
|
7982
|
+
return this.listByBillingSubscriptionPagingPage(periodStartDate, periodEndDate, options, settings);
|
|
7587
7983
|
}
|
|
7588
7984
|
};
|
|
7589
7985
|
}
|
|
7590
|
-
listByBillingSubscriptionPagingPage(periodStartDate, periodEndDate, options) {
|
|
7986
|
+
listByBillingSubscriptionPagingPage(periodStartDate, periodEndDate, options, settings) {
|
|
7591
7987
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingSubscriptionPagingPage_1() {
|
|
7592
|
-
let result
|
|
7593
|
-
|
|
7594
|
-
|
|
7988
|
+
let result;
|
|
7989
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7990
|
+
if (!continuationToken) {
|
|
7991
|
+
result = yield tslib.__await(this._listByBillingSubscription(periodStartDate, periodEndDate, options));
|
|
7992
|
+
let page = result.value || [];
|
|
7993
|
+
continuationToken = result.nextLink;
|
|
7994
|
+
setContinuationToken(page, continuationToken);
|
|
7995
|
+
yield yield tslib.__await(page);
|
|
7996
|
+
}
|
|
7595
7997
|
while (continuationToken) {
|
|
7596
7998
|
result = yield tslib.__await(this._listByBillingSubscriptionNext(periodStartDate, periodEndDate, continuationToken, options));
|
|
7597
7999
|
continuationToken = result.nextLink;
|
|
7598
|
-
|
|
8000
|
+
let page = result.value || [];
|
|
8001
|
+
setContinuationToken(page, continuationToken);
|
|
8002
|
+
yield yield tslib.__await(page);
|
|
7599
8003
|
}
|
|
7600
8004
|
});
|
|
7601
8005
|
}
|
|
@@ -8291,20 +8695,31 @@ class TransactionsImpl {
|
|
|
8291
8695
|
[Symbol.asyncIterator]() {
|
|
8292
8696
|
return this;
|
|
8293
8697
|
},
|
|
8294
|
-
byPage: () => {
|
|
8295
|
-
|
|
8698
|
+
byPage: (settings) => {
|
|
8699
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8700
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
8701
|
+
}
|
|
8702
|
+
return this.listByInvoicePagingPage(billingAccountName, invoiceName, options, settings);
|
|
8296
8703
|
}
|
|
8297
8704
|
};
|
|
8298
8705
|
}
|
|
8299
|
-
listByInvoicePagingPage(billingAccountName, invoiceName, options) {
|
|
8706
|
+
listByInvoicePagingPage(billingAccountName, invoiceName, options, settings) {
|
|
8300
8707
|
return tslib.__asyncGenerator(this, arguments, function* listByInvoicePagingPage_1() {
|
|
8301
|
-
let result
|
|
8302
|
-
|
|
8303
|
-
|
|
8708
|
+
let result;
|
|
8709
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8710
|
+
if (!continuationToken) {
|
|
8711
|
+
result = yield tslib.__await(this._listByInvoice(billingAccountName, invoiceName, options));
|
|
8712
|
+
let page = result.value || [];
|
|
8713
|
+
continuationToken = result.nextLink;
|
|
8714
|
+
setContinuationToken(page, continuationToken);
|
|
8715
|
+
yield yield tslib.__await(page);
|
|
8716
|
+
}
|
|
8304
8717
|
while (continuationToken) {
|
|
8305
8718
|
result = yield tslib.__await(this._listByInvoiceNext(billingAccountName, invoiceName, continuationToken, options));
|
|
8306
8719
|
continuationToken = result.nextLink;
|
|
8307
|
-
|
|
8720
|
+
let page = result.value || [];
|
|
8721
|
+
setContinuationToken(page, continuationToken);
|
|
8722
|
+
yield yield tslib.__await(page);
|
|
8308
8723
|
}
|
|
8309
8724
|
});
|
|
8310
8725
|
}
|
|
@@ -8638,20 +9053,31 @@ class OperationsImpl {
|
|
|
8638
9053
|
[Symbol.asyncIterator]() {
|
|
8639
9054
|
return this;
|
|
8640
9055
|
},
|
|
8641
|
-
byPage: () => {
|
|
8642
|
-
|
|
9056
|
+
byPage: (settings) => {
|
|
9057
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9058
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9059
|
+
}
|
|
9060
|
+
return this.listPagingPage(options, settings);
|
|
8643
9061
|
}
|
|
8644
9062
|
};
|
|
8645
9063
|
}
|
|
8646
|
-
listPagingPage(options) {
|
|
9064
|
+
listPagingPage(options, settings) {
|
|
8647
9065
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
8648
|
-
let result
|
|
8649
|
-
|
|
8650
|
-
|
|
9066
|
+
let result;
|
|
9067
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9068
|
+
if (!continuationToken) {
|
|
9069
|
+
result = yield tslib.__await(this._list(options));
|
|
9070
|
+
let page = result.value || [];
|
|
9071
|
+
continuationToken = result.nextLink;
|
|
9072
|
+
setContinuationToken(page, continuationToken);
|
|
9073
|
+
yield yield tslib.__await(page);
|
|
9074
|
+
}
|
|
8651
9075
|
while (continuationToken) {
|
|
8652
9076
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
8653
9077
|
continuationToken = result.nextLink;
|
|
8654
|
-
|
|
9078
|
+
let page = result.value || [];
|
|
9079
|
+
setContinuationToken(page, continuationToken);
|
|
9080
|
+
yield yield tslib.__await(page);
|
|
8655
9081
|
}
|
|
8656
9082
|
});
|
|
8657
9083
|
}
|
|
@@ -8756,20 +9182,31 @@ class BillingRoleDefinitionsImpl {
|
|
|
8756
9182
|
[Symbol.asyncIterator]() {
|
|
8757
9183
|
return this;
|
|
8758
9184
|
},
|
|
8759
|
-
byPage: () => {
|
|
8760
|
-
|
|
9185
|
+
byPage: (settings) => {
|
|
9186
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9187
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9188
|
+
}
|
|
9189
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
8761
9190
|
}
|
|
8762
9191
|
};
|
|
8763
9192
|
}
|
|
8764
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
9193
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
8765
9194
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
8766
|
-
let result
|
|
8767
|
-
|
|
8768
|
-
|
|
9195
|
+
let result;
|
|
9196
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9197
|
+
if (!continuationToken) {
|
|
9198
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
9199
|
+
let page = result.value || [];
|
|
9200
|
+
continuationToken = result.nextLink;
|
|
9201
|
+
setContinuationToken(page, continuationToken);
|
|
9202
|
+
yield yield tslib.__await(page);
|
|
9203
|
+
}
|
|
8769
9204
|
while (continuationToken) {
|
|
8770
9205
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
8771
9206
|
continuationToken = result.nextLink;
|
|
8772
|
-
|
|
9207
|
+
let page = result.value || [];
|
|
9208
|
+
setContinuationToken(page, continuationToken);
|
|
9209
|
+
yield yield tslib.__await(page);
|
|
8773
9210
|
}
|
|
8774
9211
|
});
|
|
8775
9212
|
}
|
|
@@ -8808,20 +9245,31 @@ class BillingRoleDefinitionsImpl {
|
|
|
8808
9245
|
[Symbol.asyncIterator]() {
|
|
8809
9246
|
return this;
|
|
8810
9247
|
},
|
|
8811
|
-
byPage: () => {
|
|
8812
|
-
|
|
9248
|
+
byPage: (settings) => {
|
|
9249
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9250
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9251
|
+
}
|
|
9252
|
+
return this.listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings);
|
|
8813
9253
|
}
|
|
8814
9254
|
};
|
|
8815
9255
|
}
|
|
8816
|
-
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
9256
|
+
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings) {
|
|
8817
9257
|
return tslib.__asyncGenerator(this, arguments, function* listByInvoiceSectionPagingPage_1() {
|
|
8818
|
-
let result
|
|
8819
|
-
|
|
8820
|
-
|
|
9258
|
+
let result;
|
|
9259
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9260
|
+
if (!continuationToken) {
|
|
9261
|
+
result = yield tslib.__await(this._listByInvoiceSection(billingAccountName, billingProfileName, invoiceSectionName, options));
|
|
9262
|
+
let page = result.value || [];
|
|
9263
|
+
continuationToken = result.nextLink;
|
|
9264
|
+
setContinuationToken(page, continuationToken);
|
|
9265
|
+
yield yield tslib.__await(page);
|
|
9266
|
+
}
|
|
8821
9267
|
while (continuationToken) {
|
|
8822
9268
|
result = yield tslib.__await(this._listByInvoiceSectionNext(billingAccountName, billingProfileName, invoiceSectionName, continuationToken, options));
|
|
8823
9269
|
continuationToken = result.nextLink;
|
|
8824
|
-
|
|
9270
|
+
let page = result.value || [];
|
|
9271
|
+
setContinuationToken(page, continuationToken);
|
|
9272
|
+
yield yield tslib.__await(page);
|
|
8825
9273
|
}
|
|
8826
9274
|
});
|
|
8827
9275
|
}
|
|
@@ -8859,20 +9307,31 @@ class BillingRoleDefinitionsImpl {
|
|
|
8859
9307
|
[Symbol.asyncIterator]() {
|
|
8860
9308
|
return this;
|
|
8861
9309
|
},
|
|
8862
|
-
byPage: () => {
|
|
8863
|
-
|
|
9310
|
+
byPage: (settings) => {
|
|
9311
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9312
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9313
|
+
}
|
|
9314
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
8864
9315
|
}
|
|
8865
9316
|
};
|
|
8866
9317
|
}
|
|
8867
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
9318
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
8868
9319
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
8869
|
-
let result
|
|
8870
|
-
|
|
8871
|
-
|
|
9320
|
+
let result;
|
|
9321
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9322
|
+
if (!continuationToken) {
|
|
9323
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
9324
|
+
let page = result.value || [];
|
|
9325
|
+
continuationToken = result.nextLink;
|
|
9326
|
+
setContinuationToken(page, continuationToken);
|
|
9327
|
+
yield yield tslib.__await(page);
|
|
9328
|
+
}
|
|
8872
9329
|
while (continuationToken) {
|
|
8873
9330
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
8874
9331
|
continuationToken = result.nextLink;
|
|
8875
|
-
|
|
9332
|
+
let page = result.value || [];
|
|
9333
|
+
setContinuationToken(page, continuationToken);
|
|
9334
|
+
yield yield tslib.__await(page);
|
|
8876
9335
|
}
|
|
8877
9336
|
});
|
|
8878
9337
|
}
|
|
@@ -9223,20 +9682,31 @@ class BillingRoleAssignmentsImpl {
|
|
|
9223
9682
|
[Symbol.asyncIterator]() {
|
|
9224
9683
|
return this;
|
|
9225
9684
|
},
|
|
9226
|
-
byPage: () => {
|
|
9227
|
-
|
|
9685
|
+
byPage: (settings) => {
|
|
9686
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9687
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9688
|
+
}
|
|
9689
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
9228
9690
|
}
|
|
9229
9691
|
};
|
|
9230
9692
|
}
|
|
9231
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
9693
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
9232
9694
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
9233
|
-
let result
|
|
9234
|
-
|
|
9235
|
-
|
|
9695
|
+
let result;
|
|
9696
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9697
|
+
if (!continuationToken) {
|
|
9698
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
9699
|
+
let page = result.value || [];
|
|
9700
|
+
continuationToken = result.nextLink;
|
|
9701
|
+
setContinuationToken(page, continuationToken);
|
|
9702
|
+
yield yield tslib.__await(page);
|
|
9703
|
+
}
|
|
9236
9704
|
while (continuationToken) {
|
|
9237
9705
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
9238
9706
|
continuationToken = result.nextLink;
|
|
9239
|
-
|
|
9707
|
+
let page = result.value || [];
|
|
9708
|
+
setContinuationToken(page, continuationToken);
|
|
9709
|
+
yield yield tslib.__await(page);
|
|
9240
9710
|
}
|
|
9241
9711
|
});
|
|
9242
9712
|
}
|
|
@@ -9275,20 +9745,31 @@ class BillingRoleAssignmentsImpl {
|
|
|
9275
9745
|
[Symbol.asyncIterator]() {
|
|
9276
9746
|
return this;
|
|
9277
9747
|
},
|
|
9278
|
-
byPage: () => {
|
|
9279
|
-
|
|
9748
|
+
byPage: (settings) => {
|
|
9749
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9750
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9751
|
+
}
|
|
9752
|
+
return this.listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings);
|
|
9280
9753
|
}
|
|
9281
9754
|
};
|
|
9282
9755
|
}
|
|
9283
|
-
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
9756
|
+
listByInvoiceSectionPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings) {
|
|
9284
9757
|
return tslib.__asyncGenerator(this, arguments, function* listByInvoiceSectionPagingPage_1() {
|
|
9285
|
-
let result
|
|
9286
|
-
|
|
9287
|
-
|
|
9758
|
+
let result;
|
|
9759
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9760
|
+
if (!continuationToken) {
|
|
9761
|
+
result = yield tslib.__await(this._listByInvoiceSection(billingAccountName, billingProfileName, invoiceSectionName, options));
|
|
9762
|
+
let page = result.value || [];
|
|
9763
|
+
continuationToken = result.nextLink;
|
|
9764
|
+
setContinuationToken(page, continuationToken);
|
|
9765
|
+
yield yield tslib.__await(page);
|
|
9766
|
+
}
|
|
9288
9767
|
while (continuationToken) {
|
|
9289
9768
|
result = yield tslib.__await(this._listByInvoiceSectionNext(billingAccountName, billingProfileName, invoiceSectionName, continuationToken, options));
|
|
9290
9769
|
continuationToken = result.nextLink;
|
|
9291
|
-
|
|
9770
|
+
let page = result.value || [];
|
|
9771
|
+
setContinuationToken(page, continuationToken);
|
|
9772
|
+
yield yield tslib.__await(page);
|
|
9292
9773
|
}
|
|
9293
9774
|
});
|
|
9294
9775
|
}
|
|
@@ -9326,20 +9807,31 @@ class BillingRoleAssignmentsImpl {
|
|
|
9326
9807
|
[Symbol.asyncIterator]() {
|
|
9327
9808
|
return this;
|
|
9328
9809
|
},
|
|
9329
|
-
byPage: () => {
|
|
9330
|
-
|
|
9810
|
+
byPage: (settings) => {
|
|
9811
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9812
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
9813
|
+
}
|
|
9814
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
9331
9815
|
}
|
|
9332
9816
|
};
|
|
9333
9817
|
}
|
|
9334
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
9818
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
9335
9819
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
9336
|
-
let result
|
|
9337
|
-
|
|
9338
|
-
|
|
9820
|
+
let result;
|
|
9821
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9822
|
+
if (!continuationToken) {
|
|
9823
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
9824
|
+
let page = result.value || [];
|
|
9825
|
+
continuationToken = result.nextLink;
|
|
9826
|
+
setContinuationToken(page, continuationToken);
|
|
9827
|
+
yield yield tslib.__await(page);
|
|
9828
|
+
}
|
|
9339
9829
|
while (continuationToken) {
|
|
9340
9830
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
9341
9831
|
continuationToken = result.nextLink;
|
|
9342
|
-
|
|
9832
|
+
let page = result.value || [];
|
|
9833
|
+
setContinuationToken(page, continuationToken);
|
|
9834
|
+
yield yield tslib.__await(page);
|
|
9343
9835
|
}
|
|
9344
9836
|
});
|
|
9345
9837
|
}
|
|
@@ -9796,20 +10288,31 @@ class AgreementsImpl {
|
|
|
9796
10288
|
[Symbol.asyncIterator]() {
|
|
9797
10289
|
return this;
|
|
9798
10290
|
},
|
|
9799
|
-
byPage: () => {
|
|
9800
|
-
|
|
10291
|
+
byPage: (settings) => {
|
|
10292
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10293
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10294
|
+
}
|
|
10295
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
9801
10296
|
}
|
|
9802
10297
|
};
|
|
9803
10298
|
}
|
|
9804
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
10299
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
9805
10300
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
9806
|
-
let result
|
|
9807
|
-
|
|
9808
|
-
|
|
10301
|
+
let result;
|
|
10302
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10303
|
+
if (!continuationToken) {
|
|
10304
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
10305
|
+
let page = result.value || [];
|
|
10306
|
+
continuationToken = result.nextLink;
|
|
10307
|
+
setContinuationToken(page, continuationToken);
|
|
10308
|
+
yield yield tslib.__await(page);
|
|
10309
|
+
}
|
|
9809
10310
|
while (continuationToken) {
|
|
9810
10311
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
9811
10312
|
continuationToken = result.nextLink;
|
|
9812
|
-
|
|
10313
|
+
let page = result.value || [];
|
|
10314
|
+
setContinuationToken(page, continuationToken);
|
|
10315
|
+
yield yield tslib.__await(page);
|
|
9813
10316
|
}
|
|
9814
10317
|
});
|
|
9815
10318
|
}
|
|
@@ -9949,20 +10452,31 @@ class ReservationsImpl {
|
|
|
9949
10452
|
[Symbol.asyncIterator]() {
|
|
9950
10453
|
return this;
|
|
9951
10454
|
},
|
|
9952
|
-
byPage: () => {
|
|
9953
|
-
|
|
10455
|
+
byPage: (settings) => {
|
|
10456
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10457
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10458
|
+
}
|
|
10459
|
+
return this.listByBillingAccountPagingPage(billingAccountName, options, settings);
|
|
9954
10460
|
}
|
|
9955
10461
|
};
|
|
9956
10462
|
}
|
|
9957
|
-
listByBillingAccountPagingPage(billingAccountName, options) {
|
|
10463
|
+
listByBillingAccountPagingPage(billingAccountName, options, settings) {
|
|
9958
10464
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingAccountPagingPage_1() {
|
|
9959
|
-
let result
|
|
9960
|
-
|
|
9961
|
-
|
|
10465
|
+
let result;
|
|
10466
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10467
|
+
if (!continuationToken) {
|
|
10468
|
+
result = yield tslib.__await(this._listByBillingAccount(billingAccountName, options));
|
|
10469
|
+
let page = result.value || [];
|
|
10470
|
+
continuationToken = result.nextLink;
|
|
10471
|
+
setContinuationToken(page, continuationToken);
|
|
10472
|
+
yield yield tslib.__await(page);
|
|
10473
|
+
}
|
|
9962
10474
|
while (continuationToken) {
|
|
9963
10475
|
result = yield tslib.__await(this._listByBillingAccountNext(billingAccountName, continuationToken, options));
|
|
9964
10476
|
continuationToken = result.nextLink;
|
|
9965
|
-
|
|
10477
|
+
let page = result.value || [];
|
|
10478
|
+
setContinuationToken(page, continuationToken);
|
|
10479
|
+
yield yield tslib.__await(page);
|
|
9966
10480
|
}
|
|
9967
10481
|
});
|
|
9968
10482
|
}
|
|
@@ -10000,20 +10514,31 @@ class ReservationsImpl {
|
|
|
10000
10514
|
[Symbol.asyncIterator]() {
|
|
10001
10515
|
return this;
|
|
10002
10516
|
},
|
|
10003
|
-
byPage: () => {
|
|
10004
|
-
|
|
10517
|
+
byPage: (settings) => {
|
|
10518
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10519
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10520
|
+
}
|
|
10521
|
+
return this.listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings);
|
|
10005
10522
|
}
|
|
10006
10523
|
};
|
|
10007
10524
|
}
|
|
10008
|
-
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options) {
|
|
10525
|
+
listByBillingProfilePagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
10009
10526
|
return tslib.__asyncGenerator(this, arguments, function* listByBillingProfilePagingPage_1() {
|
|
10010
|
-
let result
|
|
10011
|
-
|
|
10012
|
-
|
|
10527
|
+
let result;
|
|
10528
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10529
|
+
if (!continuationToken) {
|
|
10530
|
+
result = yield tslib.__await(this._listByBillingProfile(billingAccountName, billingProfileName, options));
|
|
10531
|
+
let page = result.value || [];
|
|
10532
|
+
continuationToken = result.nextLink;
|
|
10533
|
+
setContinuationToken(page, continuationToken);
|
|
10534
|
+
yield yield tslib.__await(page);
|
|
10535
|
+
}
|
|
10013
10536
|
while (continuationToken) {
|
|
10014
10537
|
result = yield tslib.__await(this._listByBillingProfileNext(billingAccountName, billingProfileName, continuationToken, options));
|
|
10015
10538
|
continuationToken = result.nextLink;
|
|
10016
|
-
|
|
10539
|
+
let page = result.value || [];
|
|
10540
|
+
setContinuationToken(page, continuationToken);
|
|
10541
|
+
yield yield tslib.__await(page);
|
|
10017
10542
|
}
|
|
10018
10543
|
});
|
|
10019
10544
|
}
|
|
@@ -10208,20 +10733,31 @@ class EnrollmentAccountsImpl {
|
|
|
10208
10733
|
[Symbol.asyncIterator]() {
|
|
10209
10734
|
return this;
|
|
10210
10735
|
},
|
|
10211
|
-
byPage: () => {
|
|
10212
|
-
|
|
10736
|
+
byPage: (settings) => {
|
|
10737
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10738
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10739
|
+
}
|
|
10740
|
+
return this.listPagingPage(options, settings);
|
|
10213
10741
|
}
|
|
10214
10742
|
};
|
|
10215
10743
|
}
|
|
10216
|
-
listPagingPage(options) {
|
|
10744
|
+
listPagingPage(options, settings) {
|
|
10217
10745
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
10218
|
-
let result
|
|
10219
|
-
|
|
10220
|
-
|
|
10746
|
+
let result;
|
|
10747
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10748
|
+
if (!continuationToken) {
|
|
10749
|
+
result = yield tslib.__await(this._list(options));
|
|
10750
|
+
let page = result.value || [];
|
|
10751
|
+
continuationToken = result.nextLink;
|
|
10752
|
+
setContinuationToken(page, continuationToken);
|
|
10753
|
+
yield yield tslib.__await(page);
|
|
10754
|
+
}
|
|
10221
10755
|
while (continuationToken) {
|
|
10222
10756
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
10223
10757
|
continuationToken = result.nextLink;
|
|
10224
|
-
|
|
10758
|
+
let page = result.value || [];
|
|
10759
|
+
setContinuationToken(page, continuationToken);
|
|
10760
|
+
yield yield tslib.__await(page);
|
|
10225
10761
|
}
|
|
10226
10762
|
});
|
|
10227
10763
|
}
|
|
@@ -10350,20 +10886,31 @@ class BillingPeriodsImpl {
|
|
|
10350
10886
|
[Symbol.asyncIterator]() {
|
|
10351
10887
|
return this;
|
|
10352
10888
|
},
|
|
10353
|
-
byPage: () => {
|
|
10354
|
-
|
|
10889
|
+
byPage: (settings) => {
|
|
10890
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10891
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
10892
|
+
}
|
|
10893
|
+
return this.listPagingPage(options, settings);
|
|
10355
10894
|
}
|
|
10356
10895
|
};
|
|
10357
10896
|
}
|
|
10358
|
-
listPagingPage(options) {
|
|
10897
|
+
listPagingPage(options, settings) {
|
|
10359
10898
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
10360
|
-
let result
|
|
10361
|
-
|
|
10362
|
-
|
|
10899
|
+
let result;
|
|
10900
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10901
|
+
if (!continuationToken) {
|
|
10902
|
+
result = yield tslib.__await(this._list(options));
|
|
10903
|
+
let page = result.value || [];
|
|
10904
|
+
continuationToken = result.nextLink;
|
|
10905
|
+
setContinuationToken(page, continuationToken);
|
|
10906
|
+
yield yield tslib.__await(page);
|
|
10907
|
+
}
|
|
10363
10908
|
while (continuationToken) {
|
|
10364
10909
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
10365
10910
|
continuationToken = result.nextLink;
|
|
10366
|
-
|
|
10911
|
+
let page = result.value || [];
|
|
10912
|
+
setContinuationToken(page, continuationToken);
|
|
10913
|
+
yield yield tslib.__await(page);
|
|
10367
10914
|
}
|
|
10368
10915
|
});
|
|
10369
10916
|
}
|
|
@@ -10497,7 +11044,7 @@ class BillingManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
10497
11044
|
* @param options The parameter options
|
|
10498
11045
|
*/
|
|
10499
11046
|
constructor(credentials, subscriptionId, options) {
|
|
10500
|
-
var _a, _b;
|
|
11047
|
+
var _a, _b, _c;
|
|
10501
11048
|
if (credentials === undefined) {
|
|
10502
11049
|
throw new Error("'credentials' cannot be null");
|
|
10503
11050
|
}
|
|
@@ -10512,17 +11059,35 @@ class BillingManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
10512
11059
|
requestContentType: "application/json; charset=utf-8",
|
|
10513
11060
|
credential: credentials
|
|
10514
11061
|
};
|
|
10515
|
-
const packageDetails = `azsdk-js-arm-billing/4.0
|
|
11062
|
+
const packageDetails = `azsdk-js-arm-billing/4.1.0`;
|
|
10516
11063
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
10517
11064
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
10518
11065
|
: `${packageDetails}`;
|
|
10519
|
-
if (!options.credentialScopes) {
|
|
10520
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
10521
|
-
}
|
|
10522
11066
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
10523
11067
|
userAgentPrefix
|
|
10524
|
-
},
|
|
11068
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
10525
11069
|
super(optionsWithDefaults);
|
|
11070
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
11071
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
11072
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
11073
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
11074
|
+
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
11075
|
+
}
|
|
11076
|
+
if (!options ||
|
|
11077
|
+
!options.pipeline ||
|
|
11078
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
11079
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
11080
|
+
this.pipeline.removePolicy({
|
|
11081
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
11082
|
+
});
|
|
11083
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
11084
|
+
credential: credentials,
|
|
11085
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
11086
|
+
challengeCallbacks: {
|
|
11087
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
11088
|
+
}
|
|
11089
|
+
}));
|
|
11090
|
+
}
|
|
10526
11091
|
// Parameter assignments
|
|
10527
11092
|
this.subscriptionId = subscriptionId;
|
|
10528
11093
|
// Assigning values to Constant parameters
|
|
@@ -10552,4 +11117,5 @@ class BillingManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
10552
11117
|
}
|
|
10553
11118
|
|
|
10554
11119
|
exports.BillingManagementClient = BillingManagementClient;
|
|
11120
|
+
exports.getContinuationToken = getContinuationToken;
|
|
10555
11121
|
//# sourceMappingURL=index.js.map
|