@goauthentik/api 2024.4.2-1715100363 → 2024.4.2-1715104360

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. package/.openapi-generator/FILES +10 -2
  2. package/dist/apis/PropertymappingsApi.d.ts +87 -1
  3. package/dist/apis/PropertymappingsApi.js +274 -0
  4. package/dist/apis/ProvidersApi.d.ts +100 -3
  5. package/dist/apis/ProvidersApi.js +311 -2
  6. package/dist/apis/RbacApi.d.ts +4 -0
  7. package/dist/apis/RbacApi.js +4 -0
  8. package/dist/apis/SourcesApi.d.ts +3 -3
  9. package/dist/apis/SourcesApi.js +2 -2
  10. package/dist/esm/apis/PropertymappingsApi.d.ts +87 -1
  11. package/dist/esm/apis/PropertymappingsApi.js +275 -1
  12. package/dist/esm/apis/ProvidersApi.d.ts +100 -3
  13. package/dist/esm/apis/ProvidersApi.js +312 -3
  14. package/dist/esm/apis/RbacApi.d.ts +4 -0
  15. package/dist/esm/apis/RbacApi.js +4 -0
  16. package/dist/esm/apis/SourcesApi.d.ts +3 -3
  17. package/dist/esm/apis/SourcesApi.js +3 -3
  18. package/dist/esm/models/AppEnum.d.ts +1 -0
  19. package/dist/esm/models/AppEnum.js +1 -0
  20. package/dist/esm/models/GoogleProvider.d.ts +134 -0
  21. package/dist/esm/models/GoogleProvider.js +82 -0
  22. package/dist/esm/models/GoogleProviderMapping.d.ts +73 -0
  23. package/dist/esm/models/GoogleProviderMapping.js +59 -0
  24. package/dist/esm/models/GoogleProviderMappingRequest.d.ts +43 -0
  25. package/dist/esm/models/GoogleProviderMappingRequest.js +49 -0
  26. package/dist/esm/models/GoogleProviderRequest.d.ts +92 -0
  27. package/dist/esm/models/GoogleProviderRequest.js +68 -0
  28. package/dist/esm/models/GoogleWorkspaceDeleteAction.d.ts +25 -0
  29. package/dist/esm/models/GoogleWorkspaceDeleteAction.js +32 -0
  30. package/dist/esm/models/ModelEnum.d.ts +2 -0
  31. package/dist/esm/models/ModelEnum.js +2 -0
  32. package/dist/esm/models/ModelRequest.d.ts +3 -0
  33. package/dist/esm/models/ModelRequest.js +5 -0
  34. package/dist/esm/models/PaginatedGoogleProviderList.d.ts +39 -0
  35. package/dist/esm/models/PaginatedGoogleProviderList.js +48 -0
  36. package/dist/esm/models/PaginatedGoogleProviderMappingList.d.ts +39 -0
  37. package/dist/esm/models/PaginatedGoogleProviderMappingList.js +48 -0
  38. package/dist/esm/models/PatchedGoogleProviderMappingRequest.d.ts +43 -0
  39. package/dist/esm/models/PatchedGoogleProviderMappingRequest.js +47 -0
  40. package/dist/esm/models/PatchedGoogleProviderRequest.d.ts +92 -0
  41. package/dist/esm/models/PatchedGoogleProviderRequest.js +64 -0
  42. package/dist/esm/models/ProviderModelEnum.d.ts +1 -0
  43. package/dist/esm/models/ProviderModelEnum.js +1 -0
  44. package/dist/esm/models/SyncStatus.d.ts +38 -0
  45. package/dist/esm/models/{LDAPSyncStatus.js → SyncStatus.js} +6 -6
  46. package/dist/esm/models/index.d.ts +10 -2
  47. package/dist/esm/models/index.js +10 -2
  48. package/dist/models/AppEnum.d.ts +1 -0
  49. package/dist/models/AppEnum.js +1 -0
  50. package/dist/models/GoogleProvider.d.ts +134 -0
  51. package/dist/models/GoogleProvider.js +89 -0
  52. package/dist/models/GoogleProviderMapping.d.ts +73 -0
  53. package/dist/models/GoogleProviderMapping.js +66 -0
  54. package/dist/models/GoogleProviderMappingRequest.d.ts +43 -0
  55. package/dist/models/GoogleProviderMappingRequest.js +56 -0
  56. package/dist/models/GoogleProviderRequest.d.ts +92 -0
  57. package/dist/models/GoogleProviderRequest.js +75 -0
  58. package/dist/models/GoogleWorkspaceDeleteAction.d.ts +25 -0
  59. package/dist/models/GoogleWorkspaceDeleteAction.js +38 -0
  60. package/dist/models/ModelEnum.d.ts +2 -0
  61. package/dist/models/ModelEnum.js +2 -0
  62. package/dist/models/ModelRequest.d.ts +3 -0
  63. package/dist/models/ModelRequest.js +5 -0
  64. package/dist/models/PaginatedGoogleProviderList.d.ts +39 -0
  65. package/dist/models/PaginatedGoogleProviderList.js +55 -0
  66. package/dist/models/PaginatedGoogleProviderMappingList.d.ts +39 -0
  67. package/dist/models/PaginatedGoogleProviderMappingList.js +55 -0
  68. package/dist/models/PatchedGoogleProviderMappingRequest.d.ts +43 -0
  69. package/dist/models/PatchedGoogleProviderMappingRequest.js +54 -0
  70. package/dist/models/PatchedGoogleProviderRequest.d.ts +92 -0
  71. package/dist/models/PatchedGoogleProviderRequest.js +71 -0
  72. package/dist/models/ProviderModelEnum.d.ts +1 -0
  73. package/dist/models/ProviderModelEnum.js +1 -0
  74. package/dist/models/SyncStatus.d.ts +38 -0
  75. package/dist/models/{LDAPSyncStatus.js → SyncStatus.js} +11 -11
  76. package/dist/models/index.d.ts +10 -2
  77. package/dist/models/index.js +10 -2
  78. package/package.json +1 -1
  79. package/src/apis/PropertymappingsApi.ts +355 -0
  80. package/src/apis/ProvidersApi.ts +404 -7
  81. package/src/apis/RbacApi.ts +4 -0
  82. package/src/apis/SourcesApi.ts +7 -7
  83. package/src/models/AppEnum.ts +1 -0
  84. package/src/models/GoogleProvider.ts +212 -0
  85. package/src/models/GoogleProviderMapping.ts +123 -0
  86. package/src/models/GoogleProviderMappingRequest.ts +83 -0
  87. package/src/models/GoogleProviderRequest.ts +156 -0
  88. package/src/models/GoogleWorkspaceDeleteAction.ts +40 -0
  89. package/src/models/ModelEnum.ts +2 -0
  90. package/src/models/ModelRequest.ts +12 -1
  91. package/src/models/PaginatedGoogleProviderList.ts +88 -0
  92. package/src/models/PaginatedGoogleProviderMappingList.ts +88 -0
  93. package/src/models/PatchedGoogleProviderMappingRequest.ts +81 -0
  94. package/src/models/PatchedGoogleProviderRequest.ts +152 -0
  95. package/src/models/ProviderModelEnum.ts +1 -0
  96. package/src/models/{LDAPSyncStatus.ts → SyncStatus.ts} +11 -11
  97. package/src/models/index.ts +10 -2
  98. package/dist/esm/models/LDAPSyncStatus.d.ts +0 -38
  99. package/dist/esm/models/SCIMSyncStatus.d.ts +0 -38
  100. package/dist/esm/models/SCIMSyncStatus.js +0 -44
  101. package/dist/models/LDAPSyncStatus.d.ts +0 -38
  102. package/dist/models/SCIMSyncStatus.d.ts +0 -38
  103. package/dist/models/SCIMSyncStatus.js +0 -51
  104. package/src/models/SCIMSyncStatus.ts +0 -80
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.4.2
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { GoogleProvider } from './GoogleProvider';
17
+ import {
18
+ GoogleProviderFromJSON,
19
+ GoogleProviderFromJSONTyped,
20
+ GoogleProviderToJSON,
21
+ } from './GoogleProvider';
22
+ import type { Pagination } from './Pagination';
23
+ import {
24
+ PaginationFromJSON,
25
+ PaginationFromJSONTyped,
26
+ PaginationToJSON,
27
+ } from './Pagination';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedGoogleProviderList
33
+ */
34
+ export interface PaginatedGoogleProviderList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedGoogleProviderList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<GoogleProvider>}
44
+ * @memberof PaginatedGoogleProviderList
45
+ */
46
+ results: Array<GoogleProvider>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedGoogleProviderList interface.
51
+ */
52
+ export function instanceOfPaginatedGoogleProviderList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedGoogleProviderListFromJSON(json: any): PaginatedGoogleProviderList {
61
+ return PaginatedGoogleProviderListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedGoogleProviderListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGoogleProviderList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(GoogleProviderFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedGoogleProviderListToJSON(value?: PaginatedGoogleProviderList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(GoogleProviderToJSON)),
86
+ };
87
+ }
88
+
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.4.2
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { GoogleProviderMapping } from './GoogleProviderMapping';
17
+ import {
18
+ GoogleProviderMappingFromJSON,
19
+ GoogleProviderMappingFromJSONTyped,
20
+ GoogleProviderMappingToJSON,
21
+ } from './GoogleProviderMapping';
22
+ import type { Pagination } from './Pagination';
23
+ import {
24
+ PaginationFromJSON,
25
+ PaginationFromJSONTyped,
26
+ PaginationToJSON,
27
+ } from './Pagination';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedGoogleProviderMappingList
33
+ */
34
+ export interface PaginatedGoogleProviderMappingList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedGoogleProviderMappingList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<GoogleProviderMapping>}
44
+ * @memberof PaginatedGoogleProviderMappingList
45
+ */
46
+ results: Array<GoogleProviderMapping>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedGoogleProviderMappingList interface.
51
+ */
52
+ export function instanceOfPaginatedGoogleProviderMappingList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedGoogleProviderMappingListFromJSON(json: any): PaginatedGoogleProviderMappingList {
61
+ return PaginatedGoogleProviderMappingListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedGoogleProviderMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGoogleProviderMappingList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(GoogleProviderMappingFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedGoogleProviderMappingListToJSON(value?: PaginatedGoogleProviderMappingList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(GoogleProviderMappingToJSON)),
86
+ };
87
+ }
88
+
@@ -0,0 +1,81 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.4.2
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * GoogleProviderMapping Serializer
18
+ * @export
19
+ * @interface PatchedGoogleProviderMappingRequest
20
+ */
21
+ export interface PatchedGoogleProviderMappingRequest {
22
+ /**
23
+ * 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.
24
+ * @type {string}
25
+ * @memberof PatchedGoogleProviderMappingRequest
26
+ */
27
+ managed?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PatchedGoogleProviderMappingRequest
32
+ */
33
+ name?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PatchedGoogleProviderMappingRequest
38
+ */
39
+ expression?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the PatchedGoogleProviderMappingRequest interface.
44
+ */
45
+ export function instanceOfPatchedGoogleProviderMappingRequest(value: object): boolean {
46
+ let isInstance = true;
47
+
48
+ return isInstance;
49
+ }
50
+
51
+ export function PatchedGoogleProviderMappingRequestFromJSON(json: any): PatchedGoogleProviderMappingRequest {
52
+ return PatchedGoogleProviderMappingRequestFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function PatchedGoogleProviderMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleProviderMappingRequest {
56
+ if ((json === undefined) || (json === null)) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
62
+ 'name': !exists(json, 'name') ? undefined : json['name'],
63
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
64
+ };
65
+ }
66
+
67
+ export function PatchedGoogleProviderMappingRequestToJSON(value?: PatchedGoogleProviderMappingRequest | null): any {
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
73
+ }
74
+ return {
75
+
76
+ 'managed': value.managed,
77
+ 'name': value.name,
78
+ 'expression': value.expression,
79
+ };
80
+ }
81
+
@@ -0,0 +1,152 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.4.2
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { GoogleWorkspaceDeleteAction } from './GoogleWorkspaceDeleteAction';
17
+ import {
18
+ GoogleWorkspaceDeleteActionFromJSON,
19
+ GoogleWorkspaceDeleteActionFromJSONTyped,
20
+ GoogleWorkspaceDeleteActionToJSON,
21
+ } from './GoogleWorkspaceDeleteAction';
22
+
23
+ /**
24
+ * GoogleProvider Serializer
25
+ * @export
26
+ * @interface PatchedGoogleProviderRequest
27
+ */
28
+ export interface PatchedGoogleProviderRequest {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof PatchedGoogleProviderRequest
33
+ */
34
+ name?: string;
35
+ /**
36
+ *
37
+ * @type {Array<string>}
38
+ * @memberof PatchedGoogleProviderRequest
39
+ */
40
+ propertyMappings?: Array<string>;
41
+ /**
42
+ * Property mappings used for group creation/updating.
43
+ * @type {Array<string>}
44
+ * @memberof PatchedGoogleProviderRequest
45
+ */
46
+ propertyMappingsGroup?: Array<string>;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof PatchedGoogleProviderRequest
51
+ */
52
+ delegatedSubject?: string;
53
+ /**
54
+ *
55
+ * @type {any}
56
+ * @memberof PatchedGoogleProviderRequest
57
+ */
58
+ credentials?: any | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof PatchedGoogleProviderRequest
63
+ */
64
+ scopes?: string;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof PatchedGoogleProviderRequest
69
+ */
70
+ excludeUsersServiceAccount?: boolean;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof PatchedGoogleProviderRequest
75
+ */
76
+ filterGroup?: string | null;
77
+ /**
78
+ *
79
+ * @type {GoogleWorkspaceDeleteAction}
80
+ * @memberof PatchedGoogleProviderRequest
81
+ */
82
+ userDeleteAction?: GoogleWorkspaceDeleteAction;
83
+ /**
84
+ *
85
+ * @type {GoogleWorkspaceDeleteAction}
86
+ * @memberof PatchedGoogleProviderRequest
87
+ */
88
+ groupDeleteAction?: GoogleWorkspaceDeleteAction;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof PatchedGoogleProviderRequest
93
+ */
94
+ defaultGroupEmailDomain?: string;
95
+ }
96
+
97
+ /**
98
+ * Check if a given object implements the PatchedGoogleProviderRequest interface.
99
+ */
100
+ export function instanceOfPatchedGoogleProviderRequest(value: object): boolean {
101
+ let isInstance = true;
102
+
103
+ return isInstance;
104
+ }
105
+
106
+ export function PatchedGoogleProviderRequestFromJSON(json: any): PatchedGoogleProviderRequest {
107
+ return PatchedGoogleProviderRequestFromJSONTyped(json, false);
108
+ }
109
+
110
+ export function PatchedGoogleProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleProviderRequest {
111
+ if ((json === undefined) || (json === null)) {
112
+ return json;
113
+ }
114
+ return {
115
+
116
+ 'name': !exists(json, 'name') ? undefined : json['name'],
117
+ 'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
118
+ 'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
119
+ 'delegatedSubject': !exists(json, 'delegated_subject') ? undefined : json['delegated_subject'],
120
+ 'credentials': !exists(json, 'credentials') ? undefined : json['credentials'],
121
+ 'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
122
+ 'excludeUsersServiceAccount': !exists(json, 'exclude_users_service_account') ? undefined : json['exclude_users_service_account'],
123
+ 'filterGroup': !exists(json, 'filter_group') ? undefined : json['filter_group'],
124
+ 'userDeleteAction': !exists(json, 'user_delete_action') ? undefined : GoogleWorkspaceDeleteActionFromJSON(json['user_delete_action']),
125
+ 'groupDeleteAction': !exists(json, 'group_delete_action') ? undefined : GoogleWorkspaceDeleteActionFromJSON(json['group_delete_action']),
126
+ 'defaultGroupEmailDomain': !exists(json, 'default_group_email_domain') ? undefined : json['default_group_email_domain'],
127
+ };
128
+ }
129
+
130
+ export function PatchedGoogleProviderRequestToJSON(value?: PatchedGoogleProviderRequest | null): any {
131
+ if (value === undefined) {
132
+ return undefined;
133
+ }
134
+ if (value === null) {
135
+ return null;
136
+ }
137
+ return {
138
+
139
+ 'name': value.name,
140
+ 'property_mappings': value.propertyMappings,
141
+ 'property_mappings_group': value.propertyMappingsGroup,
142
+ 'delegated_subject': value.delegatedSubject,
143
+ 'credentials': value.credentials,
144
+ 'scopes': value.scopes,
145
+ 'exclude_users_service_account': value.excludeUsersServiceAccount,
146
+ 'filter_group': value.filterGroup,
147
+ 'user_delete_action': GoogleWorkspaceDeleteActionToJSON(value.userDeleteAction),
148
+ 'group_delete_action': GoogleWorkspaceDeleteActionToJSON(value.groupDeleteAction),
149
+ 'default_group_email_domain': value.defaultGroupEmailDomain,
150
+ };
151
+ }
152
+
@@ -18,6 +18,7 @@
18
18
  * @export
