@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,75 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* TelegramSourcePropertyMapping Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TelegramSourcePropertyMapping
|
|
16
|
+
*/
|
|
17
|
+
export interface TelegramSourcePropertyMapping {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TelegramSourcePropertyMapping
|
|
22
|
+
*/
|
|
23
|
+
readonly pk: string;
|
|
24
|
+
/**
|
|
25
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TelegramSourcePropertyMapping
|
|
28
|
+
*/
|
|
29
|
+
managed?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TelegramSourcePropertyMapping
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TelegramSourcePropertyMapping
|
|
40
|
+
*/
|
|
41
|
+
expression: string;
|
|
42
|
+
/**
|
|
43
|
+
* Get object's component so that we know how to edit the object
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TelegramSourcePropertyMapping
|
|
46
|
+
*/
|
|
47
|
+
readonly component: string;
|
|
48
|
+
/**
|
|
49
|
+
* Return object's verbose_name
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TelegramSourcePropertyMapping
|
|
52
|
+
*/
|
|
53
|
+
readonly verboseName: string;
|
|
54
|
+
/**
|
|
55
|
+
* Return object's plural verbose_name
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof TelegramSourcePropertyMapping
|
|
58
|
+
*/
|
|
59
|
+
readonly verboseNamePlural: string;
|
|
60
|
+
/**
|
|
61
|
+
* Return internal model name
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof TelegramSourcePropertyMapping
|
|
64
|
+
*/
|
|
65
|
+
readonly metaModelName: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the TelegramSourcePropertyMapping interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfTelegramSourcePropertyMapping(value: object): value is TelegramSourcePropertyMapping;
|
|
71
|
+
export declare function TelegramSourcePropertyMappingFromJSON(json: any): TelegramSourcePropertyMapping;
|
|
72
|
+
export declare function TelegramSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourcePropertyMapping;
|
|
73
|
+
export declare function TelegramSourcePropertyMappingToJSON(json: any): TelegramSourcePropertyMapping;
|
|
74
|
+
export declare function TelegramSourcePropertyMappingToJSONTyped(value?: Omit<TelegramSourcePropertyMapping, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name'> | null, ignoreDiscriminator?: boolean): any;
|
|
75
|
+
//# sourceMappingURL=TelegramSourcePropertyMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelegramSourcePropertyMapping.d.ts","sourceRoot":"","sources":["../../../src/models/TelegramSourcePropertyMapping.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAS7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAejI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,6BAA6B,EAAE,IAAI,GAAC,WAAW,GAAC,cAAc,GAAC,qBAAqB,GAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW/N"}
|
|
@@ -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.instanceOfTelegramSourcePropertyMapping = instanceOfTelegramSourcePropertyMapping;
|
|
17
|
+
exports.TelegramSourcePropertyMappingFromJSON = TelegramSourcePropertyMappingFromJSON;
|
|
18
|
+
exports.TelegramSourcePropertyMappingFromJSONTyped = TelegramSourcePropertyMappingFromJSONTyped;
|
|
19
|
+
exports.TelegramSourcePropertyMappingToJSON = TelegramSourcePropertyMappingToJSON;
|
|
20
|
+
exports.TelegramSourcePropertyMappingToJSONTyped = TelegramSourcePropertyMappingToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TelegramSourcePropertyMapping interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTelegramSourcePropertyMapping(value) {
|
|
25
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('expression' in value) || value['expression'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('component' in value) || value['component'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('verboseName' in value) || value['verboseName'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('metaModelName' in value) || value['metaModelName'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function TelegramSourcePropertyMappingFromJSON(json) {
|
|
42
|
+
return TelegramSourcePropertyMappingFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function TelegramSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'pk': json['pk'],
|
|
50
|
+
'managed': json['managed'] == null ? undefined : json['managed'],
|
|
51
|
+
'name': json['name'],
|
|
52
|
+
'expression': json['expression'],
|
|
53
|
+
'component': json['component'],
|
|
54
|
+
'verboseName': json['verbose_name'],
|
|
55
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
56
|
+
'metaModelName': json['meta_model_name'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function TelegramSourcePropertyMappingToJSON(json) {
|
|
60
|
+
return TelegramSourcePropertyMappingToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function TelegramSourcePropertyMappingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'managed': value['managed'],
|
|
68
|
+
'name': value['name'],
|
|
69
|
+
'expression': value['expression'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=TelegramSourcePropertyMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelegramSourcePropertyMapping.js","sourceRoot":"","sources":["../../../src/models/TelegramSourcePropertyMapping.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8DH,0FASC;AAED,sFAEC;AAED,gGAeC;AAED,kFAEC;AAED,4FAWC;AAlDD;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,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,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,aAAa,IAA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C;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* TelegramSourcePropertyMapping Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TelegramSourcePropertyMappingRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface TelegramSourcePropertyMappingRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TelegramSourcePropertyMappingRequest
|
|
22
|
+
*/
|
|
23
|
+
managed?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TelegramSourcePropertyMappingRequest
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TelegramSourcePropertyMappingRequest
|
|
34
|
+
*/
|
|
35
|
+
expression: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the TelegramSourcePropertyMappingRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfTelegramSourcePropertyMappingRequest(value: object): value is TelegramSourcePropertyMappingRequest;
|
|
41
|
+
export declare function TelegramSourcePropertyMappingRequestFromJSON(json: any): TelegramSourcePropertyMappingRequest;
|
|
42
|
+
export declare function TelegramSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourcePropertyMappingRequest;
|
|
43
|
+
export declare function TelegramSourcePropertyMappingRequestToJSON(json: any): TelegramSourcePropertyMappingRequest;
|
|
44
|
+
export declare function TelegramSourcePropertyMappingRequestToJSONTyped(value?: TelegramSourcePropertyMappingRequest | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=TelegramSourcePropertyMappingRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelegramSourcePropertyMappingRequest.d.ts","sourceRoot":"","sources":["../../../src/models/TelegramSourcePropertyMappingRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oCAAoC;IACjD;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oCAAoC,CAI3H;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE5G;AAED,wBAAgB,iDAAiD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oCAAoC,CAU/I;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,oCAAoC,CAE1G;AAED,wBAAgB,+CAA+C,CAAC,KAAK,CAAC,EAAE,oCAAoC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9J"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfTelegramSourcePropertyMappingRequest = instanceOfTelegramSourcePropertyMappingRequest;
|
|
17
|
+
exports.TelegramSourcePropertyMappingRequestFromJSON = TelegramSourcePropertyMappingRequestFromJSON;
|
|
18
|
+
exports.TelegramSourcePropertyMappingRequestFromJSONTyped = TelegramSourcePropertyMappingRequestFromJSONTyped;
|
|
19
|
+
exports.TelegramSourcePropertyMappingRequestToJSON = TelegramSourcePropertyMappingRequestToJSON;
|
|
20
|
+
exports.TelegramSourcePropertyMappingRequestToJSONTyped = TelegramSourcePropertyMappingRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TelegramSourcePropertyMappingRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTelegramSourcePropertyMappingRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('expression' in value) || value['expression'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function TelegramSourcePropertyMappingRequestFromJSON(json) {
|
|
32
|
+
return TelegramSourcePropertyMappingRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function TelegramSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'managed': json['managed'] == null ? undefined : json['managed'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'expression': json['expression'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function TelegramSourcePropertyMappingRequestToJSON(json) {
|
|
45
|
+
return TelegramSourcePropertyMappingRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function TelegramSourcePropertyMappingRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'managed': value['managed'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'expression': value['expression'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=TelegramSourcePropertyMappingRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelegramSourcePropertyMappingRequest.js","sourceRoot":"","sources":["../../../src/models/TelegramSourcePropertyMappingRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgCH,wGAIC;AAED,oGAEC;AAED,8GAUC;AAED,gGAEC;AAED,0GAWC;AAxCD;;GAEG;AACH,SAAgB,8CAA8C,CAAC,KAAa;IACxE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,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,4CAA4C,CAAC,IAAS;IAClE,OAAO,iDAAiD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,SAAgB,iDAAiD,CAAC,IAAS,EAAE,mBAA4B;IACrG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS;IAChE,OAAO,+CAA+C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,SAAgB,+CAA+C,CAAC,KAAmD,EAAE,sBAA+B,KAAK;IACrJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -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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vH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,qBAAqB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QAClD,iBAAiB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QAC1C,wBAAwB,EAAE,KAAK,CAAC,sBAAsB,CAAC;QACvD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACzD,oBAAoB,EAAE,IAAA,yCAAsB,EAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QACvE,oBAAoB,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC3E,oBAAoB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC/C,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC;QACpC,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC;QAC9B,wBAAwB,EAAE,KAAK,CAAC,sBAAsB,CAAC;QACvD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB,CAAC;KAC5D,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { 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,oFA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