@goauthentik/api 2025.10.0-rc1-1758925111 → 2025.10.0-rc1-1759331038
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/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/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.d.ts.map +1 -1
- package/dist/esm/models/AppEnum.js +1 -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/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/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/UserServiceAccountRequest.d.ts +1 -1
- 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 +1 -0
- package/dist/models/AppEnum.d.ts.map +1 -1
- package/dist/models/AppEnum.js +1 -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/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/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/UserServiceAccountRequest.d.ts +1 -1
- 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/models/AppEnum.ts +1 -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/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/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/UserServiceAccountRequest.ts +1 -1
- 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,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PolicyEngineMode } from './PolicyEngineMode';
|
|
13
|
+
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
14
|
+
/**
|
|
15
|
+
* Source Serializer
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TelegramSourceRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface TelegramSourceRequest {
|
|
20
|
+
/**
|
|
21
|
+
* Source's display Name.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof TelegramSourceRequest
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* Internal source name, used in URLs.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof TelegramSourceRequest
|
|
30
|
+
*/
|
|
31
|
+
slug: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof TelegramSourceRequest
|
|
36
|
+
*/
|
|
37
|
+
enabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Flow to use when authenticating existing users.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof TelegramSourceRequest
|
|
42
|
+
*/
|
|
43
|
+
authenticationFlow?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Flow to use when enrolling new users.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof TelegramSourceRequest
|
|
48
|
+
*/
|
|
49
|
+
enrollmentFlow?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof TelegramSourceRequest
|
|
54
|
+
*/
|
|
55
|
+
userPropertyMappings?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof TelegramSourceRequest
|
|
60
|
+
*/
|
|
61
|
+
groupPropertyMappings?: Array<string>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {PolicyEngineMode}
|
|
65
|
+
* @memberof TelegramSourceRequest
|
|
66
|
+
*/
|
|
67
|
+
policyEngineMode?: PolicyEngineMode;
|
|
68
|
+
/**
|
|
69
|
+
* How the source determines if an existing user should be authenticated or a new user enrolled.
|
|
70
|
+
* @type {UserMatchingModeEnum}
|
|
71
|
+
* @memberof TelegramSourceRequest
|
|
72
|
+
*/
|
|
73
|
+
userMatchingMode?: UserMatchingModeEnum;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof TelegramSourceRequest
|
|
78
|
+
*/
|
|
79
|
+
userPathTemplate?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Telegram bot username
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof TelegramSourceRequest
|
|
84
|
+
*/
|
|
85
|
+
botUsername: string;
|
|
86
|
+
/**
|
|
87
|
+
* Telegram bot token
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof TelegramSourceRequest
|
|
90
|
+
*/
|
|
91
|
+
botToken: string;
|
|
92
|
+
/**
|
|
93
|
+
* Request access to send messages from your bot.
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof TelegramSourceRequest
|
|
96
|
+
*/
|
|
97
|
+
requestMessageAccess?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Flow used before authentication.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof TelegramSourceRequest
|
|
102
|
+
*/
|
|
103
|
+
preAuthenticationFlow: string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Check if a given object implements the TelegramSourceRequest interface.
|
|
107
|
+
*/
|
|
108
|
+
export declare function instanceOfTelegramSourceRequest(value: object): value is TelegramSourceRequest;
|
|
109
|
+
export declare function TelegramSourceRequestFromJSON(json: any): TelegramSourceRequest;
|
|
110
|
+
export declare function TelegramSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourceRequest;
|
|
111
|
+
export declare function TelegramSourceRequestToJSON(json: any): TelegramSourceRequest;
|
|
112
|
+
export declare function TelegramSourceRequestToJSONTyped(value?: TelegramSourceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
113
|
+
//# sourceMappingURL=TelegramSourceRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelegramSourceRequest.d.ts","sourceRoot":"","sources":["../../../src/models/TelegramSourceRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IACxC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAO7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAqBjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBhI"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfTelegramSourceRequest = instanceOfTelegramSourceRequest;
|
|
17
|
+
exports.TelegramSourceRequestFromJSON = TelegramSourceRequestFromJSON;
|
|
18
|
+
exports.TelegramSourceRequestFromJSONTyped = TelegramSourceRequestFromJSONTyped;
|
|
19
|
+
exports.TelegramSourceRequestToJSON = TelegramSourceRequestToJSON;
|
|
20
|
+
exports.TelegramSourceRequestToJSONTyped = TelegramSourceRequestToJSONTyped;
|
|
21
|
+
const PolicyEngineMode_1 = require("./PolicyEngineMode");
|
|
22
|
+
const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the TelegramSourceRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfTelegramSourceRequest(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('botUsername' in value) || value['botUsername'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('botToken' in value) || value['botToken'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('preAuthenticationFlow' in value) || value['preAuthenticationFlow'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function TelegramSourceRequestFromJSON(json) {
|
|
40
|
+
return TelegramSourceRequestFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function TelegramSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'slug': json['slug'],
|
|
49
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
50
|
+
'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
|
|
51
|
+
'enrollmentFlow': json['enrollment_flow'] == null ? undefined : json['enrollment_flow'],
|
|
52
|
+
'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'],
|
|
53
|
+
'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'],
|
|
54
|
+
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
55
|
+
'userMatchingMode': json['user_matching_mode'] == null ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
56
|
+
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
57
|
+
'botUsername': json['bot_username'],
|
|
58
|
+
'botToken': json['bot_token'],
|
|
59
|
+
'requestMessageAccess': json['request_message_access'] == null ? undefined : json['request_message_access'],
|
|
60
|
+
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function TelegramSourceRequestToJSON(json) {
|
|
64
|
+
return TelegramSourceRequestToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function TelegramSourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'slug': value['slug'],
|
|
73
|
+
'enabled': value['enabled'],
|
|
74
|
+
'authentication_flow': value['authenticationFlow'],
|
|
75
|
+
'enrollment_flow': value['enrollmentFlow'],
|
|
76
|
+
'user_property_mappings': value['userPropertyMappings'],
|
|
77
|
+
'group_property_mappings': value['groupPropertyMappings'],
|
|
78
|
+
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value['policyEngineMode']),
|
|
79
|
+
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value['userMatchingMode']),
|
|
80
|
+
'user_path_template': value['userPathTemplate'],
|
|
81
|
+
'bot_username': value['botUsername'],
|
|
82
|
+
'bot_token': value['botToken'],
|
|
83
|
+
'request_message_access': value['requestMessageAccess'],
|
|
84
|
+
'pre_authentication_flow': value['preAuthenticationFlow'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=TelegramSourceRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelegramSourceRequest.js","sourceRoot":"","sources":["../../../src/models/TelegramSourceRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAmHH,0EAOC;AAED,sEAEC;AAED,gFAqBC;AAED,kEAEC;AAED,4EAsBC;AA7KD,yDAK4B;AAE5B,iEAKgC;AAgGhC;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,uBAAuB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,uBAAuB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtG,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,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Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Source } from './Source';
|
|
13
|
+
/**
|
|
14
|
+
* User source connection
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserTelegramSourceConnection
|
|
17
|
+
*/
|
|
18
|
+
export interface UserTelegramSourceConnection {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof UserTelegramSourceConnection
|
|
23
|
+
*/
|
|
24
|
+
readonly pk: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof UserTelegramSourceConnection
|
|
29
|
+
*/
|
|
30
|
+
user: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserTelegramSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Source}
|
|
40
|
+
* @memberof UserTelegramSourceConnection
|
|
41
|
+
*/
|
|
42
|
+
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserTelegramSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof UserTelegramSourceConnection
|
|
53
|
+
*/
|
|
54
|
+
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof UserTelegramSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the UserTelegramSourceConnection interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfUserTelegramSourceConnection(value: object): value is UserTelegramSourceConnection;
|
|
66
|
+
export declare function UserTelegramSourceConnectionFromJSON(json: any): UserTelegramSourceConnection;
|
|
67
|
+
export declare function UserTelegramSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTelegramSourceConnection;
|
|
68
|
+
export declare function UserTelegramSourceConnectionToJSON(json: any): UserTelegramSourceConnection;
|
|
69
|
+
export declare function UserTelegramSourceConnectionToJSONTyped(value?: Omit<UserTelegramSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
70
|
+
//# sourceMappingURL=UserTelegramSourceConnection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserTelegramSourceConnection.d.ts","sourceRoot":"","sources":["../../../src/models/UserTelegramSourceConnection.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAQvC;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAS3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAc/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,4BAA4B,EAAE,IAAI,GAAC,YAAY,GAAC,SAAS,GAAC,cAAc,CAAC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhM"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserTelegramSourceConnection = instanceOfUserTelegramSourceConnection;
|
|
17
|
+
exports.UserTelegramSourceConnectionFromJSON = UserTelegramSourceConnectionFromJSON;
|
|
18
|
+
exports.UserTelegramSourceConnectionFromJSONTyped = UserTelegramSourceConnectionFromJSONTyped;
|
|
19
|
+
exports.UserTelegramSourceConnectionToJSON = UserTelegramSourceConnectionToJSON;
|
|
20
|
+
exports.UserTelegramSourceConnectionToJSONTyped = UserTelegramSourceConnectionToJSONTyped;
|
|
21
|
+
const Source_1 = require("./Source");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UserTelegramSourceConnection interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUserTelegramSourceConnection(value) {
|
|
26
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function UserTelegramSourceConnectionFromJSON(json) {
|
|
43
|
+
return UserTelegramSourceConnectionFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function UserTelegramSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'pk': json['pk'],
|
|
51
|
+
'user': json['user'],
|
|
52
|
+
'source': json['source'],
|
|
53
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
54
|
+
'identifier': json['identifier'],
|
|
55
|
+
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function UserTelegramSourceConnectionToJSON(json) {
|
|
60
|
+
return UserTelegramSourceConnectionToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function UserTelegramSourceConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'user': value['user'],
|
|
68
|
+
'source': value['source'],
|
|
69
|
+
'identifier': value['identifier'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=UserTelegramSourceConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserTelegramSourceConnection.js","sourceRoot":"","sources":["../../../src/models/UserTelegramSourceConnection.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgEH,wFASC;AAED,oFAEC;AAED,8FAcC;AAED,gFAEC;AAED,0FAWC;AA1GD,qCAKkB;AAoDlB;;GAEG;AACH,SAAgB,sCAAsC,CAAC,KAAa;IAChE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,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* The version of the OpenAPI document: 2025.10.0-rc1
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* User source connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserTelegramSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UserTelegramSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UserTelegramSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserTelegramSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserTelegramSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UserTelegramSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUserTelegramSourceConnectionRequest(value: object): value is UserTelegramSourceConnectionRequest;
|
|
41
|
+
export declare function UserTelegramSourceConnectionRequestFromJSON(json: any): UserTelegramSourceConnectionRequest;
|
|
42
|
+
export declare function UserTelegramSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserTelegramSourceConnectionRequest;
|
|
43
|
+
export declare function UserTelegramSourceConnectionRequestToJSON(json: any): UserTelegramSourceConnectionRequest;
|
|
44
|
+
export declare function UserTelegramSourceConnectionRequestToJSONTyped(value?: UserTelegramSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=UserTelegramSourceConnectionRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserTelegramSourceConnectionRequest.d.ts","sourceRoot":"","sources":["../../../src/models/UserTelegramSourceConnectionRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mCAAmC,CAKzH;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAU7I;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAExG;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5J"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.10.0-rc1
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserTelegramSourceConnectionRequest = instanceOfUserTelegramSourceConnectionRequest;
|
|
17
|
+
exports.UserTelegramSourceConnectionRequestFromJSON = UserTelegramSourceConnectionRequestFromJSON;
|
|
18
|
+
exports.UserTelegramSourceConnectionRequestFromJSONTyped = UserTelegramSourceConnectionRequestFromJSONTyped;
|
|
19
|
+
exports.UserTelegramSourceConnectionRequestToJSON = UserTelegramSourceConnectionRequestToJSON;
|
|
20
|
+
exports.UserTelegramSourceConnectionRequestToJSONTyped = UserTelegramSourceConnectionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserTelegramSourceConnectionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserTelegramSourceConnectionRequest(value) {
|
|
25
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function UserTelegramSourceConnectionRequestFromJSON(json) {
|
|
34
|
+
return UserTelegramSourceConnectionRequestFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function UserTelegramSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'user': json['user'],
|
|
42
|
+
'source': json['source'],
|
|
43
|
+
'identifier': json['identifier'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function UserTelegramSourceConnectionRequestToJSON(json) {
|
|
47
|
+
return UserTelegramSourceConnectionRequestToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function UserTelegramSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'user': value['user'],
|
|
55
|
+
'source': value['source'],
|
|
56
|
+
'identifier': value['identifier'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=UserTelegramSourceConnectionRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserTelegramSourceConnectionRequest.js","sourceRoot":"","sources":["../../../src/models/UserTelegramSourceConnectionRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,sGAKC;AAED,kGAEC;AAED,4GAUC;AAED,8FAEC;AAED,wGAWC;AAzCD;;GAEG;AACH,SAAgB,6CAA6C,CAAC,KAAa;IACvE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,IAAS,EAAE,mBAA4B;IACpG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,KAAkD,EAAE,sBAA+B,KAAK;IACnJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -189,6 +189,8 @@ export * from './GroupSAMLSourceConnection';
|
|
|
189
189
|
export * from './GroupSAMLSourceConnectionRequest';
|
|
190
190
|
export * from './GroupSourceConnection';
|
|
191
191
|
export * from './GroupSourceConnectionRequest';
|
|
192
|
+
export * from './GroupTelegramSourceConnection';
|
|
193
|
+
export * from './GroupTelegramSourceConnectionRequest';
|
|
192
194
|
export * from './IdentificationChallenge';
|
|
193
195
|
export * from './IdentificationChallengeResponseRequest';
|
|
194
196
|
export * from './IdentificationStage';
|
|
@@ -326,6 +328,7 @@ export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
|
326
328
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
327
329
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
328
330
|
export * from './PaginatedGroupSourceConnectionList';
|
|
331
|
+
export * from './PaginatedGroupTelegramSourceConnectionList';
|
|
329
332
|
export * from './PaginatedIdentificationStageList';
|
|
330
333
|
export * from './PaginatedInitialPermissionsList';
|
|
331
334
|
export * from './PaginatedInvitationList';
|
|
@@ -399,6 +402,8 @@ export * from './PaginatedStageList';
|
|
|
399
402
|
export * from './PaginatedStaticDeviceList';
|
|
400
403
|
export * from './PaginatedTOTPDeviceList';
|
|
401
404
|
export * from './PaginatedTaskList';
|
|
405
|
+
export * from './PaginatedTelegramSourceList';
|
|
406
|
+
export * from './PaginatedTelegramSourcePropertyMappingList';
|
|
402
407
|
export * from './PaginatedTenantList';
|
|
403
408
|
export * from './PaginatedTokenList';
|
|
404
409
|
export * from './PaginatedTokenModelList';
|
|
@@ -415,6 +420,7 @@ export * from './PaginatedUserOAuthSourceConnectionList';
|
|
|
415
420
|
export * from './PaginatedUserPlexSourceConnectionList';
|
|
416
421
|
export * from './PaginatedUserSAMLSourceConnectionList';
|
|
417
422
|
export * from './PaginatedUserSourceConnectionList';
|
|
423
|
+
export * from './PaginatedUserTelegramSourceConnectionList';
|
|
418
424
|
export * from './PaginatedUserWriteStageList';
|
|
419
425
|
export * from './PaginatedWebAuthnDeviceList';
|
|
420
426
|
export * from './PaginatedWebAuthnDeviceTypeList';
|
|
@@ -472,6 +478,7 @@ export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
|
472
478
|
export * from './PatchedGroupRequest';
|
|
473
479
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
474
480
|
export * from './PatchedGroupSourceConnectionRequest';
|
|
481
|
+
export * from './PatchedGroupTelegramSourceConnectionRequest';
|
|
475
482
|
export * from './PatchedIdentificationStageRequest';
|
|
476
483
|
export * from './PatchedInitialPermissionsRequest';
|
|
477
484
|
export * from './PatchedInvitationRequest';
|
|
@@ -530,6 +537,8 @@ export * from './PatchedSettingsRequestFlags';
|
|
|
530
537
|
export * from './PatchedSourceStageRequest';
|
|
531
538
|
export * from './PatchedStaticDeviceRequest';
|
|
532
539
|
export * from './PatchedTOTPDeviceRequest';
|
|
540
|
+
export * from './PatchedTelegramSourcePropertyMappingRequest';
|
|
541
|
+
export * from './PatchedTelegramSourceRequest';
|
|
533
542
|
export * from './PatchedTenantRequest';
|
|
534
543
|
export * from './PatchedTokenRequest';
|
|
535
544
|
export * from './PatchedUniquePasswordPolicyRequest';
|
|
@@ -543,6 +552,7 @@ export * from './PatchedUserPlexSourceConnectionRequest';
|
|
|
543
552
|
export * from './PatchedUserRequest';
|
|
544
553
|
export * from './PatchedUserSAMLSourceConnectionRequest';
|
|
545
554
|
export * from './PatchedUserSourceConnectionRequest';
|
|
555
|
+
export * from './PatchedUserTelegramSourceConnectionRequest';
|
|
546
556
|
export * from './PatchedUserWriteStageRequest';
|
|
547
557
|
export * from './PatchedWebAuthnDeviceRequest';
|
|
548
558
|
export * from './Permission';
|
|
@@ -680,6 +690,12 @@ export * from './TOTPDevice';
|
|
|
680
690
|
export * from './TOTPDeviceRequest';
|
|
681
691
|
export * from './Task';
|
|
682
692
|
export * from './TaskAggregatedStatusEnum';
|
|
693
|
+
export * from './TelegramChallengeResponseRequest';
|
|
694
|
+
export * from './TelegramLoginChallenge';
|
|
695
|
+
export * from './TelegramSource';
|
|
696
|
+
export * from './TelegramSourcePropertyMapping';
|
|
697
|
+
export * from './TelegramSourcePropertyMappingRequest';
|
|
698
|
+
export * from './TelegramSourceRequest';
|
|
683
699
|
export * from './Tenant';
|
|
684
700
|
export * from './TenantAdminGroupRequestRequest';
|
|
685
701
|
export * from './TenantRecoveryKeyRequestRequest';
|
|
@@ -736,6 +752,8 @@ export * from './UserServiceAccountResponse';
|
|
|
736
752
|
export * from './UserSetting';
|
|
737
753
|
export * from './UserSourceConnection';
|
|
738
754
|
export * from './UserSourceConnectionRequest';
|
|
755
|
+
export * from './UserTelegramSourceConnection';
|
|
756
|
+
export * from './UserTelegramSourceConnectionRequest';
|
|
739
757
|
export * from './UserTypeEnum';
|
|
740
758
|
export * from './UserVerificationEnum';
|
|
741
759
|
export * from './UserWriteStage';
|