Skip to content

Commit 2d32341

Browse files
-e Update API Client
#### What's New --- ##### `GET` /propertymappings/source/telegram/ ##### `POST` /propertymappings/source/telegram/ ##### `GET` /propertymappings/source/telegram/{pm_uuid}/ ##### `PUT` /propertymappings/source/telegram/{pm_uuid}/ ##### `DELETE` /propertymappings/source/telegram/{pm_uuid}/ ##### `PATCH` /propertymappings/source/telegram/{pm_uuid}/ ##### `GET` /propertymappings/source/telegram/{pm_uuid}/used_by/ ##### `GET` /sources/group_connections/telegram/ ##### `POST` /sources/group_connections/telegram/ ##### `GET` /sources/group_connections/telegram/{id}/ ##### `PUT` /sources/group_connections/telegram/{id}/ ##### `DELETE` /sources/group_connections/telegram/{id}/ ##### `PATCH` /sources/group_connections/telegram/{id}/ ##### `GET` /sources/group_connections/telegram/{id}/used_by/ ##### `GET` /sources/telegram/ ##### `POST` /sources/telegram/ ##### `GET` /sources/telegram/{slug}/ ##### `PUT` /sources/telegram/{slug}/ ##### `DELETE` /sources/telegram/{slug}/ ##### `PATCH` /sources/telegram/{slug}/ ##### `GET` /sources/telegram/{slug}/used_by/ ##### `GET` /sources/user_connections/telegram/ ##### `POST` /sources/user_connections/telegram/ ##### `GET` /sources/user_connections/telegram/{id}/ ##### `PUT` /sources/user_connections/telegram/{id}/ ##### `DELETE` /sources/user_connections/telegram/{id}/ ##### `PATCH` /sources/user_connections/telegram/{id}/ ##### `GET` /sources/user_connections/telegram/{id}/used_by/ #### What's Changed --- ##### `GET` /policies/event_matcher/{policy_uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `PUT` /policies/event_matcher/{policy_uuid}/ ###### Request: Changed content type : `application/json` * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `PATCH` /policies/event_matcher/{policy_uuid}/ ###### Request: Changed content type : `application/json` * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `POST` /policies/event_matcher/ ###### Request: Changed content type : `application/json` * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `GET` /policies/event_matcher/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > Event Matcher Policy Serializer * Changed property `app` (string) > Match events created by selected application. When left empty, all applications are matched. Added enum value: * `authentik.sources.telegram` * Changed property `model` (string) > Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched. Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `POST` /rbac/permissions/assigned_by_roles/{uuid}/assign/ ###### Request: Changed content type : `application/json` * Changed property `model` (string) Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `PATCH` /rbac/permissions/assigned_by_roles/{uuid}/unassign/ ###### Request: Changed content type : `application/json` * Changed property `model` (string) Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `POST` /rbac/permissions/assigned_by_users/{id}/assign/ ###### Request: Changed content type : `application/json` * Changed property `model` (string) Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `PATCH` /rbac/permissions/assigned_by_users/{id}/unassign/ ###### Request: Changed content type : `application/json` * Changed property `model` (string) Added enum values: * `authentik_sources_telegram.telegramsource` * `authentik_sources_telegram.telegramsourcepropertymapping` * `authentik_sources_telegram.usertelegramsourceconnection` * `authentik_sources_telegram.grouptelegramsourceconnection` ##### `GET` /rbac/permissions/assigned_by_roles/ ###### Parameters: Changed: `model` in `query` ##### `GET` /rbac/permissions/assigned_by_users/ ###### Parameters: Changed: `model` in `query` ##### `GET` /flows/executor/{flow_slug}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` Added 'ak-source-telegram' component: * Property `flow_info` (object) > Contextual flow information for a challenge * Property `title` (string) * Property `background` (string) * Property `cancel_url` (string) * Property `layout` (string) Enum values: * `stacked` * `content_left` * `content_right` * `sidebar_left` * `sidebar_right` * Property `component` (string) * Property `response_errors` (object) * Property `bot_username` (string) > Telegram bot username * Property `request_message_access` (boolean) Updated `ak-stage-identification` component: * Changed property `sources` (array) Changed items (object): > Serializer for Login buttons of sources * Changed property `challenge` (object) Added 'ak-source-telegram' component: ##### `POST` /flows/executor/{flow_slug}/ ###### Request: Changed content type : `application/json` Added 'ak-source-telegram' component: * Property `component` (string) * Property `id` (integer) * Property `first_name` (string) * Property `last_name` (string) * Property `username` (string) * Property `photo_url` (string) * Property `auth_date` (integer) * Property `hash` (string) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` Added 'ak-source-telegram' component: Updated `ak-stage-identification` component: * Changed property `sources` (array) Changed items (object): > Serializer for Login buttons of sources * Changed property `challenge` (object) Added 'ak-source-telegram' component:
1 parent 17d85d3 commit 2d32341

