@goauthentik/api 2024.10.2-1731628438 → 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 (52) hide show
  1. package/.openapi-generator/FILES +4 -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/TransactionApplicationRequest.d.ts +7 -0
  19. package/dist/esm/models/TransactionApplicationRequest.js +4 -0
  20. package/dist/esm/models/TransactionPolicyBindingRequest.d.ts +73 -0
  21. package/dist/esm/models/TransactionPolicyBindingRequest.js +58 -0
  22. package/dist/esm/models/index.d.ts +4 -0
  23. package/dist/esm/models/index.js +4 -0
  24. package/dist/models/MatchingModeEnum.d.ts +24 -0
  25. package/dist/models/MatchingModeEnum.js +37 -0
  26. package/dist/models/OAuth2Provider.d.ts +4 -3
  27. package/dist/models/OAuth2Provider.js +4 -2
  28. package/dist/models/OAuth2ProviderRequest.d.ts +4 -3
  29. package/dist/models/OAuth2ProviderRequest.js +4 -2
  30. package/dist/models/PatchedOAuth2ProviderRequest.d.ts +4 -3
  31. package/dist/models/PatchedOAuth2ProviderRequest.js +3 -2
  32. package/dist/models/RedirectURI.d.ts +38 -0
  33. package/dist/models/RedirectURI.js +54 -0
  34. package/dist/models/RedirectURIRequest.d.ts +38 -0
  35. package/dist/models/RedirectURIRequest.js +54 -0
  36. package/dist/models/TransactionApplicationRequest.d.ts +7 -0
  37. package/dist/models/TransactionApplicationRequest.js +4 -0
  38. package/dist/models/TransactionPolicyBindingRequest.d.ts +73 -0
  39. package/dist/models/TransactionPolicyBindingRequest.js +65 -0
  40. package/dist/models/index.d.ts +4 -0
  41. package/dist/models/index.js +4 -0
  42. package/package.json +1 -1
  43. package/src/apis/ProvidersApi.ts +0 -10
  44. package/src/models/MatchingModeEnum.ts +39 -0
  45. package/src/models/OAuth2Provider.ts +12 -5
  46. package/src/models/OAuth2ProviderRequest.ts +12 -5
  47. package/src/models/PatchedOAuth2ProviderRequest.ts +11 -5
  48. package/src/models/RedirectURI.ts +82 -0
  49. package/src/models/RedirectURIRequest.ts +82 -0
  50. package/src/models/TransactionApplicationRequest.ts +14 -0
  51. package/src/models/TransactionPolicyBindingRequest.ts +122 -0
  52. package/src/models/index.ts +4 -0
@@ -0,0 +1,122 @@
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
+ /**
17
+ * PolicyBindingSerializer which does not require target as target is set implicitly
18
+ * @export
19
+ * @interface TransactionPolicyBindingRequest
20
+ */
21
+ export interface TransactionPolicyBindingRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TransactionPolicyBindingRequest
26
+ */
27
+ policy?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TransactionPolicyBindingRequest
32
+ */
33
+ group?: string | null;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof TransactionPolicyBindingRequest
38
+ */
39
+ user?: number | null;
40
+ /**
41
+ * Negates the outcome of the policy. Messages are unaffected.
42
+ * @type {boolean}
43
+ * @memberof TransactionPolicyBindingRequest
44
+ */
45
+ negate?: boolean;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof TransactionPolicyBindingRequest
50
+ */
51
+ enabled?: boolean;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof TransactionPolicyBindingRequest
56
+ */
57
+ order: number;
58
+ /**
59
+ * Timeout after which Policy execution is terminated.
60
+ * @type {number}
61
+ * @memberof TransactionPolicyBindingRequest
62
+ */
63
+ timeout?: number;
64
+ /**
65
+ * Result if the Policy execution fails.
66
+ * @type {boolean}
67
+ * @memberof TransactionPolicyBindingRequest
68
+ */
69
+ failureResult?: boolean;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the TransactionPolicyBindingRequest interface.
74
+ */
75
+ export function instanceOfTransactionPolicyBindingRequest(value: object): boolean {
76
+ let isInstance = true;
77
+ isInstance = isInstance && "order" in value;
78
+
79
+ return isInstance;
80
+ }
81
+
82
+ export function TransactionPolicyBindingRequestFromJSON(json: any): TransactionPolicyBindingRequest {
83
+ return TransactionPolicyBindingRequestFromJSONTyped(json, false);
84
+ }
85
+
86
+ export function TransactionPolicyBindingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionPolicyBindingRequest {
87
+ if ((json === undefined) || (json === null)) {
88
+ return json;
89
+ }
90
+ return {
91
+
92
+ 'policy': !exists(json, 'policy') ? undefined : json['policy'],
93
+ 'group': !exists(json, 'group') ? undefined : json['group'],
94
+ 'user': !exists(json, 'user') ? undefined : json['user'],
95
+ 'negate': !exists(json, 'negate') ? undefined : json['negate'],
96
+ 'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
97
+ 'order': json['order'],
98
+ 'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
99
+ 'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
100
+ };
101
+ }
102
+
103
+ export function TransactionPolicyBindingRequestToJSON(value?: TransactionPolicyBindingRequest | null): any {
104
+ if (value === undefined) {
105
+ return undefined;
106
+ }
107
+ if (value === null) {
108
+ return null;
109
+ }
110
+ return {
111
+
112
+ 'policy': value.policy,
113
+ 'group': value.group,
114
+ 'user': value.user,
115
+ 'negate': value.negate,
116
+ 'enabled': value.enabled,
117
+ 'order': value.order,
118
+ 'timeout': value.timeout,
119
+ 'failure_result': value.failureResult,
120
+ };
121
+ }
122
+
@@ -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';
@@ -621,6 +624,7 @@ export * from './TokenSetKeyRequest';
621
624
  export * from './TokenView';
622
625
  export * from './TransactionApplicationRequest';
623
626
  export * from './TransactionApplicationResponse';
627
+ export * from './TransactionPolicyBindingRequest';
624
628
  export * from './TypeCreate';
625
629
  export * from './UiThemeEnum';
626
630
  export * from './UsedBy';