@goauthentik/api 2023.10.5-1703290840 → 2023.10.5-1703968412

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.
Files changed (132) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +85 -1
  3. package/dist/apis/PropertymappingsApi.js +240 -0
  4. package/dist/apis/ProvidersApi.d.ts +85 -1
  5. package/dist/apis/ProvidersApi.js +240 -0
  6. package/dist/apis/RacApi.d.ts +103 -0
  7. package/dist/apis/RacApi.js +276 -0
  8. package/dist/apis/RbacApi.d.ts +6 -0
  9. package/dist/apis/RbacApi.js +6 -0
  10. package/dist/apis/SchemaApi.d.ts +0 -1
  11. package/dist/apis/SchemaApi.js +0 -1
  12. package/dist/apis/index.d.ts +1 -0
  13. package/dist/apis/index.js +1 -0
  14. package/dist/esm/apis/PropertymappingsApi.d.ts +85 -1
  15. package/dist/esm/apis/PropertymappingsApi.js +241 -1
  16. package/dist/esm/apis/ProvidersApi.d.ts +85 -1
  17. package/dist/esm/apis/ProvidersApi.js +241 -1
  18. package/dist/esm/apis/RacApi.d.ts +103 -0
  19. package/dist/esm/apis/RacApi.js +272 -0
  20. package/dist/esm/apis/RbacApi.d.ts +6 -0
  21. package/dist/esm/apis/RbacApi.js +6 -0
  22. package/dist/esm/apis/SchemaApi.d.ts +0 -1
  23. package/dist/esm/apis/SchemaApi.js +0 -1
  24. package/dist/esm/apis/index.d.ts +1 -0
  25. package/dist/esm/apis/index.js +1 -0
  26. package/dist/esm/models/AppEnum.d.ts +2 -0
  27. package/dist/esm/models/AppEnum.js +2 -0
  28. package/dist/esm/models/AuthModeEnum.d.ts +25 -0
  29. package/dist/esm/models/AuthModeEnum.js +32 -0
  30. package/dist/esm/models/Endpoint.d.ts +89 -0
  31. package/dist/esm/models/Endpoint.js +69 -0
  32. package/dist/esm/models/EndpointRequest.d.ts +69 -0
  33. package/dist/esm/models/EndpointRequest.js +62 -0
  34. package/dist/esm/models/ModelEnum.d.ts +6 -0
  35. package/dist/esm/models/ModelEnum.js +6 -0
  36. package/dist/esm/models/ModelRequest.d.ts +3 -0
  37. package/dist/esm/models/ModelRequest.js +5 -0
  38. package/dist/esm/models/OutpostTypeEnum.d.ts +2 -0
  39. package/dist/esm/models/OutpostTypeEnum.js +2 -0
  40. package/dist/esm/models/PaginatedEndpointList.d.ts +39 -0
  41. package/dist/esm/models/PaginatedEndpointList.js +48 -0
  42. package/dist/esm/models/PaginatedRACPropertyMappingList.d.ts +39 -0
  43. package/dist/esm/models/PaginatedRACPropertyMappingList.js +48 -0
  44. package/dist/esm/models/PaginatedRACProviderList.d.ts +39 -0
  45. package/dist/esm/models/PaginatedRACProviderList.js +48 -0
  46. package/dist/esm/models/PatchedEndpointRequest.d.ts +69 -0
  47. package/dist/esm/models/PatchedEndpointRequest.js +57 -0
  48. package/dist/esm/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
  49. package/dist/esm/models/PatchedRACPropertyMappingRequest.js +49 -0
  50. package/dist/esm/models/PatchedRACProviderRequest.d.ts +61 -0
  51. package/dist/esm/models/PatchedRACProviderRequest.js +53 -0
  52. package/dist/esm/models/ProtocolEnum.d.ts +27 -0
  53. package/dist/esm/models/ProtocolEnum.js +34 -0
  54. package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
  55. package/dist/esm/models/ProviderModelEnum.js +2 -0
  56. package/dist/esm/models/RACPropertyMapping.d.ts +81 -0
  57. package/dist/esm/models/RACPropertyMapping.js +61 -0
  58. package/dist/esm/models/RACPropertyMappingRequest.d.ts +51 -0
  59. package/dist/esm/models/RACPropertyMappingRequest.js +51 -0
  60. package/dist/esm/models/RACProvider.d.ts +121 -0
  61. package/dist/esm/models/RACProvider.js +75 -0
  62. package/dist/esm/models/RACProviderRequest.d.ts +61 -0
  63. package/dist/esm/models/RACProviderRequest.js +55 -0
  64. package/dist/esm/models/index.d.ts +14 -0
  65. package/dist/esm/models/index.js +14 -0
  66. package/dist/models/AppEnum.d.ts +2 -0
  67. package/dist/models/AppEnum.js +2 -0
  68. package/dist/models/AuthModeEnum.d.ts +25 -0
  69. package/dist/models/AuthModeEnum.js +38 -0
  70. package/dist/models/Endpoint.d.ts +89 -0
  71. package/dist/models/Endpoint.js +76 -0
  72. package/dist/models/EndpointRequest.d.ts +69 -0
  73. package/dist/models/EndpointRequest.js +69 -0
  74. package/dist/models/ModelEnum.d.ts +6 -0
  75. package/dist/models/ModelEnum.js +6 -0
  76. package/dist/models/ModelRequest.d.ts +3 -0
  77. package/dist/models/ModelRequest.js +5 -0
  78. package/dist/models/OutpostTypeEnum.d.ts +2 -0
  79. package/dist/models/OutpostTypeEnum.js +2 -0
  80. package/dist/models/PaginatedEndpointList.d.ts +39 -0
  81. package/dist/models/PaginatedEndpointList.js +55 -0
  82. package/dist/models/PaginatedRACPropertyMappingList.d.ts +39 -0
  83. package/dist/models/PaginatedRACPropertyMappingList.js +55 -0
  84. package/dist/models/PaginatedRACProviderList.d.ts +39 -0
  85. package/dist/models/PaginatedRACProviderList.js +55 -0
  86. package/dist/models/PatchedEndpointRequest.d.ts +69 -0
  87. package/dist/models/PatchedEndpointRequest.js +64 -0
  88. package/dist/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
  89. package/dist/models/PatchedRACPropertyMappingRequest.js +56 -0
  90. package/dist/models/PatchedRACProviderRequest.d.ts +61 -0
  91. package/dist/models/PatchedRACProviderRequest.js +60 -0
  92. package/dist/models/ProtocolEnum.d.ts +27 -0
  93. package/dist/models/ProtocolEnum.js +40 -0
  94. package/dist/models/ProviderModelEnum.d.ts +2 -0
  95. package/dist/models/ProviderModelEnum.js +2 -0
  96. package/dist/models/RACPropertyMapping.d.ts +81 -0
  97. package/dist/models/RACPropertyMapping.js +68 -0
  98. package/dist/models/RACPropertyMappingRequest.d.ts +51 -0
  99. package/dist/models/RACPropertyMappingRequest.js +58 -0
  100. package/dist/models/RACProvider.d.ts +121 -0
  101. package/dist/models/RACProvider.js +82 -0
  102. package/dist/models/RACProviderRequest.d.ts +61 -0
  103. package/dist/models/RACProviderRequest.js +62 -0
  104. package/dist/models/index.d.ts +14 -0
  105. package/dist/models/index.js +14 -0
  106. package/package.json +1 -1
  107. package/src/apis/PropertymappingsApi.ts +317 -0
  108. package/src/apis/ProvidersApi.ts +317 -0
  109. package/src/apis/RacApi.ts +358 -0
  110. package/src/apis/RbacApi.ts +6 -0
  111. package/src/apis/SchemaApi.ts +0 -1
  112. package/src/apis/index.ts +1 -0
  113. package/src/models/AppEnum.ts +2 -0
  114. package/src/models/AuthModeEnum.ts +40 -0
  115. package/src/models/Endpoint.ts +162 -0
  116. package/src/models/EndpointRequest.ts +131 -0
  117. package/src/models/ModelEnum.ts +6 -0
  118. package/src/models/ModelRequest.ts +12 -1
  119. package/src/models/OutpostTypeEnum.ts +2 -0
  120. package/src/models/PaginatedEndpointList.ts +88 -0
  121. package/src/models/PaginatedRACPropertyMappingList.ts +88 -0
  122. package/src/models/PaginatedRACProviderList.ts +88 -0
  123. package/src/models/PatchedEndpointRequest.ts +126 -0
  124. package/src/models/PatchedRACPropertyMappingRequest.ts +89 -0
  125. package/src/models/PatchedRACProviderRequest.ts +105 -0
  126. package/src/models/ProtocolEnum.ts +42 -0
  127. package/src/models/ProviderModelEnum.ts +2 -0
  128. package/src/models/RACPropertyMapping.ts +131 -0
  129. package/src/models/RACPropertyMappingRequest.ts +91 -0
  130. package/src/models/RACProvider.ts +187 -0
  131. package/src/models/RACProviderRequest.ts +107 -0
  132. package/src/models/index.ts +14 -0
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.10.5
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.RACPropertyMappingToJSON = exports.RACPropertyMappingFromJSONTyped = exports.RACPropertyMappingFromJSON = exports.instanceOfRACPropertyMapping = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the RACPropertyMapping interface.
20
+ */
21
+ function instanceOfRACPropertyMapping(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "pk" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "component" in value;
26
+ isInstance = isInstance && "verboseName" in value;
27
+ isInstance = isInstance && "verboseNamePlural" in value;
28
+ isInstance = isInstance && "metaModelName" in value;
29
+ isInstance = isInstance && "staticSettings" in value;
30
+ return isInstance;
31
+ }
32
+ exports.instanceOfRACPropertyMapping = instanceOfRACPropertyMapping;
33
+ function RACPropertyMappingFromJSON(json) {
34
+ return RACPropertyMappingFromJSONTyped(json, false);
35
+ }
36
+ exports.RACPropertyMappingFromJSON = RACPropertyMappingFromJSON;
37
+ function RACPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'pk': json['pk'],
43
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
44
+ 'name': json['name'],
45
+ 'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
46
+ 'component': json['component'],
47
+ 'verboseName': json['verbose_name'],
48
+ 'verboseNamePlural': json['verbose_name_plural'],
49
+ 'metaModelName': json['meta_model_name'],
50
+ 'staticSettings': json['static_settings'],
51
+ };
52
+ }
53
+ exports.RACPropertyMappingFromJSONTyped = RACPropertyMappingFromJSONTyped;
54
+ function RACPropertyMappingToJSON(value) {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+ 'managed': value.managed,
63
+ 'name': value.name,
64
+ 'expression': value.expression,
65
+ 'static_settings': value.staticSettings,
66
+ };
67
+ }
68
+ exports.RACPropertyMappingToJSON = RACPropertyMappingToJSON;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.5
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
+ * RACPropertyMapping Serializer
14
+ * @export
15
+ * @interface RACPropertyMappingRequest
16
+ */
17
+ export interface RACPropertyMappingRequest {
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 RACPropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RACPropertyMappingRequest
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RACPropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ /**
37
+ *
38
+ * @type {{ [key: string]: any; }}
39
+ * @memberof RACPropertyMappingRequest
40
+ */
41
+ staticSettings: {
42
+ [key: string]: any;
43
+ };
44
+ }
45
+ /**
46
+ * Check if a given object implements the RACPropertyMappingRequest interface.
47
+ */
48
+ export declare function instanceOfRACPropertyMappingRequest(value: object): boolean;
49
+ export declare function RACPropertyMappingRequestFromJSON(json: any): RACPropertyMappingRequest;
50
+ export declare function RACPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMappingRequest;
51
+ export declare function RACPropertyMappingRequestToJSON(value?: RACPropertyMappingRequest | null): any;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.10.5
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.RACPropertyMappingRequestToJSON = exports.RACPropertyMappingRequestFromJSONTyped = exports.RACPropertyMappingRequestFromJSON = exports.instanceOfRACPropertyMappingRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the RACPropertyMappingRequest interface.
20
+ */
21
+ function instanceOfRACPropertyMappingRequest(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "staticSettings" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfRACPropertyMappingRequest = instanceOfRACPropertyMappingRequest;
28
+ function RACPropertyMappingRequestFromJSON(json) {
29
+ return RACPropertyMappingRequestFromJSONTyped(json, false);
30
+ }
31
+ exports.RACPropertyMappingRequestFromJSON = RACPropertyMappingRequestFromJSON;
32
+ function RACPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
38
+ 'name': json['name'],
39
+ 'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
40
+ 'staticSettings': json['static_settings'],
41
+ };
42
+ }
43
+ exports.RACPropertyMappingRequestFromJSONTyped = RACPropertyMappingRequestFromJSONTyped;
44
+ function RACPropertyMappingRequestToJSON(value) {
45
+ if (value === undefined) {
46
+ return undefined;
47
+ }
48
+ if (value === null) {
49
+ return null;
50
+ }
51
+ return {
52
+ 'managed': value.managed,
53
+ 'name': value.name,
54
+ 'expression': value.expression,
55
+ 'static_settings': value.staticSettings,
56
+ };
57
+ }
58
+ exports.RACPropertyMappingRequestToJSON = RACPropertyMappingRequestToJSON;
@@ -0,0 +1,121 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.5
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
+ * RACProvider Serializer
14
+ * @export
15
+ * @interface RACProvider
16
+ */
17
+ export interface RACProvider {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof RACProvider
22
+ */
23
+ readonly pk: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RACProvider
28
+ */
29
+ name: string;
30
+ /**
31
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
32
+ * @type {string}
33
+ * @memberof RACProvider
34
+ */
35
+ authenticationFlow?: string | null;
36
+ /**
37
+ * Flow used when authorizing this provider.
38
+ * @type {string}
39
+ * @memberof RACProvider
40
+ */
41
+ authorizationFlow: string;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof RACProvider
46
+ */
47
+ propertyMappings?: Array<string>;
48
+ /**
49
+ * Get object component so that we know how to edit the object
50
+ * @type {string}
51
+ * @memberof RACProvider
52
+ */
53
+ readonly component: string;
54
+ /**
55
+ * Internal application name, used in URLs.
56
+ * @type {string}
57
+ * @memberof RACProvider
58
+ */
59
+ readonly assignedApplicationSlug: string;
60
+ /**
61
+ * Application's display Name.
62
+ * @type {string}
63
+ * @memberof RACProvider
64
+ */
65
+ readonly assignedApplicationName: string;
66
+ /**
67
+ * Internal application name, used in URLs.
68
+ * @type {string}
69
+ * @memberof RACProvider
70
+ */
71
+ readonly assignedBackchannelApplicationSlug: string;
72
+ /**
73
+ * Application's display Name.
74
+ * @type {string}
75
+ * @memberof RACProvider
76
+ */
77
+ readonly assignedBackchannelApplicationName: string;
78
+ /**
79
+ * Return object's verbose_name
80
+ * @type {string}
81
+ * @memberof RACProvider
82
+ */
83
+ readonly verboseName: string;
84
+ /**
85
+ * Return object's plural verbose_name
86
+ * @type {string}
87
+ * @memberof RACProvider
88
+ */
89
+ readonly verboseNamePlural: string;
90
+ /**
91
+ * Return internal model name
92
+ * @type {string}
93
+ * @memberof RACProvider
94
+ */
95
+ readonly metaModelName: string;
96
+ /**
97
+ *
98
+ * @type {any}
99
+ * @memberof RACProvider
100
+ */
101
+ settings?: any | null;
102
+ /**
103
+ *
104
+ * @type {Array<string>}
105
+ * @memberof RACProvider
106
+ */
107
+ readonly outpostSet: Array<string>;
108
+ /**
109
+ * Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
110
+ * @type {string}
111
+ * @memberof RACProvider
112
+ */
113
+ connectionExpiry?: string;
114
+ }
115
+ /**
116
+ * Check if a given object implements the RACProvider interface.
117
+ */
118
+ export declare function instanceOfRACProvider(value: object): boolean;
119
+ export declare function RACProviderFromJSON(json: any): RACProvider;
120
+ export declare function RACProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProvider;
121
+ export declare function RACProviderToJSON(value?: RACProvider | null): any;
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.10.5
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.RACProviderToJSON = exports.RACProviderFromJSONTyped = exports.RACProviderFromJSON = exports.instanceOfRACProvider = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the RACProvider interface.
20
+ */
21
+ function instanceOfRACProvider(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "pk" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "authorizationFlow" in value;
26
+ isInstance = isInstance && "component" in value;
27
+ isInstance = isInstance && "assignedApplicationSlug" in value;
28
+ isInstance = isInstance && "assignedApplicationName" in value;
29
+ isInstance = isInstance && "assignedBackchannelApplicationSlug" in value;
30
+ isInstance = isInstance && "assignedBackchannelApplicationName" in value;
31
+ isInstance = isInstance && "verboseName" in value;
32
+ isInstance = isInstance && "verboseNamePlural" in value;
33
+ isInstance = isInstance && "metaModelName" in value;
34
+ isInstance = isInstance && "outpostSet" in value;
35
+ return isInstance;
36
+ }
37
+ exports.instanceOfRACProvider = instanceOfRACProvider;
38
+ function RACProviderFromJSON(json) {
39
+ return RACProviderFromJSONTyped(json, false);
40
+ }
41
+ exports.RACProviderFromJSON = RACProviderFromJSON;
42
+ function RACProviderFromJSONTyped(json, ignoreDiscriminator) {
43
+ if ((json === undefined) || (json === null)) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'pk': json['pk'],
48
+ 'name': json['name'],
49
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
50
+ 'authorizationFlow': json['authorization_flow'],
51
+ 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
52
+ 'component': json['component'],
53
+ 'assignedApplicationSlug': json['assigned_application_slug'],
54
+ 'assignedApplicationName': json['assigned_application_name'],
55
+ 'assignedBackchannelApplicationSlug': json['assigned_backchannel_application_slug'],
56
+ 'assignedBackchannelApplicationName': json['assigned_backchannel_application_name'],
57
+ 'verboseName': json['verbose_name'],
58
+ 'verboseNamePlural': json['verbose_name_plural'],
59
+ 'metaModelName': json['meta_model_name'],
60
+ 'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
61
+ 'outpostSet': json['outpost_set'],
62
+ 'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
63
+ };
64
+ }
65
+ exports.RACProviderFromJSONTyped = RACProviderFromJSONTyped;
66
+ function RACProviderToJSON(value) {
67
+ if (value === undefined) {
68
+ return undefined;
69
+ }
70
+ if (value === null) {
71
+ return null;
72
+ }
73
+ return {
74
+ 'name': value.name,
75
+ 'authentication_flow': value.authenticationFlow,
76
+ 'authorization_flow': value.authorizationFlow,
77
+ 'property_mappings': value.propertyMappings,
78
+ 'settings': value.settings,
79
+ 'connection_expiry': value.connectionExpiry,
80
+ };
81
+ }
82
+ exports.RACProviderToJSON = RACProviderToJSON;
@@ -0,0 +1,61 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.5
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
+ * RACProvider Serializer
14
+ * @export
15
+ * @interface RACProviderRequest
16
+ */
17
+ export interface RACProviderRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RACProviderRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
26
+ * @type {string}
27
+ * @memberof RACProviderRequest
28
+ */
29
+ authenticationFlow?: string | null;
30
+ /**
31
+ * Flow used when authorizing this provider.
32
+ * @type {string}
33
+ * @memberof RACProviderRequest
34
+ */
35
+ authorizationFlow: string;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof RACProviderRequest
40
+ */
41
+ propertyMappings?: Array<string>;
42
+ /**
43
+ *
44
+ * @type {any}
45
+ * @memberof RACProviderRequest
46
+ */
47
+ settings?: any | null;
48
+ /**
49
+ * Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
50
+ * @type {string}
51
+ * @memberof RACProviderRequest
52
+ */
53
+ connectionExpiry?: string;
54
+ }
55
+ /**
56
+ * Check if a given object implements the RACProviderRequest interface.
57
+ */
58
+ export declare function instanceOfRACProviderRequest(value: object): boolean;
59
+ export declare function RACProviderRequestFromJSON(json: any): RACProviderRequest;
60
+ export declare function RACProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProviderRequest;
61
+ export declare function RACProviderRequestToJSON(value?: RACProviderRequest | null): any;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2023.10.5
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.RACProviderRequestToJSON = exports.RACProviderRequestFromJSONTyped = exports.RACProviderRequestFromJSON = exports.instanceOfRACProviderRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the RACProviderRequest interface.
20
+ */
21
+ function instanceOfRACProviderRequest(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "authorizationFlow" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfRACProviderRequest = instanceOfRACProviderRequest;
28
+ function RACProviderRequestFromJSON(json) {
29
+ return RACProviderRequestFromJSONTyped(json, false);
30
+ }
31
+ exports.RACProviderRequestFromJSON = RACProviderRequestFromJSON;
32
+ function RACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
39
+ 'authorizationFlow': json['authorization_flow'],
40
+ 'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
41
+ 'settings': !(0, runtime_1.exists)(json, 'settings') ? undefined : json['settings'],
42
+ 'connectionExpiry': !(0, runtime_1.exists)(json, 'connection_expiry') ? undefined : json['connection_expiry'],
43
+ };
44
+ }
45
+ exports.RACProviderRequestFromJSONTyped = RACProviderRequestFromJSONTyped;
46
+ function RACProviderRequestToJSON(value) {
47
+ if (value === undefined) {
48
+ return undefined;
49
+ }
50
+ if (value === null) {
51
+ return null;
52
+ }
53
+ return {
54
+ 'name': value.name,
55
+ 'authentication_flow': value.authenticationFlow,
56
+ 'authorization_flow': value.authorizationFlow,
57
+ 'property_mappings': value.propertyMappings,
58
+ 'settings': value.settings,
59
+ 'connection_expiry': value.connectionExpiry,
60
+ };
61
+ }
62
+ exports.RACProviderRequestToJSON = RACProviderRequestToJSON;
@@ -5,6 +5,7 @@ export * from './AppleChallengeResponseRequest';
5
5
  export * from './AppleLoginChallenge';
