@goauthentik/api 2024.4.2-1717033226 → 2024.4.2-1717645682

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/dist/apis/ProvidersApi.d.ts +123 -1
  3. package/dist/apis/ProvidersApi.js +388 -0
  4. package/dist/esm/apis/ProvidersApi.d.ts +123 -1
  5. package/dist/esm/apis/ProvidersApi.js +389 -1
  6. package/dist/esm/models/CaptchaStage.d.ts +18 -0
  7. package/dist/esm/models/CaptchaStage.js +6 -0
  8. package/dist/esm/models/CaptchaStageRequest.d.ts +18 -0
  9. package/dist/esm/models/CaptchaStageRequest.js +6 -0
  10. package/dist/esm/models/GoogleWorkspaceProviderGroup.d.ts +6 -0
  11. package/dist/esm/models/GoogleWorkspaceProviderGroup.js +3 -0
  12. package/dist/esm/models/GoogleWorkspaceProviderGroupRequest.d.ts +6 -0
  13. package/dist/esm/models/GoogleWorkspaceProviderGroupRequest.js +3 -0
  14. package/dist/esm/models/GoogleWorkspaceProviderUser.d.ts +6 -0
  15. package/dist/esm/models/GoogleWorkspaceProviderUser.js +3 -0
  16. package/dist/esm/models/GoogleWorkspaceProviderUserRequest.d.ts +6 -0
  17. package/dist/esm/models/GoogleWorkspaceProviderUserRequest.js +3 -0
  18. package/dist/esm/models/MicrosoftEntraProviderGroup.d.ts +6 -0
  19. package/dist/esm/models/MicrosoftEntraProviderGroup.js +3 -0
  20. package/dist/esm/models/MicrosoftEntraProviderGroupRequest.d.ts +6 -0
  21. package/dist/esm/models/MicrosoftEntraProviderGroupRequest.js +3 -0
  22. package/dist/esm/models/MicrosoftEntraProviderUser.d.ts +6 -0
  23. package/dist/esm/models/MicrosoftEntraProviderUser.js +3 -0
  24. package/dist/esm/models/MicrosoftEntraProviderUserRequest.d.ts +6 -0
  25. package/dist/esm/models/MicrosoftEntraProviderUserRequest.js +3 -0
  26. package/dist/esm/models/PaginatedSCIMProviderGroupList.d.ts +39 -0
  27. package/dist/esm/models/PaginatedSCIMProviderGroupList.js +48 -0
  28. package/dist/esm/models/PaginatedSCIMProviderUserList.d.ts +39 -0
  29. package/dist/esm/models/PaginatedSCIMProviderUserList.js +48 -0
  30. package/dist/esm/models/PatchedCaptchaStageRequest.d.ts +18 -0
  31. package/dist/esm/models/PatchedCaptchaStageRequest.js +6 -0
  32. package/dist/esm/models/PropertyMappingTestRequest.d.ts +2 -2
  33. package/dist/esm/models/SCIMProviderGroup.d.ts +56 -0
  34. package/dist/esm/models/SCIMProviderGroup.js +54 -0
  35. package/dist/esm/models/SCIMProviderGroupRequest.d.ts +43 -0
  36. package/dist/esm/models/SCIMProviderGroupRequest.js +49 -0
  37. package/dist/esm/models/SCIMProviderUser.d.ts +56 -0
  38. package/dist/esm/models/SCIMProviderUser.js +54 -0
  39. package/dist/esm/models/SCIMProviderUserRequest.d.ts +43 -0
  40. package/dist/esm/models/SCIMProviderUserRequest.js +49 -0
  41. package/dist/esm/models/index.d.ts +6 -0
  42. package/dist/esm/models/index.js +6 -0
  43. package/dist/models/CaptchaStage.d.ts +18 -0
  44. package/dist/models/CaptchaStage.js +6 -0
  45. package/dist/models/CaptchaStageRequest.d.ts +18 -0
  46. package/dist/models/CaptchaStageRequest.js +6 -0
  47. package/dist/models/GoogleWorkspaceProviderGroup.d.ts +6 -0
  48. package/dist/models/GoogleWorkspaceProviderGroup.js +3 -0
  49. package/dist/models/GoogleWorkspaceProviderGroupRequest.d.ts +6 -0
  50. package/dist/models/GoogleWorkspaceProviderGroupRequest.js +3 -0
  51. package/dist/models/GoogleWorkspaceProviderUser.d.ts +6 -0
  52. package/dist/models/GoogleWorkspaceProviderUser.js +3 -0
  53. package/dist/models/GoogleWorkspaceProviderUserRequest.d.ts +6 -0
  54. package/dist/models/GoogleWorkspaceProviderUserRequest.js +3 -0
  55. package/dist/models/MicrosoftEntraProviderGroup.d.ts +6 -0
  56. package/dist/models/MicrosoftEntraProviderGroup.js +3 -0
  57. package/dist/models/MicrosoftEntraProviderGroupRequest.d.ts +6 -0
  58. package/dist/models/MicrosoftEntraProviderGroupRequest.js +3 -0
  59. package/dist/models/MicrosoftEntraProviderUser.d.ts +6 -0
  60. package/dist/models/MicrosoftEntraProviderUser.js +3 -0
  61. package/dist/models/MicrosoftEntraProviderUserRequest.d.ts +6 -0
  62. package/dist/models/MicrosoftEntraProviderUserRequest.js +3 -0
  63. package/dist/models/PaginatedSCIMProviderGroupList.d.ts +39 -0
  64. package/dist/models/PaginatedSCIMProviderGroupList.js +55 -0
  65. package/dist/models/PaginatedSCIMProviderUserList.d.ts +39 -0
  66. package/dist/models/PaginatedSCIMProviderUserList.js +55 -0
  67. package/dist/models/PatchedCaptchaStageRequest.d.ts +18 -0
  68. package/dist/models/PatchedCaptchaStageRequest.js +6 -0
  69. package/dist/models/PropertyMappingTestRequest.d.ts +2 -2
  70. package/dist/models/SCIMProviderGroup.d.ts +56 -0
  71. package/dist/models/SCIMProviderGroup.js +61 -0
  72. package/dist/models/SCIMProviderGroupRequest.d.ts +43 -0
  73. package/dist/models/SCIMProviderGroupRequest.js +56 -0
  74. package/dist/models/SCIMProviderUser.d.ts +56 -0
  75. package/dist/models/SCIMProviderUser.js +61 -0
  76. package/dist/models/SCIMProviderUserRequest.d.ts +43 -0
  77. package/dist/models/SCIMProviderUserRequest.js +56 -0
  78. package/dist/models/index.d.ts +6 -0
  79. package/dist/models/index.js +6 -0
  80. package/package.json +1 -1
  81. package/src/apis/ProvidersApi.ts +502 -0
  82. package/src/models/CaptchaStage.ts +24 -0
  83. package/src/models/CaptchaStageRequest.ts +24 -0
  84. package/src/models/GoogleWorkspaceProviderGroup.ts +9 -0
  85. package/src/models/GoogleWorkspaceProviderGroupRequest.ts +9 -0
  86. package/src/models/GoogleWorkspaceProviderUser.ts +9 -0
  87. package/src/models/GoogleWorkspaceProviderUserRequest.ts +9 -0
  88. package/src/models/MicrosoftEntraProviderGroup.ts +9 -0
  89. package/src/models/MicrosoftEntraProviderGroupRequest.ts +9 -0
  90. package/src/models/MicrosoftEntraProviderUser.ts +9 -0
  91. package/src/models/MicrosoftEntraProviderUserRequest.ts +9 -0
  92. package/src/models/PaginatedSCIMProviderGroupList.ts +88 -0
  93. package/src/models/PaginatedSCIMProviderUserList.ts +88 -0
  94. package/src/models/PatchedCaptchaStageRequest.ts +24 -0
  95. package/src/models/PropertyMappingTestRequest.ts +2 -2
  96. package/src/models/SCIMProviderGroup.ts +107 -0
  97. package/src/models/SCIMProviderGroupRequest.ts +84 -0
  98. package/src/models/SCIMProviderUser.ts +107 -0
  99. package/src/models/SCIMProviderUserRequest.ts +84 -0
  100. package/src/models/index.ts +6 -0
