Skip to content

Commit 8d0da41

Browse files
committed
Add missing external identities
1 parent afa0c6d commit 8d0da41

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

infrahub_sdk/protocols.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ class CoreGenericAccount(CoreNode):
121121
account_type: Enum
122122
status: Dropdown
123123
tokens: RelationshipManager
124+
external_identities: RelationshipManager
124125

125126

126127
class CoreGenericRepository(CoreNode):
@@ -590,6 +591,13 @@ class InternalAccountToken(CoreNode):
590591
account: RelatedNode
591592

592593

594+
class InternalExternalIdentity(CoreNode):
595+
sub: String
596+
provider_name: String
597+
protocol: String
598+
account: RelatedNode
599+
600+
593601
class InternalIPPrefixAvailable(BuiltinIPPrefix):
594602
pass
595603

@@ -698,6 +706,7 @@ class CoreGenericAccountSync(CoreNodeSync):
698706
account_type: Enum
699707
status: Dropdown
700708
tokens: RelationshipManagerSync
709+
external_identities: RelationshipManagerSync
701710

702711

703712
class CoreGenericRepositorySync(CoreNodeSync):
@@ -1167,6 +1176,13 @@ class InternalAccountTokenSync(CoreNodeSync):
11671176
account: RelatedNodeSync
11681177

11691178

1179+
class InternalExternalIdentitySync(CoreNodeSync):
1180+
sub: String
1181+
provider_name: String
1182+
protocol: String
1183+
account: RelatedNodeSync
1184+
1185+
11701186
class InternalIPPrefixAvailableSync(BuiltinIPPrefixSync):
11711187
pass
11721188

0 commit comments

Comments
 (0)