@goauthentik/api 2025.2.4-1744808430 → 2025.2.4-1745325566

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 (67) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/dist/apis/PoliciesApi.d.ts +90 -1
  3. package/dist/apis/PoliciesApi.js +283 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/esm/apis/PoliciesApi.d.ts +90 -1
  7. package/dist/esm/apis/PoliciesApi.js +284 -1
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/models/AppEnum.d.ts +1 -0
  11. package/dist/esm/models/AppEnum.js +1 -0
  12. package/dist/esm/models/IdentificationChallenge.d.ts +6 -0
  13. package/dist/esm/models/IdentificationChallenge.js +2 -0
  14. package/dist/esm/models/IdentificationStage.d.ts +6 -0
  15. package/dist/esm/models/IdentificationStage.js +2 -0
  16. package/dist/esm/models/IdentificationStageRequest.d.ts +6 -0
  17. package/dist/esm/models/IdentificationStageRequest.js +2 -0
  18. package/dist/esm/models/ModelEnum.d.ts +1 -0
  19. package/dist/esm/models/ModelEnum.js +1 -0
  20. package/dist/esm/models/PaginatedUniquePasswordPolicyList.d.ts +40 -0
  21. package/dist/esm/models/PaginatedUniquePasswordPolicyList.js +49 -0
  22. package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +6 -0
  23. package/dist/esm/models/PatchedIdentificationStageRequest.js +2 -0
  24. package/dist/esm/models/PatchedUniquePasswordPolicyRequest.d.ts +50 -0
  25. package/dist/esm/models/PatchedUniquePasswordPolicyRequest.js +47 -0
  26. package/dist/esm/models/UniquePasswordPolicy.d.ts +86 -0
  27. package/dist/esm/models/UniquePasswordPolicy.js +67 -0
  28. package/dist/esm/models/UniquePasswordPolicyRequest.d.ts +50 -0
  29. package/dist/esm/models/UniquePasswordPolicyRequest.js +49 -0
  30. package/dist/esm/models/index.d.ts +4 -0
  31. package/dist/esm/models/index.js +4 -0
  32. package/dist/models/AppEnum.d.ts +1 -0
  33. package/dist/models/AppEnum.js +1 -0
  34. package/dist/models/IdentificationChallenge.d.ts +6 -0
  35. package/dist/models/IdentificationChallenge.js +2 -0
  36. package/dist/models/IdentificationStage.d.ts +6 -0
  37. package/dist/models/IdentificationStage.js +2 -0
  38. package/dist/models/IdentificationStageRequest.d.ts +6 -0
  39. package/dist/models/IdentificationStageRequest.js +2 -0
  40. package/dist/models/ModelEnum.d.ts +1 -0
  41. package/dist/models/ModelEnum.js +1 -0
  42. package/dist/models/PaginatedUniquePasswordPolicyList.d.ts +40 -0
  43. package/dist/models/PaginatedUniquePasswordPolicyList.js +56 -0
  44. package/dist/models/PatchedIdentificationStageRequest.d.ts +6 -0
  45. package/dist/models/PatchedIdentificationStageRequest.js +2 -0
  46. package/dist/models/PatchedUniquePasswordPolicyRequest.d.ts +50 -0
  47. package/dist/models/PatchedUniquePasswordPolicyRequest.js +54 -0
  48. package/dist/models/UniquePasswordPolicy.d.ts +86 -0
  49. package/dist/models/UniquePasswordPolicy.js +74 -0
  50. package/dist/models/UniquePasswordPolicyRequest.d.ts +50 -0
  51. package/dist/models/UniquePasswordPolicyRequest.js +56 -0
  52. package/dist/models/index.d.ts +4 -0
  53. package/dist/models/index.js +4 -0
  54. package/package.json +1 -1
  55. package/src/apis/PoliciesApi.ts +391 -0
  56. package/src/apis/RbacApi.ts +2 -0
  57. package/src/models/AppEnum.ts +1 -0
  58. package/src/models/IdentificationChallenge.ts +8 -0
  59. package/src/models/IdentificationStage.ts +8 -0
  60. package/src/models/IdentificationStageRequest.ts +8 -0
  61. package/src/models/ModelEnum.ts +1 -0
  62. package/src/models/PaginatedUniquePasswordPolicyList.ts +90 -0
  63. package/src/models/PatchedIdentificationStageRequest.ts +8 -0
  64. package/src/models/PatchedUniquePasswordPolicyRequest.ts +89 -0
  65. package/src/models/UniquePasswordPolicy.ts +138 -0
  66. package/src/models/UniquePasswordPolicyRequest.ts +90 -0
  67. package/src/models/index.ts +4 -0