@@ -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
+ * SCIMProviderGroup Serializer
14
+ * @export
15
+ * @interface SCIMProviderGroupRequest
16
+ */
17
+ export interface SCIMProviderGroupRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SCIMProviderGroupRequest
22
+ */
23
+ scimId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SCIMProviderGroupRequest
28
+ */
29
+ group: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SCIMProviderGroupRequest
34
+ */
35
+ provider: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SCIMProviderGroupRequest interface.
39
+ */
40
+ export declare function instanceOfSCIMProviderGroupRequest(value: object): boolean;
41
+ export declare function SCIMProviderGroupRequestFromJSON(json: any): SCIMProviderGroupRequest;
42
+ export declare function SCIMProviderGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMProviderGroupRequest;
43
+ export declare function SCIMProviderGroupRequestToJSON(value?: SCIMProviderGroupRequest | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.4.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
+ * Check if a given object implements the SCIMProviderGroupRequest interface.
16
+ */
17
+ export function instanceOfSCIMProviderGroupRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "scimId" in value;
20
+ isInstance = isInstance && "group" in value;
21
+ isInstance = isInstance && "provider" in value;
22
+ return isInstance;
23
+ }
24
+ export function SCIMProviderGroupRequestFromJSON(json) {
25
+ return SCIMProviderGroupRequestFromJSONTyped(json, false);
26
+ }
27
+ export function SCIMProviderGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'scimId': json['scim_id'],
33
+ 'group': json['group'],
34
+ 'provider': json['provider'],
35
+ };
36
+ }
37
+ export function SCIMProviderGroupRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'scim_id': value.scimId,
46
+ 'group': value.group,
47
+ 'provider': value.provider,
48
+ };
49
+ }
@@ -0,0 +1,56 @@
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 { GroupMember } from './GroupMember';
13
+ /**
14
+ * SCIMProviderUser Serializer
15
+ * @export
16
+ * @interface SCIMProviderUser
17
+ */
18
+ export interface SCIMProviderUser {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SCIMProviderUser
23
+ */
24
+ readonly id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SCIMProviderUser
29
+ */
30
+ scimId: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof SCIMProviderUser
35
+ */
36
+ user: number;
37
+ /**
38
+ *
39
+ * @type {GroupMember}
40
+ * @memberof SCIMProviderUser
41
+ */
42
+ readonly userObj: GroupMember;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof SCIMProviderUser
47
+ */
48
+ provider: number;
49
+ }
50
+ /**
51
+ * Check if a given object implements the SCIMProviderUser interface.
52
+ */
53
+ export declare function instanceOfSCIMProviderUser(value: object): boolean;
54
+ export declare function SCIMProviderUserFromJSON(json: any): SCIMProviderUser;
55
+ export declare function SCIMProviderUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMProviderUser;
56
+ export declare function SCIMProviderUserToJSON(value?: SCIMProviderUser | null): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.4.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
+ import { GroupMemberFromJSON, } from './GroupMember';
15
+ /**
16
+ * Check if a given object implements the SCIMProviderUser interface.
17
+ */
18
+ export function instanceOfSCIMProviderUser(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "id" in value;
21
+ isInstance = isInstance && "scimId" in value;
22
+ isInstance = isInstance && "user" in value;
23
+ isInstance = isInstance && "userObj" in value;
24
+ isInstance = isInstance && "provider" in value;
25
+ return isInstance;
26
+ }
27
+ export function SCIMProviderUserFromJSON(json) {
28
+ return SCIMProviderUserFromJSONTyped(json, false);
29
+ }
30
+ export function SCIMProviderUserFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'],
36
+ 'scimId': json['scim_id'],
37
+ 'user': json['user'],
38
+ 'userObj': GroupMemberFromJSON(json['user_obj']),
39
+ 'provider': json['provider'],
40
+ };
41
+ }
42
+ export function SCIMProviderUserToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'scim_id': value.scimId,
51
+ 'user': value.user,
52
+ 'provider': value.provider,
53
+ };
54
+ }
@@ -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
+ * SCIMProviderUser Serializer
14
+ * @export
15
+ * @interface SCIMProviderUserRequest
16
+ */
17
+ export interface SCIMProviderUserRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SCIMProviderUserRequest
22
+ */
23
+ scimId: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SCIMProviderUserRequest
28
+ */
29
+ user: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SCIMProviderUserRequest
34
+ */
35
+ provider: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SCIMProviderUserRequest interface.
39
+ */
40
+ export declare function instanceOfSCIMProviderUserRequest(value: object): boolean;
41
+ export declare function SCIMProviderUserRequestFromJSON(json: any): SCIMProviderUserRequest;
42
+ export declare function SCIMProviderUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMProviderUserRequest;
43
+ export declare function SCIMProviderUserRequestToJSON(value?: SCIMProviderUserRequest | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.4.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
+ * Check if a given object implements the SCIMProviderUserRequest interface.
16
+ */
17
+ export function instanceOfSCIMProviderUserRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "scimId" in value;
20
+ isInstance = isInstance && "user" in value;
21
+ isInstance = isInstance && "provider" in value;
22
+ return isInstance;
23
+ }
24
+ export function SCIMProviderUserRequestFromJSON(json) {
25
+ return SCIMProviderUserRequestFromJSONTyped(json, false);
26
+ }
27
+ export function SCIMProviderUserRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'scimId': json['scim_id'],
33
+ 'user': json['user'],
34
+ 'provider': json['provider'],
35
+ };
36
+ }
37
+ export function SCIMProviderUserRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'scim_id': value.scimId,
46
+ 'user': value.user,
47
+ 'provider': value.provider,
48
+ };
49
+ }
@@ -305,7 +305,9 @@ export * from './PaginatedSAMLPropertyMappingList';
305
305
  export * from './PaginatedSAMLProviderList';