6
6
  export * from './Application';
7
7
  export * from './ApplicationRequest';
8
+ export * from './AuthModeEnum';
8
9
  export * from './AuthTypeEnum';
9
10
  export * from './AuthenticateWebAuthnStage';
10
11
  export * from './AuthenticateWebAuthnStageRequest';
@@ -98,6 +99,8 @@ export * from './EmailChallenge';
98
99
  export * from './EmailChallengeResponseRequest';
99
100
  export * from './EmailStage';
100
101
  export * from './EmailStageRequest';
102
+ export * from './Endpoint';
103
+ export * from './EndpointRequest';
101
104
  export * from './ErrorDetail';
102
105
  export * from './ErrorReportingConfig';
103
106
  export * from './Event';
@@ -214,6 +217,7 @@ export * from './PaginatedDummyPolicyList';
214
217
  export * from './PaginatedDummyStageList';
215
218
  export * from './PaginatedDuoDeviceList';
216
219
  export * from './PaginatedEmailStageList';
220
+ export * from './PaginatedEndpointList';
217
221
  export * from './PaginatedEventList';
218
222
  export * from './PaginatedEventMatcherPolicyList';
219
223
  export * from './PaginatedExpiringBaseGrantModelList';
@@ -253,6 +257,8 @@ export * from './PaginatedPropertyMappingList';
253
257
  export * from './PaginatedProviderList';
