@goauthentik/api 2024.10.2-1731887740 → 2024.10.2-1732196831

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 (42) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/dist/apis/ProvidersApi.d.ts +0 -2
  3. package/dist/apis/ProvidersApi.js +0 -6
  4. package/dist/esm/apis/ProvidersApi.d.ts +0 -2
  5. package/dist/esm/apis/ProvidersApi.js +0 -6
  6. package/dist/esm/models/MatchingModeEnum.d.ts +24 -0
  7. package/dist/esm/models/MatchingModeEnum.js +31 -0
  8. package/dist/esm/models/OAuth2Provider.d.ts +4 -3
  9. package/dist/esm/models/OAuth2Provider.js +4 -2
  10. package/dist/esm/models/OAuth2ProviderRequest.d.ts +4 -3
  11. package/dist/esm/models/OAuth2ProviderRequest.js +4 -2
  12. package/dist/esm/models/PatchedOAuth2ProviderRequest.d.ts +4 -3
  13. package/dist/esm/models/PatchedOAuth2ProviderRequest.js +3 -2
  14. package/dist/esm/models/RedirectURI.d.ts +38 -0
  15. package/dist/esm/models/RedirectURI.js +47 -0
  16. package/dist/esm/models/RedirectURIRequest.d.ts +38 -0
  17. package/dist/esm/models/RedirectURIRequest.js +47 -0
  18. package/dist/esm/models/index.d.ts +3 -0
  19. package/dist/esm/models/index.js +3 -0
  20. package/dist/models/MatchingModeEnum.d.ts +24 -0
  21. package/dist/models/MatchingModeEnum.js +37 -0
  22. package/dist/models/OAuth2Provider.d.ts +4 -3
  23. package/dist/models/OAuth2Provider.js +4 -2
  24. package/dist/models/OAuth2ProviderRequest.d.ts +4 -3
  25. package/dist/models/OAuth2ProviderRequest.js +4 -2
  26. package/dist/models/PatchedOAuth2ProviderRequest.d.ts +4 -3
  27. package/dist/models/PatchedOAuth2ProviderRequest.js +3 -2
  28. package/dist/models/RedirectURI.d.ts +38 -0
  29. package/dist/models/RedirectURI.js +54 -0
  30. package/dist/models/RedirectURIRequest.d.ts +38 -0
  31. package/dist/models/RedirectURIRequest.js +54 -0
  32. package/dist/models/index.d.ts +3 -0
  33. package/dist/models/index.js +3 -0
  34. package/package.json +1 -1
  35. package/src/apis/ProvidersApi.ts +0 -10
  36. package/src/models/MatchingModeEnum.ts +39 -0
  37. package/src/models/OAuth2Provider.ts +12 -5
  38. package/src/models/OAuth2ProviderRequest.ts +12 -5
  39. package/src/models/PatchedOAuth2ProviderRequest.ts +11 -5
  40. package/src/models/RedirectURI.ts +82 -0
  41. package/src/models/RedirectURIRequest.ts +82 -0
  42. package/src/models/index.ts +3 -0
@@ -0,0 +1,82 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.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 { MatchingModeEnum } from './MatchingModeEnum';
17
+ import {
18
+ MatchingModeEnumFromJSON,
19
+ MatchingModeEnumFromJSONTyped,
20
+ MatchingModeEnumToJSON,
21
+ } from './MatchingModeEnum';
22
+
23
+ /**
24
+ * A single allowed redirect URI entry
25
+ * @export
26
+ * @interface RedirectURIRequest
27
+ */
28
+ export interface RedirectURIRequest {
29
+ /**
30
+ *
31
+ * @type {MatchingModeEnum}
32
+ * @memberof RedirectURIRequest
33
+ */
34
+ matchingMode: MatchingModeEnum;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof RedirectURIRequest
39
+ */
40
+ url: string;
41
+ }
42
+
43
+ /**
44
+ * Check if a given object implements the RedirectURIRequest interface.
45
+ */
46
+ export function instanceOfRedirectURIRequest(value: object): boolean {
47
+ let isInstance = true;
48
+ isInstance = isInstance && "matchingMode" in value;
49
+ isInstance = isInstance && "url" in value;
50
+
51
+ return isInstance;
52
+ }
53
+
54
+ export function RedirectURIRequestFromJSON(json: any): RedirectURIRequest {
55
+ return RedirectURIRequestFromJSONTyped(json, false);
56
+ }
57
+
58
+ export function RedirectURIRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectURIRequest {
59
+ if ((json === undefined) || (json === null)) {
60
+ return json;
61
+ }
62
+ return {
63
+
64
+ 'matchingMode': MatchingModeEnumFromJSON(json['matching_mode']),
65
+ 'url': json['url'],
66
+ };
67
+ }
68
+
69
+ export function RedirectURIRequestToJSON(value?: RedirectURIRequest | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'matching_mode': MatchingModeEnumToJSON(value.matchingMode),
79
+ 'url': value.url,
80
+ };
81
+ }
82
+
@@ -213,6 +213,7 @@ export * from './LogLevelEnum';
213
213
  export * from './LoginChallengeTypes';
214
214
  export * from './LoginMetrics';
215
215
  export * from './LoginSource';
216
+ export * from './MatchingModeEnum';
216
217
  export * from './Metadata';
217
218
  export * from './MicrosoftEntraProvider';
218
219
  export * from './MicrosoftEntraProviderGroup';
@@ -537,6 +538,8 @@ export * from './RadiusProviderPropertyMapping';
537
538
  export * from './RadiusProviderPropertyMappingRequest';
538
539
  export * from './RadiusProviderRequest';
539
540
  export * from './RedirectChallenge';
541
+ export * from './RedirectURI';
542
+ export * from './RedirectURIRequest';
540
543
  export * from './Reputation';
541
544
  export * from './ReputationPolicy';
542
545
  export * from './ReputationPolicyRequest';