306
306
  export * from './PaginatedSAMLSourceList';
307
307
  export * from './PaginatedSCIMMappingList';
308
+ export * from './PaginatedSCIMProviderGroupList';
308
309
  export * from './PaginatedSCIMProviderList';
310
+ export * from './PaginatedSCIMProviderUserList';
309
311
  export * from './PaginatedSCIMSourceGroupList';
310
312
  export * from './PaginatedSCIMSourceList';
311
313
  export * from './PaginatedSCIMSourceUserList';
@@ -490,7 +492,11 @@ export * from './SAMLSourceRequest';
490
492
  export * from './SCIMMapping';
491
493
  export * from './SCIMMappingRequest';
492
494
  export * from './SCIMProvider';
495
+ export * from './SCIMProviderGroup';
496
+ export * from './SCIMProviderGroupRequest';
493
497
  export * from './SCIMProviderRequest';
498
+ export * from './SCIMProviderUser';
499
+ export * from './SCIMProviderUserRequest';
494
500
  export * from './SCIMSource';
495
501
  export * from './SCIMSourceGroup';
496
502
  export * from './SCIMSourceGroupRequest';
@@ -307,7 +307,9 @@ export * from './PaginatedSAMLPropertyMappingList';
307
307
  export * from './PaginatedSAMLProviderList';