254
258
  export * from './PaginatedProxyOutpostConfigList';
255
259
  export * from './PaginatedProxyProviderList';
260
+ export * from './PaginatedRACPropertyMappingList';
261
+ export * from './PaginatedRACProviderList';
256
262
  export * from './PaginatedRadiusOutpostConfigList';
257
263
  export * from './PaginatedRadiusProviderList';
258
264
  export * from './PaginatedReputationList';
@@ -311,6 +317,7 @@ export * from './PatchedDummyPolicyRequest';
311
317
  export * from './PatchedDummyStageRequest';
312
318
  export * from './PatchedDuoDeviceRequest';
313
319
  export * from './PatchedEmailStageRequest';
320
+ export * from './PatchedEndpointRequest';
314
321
  export * from './PatchedEventMatcherPolicyRequest';
315
322
  export * from './PatchedEventRequest';
316
323
  export * from './PatchedExpressionPolicyRequest';
@@ -342,6 +349,8 @@ export * from './PatchedPolicyBindingRequest';
342
349
  export * from './PatchedPromptRequest';
343
350
  export * from './PatchedPromptStageRequest';
344
351
  export * from './PatchedProxyProviderRequest';
352
+ export * from './PatchedRACPropertyMappingRequest';
353
+ export * from './PatchedRACProviderRequest';
345
354
  export * from './PatchedRadiusProviderRequest';