@@ -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: 2025.2.4
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.instanceOfPatchedUniquePasswordPolicyRequest = instanceOfPatchedUniquePasswordPolicyRequest;
17
+ exports.PatchedUniquePasswordPolicyRequestFromJSON = PatchedUniquePasswordPolicyRequestFromJSON;
18
+ exports.PatchedUniquePasswordPolicyRequestFromJSONTyped = PatchedUniquePasswordPolicyRequestFromJSONTyped;
19
+ exports.PatchedUniquePasswordPolicyRequestToJSON = PatchedUniquePasswordPolicyRequestToJSON;
20
+ exports.PatchedUniquePasswordPolicyRequestToJSONTyped = PatchedUniquePasswordPolicyRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PatchedUniquePasswordPolicyRequest interface.
23
+ */
24
+ function instanceOfPatchedUniquePasswordPolicyRequest(value) {
25
+ return true;
26
+ }
27
+ function PatchedUniquePasswordPolicyRequestFromJSON(json) {
28
+ return PatchedUniquePasswordPolicyRequestFromJSONTyped(json, false);
29
+ }
30
+ function PatchedUniquePasswordPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ 'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
37
+ 'passwordField': json['password_field'] == null ? undefined : json['password_field'],
38
+ 'numHistoricalPasswords': json['num_historical_passwords'] == null ? undefined : json['num_historical_passwords'],
39
+ };
40
+ }
41
+ function PatchedUniquePasswordPolicyRequestToJSON(json) {
42
+ return PatchedUniquePasswordPolicyRequestToJSONTyped(json, false);
43
+ }
44
+ function PatchedUniquePasswordPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'name': value['name'],
50
+ 'execution_logging': value['executionLogging'],
51
+ 'password_field': value['passwordField'],
52
+ 'num_historical_passwords': value['numHistoricalPasswords'],
53
+ };
54
+ }
@@ -0,0 +1,86 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.2.4
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
+ * Password Uniqueness Policy Serializer
14
+ * @export
15
+ * @interface UniquePasswordPolicy
16
+ */
17
+ export interface UniquePasswordPolicy {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UniquePasswordPolicy
22
+ */
23
+ readonly pk: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UniquePasswordPolicy
28
+ */
29
+ name: string;
30
+ /**
31
+ * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
32
+ * @type {boolean}
33
+ * @memberof UniquePasswordPolicy
34
+ */
35
+ executionLogging?: boolean;
36
+ /**
37
+ * Get object component so that we know how to edit the object
38
+ * @type {string}
39
+ * @memberof UniquePasswordPolicy
40
+ */
41
+ readonly component: string;
42
+ /**
43
+ * Return object's verbose_name
44
+ * @type {string}
45
+ * @memberof UniquePasswordPolicy
46
+ */
47
+ readonly verboseName: string;
48
+ /**
49
+ * Return object's plural verbose_name
50
+ * @type {string}
51
+ * @memberof UniquePasswordPolicy
52
+ */
53
+ readonly verboseNamePlural: string;
54
+ /**
55
+ * Return internal model name
56
+ * @type {string}
57
+ * @memberof UniquePasswordPolicy
58
+ */
59
+ readonly metaModelName: string;
60
+ /**
61
+ * Return objects policy is bound to
62
+ * @type {number}
63
+ * @memberof UniquePasswordPolicy
64
+ */
65
+ readonly boundTo: number;
66
+ /**
67
+ * Field key to check, field keys defined in Prompt stages are available.
68
+ * @type {string}
69
+ * @memberof UniquePasswordPolicy
70
+ */
71
+ passwordField?: string;
72
+ /**
73
+ * Number of passwords to check against.
74
+ * @type {number}
75
+ * @memberof UniquePasswordPolicy
76
+ */
77
+ numHistoricalPasswords?: number;
78
+ }
79
+ /**
80
+ * Check if a given object implements the UniquePasswordPolicy interface.
81
+ */
82
+ export declare function instanceOfUniquePasswordPolicy(value: object): value is UniquePasswordPolicy;
83
+ export declare function UniquePasswordPolicyFromJSON(json: any): UniquePasswordPolicy;
84
+ export declare function UniquePasswordPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): UniquePasswordPolicy;
85
+ export declare function UniquePasswordPolicyToJSON(json: any): UniquePasswordPolicy;
86
+ export declare function UniquePasswordPolicyToJSONTyped(value?: Omit<UniquePasswordPolicy, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name' | 'bound_to'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2025.2.4
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.instanceOfUniquePasswordPolicy = instanceOfUniquePasswordPolicy;
17
+ exports.UniquePasswordPolicyFromJSON = UniquePasswordPolicyFromJSON;
18
+ exports.UniquePasswordPolicyFromJSONTyped = UniquePasswordPolicyFromJSONTyped;
19
+ exports.UniquePasswordPolicyToJSON = UniquePasswordPolicyToJSON;
20
+ exports.UniquePasswordPolicyToJSONTyped = UniquePasswordPolicyToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UniquePasswordPolicy interface.
23
+ */
24
+ function instanceOfUniquePasswordPolicy(value) {
25
+ if (!('pk' in value) || value['pk'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('component' in value) || value['component'] === undefined)
30
+ return false;
31
+ if (!('verboseName' in value) || value['verboseName'] === undefined)
32
+ return false;
33
+ if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined)
34
+ return false;
35
+ if (!('metaModelName' in value) || value['metaModelName'] === undefined)
36
+ return false;
37
+ if (!('boundTo' in value) || value['boundTo'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function UniquePasswordPolicyFromJSON(json) {
42
+ return UniquePasswordPolicyFromJSONTyped(json, false);
43
+ }
44
+ function UniquePasswordPolicyFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'pk': json['pk'],
50
+ 'name': json['name'],
51
+ 'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
52
+ 'component': json['component'],
53
+ 'verboseName': json['verbose_name'],
54
+ 'verboseNamePlural': json['verbose_name_plural'],
55
+ 'metaModelName': json['meta_model_name'],
56
+ 'boundTo': json['bound_to'],
57
+ 'passwordField': json['password_field'] == null ? undefined : json['password_field'],
58
+ 'numHistoricalPasswords': json['num_historical_passwords'] == null ? undefined : json['num_historical_passwords'],
59
+ };
60
+ }
61
+ function UniquePasswordPolicyToJSON(json) {
62
+ return UniquePasswordPolicyToJSONTyped(json, false);
63
+ }
64
+ function UniquePasswordPolicyToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'name': value['name'],
70
+ 'execution_logging': value['executionLogging'],
71
+ 'password_field': value['passwordField'],
72
+ 'num_historical_passwords': value['numHistoricalPasswords'],
73
+ };
74
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.2.4
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
+ * Password Uniqueness Policy Serializer
14
+ * @export
15
+ * @interface UniquePasswordPolicyRequest
16
+ */
17
+ export interface UniquePasswordPolicyRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UniquePasswordPolicyRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
26
+ * @type {boolean}
27
+ * @memberof UniquePasswordPolicyRequest
28
+ */
29
+ executionLogging?: boolean;
30
+ /**
31
+ * Field key to check, field keys defined in Prompt stages are available.
32
+ * @type {string}
33
+ * @memberof UniquePasswordPolicyRequest
34
+ */
35
+ passwordField?: string;
36
+ /**
37
+ * Number of passwords to check against.
38
+ * @type {number}
39
+ * @memberof UniquePasswordPolicyRequest
40
+ */
41
+ numHistoricalPasswords?: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the UniquePasswordPolicyRequest interface.
45
+ */
46
+ export declare function instanceOfUniquePasswordPolicyRequest(value: object): value is UniquePasswordPolicyRequest;
47
+ export declare function UniquePasswordPolicyRequestFromJSON(json: any): UniquePasswordPolicyRequest;
48
+ export declare function UniquePasswordPolicyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UniquePasswordPolicyRequest;
49
+ export declare function UniquePasswordPolicyRequestToJSON(json: any): UniquePasswordPolicyRequest;
50
+ export declare function UniquePasswordPolicyRequestToJSONTyped(value?: UniquePasswordPolicyRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2025.2.4
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.instanceOfUniquePasswordPolicyRequest = instanceOfUniquePasswordPolicyRequest;
17
+ exports.UniquePasswordPolicyRequestFromJSON = UniquePasswordPolicyRequestFromJSON;
18
+ exports.UniquePasswordPolicyRequestFromJSONTyped = UniquePasswordPolicyRequestFromJSONTyped;
19
+ exports.UniquePasswordPolicyRequestToJSON = UniquePasswordPolicyRequestToJSON;
20
+ exports.UniquePasswordPolicyRequestToJSONTyped = UniquePasswordPolicyRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UniquePasswordPolicyRequest interface.
23
+ */
24
+ function instanceOfUniquePasswordPolicyRequest(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function UniquePasswordPolicyRequestFromJSON(json) {
30
+ return UniquePasswordPolicyRequestFromJSONTyped(json, false);
31
+ }
32
+ function UniquePasswordPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
39
+ 'passwordField': json['password_field'] == null ? undefined : json['password_field'],
40
+ 'numHistoricalPasswords': json['num_historical_passwords'] == null ? undefined : json['num_historical_passwords'],
41
+ };
42
+ }
43
+ function UniquePasswordPolicyRequestToJSON(json) {
44
+ return UniquePasswordPolicyRequestToJSONTyped(json, false);
45
+ }
46
+ function UniquePasswordPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'execution_logging': value['executionLogging'],
53
+ 'password_field': value['passwordField'],
54
+ 'num_historical_passwords': value['numHistoricalPasswords'],
55
+ };
56
+ }
@@ -399,6 +399,7 @@ export * from './PaginatedTOTPDeviceList';
399
399
  export * from './PaginatedTenantList';