308
308
  export * from './PaginatedSAMLSourceList';
309
309
  export * from './PaginatedSCIMMappingList';
310
+ export * from './PaginatedSCIMProviderGroupList';
310
311
  export * from './PaginatedSCIMProviderList';
312
+ export * from './PaginatedSCIMProviderUserList';
311
313
  export * from './PaginatedSCIMSourceGroupList';
312
314
  export * from './PaginatedSCIMSourceList';
313
315
  export * from './PaginatedSCIMSourceUserList';
@@ -492,7 +494,11 @@ export * from './SAMLSourceRequest';
492
494
  export * from './SCIMMapping';
493
495
  export * from './SCIMMappingRequest';
494
496
  export * from './SCIMProvider';
497
+ export * from './SCIMProviderGroup';
498
+ export * from './SCIMProviderGroupRequest';
495
499
  export * from './SCIMProviderRequest';
500
+ export * from './SCIMProviderUser';
501
+ export * from './SCIMProviderUserRequest';
496
502
  export * from './SCIMSource';
497
503
  export * from './SCIMSourceGroup';
498
504
  export * from './SCIMSourceGroupRequest';
@@ -76,6 +76,24 @@ export interface CaptchaStage {
76
76
  * @memberof CaptchaStage
77
77
  */
78
78
  apiUrl?: string;
79
+ /**
80
+ *
81
+ * @type {number}
82
+ * @memberof CaptchaStage
83
+ */
84
+ scoreMinThreshold?: number;
85
+ /**
86
+ *
87
+ * @type {number}
88
+ * @memberof CaptchaStage
89
+ */
90
+ scoreMaxThreshold?: number;
91
+ /**
92
+ * When enabled and the received captcha score is outside of the given threshold, the stage will show an error message. When not enabled, the flow will continue, but the data from the captcha will be available in the context for policy decisions
93
+ * @type {boolean}
94
+ * @memberof CaptchaStage
95
+ */
96
+ errorOnInvalidScore?: boolean;
79
97
  }