346
355
  export * from './PatchedReputationPolicyRequest';
347
356
  export * from './PatchedRoleRequest';
@@ -390,6 +399,7 @@ export * from './PromptTypeEnum';
390
399
  export * from './PropertyMapping';
391
400
  export * from './PropertyMappingPreview';
392
401
  export * from './PropertyMappingTestResult';
402
+ export * from './ProtocolEnum';
393
403
  export * from './Provider';
394
404
  export * from './ProviderEnum';
395
405
  export * from './ProviderModelEnum';
@@ -399,6 +409,10 @@ export * from './ProxyMode';
399
409
  export * from './ProxyOutpostConfig';
400
410
  export * from './ProxyProvider';
401
411
  export * from './ProxyProviderRequest';
412
+ export * from './RACPropertyMapping';
413
+ export * from './RACPropertyMappingRequest';
414
+ export * from './RACProvider';
415
+ export * from './RACProviderRequest';
402
416
  export * from './RadiusOutpostConfig';
403
417
  export * from './RadiusProvider';
404
418
  export * from './RadiusProviderRequest';
@@ -23,6 +23,7 @@ __exportStar(require("./AppleChallengeResponseRequest"), exports);
23
23
  __exportStar(require("./AppleLoginChallenge"), exports);
24
24
  __exportStar(require("./Application"), exports);
