@goauthentik/api 2024.4.2-1716550354 → 2024.4.2-1717493155

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/.openapi-generator/FILES +0 -4
  2. package/dist/apis/ProvidersApi.d.ts +1 -97
  3. package/dist/apis/ProvidersApi.js +0 -308
  4. package/dist/esm/apis/ProvidersApi.d.ts +1 -97
  5. package/dist/esm/apis/ProvidersApi.js +1 -309
  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 +12 -0
  11. package/dist/esm/models/GoogleWorkspaceProviderGroup.js +5 -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 +12 -0
  15. package/dist/esm/models/GoogleWorkspaceProviderUser.js +5 -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 +12 -0
  19. package/dist/esm/models/MicrosoftEntraProviderGroup.js +5 -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 +12 -0
  23. package/dist/esm/models/MicrosoftEntraProviderUser.js +5 -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/PatchedCaptchaStageRequest.d.ts +18 -0
  27. package/dist/esm/models/PatchedCaptchaStageRequest.js +6 -0
  28. package/dist/esm/models/index.d.ts +0 -4
  29. package/dist/esm/models/index.js +0 -4
  30. package/dist/models/CaptchaStage.d.ts +18 -0
  31. package/dist/models/CaptchaStage.js +6 -0
  32. package/dist/models/CaptchaStageRequest.d.ts +18 -0
  33. package/dist/models/CaptchaStageRequest.js +6 -0
  34. package/dist/models/GoogleWorkspaceProviderGroup.d.ts +12 -0
  35. package/dist/models/GoogleWorkspaceProviderGroup.js +5 -0
  36. package/dist/models/GoogleWorkspaceProviderGroupRequest.d.ts +6 -0
  37. package/dist/models/GoogleWorkspaceProviderGroupRequest.js +3 -0
  38. package/dist/models/GoogleWorkspaceProviderUser.d.ts +12 -0
  39. package/dist/models/GoogleWorkspaceProviderUser.js +5 -0
  40. package/dist/models/GoogleWorkspaceProviderUserRequest.d.ts +6 -0
  41. package/dist/models/GoogleWorkspaceProviderUserRequest.js +3 -0
  42. package/dist/models/MicrosoftEntraProviderGroup.d.ts +12 -0
  43. package/dist/models/MicrosoftEntraProviderGroup.js +5 -0
  44. package/dist/models/MicrosoftEntraProviderGroupRequest.d.ts +6 -0
  45. package/dist/models/MicrosoftEntraProviderGroupRequest.js +3 -0
  46. package/dist/models/MicrosoftEntraProviderUser.d.ts +12 -0
  47. package/dist/models/MicrosoftEntraProviderUser.js +5 -0
  48. package/dist/models/MicrosoftEntraProviderUserRequest.d.ts +6 -0
  49. package/dist/models/MicrosoftEntraProviderUserRequest.js +3 -0
  50. package/dist/models/PatchedCaptchaStageRequest.d.ts +18 -0
  51. package/dist/models/PatchedCaptchaStageRequest.js +6 -0
  52. package/dist/models/index.d.ts +0 -4
  53. package/dist/models/index.js +0 -4
  54. package/package.json +1 -1
  55. package/src/apis/ProvidersApi.ts +0 -396
  56. package/src/models/CaptchaStage.ts +24 -0
  57. package/src/models/CaptchaStageRequest.ts +24 -0
  58. package/src/models/GoogleWorkspaceProviderGroup.ts +17 -0
  59. package/src/models/GoogleWorkspaceProviderGroupRequest.ts +9 -0
  60. package/src/models/GoogleWorkspaceProviderUser.ts +17 -0
  61. package/src/models/GoogleWorkspaceProviderUserRequest.ts +9 -0
  62. package/src/models/MicrosoftEntraProviderGroup.ts +17 -0
  63. package/src/models/MicrosoftEntraProviderGroupRequest.ts +9 -0
  64. package/src/models/MicrosoftEntraProviderUser.ts +17 -0
  65. package/src/models/MicrosoftEntraProviderUserRequest.ts +9 -0
  66. package/src/models/PatchedCaptchaStageRequest.ts +24 -0
  67. package/src/models/index.ts +0 -4
  68. package/dist/esm/models/PatchedGoogleWorkspaceProviderGroupRequest.d.ts +0 -31
  69. package/dist/esm/models/PatchedGoogleWorkspaceProviderGroupRequest.js +0 -43
  70. package/dist/esm/models/PatchedGoogleWorkspaceProviderUserRequest.d.ts +0 -31
  71. package/dist/esm/models/PatchedGoogleWorkspaceProviderUserRequest.js +0 -43
  72. package/dist/esm/models/PatchedMicrosoftEntraProviderGroupRequest.d.ts +0 -31
  73. package/dist/esm/models/PatchedMicrosoftEntraProviderGroupRequest.js +0 -43
  74. package/dist/esm/models/PatchedMicrosoftEntraProviderUserRequest.d.ts +0 -31
  75. package/dist/esm/models/PatchedMicrosoftEntraProviderUserRequest.js +0 -43
  76. package/dist/models/PatchedGoogleWorkspaceProviderGroupRequest.d.ts +0 -31
  77. package/dist/models/PatchedGoogleWorkspaceProviderGroupRequest.js +0 -50
  78. package/dist/models/PatchedGoogleWorkspaceProviderUserRequest.d.ts +0 -31
  79. package/dist/models/PatchedGoogleWorkspaceProviderUserRequest.js +0 -50
  80. package/dist/models/PatchedMicrosoftEntraProviderGroupRequest.d.ts +0 -31
  81. package/dist/models/PatchedMicrosoftEntraProviderGroupRequest.js +0 -50
  82. package/dist/models/PatchedMicrosoftEntraProviderUserRequest.d.ts +0 -31
  83. package/dist/models/PatchedMicrosoftEntraProviderUserRequest.js +0 -50
  84. package/src/models/PatchedGoogleWorkspaceProviderGroupRequest.ts +0 -65
  85. package/src/models/PatchedGoogleWorkspaceProviderUserRequest.ts +0 -65
  86. package/src/models/PatchedMicrosoftEntraProviderGroupRequest.ts +0 -65
  87. package/src/models/PatchedMicrosoftEntraProviderUserRequest.ts +0 -65
@@ -34,6 +34,18 @@ export interface GoogleWorkspaceProviderGroup {
34
34
  * @memberof GoogleWorkspaceProviderGroup
35
35
  */
36
36
  readonly groupObj: UserGroup;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GoogleWorkspaceProviderGroup
41
+ */
42
+ provider: number;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof GoogleWorkspaceProviderGroup
47
+ */
48
+ readonly attributes: any | null;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the GoogleWorkspaceProviderGroup interface.
@@ -20,6 +20,8 @@ export function instanceOfGoogleWorkspaceProviderGroup(value) {
20
20
  isInstance = isInstance && "id" in value;
21
21
  isInstance = isInstance && "group" in value;
22
22
  isInstance = isInstance && "groupObj" in value;
23
+ isInstance = isInstance && "provider" in value;
24
+ isInstance = isInstance && "attributes" in value;
23
25
  return isInstance;
24
26
  }
25
27
  export function GoogleWorkspaceProviderGroupFromJSON(json) {
@@ -33,6 +35,8 @@ export function GoogleWorkspaceProviderGroupFromJSONTyped(json, ignoreDiscrimina
33
35
  'id': json['id'],
34
36
  'group': json['group'],
35
37
  'groupObj': UserGroupFromJSON(json['group_obj']),
38
+ 'provider': json['provider'],
39
+ 'attributes': json['attributes'],
36
40
  };
37
41
  }
38
42
  export function GoogleWorkspaceProviderGroupToJSON(value) {
@@ -44,5 +48,6 @@ export function GoogleWorkspaceProviderGroupToJSON(value) {
44
48
  }
45
49
  return {
46
50
  'group': value.group,
51
+ 'provider': value.provider,
47
52
  };
48
53
  }
@@ -21,6 +21,12 @@ export interface GoogleWorkspaceProviderGroupRequest {
21
21
  * @memberof GoogleWorkspaceProviderGroupRequest
22
22
  */
23
23
  group: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GoogleWorkspaceProviderGroupRequest
28
+ */
29
+ provider: number;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the GoogleWorkspaceProviderGroupRequest interface.
@@ -17,6 +17,7 @@
17
17
  export function instanceOfGoogleWorkspaceProviderGroupRequest(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "group" in value;
20
+ isInstance = isInstance && "provider" in value;
20
21
  return isInstance;
21
22
  }
22
23
  export function GoogleWorkspaceProviderGroupRequestFromJSON(json) {
@@ -28,6 +29,7 @@ export function GoogleWorkspaceProviderGroupRequestFromJSONTyped(json, ignoreDis
28
29
  }
29
30
  return {
30
31
  'group': json['group'],
32
+ 'provider': json['provider'],
31
33
  };
32
34
  }
33
35
  export function GoogleWorkspaceProviderGroupRequestToJSON(value) {
@@ -39,5 +41,6 @@ export function GoogleWorkspaceProviderGroupRequestToJSON(value) {
39
41
  }
40
42
  return {
41
43
  'group': value.group,
44
+ 'provider': value.provider,
42
45
  };
43
46
  }
@@ -34,6 +34,18 @@ export interface GoogleWorkspaceProviderUser {
34
34
  * @memberof GoogleWorkspaceProviderUser
35
35
  */
36
36
  readonly userObj: GroupMember;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GoogleWorkspaceProviderUser
41
+ */
42
+ provider: number;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof GoogleWorkspaceProviderUser
47
+ */
48
+ readonly attributes: any | null;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the GoogleWorkspaceProviderUser interface.
@@ -20,6 +20,8 @@ export function instanceOfGoogleWorkspaceProviderUser(value) {
20
20
  isInstance = isInstance && "id" in value;
21
21
  isInstance = isInstance && "user" in value;
22
22
  isInstance = isInstance && "userObj" in value;
23
+ isInstance = isInstance && "provider" in value;
24
+ isInstance = isInstance && "attributes" in value;
23
25
  return isInstance;
24
26
  }
25
27
  export function GoogleWorkspaceProviderUserFromJSON(json) {
@@ -33,6 +35,8 @@ export function GoogleWorkspaceProviderUserFromJSONTyped(json, ignoreDiscriminat
33
35
  'id': json['id'],
34
36
  'user': json['user'],
35
37
  'userObj': GroupMemberFromJSON(json['user_obj']),
38
+ 'provider': json['provider'],
39
+ 'attributes': json['attributes'],
36
40
  };
37
41
  }
38
42
  export function GoogleWorkspaceProviderUserToJSON(value) {
@@ -44,5 +48,6 @@ export function GoogleWorkspaceProviderUserToJSON(value) {
44
48
  }
45
49
  return {
46
50
  'user': value.user,
51
+ 'provider': value.provider,
47
52
  };
48
53
  }
@@ -21,6 +21,12 @@ export interface GoogleWorkspaceProviderUserRequest {
21
21
  * @memberof GoogleWorkspaceProviderUserRequest
22
22
  */
23
23
  user: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GoogleWorkspaceProviderUserRequest
28
+ */
29
+ provider: number;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the GoogleWorkspaceProviderUserRequest interface.
@@ -17,6 +17,7 @@
17
17
  export function instanceOfGoogleWorkspaceProviderUserRequest(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "user" in value;
20
+ isInstance = isInstance && "provider" in value;
20
21
  return isInstance;
21
22
  }
22
23
  export function GoogleWorkspaceProviderUserRequestFromJSON(json) {
@@ -28,6 +29,7 @@ export function GoogleWorkspaceProviderUserRequestFromJSONTyped(json, ignoreDisc
28
29
  }
29
30
  return {
30
31
  'user': json['user'],
32
+ 'provider': json['provider'],
31
33
  };
32
34
  }
33
35
  export function GoogleWorkspaceProviderUserRequestToJSON(value) {
@@ -39,5 +41,6 @@ export function GoogleWorkspaceProviderUserRequestToJSON(value) {
39
41
  }
40
42
  return {
41
43
  'user': value.user,
44
+ 'provider': value.provider,
42
45
  };
43
46
  }
@@ -34,6 +34,18 @@ export interface MicrosoftEntraProviderGroup {
34
34
  * @memberof MicrosoftEntraProviderGroup
35
35
  */
36
36
  readonly groupObj: UserGroup;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof MicrosoftEntraProviderGroup
41
+ */
42
+ provider: number;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof MicrosoftEntraProviderGroup
47
+ */
48
+ readonly attributes: any | null;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the MicrosoftEntraProviderGroup interface.
@@ -20,6 +20,8 @@ export function instanceOfMicrosoftEntraProviderGroup(value) {
20
20
  isInstance = isInstance && "id" in value;
21
21
  isInstance = isInstance && "group" in value;
22
22
  isInstance = isInstance && "groupObj" in value;
23
+ isInstance = isInstance && "provider" in value;
24
+ isInstance = isInstance && "attributes" in value;
23
25
  return isInstance;
24
26
  }
25
27
  export function MicrosoftEntraProviderGroupFromJSON(json) {
@@ -33,6 +35,8 @@ export function MicrosoftEntraProviderGroupFromJSONTyped(json, ignoreDiscriminat
33
35
  'id': json['id'],
34
36
  'group': json['group'],
35
37
  'groupObj': UserGroupFromJSON(json['group_obj']),
38
+ 'provider': json['provider'],
39
+ 'attributes': json['attributes'],
36
40
  };
37
41
  }
38
42
  export function MicrosoftEntraProviderGroupToJSON(value) {
@@ -44,5 +48,6 @@ export function MicrosoftEntraProviderGroupToJSON(value) {
44
48
  }
45
49
  return {
46
50
  'group': value.group,
51
+ 'provider': value.provider,
47
52
  };
48
53
  }
@@ -21,6 +21,12 @@ export interface MicrosoftEntraProviderGroupRequest {
21
21
  * @memberof MicrosoftEntraProviderGroupRequest
22
22
  */
23
23
  group: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof MicrosoftEntraProviderGroupRequest
28
+ */
29
+ provider: number;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the MicrosoftEntraProviderGroupRequest interface.
@@ -17,6 +17,7 @@
17
17
  export function instanceOfMicrosoftEntraProviderGroupRequest(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "group" in value;
20
+ isInstance = isInstance && "provider" in value;
20
21
  return isInstance;
21
22
  }
22
23
  export function MicrosoftEntraProviderGroupRequestFromJSON(json) {
@@ -28,6 +29,7 @@ export function MicrosoftEntraProviderGroupRequestFromJSONTyped(json, ignoreDisc
28
29
  }
29
30
  return {
30
31
  'group': json['group'],
32
+ 'provider': json['provider'],
31
33
  };
32
34
  }
33
35
  export function MicrosoftEntraProviderGroupRequestToJSON(value) {
@@ -39,5 +41,6 @@ export function MicrosoftEntraProviderGroupRequestToJSON(value) {
39
41
  }
40
42
  return {
41
43
  'group': value.group,
44
+ 'provider': value.provider,
42
45
  };
43
46
  }
@@ -34,6 +34,18 @@ export interface MicrosoftEntraProviderUser {
34
34
  * @memberof MicrosoftEntraProviderUser
35
35
  */
36
36
  readonly userObj: GroupMember;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof MicrosoftEntraProviderUser
41
+ */
42
+ provider: number;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof MicrosoftEntraProviderUser
47
+ */
48
+ readonly attributes: any | null;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the MicrosoftEntraProviderUser interface.
@@ -20,6 +20,8 @@ export function instanceOfMicrosoftEntraProviderUser(value) {
20
20
  isInstance = isInstance && "id" in value;
21
21
  isInstance = isInstance && "user" in value;
22
22
  isInstance = isInstance && "userObj" in value;
23
+ isInstance = isInstance && "provider" in value;
24
+ isInstance = isInstance && "attributes" in value;
23
25
  return isInstance;
24
26
  }
25
27
  export function MicrosoftEntraProviderUserFromJSON(json) {
@@ -33,6 +35,8 @@ export function MicrosoftEntraProviderUserFromJSONTyped(json, ignoreDiscriminato
33
35
  'id': json['id'],
34
36
  'user': json['user'],
35
37
  'userObj': GroupMemberFromJSON(json['user_obj']),
38
+ 'provider': json['provider'],
39
+ 'attributes': json['attributes'],
36
40
  };
37
41
  }
38
42
  export function MicrosoftEntraProviderUserToJSON(value) {
@@ -44,5 +48,6 @@ export function MicrosoftEntraProviderUserToJSON(value) {
44
48
  }
45
49
  return {
46
50
  'user': value.user,
51
+ 'provider': value.provider,
47
52
  };
48
53
  }
@@ -21,6 +21,12 @@ export interface MicrosoftEntraProviderUserRequest {
21
21
  * @memberof MicrosoftEntraProviderUserRequest
22
22
  */
23
23
  user: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof MicrosoftEntraProviderUserRequest
28
+ */
29
+ provider: number;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the MicrosoftEntraProviderUserRequest interface.
@@ -17,6 +17,7 @@
17
17
  export function instanceOfMicrosoftEntraProviderUserRequest(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "user" in value;
20
+ isInstance = isInstance && "provider" in value;
20
21
  return isInstance;
21
22
  }
22
23
  export function MicrosoftEntraProviderUserRequestFromJSON(json) {
@@ -28,6 +29,7 @@ export function MicrosoftEntraProviderUserRequestFromJSONTyped(json, ignoreDiscr
28
29
  }
29
30
  return {
30
31
  'user': json['user'],
32
+ 'provider': json['provider'],
31
33
  };
32
34
  }
33
35
  export function MicrosoftEntraProviderUserRequestToJSON(value) {
@@ -39,5 +41,6 @@ export function MicrosoftEntraProviderUserRequestToJSON(value) {
39
41
  }
40
42
  return {
41
43
  'user': value.user,
44
+ 'provider': value.provider,
42
45
  };
43
46
  }
@@ -52,6 +52,24 @@ export interface PatchedCaptchaStageRequest {
52
52
  * @memberof PatchedCaptchaStageRequest
53
53
  */
54
54
  apiUrl?: string;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof PatchedCaptchaStageRequest
59
+ */
60
+ scoreMinThreshold?: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof PatchedCaptchaStageRequest
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 PatchedCaptchaStageRequest
71
+ */
72
+ errorOnInvalidScore?: boolean;
55
73
  }
56
74
  /**
57
75
  * Check if a given object implements the PatchedCaptchaStageRequest interface.
@@ -34,6 +34,9 @@ export function PatchedCaptchaStageRequestFromJSONTyped(json, ignoreDiscriminato
34
34
  'privateKey': !exists(json, 'private_key') ? undefined : json['private_key'],
35
35
  'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
36
36
  'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
37
+ 'scoreMinThreshold': !exists(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
38
+ 'scoreMaxThreshold': !exists(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
39
+ 'errorOnInvalidScore': !exists(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
37
40
  };
38
41
  }
39
42
  export function PatchedCaptchaStageRequestToJSON(value) {
@@ -50,5 +53,8 @@ export function PatchedCaptchaStageRequestToJSON(value) {
50
53
  'private_key': value.privateKey,
51
54
  'js_url': value.jsUrl,
52
55
  'api_url': value.apiUrl,
56
+ 'score_min_threshold': value.scoreMinThreshold,
57
+ 'score_max_threshold': value.scoreMaxThreshold,
58
+ 'error_on_invalid_score': value.errorOnInvalidScore,
53
59
  };
54
60
  }
@@ -368,10 +368,8 @@ export * from './PatchedEventRequest';
368
368
  export * from './PatchedExpressionPolicyRequest';
369
369
  export * from './PatchedFlowRequest';
370
370
  export * from './PatchedFlowStageBindingRequest';
371
- export * from './PatchedGoogleWorkspaceProviderGroupRequest';
372
371
  export * from './PatchedGoogleWorkspaceProviderMappingRequest';
373
372
  export * from './PatchedGoogleWorkspaceProviderRequest';
374
- export * from './PatchedGoogleWorkspaceProviderUserRequest';
375
373
  export * from './PatchedGroupRequest';
376
374
  export * from './PatchedIdentificationStageRequest';
377
375
  export * from './PatchedInvitationRequest';
@@ -381,10 +379,8 @@ export * from './PatchedLDAPPropertyMappingRequest';
381
379
  export * from './PatchedLDAPProviderRequest';
382
380
  export * from './PatchedLDAPSourceRequest';
383
381
  export * from './PatchedLicenseRequest';
384
- export * from './PatchedMicrosoftEntraProviderGroupRequest';
385
382
  export * from './PatchedMicrosoftEntraProviderMappingRequest';
386
383
  export * from './PatchedMicrosoftEntraProviderRequest';
387
- export * from './PatchedMicrosoftEntraProviderUserRequest';
388
384
  export * from './PatchedNotificationRequest';
389
385
  export * from './PatchedNotificationRuleRequest';
390
386
  export * from './PatchedNotificationTransportRequest';
@@ -370,10 +370,8 @@ export * from './PatchedEventRequest';
370
370
  export * from './PatchedExpressionPolicyRequest';
371
371
  export * from './PatchedFlowRequest';
372
372
  export * from './PatchedFlowStageBindingRequest';
373
- export * from './PatchedGoogleWorkspaceProviderGroupRequest';
374
373
  export * from './PatchedGoogleWorkspaceProviderMappingRequest';
375
374
  export * from './PatchedGoogleWorkspaceProviderRequest';
376
- export * from './PatchedGoogleWorkspaceProviderUserRequest';
377
375
  export * from './PatchedGroupRequest';
378
376
  export * from './PatchedIdentificationStageRequest';
379
377
  export * from './PatchedInvitationRequest';
@@ -383,10 +381,8 @@ export * from './PatchedLDAPPropertyMappingRequest';
383
381
  export * from './PatchedLDAPProviderRequest';
384
382
  export * from './PatchedLDAPSourceRequest';
385
383
  export * from './PatchedLicenseRequest';
386
- export * from './PatchedMicrosoftEntraProviderGroupRequest';
387
384
  export * from './PatchedMicrosoftEntraProviderMappingRequest';
388
385
  export * from './PatchedMicrosoftEntraProviderRequest';
389
- export * from './PatchedMicrosoftEntraProviderUserRequest';
390
386
  export * from './PatchedNotificationRequest';
391
387
  export * from './PatchedNotificationRuleRequest';
392
388
  export * from './PatchedNotificationTransportRequest';
@@ -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;
@@ -34,6 +34,18 @@ export interface GoogleWorkspaceProviderGroup {
34
34
  * @memberof GoogleWorkspaceProviderGroup
35
35
  */
36
36
  readonly groupObj: UserGroup;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GoogleWorkspaceProviderGroup
41
+ */
42
+ provider: number;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof GoogleWorkspaceProviderGroup
47
+ */
48
+ readonly attributes: any | null;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the GoogleWorkspaceProviderGroup interface.
@@ -23,6 +23,8 @@ function instanceOfGoogleWorkspaceProviderGroup(value) {
23
23
  isInstance = isInstance && "id" in value;
24
24
  isInstance = isInstance && "group" in value;
25
25
  isInstance = isInstance && "groupObj" in value;
26
+ isInstance = isInstance && "provider" in value;
27
+ isInstance = isInstance && "attributes" in value;
26
28
  return isInstance;
27
29
  }
28
30
  exports.instanceOfGoogleWorkspaceProviderGroup = instanceOfGoogleWorkspaceProviderGroup;
@@ -38,6 +40,8 @@ function GoogleWorkspaceProviderGroupFromJSONTyped(json, ignoreDiscriminator) {
38
40
  'id': json['id'],
39
41
  'group': json['group'],
40
42
  'groupObj': (0, UserGroup_1.UserGroupFromJSON)(json['group_obj']),
43
+ 'provider': json['provider'],
44
+ 'attributes': json['attributes'],
41
45
  };
42
46
  }
43
47
  exports.GoogleWorkspaceProviderGroupFromJSONTyped = GoogleWorkspaceProviderGroupFromJSONTyped;
@@ -50,6 +54,7 @@ function GoogleWorkspaceProviderGroupToJSON(value) {
50
54
  }
51
55
  return {
52
56
  'group': value.group,
57
+ 'provider': value.provider,
53
58
  };
54
59
  }
55
60
  exports.GoogleWorkspaceProviderGroupToJSON = GoogleWorkspaceProviderGroupToJSON;
@@ -21,6 +21,12 @@ export interface GoogleWorkspaceProviderGroupRequest {
21
21
  * @memberof GoogleWorkspaceProviderGroupRequest
22
22
  */
23
23
  group: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GoogleWorkspaceProviderGroupRequest
28
+ */
29
+ provider: number;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the GoogleWorkspaceProviderGroupRequest interface.
@@ -20,6 +20,7 @@ exports.GoogleWorkspaceProviderGroupRequestToJSON = exports.GoogleWorkspaceProvi
20
20
  function instanceOfGoogleWorkspaceProviderGroupRequest(value) {
21
21
  let isInstance = true;
22
22
  isInstance = isInstance && "group" in value;
23
+ isInstance = isInstance && "provider" in value;
23
24
  return isInstance;
24
25
  }
25
26
  exports.instanceOfGoogleWorkspaceProviderGroupRequest = instanceOfGoogleWorkspaceProviderGroupRequest;
@@ -33,6 +34,7 @@ function GoogleWorkspaceProviderGroupRequestFromJSONTyped(json, ignoreDiscrimina
33
34
  }
34
35
  return {
35
36
  'group': json['group'],
37
+ 'provider': json['provider'],
36
38
  };
37
39
  }
38
40
  exports.GoogleWorkspaceProviderGroupRequestFromJSONTyped = GoogleWorkspaceProviderGroupRequestFromJSONTyped;
@@ -45,6 +47,7 @@ function GoogleWorkspaceProviderGroupRequestToJSON(value) {
45
47
  }
46
48
  return {
47
49
  'group': value.group,
50
+ 'provider': value.provider,
48
51
  };
49
52
  }
50
53
  exports.GoogleWorkspaceProviderGroupRequestToJSON = GoogleWorkspaceProviderGroupRequestToJSON;
@@ -34,6 +34,18 @@ export interface GoogleWorkspaceProviderUser {
34
34
  * @memberof GoogleWorkspaceProviderUser
35
35
  */
36
36
  readonly userObj: GroupMember;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof GoogleWorkspaceProviderUser
41
+ */
42
+ provider: number;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof GoogleWorkspaceProviderUser
47
+ */
48
+ readonly attributes: any | null;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the GoogleWorkspaceProviderUser interface.
@@ -23,6 +23,8 @@ function instanceOfGoogleWorkspaceProviderUser(value) {
23
23
  isInstance = isInstance && "id" in value;
24
24
  isInstance = isInstance && "user" in value;
25
25
  isInstance = isInstance && "userObj" in value;
26
+ isInstance = isInstance && "provider" in value;
27
+ isInstance = isInstance && "attributes" in value;
26
28
  return isInstance;
27
29
  }
28
30
  exports.instanceOfGoogleWorkspaceProviderUser = instanceOfGoogleWorkspaceProviderUser;
@@ -38,6 +40,8 @@ function GoogleWorkspaceProviderUserFromJSONTyped(json, ignoreDiscriminator) {
38
40
  'id': json['id'],
39
41
  'user': json['user'],
40
42
  'userObj': (0, GroupMember_1.GroupMemberFromJSON)(json['user_obj']),
43
+ 'provider': json['provider'],
44
+ 'attributes': json['attributes'],
41
45
  };
42
46
  }
43
47
  exports.GoogleWorkspaceProviderUserFromJSONTyped = GoogleWorkspaceProviderUserFromJSONTyped;
@@ -50,6 +54,7 @@ function GoogleWorkspaceProviderUserToJSON(value) {
50
54
  }
51
55
  return {
52
56
  'user': value.user,
57
+ 'provider': value.provider,
53
58
  };
54
59
  }
55
60
  exports.GoogleWorkspaceProviderUserToJSON = GoogleWorkspaceProviderUserToJSON;
@@ -21,6 +21,12 @@ export interface GoogleWorkspaceProviderUserRequest {
21
21
  * @memberof GoogleWorkspaceProviderUserRequest
22
22
  */
23
23
  user: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof GoogleWorkspaceProviderUserRequest
28
+ */
29
+ provider: number;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the GoogleWorkspaceProviderUserRequest interface.