80
98
  /**
81
99
  * Check if a given object implements the CaptchaStage interface.
@@ -50,6 +50,9 @@ function CaptchaStageFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'publicKey': json['public_key'],
51
51
  'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
52
52
  'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
53
+ 'scoreMinThreshold': !(0, runtime_1.exists)(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
54
+ 'scoreMaxThreshold': !(0, runtime_1.exists)(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
55
+ 'errorOnInvalidScore': !(0, runtime_1.exists)(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
53
56
  };
54
57
  }
55
58
  exports.CaptchaStageFromJSONTyped = CaptchaStageFromJSONTyped;
@@ -66,6 +69,9 @@ function CaptchaStageToJSON(value) {
66
69
  'public_key': value.publicKey,
67
70
  'js_url': value.jsUrl,
68
71
  'api_url': value.apiUrl,
72
+ 'score_min_threshold': value.scoreMinThreshold,
73
+ 'score_max_threshold': value.scoreMaxThreshold,
74
+ 'error_on_invalid_score': value.errorOnInvalidScore,
69
75
  };
70
76
  }
71
77
  exports.CaptchaStageToJSON = CaptchaStageToJSON;
@@ -52,6 +52,24 @@ export interface CaptchaStageRequest {
52
52
  * @memberof CaptchaStageRequest
53
53
  */
54
54
  apiUrl?: string;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof CaptchaStageRequest
59
+ */
60
+ scoreMinThreshold?: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof CaptchaStageRequest
65
+ */
66
+ scoreMaxThreshold?: number;
67
+ /**
68
+ * When enabled and the received captcha score is outside of the given threshold, the stage will show an error message. When not enabled, the flow will continue, but the data from the captcha will be available in the context for policy decisions
69
+ * @type {boolean}
70
+ * @memberof CaptchaStageRequest
71
+ */
72
+ errorOnInvalidScore?: boolean;
55
73
  }
56
74
  /**
57
75
  * Check if a given object implements the CaptchaStageRequest interface.
@@ -42,6 +42,9 @@ function CaptchaStageRequestFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'privateKey': json['private_key'],
43
43
  'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
44
44
  'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
45
+ 'scoreMinThreshold': !(0, runtime_1.exists)(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
46
+ 'scoreMaxThreshold': !(0, runtime_1.exists)(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
47
+ 'errorOnInvalidScore': !(0, runtime_1.exists)(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
45
48
  };
46
49
  }
47
50
  exports.CaptchaStageRequestFromJSONTyped = CaptchaStageRequestFromJSONTyped;
@@ -59,6 +62,9 @@ function CaptchaStageRequestToJSON(value) {
59
62
  'private_key': value.privateKey,
60
63
  'js_url': value.jsUrl,
61
64
  'api_url': value.apiUrl,
65
+ 'score_min_threshold': value.scoreMinThreshold,
66
+ 'score_max_threshold': value.scoreMaxThreshold,
67
+ 'error_on_invalid_score': value.errorOnInvalidScore,
62
68
  };
63
69
  }
64
70
  exports.CaptchaStageRequestToJSON = CaptchaStageRequestToJSON;
@@ -22,6 +22,12 @@ export interface GoogleWorkspaceProviderGroup {
22
22
  * @memberof GoogleWorkspaceProviderGroup
23
23
  */
24
24
  readonly id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GoogleWorkspaceProviderGroup