25
25
  __exportStar(require("./ApplicationRequest"), exports);
26
+ __exportStar(require("./AuthModeEnum"), exports);
26
27
  __exportStar(require("./AuthTypeEnum"), exports);
27
28
  __exportStar(require("./AuthenticateWebAuthnStage"), exports);
28
29
  __exportStar(require("./AuthenticateWebAuthnStageRequest"), exports);
@@ -116,6 +117,8 @@ __exportStar(require("./EmailChallenge"), exports);
116
117
  __exportStar(require("./EmailChallengeResponseRequest"), exports);
117
118
  __exportStar(require("./EmailStage"), exports);
118
119
  __exportStar(require("./EmailStageRequest"), exports);
120
+ __exportStar(require("./Endpoint"), exports);
121
+ __exportStar(require("./EndpointRequest"), exports);
119
122
  __exportStar(require("./ErrorDetail"), exports);
120
123
  __exportStar(require("./ErrorReportingConfig"), exports);
121
124
  __exportStar(require("./Event"), exports);
@@ -232,6 +235,7 @@ __exportStar(require("./PaginatedDummyPolicyList"), exports);
232
235
  __exportStar(require("./PaginatedDummyStageList"), exports);
233
236
  __exportStar(require("./PaginatedDuoDeviceList"), exports);