400
400
  export * from './PaginatedTokenList';
401
401
  export * from './PaginatedTokenModelList';
402
+ export * from './PaginatedUniquePasswordPolicyList';
402
403
  export * from './PaginatedUserAssignedObjectPermissionList';
403
404
  export * from './PaginatedUserConsentList';
404
405
  export * from './PaginatedUserDeleteStageList';
@@ -523,6 +524,7 @@ export * from './PatchedStaticDeviceRequest';
523
524
  export * from './PatchedTOTPDeviceRequest';
524
525
  export * from './PatchedTenantRequest';
525
526
  export * from './PatchedTokenRequest';
527
+ export * from './PatchedUniquePasswordPolicyRequest';
526
528
  export * from './PatchedUserDeleteStageRequest';
527
529
  export * from './PatchedUserKerberosSourceConnectionRequest';
528
530
  export * from './PatchedUserLDAPSourceConnectionRequest';
@@ -681,6 +683,8 @@ export * from './TransactionApplicationResponse';
681
683
  export * from './TransactionPolicyBindingRequest';
682
684
  export * from './TypeCreate';
683
685
  export * from './UiThemeEnum';
686
+ export * from './UniquePasswordPolicy';
687
+ export * from './UniquePasswordPolicyRequest';
684
688
  export * from './UsedBy';
