File tree Expand file tree Collapse file tree 10 files changed +110
-28
lines changed Expand file tree Collapse file tree 10 files changed +110
-28
lines changed Original file line number Diff line number Diff line change 11# Release History
2-
3- ## 4.0.1 (Unreleased)
4-
5- ### Features Added
6-
7- ### Breaking Changes
8-
9- ### Bugs Fixed
10-
11- ### Other Changes
12-
2+
3+ ## 4.1.0-beta.1 (2022-01-22)
4+
5+ ** Features**
6+
7+ - Added Interface BillingProfileInfo
8+ - Type Alias Agreement has a new parameter billingProfilesInfo
9+
10+
1311## 4.0.0 (2021-12-31)
1412
1513The package of @azure/arm-billing is using our next generation design principles since version 4.0.0, which contains breaking changes.
Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2021 Microsoft
3+ Copyright (c) 2022 Microsoft
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 11{
2- "commit" : " 0fe46ea84880c3232c7a86db0c73f30975b11b0b " ,
2+ "commit" : " a64ff1c7b9466f6efc1bd4868782569d7efcce89 " ,
33 "readme" : " specification/billing/resource-manager/readme.md" ,
4- "autorest_command" :
" autorest --version=3.1 .3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D: \\ mydev \\ azure-sdk-for-js ../azure-rest-api-specs/specification/billing/resource-manager/readme.md --use=@autorest/[email protected] .20211217 .1" ,
4+ "autorest_command" :
" autorest --version=3.7 .3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/ azure-sdk-for-js ../azure-rest-api-specs/specification/billing/resource-manager/readme.md --use=@autorest/[email protected] .20220105 .1" ,
55 "repository_url" : " https://github.com/Azure/azure-rest-api-specs.git" ,
6- "use" :
" @autorest/[email protected] .20211217 .1" 6+ "use" :
" @autorest/[email protected] .20220105 .1" 77}
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json" ,
33 "mainEntryPointFilePath" : " ./dist-esm/src/index.d.ts" ,
4- "docModel" : { "enabled" : true },
5- "apiReport" : { "enabled" : true , "reportFolder" : " ./review" },
4+ "docModel" : {
5+ "enabled" : true
6+ },
7+ "apiReport" : {
8+ "enabled" : true ,
9+ "reportFolder" : " ./review"
10+ },
611 "dtsRollup" : {
712 "enabled" : true ,
813 "untrimmedFilePath" : " " ,
914 "publicTrimmedFilePath" : " ./types/arm-billing.d.ts"
1015 },
1116 "messages" : {
12- "tsdocMessageReporting" : { "default" : { "logLevel" : " none" } },
17+ "tsdocMessageReporting" : {
18+ "default" : {
19+ "logLevel" : " none"
20+ }
21+ },
1322 "extractorMessageReporting" : {
14- "ae-missing-release-tag" : { "logLevel" : " none" },
15- "ae-unresolved-link" : { "logLevel" : " none" }
23+ "ae-missing-release-tag" : {
24+ "logLevel" : " none"
25+ },
26+ "ae-unresolved-link" : {
27+ "logLevel" : " none"
28+ }
1629 }
1730 }
18- }
31+ }
Original file line number Diff line number Diff line change 33 "sdk-type" : " mgmt" ,
44 "author" : " Microsoft Corporation" ,
55 "description" : " A generated SDK for BillingManagementClient." ,
6- "version" : " 4.0 .1" ,
6+ "version" : " 4.1.0-beta .1" ,
77 "engines" : {
88 "node" : " >=12.0.0"
99 },
9999 },
100100 "sideEffects" : false ,
101101 "autoPublish" : true
102- }
102+ }
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export type Agreement = Resource & {
5757 readonly agreementLink? : string ;
5858 readonly category? : Category ;
5959 readonly acceptanceMode? : AcceptanceMode ;
60+ readonly billingProfilesInfo? : BillingProfileInfo [];
6061 readonly effectiveDate? : Date ;
6162 readonly expirationDate? : Date ;
6263 participants? : Participants [];
@@ -440,6 +441,13 @@ export interface BillingProfileCreationRequest {
440441 poNumber? : string ;
441442}
442443
444+ // @public
445+ export interface BillingProfileInfo {
446+ billingProfileDisplayName? : string ;
447+ billingProfileId? : string ;
448+ indirectRelationshipOrganizationName? : string ;
449+ }
450+
443451// @public
444452export interface BillingProfileListResult {
445453 readonly nextLink? : string ;
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export class BillingManagementClient extends coreClient.ServiceClient {
8787 credential : credentials
8888 } ;
8989
90- const packageDetails = `azsdk-js-arm-billing/4.0.0 ` ;
90+ const packageDetails = `azsdk-js-arm-billing/4.1.0-beta.1 ` ;
9191 const userAgentPrefix =
9292 options . userAgentOptions && options . userAgentOptions . userAgentPrefix
9393 ? `${ options . userAgentOptions . userAgentPrefix } ${ packageDetails } `
Original file line number Diff line number Diff line change @@ -767,6 +767,16 @@ export interface AgreementListResult {
767767 readonly nextLink ?: string ;
768768}
769769
770+ /** Details about billing profile associated with agreement and available only for specific agreements. */
771+ export interface BillingProfileInfo {
772+ /** The unique identifier for the billing profile. */
773+ billingProfileId ?: string ;
774+ /** The name of the billing profile */
775+ billingProfileDisplayName ?: string ;
776+ /** Billing account name. This property is available for a specific type of agreement. */
777+ indirectRelationshipOrganizationName ?: string ;
778+ }
779+
770780/** The details about a participant. */
771781export interface Participants {
772782 /**
@@ -1916,6 +1926,11 @@ export type Agreement = Resource & {
19161926 * NOTE: This property will not be serialized. It can only be populated by the server.
19171927 */
19181928 readonly acceptanceMode ?: AcceptanceMode ;
1929+ /**
1930+ * The list of billing profiles associated with agreement and present only for specific agreements.
1931+ * NOTE: This property will not be serialized. It can only be populated by the server.
1932+ */
1933+ readonly billingProfilesInfo ?: BillingProfileInfo [ ] ;
19191934 /**
19201935 * The date from which the agreement is effective.
19211936 * NOTE: This property will not be serialized. It can only be populated by the server.
Original file line number Diff line number Diff line change @@ -1524,6 +1524,33 @@ export const AgreementListResult: coreClient.CompositeMapper = {
15241524 }
15251525} ;
15261526
1527+ export const BillingProfileInfo : coreClient . CompositeMapper = {
1528+ type : {
1529+ name : "Composite" ,
1530+ className : "BillingProfileInfo" ,
1531+ modelProperties : {
1532+ billingProfileId : {
1533+ serializedName : "billingProfileId" ,
1534+ type : {
1535+ name : "String"
1536+ }
1537+ } ,
1538+ billingProfileDisplayName : {
1539+ serializedName : "billingProfileDisplayName" ,
1540+ type : {
1541+ name : "String"
1542+ }
1543+ } ,
1544+ indirectRelationshipOrganizationName : {
1545+ serializedName : "indirectRelationshipOrganizationName" ,
1546+ type : {
1547+ name : "String"
1548+ }
1549+ }
1550+ }
1551+ }
1552+ } ;
1553+
15271554export const Participants : coreClient . CompositeMapper = {
15281555 type : {
15291556 name : "Composite" ,
@@ -3580,6 +3607,19 @@ export const Agreement: coreClient.CompositeMapper = {
35803607 name : "String"
35813608 }
35823609 } ,
3610+ billingProfilesInfo : {
3611+ serializedName : "properties.billingProfilesInfo" ,
3612+ readOnly : true ,
3613+ type : {
3614+ name : "Sequence" ,
3615+ element : {
3616+ type : {
3617+ name : "Composite" ,
3618+ className : "BillingProfileInfo"
3619+ }
3620+ }
3621+ }
3622+ } ,
35833623 effectiveDate : {
35843624 serializedName : "properties.effectiveDate" ,
35853625 readOnly : true ,
Original file line number Diff line number Diff line change 99 "esModuleInterop" : true ,
1010 "allowSyntheticDefaultImports" : true ,
1111 "forceConsistentCasingInFileNames" : true ,
12- "lib" : [" es6" , " dom" ],
12+ "lib" : [
13+ " es6" ,
14+ " dom"
15+ ],
1316 "declaration" : true ,
1417 "outDir" : " ./dist-esm" ,
1518 "importHelpers" : true
1619 },
17- "include" : [" ./src/**/*.ts" , " ./test/**/*.ts" ],
18- "exclude" : [" node_modules" ]
19- }
20+ "include" : [
21+ " ./src/**/*.ts" ,
22+ " ./test/**/*.ts"
23+ ],
24+ "exclude" : [
25+ " node_modules"
26+ ]
27+ }
You can’t perform that action at this time.
0 commit comments