Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions infrahub_sdk/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ class CoreGenericAccount(CoreNode):
account_type: Enum
status: Dropdown
tokens: RelationshipManager
external_identities: RelationshipManager


class CoreGenericRepository(CoreNode):
Expand Down Expand Up @@ -590,6 +591,13 @@ class InternalAccountToken(CoreNode):
account: RelatedNode


class InternalExternalIdentity(CoreNode):
sub: String
provider_name: String
protocol: String
account: RelatedNode


class InternalIPPrefixAvailable(BuiltinIPPrefix):
pass

Expand Down Expand Up @@ -698,6 +706,7 @@ class CoreGenericAccountSync(CoreNodeSync):
account_type: Enum
status: Dropdown
tokens: RelationshipManagerSync
external_identities: RelationshipManagerSync


class CoreGenericRepositorySync(CoreNodeSync):
Expand Down Expand Up @@ -1167,6 +1176,13 @@ class InternalAccountTokenSync(CoreNodeSync):
account: RelatedNodeSync


class InternalExternalIdentitySync(CoreNodeSync):
sub: String
provider_name: String
protocol: String
account: RelatedNodeSync


class InternalIPPrefixAvailableSync(BuiltinIPPrefixSync):
pass

Expand Down