File tree

82 files changed

+23392
-6731
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+23392
-6731
lines changed

.openapi-generator/FILES

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ authentik_client/models/group_saml_source_connection.py
223223
authentik_client/models/group_saml_source_connection_request.py
224224
authentik_client/models/group_source_connection.py
225225
authentik_client/models/group_source_connection_request.py
226+
authentik_client/models/group_telegram_source_connection.py
227+
authentik_client/models/group_telegram_source_connection_request.py
226228
authentik_client/models/identification_challenge.py
227229
authentik_client/models/identification_challenge_response_request.py
228230
authentik_client/models/identification_stage.py
@@ -360,6 +362,7 @@ authentik_client/models/paginated_group_o_auth_source_connection_list.py
360362
authentik_client/models/paginated_group_plex_source_connection_list.py
361363
authentik_client/models/paginated_group_saml_source_connection_list.py
362364
authentik_client/models/paginated_group_source_connection_list.py
365+
authentik_client/models/paginated_group_telegram_source_connection_list.py
363366
authentik_client/models/paginated_identification_stage_list.py
364367
authentik_client/models/paginated_initial_permissions_list.py
365368
authentik_client/models/paginated_invitation_list.py
@@ -432,6 +435,8 @@ authentik_client/models/paginated_ssf_stream_list.py
432435
authentik_client/models/paginated_stage_list.py
433436
authentik_client/models/paginated_static_device_list.py
434437
authentik_client/models/paginated_task_list.py
438+
authentik_client/models/paginated_telegram_source_list.py
439+
authentik_client/models/paginated_telegram_source_property_mapping_list.py
435440
authentik_client/models/paginated_tenant_list.py
436441
authentik_client/models/paginated_token_list.py
437442
authentik_client/models/paginated_token_model_list.py
@@ -449,6 +454,7 @@ authentik_client/models/paginated_user_o_auth_source_connection_list.py
449454
authentik_client/models/paginated_user_plex_source_connection_list.py
450455
authentik_client/models/paginated_user_saml_source_connection_list.py
451456
authentik_client/models/paginated_user_source_connection_list.py
457+
authentik_client/models/paginated_user_telegram_source_connection_list.py
452458
authentik_client/models/paginated_user_write_stage_list.py
453459
authentik_client/models/paginated_web_authn_device_list.py
454460
authentik_client/models/paginated_web_authn_device_type_list.py
@@ -506,6 +512,7 @@ authentik_client/models/patched_group_plex_source_connection_request.py
506512
authentik_client/models/patched_group_request.py
507513
authentik_client/models/patched_group_saml_source_connection_request.py
508514
authentik_client/models/patched_group_source_connection_request.py
515+
authentik_client/models/patched_group_telegram_source_connection_request.py
509516
authentik_client/models/patched_identification_stage_request.py
510517
authentik_client/models/patched_initial_permissions_request.py
511518
authentik_client/models/patched_invitation_request.py
@@ -563,6 +570,8 @@ authentik_client/models/patched_sms_device_request.py
563570
authentik_client/models/patched_source_stage_request.py
564571
authentik_client/models/patched_ssf_provider_request.py
565572
authentik_client/models/patched_static_device_request.py
573+
authentik_client/models/patched_telegram_source_property_mapping_request.py
574+
authentik_client/models/patched_telegram_source_request.py
566575
authentik_client/models/patched_tenant_request.py
567576
authentik_client/models/patched_token_request.py
568577
authentik_client/models/patched_totp_device_request.py
@@ -577,6 +586,7 @@ authentik_client/models/patched_user_plex_source_connection_request.py
577586
authentik_client/models/patched_user_request.py
578587
authentik_client/models/patched_user_saml_source_connection_request.py
579588
authentik_client/models/patched_user_source_connection_request.py
589+
authentik_client/models/patched_user_telegram_source_connection_request.py
580590
authentik_client/models/patched_user_write_stage_request.py
581591
authentik_client/models/patched_web_authn_device_request.py
582592
authentik_client/models/permission.py
@@ -712,6 +722,12 @@ authentik_client/models/system_info.py
712722
authentik_client/models/system_info_runtime.py
713723
authentik_client/models/task.py
714724
authentik_client/models/task_aggregated_status_enum.py
725+
authentik_client/models/telegram_challenge_response_request.py
726+
authentik_client/models/telegram_login_challenge.py
727+
authentik_client/models/telegram_source.py
728+
authentik_client/models/telegram_source_property_mapping.py
729+
authentik_client/models/telegram_source_property_mapping_request.py
730+
authentik_client/models/telegram_source_request.py
715731
authentik_client/models/tenant.py
716732
authentik_client/models/tenant_admin_group_request_request.py
717733
authentik_client/models/tenant_recovery_key_request_request.py
@@ -770,6 +786,8 @@ authentik_client/models/user_service_account_response.py
770786
authentik_client/models/user_setting.py
771787
authentik_client/models/user_source_connection.py
772788
authentik_client/models/user_source_connection_request.py
789+
authentik_client/models/user_telegram_source_connection.py
790+
authentik_client/models/user_telegram_source_connection_request.py
773791
authentik_client/models/user_type_enum.py
774792
authentik_client/models/user_verification_enum.py
775793
authentik_client/models/user_write_stage.py
@@ -981,6 +999,8 @@ docs/GroupSAMLSourceConnection.md
981999
docs/GroupSAMLSourceConnectionRequest.md
9821000
docs/GroupSourceConnection.md
9831001
docs/GroupSourceConnectionRequest.md
1002+
docs/GroupTelegramSourceConnection.md
1003+
docs/GroupTelegramSourceConnectionRequest.md
9841004
docs/IdentificationChallenge.md
9851005
docs/IdentificationChallengeResponseRequest.md
9861006
docs/IdentificationStage.md
@@ -1121,6 +1141,7 @@ docs/PaginatedGroupOAuthSourceConnectionList.md
11211141
docs/PaginatedGroupPlexSourceConnectionList.md
11221142
docs/PaginatedGroupSAMLSourceConnectionList.md
11231143
docs/PaginatedGroupSourceConnectionList.md
1144+
docs/PaginatedGroupTelegramSourceConnectionList.md
11241145
docs/PaginatedIdentificationStageList.md
11251146
docs/PaginatedInitialPermissionsList.md
11261147
docs/PaginatedInvitationList.md
@@ -1194,6 +1215,8 @@ docs/PaginatedStageList.md
11941215
docs/PaginatedStaticDeviceList.md
11951216
docs/PaginatedTOTPDeviceList.md
11961217
docs/PaginatedTaskList.md
1218+
docs/PaginatedTelegramSourceList.md
1219+
docs/PaginatedTelegramSourcePropertyMappingList.md
11971220
docs/PaginatedTenantList.md
11981221
docs/PaginatedTokenList.md
11991222
docs/PaginatedTokenModelList.md
@@ -1210,6 +1233,7 @@ docs/PaginatedUserOAuthSourceConnectionList.md
12101233
docs/PaginatedUserPlexSourceConnectionList.md
12111234
docs/PaginatedUserSAMLSourceConnectionList.md
12121235
docs/PaginatedUserSourceConnectionList.md
1236+
docs/PaginatedUserTelegramSourceConnectionList.md
12131237
docs/PaginatedUserWriteStageList.md
12141238
docs/PaginatedWebAuthnDeviceList.md
12151239
docs/PaginatedWebAuthnDeviceTypeList.md
@@ -1267,6 +1291,7 @@ docs/PatchedGroupPlexSourceConnectionRequest.md
12671291
docs/PatchedGroupRequest.md
12681292
docs/PatchedGroupSAMLSourceConnectionRequest.md
12691293
docs/PatchedGroupSourceConnectionRequest.md
1294+
docs/PatchedGroupTelegramSourceConnectionRequest.md
12701295
docs/PatchedIdentificationStageRequest.md
12711296
docs/PatchedInitialPermissionsRequest.md
12721297
docs/PatchedInvitationRequest.md
@@ -1325,6 +1350,8 @@ docs/PatchedSettingsRequestFlags.md
13251350
docs/PatchedSourceStageRequest.md
13261351
docs/PatchedStaticDeviceRequest.md
13271352
docs/PatchedTOTPDeviceRequest.md
1353+
docs/PatchedTelegramSourcePropertyMappingRequest.md
1354+
docs/PatchedTelegramSourceRequest.md
13281355
docs/PatchedTenantRequest.md
13291356
docs/PatchedTokenRequest.md
13301357
docs/PatchedUniquePasswordPolicyRequest.md
@@ -1338,6 +1365,7 @@ docs/PatchedUserPlexSourceConnectionRequest.md
13381365
docs/PatchedUserRequest.md
13391366
docs/PatchedUserSAMLSourceConnectionRequest.md
13401367
docs/PatchedUserSourceConnectionRequest.md
1368+
docs/PatchedUserTelegramSourceConnectionRequest.md
13411369
docs/PatchedUserWriteStageRequest.md
13421370
docs/PatchedWebAuthnDeviceRequest.md
13431371
docs/Permission.md
@@ -1486,6 +1514,12 @@ docs/TOTPDeviceRequest.md
14861514
docs/Task.md
14871515
docs/TaskAggregatedStatusEnum.md
14881516
docs/TasksApi.md
1517+
docs/TelegramChallengeResponseRequest.md
1518+
docs/TelegramLoginChallenge.md
1519+
docs/TelegramSource.md
1520+
docs/TelegramSourcePropertyMapping.md
1521+
docs/TelegramSourcePropertyMappingRequest.md
1522+
docs/TelegramSourceRequest.md
14891523
docs/Tenant.md
14901524
docs/TenantAdminGroupRequestRequest.md
14911525
docs/TenantRecoveryKeyRequestRequest.md
@@ -1543,6 +1577,8 @@ docs/UserServiceAccountResponse.md
15431577
docs/UserSetting.md
15441578
docs/UserSourceConnection.md
15451579
docs/UserSourceConnectionRequest.md
1580+
docs/UserTelegramSourceConnection.md
1581+
docs/UserTelegramSourceConnectionRequest.md
15461582
docs/UserTypeEnum.md
15471583
docs/UserVerificationEnum.md
15481584
docs/UserWriteStage.md
@@ -1759,6 +1795,8 @@ test/test_group_saml_source_connection.py
17591795
test/test_group_saml_source_connection_request.py
17601796
test/test_group_source_connection.py
17611797
test/test_group_source_connection_request.py
1798+
test/test_group_telegram_source_connection.py
1799+
test/test_group_telegram_source_connection_request.py
17621800
test/test_identification_challenge.py
17631801
test/test_identification_challenge_response_request.py
17641802
test/test_identification_stage.py
@@ -1899,6 +1937,7 @@ test/test_paginated_group_o_auth_source_connection_list.py
18991937
test/test_paginated_group_plex_source_connection_list.py
19001938
test/test_paginated_group_saml_source_connection_list.py
19011939
test/test_paginated_group_source_connection_list.py
1940+
test/test_paginated_group_telegram_source_connection_list.py
19021941
test/test_paginated_identification_stage_list.py
19031942
test/test_paginated_initial_permissions_list.py
19041943
test/test_paginated_invitation_list.py
@@ -1971,6 +2010,8 @@ test/test_paginated_ssf_stream_list.py
19712010
test/test_paginated_stage_list.py
19722011
test/test_paginated_static_device_list.py
19732012
test/test_paginated_task_list.py
2013+
test/test_paginated_telegram_source_list.py
2014+
test/test_paginated_telegram_source_property_mapping_list.py
19742015
test/test_paginated_tenant_list.py
19752016
test/test_paginated_token_list.py
19762017
test/test_paginated_token_model_list.py
@@ -1988,6 +2029,7 @@ test/test_paginated_user_o_auth_source_connection_list.py
19882029
test/test_paginated_user_plex_source_connection_list.py
19892030
test/test_paginated_user_saml_source_connection_list.py
19902031
test/test_paginated_user_source_connection_list.py
2032+
test/test_paginated_user_telegram_source_connection_list.py
19912033
test/test_paginated_user_write_stage_list.py
19922034
test/test_paginated_web_authn_device_list.py
19932035
test/test_paginated_web_authn_device_type_list.py
@@ -2045,6 +2087,7 @@ test/test_patched_group_plex_source_connection_request.py
20452087
test/test_patched_group_request.py
20462088
test/test_patched_group_saml_source_connection_request.py
20472089
test/test_patched_group_source_connection_request.py
2090+
test/test_patched_group_telegram_source_connection_request.py
20482091
test/test_patched_identification_stage_request.py
20492092
test/test_patched_initial_permissions_request.py
20502093
test/test_patched_invitation_request.py
@@ -2102,6 +2145,8 @@ test/test_patched_sms_device_request.py
21022145
test/test_patched_source_stage_request.py
21032146
test/test_patched_ssf_provider_request.py
21042147
test/test_patched_static_device_request.py
2148+
test/test_patched_telegram_source_property_mapping_request.py
2149+
test/test_patched_telegram_source_request.py
21052150
test/test_patched_tenant_request.py
21062151
test/test_patched_token_request.py
21072152
test/test_patched_totp_device_request.py
@@ -2116,6 +2161,7 @@ test/test_patched_user_plex_source_connection_request.py
21162161
test/test_patched_user_request.py
21172162
test/test_patched_user_saml_source_connection_request.py
21182163
test/test_patched_user_source_connection_request.py
2164+
test/test_patched_user_telegram_source_connection_request.py
21192165
test/test_patched_user_write_stage_request.py
21202166
test/test_patched_web_authn_device_request.py
21212167
test/test_permission.py
@@ -2262,6 +2308,12 @@ test/test_system_info_runtime.py
22622308
test/test_task.py
22632309
test/test_task_aggregated_status_enum.py
22642310
test/test_tasks_api.py
2311+
test/test_telegram_challenge_response_request.py
2312+
test/test_telegram_login_challenge.py
2313+
test/test_telegram_source.py
2314+
test/test_telegram_source_property_mapping.py
2315+
test/test_telegram_source_property_mapping_request.py
2316+
test/test_telegram_source_request.py
22652317
test/test_tenant.py
22662318
test/test_tenant_admin_group_request_request.py
22672319
test/test_tenant_recovery_key_request_request.py
@@ -2321,6 +2373,8 @@ test/test_user_service_account_response.py
23212373
test/test_user_setting.py
23222374
test/test_user_source_connection.py
23232375
test/test_user_source_connection_request.py
2376+
test/test_user_telegram_source_connection.py
2377+
test/test_user_telegram_source_connection_request.py
23242378
test/test_user_type_enum.py
23252379
test/test_user_verification_enum.py
23262380
test/test_user_write_stage.py

0 commit comments

Comments
 (0)