@goauthentik/api 2024.8.3-1729167001 → 2024.8.3-1729699127

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 (185) hide show
  1. package/.openapi-generator/FILES +25 -0
  2. package/dist/apis/AuthenticatorsApi.d.ts +110 -1
  3. package/dist/apis/AuthenticatorsApi.js +347 -0
  4. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  5. package/dist/apis/PropertymappingsApi.js +271 -0
  6. package/dist/apis/RbacApi.d.ts +10 -0
  7. package/dist/apis/RbacApi.js +10 -0
  8. package/dist/apis/SourcesApi.d.ts +257 -1
  9. package/dist/apis/SourcesApi.js +841 -28
  10. package/dist/apis/StagesApi.d.ts +85 -1
  11. package/dist/apis/StagesApi.js +268 -0
  12. package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
  13. package/dist/esm/apis/AuthenticatorsApi.js +348 -1
  14. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  15. package/dist/esm/apis/PropertymappingsApi.js +272 -1
  16. package/dist/esm/apis/RbacApi.d.ts +10 -0
  17. package/dist/esm/apis/RbacApi.js +10 -0
  18. package/dist/esm/apis/SourcesApi.d.ts +257 -1
  19. package/dist/esm/apis/SourcesApi.js +842 -29
  20. package/dist/esm/apis/StagesApi.d.ts +85 -1
  21. package/dist/esm/apis/StagesApi.js +269 -1
  22. package/dist/esm/models/AppEnum.d.ts +2 -0
  23. package/dist/esm/models/AppEnum.js +2 -0
  24. package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  25. package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
  26. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  27. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
  28. package/dist/esm/models/BackendsEnum.d.ts +1 -0
  29. package/dist/esm/models/BackendsEnum.js +1 -0
  30. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  31. package/dist/esm/models/ChallengeTypes.js +5 -0
  32. package/dist/esm/models/Device.d.ts +2 -2
  33. package/dist/esm/models/EndpointDevice.d.ts +37 -0
  34. package/dist/esm/models/EndpointDevice.js +46 -0
  35. package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
  36. package/dist/esm/models/EndpointDeviceRequest.js +46 -0
  37. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
  38. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  39. package/dist/esm/models/FrameChallenge.d.ts +65 -0
  40. package/dist/esm/models/FrameChallenge.js +56 -0
  41. package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
  42. package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
  43. package/dist/esm/models/GroupKerberosSourceConnection.d.ts +56 -0
  44. package/dist/esm/models/GroupKerberosSourceConnection.js +50 -0
  45. package/dist/esm/models/KerberosSource.d.ts +198 -0
  46. package/dist/esm/models/KerberosSource.js +103 -0
  47. package/dist/esm/models/KerberosSourcePropertyMapping.d.ts +73 -0
  48. package/dist/esm/models/KerberosSourcePropertyMapping.js +59 -0
  49. package/dist/esm/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  50. package/dist/esm/models/KerberosSourcePropertyMappingRequest.js +49 -0
  51. package/dist/esm/models/KerberosSourceRequest.d.ts +166 -0
  52. package/dist/esm/models/KerberosSourceRequest.js +93 -0
  53. package/dist/esm/models/KerberosSyncStatus.d.ts +38 -0
  54. package/dist/esm/models/KerberosSyncStatus.js +44 -0
  55. package/dist/esm/models/ModelEnum.d.ts +5 -0
  56. package/dist/esm/models/ModelEnum.js +5 -0
  57. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  58. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
  59. package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
  60. package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
  61. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  62. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.js +48 -0
  63. package/dist/esm/models/PaginatedKerberosSourceList.d.ts +39 -0
  64. package/dist/esm/models/PaginatedKerberosSourceList.js +48 -0
  65. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  66. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.js +48 -0
  67. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  68. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.js +48 -0
  69. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  70. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
  71. package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  72. package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
  73. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  74. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.js +47 -0
  75. package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +166 -0
  76. package/dist/esm/models/PatchedKerberosSourceRequest.js +90 -0
  77. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  78. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +45 -0
  79. package/dist/esm/models/UserKerberosSourceConnection.d.ts +56 -0
  80. package/dist/esm/models/UserKerberosSourceConnection.js +53 -0
  81. package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  82. package/dist/esm/models/UserKerberosSourceConnectionRequest.js +46 -0
  83. package/dist/esm/models/index.d.ts +25 -0
  84. package/dist/esm/models/index.js +25 -0
  85. package/dist/models/AppEnum.d.ts +2 -0
  86. package/dist/models/AppEnum.js +2 -0
  87. package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  88. package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
  89. package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  90. package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
  91. package/dist/models/BackendsEnum.d.ts +1 -0
  92. package/dist/models/BackendsEnum.js +1 -0
  93. package/dist/models/ChallengeTypes.d.ts +3 -0
  94. package/dist/models/ChallengeTypes.js +5 -0
  95. package/dist/models/Device.d.ts +2 -2
  96. package/dist/models/EndpointDevice.d.ts +37 -0
  97. package/dist/models/EndpointDevice.js +53 -0
  98. package/dist/models/EndpointDeviceRequest.d.ts +37 -0
  99. package/dist/models/EndpointDeviceRequest.js +53 -0
  100. package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
  101. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  102. package/dist/models/FrameChallenge.d.ts +65 -0
  103. package/dist/models/FrameChallenge.js +63 -0
  104. package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
  105. package/dist/models/FrameChallengeResponseRequest.js +50 -0
  106. package/dist/models/GroupKerberosSourceConnection.d.ts +56 -0
  107. package/dist/models/GroupKerberosSourceConnection.js +57 -0
  108. package/dist/models/KerberosSource.d.ts +198 -0
  109. package/dist/models/KerberosSource.js +110 -0
  110. package/dist/models/KerberosSourcePropertyMapping.d.ts +73 -0
  111. package/dist/models/KerberosSourcePropertyMapping.js +66 -0
  112. package/dist/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  113. package/dist/models/KerberosSourcePropertyMappingRequest.js +56 -0
  114. package/dist/models/KerberosSourceRequest.d.ts +166 -0
  115. package/dist/models/KerberosSourceRequest.js +100 -0
  116. package/dist/models/KerberosSyncStatus.d.ts +38 -0
  117. package/dist/models/KerberosSyncStatus.js +51 -0
  118. package/dist/models/ModelEnum.d.ts +5 -0
  119. package/dist/models/ModelEnum.js +5 -0
  120. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  121. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
  122. package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
  123. package/dist/models/PaginatedEndpointDeviceList.js +55 -0
  124. package/dist/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  125. package/dist/models/PaginatedGroupKerberosSourceConnectionList.js +55 -0
  126. package/dist/models/PaginatedKerberosSourceList.d.ts +39 -0
  127. package/dist/models/PaginatedKerberosSourceList.js +55 -0
  128. package/dist/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  129. package/dist/models/PaginatedKerberosSourcePropertyMappingList.js +55 -0
  130. package/dist/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  131. package/dist/models/PaginatedUserKerberosSourceConnectionList.js +55 -0
  132. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  133. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
  134. package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  135. package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
  136. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  137. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.js +54 -0
  138. package/dist/models/PatchedKerberosSourceRequest.d.ts +166 -0
  139. package/dist/models/PatchedKerberosSourceRequest.js +97 -0
  140. package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  141. package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +52 -0
  142. package/dist/models/UserKerberosSourceConnection.d.ts +56 -0
  143. package/dist/models/UserKerberosSourceConnection.js +60 -0
  144. package/dist/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  145. package/dist/models/UserKerberosSourceConnectionRequest.js +53 -0
  146. package/dist/models/index.d.ts +25 -0
  147. package/dist/models/index.js +25 -0
  148. package/package.json +1 -1
  149. package/src/apis/AuthenticatorsApi.ts +444 -0
  150. package/src/apis/PropertymappingsApi.ts +350 -0
  151. package/src/apis/RbacApi.ts +10 -0
  152. package/src/apis/SourcesApi.ts +1200 -153
  153. package/src/apis/StagesApi.ts +345 -0
  154. package/src/models/AppEnum.ts +2 -0
  155. package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
  156. package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
  157. package/src/models/BackendsEnum.ts +1 -0
  158. package/src/models/ChallengeTypes.ts +12 -1
  159. package/src/models/Device.ts +2 -2
  160. package/src/models/EndpointDevice.ts +74 -0
  161. package/src/models/EndpointDeviceRequest.ts +74 -0
  162. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  163. package/src/models/FrameChallenge.ts +120 -0
  164. package/src/models/FrameChallengeResponseRequest.ts +65 -0
  165. package/src/models/GroupKerberosSourceConnection.ts +104 -0
  166. package/src/models/KerberosSource.ts +303 -0
  167. package/src/models/KerberosSourcePropertyMapping.ts +123 -0
  168. package/src/models/KerberosSourcePropertyMappingRequest.ts +83 -0
  169. package/src/models/KerberosSourceRequest.ts +263 -0
  170. package/src/models/KerberosSyncStatus.ts +80 -0
  171. package/src/models/ModelEnum.ts +5 -0
  172. package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
  173. package/src/models/PaginatedEndpointDeviceList.ts +88 -0
  174. package/src/models/PaginatedGroupKerberosSourceConnectionList.ts +88 -0
  175. package/src/models/PaginatedKerberosSourceList.ts +88 -0
  176. package/src/models/PaginatedKerberosSourcePropertyMappingList.ts +88 -0
  177. package/src/models/PaginatedUserKerberosSourceConnectionList.ts +88 -0
  178. package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
  179. package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
  180. package/src/models/PatchedKerberosSourcePropertyMappingRequest.ts +81 -0
  181. package/src/models/PatchedKerberosSourceRequest.ts +260 -0
  182. package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +73 -0
  183. package/src/models/UserKerberosSourceConnection.ts +106 -0
  184. package/src/models/UserKerberosSourceConnectionRequest.ts +75 -0
  185. package/src/models/index.ts +25 -0
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AuthenticatorDuoStage, AuthenticatorDuoStageDeviceImportResponse, AuthenticatorDuoStageManualDeviceImportRequest, AuthenticatorDuoStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, AuthenticatorWebAuthnStage, AuthenticatorWebAuthnStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedAuthenticatorWebAuthnStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedSourceStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PaginatedWebAuthnDeviceTypeList, PasswordStage, PasswordStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedAuthenticatorWebAuthnStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedSourceStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptChallenge, PromptRequest, PromptStage, PromptStageRequest, SourceStage, SourceStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest, WebAuthnDeviceType } from '../models';
13
+ import type { AuthenticatorDuoStage, AuthenticatorDuoStageDeviceImportResponse, AuthenticatorDuoStageManualDeviceImportRequest, AuthenticatorDuoStageRequest, AuthenticatorEndpointGDTCStage, AuthenticatorEndpointGDTCStageRequest, AuthenticatorSMSStage, AuthenticatorSMSStageRequest, AuthenticatorStaticStage, AuthenticatorStaticStageRequest, AuthenticatorTOTPStage, AuthenticatorTOTPStageRequest, AuthenticatorValidateStage, AuthenticatorValidateStageRequest, AuthenticatorWebAuthnStage, AuthenticatorWebAuthnStageRequest, CaptchaStage, CaptchaStageRequest, ConsentStage, ConsentStageRequest, DenyStage, DenyStageRequest, DummyStage, DummyStageRequest, DuoDeviceEnrollmentStatus, EmailStage, EmailStageRequest, IdentificationStage, IdentificationStageRequest, Invitation, InvitationRequest, InvitationStage, InvitationStageRequest, PaginatedAuthenticatorDuoStageList, PaginatedAuthenticatorEndpointGDTCStageList, PaginatedAuthenticatorSMSStageList, PaginatedAuthenticatorStaticStageList, PaginatedAuthenticatorTOTPStageList, PaginatedAuthenticatorValidateStageList, PaginatedAuthenticatorWebAuthnStageList, PaginatedCaptchaStageList, PaginatedConsentStageList, PaginatedDenyStageList, PaginatedDummyStageList, PaginatedEmailStageList, PaginatedIdentificationStageList, PaginatedInvitationList, PaginatedInvitationStageList, PaginatedPasswordStageList, PaginatedPromptList, PaginatedPromptStageList, PaginatedSourceStageList, PaginatedStageList, PaginatedUserDeleteStageList, PaginatedUserLoginStageList, PaginatedUserLogoutStageList, PaginatedUserWriteStageList, PaginatedWebAuthnDeviceTypeList, PasswordStage, PasswordStageRequest, PatchedAuthenticatorDuoStageRequest, PatchedAuthenticatorEndpointGDTCStageRequest, PatchedAuthenticatorSMSStageRequest, PatchedAuthenticatorStaticStageRequest, PatchedAuthenticatorTOTPStageRequest, PatchedAuthenticatorValidateStageRequest, PatchedAuthenticatorWebAuthnStageRequest, PatchedCaptchaStageRequest, PatchedConsentStageRequest, PatchedDenyStageRequest, PatchedDummyStageRequest, PatchedEmailStageRequest, PatchedIdentificationStageRequest, PatchedInvitationRequest, PatchedInvitationStageRequest, PatchedPasswordStageRequest, PatchedPromptRequest, PatchedPromptStageRequest, PatchedSourceStageRequest, PatchedUserDeleteStageRequest, PatchedUserLoginStageRequest, PatchedUserLogoutStageRequest, PatchedUserWriteStageRequest, Prompt, PromptChallenge, PromptRequest, PromptStage, PromptStageRequest, SourceStage, SourceStageRequest, Stage, TypeCreate, UsedBy, UserDeleteStage, UserDeleteStageRequest, UserLoginStage, UserLoginStageRequest, UserLogoutStage, UserLogoutStageRequest, UserSetting, UserWriteStage, UserWriteStageRequest, WebAuthnDeviceType } from '../models';
14
14
  export interface StagesAllDestroyRequest {
15
15
  stageUuid: string;
16
16
  }