234
237
  __exportStar(require("./PaginatedEmailStageList"), exports);
238
+ __exportStar(require("./PaginatedEndpointList"), exports);
235
239
  __exportStar(require("./PaginatedEventList"), exports);
236
240
  __exportStar(require("./PaginatedEventMatcherPolicyList"), exports);
237
241
  __exportStar(require("./PaginatedExpiringBaseGrantModelList"), exports);
@@ -271,6 +275,8 @@ __exportStar(require("./PaginatedPropertyMappingList"), exports);
271
275
  __exportStar(require("./PaginatedProviderList"), exports);
272
276
  __exportStar(require("./PaginatedProxyOutpostConfigList"), exports);
273
277
  __exportStar(require("./PaginatedProxyProviderList"), exports);
278
+ __exportStar(require("./PaginatedRACPropertyMappingList"), exports);
279
+ __exportStar(require("./PaginatedRACProviderList"), exports);
274
280
  __exportStar(require("./PaginatedRadiusOutpostConfigList"), exports);
275
281
  __exportStar(require("./PaginatedRadiusProviderList"), exports);
276
282
  __exportStar(require("./PaginatedReputationList"), exports);
@@ -329,6 +335,7 @@ __exportStar(require("./PatchedDummyPolicyRequest"), exports);
329
335
  __exportStar(require("./PatchedDummyStageRequest"), exports);
