Skip to content

Commit 3d74d41

Browse files
committed
fix: updated schema
1 parent 78d6844 commit 3d74d41

File tree

2 files changed

+149
-6
lines changed

2 files changed

+149
-6
lines changed

lib/index.d.ts

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,37 @@ export interface Account {
173173
* Identity Provider details for federated users.
174174
*/
175175
identity_provider?: {
176+
/**
177+
* unique identifier of this identity provider
178+
*/
179+
id?: string
180+
organization?: {
181+
/**
182+
* unique name of organization
183+
*/
184+
name?: string
185+
[k: string]: any
186+
}
187+
/**
188+
* entity that owns this identity provider
189+
*/
190+
owner?: {
191+
/**
192+
* unique identifier of the owner
193+
*/
194+
id: string
195+
/**
196+
* name of the owner
197+
*/
198+
name?: string
199+
/**
200+
* type of the owner
201+
*/
202+
type: 'team' | 'enterprise-account'
203+
[k: string]: any
204+
}
176205
[k: string]: any
177-
} | null
206+
}
178207
/**
179208
* when account last authorized with Heroku
180209
*/
@@ -1588,6 +1617,24 @@ export interface IdentityProvider {
15881617
* when the identity provider record was updated
15891618
*/
15901619
updated_at?: string
1620+
/**
1621+
* entity that owns this identity provider
1622+
*/
1623+
owner?: {
1624+
/**
1625+
* unique identifier of the owner
1626+
*/
1627+
id: string
1628+
/**
1629+
* name of the owner
1630+
*/
1631+
name?: string
1632+
/**
1633+
* type of the owner
1634+
*/
1635+
type: 'team' | 'enterprise-account'
1636+
[k: string]: any
1637+
}
15911638
[k: string]: any
15921639
}
15931640
/**
@@ -2597,6 +2644,10 @@ export interface PeeringInfo {
25972644
* The CIDR ranges that you must not conflict with.
25982645
*/
25992646
unavailable_cidr_blocks?: string[]
2647+
/**
2648+
* The CIDR ranges that should be routed to the Private Space VPC.
2649+
*/
2650+
space_cidr_blocks?: string[]
26002651
[k: string]: any
26012652
}
26022653
/**

schema.json

Lines changed: 97 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -489,12 +489,50 @@
489489
"$ref": "#/definitions/organization/definitions/name"
490490
}
491491
}
492+
},
493+
"owner": {
494+
"description": "entity that owns this identity provider",
495+
"properties": {
496+
"id": {
497+
"description": "unique identifier of the owner",
498+
"example": "01234567-89ab-cdef-0123-456789abcdef",
499+
"format": "uuid",
500+
"readOnly": true,
501+
"type": [
502+
"string"
503+
]
504+
},
505+
"name": {
506+
"description": "name of the owner",
507+
"example": "acme",
508+
"readOnly": true,
509+
"type": [
510+
"string"
511+
]
512+
},
513+
"type": {
514+
"description": "type of the owner",
515+
"enum": [
516+
"team",
517+
"enterprise-account"
518+
],
519+
"example": "team",
520+
"readOnly": true,
521+
"type": [
522+
"string"
523+
]
524+
}
525+
},
526+
"readOnly": false,
527+
"required": [
528+
"id",
529+
"type"
530+
],
531+
"type": [
532+
"object"
533+
]
492534
}
493-
},
494-
"type": [
495-
"object",
496-
"null"
497-
]
535+
}
498536
},
499537
"last_login": {
500538
"$ref": "#/definitions/account/definitions/last_login"
@@ -5823,6 +5861,48 @@
58235861
"type": [
58245862
"string"
58255863
]
5864+
},
5865+
"owner": {
5866+
"description": "entity that owns this identity provider",
5867+
"properties": {
5868+
"id": {
5869+
"description": "unique identifier of the owner",
5870+
"example": "01234567-89ab-cdef-0123-456789abcdef",
5871+
"format": "uuid",
5872+
"readOnly": true,
5873+
"type": [
5874+
"string"
5875+
]
5876+
},
5877+
"name": {
5878+
"description": "name of the owner",
5879+
"example": "acme",
5880+
"readOnly": true,
5881+
"type": [
5882+
"string"
5883+
]
5884+
},
5885+
"type": {
5886+
"description": "type of the owner",
5887+
"enum": [
5888+
"team",
5889+
"enterprise-account"
5890+
],
5891+
"example": "team",
5892+
"readOnly": true,
5893+
"type": [
5894+
"string"
5895+
]
5896+
}
5897+
},
5898+
"readOnly": false,
5899+
"required": [
5900+
"id",
5901+
"type"
5902+
],
5903+
"type": [
5904+
"object"
5905+
]
58265906
}
58275907
},
58285908
"links": [
@@ -6036,6 +6116,9 @@
60366116
},
60376117
"updated_at": {
60386118
"$ref": "#/definitions/identity-provider/definitions/updated_at"
6119+
},
6120+
"owner": {
6121+
"$ref": "#/definitions/identity-provider/definitions/owner"
60396122
}
60406123
}
60416124
},
@@ -9870,6 +9953,15 @@
98709953
"items": {
98719954
"$ref": "#/definitions/peering/definitions/cidr"
98729955
}
9956+
},
9957+
"space_cidr_blocks": {
9958+
"description": "The CIDR ranges that should be routed to the Private Space VPC.",
9959+
"type": [
9960+
"array"
9961+
],
9962+
"items": {
9963+
"$ref": "#/definitions/peering/definitions/cidr"
9964+
}
98739965
}
98749966
},
98759967
"links": [

0 commit comments

Comments
 (0)