19
19
  */
20
20
  export const ProviderModelEnum = {
21
+ GoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
21
22
  LdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
22
23
  Oauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
23
24
  ProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
@@ -21,29 +21,29 @@ import {
21
21
  } from './SystemTask';
22
22
 
23
23
  /**
24
- * LDAP Source sync status
24
+ * Provider sync status
25
25
  * @export
26
- * @interface LDAPSyncStatus
26
+ * @interface SyncStatus
27
27
  */
28
- export interface LDAPSyncStatus {
28
+ export interface SyncStatus {
29
29
  /**
30
30
  *
31
31
  * @type {boolean}
32
- * @memberof LDAPSyncStatus
32
+ * @memberof SyncStatus
33
33
  */
34
34
  readonly isRunning: boolean;
35
35
  /**
36
36
  *
37
37
  * @type {Array<SystemTask>}
38
- * @memberof LDAPSyncStatus
38
+ * @memberof SyncStatus
39
39
  */
40
40
  readonly tasks: Array<SystemTask>;
41
41
  }
42
42
 
43
43
  /**
44
- * Check if a given object implements the LDAPSyncStatus interface.
44
+ * Check if a given object implements the SyncStatus interface.
45
45
  */
46
- export function instanceOfLDAPSyncStatus(value: object): boolean {
46
+ export function instanceOfSyncStatus(value: object): boolean {
47
47
  let isInstance = true;
48
48
  isInstance = isInstance && "isRunning" in value;
49
49
  isInstance = isInstance && "tasks" in value;
@@ -51,11 +51,11 @@ export function instanceOfLDAPSyncStatus(value: object): boolean {
51
51
  return isInstance;
52
52
  }
53
53
 
54
- export function LDAPSyncStatusFromJSON(json: any): LDAPSyncStatus {
55
- return LDAPSyncStatusFromJSONTyped(json, false);
54
+ export function SyncStatusFromJSON(json: any): SyncStatus {
55
+ return SyncStatusFromJSONTyped(json, false);
56
56
  }
57
57
 
58
- export function LDAPSyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSyncStatus {
58
+ export function SyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncStatus {
59
59
  if ((json === undefined) || (json === null)) {
60
60
  return json;
61
61
  }
@@ -66,7 +66,7 @@ export function LDAPSyncStatusFromJSONTyped(json: any, ignoreDiscriminator: bool
66
66
  };
67
67
  }
68
68
 
69
- export function LDAPSyncStatusToJSON(value?: LDAPSyncStatus | null): any {
69
+ export function SyncStatusToJSON(value?: SyncStatus | null): any {
70
70
  if (value === undefined) {
71
71
  return undefined;
72
72
  }
@@ -141,6 +141,11 @@ export * from './FlowStageBindingRequest';
141
141
  export * from './FooterLink';
142
142
  export * from './GenericError';
143
143
  export * from './GeoipBindingEnum';
144
+ export * from './GoogleProvider';
145
+ export * from './GoogleProviderMapping';
146
+ export * from './GoogleProviderMappingRequest';
147
+ export * from './GoogleProviderRequest';
148
+ export * from './GoogleWorkspaceDeleteAction';
144
149
  export * from './Group';
145
150
  export * from './GroupMember';
146
151
  export * from './GroupMemberRequest';
@@ -168,7 +173,6 @@ export * from './LDAPProvider';
168
173
  export * from './LDAPProviderRequest';
169
174
  export * from './LDAPSource';
170
175
  export * from './LDAPSourceRequest';
171
- export * from './LDAPSyncStatus';
172
176
  export * from './License';
173
177
  export * from './LicenseForecast';
174
178
  export * from './LicenseRequest';
@@ -240,6 +244,8 @@ export * from './PaginatedExtraRoleObjectPermissionList';
240
244
  export * from './PaginatedExtraUserObjectPermissionList';
241
245
  export * from './PaginatedFlowList';
242
246
  export * from './PaginatedFlowStageBindingList';
247
+ export * from './PaginatedGoogleProviderList';
248
+ export * from './PaginatedGoogleProviderMappingList';
243
249
  export * from './PaginatedGroupList';
244
250
  export * from './PaginatedIdentificationStageList';
245
251
  export * from './PaginatedInvitationList';
@@ -346,6 +352,8 @@ export * from './PatchedEventRequest';
346
352
  export * from './PatchedExpressionPolicyRequest';
347
353
  export * from './PatchedFlowRequest';
348
354
  export * from './PatchedFlowStageBindingRequest';
355
+ export * from './PatchedGoogleProviderMappingRequest';
356
+ export * from './PatchedGoogleProviderRequest';
349
357
  export * from './PatchedGroupRequest';
350
358
  export * from './PatchedIdentificationStageRequest';
351
359
  export * from './PatchedInvitationRequest';
@@ -470,7 +478,6 @@ export * from './SCIMSourceGroupRequest';
470
478
  export * from './SCIMSourceRequest';
471
479
  export * from './SCIMSourceUser';
472
480
  export * from './SCIMSourceUserRequest';
473
- export * from './SCIMSyncStatus';
474
481
  export * from './SMSDevice';
475
482
  export * from './SMSDeviceRequest';
476
483
  export * from './ScopeMapping';
@@ -499,6 +506,7 @@ export * from './StaticDeviceRequest';
499
506
  export * from './StaticDeviceToken';
500
507
  export * from './StaticDeviceTokenRequest';
501
508
  export * from './SubModeEnum';
509
+ export * from './SyncStatus';
502
510
  export * from './SystemInfo';
503
511
  export * from './SystemInfoRuntime';
504
512
  export * from './SystemTask';
@@ -1,38 +0,0 @@
1
- /**
2
- * authentik
3
- * Making authentication simple.
4
- *
5
- * The version of the OpenAPI document: 2024.4.2
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 { SystemTask } from './SystemTask';
13
- /**
14
- * LDAP Source sync status
15
- * @export
16
- * @interface LDAPSyncStatus
17
- */
18
- export interface LDAPSyncStatus {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof LDAPSyncStatus
23
- */
24
- readonly isRunning: boolean;
25
- /**
26
- *
27
- * @type {Array<SystemTask>}
28
- * @memberof LDAPSyncStatus
29
- */
30
- readonly tasks: Array<SystemTask>;
31
- }
32
- /**
33
- * Check if a given object implements the LDAPSyncStatus interface.
34
- */
35
- export declare function instanceOfLDAPSyncStatus(value: object): boolean;
36
- export declare function LDAPSyncStatusFromJSON(json: any): LDAPSyncStatus;
37
- export declare function LDAPSyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSyncStatus;
38
- export declare function LDAPSyncStatusToJSON(value?: LDAPSyncStatus | null): any;
@@ -1,38 +0,0 @@
1
- /**
2
- * authentik
3
- * Making authentication simple.
4
- *
5
- * The version of the OpenAPI document: 2024.4.2
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 { SystemTask } from './SystemTask';
13
- /**
14
- * SCIM Provider sync status
15
- * @export
16
- * @interface SCIMSyncStatus
17
- */
18
- export interface SCIMSyncStatus {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof SCIMSyncStatus
23
- */
24
- readonly isRunning: boolean;
25
- /**
26
- *
27
- * @type {Array<SystemTask>}
28
- * @memberof SCIMSyncStatus
29
- */
30
- readonly tasks: Array<SystemTask>;
31
- }
32
- /**
33
- * Check if a given object implements the SCIMSyncStatus interface.
34
- */
35
- export declare function instanceOfSCIMSyncStatus(value: object): boolean;
36
- export declare function SCIMSyncStatusFromJSON(json: any): SCIMSyncStatus;
37
- export declare function SCIMSyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMSyncStatus;
38
- export declare function SCIMSyncStatusToJSON(value?: SCIMSyncStatus | null): any;
@@ -1,44 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * authentik
5
- * Making authentication simple.
6
- *
7
- * The version of the OpenAPI document: 2024.4.2
8
- * Contact: hello@goauthentik.io
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { SystemTaskFromJSON, } from './SystemTask';
15
- /**
16
- * Check if a given object implements the SCIMSyncStatus interface.
17
- */
18
- export function instanceOfSCIMSyncStatus(value) {
19
- let isInstance = true;
20
- isInstance = isInstance && "isRunning" in value;
21
- isInstance = isInstance && "tasks" in value;
22
- return isInstance;
23
- }
24
- export function SCIMSyncStatusFromJSON(json) {
25
- return SCIMSyncStatusFromJSONTyped(json, false);
26
- }
27
- export function SCIMSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
28
- if ((json === undefined) || (json === null)) {
29
- return json;
30
- }
31
- return {
32
- 'isRunning': json['is_running'],
33
- 'tasks': (json['tasks'].map(SystemTaskFromJSON)),
34
- };
35
- }
36
- export function SCIMSyncStatusToJSON(value) {
37
- if (value === undefined) {
38
- return undefined;
39
- }
40
- if (value === null) {
41
- return null;
42
- }
43
- return {};
44
- }
@@ -1,38 +0,0 @@
1
- /**
2
- * authentik
3
- * Making authentication simple.
4
- *
5
- * The version of the OpenAPI document: 2024.4.2
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 { SystemTask } from './SystemTask';
13
- /**
14
- * LDAP Source sync status
15
- * @export
16
- * @interface LDAPSyncStatus
17
- */
18
- export interface LDAPSyncStatus {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof LDAPSyncStatus
23
- */
24
- readonly isRunning: boolean;
25
- /**
26
- *
27
- * @type {Array<SystemTask>}
28
- * @memberof LDAPSyncStatus
29
- */
30
- readonly tasks: Array<SystemTask>;
31
- }
32
- /**
33
- * Check if a given object implements the LDAPSyncStatus interface.
34
- */
35
- export declare function instanceOfLDAPSyncStatus(value: object): boolean;
36
- export declare function LDAPSyncStatusFromJSON(json: any): LDAPSyncStatus;
37
- export declare function LDAPSyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSyncStatus;
38
- export declare function LDAPSyncStatusToJSON(value?: LDAPSyncStatus | null): any;