685
689
  export * from './UsedByActionEnum';
686
690
  export * from './User';
@@ -417,6 +417,7 @@ __exportStar(require("./PaginatedTOTPDeviceList"), exports);
417
417
  __exportStar(require("./PaginatedTenantList"), exports);
418
418
  __exportStar(require("./PaginatedTokenList"), exports);
419
419
  __exportStar(require("./PaginatedTokenModelList"), exports);
420
+ __exportStar(require("./PaginatedUniquePasswordPolicyList"), exports);
420
421
  __exportStar(require("./PaginatedUserAssignedObjectPermissionList"), exports);
421
422
  __exportStar(require("./PaginatedUserConsentList"), exports);
422
423
  __exportStar(require("./PaginatedUserDeleteStageList"), exports);
@@ -541,6 +542,7 @@ __exportStar(require("./PatchedStaticDeviceRequest"), exports);
541
542
  __exportStar(require("./PatchedTOTPDeviceRequest"), exports);
542
543
  __exportStar(require("./PatchedTenantRequest"), exports);
543
544
  __exportStar(require("./PatchedTokenRequest"), exports);
545
+ __exportStar(require("./PatchedUniquePasswordPolicyRequest"), exports);
544
546
  __exportStar(require("./PatchedUserDeleteStageRequest"), exports);
545
547
  __exportStar(require("./PatchedUserKerberosSourceConnectionRequest"), exports);
546
548
  __exportStar(require("./PatchedUserLDAPSourceConnectionRequest"), exports);
@@ -699,6 +701,8 @@ __exportStar(require("./TransactionApplicationResponse"), exports);
699
701
  __exportStar(require("./TransactionPolicyBindingRequest"), exports);
700
702
  __exportStar(require("./TypeCreate"), exports);
701
703
  __exportStar(require("./UiThemeEnum"), exports);
704
+ __exportStar(require("./UniquePasswordPolicy"), exports);
705
+ __exportStar(require("./UniquePasswordPolicyRequest"), exports);
702
706
  __exportStar(require("./UsedBy"), exports);
703
707
  __exportStar(require("./UsedByActionEnum"), exports);
704
708
  __exportStar(require("./User"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2025.2.4-1744808430",
3
+ "version": "2025.2.4-1745325566",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {