@goauthentik/api 2025.10.0-rc1-1759234079 → 2025.10.0-rc1-1759846759
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +18 -0
- package/dist/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/apis/PropertymappingsApi.d.ts.map +1 -1
- package/dist/apis/PropertymappingsApi.js +255 -0
- package/dist/apis/PropertymappingsApi.js.map +1 -1
- package/dist/apis/RbacApi.d.ts +8 -0
- package/dist/apis/RbacApi.d.ts.map +1 -1
- package/dist/apis/RbacApi.js +8 -0
- package/dist/apis/RbacApi.js.map +1 -1
- package/dist/apis/SourcesApi.d.ts +293 -1
- package/dist/apis/SourcesApi.d.ts.map +1 -1
- package/dist/apis/SourcesApi.js +853 -42
- package/dist/apis/SourcesApi.js.map +1 -1
- package/dist/apis/TasksApi.d.ts +6 -0
- package/dist/apis/TasksApi.d.ts.map +1 -1
- package/dist/apis/TasksApi.js +6 -0
- package/dist/apis/TasksApi.js.map +1 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts.map +1 -1
- package/dist/esm/apis/PropertymappingsApi.js +255 -0
- package/dist/esm/apis/PropertymappingsApi.js.map +1 -1
- package/dist/esm/apis/RbacApi.d.ts +8 -0
- package/dist/esm/apis/RbacApi.d.ts.map +1 -1
- package/dist/esm/apis/RbacApi.js +8 -0
- package/dist/esm/apis/RbacApi.js.map +1 -1
- package/dist/esm/apis/SourcesApi.d.ts +293 -1
- package/dist/esm/apis/SourcesApi.d.ts.map +1 -1
- package/dist/esm/apis/SourcesApi.js +853 -42
- package/dist/esm/apis/SourcesApi.js.map +1 -1
- package/dist/esm/apis/TasksApi.d.ts +6 -0
- package/dist/esm/apis/TasksApi.d.ts.map +1 -1
- package/dist/esm/apis/TasksApi.js +6 -0
- package/dist/esm/apis/TasksApi.js.map +1 -1
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.d.ts.map +1 -1
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AppEnum.js.map +1 -1
- package/dist/esm/models/ChallengeTypes.d.ts +3 -0
- package/dist/esm/models/ChallengeTypes.d.ts.map +1 -1
- package/dist/esm/models/ChallengeTypes.js +5 -0
- package/dist/esm/models/ChallengeTypes.js.map +1 -1
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +3 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts.map +1 -1
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/FlowChallengeResponseRequest.js.map +1 -1
- package/dist/esm/models/GroupTelegramSourceConnection.d.ts +70 -0
- package/dist/esm/models/GroupTelegramSourceConnection.d.ts.map +1 -0
- package/dist/esm/models/GroupTelegramSourceConnection.js +72 -0
- package/dist/esm/models/GroupTelegramSourceConnection.js.map +1 -0
- package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/esm/models/GroupTelegramSourceConnectionRequest.js +59 -0
- package/dist/esm/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/esm/models/LastTaskStatusEnum.d.ts +3 -0
- package/dist/esm/models/LastTaskStatusEnum.d.ts.map +1 -1
- package/dist/esm/models/LastTaskStatusEnum.js +3 -0
- package/dist/esm/models/LastTaskStatusEnum.js.map +1 -1
- package/dist/esm/models/LoginChallengeTypes.d.ts +3 -0
- package/dist/esm/models/LoginChallengeTypes.d.ts.map +1 -1
- package/dist/esm/models/LoginChallengeTypes.js +5 -0
- package/dist/esm/models/LoginChallengeTypes.js.map +1 -1
- package/dist/esm/models/ModelEnum.d.ts +4 -0
- package/dist/esm/models/ModelEnum.d.ts.map +1 -1
- package/dist/esm/models/ModelEnum.js +4 -0
- package/dist/esm/models/ModelEnum.js.map +1 -1
- package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
- package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
- package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
- package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
- package/dist/esm/models/PaginatedTelegramSourceList.d.ts +49 -0
- package/dist/esm/models/PaginatedTelegramSourceList.d.ts.map +1 -0
- package/dist/esm/models/PaginatedTelegramSourceList.js +61 -0
- package/dist/esm/models/PaginatedTelegramSourceList.js.map +1 -0
- package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
- package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
- package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
- package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
- package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
- package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
- package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
- package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
- package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
- package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
- package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
- package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
- package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
- package/dist/esm/models/PatchedTelegramSourceRequest.d.ts +113 -0
- package/dist/esm/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
- package/dist/esm/models/PatchedTelegramSourceRequest.js +77 -0
- package/dist/esm/models/PatchedTelegramSourceRequest.js.map +1 -0
- package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
- package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/esm/models/StateEnum.d.ts +3 -0
- package/dist/esm/models/StateEnum.d.ts.map +1 -1
- package/dist/esm/models/StateEnum.js +3 -0
- package/dist/esm/models/StateEnum.js.map +1 -1
- package/dist/esm/models/TaskAggregatedStatusEnum.d.ts +3 -0
- package/dist/esm/models/TaskAggregatedStatusEnum.d.ts.map +1 -1
- package/dist/esm/models/TaskAggregatedStatusEnum.js +3 -0
- package/dist/esm/models/TaskAggregatedStatusEnum.js.map +1 -1
- package/dist/esm/models/TelegramChallengeResponseRequest.d.ts +75 -0
- package/dist/esm/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
- package/dist/esm/models/TelegramChallengeResponseRequest.js +69 -0
- package/dist/esm/models/TelegramChallengeResponseRequest.js.map +1 -0
- package/dist/esm/models/TelegramLoginChallenge.d.ts +61 -0
- package/dist/esm/models/TelegramLoginChallenge.d.ts.map +1 -0
- package/dist/esm/models/TelegramLoginChallenge.js +62 -0
- package/dist/esm/models/TelegramLoginChallenge.js.map +1 -0
- package/dist/esm/models/TelegramSource.d.ts +149 -0
- package/dist/esm/models/TelegramSource.d.ts.map +1 -0
- package/dist/esm/models/TelegramSource.js +104 -0
- package/dist/esm/models/TelegramSource.js.map +1 -0
- package/dist/esm/models/TelegramSourcePropertyMapping.d.ts +75 -0
- package/dist/esm/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
- package/dist/esm/models/TelegramSourcePropertyMapping.js +72 -0
- package/dist/esm/models/TelegramSourcePropertyMapping.js.map +1 -0
- package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
- package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
- package/dist/esm/models/TelegramSourcePropertyMappingRequest.js +57 -0
- package/dist/esm/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
- package/dist/esm/models/TelegramSourceRequest.d.ts +113 -0
- package/dist/esm/models/TelegramSourceRequest.d.ts.map +1 -0
- package/dist/esm/models/TelegramSourceRequest.js +87 -0
- package/dist/esm/models/TelegramSourceRequest.js.map +1 -0
- package/dist/esm/models/UserTelegramSourceConnection.d.ts +70 -0
- package/dist/esm/models/UserTelegramSourceConnection.d.ts.map +1 -0
- package/dist/esm/models/UserTelegramSourceConnection.js +72 -0
- package/dist/esm/models/UserTelegramSourceConnection.js.map +1 -0
- package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/esm/models/UserTelegramSourceConnectionRequest.js +59 -0
- package/dist/esm/models/UserTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.d.ts.map +1 -1
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AppEnum.js.map +1 -1
- package/dist/models/ChallengeTypes.d.ts +3 -0
- package/dist/models/ChallengeTypes.d.ts.map +1 -1
- package/dist/models/ChallengeTypes.js +5 -0
- package/dist/models/ChallengeTypes.js.map +1 -1
- package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts.map +1 -1
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/FlowChallengeResponseRequest.js.map +1 -1
- package/dist/models/GroupTelegramSourceConnection.d.ts +70 -0
- package/dist/models/GroupTelegramSourceConnection.d.ts.map +1 -0
- package/dist/models/GroupTelegramSourceConnection.js +72 -0
- package/dist/models/GroupTelegramSourceConnection.js.map +1 -0
- package/dist/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/models/GroupTelegramSourceConnectionRequest.js +59 -0
- package/dist/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/models/LastTaskStatusEnum.d.ts +3 -0
- package/dist/models/LastTaskStatusEnum.d.ts.map +1 -1
- package/dist/models/LastTaskStatusEnum.js +3 -0
- package/dist/models/LastTaskStatusEnum.js.map +1 -1
- package/dist/models/LoginChallengeTypes.d.ts +3 -0
- package/dist/models/LoginChallengeTypes.d.ts.map +1 -1
- package/dist/models/LoginChallengeTypes.js +5 -0
- package/dist/models/LoginChallengeTypes.js.map +1 -1
- package/dist/models/ModelEnum.d.ts +4 -0
- package/dist/models/ModelEnum.d.ts.map +1 -1
- package/dist/models/ModelEnum.js +4 -0
- package/dist/models/ModelEnum.js.map +1 -1
- package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
- package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
- package/dist/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
- package/dist/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
- package/dist/models/PaginatedTelegramSourceList.d.ts +49 -0
- package/dist/models/PaginatedTelegramSourceList.d.ts.map +1 -0
- package/dist/models/PaginatedTelegramSourceList.js +61 -0
- package/dist/models/PaginatedTelegramSourceList.js.map +1 -0
- package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
- package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
- package/dist/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
- package/dist/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
- package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
- package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
- package/dist/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
- package/dist/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
- package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
- package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
- package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
- package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
- package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
- package/dist/models/PatchedTelegramSourceRequest.d.ts +113 -0
- package/dist/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
- package/dist/models/PatchedTelegramSourceRequest.js +77 -0
- package/dist/models/PatchedTelegramSourceRequest.js.map +1 -0
- package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
- package/dist/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/models/StateEnum.d.ts +3 -0
- package/dist/models/StateEnum.d.ts.map +1 -1
- package/dist/models/StateEnum.js +3 -0
- package/dist/models/StateEnum.js.map +1 -1
- package/dist/models/TaskAggregatedStatusEnum.d.ts +3 -0
- package/dist/models/TaskAggregatedStatusEnum.d.ts.map +1 -1
- package/dist/models/TaskAggregatedStatusEnum.js +3 -0
- package/dist/models/TaskAggregatedStatusEnum.js.map +1 -1
- package/dist/models/TelegramChallengeResponseRequest.d.ts +75 -0
- package/dist/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
- package/dist/models/TelegramChallengeResponseRequest.js +69 -0
- package/dist/models/TelegramChallengeResponseRequest.js.map +1 -0
- package/dist/models/TelegramLoginChallenge.d.ts +61 -0
- package/dist/models/TelegramLoginChallenge.d.ts.map +1 -0
- package/dist/models/TelegramLoginChallenge.js +62 -0
- package/dist/models/TelegramLoginChallenge.js.map +1 -0
- package/dist/models/TelegramSource.d.ts +149 -0
- package/dist/models/TelegramSource.d.ts.map +1 -0
- package/dist/models/TelegramSource.js +104 -0
- package/dist/models/TelegramSource.js.map +1 -0
- package/dist/models/TelegramSourcePropertyMapping.d.ts +75 -0
- package/dist/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
- package/dist/models/TelegramSourcePropertyMapping.js +72 -0
- package/dist/models/TelegramSourcePropertyMapping.js.map +1 -0
- package/dist/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
- package/dist/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
- package/dist/models/TelegramSourcePropertyMappingRequest.js +57 -0
- package/dist/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
- package/dist/models/TelegramSourceRequest.d.ts +113 -0
- package/dist/models/TelegramSourceRequest.d.ts.map +1 -0
- package/dist/models/TelegramSourceRequest.js +87 -0
- package/dist/models/TelegramSourceRequest.js.map +1 -0
- package/dist/models/UserTelegramSourceConnection.d.ts +70 -0
- package/dist/models/UserTelegramSourceConnection.d.ts.map +1 -0
- package/dist/models/UserTelegramSourceConnection.js +72 -0
- package/dist/models/UserTelegramSourceConnection.js.map +1 -0
- package/dist/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
- package/dist/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
- package/dist/models/UserTelegramSourceConnectionRequest.js +59 -0
- package/dist/models/UserTelegramSourceConnectionRequest.js.map +1 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +18 -0
- package/dist/models/index.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +397 -0
- package/src/apis/RbacApi.ts +8 -0
- package/src/apis/SourcesApi.ts +2484 -1232
- package/src/apis/TasksApi.ts +6 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/ChallengeTypes.ts +12 -1
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/GroupTelegramSourceConnection.ts +124 -0
- package/src/models/GroupTelegramSourceConnectionRequest.ts +84 -0
- package/src/models/LastTaskStatusEnum.ts +3 -0
- package/src/models/LoginChallengeTypes.ts +12 -1
- package/src/models/ModelEnum.ts +4 -0
- package/src/models/PaginatedGroupTelegramSourceConnectionList.ts +99 -0
- package/src/models/PaginatedTelegramSourceList.ts +99 -0
- package/src/models/PaginatedTelegramSourcePropertyMappingList.ts +99 -0
- package/src/models/PaginatedUserTelegramSourceConnectionList.ts +99 -0
- package/src/models/PatchedGroupTelegramSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedTelegramSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedTelegramSourceRequest.ts +186 -0
- package/src/models/PatchedUserTelegramSourceConnectionRequest.ts +81 -0
- package/src/models/StateEnum.ts +3 -0
- package/src/models/TaskAggregatedStatusEnum.ts +3 -0
- package/src/models/TelegramChallengeResponseRequest.ts +124 -0
- package/src/models/TelegramLoginChallenge.ts +114 -0
- package/src/models/TelegramSource.ts +238 -0
- package/src/models/TelegramSourcePropertyMapping.ts +123 -0
- package/src/models/TelegramSourcePropertyMappingRequest.ts +83 -0
- package/src/models/TelegramSourceRequest.ts +191 -0
- package/src/models/UserTelegramSourceConnection.ts +124 -0
- package/src/models/UserTelegramSourceConnectionRequest.ts +84 -0
- package/src/models/index.ts +18 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
17
|
+
import {
|
|
18
|
+
PolicyEngineModeFromJSON,
|
|
19
|
+
PolicyEngineModeFromJSONTyped,
|
|
20
|
+
PolicyEngineModeToJSON,
|
|
21
|
+
PolicyEngineModeToJSONTyped,
|
|
22
|
+
} from './PolicyEngineMode';
|
|
23
|
+
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
24
|
+
import {
|
|
25
|
+
UserMatchingModeEnumFromJSON,
|
|
26
|
+
UserMatchingModeEnumFromJSONTyped,
|
|
27
|
+
UserMatchingModeEnumToJSON,
|
|
28
|
+
UserMatchingModeEnumToJSONTyped,
|
|
29
|
+
} from './UserMatchingModeEnum';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Source Serializer
|
|
33
|
+
* @export
|
|
34
|
+
* @interface TelegramSourceRequest
|
|
35
|
+
*/
|
|
36
|
+
export interface TelegramSourceRequest {
|
|
37
|
+
/**
|
|
38
|
+
* Source's display Name.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TelegramSourceRequest
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
* Internal source name, used in URLs.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof TelegramSourceRequest
|
|
47
|
+
*/
|
|
48
|
+
slug: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof TelegramSourceRequest
|
|
53
|
+
*/
|
|
54
|
+
enabled?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Flow to use when authenticating existing users.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TelegramSourceRequest
|
|
59
|
+
*/
|
|
60
|
+
authenticationFlow?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Flow to use when enrolling new users.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TelegramSourceRequest
|
|
65
|
+
*/
|
|
66
|
+
enrollmentFlow?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof TelegramSourceRequest
|
|
71
|
+
*/
|
|
72
|
+
userPropertyMappings?: Array<string>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Array<string>}
|
|
76
|
+
* @memberof TelegramSourceRequest
|
|
77
|
+
*/
|
|
78
|
+
groupPropertyMappings?: Array<string>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {PolicyEngineMode}
|
|
82
|
+
* @memberof TelegramSourceRequest
|
|
83
|
+
*/
|
|
84
|
+
policyEngineMode?: PolicyEngineMode;
|
|
85
|
+
/**
|
|
86
|
+
* How the source determines if an existing user should be authenticated or a new user enrolled.
|
|
87
|
+
* @type {UserMatchingModeEnum}
|
|
88
|
+
* @memberof TelegramSourceRequest
|
|
89
|
+
*/
|
|
90
|
+
userMatchingMode?: UserMatchingModeEnum;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof TelegramSourceRequest
|
|
95
|
+
*/
|
|
96
|
+
userPathTemplate?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Telegram bot username
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof TelegramSourceRequest
|
|
101
|
+
*/
|
|
102
|
+
botUsername: string;
|
|
103
|
+
/**
|
|
104
|
+
* Telegram bot token
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof TelegramSourceRequest
|
|
107
|
+
*/
|
|
108
|
+
botToken: string;
|
|
109
|
+
/**
|
|
110
|
+
* Request access to send messages from your bot.
|
|
111
|
+
* @type {boolean}
|
|
112
|
+
* @memberof TelegramSourceRequest
|
|
113
|
+
*/
|
|
114
|
+
requestMessageAccess?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Flow used before authentication.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof TelegramSourceRequest
|
|
119
|
+
*/
|
|
120
|
+
preAuthenticationFlow: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Check if a given object implements the TelegramSourceRequest interface.
|
|
127
|
+
*/
|
|
128
|
+
export function instanceOfTelegramSourceRequest(value: object): value is TelegramSourceRequest {
|
|
129
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
130
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
131
|
+
if (!('botUsername' in value) || value['botUsername'] === undefined) return false;
|
|
132
|
+
if (!('botToken' in value) || value['botToken'] === undefined) return false;
|
|
133
|
+
if (!('preAuthenticationFlow' in value) || value['preAuthenticationFlow'] === undefined) return false;
|
|
134
|
+
return true;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function TelegramSourceRequestFromJSON(json: any): TelegramSourceRequest {
|
|
138
|
+
return TelegramSourceRequestFromJSONTyped(json, false);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function TelegramSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourceRequest {
|
|
142
|
+
if (json == null) {
|
|
143
|
+
return json;
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
|
|
147
|
+
'name': json['name'],
|
|
148
|
+
'slug': json['slug'],
|
|
149
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
150
|
+
'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
|
|
151
|
+
'enrollmentFlow': json['enrollment_flow'] == null ? undefined : json['enrollment_flow'],
|
|
152
|
+
'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'],
|
|
153
|
+
'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'],
|
|
154
|
+
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
155
|
+
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
156
|
+
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
157
|
+
'botUsername': json['bot_username'],
|
|
158
|
+
'botToken': json['bot_token'],
|
|
159
|
+
'requestMessageAccess': json['request_message_access'] == null ? undefined : json['request_message_access'],
|
|
160
|
+
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export function TelegramSourceRequestToJSON(json: any): TelegramSourceRequest {
|
|
165
|
+
return TelegramSourceRequestToJSONTyped(json, false);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export function TelegramSourceRequestToJSONTyped(value?: TelegramSourceRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
169
|
+
if (value == null) {
|
|
170
|
+
return value;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
return {
|
|
174
|
+
|
|
175
|
+
'name': value['name'],
|
|
176
|
+
'slug': value['slug'],
|
|
177
|
+
'enabled': value['enabled'],
|
|
178
|
+
'authentication_flow': value['authenticationFlow'],
|
|
179
|
+
'enrollment_flow': value['enrollmentFlow'],
|
|
180
|
+
'user_property_mappings': value['userPropertyMappings'],
|
|
181
|
+
'group_property_mappings': value['groupPropertyMappings'],
|
|
182
|
+
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
183
|
+
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
184
|
+
'user_path_template': value['userPathTemplate'],
|
|
185
|
+
'bot_username': value['botUsername'],
|
|
186
|
+
'bot_token': value['botToken'],
|
|
187
|
+
'request_message_access': value['requestMessageAccess'],
|
|
188
|
+
'pre_authentication_flow': value['preAuthenticationFlow'],
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Source } from './Source';
|
|
17
|
+
import {
|
|
18
|
+
SourceFromJSON,
|
|
19
|
+
SourceFromJSONTyped,
|
|
20
|
+
SourceToJSON,
|
|
21
|
+
SourceToJSONTyped,
|
|
22
|
+
} from './Source';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* User source connection
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UserTelegramSourceConnection
|
|
28
|
+
*/
|
|
29
|
+
export interface UserTelegramSourceConnection {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UserTelegramSourceConnection
|
|
34
|
+
*/
|
|
35
|
+
readonly pk: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UserTelegramSourceConnection
|
|
40
|
+
*/
|
|
41
|
+
user: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UserTelegramSourceConnection
|
|
46
|
+
*/
|
|
47
|
+
source: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Source}
|
|
51
|
+
* @memberof UserTelegramSourceConnection
|
|
52
|
+
*/
|
|
53
|
+
readonly sourceObj: Source;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserTelegramSourceConnection
|
|
58
|
+
*/
|
|
59
|
+
identifier: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof UserTelegramSourceConnection
|
|
64
|
+
*/
|
|
65
|
+
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof UserTelegramSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the UserTelegramSourceConnection interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfUserTelegramSourceConnection(value: object): value is UserTelegramSourceConnection {
|
|
78
|
+
if (!('pk' in value) || value['pk'] === undefined) return false;
|
|
79
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
80
|
+
if (!('source' in value) || value['source'] === undefined) return false;
|
|
81
|
+
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
82
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
83
|
+
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function UserTelegramSourceConnectionFromJSON(json: any): UserTelegramSourceConnection {
|
|
89
|
+
return UserTelegramSourceConnectionFromJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function UserTelegramSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTelegramSourceConnection {
|
|
93
|
+
if (json == null) {
|
|
94
|
+
return json;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'pk': json['pk'],
|
|
99
|
+
'user': json['user'],
|
|
100
|
+
'source': json['source'],
|
|
101
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
102
|
+
'identifier': json['identifier'],
|
|
103
|
+
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function UserTelegramSourceConnectionToJSON(json: any): UserTelegramSourceConnection {
|
|
109
|
+
return UserTelegramSourceConnectionToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function UserTelegramSourceConnectionToJSONTyped(value?: Omit<UserTelegramSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'user': value['user'],
|
|
120
|
+
'source': value['source'],
|
|
121
|
+
'identifier': value['identifier'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* User source connection
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UserTelegramSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UserTelegramSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UserTelegramSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
user: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserTelegramSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserTelegramSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the UserTelegramSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfUserTelegramSourceConnectionRequest(value: object): value is UserTelegramSourceConnectionRequest {
|
|
46
|
+
if (!('user' in value) || value['user'] === undefined) return false;
|
|
47
|
+
if (!('source' in value) || value['source'] === undefined) return false;
|
|
48
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UserTelegramSourceConnectionRequestFromJSON(json: any): UserTelegramSourceConnectionRequest {
|
|
53
|
+
return UserTelegramSourceConnectionRequestFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UserTelegramSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTelegramSourceConnectionRequest {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'user': json['user'],
|
|
63
|
+
'source': json['source'],
|
|
64
|
+
'identifier': json['identifier'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UserTelegramSourceConnectionRequestToJSON(json: any): UserTelegramSourceConnectionRequest {
|
|
69
|
+
return UserTelegramSourceConnectionRequestToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function UserTelegramSourceConnectionRequestToJSONTyped(value?: UserTelegramSourceConnectionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'user': value['user'],
|
|
80
|
+
'source': value['source'],
|
|
81
|
+
'identifier': value['identifier'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -191,6 +191,8 @@ export * from './GroupSAMLSourceConnection';
|
|
|
191
191
|
export * from './GroupSAMLSourceConnectionRequest';
|
|
192
192
|
export * from './GroupSourceConnection';
|
|
193
193
|
export * from './GroupSourceConnectionRequest';
|
|
194
|
+
export * from './GroupTelegramSourceConnection';
|
|
195
|
+
export * from './GroupTelegramSourceConnectionRequest';
|
|
194
196
|
export * from './IdentificationChallenge';
|
|
195
197
|
export * from './IdentificationChallengeResponseRequest';
|
|
196
198
|
export * from './IdentificationStage';
|
|
@@ -328,6 +330,7 @@ export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
|
328
330
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
329
331
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
330
332
|
export * from './PaginatedGroupSourceConnectionList';
|
|
333
|
+
export * from './PaginatedGroupTelegramSourceConnectionList';
|
|
331
334
|
export * from './PaginatedIdentificationStageList';
|
|
332
335
|
export * from './PaginatedInitialPermissionsList';
|
|
333
336
|
export * from './PaginatedInvitationList';
|
|
@@ -401,6 +404,8 @@ export * from './PaginatedStageList';
|
|
|
401
404
|
export * from './PaginatedStaticDeviceList';
|
|
402
405
|
export * from './PaginatedTOTPDeviceList';
|
|
403
406
|
export * from './PaginatedTaskList';
|
|
407
|
+
export * from './PaginatedTelegramSourceList';
|
|
408
|
+
export * from './PaginatedTelegramSourcePropertyMappingList';
|
|
404
409
|
export * from './PaginatedTenantList';
|
|
405
410
|
export * from './PaginatedTokenList';
|
|
406
411
|
export * from './PaginatedTokenModelList';
|
|
@@ -417,6 +422,7 @@ export * from './PaginatedUserOAuthSourceConnectionList';
|
|
|
417
422
|
export * from './PaginatedUserPlexSourceConnectionList';
|
|
418
423
|
export * from './PaginatedUserSAMLSourceConnectionList';
|
|
419
424
|
export * from './PaginatedUserSourceConnectionList';
|
|
425
|
+
export * from './PaginatedUserTelegramSourceConnectionList';
|
|
420
426
|
export * from './PaginatedUserWriteStageList';
|
|
421
427
|
export * from './PaginatedWebAuthnDeviceList';
|
|
422
428
|
export * from './PaginatedWebAuthnDeviceTypeList';
|
|
@@ -474,6 +480,7 @@ export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
|
474
480
|
export * from './PatchedGroupRequest';
|
|
475
481
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
476
482
|
export * from './PatchedGroupSourceConnectionRequest';
|
|
483
|
+
export * from './PatchedGroupTelegramSourceConnectionRequest';
|
|
477
484
|
export * from './PatchedIdentificationStageRequest';
|
|
478
485
|
export * from './PatchedInitialPermissionsRequest';
|
|
479
486
|
export * from './PatchedInvitationRequest';
|
|
@@ -532,6 +539,8 @@ export * from './PatchedSettingsRequestFlags';
|
|
|
532
539
|
export * from './PatchedSourceStageRequest';
|
|
533
540
|
export * from './PatchedStaticDeviceRequest';
|
|
534
541
|
export * from './PatchedTOTPDeviceRequest';
|
|
542
|
+
export * from './PatchedTelegramSourcePropertyMappingRequest';
|
|
543
|
+
export * from './PatchedTelegramSourceRequest';
|
|
535
544
|
export * from './PatchedTenantRequest';
|
|
536
545
|
export * from './PatchedTokenRequest';
|
|
537
546
|
export * from './PatchedUniquePasswordPolicyRequest';
|
|
@@ -545,6 +554,7 @@ export * from './PatchedUserPlexSourceConnectionRequest';
|
|
|
545
554
|
export * from './PatchedUserRequest';
|
|
546
555
|
export * from './PatchedUserSAMLSourceConnectionRequest';
|
|
547
556
|
export * from './PatchedUserSourceConnectionRequest';
|
|
557
|
+
export * from './PatchedUserTelegramSourceConnectionRequest';
|
|
548
558
|
export * from './PatchedUserWriteStageRequest';
|
|
549
559
|
export * from './PatchedWebAuthnDeviceRequest';
|
|
550
560
|
export * from './Permission';
|
|
@@ -682,6 +692,12 @@ export * from './TOTPDevice';
|
|
|
682
692
|
export * from './TOTPDeviceRequest';
|
|
683
693
|
export * from './Task';
|
|
684
694
|
export * from './TaskAggregatedStatusEnum';
|
|
695
|
+
export * from './TelegramChallengeResponseRequest';
|
|
696
|
+
export * from './TelegramLoginChallenge';
|
|
697
|
+
export * from './TelegramSource';
|
|
698
|
+
export * from './TelegramSourcePropertyMapping';
|
|
699
|
+
export * from './TelegramSourcePropertyMappingRequest';
|
|
700
|
+
export * from './TelegramSourceRequest';
|
|
685
701
|
export * from './Tenant';
|
|
686
702
|
export * from './TenantAdminGroupRequestRequest';
|
|
687
703
|
export * from './TenantRecoveryKeyRequestRequest';
|
|
@@ -738,6 +754,8 @@ export * from './UserServiceAccountResponse';
|
|
|
738
754
|
export * from './UserSetting';
|
|
739
755
|
export * from './UserSourceConnection';
|
|
740
756
|
export * from './UserSourceConnectionRequest';
|
|
757
|
+
export * from './UserTelegramSourceConnection';
|
|
758
|
+
export * from './UserTelegramSourceConnectionRequest';
|
|
741
759
|
export * from './UserTypeEnum';
|
|
742
760
|
export * from './UserVerificationEnum';
|
|
743
761
|
export * from './UserWriteStage';
|