29
+ */
30
+ googleId: string;
25
31
  /**
26
32
  *
27
33
  * @type {string}
@@ -21,6 +21,7 @@ const UserGroup_1 = require("./UserGroup");
21
21
  function instanceOfGoogleWorkspaceProviderGroup(value) {
22
22
  let isInstance = true;
23
23
  isInstance = isInstance && "id" in value;
24
+ isInstance = isInstance && "googleId" in value;
24
25
  isInstance = isInstance && "group" in value;
25
26
  isInstance = isInstance && "groupObj" in value;
26
27
  isInstance = isInstance && "provider" in value;
@@ -38,6 +39,7 @@ function GoogleWorkspaceProviderGroupFromJSONTyped(json, ignoreDiscriminator) {
38
39
  }
39
40
  return {
40
41
  'id': json['id'],
42
+ 'googleId': json['google_id'],
41
43
  'group': json['group'],
42
44
  'groupObj': (0, UserGroup_1.UserGroupFromJSON)(json['group_obj']),
43
45
  'provider': json['provider'],
@@ -53,6 +55,7 @@ function GoogleWorkspaceProviderGroupToJSON(value) {
53
55
  return null;
54
56
  }
55
57
  return {
58
+ 'google_id': value.googleId,
56
59
  'group': value.group,
57
60
  'provider': value.provider,
58
61
  };
@@ -15,6 +15,12 @@
15
15
  * @interface GoogleWorkspaceProviderGroupRequest
16
16
  */
17
17
  export interface GoogleWorkspaceProviderGroupRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GoogleWorkspaceProviderGroupRequest
22
+ */
23
+ googleId: string;
18
24
  /**
19
25
  *
20
26
  * @type {string}
@@ -19,6 +19,7 @@ exports.GoogleWorkspaceProviderGroupRequestToJSON = exports.GoogleWorkspaceProvi
19
19
  */
