Skip to content

Commit 67ccaf5

Browse files
authoredOct 11, 2019
feat: EnterpriseBillingInfo#{totalAvailableLicenses,totalLicenses}, deprecated: EnterpriseBillingInfo#{availableSeats,seats} (#224)
2 parents 8349bce + 4b1dfdd commit 67ccaf5

File tree

2 files changed

+48
-6
lines changed

2 files changed

+48
-6
lines changed
 

Diff for: ‎schema.graphql

+12-2
Original file line numberDiff line numberDiff line change
@@ -5706,7 +5706,7 @@ type EnterpriseBillingInfo {
57065706
"""
57075707
The number of available seats across all owned organizations based on the unique number of billable users.
57085708
"""
5709-
availableSeats: Int!
5709+
availableSeats: Int! @deprecated(reason: "`availableSeats` will be replaced with `totalAvailableLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC.")
57105710

57115711
"""
57125712
The bandwidth quota in GB for all organizations owned by the enterprise.
@@ -5726,7 +5726,7 @@ type EnterpriseBillingInfo {
57265726
"""
57275727
The total seats across all organizations owned by the enterprise.
57285728
"""
5729-
seats: Int!
5729+
seats: Int! @deprecated(reason: "`seats` will be replaced with `totalLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC.")
57305730

57315731
"""
57325732
The storage quota in GB for all organizations owned by the enterprise.
@@ -5742,6 +5742,16 @@ type EnterpriseBillingInfo {
57425742
The storage usage as a percentage of the storage quota.
57435743
"""
57445744
storageUsagePercentage: Int!
5745+
5746+
"""
5747+
The number of available licenses across all owned organizations based on the unique number of billable users.
5748+
"""
5749+
totalAvailableLicenses: Int!
5750+
5751+
"""
5752+
The total number of licenses allocated.
5753+
"""
5754+
totalLicenses: Int!
57455755
}
57465756

57475757
"""

Diff for: ‎schema.json

+36-4
Original file line numberDiff line numberDiff line change
@@ -44561,8 +44561,8 @@
4456144561
"ofType": null
4456244562
}
4456344563
},
44564-
"isDeprecated": false,
44565-
"deprecationReason": null
44564+
"isDeprecated": true,
44565+
"deprecationReason": "`availableSeats` will be replaced with `totalAvailableLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalAvailableLicenses instead. Removal on 2020-01-01 UTC."
4456644566
},
4456744567
{
4456844568
"name": "bandwidthQuota",
@@ -44625,8 +44625,8 @@
4462544625
"ofType": null
4462644626
}
4462744627
},
44628-
"isDeprecated": false,
44629-
"deprecationReason": null
44628+
"isDeprecated": true,
44629+
"deprecationReason": "`seats` will be replaced with `totalLicenses` to provide more clarity on the value being returned Use EnterpriseBillingInfo.totalLicenses instead. Removal on 2020-01-01 UTC."
4463044630
},
4463144631
{
4463244632
"name": "storageQuota",
@@ -44675,6 +44675,38 @@
4467544675
},
4467644676
"isDeprecated": false,
4467744677
"deprecationReason": null
44678+
},
44679+
{
44680+
"name": "totalAvailableLicenses",
44681+
"description": "The number of available licenses across all owned organizations based on the unique number of billable users.",
44682+
"args": [],
44683+
"type": {
44684+
"kind": "NON_NULL",
44685+
"name": null,
44686+
"ofType": {
44687+
"kind": "SCALAR",
44688+
"name": "Int",
44689+
"ofType": null
44690+
}
44691+
},
44692+
"isDeprecated": false,
44693+
"deprecationReason": null
44694+
},
44695+
{
44696+
"name": "totalLicenses",
44697+
"description": "The total number of licenses allocated.",
44698+
"args": [],
44699+
"type": {
44700+
"kind": "NON_NULL",
44701+
"name": null,
44702+
"ofType": {
44703+
"kind": "SCALAR",
44704+
"name": "Int",
44705+
"ofType": null
44706+
}
44707+
},
44708+
"isDeprecated": false,
44709+
"deprecationReason": null
4467844710
}
4467944711
],
4468044712
"inputFields": null,

0 commit comments

Comments
 (0)
Please sign in to comment.