@@ -67,6 +67,34 @@ export interface StagesAuthenticatorDuoUpdateRequest {
67
67
  export interface StagesAuthenticatorDuoUsedByListRequest {
68
68
  stageUuid: string;
69
69
  }
70
+ export interface StagesAuthenticatorEndpointGdtcCreateRequest {
71
+ authenticatorEndpointGDTCStageRequest: AuthenticatorEndpointGDTCStageRequest;
72
+ }
73
+ export interface StagesAuthenticatorEndpointGdtcDestroyRequest {
74
+ stageUuid: string;
75
+ }
76
+ export interface StagesAuthenticatorEndpointGdtcListRequest {
77
+ configureFlow?: string;
78
+ name?: string;
79
+ ordering?: string;
80
+ page?: number;
81
+ pageSize?: number;
82
+ search?: string;
83
+ }
84
+ export interface StagesAuthenticatorEndpointGdtcPartialUpdateRequest {
85
+ stageUuid: string;
86
+ patchedAuthenticatorEndpointGDTCStageRequest?: PatchedAuthenticatorEndpointGDTCStageRequest;
87
+ }
88
+ export interface StagesAuthenticatorEndpointGdtcRetrieveRequest {
89
+ stageUuid: string;
90
+ }
91
+ export interface StagesAuthenticatorEndpointGdtcUpdateRequest {
92
+ stageUuid: string;
93
+ authenticatorEndpointGDTCStageRequest: AuthenticatorEndpointGDTCStageRequest;
94
+ }
95
+ export interface StagesAuthenticatorEndpointGdtcUsedByListRequest {
96
+ stageUuid: string;
97
+ }
70
98
  export interface StagesAuthenticatorSmsCreateRequest {
71
99
  authenticatorSMSStageRequest: AuthenticatorSMSStageRequest;
72
100
  }
@@ -870,6 +898,62 @@ export declare class StagesApi extends runtime.BaseAPI {
870
898
  * Get a list of all objects that use this object
871
899
  */
872
900
  stagesAuthenticatorDuoUsedByList(requestParameters: StagesAuthenticatorDuoUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
901
+ /**
902
+ * AuthenticatorEndpointGDTCStage Viewset
903
+ */
904
+ stagesAuthenticatorEndpointGdtcCreateRaw(requestParameters: StagesAuthenticatorEndpointGdtcCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEndpointGDTCStage>>;
905
+ /**
906
+ * AuthenticatorEndpointGDTCStage Viewset
907
+ */
908
+ stagesAuthenticatorEndpointGdtcCreate(requestParameters: StagesAuthenticatorEndpointGdtcCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEndpointGDTCStage>;
909
+ /**
910
+ * AuthenticatorEndpointGDTCStage Viewset
911
+ */
912
+ stagesAuthenticatorEndpointGdtcDestroyRaw(requestParameters: StagesAuthenticatorEndpointGdtcDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
913
+ /**
914
+ * AuthenticatorEndpointGDTCStage Viewset
915
+ */
916
+ stagesAuthenticatorEndpointGdtcDestroy(requestParameters: StagesAuthenticatorEndpointGdtcDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
917
+ /**
918
+ * AuthenticatorEndpointGDTCStage Viewset
919
+ */
920
+ stagesAuthenticatorEndpointGdtcListRaw(requestParameters: StagesAuthenticatorEndpointGdtcListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAuthenticatorEndpointGDTCStageList>>;
921
+ /**
922
+ * AuthenticatorEndpointGDTCStage Viewset
923
+ */
924
+ stagesAuthenticatorEndpointGdtcList(requestParameters?: StagesAuthenticatorEndpointGdtcListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAuthenticatorEndpointGDTCStageList>;
925
+ /**
926
+ * AuthenticatorEndpointGDTCStage Viewset
927
+ */
928
+ stagesAuthenticatorEndpointGdtcPartialUpdateRaw(requestParameters: StagesAuthenticatorEndpointGdtcPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEndpointGDTCStage>>;
929
+ /**
930
+ * AuthenticatorEndpointGDTCStage Viewset
931
+ */
932
+ stagesAuthenticatorEndpointGdtcPartialUpdate(requestParameters: StagesAuthenticatorEndpointGdtcPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEndpointGDTCStage>;
933
+ /**
934
+ * AuthenticatorEndpointGDTCStage Viewset
935
+ */
936
+ stagesAuthenticatorEndpointGdtcRetrieveRaw(requestParameters: StagesAuthenticatorEndpointGdtcRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEndpointGDTCStage>>;
937
+ /**
938
+ * AuthenticatorEndpointGDTCStage Viewset
939
+ */
940
+ stagesAuthenticatorEndpointGdtcRetrieve(requestParameters: StagesAuthenticatorEndpointGdtcRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEndpointGDTCStage>;
941
+ /**
942
+ * AuthenticatorEndpointGDTCStage Viewset
943
+ */
944
+ stagesAuthenticatorEndpointGdtcUpdateRaw(requestParameters: StagesAuthenticatorEndpointGdtcUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AuthenticatorEndpointGDTCStage>>;
945
+ /**
946
+ * AuthenticatorEndpointGDTCStage Viewset
947
+ */
948
+ stagesAuthenticatorEndpointGdtcUpdate(requestParameters: StagesAuthenticatorEndpointGdtcUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AuthenticatorEndpointGDTCStage>;
949
+ /**
950
+ * Get a list of all objects that use this object
951
+ */
952
+ stagesAuthenticatorEndpointGdtcUsedByListRaw(requestParameters: StagesAuthenticatorEndpointGdtcUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
953
+ /**
954
+ * Get a list of all objects that use this object
955
+ */
956
+ stagesAuthenticatorEndpointGdtcUsedByList(requestParameters: StagesAuthenticatorEndpointGdtcUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
873
957
  /**
874
958
  * AuthenticatorSMSStage Viewset
875
959
  */
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { AuthenticatorDuoStageFromJSON, AuthenticatorDuoStageDeviceImportResponseFromJSON, AuthenticatorDuoStageManualDeviceImportRequestToJSON, AuthenticatorDuoStageRequestToJSON, AuthenticatorSMSStageFromJSON, AuthenticatorSMSStageRequestToJSON, AuthenticatorStaticStageFromJSON, AuthenticatorStaticStageRequestToJSON, AuthenticatorTOTPStageFromJSON, AuthenticatorTOTPStageRequestToJSON, AuthenticatorValidateStageFromJSON, AuthenticatorValidateStageRequestToJSON, AuthenticatorWebAuthnStageFromJSON, AuthenticatorWebAuthnStageRequestToJSON, CaptchaStageFromJSON, CaptchaStageRequestToJSON, ConsentStageFromJSON, ConsentStageRequestToJSON, DenyStageFromJSON, DenyStageRequestToJSON, DummyStageFromJSON, DummyStageRequestToJSON, DuoDeviceEnrollmentStatusFromJSON, EmailStageFromJSON, EmailStageRequestToJSON, IdentificationStageFromJSON, IdentificationStageRequestToJSON, InvitationFromJSON, InvitationRequestToJSON, InvitationStageFromJSON, InvitationStageRequestToJSON, PaginatedAuthenticatorDuoStageListFromJSON, PaginatedAuthenticatorSMSStageListFromJSON, PaginatedAuthenticatorStaticStageListFromJSON, PaginatedAuthenticatorTOTPStageListFromJSON, PaginatedAuthenticatorValidateStageListFromJSON, PaginatedAuthenticatorWebAuthnStageListFromJSON, PaginatedCaptchaStageListFromJSON, PaginatedConsentStageListFromJSON, PaginatedDenyStageListFromJSON, PaginatedDummyStageListFromJSON, PaginatedEmailStageListFromJSON, PaginatedIdentificationStageListFromJSON, PaginatedInvitationListFromJSON, PaginatedInvitationStageListFromJSON, PaginatedPasswordStageListFromJSON, PaginatedPromptListFromJSON, PaginatedPromptStageListFromJSON, PaginatedSourceStageListFromJSON, PaginatedStageListFromJSON, PaginatedUserDeleteStageListFromJSON, PaginatedUserLoginStageListFromJSON, PaginatedUserLogoutStageListFromJSON, PaginatedUserWriteStageListFromJSON, PaginatedWebAuthnDeviceTypeListFromJSON, PasswordStageFromJSON, PasswordStageRequestToJSON, PatchedAuthenticatorDuoStageRequestToJSON, PatchedAuthenticatorSMSStageRequestToJSON, PatchedAuthenticatorStaticStageRequestToJSON, PatchedAuthenticatorTOTPStageRequestToJSON, PatchedAuthenticatorValidateStageRequestToJSON, PatchedAuthenticatorWebAuthnStageRequestToJSON, PatchedCaptchaStageRequestToJSON, PatchedConsentStageRequestToJSON, PatchedDenyStageRequestToJSON, PatchedDummyStageRequestToJSON, PatchedEmailStageRequestToJSON, PatchedIdentificationStageRequestToJSON, PatchedInvitationRequestToJSON, PatchedInvitationStageRequestToJSON, PatchedPasswordStageRequestToJSON, PatchedPromptRequestToJSON, PatchedPromptStageRequestToJSON, PatchedSourceStageRequestToJSON, PatchedUserDeleteStageRequestToJSON, PatchedUserLoginStageRequestToJSON, PatchedUserLogoutStageRequestToJSON, PatchedUserWriteStageRequestToJSON, PromptFromJSON, PromptChallengeFromJSON, PromptRequestToJSON, PromptStageFromJSON, PromptStageRequestToJSON, SourceStageFromJSON, SourceStageRequestToJSON, StageFromJSON, TypeCreateFromJSON, UsedByFromJSON, UserDeleteStageFromJSON, UserDeleteStageRequestToJSON, UserLoginStageFromJSON, UserLoginStageRequestToJSON, UserLogoutStageFromJSON, UserLogoutStageRequestToJSON, UserSettingFromJSON, UserWriteStageFromJSON, UserWriteStageRequestToJSON, WebAuthnDeviceTypeFromJSON, } from '../models';
24
+ import { AuthenticatorDuoStageFromJSON, AuthenticatorDuoStageDeviceImportResponseFromJSON, AuthenticatorDuoStageManualDeviceImportRequestToJSON, AuthenticatorDuoStageRequestToJSON, AuthenticatorEndpointGDTCStageFromJSON, AuthenticatorEndpointGDTCStageRequestToJSON, AuthenticatorSMSStageFromJSON, AuthenticatorSMSStageRequestToJSON, AuthenticatorStaticStageFromJSON, AuthenticatorStaticStageRequestToJSON, AuthenticatorTOTPStageFromJSON, AuthenticatorTOTPStageRequestToJSON, AuthenticatorValidateStageFromJSON, AuthenticatorValidateStageRequestToJSON, AuthenticatorWebAuthnStageFromJSON, AuthenticatorWebAuthnStageRequestToJSON, CaptchaStageFromJSON, CaptchaStageRequestToJSON, ConsentStageFromJSON, ConsentStageRequestToJSON, DenyStageFromJSON, DenyStageRequestToJSON, DummyStageFromJSON, DummyStageRequestToJSON, DuoDeviceEnrollmentStatusFromJSON, EmailStageFromJSON, EmailStageRequestToJSON, IdentificationStageFromJSON, IdentificationStageRequestToJSON, InvitationFromJSON, InvitationRequestToJSON, InvitationStageFromJSON, InvitationStageRequestToJSON, PaginatedAuthenticatorDuoStageListFromJSON, PaginatedAuthenticatorEndpointGDTCStageListFromJSON, PaginatedAuthenticatorSMSStageListFromJSON, PaginatedAuthenticatorStaticStageListFromJSON, PaginatedAuthenticatorTOTPStageListFromJSON, PaginatedAuthenticatorValidateStageListFromJSON, PaginatedAuthenticatorWebAuthnStageListFromJSON, PaginatedCaptchaStageListFromJSON, PaginatedConsentStageListFromJSON, PaginatedDenyStageListFromJSON, PaginatedDummyStageListFromJSON, PaginatedEmailStageListFromJSON, PaginatedIdentificationStageListFromJSON, PaginatedInvitationListFromJSON, PaginatedInvitationStageListFromJSON, PaginatedPasswordStageListFromJSON, PaginatedPromptListFromJSON, PaginatedPromptStageListFromJSON, PaginatedSourceStageListFromJSON, PaginatedStageListFromJSON, PaginatedUserDeleteStageListFromJSON, PaginatedUserLoginStageListFromJSON, PaginatedUserLogoutStageListFromJSON, PaginatedUserWriteStageListFromJSON, PaginatedWebAuthnDeviceTypeListFromJSON, PasswordStageFromJSON, PasswordStageRequestToJSON, PatchedAuthenticatorDuoStageRequestToJSON, PatchedAuthenticatorEndpointGDTCStageRequestToJSON, PatchedAuthenticatorSMSStageRequestToJSON, PatchedAuthenticatorStaticStageRequestToJSON, PatchedAuthenticatorTOTPStageRequestToJSON, PatchedAuthenticatorValidateStageRequestToJSON, PatchedAuthenticatorWebAuthnStageRequestToJSON, PatchedCaptchaStageRequestToJSON, PatchedConsentStageRequestToJSON, PatchedDenyStageRequestToJSON, PatchedDummyStageRequestToJSON, PatchedEmailStageRequestToJSON, PatchedIdentificationStageRequestToJSON, PatchedInvitationRequestToJSON, PatchedInvitationStageRequestToJSON, PatchedPasswordStageRequestToJSON, PatchedPromptRequestToJSON, PatchedPromptStageRequestToJSON, PatchedSourceStageRequestToJSON, PatchedUserDeleteStageRequestToJSON, PatchedUserLoginStageRequestToJSON, PatchedUserLogoutStageRequestToJSON, PatchedUserWriteStageRequestToJSON, PromptFromJSON, PromptChallengeFromJSON, PromptRequestToJSON, PromptStageFromJSON, PromptStageRequestToJSON, SourceStageFromJSON, SourceStageRequestToJSON, StageFromJSON, TypeCreateFromJSON, UsedByFromJSON, UserDeleteStageFromJSON, UserDeleteStageRequestToJSON, UserLoginStageFromJSON, UserLoginStageRequestToJSON, UserLogoutStageFromJSON, UserLogoutStageRequestToJSON, UserSettingFromJSON, UserWriteStageFromJSON, UserWriteStageRequestToJSON, WebAuthnDeviceTypeFromJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -624,6 +624,274 @@ export class StagesApi extends runtime.BaseAPI {
624
624
  return yield response.value();
625
625
  });
626
626
  }
627
+ /**
628
+ * AuthenticatorEndpointGDTCStage Viewset
629
+ */
630
+ stagesAuthenticatorEndpointGdtcCreateRaw(requestParameters, initOverrides) {
631
+ return __awaiter(this, void 0, void 0, function* () {
632
+ if (requestParameters.authenticatorEndpointGDTCStageRequest === null || requestParameters.authenticatorEndpointGDTCStageRequest === undefined) {
633
+ throw new runtime.RequiredError('authenticatorEndpointGDTCStageRequest', 'Required parameter requestParameters.authenticatorEndpointGDTCStageRequest was null or undefined when calling stagesAuthenticatorEndpointGdtcCreate.');
634
+ }
635
+ const queryParameters = {};
636
+ const headerParameters = {};
637
+ headerParameters['Content-Type'] = 'application/json';
638
+ if (this.configuration && this.configuration.accessToken) {
639
+ const token = this.configuration.accessToken;
640
+ const tokenString = yield token("authentik", []);
641
+ if (tokenString) {
642
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
643
+ }
644
+ }
645
+ const response = yield this.request({
646
+ path: `/stages/authenticator/endpoint_gdtc/`,
647
+ method: 'POST',
648
+ headers: headerParameters,
649
+ query: queryParameters,
650
+ body: AuthenticatorEndpointGDTCStageRequestToJSON(requestParameters.authenticatorEndpointGDTCStageRequest),
651
+ }, initOverrides);
652
+ return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticatorEndpointGDTCStageFromJSON(jsonValue));
653
+ });
654
+ }
655
+ /**
656
+ * AuthenticatorEndpointGDTCStage Viewset
657
+ */
658
+ stagesAuthenticatorEndpointGdtcCreate(requestParameters, initOverrides) {
659
+ return __awaiter(this, void 0, void 0, function* () {
660
+ const response = yield this.stagesAuthenticatorEndpointGdtcCreateRaw(requestParameters, initOverrides);
661
+ return yield response.value();
662
+ });
663
+ }
664
+ /**
665
+ * AuthenticatorEndpointGDTCStage Viewset
666
+ */
667
+ stagesAuthenticatorEndpointGdtcDestroyRaw(requestParameters, initOverrides) {
668
+ return __awaiter(this, void 0, void 0, function* () {
669
+ if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
670
+ throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorEndpointGdtcDestroy.');
671
+ }
672
+ const queryParameters = {};
673
+ const headerParameters = {};
674
+ if (this.configuration && this.configuration.accessToken) {
675
+ const token = this.configuration.accessToken;
676
+ const tokenString = yield token("authentik", []);
677
+ if (tokenString) {
678
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
679
+ }
680
+ }
681
+ const response = yield this.request({
682
+ path: `/stages/authenticator/endpoint_gdtc/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
683
+ method: 'DELETE',
684
+ headers: headerParameters,
685
+ query: queryParameters,
686
+ }, initOverrides);
687
+ return new runtime.VoidApiResponse(response);
688
+ });
689
+ }
690
+ /**
691
+ * AuthenticatorEndpointGDTCStage Viewset
692
+ */
693
+ stagesAuthenticatorEndpointGdtcDestroy(requestParameters, initOverrides) {
694
+ return __awaiter(this, void 0, void 0, function* () {
695
+ yield this.stagesAuthenticatorEndpointGdtcDestroyRaw(requestParameters, initOverrides);
696
+ });
697
+ }
698
+ /**
699
+ * AuthenticatorEndpointGDTCStage Viewset
700
+ */
701
+ stagesAuthenticatorEndpointGdtcListRaw(requestParameters, initOverrides) {
702
+ return __awaiter(this, void 0, void 0, function* () {
703
+ const queryParameters = {};
704
+ if (requestParameters.configureFlow !== undefined) {
705
+ queryParameters['configure_flow'] = requestParameters.configureFlow;
706
+ }
707
+ if (requestParameters.name !== undefined) {
708
+ queryParameters['name'] = requestParameters.name;
709
+ }
710
+ if (requestParameters.ordering !== undefined) {
711
+ queryParameters['ordering'] = requestParameters.ordering;
712
+ }
713
+ if (requestParameters.page !== undefined) {
714
+ queryParameters['page'] = requestParameters.page;
715
+ }
716
+ if (requestParameters.pageSize !== undefined) {
717
+ queryParameters['page_size'] = requestParameters.pageSize;
718
+ }
719
+ if (requestParameters.search !== undefined) {
720
+ queryParameters['search'] = requestParameters.search;
721
+ }
722
+ const headerParameters = {};
723
+ if (this.configuration && this.configuration.accessToken) {
724
+ const token = this.configuration.accessToken;
725
+ const tokenString = yield token("authentik", []);
726
+ if (tokenString) {
727
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
728
+ }
729
+ }
730
+ const response = yield this.request({
731
+ path: `/stages/authenticator/endpoint_gdtc/`,
732
+ method: 'GET',
733
+ headers: headerParameters,
734
+ query: queryParameters,
735
+ }, initOverrides);
736
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedAuthenticatorEndpointGDTCStageListFromJSON(jsonValue));
737
+ });
738
+ }
739
+ /**
740
+ * AuthenticatorEndpointGDTCStage Viewset
741
+ */
742
+ stagesAuthenticatorEndpointGdtcList(requestParameters = {}, initOverrides) {
743
+ return __awaiter(this, void 0, void 0, function* () {
744
+ const response = yield this.stagesAuthenticatorEndpointGdtcListRaw(requestParameters, initOverrides);
745
+ return yield response.value();
746
+ });
747
+ }
748
+ /**
749
+ * AuthenticatorEndpointGDTCStage Viewset
750
+ */
751
+ stagesAuthenticatorEndpointGdtcPartialUpdateRaw(requestParameters, initOverrides) {
752
+ return __awaiter(this, void 0, void 0, function* () {
753
+ if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
754
+ throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorEndpointGdtcPartialUpdate.');
755
+ }
756
+ const queryParameters = {};
757
+ const headerParameters = {};
758
+ headerParameters['Content-Type'] = 'application/json';
759
+ if (this.configuration && this.configuration.accessToken) {
760
+ const token = this.configuration.accessToken;
761
+ const tokenString = yield token("authentik", []);
762
+ if (tokenString) {
763
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
764
+ }
765
+ }
766
+ const response = yield this.request({
767
+ path: `/stages/authenticator/endpoint_gdtc/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
768
+ method: 'PATCH',
769
+ headers: headerParameters,
770
+ query: queryParameters,
771
+ body: PatchedAuthenticatorEndpointGDTCStageRequestToJSON(requestParameters.patchedAuthenticatorEndpointGDTCStageRequest),
772
+ }, initOverrides);
773
+ return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticatorEndpointGDTCStageFromJSON(jsonValue));
774
+ });
775
+ }
776
+ /**
777
+ * AuthenticatorEndpointGDTCStage Viewset
778
+ */
779
+ stagesAuthenticatorEndpointGdtcPartialUpdate(requestParameters, initOverrides) {
780
+ return __awaiter(this, void 0, void 0, function* () {
781
+ const response = yield this.stagesAuthenticatorEndpointGdtcPartialUpdateRaw(requestParameters, initOverrides);
782
+ return yield response.value();
783
+ });
784
+ }
785
+ /**
786
+ * AuthenticatorEndpointGDTCStage Viewset
787
+ */
788
+ stagesAuthenticatorEndpointGdtcRetrieveRaw(requestParameters, initOverrides) {
789
+ return __awaiter(this, void 0, void 0, function* () {
790
+ if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
791
+ throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorEndpointGdtcRetrieve.');
792
+ }
793
+ const queryParameters = {};
794
+ const headerParameters = {};
795
+ if (this.configuration && this.configuration.accessToken) {
796
+ const token = this.configuration.accessToken;
797
+ const tokenString = yield token("authentik", []);
798
+ if (tokenString) {
799
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
800
+ }
801
+ }
802
+ const response = yield this.request({
803
+ path: `/stages/authenticator/endpoint_gdtc/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
804
+ method: 'GET',
805
+ headers: headerParameters,
806
+ query: queryParameters,
807
+ }, initOverrides);
808
+ return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticatorEndpointGDTCStageFromJSON(jsonValue));
809
+ });
810
+ }
811
+ /**
812
+ * AuthenticatorEndpointGDTCStage Viewset
813
+ */
814
+ stagesAuthenticatorEndpointGdtcRetrieve(requestParameters, initOverrides) {
815
+ return __awaiter(this, void 0, void 0, function* () {
816
+ const response = yield this.stagesAuthenticatorEndpointGdtcRetrieveRaw(requestParameters, initOverrides);
817
+ return yield response.value();
818
+ });
819
+ }
820
+ /**
821
+ * AuthenticatorEndpointGDTCStage Viewset
822
+ */
823
+ stagesAuthenticatorEndpointGdtcUpdateRaw(requestParameters, initOverrides) {
824
+ return __awaiter(this, void 0, void 0, function* () {
825
+ if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
826
+ throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorEndpointGdtcUpdate.');
827
+ }
828
+ if (requestParameters.authenticatorEndpointGDTCStageRequest === null || requestParameters.authenticatorEndpointGDTCStageRequest === undefined) {
829
+ throw new runtime.RequiredError('authenticatorEndpointGDTCStageRequest', 'Required parameter requestParameters.authenticatorEndpointGDTCStageRequest was null or undefined when calling stagesAuthenticatorEndpointGdtcUpdate.');
830
+ }
831
+ const queryParameters = {};
832
+ const headerParameters = {};
833
+ headerParameters['Content-Type'] = 'application/json';
834
+ if (this.configuration && this.configuration.accessToken) {
835
+ const token = this.configuration.accessToken;
836
+ const tokenString = yield token("authentik", []);
837
+ if (tokenString) {
838
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
839
+ }
840
+ }
841
+ const response = yield this.request({
842
+ path: `/stages/authenticator/endpoint_gdtc/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
843
+ method: 'PUT',
844
+ headers: headerParameters,
845
+ query: queryParameters,
846
+ body: AuthenticatorEndpointGDTCStageRequestToJSON(requestParameters.authenticatorEndpointGDTCStageRequest),
847
+ }, initOverrides);
848
+ return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticatorEndpointGDTCStageFromJSON(jsonValue));
849
+ });
850
+ }
851
+ /**
852
+ * AuthenticatorEndpointGDTCStage Viewset
853
+ */
854
+ stagesAuthenticatorEndpointGdtcUpdate(requestParameters, initOverrides) {
855
+ return __awaiter(this, void 0, void 0, function* () {
856
+ const response = yield this.stagesAuthenticatorEndpointGdtcUpdateRaw(requestParameters, initOverrides);
857
+ return yield response.value();
858
+ });
859
+ }
860
+ /**
861
+ * Get a list of all objects that use this object
862
+ */
863
+ stagesAuthenticatorEndpointGdtcUsedByListRaw(requestParameters, initOverrides) {
864
+ return __awaiter(this, void 0, void 0, function* () {
865
+ if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
866
+ throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorEndpointGdtcUsedByList.');
867
+ }
868
+ const queryParameters = {};
869
+ const headerParameters = {};
870
+ if (this.configuration && this.configuration.accessToken) {
871
+ const token = this.configuration.accessToken;
872
+ const tokenString = yield token("authentik", []);
873
+ if (tokenString) {
874
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
875
+ }
876
+ }
877
+ const response = yield this.request({
878
+ path: `/stages/authenticator/endpoint_gdtc/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
879
+ method: 'GET',
880
+ headers: headerParameters,
881
+ query: queryParameters,
882
+ }, initOverrides);
883
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
884
+ });
885
+ }
886
+ /**
887
+ * Get a list of all objects that use this object
888
+ */
889
+ stagesAuthenticatorEndpointGdtcUsedByList(requestParameters, initOverrides) {
890
+ return __awaiter(this, void 0, void 0, function* () {
891
+ const response = yield this.stagesAuthenticatorEndpointGdtcUsedByListRaw(requestParameters, initOverrides);
892
+ return yield response.value();
893
+ });
894
+ }
627
895
  /**
628
896
  * AuthenticatorSMSStage Viewset
629
897
  */
@@ -36,6 +36,7 @@ export declare const AppEnum: {
36
36
  readonly ProvidersScim: "authentik.providers.scim";
37
37
  readonly Rbac: "authentik.rbac";
38
38
  readonly Recovery: "authentik.recovery";
39
+ readonly SourcesKerberos: "authentik.sources.kerberos";
39
40
  readonly SourcesLdap: "authentik.sources.ldap";
40
41
  readonly SourcesOauth: "authentik.sources.oauth";
41
42
  readonly SourcesPlex: "authentik.sources.plex";
@@ -69,6 +70,7 @@ export declare const AppEnum: {
69
70
  readonly EnterpriseProvidersGoogleWorkspace: "authentik.enterprise.providers.google_workspace";
70
71
  readonly EnterpriseProvidersMicrosoftEntra: "authentik.enterprise.providers.microsoft_entra";
71
72
  readonly EnterpriseProvidersRac: "authentik.enterprise.providers.rac";
73
+ readonly EnterpriseStagesAuthenticatorEndpointGdtc: "authentik.enterprise.stages.authenticator_endpoint_gdtc";
72
74
  readonly EnterpriseStagesSource: "authentik.enterprise.stages.source";
73
75
  readonly Events: "authentik.events";
74
76
  readonly UnknownDefaultOpenApi: "11184809";
@@ -38,6 +38,7 @@ export const AppEnum = {
38
38
  ProvidersScim: 'authentik.providers.scim',
39
39
  Rbac: 'authentik.rbac',
40
40
  Recovery: 'authentik.recovery',
41
+ SourcesKerberos: 'authentik.sources.kerberos',
41
42
  SourcesLdap: 'authentik.sources.ldap',
42
43
  SourcesOauth: 'authentik.sources.oauth',
43
44
  SourcesPlex: 'authentik.sources.plex',
@@ -71,6 +72,7 @@ export const AppEnum = {
71
72
  EnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
72
73
  EnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
73
74
  EnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
75
+ EnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
74
76
  EnterpriseStagesSource: 'authentik.enterprise.stages.source',
75
77
  Events: 'authentik.events',
76
78
  UnknownDefaultOpenApi: '11184809'
@@ -0,0 +1,86 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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 { FlowSet } from './FlowSet';
13
+ /**
14
+ * AuthenticatorEndpointGDTCStage Serializer
15
+ * @export
16
+ * @interface AuthenticatorEndpointGDTCStage
17
+ */
18
+ export interface AuthenticatorEndpointGDTCStage {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AuthenticatorEndpointGDTCStage
23
+ */
24
+ readonly pk: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof AuthenticatorEndpointGDTCStage
29
+ */
30
+ name: string;
31
+ /**
32
+ * Get object type so that we know how to edit the object
33
+ * @type {string}
34
+ * @memberof AuthenticatorEndpointGDTCStage
35
+ */
36
+ readonly component: string;
37
+ /**
38
+ * Return object's verbose_name
39
+ * @type {string}
40
+ * @memberof AuthenticatorEndpointGDTCStage
41
+ */
42
+ readonly verboseName: string;
43
+ /**
44
+ * Return object's plural verbose_name
45
+ * @type {string}
46
+ * @memberof AuthenticatorEndpointGDTCStage
47
+ */
48
+ readonly verboseNamePlural: string;
49
+ /**
50
+ * Return internal model name
51
+ * @type {string}
52
+ * @memberof AuthenticatorEndpointGDTCStage
53
+ */
54
+ readonly metaModelName: string;
55
+ /**
56
+ *
57
+ * @type {Array<FlowSet>}
58
+ * @memberof AuthenticatorEndpointGDTCStage
59
+ */
60
+ flowSet?: Array<FlowSet>;
61
+ /**
62
+ * Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
63
+ * @type {string}
64
+ * @memberof AuthenticatorEndpointGDTCStage
65
+ */
66
+ configureFlow?: string | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof AuthenticatorEndpointGDTCStage
71
+ */
72
+ friendlyName?: string | null;
73
+ /**
74
+ *
75
+ * @type {any}
76
+ * @memberof AuthenticatorEndpointGDTCStage
77
+ */
78
+ credentials: any | null;
79
+ }
80
+ /**
81
+ * Check if a given object implements the AuthenticatorEndpointGDTCStage interface.
82
+ */
83
+ export declare function instanceOfAuthenticatorEndpointGDTCStage(value: object): boolean;
84
+ export declare function AuthenticatorEndpointGDTCStageFromJSON(json: any): AuthenticatorEndpointGDTCStage;
85
+ export declare function AuthenticatorEndpointGDTCStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorEndpointGDTCStage;
86
+ export declare function AuthenticatorEndpointGDTCStageToJSON(value?: AuthenticatorEndpointGDTCStage | null): any;
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
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 { exists } from '../runtime';
15
+ import { FlowSetFromJSON, FlowSetToJSON, } from './FlowSet';
16
+ /**
17
+ * Check if a given object implements the AuthenticatorEndpointGDTCStage interface.
18
+ */
19
+ export function instanceOfAuthenticatorEndpointGDTCStage(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pk" in value;
22
+ isInstance = isInstance && "name" in value;
23
+ isInstance = isInstance && "component" in value;
24
+ isInstance = isInstance && "verboseName" in value;
25
+ isInstance = isInstance && "verboseNamePlural" in value;
26
+ isInstance = isInstance && "metaModelName" in value;
27
+ isInstance = isInstance && "credentials" in value;
28
+ return isInstance;
29
+ }
30
+ export function AuthenticatorEndpointGDTCStageFromJSON(json) {
31
+ return AuthenticatorEndpointGDTCStageFromJSONTyped(json, false);
32
+ }
33
+ export function AuthenticatorEndpointGDTCStageFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pk': json['pk'],
39
+ 'name': json['name'],
40
+ 'component': json['component'],
41
+ 'verboseName': json['verbose_name'],
42
+ 'verboseNamePlural': json['verbose_name_plural'],
43
+ 'metaModelName': json['meta_model_name'],
44
+ 'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetFromJSON)),
45
+ 'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
46
+ 'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
47
+ 'credentials': json['credentials'],
48
+ };
49
+ }
50
+ export function AuthenticatorEndpointGDTCStageToJSON(value) {
51
+ if (value === undefined) {
52
+ return undefined;
53
+ }
54
+ if (value === null) {
55
+ return null;
56
+ }
57
+ return {
58
+ 'name': value.name,
59
+ 'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetToJSON)),
60
+ 'configure_flow': value.configureFlow,
61
+ 'friendly_name': value.friendlyName,
62
+ 'credentials': value.credentials,
63
+ };
64
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.8.3
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 { FlowSetRequest } from './FlowSetRequest';
13
+ /**
14
+ * AuthenticatorEndpointGDTCStage Serializer
15
+ * @export
16
+ * @interface AuthenticatorEndpointGDTCStageRequest
17
+ */
18
+ export interface AuthenticatorEndpointGDTCStageRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AuthenticatorEndpointGDTCStageRequest
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {Array<FlowSetRequest>}
28
+ * @memberof AuthenticatorEndpointGDTCStageRequest
29
+ */
30
+ flowSet?: Array<FlowSetRequest>;
31
+ /**
32
+ * Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
33
+ * @type {string}
34
+ * @memberof AuthenticatorEndpointGDTCStageRequest
35
+ */
36
+ configureFlow?: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof AuthenticatorEndpointGDTCStageRequest
41
+ */
42
+ friendlyName?: string | null;
43
+ /**
44
+ *
45
+ * @type {any}
46
+ * @memberof AuthenticatorEndpointGDTCStageRequest
47
+ */
48
+ credentials: any | null;
49
+ }
50
+ /**
51
+ * Check if a given object implements the AuthenticatorEndpointGDTCStageRequest interface.
52
+ */
53
+ export declare function instanceOfAuthenticatorEndpointGDTCStageRequest(value: object): boolean;
54
+ export declare function AuthenticatorEndpointGDTCStageRequestFromJSON(json: any): AuthenticatorEndpointGDTCStageRequest;
55
+ export declare function AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorEndpointGDTCStageRequest;
56
+ export declare function AuthenticatorEndpointGDTCStageRequestToJSON(value?: AuthenticatorEndpointGDTCStageRequest | null): any;