20
20
  function instanceOfGoogleWorkspaceProviderGroupRequest(value) {
21
21
  let isInstance = true;
22
+ isInstance = isInstance && "googleId" in value;
22
23
  isInstance = isInstance && "group" in value;
23
24
  isInstance = isInstance && "provider" in value;
24
25
  return isInstance;
@@ -33,6 +34,7 @@ function GoogleWorkspaceProviderGroupRequestFromJSONTyped(json, ignoreDiscrimina
33
34
  return json;
34
35
  }
35
36
  return {
37
+ 'googleId': json['google_id'],
36
38
  'group': json['group'],
37
39
  'provider': json['provider'],
38
40
  };
@@ -46,6 +48,7 @@ function GoogleWorkspaceProviderGroupRequestToJSON(value) {
46
48
  return null;
47
49
  }
48
50
  return {
51
+ 'google_id': value.googleId,
49
52
  'group': value.group,
50
53
  'provider': value.provider,
51
54
  };
@@ -22,6 +22,12 @@ export interface GoogleWorkspaceProviderUser {
22
22
  * @memberof GoogleWorkspaceProviderUser
23
23
  */
24
24
  readonly id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GoogleWorkspaceProviderUser
29
+ */
30
+ googleId: string;
25
31
  /**
26
32
  *
27
33
  * @type {number}
@@ -21,6 +21,7 @@ const GroupMember_1 = require("./GroupMember");
21
21
  function instanceOfGoogleWorkspaceProviderUser(value) {
22
22
  let isInstance = true;
23
23
  isInstance = isInstance && "id" in value;
24
+ isInstance = isInstance && "googleId" in value;
24
25
  isInstance = isInstance && "user" in value;
25
26
  isInstance = isInstance && "userObj" in value;
26
27
  isInstance = isInstance && "provider" in value;
@@ -38,6 +39,7 @@ function GoogleWorkspaceProviderUserFromJSONTyped(json, ignoreDiscriminator) {
38
39
  }
39
40
  return {
40
41
  'id': json['id'],
42
+ 'googleId': json['google_id'],
41
43
  'user': json['user'],
42
44
  'userObj': (0, GroupMember_1.GroupMemberFromJSON)(json['user_obj']),
43
45
  'provider': json['provider'],
@@ -53,6 +55,7 @@ function GoogleWorkspaceProviderUserToJSON(value) {
53
55
  return null;
54
56
  }
55
57
  return {
58
+ 'google_id': value.googleId,
56
59
  'user': value.user,
57
60
  'provider': value.provider,
58
61
  };
@@ -15,6 +15,12 @@
15
15
  * @interface GoogleWorkspaceProviderUserRequest
16
16
  */
17
17
  export interface GoogleWorkspaceProviderUserRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GoogleWorkspaceProviderUserRequest
22
+ */
23
+ googleId: string;
18
24
  /**
19
25
  *
20
26
  * @type {number}
@@ -19,6 +19,7 @@ exports.GoogleWorkspaceProviderUserRequestToJSON = exports.GoogleWorkspaceProvid
19
19
  */
20
20
  function instanceOfGoogleWorkspaceProviderUserRequest(value) {
21
21
  let isInstance = true;
22
+ isInstance = isInstance && "googleId" in value;
22
23
  isInstance = isInstance && "user" in value;
23
24
  isInstance = isInstance && "provider" in value;
24
25
  return isInstance;
@@ -33,6 +34,7 @@ function GoogleWorkspaceProviderUserRequestFromJSONTyped(json, ignoreDiscriminat
33
34
  return json;
34
35
  }
35
36
  return {
37
+ 'googleId': json['google_id'],
36
38
  'user': json['user'],
37
39
  'provider': json['provider'],
38
40
  };
@@ -46,6 +48,7 @@ function GoogleWorkspaceProviderUserRequestToJSON(value) {
46
48
  return null;
47
49
  }
48
50
  return {
51
+ 'google_id': value.googleId,
49
52
  'user': value.user,
50
53
  'provider': value.provider,
51
54
  };
@@ -22,6 +22,12 @@ export interface MicrosoftEntraProviderGroup {
22
22
  * @memberof MicrosoftEntraProviderGroup
23
23
  */
24
24
  readonly id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof MicrosoftEntraProviderGroup
29
+ */
30
+ microsoftId: string;
25
31
  /**
26
32
  *
27
33
  * @type {string}
@@ -21,6 +21,7 @@ const UserGroup_1 = require("./UserGroup");
21
21
  function instanceOfMicrosoftEntraProviderGroup(value) {
22
22
  let isInstance = true;
23
23
  isInstance = isInstance && "id" in value;
24
+ isInstance = isInstance && "microsoftId" in value;
24
25
  isInstance = isInstance && "group" in value;
25
26
  isInstance = isInstance && "groupObj" in value;
26
27
  isInstance = isInstance && "provider" in value;
@@ -38,6 +39,7 @@ function MicrosoftEntraProviderGroupFromJSONTyped(json, ignoreDiscriminator) {
38
39
  }
39
40
  return {
40
41
  'id': json['id'],
42
+ 'microsoftId': json['microsoft_id'],
41
43
  'group': json['group'],
42
44
  'groupObj': (0, UserGroup_1.UserGroupFromJSON)(json['group_obj']),
43
45
  'provider': json['provider'],
@@ -53,6 +55,7 @@ function MicrosoftEntraProviderGroupToJSON(value) {
53
55
  return null;
54
56
  }
55
57
  return {
58
+ 'microsoft_id': value.microsoftId,
56
59
  'group': value.group,
57
60
  'provider': value.provider,
58
61
  };
@@ -15,6 +15,12 @@
15
15
  * @interface MicrosoftEntraProviderGroupRequest
16
16
  */
17
17
  export interface MicrosoftEntraProviderGroupRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MicrosoftEntraProviderGroupRequest
22
+ */
23
+ microsoftId: string;
18
24
  /**
19
25
  *
20
26
  * @type {string}
@@ -19,6 +19,7 @@ exports.MicrosoftEntraProviderGroupRequestToJSON = exports.MicrosoftEntraProvide
19
19
  */
20
20
  function instanceOfMicrosoftEntraProviderGroupRequest(value) {
21
21
  let isInstance = true;
22
+ isInstance = isInstance && "microsoftId" in value;
22
23
  isInstance = isInstance && "group" in value;
23
24
  isInstance = isInstance && "provider" in value;
24
25
  return isInstance;
@@ -33,6 +34,7 @@ function MicrosoftEntraProviderGroupRequestFromJSONTyped(json, ignoreDiscriminat
33
34
  return json;
34
35
  }
35
36
  return {
37
+ 'microsoftId': json['microsoft_id'],
36
38
  'group': json['group'],
37
39
  'provider': json['provider'],
38
40
  };
@@ -46,6 +48,7 @@ function MicrosoftEntraProviderGroupRequestToJSON(value) {
46
48
  return null;
47
49
  }
48
50
  return {
51
+ 'microsoft_id': value.microsoftId,
49
52
  'group': value.group,
50
53
  'provider': value.provider,
51
54
  };