330
336
  __exportStar(require("./PatchedDuoDeviceRequest"), exports);
331
337
  __exportStar(require("./PatchedEmailStageRequest"), exports);
338
+ __exportStar(require("./PatchedEndpointRequest"), exports);
332
339
  __exportStar(require("./PatchedEventMatcherPolicyRequest"), exports);
333
340
  __exportStar(require("./PatchedEventRequest"), exports);
334
341
  __exportStar(require("./PatchedExpressionPolicyRequest"), exports);
@@ -360,6 +367,8 @@ __exportStar(require("./PatchedPolicyBindingRequest"), exports);
360
367
  __exportStar(require("./PatchedPromptRequest"), exports);
361
368
  __exportStar(require("./PatchedPromptStageRequest"), exports);
362
369
  __exportStar(require("./PatchedProxyProviderRequest"), exports);
370
+ __exportStar(require("./PatchedRACPropertyMappingRequest"), exports);
371
+ __exportStar(require("./PatchedRACProviderRequest"), exports);
363
372
  __exportStar(require("./PatchedRadiusProviderRequest"), exports);
364
373
  __exportStar(require("./PatchedReputationPolicyRequest"), exports);
365
374
  __exportStar(require("./PatchedRoleRequest"), exports);
@@ -408,6 +417,7 @@ __exportStar(require("./PromptTypeEnum"), exports);
408
417
  __exportStar(require("./PropertyMapping"), exports);
