Skip to content

Commit 22bc982

Browse files
Added missing OAuth2 fields (#344)
1 parent 1282662 commit 22bc982

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/conductor/asyncio_client/adapters/models/integration_def_form_field_adapter.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ def field_name_validate_enum(cls, value):
9393
"valueSubjectNameStrategy",
9494
"version",
9595
"visibilityTimeout",
96+
"oAuth2RefreshToken",
97+
"oAuth2AuthCode",
98+
"oAuth2TokenExpiresAt",
99+
"oAuth2RedirectUri",
96100
]
97101
):
98102
raise ValueError(
@@ -111,7 +115,7 @@ def field_name_validate_enum(cls, value):
111115
"'schemaRegistryApiSecret', 'schemaRegistryAuthType', 'schemaRegistryUrl', "
112116
"'serviceAccountCredentials', 'stream', 'subscription', 'tls', 'tlsFile', "
113117
"'truststoreAuthenticationType', 'user', 'valueSubjectNameStrategy', "
114-
"'version', 'visibilityTimeout'"
118+
"'version', 'visibilityTimeout', 'oAuth2RefreshToken', 'oAuth2AuthCode', 'oAuth2TokenExpiresAt', 'oAuth2RedirectUri'"
115119
")"
116120
)
117121

src/conductor/client/adapters/models/integration_def_form_field_adapter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ def field_name(self, field_name):
6969
"betaVersion",
7070
"version",
7171
"organizationId",
72+
"oAuth2RefreshToken",
73+
"oAuth2AuthCode",
74+
"oAuth2TokenExpiresAt",
75+
"oAuth2RedirectUri",
7276
]
7377
if field_name not in allowed_values:
7478
raise ValueError(

0 commit comments

Comments
 (0)