@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,38 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.4.2
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.GoogleWorkspaceDeleteActionToJSON = exports.GoogleWorkspaceDeleteActionFromJSONTyped = exports.GoogleWorkspaceDeleteActionFromJSON = exports.GoogleWorkspaceDeleteAction = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ */
21
+ exports.GoogleWorkspaceDeleteAction = {
22
+ DoNothing: 'do_nothing',
23
+ Delete: 'delete',
24
+ Suspend: 'suspend',
25
+ UnknownDefaultOpenApi: '11184809'
26
+ };
27
+ function GoogleWorkspaceDeleteActionFromJSON(json) {
28
+ return GoogleWorkspaceDeleteActionFromJSONTyped(json, false);
29
+ }
30
+ exports.GoogleWorkspaceDeleteActionFromJSON = GoogleWorkspaceDeleteActionFromJSON;
31
+ function GoogleWorkspaceDeleteActionFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ exports.GoogleWorkspaceDeleteActionFromJSONTyped = GoogleWorkspaceDeleteActionFromJSONTyped;
35
+ function GoogleWorkspaceDeleteActionToJSON(value) {
36
+ return value;
37
+ }
38
+ exports.GoogleWorkspaceDeleteActionToJSON = GoogleWorkspaceDeleteActionToJSON;
@@ -81,6 +81,8 @@ export declare const ModelEnum: {
81
81
  readonly CoreApplication: "authentik_core.application";
82
82
  readonly CoreToken: "authentik_core.token";
83
83
  readonly EnterpriseLicense: "authentik_enterprise.license";
84
+ readonly ProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
85
+ readonly ProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: "authentik_providers_google_workspace.googleworkspaceprovidermapping";
84
86
  readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
85
87
  readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
86
88
  readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
@@ -86,6 +86,8 @@ exports.ModelEnum = {
86
86
  CoreApplication: 'authentik_core.application',
87
87
  CoreToken: 'authentik_core.token',
88
88
  EnterpriseLicense: 'authentik_enterprise.license',
89
+ ProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
90
+ ProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: 'authentik_providers_google_workspace.googleworkspaceprovidermapping',
89
91
  ProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
90
92
  ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
91
93
  ProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { GoogleProviderRequest } from './GoogleProviderRequest';
12
13
  import { LDAPProviderRequest } from './LDAPProviderRequest';
13
14
  import { OAuth2ProviderRequest } from './OAuth2ProviderRequest';
14
15
  import { ProxyProviderRequest } from './ProxyProviderRequest';
@@ -22,6 +23,8 @@ import { SCIMProviderRequest } from './SCIMProviderRequest';
22
23
  * @export
23
24
  */
24
25
  export type ModelRequest = {
26
+ providerModel: 'authentik_providers_google_workspace.googleworkspaceprovider';
27
+ } & GoogleProviderRequest | {
25
28
  providerModel: 'authentik_providers_ldap.ldapprovider';
26
29
  } & LDAPProviderRequest | {
27
30
  providerModel: 'authentik_providers_oauth2.oauth2provider';
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ModelRequestToJSON = exports.ModelRequestFromJSONTyped = exports.ModelRequestFromJSON = void 0;
17
+ const GoogleProviderRequest_1 = require("./GoogleProviderRequest");
17
18
  const LDAPProviderRequest_1 = require("./LDAPProviderRequest");
18
19
  const OAuth2ProviderRequest_1 = require("./OAuth2ProviderRequest");
19
20
  const ProxyProviderRequest_1 = require("./ProxyProviderRequest");
@@ -30,6 +31,8 @@ function ModelRequestFromJSONTyped(json, ignoreDiscriminator) {
30
31
  return json;
31
32
  }
32
33
  switch (json['providerModel']) {
34
+ case 'authentik_providers_google_workspace.googleworkspaceprovider':
35
+ return Object.assign(Object.assign({}, (0, GoogleProviderRequest_1.GoogleProviderRequestFromJSONTyped)(json, true)), { providerModel: 'authentik_providers_google_workspace.googleworkspaceprovider' });
33
36
  case 'authentik_providers_ldap.ldapprovider':
34
37
  return Object.assign(Object.assign({}, (0, LDAPProviderRequest_1.LDAPProviderRequestFromJSONTyped)(json, true)), { providerModel: 'authentik_providers_ldap.ldapprovider' });
35
38
  case 'authentik_providers_oauth2.oauth2provider':
@@ -57,6 +60,8 @@ function ModelRequestToJSON(value) {
57
60
  return null;
58
61
  }
59
62
  switch (value['providerModel']) {
63
+ case 'authentik_providers_google_workspace.googleworkspaceprovider':
64
+ return (0, GoogleProviderRequest_1.GoogleProviderRequestToJSON)(value);
60
65
  case 'authentik_providers_ldap.ldapprovider':
61
66
  return (0, LDAPProviderRequest_1.LDAPProviderRequestToJSON)(value);
62
67
  case 'authentik_providers_oauth2.oauth2provider':
@@ -0,0 +1,39 @@
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 { GoogleProvider } from './GoogleProvider';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedGoogleProviderList
18
+ */
19
+ export interface PaginatedGoogleProviderList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedGoogleProviderList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<GoogleProvider>}
29
+ * @memberof PaginatedGoogleProviderList
30
+ */
31
+ results: Array<GoogleProvider>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedGoogleProviderList interface.
35
+ */
36
+ export declare function instanceOfPaginatedGoogleProviderList(value: object): boolean;
37
+ export declare function PaginatedGoogleProviderListFromJSON(json: any): PaginatedGoogleProviderList;
38
+ export declare function PaginatedGoogleProviderListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGoogleProviderList;
39
+ export declare function PaginatedGoogleProviderListToJSON(value?: PaginatedGoogleProviderList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.4.2
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.PaginatedGoogleProviderListToJSON = exports.PaginatedGoogleProviderListFromJSONTyped = exports.PaginatedGoogleProviderListFromJSON = exports.instanceOfPaginatedGoogleProviderList = void 0;
17
+ const GoogleProvider_1 = require("./GoogleProvider");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedGoogleProviderList interface.
21
+ */
22
+ function instanceOfPaginatedGoogleProviderList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedGoogleProviderList = instanceOfPaginatedGoogleProviderList;
29
+ function PaginatedGoogleProviderListFromJSON(json) {
30
+ return PaginatedGoogleProviderListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedGoogleProviderListFromJSON = PaginatedGoogleProviderListFromJSON;
33
+ function PaginatedGoogleProviderListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(GoogleProvider_1.GoogleProviderFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedGoogleProviderListFromJSONTyped = PaginatedGoogleProviderListFromJSONTyped;
43
+ function PaginatedGoogleProviderListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(GoogleProvider_1.GoogleProviderToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedGoogleProviderListToJSON = PaginatedGoogleProviderListToJSON;
@@ -0,0 +1,39 @@
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 { GoogleProviderMapping } from './GoogleProviderMapping';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedGoogleProviderMappingList
18
+ */
19
+ export interface PaginatedGoogleProviderMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedGoogleProviderMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<GoogleProviderMapping>}
29
+ * @memberof PaginatedGoogleProviderMappingList
30
+ */
31
+ results: Array<GoogleProviderMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedGoogleProviderMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedGoogleProviderMappingList(value: object): boolean;
37
+ export declare function PaginatedGoogleProviderMappingListFromJSON(json: any): PaginatedGoogleProviderMappingList;
38
+ export declare function PaginatedGoogleProviderMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGoogleProviderMappingList;
39
+ export declare function PaginatedGoogleProviderMappingListToJSON(value?: PaginatedGoogleProviderMappingList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.4.2
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.PaginatedGoogleProviderMappingListToJSON = exports.PaginatedGoogleProviderMappingListFromJSONTyped = exports.PaginatedGoogleProviderMappingListFromJSON = exports.instanceOfPaginatedGoogleProviderMappingList = void 0;
17
+ const GoogleProviderMapping_1 = require("./GoogleProviderMapping");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedGoogleProviderMappingList interface.
21
+ */
22
+ function instanceOfPaginatedGoogleProviderMappingList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedGoogleProviderMappingList = instanceOfPaginatedGoogleProviderMappingList;
29
+ function PaginatedGoogleProviderMappingListFromJSON(json) {
30
+ return PaginatedGoogleProviderMappingListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedGoogleProviderMappingListFromJSON = PaginatedGoogleProviderMappingListFromJSON;
33
+ function PaginatedGoogleProviderMappingListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(GoogleProviderMapping_1.GoogleProviderMappingFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedGoogleProviderMappingListFromJSONTyped = PaginatedGoogleProviderMappingListFromJSONTyped;
43
+ function PaginatedGoogleProviderMappingListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(GoogleProviderMapping_1.GoogleProviderMappingToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedGoogleProviderMappingListToJSON = PaginatedGoogleProviderMappingListToJSON;
@@ -0,0 +1,43 @@
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
+ /**
13
+ * GoogleProviderMapping Serializer
14
+ * @export
15
+ * @interface PatchedGoogleProviderMappingRequest
16
+ */
17
+ export interface PatchedGoogleProviderMappingRequest {
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 PatchedGoogleProviderMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedGoogleProviderMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedGoogleProviderMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedGoogleProviderMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedGoogleProviderMappingRequest(value: object): boolean;
41
+ export declare function PatchedGoogleProviderMappingRequestFromJSON(json: any): PatchedGoogleProviderMappingRequest;
42
+ export declare function PatchedGoogleProviderMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleProviderMappingRequest;
43
+ export declare function PatchedGoogleProviderMappingRequestToJSON(value?: PatchedGoogleProviderMappingRequest | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.4.2
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.PatchedGoogleProviderMappingRequestToJSON = exports.PatchedGoogleProviderMappingRequestFromJSONTyped = exports.PatchedGoogleProviderMappingRequestFromJSON = exports.instanceOfPatchedGoogleProviderMappingRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedGoogleProviderMappingRequest interface.
20
+ */
21
+ function instanceOfPatchedGoogleProviderMappingRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedGoogleProviderMappingRequest = instanceOfPatchedGoogleProviderMappingRequest;
26
+ function PatchedGoogleProviderMappingRequestFromJSON(json) {
27
+ return PatchedGoogleProviderMappingRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedGoogleProviderMappingRequestFromJSON = PatchedGoogleProviderMappingRequestFromJSON;
30
+ function PatchedGoogleProviderMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
38
+ };
39
+ }
40
+ exports.PatchedGoogleProviderMappingRequestFromJSONTyped = PatchedGoogleProviderMappingRequestFromJSONTyped;
41
+ function PatchedGoogleProviderMappingRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'managed': value.managed,
50
+ 'name': value.name,
51
+ 'expression': value.expression,
52
+ };
53
+ }
54
+ exports.PatchedGoogleProviderMappingRequestToJSON = PatchedGoogleProviderMappingRequestToJSON;
@@ -0,0 +1,92 @@
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 { GoogleWorkspaceDeleteAction } from './GoogleWorkspaceDeleteAction';
13
+ /**
14
+ * GoogleProvider Serializer
15
+ * @export
16
+ * @interface PatchedGoogleProviderRequest
17
+ */
18
+ export interface PatchedGoogleProviderRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PatchedGoogleProviderRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {Array<string>}
28
+ * @memberof PatchedGoogleProviderRequest
29
+ */
30
+ propertyMappings?: Array<string>;
31
+ /**
32
+ * Property mappings used for group creation/updating.
33
+ * @type {Array<string>}
34
+ * @memberof PatchedGoogleProviderRequest
35
+ */
36
+ propertyMappingsGroup?: Array<string>;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof PatchedGoogleProviderRequest
41
+ */
42
+ delegatedSubject?: string;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof PatchedGoogleProviderRequest
47
+ */
48
+ credentials?: any | null;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof PatchedGoogleProviderRequest
53
+ */
54
+ scopes?: string;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof PatchedGoogleProviderRequest
59
+ */
60
+ excludeUsersServiceAccount?: boolean;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof PatchedGoogleProviderRequest
65
+ */
66
+ filterGroup?: string | null;
67
+ /**
68
+ *
69
+ * @type {GoogleWorkspaceDeleteAction}
70
+ * @memberof PatchedGoogleProviderRequest
71
+ */
72
+ userDeleteAction?: GoogleWorkspaceDeleteAction;
73
+ /**
74
+ *
75
+ * @type {GoogleWorkspaceDeleteAction}
76
+ * @memberof PatchedGoogleProviderRequest
77
+ */
78
+ groupDeleteAction?: GoogleWorkspaceDeleteAction;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof PatchedGoogleProviderRequest
83
+ */
84
+ defaultGroupEmailDomain?: string;
85
+ }
86
+ /**
87
+ * Check if a given object implements the PatchedGoogleProviderRequest interface.
88
+ */
89
+ export declare function instanceOfPatchedGoogleProviderRequest(value: object): boolean;
90
+ export declare function PatchedGoogleProviderRequestFromJSON(json: any): PatchedGoogleProviderRequest;
91
+ export declare function PatchedGoogleProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleProviderRequest;
92
+ export declare function PatchedGoogleProviderRequestToJSON(value?: PatchedGoogleProviderRequest | null): any;
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.4.2
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.PatchedGoogleProviderRequestToJSON = exports.PatchedGoogleProviderRequestFromJSONTyped = exports.PatchedGoogleProviderRequestFromJSON = exports.instanceOfPatchedGoogleProviderRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const GoogleWorkspaceDeleteAction_1 = require("./GoogleWorkspaceDeleteAction");
19
+ /**
20
+ * Check if a given object implements the PatchedGoogleProviderRequest interface.
21
+ */
22
+ function instanceOfPatchedGoogleProviderRequest(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfPatchedGoogleProviderRequest = instanceOfPatchedGoogleProviderRequest;
27
+ function PatchedGoogleProviderRequestFromJSON(json) {
28
+ return PatchedGoogleProviderRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.PatchedGoogleProviderRequestFromJSON = PatchedGoogleProviderRequestFromJSON;
31
+ function PatchedGoogleProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
38
+ 'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
39
+ 'delegatedSubject': !(0, runtime_1.exists)(json, 'delegated_subject') ? undefined : json['delegated_subject'],
40
+ 'credentials': !(0, runtime_1.exists)(json, 'credentials') ? undefined : json['credentials'],
41
+ 'scopes': !(0, runtime_1.exists)(json, 'scopes') ? undefined : json['scopes'],
42
+ 'excludeUsersServiceAccount': !(0, runtime_1.exists)(json, 'exclude_users_service_account') ? undefined : json['exclude_users_service_account'],
43
+ 'filterGroup': !(0, runtime_1.exists)(json, 'filter_group') ? undefined : json['filter_group'],
44
+ 'userDeleteAction': !(0, runtime_1.exists)(json, 'user_delete_action') ? undefined : (0, GoogleWorkspaceDeleteAction_1.GoogleWorkspaceDeleteActionFromJSON)(json['user_delete_action']),
45
+ 'groupDeleteAction': !(0, runtime_1.exists)(json, 'group_delete_action') ? undefined : (0, GoogleWorkspaceDeleteAction_1.GoogleWorkspaceDeleteActionFromJSON)(json['group_delete_action']),
46
+ 'defaultGroupEmailDomain': !(0, runtime_1.exists)(json, 'default_group_email_domain') ? undefined : json['default_group_email_domain'],
47
+ };
48
+ }
49
+ exports.PatchedGoogleProviderRequestFromJSONTyped = PatchedGoogleProviderRequestFromJSONTyped;
50
+ function PatchedGoogleProviderRequestToJSON(value) {
51
+ if (value === undefined) {
52
+ return undefined;
53
+ }
54
+ if (value === null) {
55
+ return null;
56
+ }
57
+ return {
58
+ 'name': value.name,
59
+ 'property_mappings': value.propertyMappings,
60
+ 'property_mappings_group': value.propertyMappingsGroup,
61
+ 'delegated_subject': value.delegatedSubject,
62
+ 'credentials': value.credentials,
63
+ 'scopes': value.scopes,
64
+ 'exclude_users_service_account': value.excludeUsersServiceAccount,
65
+ 'filter_group': value.filterGroup,
66
+ 'user_delete_action': (0, GoogleWorkspaceDeleteAction_1.GoogleWorkspaceDeleteActionToJSON)(value.userDeleteAction),
67
+ 'group_delete_action': (0, GoogleWorkspaceDeleteAction_1.GoogleWorkspaceDeleteActionToJSON)(value.groupDeleteAction),
68
+ 'default_group_email_domain': value.defaultGroupEmailDomain,
69
+ };
70
+ }
71
+ exports.PatchedGoogleProviderRequestToJSON = PatchedGoogleProviderRequestToJSON;
@@ -14,6 +14,7 @@
14
14
  * @export
15
15
  */
16
16
  export declare const ProviderModelEnum: {
17
+ readonly GoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
17
18
  readonly LdapLdapprovider: "authentik_providers_ldap.ldapprovider";
18
19
  readonly Oauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
19
20
  readonly ProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
@@ -19,6 +19,7 @@ exports.ProviderModelEnumToJSON = exports.ProviderModelEnumFromJSONTyped = expor
19
19
  * @export
20
20
  */
21
21
  exports.ProviderModelEnum = {
22
+ GoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
22
23
  LdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
23
24
  Oauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
24
25
  ProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
@@ -0,0 +1,38 @@
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
+ * Provider sync status
15
+ * @export
16
+ * @interface SyncStatus
17
+ */
18
+ export interface SyncStatus {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SyncStatus
23
+ */
24
+ readonly isRunning: boolean;
25
+ /**
26
+ *
27
+ * @type {Array<SystemTask>}
28
+ * @memberof SyncStatus
29
+ */
30
+ readonly tasks: Array<SystemTask>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SyncStatus interface.
34
+ */
35
+ export declare function instanceOfSyncStatus(value: object): boolean;
36
+ export declare function SyncStatusFromJSON(json: any): SyncStatus;
37
+ export declare function SyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncStatus;
38
+ export declare function SyncStatusToJSON(value?: SyncStatus | null): any;
@@ -13,23 +13,23 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.LDAPSyncStatusToJSON = exports.LDAPSyncStatusFromJSONTyped = exports.LDAPSyncStatusFromJSON = exports.instanceOfLDAPSyncStatus = void 0;
16
+ exports.SyncStatusToJSON = exports.SyncStatusFromJSONTyped = exports.SyncStatusFromJSON = exports.instanceOfSyncStatus = void 0;
17
17
  const SystemTask_1 = require("./SystemTask");
18
18
  /**
19
- * Check if a given object implements the LDAPSyncStatus interface.
19
+ * Check if a given object implements the SyncStatus interface.
20
20
  */
21
- function instanceOfLDAPSyncStatus(value) {
21
+ function instanceOfSyncStatus(value) {
22
22
  let isInstance = true;
23
23
  isInstance = isInstance && "isRunning" in value;
24
24
  isInstance = isInstance && "tasks" in value;
25
25
  return isInstance;
26
26
  }
27
- exports.instanceOfLDAPSyncStatus = instanceOfLDAPSyncStatus;
28
- function LDAPSyncStatusFromJSON(json) {
29
- return LDAPSyncStatusFromJSONTyped(json, false);
27
+ exports.instanceOfSyncStatus = instanceOfSyncStatus;
28
+ function SyncStatusFromJSON(json) {
29
+ return SyncStatusFromJSONTyped(json, false);
30
30
  }
31
- exports.LDAPSyncStatusFromJSON = LDAPSyncStatusFromJSON;
32
- function LDAPSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
31
+ exports.SyncStatusFromJSON = SyncStatusFromJSON;
32
+ function SyncStatusFromJSONTyped(json, ignoreDiscriminator) {
33
33
  if ((json === undefined) || (json === null)) {
34
34
  return json;
35
35
  }
@@ -38,8 +38,8 @@ function LDAPSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'tasks': (json['tasks'].map(SystemTask_1.SystemTaskFromJSON)),
39
39
  };
40
40
  }
41
- exports.LDAPSyncStatusFromJSONTyped = LDAPSyncStatusFromJSONTyped;
42
- function LDAPSyncStatusToJSON(value) {
41
+ exports.SyncStatusFromJSONTyped = SyncStatusFromJSONTyped;
42
+ function SyncStatusToJSON(value) {
43
43
  if (value === undefined) {
44
44
  return undefined;
45
45
  }
@@ -48,4 +48,4 @@ function LDAPSyncStatusToJSON(value) {
48
48
  }
49
49
  return {};
50
50
  }
51
- exports.LDAPSyncStatusToJSON = LDAPSyncStatusToJSON;
51
+ exports.SyncStatusToJSON = SyncStatusToJSON;