409
418
  __exportStar(require("./PropertyMappingPreview"), exports);
410
419
  __exportStar(require("./PropertyMappingTestResult"), exports);
420
+ __exportStar(require("./ProtocolEnum"), exports);
411
421
  __exportStar(require("./Provider"), exports);
412
422
  __exportStar(require("./ProviderEnum"), exports);
413
423
  __exportStar(require("./ProviderModelEnum"), exports);
@@ -417,6 +427,10 @@ __exportStar(require("./ProxyMode"), exports);
417
427
  __exportStar(require("./ProxyOutpostConfig"), exports);
418
428
  __exportStar(require("./ProxyProvider"), exports);
419
429
  __exportStar(require("./ProxyProviderRequest"), exports);
430
+ __exportStar(require("./RACPropertyMapping"), exports);
431
+ __exportStar(require("./RACPropertyMappingRequest"), exports);
432
+ __exportStar(require("./RACProvider"), exports);
433
+ __exportStar(require("./RACProviderRequest"), exports);
420
434
  __exportStar(require("./RadiusOutpostConfig"), exports);
421
435
  __exportStar(require("./RadiusProvider"), exports);
422
436
  __exportStar(require("./RadiusProviderRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.10.5-1703290840",
3
+ "version": "2023.10.5-1703968412",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {