@mittwald/api-client 4.511.0 → 4.514.0

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.
@@ -1446,6 +1446,10 @@ export declare namespace MittwaldAPIV3Next {
1446
1446
  type RequestData = InferredRequestData<typeof descriptors.notificationsReadAllNotifications>;
1447
1447
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.notificationsReadAllNotifications, TStatus>;
1448
1448
  }
1449
+ namespace NotificationsResetNotificationSettings {
1450
+ type RequestData = InferredRequestData<typeof descriptors.notificationsResetNotificationSettings>;
1451
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.notificationsResetNotificationSettings, TStatus>;
1452
+ }
1449
1453
  namespace NotificationsUpdateNotificationStatus {
1450
1454
  type RequestData = InferredRequestData<typeof descriptors.notificationsUpdateNotificationStatus>;
1451
1455
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.notificationsUpdateNotificationStatus, TStatus>;
@@ -1746,6 +1750,10 @@ export declare namespace MittwaldAPIV3Next {
1746
1750
  type RequestData = InferredRequestData<typeof descriptors.userAuthenticateMfa>;
1747
1751
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticateMfa, TStatus>;
1748
1752
  }
1753
+ namespace UserAuthenticatePasskey {
1754
+ type RequestData = InferredRequestData<typeof descriptors.userAuthenticatePasskey>;
1755
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticatePasskey, TStatus>;
1756
+ }
1749
1757
  namespace UserAuthenticate {
1750
1758
  type RequestData = InferredRequestData<typeof descriptors.userAuthenticate>;
1751
1759
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticate, TStatus>;
@@ -1798,6 +1806,26 @@ export declare namespace MittwaldAPIV3Next {
1798
1806
  type RequestData = InferredRequestData<typeof descriptors.userCreateFeedback>;
1799
1807
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreateFeedback, TStatus>;
1800
1808
  }
1809
+ namespace UserCreatePasskeyChallenge {
1810
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyChallenge>;
1811
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyChallenge, TStatus>;
1812
+ }
1813
+ namespace UserCreatePasskeyConfirmationChallenge {
1814
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyConfirmationChallenge>;
1815
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyConfirmationChallenge, TStatus>;
1816
+ }
1817
+ namespace UserCreatePasskeyRegistrationChallenge {
1818
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyRegistrationChallenge>;
1819
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyRegistrationChallenge, TStatus>;
1820
+ }
1821
+ namespace UserListPasskeys {
1822
+ type RequestData = InferredRequestData<typeof descriptors.userListPasskeys>;
1823
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userListPasskeys, TStatus>;
1824
+ }
1825
+ namespace UserCreatePasskey {
1826
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskey>;
1827
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskey, TStatus>;
1828
+ }
1801
1829
  namespace UserListSshKeys {
1802
1830
  type RequestData = InferredRequestData<typeof descriptors.userListSshKeys>;
1803
1831
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userListSshKeys, TStatus>;
@@ -1818,6 +1846,14 @@ export declare namespace MittwaldAPIV3Next {
1818
1846
  type RequestData = InferredRequestData<typeof descriptors.userDeleteApiToken>;
1819
1847
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userDeleteApiToken, TStatus>;
1820
1848
  }
1849
+ namespace UserDeletePasskey {
1850
+ type RequestData = InferredRequestData<typeof descriptors.userDeletePasskey>;
1851
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userDeletePasskey, TStatus>;
1852
+ }
1853
+ namespace UserUpdatePasskey {
1854
+ type RequestData = InferredRequestData<typeof descriptors.userUpdatePasskey>;
1855
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdatePasskey, TStatus>;
1856
+ }
1821
1857
  namespace UserGetSshKey {
1822
1858
  type RequestData = InferredRequestData<typeof descriptors.userGetSshKey>;
1823
1859
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetSshKey, TStatus>;
@@ -8196,6 +8232,14 @@ export declare namespace MittwaldAPIV3Next {
8196
8232
  interface DeMittwaldActivitylogLogEntry {
8197
8233
  action: MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsDomainDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsIngressDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsZoneCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsZoneDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsCnameRecordSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsSrvRecordSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsCaaRecordSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsTxtRecordSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsARecordSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsARecordSetManaged | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsMxRecordSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDnsMxRecordSetManaged | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseDescriptionSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseVersionSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseMysqlUserCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseMysqlUserUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseMysqlUserPasswordSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogDatabaseMysqlUserDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationRequested | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationCopyRequested | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationDescriptionSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationFailed | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationDatabaseLinked | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationDatabaseUnlinked | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationMainDatabaseChanged | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationAppVersionSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationDesiredSystemSoftwareSet | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAppInstallationDesiredSystemSoftwareDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobDescriptionUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobIntervalUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobTimeZoneUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobTargetUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobCommandUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobServiceReferenceUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobTimeoutUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobConcurrencyPolicyUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobAlertThresholdUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobNotificationEmailUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobActiveUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogCronjobExecution | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerStackCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerStackDescriptionUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerStackStorageUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerStackUpdateScheduleUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerStackDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerDescriptionUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerImageUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerEntrypointUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerCommandUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerPortsUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerVolumesUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerEnvsUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerResourcesUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerRestartPolicyUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerLifecycle | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerVolumeCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerVolumeDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerRegistryCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerRegistryDescriptionUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerRegistryUriUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerRegistryCredentialsUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogContainerRegistryDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogProjectCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogProjectDescriptionUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogMembershipInviteCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogMembershipInviteStatusChanged | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogMembershipMemberAdded | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogMembershipMemberRoleUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogMembershipMemberExpiryUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogMembershipMemberRemoved | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSshUserCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSftpUserCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSshUserDescriptionUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSshUserPasswordUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSshUserPublicKeysUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSshUserActiveUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSshUserExpiryUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSftpUserAccessLevelUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSftpUserDirectoriesUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogSshUserDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupDescriptionUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupExpirationUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupExportRequested | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupRestoreRequested | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupScheduleCreated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupScheduleIntervalUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupScheduleTtlUpdated | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogBackupDeleted | MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogGenericAction;
8198
8234
  aggregate: MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogAggregateReference;
8235
+ credential?: {
8236
+ /**
8237
+ * Last known name of the API token, including removed or expired tokens.
8238
+ */
8239
+ apiTokenName?: string;
8240
+ id: string;
8241
+ kind: "unknown" | "userSession" | "apiToken" | "scopedToken" | "extensionInstance" | "extensionSession" | "serviceToken" | "atrek" | "classicIdentity";
8242
+ } | null;
8199
8243
  dateTime: string;
8200
8244
  /**
8201
8245
  * Null or empty object. If set, the action was executed by an mittwald employee.
@@ -8687,6 +8731,314 @@ export declare namespace MittwaldAPIV3Next {
8687
8731
  humanReadableName: string;
8688
8732
  id: string;
8689
8733
  }
8734
+ /**
8735
+ * A passkey assertion: the result of `navigator.credentials.get()` serialized with
8736
+ * [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3
8737
+ * [`AuthenticationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationresponsejson). Send it
8738
+ * unchanged. Binary values are base64url-encoded without padding.
8739
+ *
8740
+ */
8741
+ interface DeMittwaldSignupPasskeyAuthenticationResponse {
8742
+ /**
8743
+ * `platform` or `cross-platform`, if the browser reports it.
8744
+ */
8745
+ authenticatorAttachment?: string;
8746
+ /**
8747
+ * WebAuthn Level 3
8748
+ * [`AuthenticationExtensionsClientOutputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientoutputsjson).
8749
+ *
8750
+ */
8751
+ clientExtensionResults: {};
8752
+ /**
8753
+ * The credential id, base64url-encoded without padding.
8754
+ */
8755
+ id: string;
8756
+ /**
8757
+ * The credential id, base64url-encoded without padding (same value as `id`).
8758
+ */
8759
+ rawId: string;
8760
+ /**
8761
+ * WebAuthn Level 3
8762
+ * [`AuthenticatorAssertionResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorassertionresponsejson).
8763
+ *
8764
+ */
8765
+ response: {
8766
+ /**
8767
+ * The authenticator data, base64url-encoded without padding.
8768
+ */
8769
+ authenticatorData: string;
8770
+ /**
8771
+ * The client data (type, challenge, origin) as JSON, base64url-encoded without padding.
8772
+ */
8773
+ clientDataJSON: string;
8774
+ /**
8775
+ * The assertion signature, base64url-encoded without padding.
8776
+ */
8777
+ signature: string;
8778
+ /**
8779
+ * The `user.id` of the registration, base64url-encoded without padding. The passkey login
8780
+ * (`POST /authenticate-passkey`) takes the user from it.
8781
+ *
8782
+ */
8783
+ userHandle?: string;
8784
+ };
8785
+ /**
8786
+ * The credential type, always `public-key`.
8787
+ */
8788
+ type: string;
8789
+ }
8790
+ /**
8791
+ * A challenge for signing in or confirming an action with a passkey. Run `navigator.credentials.get()` with
8792
+ * `options` and send `challengeId` together with the resulting `credential.toJSON()`. The challenge can be used
8793
+ * once.
8794
+ *
8795
+ */
8796
+ interface DeMittwaldSignupPasskeyChallenge {
8797
+ challengeId: string;
8798
+ options: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
8799
+ }
8800
+ /**
8801
+ * Options for registering a passkey, as WebAuthn Level 3
8802
+ * [`PublicKeyCredentialCreationOptionsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialcreationoptionsjson).
8803
+ * Pass the object unchanged to
8804
+ * [`PublicKeyCredential.parseCreationOptionsFromJSON()`](https://www.w3.org/TR/webauthn-3/#sctn-parseCreationOptionsFromJSON)
8805
+ * and the result as `publicKey` to `navigator.credentials.create()`. Send the resulting credential back as
8806
+ * [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson) together with the
8807
+ * `challengeId` the options came with. Binary values are base64url-encoded without padding.
8808
+ *
8809
+ */
8810
+ interface DeMittwaldSignupPasskeyCreationOptions {
8811
+ /**
8812
+ * Always `none`; the API does not check which authenticator model created the passkey.
8813
+ */
8814
+ attestation: string;
8815
+ /**
8816
+ * Not set by this API.
8817
+ */
8818
+ attestationFormats?: string[];
8819
+ /**
8820
+ * Always a discoverable credential (`residentKey: required`) with user verification
8821
+ * (`userVerification: required`); no `authenticatorAttachment`, so the browser also offers other devices
8822
+ * (QR code).
8823
+ *
8824
+ */
8825
+ authenticatorSelection: {
8826
+ authenticatorAttachment?: string;
8827
+ requireResidentKey?: boolean;
8828
+ residentKey?: string;
8829
+ userVerification?: string;
8830
+ };
8831
+ /**
8832
+ * 32 random bytes, base64url-encoded without padding. Can be used once.
8833
+ */
8834
+ challenge: string;
8835
+ /**
8836
+ * The passkeys the user already has for this relying party; the authenticator does not register them again.
8837
+ */
8838
+ excludeCredentials: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredentialDescriptor[];
8839
+ /**
8840
+ * WebAuthn Level 3
8841
+ * [`AuthenticationExtensionsClientInputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientinputsjson).
8842
+ *
8843
+ */
8844
+ extensions?: {};
8845
+ /**
8846
+ * Hints for the browser which authenticator to offer. Not set by this API.
8847
+ */
8848
+ hints?: string[];
8849
+ /**
8850
+ * The accepted key types, ES256 (`-7`) and RS256 (`-257`).
8851
+ */
8852
+ pubKeyCredParams: {
8853
+ /**
8854
+ * A COSE algorithm identifier.
8855
+ */
8856
+ alg: number;
8857
+ /**
8858
+ * Always `public-key`.
8859
+ */
8860
+ type: string;
8861
+ }[];
8862
+ /**
8863
+ * The relying party, selected from the `Origin` header of the request that created the challenge.
8864
+ */
8865
+ rp: {
8866
+ id: string;
8867
+ name: string;
8868
+ };
8869
+ /**
8870
+ * Milliseconds until the challenge expires.
8871
+ */
8872
+ timeout: number;
8873
+ /**
8874
+ * The user the passkey is created for, as WebAuthn Level 3
8875
+ * [`PublicKeyCredentialUserEntityJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialuserentityjson).
8876
+ *
8877
+ */
8878
+ user: {
8879
+ /**
8880
+ * First and last name of the user, or the email address if both are empty.
8881
+ */
8882
+ displayName: string;
8883
+ /**
8884
+ * The UTF-8 bytes of the user id, base64url-encoded without padding. A passkey login returns it as
8885
+ * `response.userHandle`.
8886
+ *
8887
+ */
8888
+ id: string;
8889
+ /**
8890
+ * The verified email address of the user.
8891
+ */
8892
+ name: string;
8893
+ };
8894
+ }
8895
+ /**
8896
+ * A passkey assertion that proves the second factor. `challengeId` comes from `POST /users/self/passkey-challenges`
8897
+ * (or from `passkeyChallenge` of `POST /authenticate` for `POST /authenticate-mfa`), `credential` is the
8898
+ * `credential.toJSON()` of the `navigator.credentials.get()` call with its `options`.
8899
+ *
8900
+ */
8901
+ interface DeMittwaldSignupPasskeyCredential {
8902
+ challengeId: string;
8903
+ credential: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyAuthenticationResponse;
8904
+ }
8905
+ /**
8906
+ * A passkey of the user, as WebAuthn Level 3
8907
+ * [`PublicKeyCredentialDescriptorJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialdescriptorjson).
8908
+ *
8909
+ */
8910
+ interface DeMittwaldSignupPasskeyCredentialDescriptor {
8911
+ /**
8912
+ * The credential id, base64url-encoded without padding.
8913
+ */
8914
+ id: string;
8915
+ /**
8916
+ * How the browser can reach the authenticator, as reported at registration (`internal`, `hybrid`, `usb`,
8917
+ * `nfc`, `ble`, `smart-card`).
8918
+ *
8919
+ */
8920
+ transports?: string[];
8921
+ /**
8922
+ * The credential type, always `public-key`.
8923
+ */
8924
+ type: string;
8925
+ }
8926
+ /**
8927
+ * A challenge for registering a passkey. Run `navigator.credentials.create()` with `options` and send
8928
+ * `challengeId` together with the resulting `credential.toJSON()` to `POST /users/self/passkeys`. The challenge
8929
+ * can be used once.
8930
+ *
8931
+ */
8932
+ interface DeMittwaldSignupPasskeyRegistrationChallenge {
8933
+ challengeId: string;
8934
+ options: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCreationOptions;
8935
+ }
8936
+ /**
8937
+ * A new passkey: the result of `navigator.credentials.create()` serialized with
8938
+ * [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3
8939
+ * [`RegistrationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-registrationresponsejson). Send it
8940
+ * unchanged. Binary values are base64url-encoded without padding.
8941
+ *
8942
+ */
8943
+ interface DeMittwaldSignupPasskeyRegistrationResponse {
8944
+ /**
8945
+ * `platform` or `cross-platform`, if the browser reports it.
8946
+ */
8947
+ authenticatorAttachment?: string;
8948
+ /**
8949
+ * WebAuthn Level 3
8950
+ * [`AuthenticationExtensionsClientOutputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientoutputsjson).
8951
+ *
8952
+ */
8953
+ clientExtensionResults: {};
8954
+ /**
8955
+ * The credential id, base64url-encoded without padding.
8956
+ */
8957
+ id: string;
8958
+ /**
8959
+ * The credential id, base64url-encoded without padding (same value as `id`).
8960
+ */
8961
+ rawId: string;
8962
+ /**
8963
+ * WebAuthn Level 3
8964
+ * [`AuthenticatorAttestationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorattestationresponsejson).
8965
+ *
8966
+ */
8967
+ response: {
8968
+ /**
8969
+ * The CBOR attestation object, base64url-encoded without padding.
8970
+ */
8971
+ attestationObject: string;
8972
+ /**
8973
+ * The authenticator data, base64url-encoded without padding.
8974
+ */
8975
+ authenticatorData: string;
8976
+ /**
8977
+ * The client data (type, challenge, origin) as JSON, base64url-encoded without padding.
8978
+ */
8979
+ clientDataJSON: string;
8980
+ /**
8981
+ * The public key as DER `SubjectPublicKeyInfo`, base64url-encoded without padding, if the browser knows the algorithm.
8982
+ */
8983
+ publicKey?: string;
8984
+ /**
8985
+ * The COSE algorithm identifier of the key.
8986
+ */
8987
+ publicKeyAlgorithm: number;
8988
+ /**
8989
+ * How the browser can reach the authenticator (`internal`, `hybrid`, `usb`, `nfc`, `ble`, `smart-card`).
8990
+ */
8991
+ transports: string[];
8992
+ };
8993
+ /**
8994
+ * The credential type, always `public-key`.
8995
+ */
8996
+ type: string;
8997
+ }
8998
+ /**
8999
+ * Options for signing in with a passkey, as WebAuthn Level 3
9000
+ * [`PublicKeyCredentialRequestOptionsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialrequestoptionsjson).
9001
+ * Pass the object unchanged to
9002
+ * [`PublicKeyCredential.parseRequestOptionsFromJSON()`](https://www.w3.org/TR/webauthn-3/#sctn-parseRequestOptionsFromJSON)
9003
+ * and the result as `publicKey` to `navigator.credentials.get()`. Send the resulting credential back as
9004
+ * [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson) together with the
9005
+ * `challengeId` the options came with. Binary values are base64url-encoded without padding.
9006
+ *
9007
+ */
9008
+ interface DeMittwaldSignupPasskeyRequestOptions {
9009
+ /**
9010
+ * The passkeys of the user for this relying party. Empty for the passkey login, so the browser offers every
9011
+ * passkey it has for the relying party.
9012
+ *
9013
+ */
9014
+ allowCredentials: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredentialDescriptor[];
9015
+ /**
9016
+ * 32 random bytes, base64url-encoded without padding. Can be used once.
9017
+ */
9018
+ challenge: string;
9019
+ /**
9020
+ * WebAuthn Level 3
9021
+ * [`AuthenticationExtensionsClientInputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientinputsjson).
9022
+ *
9023
+ */
9024
+ extensions?: {};
9025
+ /**
9026
+ * Hints for the browser which authenticator to offer. Not set by this API.
9027
+ */
9028
+ hints?: string[];
9029
+ /**
9030
+ * The relying party, selected from the `Origin` header of the request that created the challenge.
9031
+ */
9032
+ rpId: string;
9033
+ /**
9034
+ * Milliseconds until the challenge expires.
9035
+ */
9036
+ timeout: number;
9037
+ /**
9038
+ * Always `required`; the authenticator has to verify the user (biometrics or device PIN).
9039
+ */
9040
+ userVerification: string;
9041
+ }
8690
9042
  interface DeMittwaldSignupProfile {
8691
9043
  email?: string;
8692
9044
  /**
@@ -10896,6 +11248,13 @@ export declare namespace MittwaldAPIV3Next {
10896
11248
  type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppInstallation;
10897
11249
  }
10898
11250
  }
11251
+ namespace $403 {
11252
+ namespace Content {
11253
+ interface ApplicationJson {
11254
+ [k: string]: unknown;
11255
+ }
11256
+ }
11257
+ }
10899
11258
  namespace $404 {
10900
11259
  namespace Content {
10901
11260
  interface ApplicationJson {
@@ -10970,6 +11329,10 @@ export declare namespace MittwaldAPIV3Next {
10970
11329
  };
10971
11330
  interface RequestBody {
10972
11331
  appVersionId?: string;
11332
+ /**
11333
+ * Enabling automatic updates may first update the AppInstallation to the newest permitted app version.
11334
+ */
11335
+ autoUpdatesActivated?: boolean;
10973
11336
  customDocumentRoot?: string;
10974
11337
  /**
10975
11338
  * Desired changes to the databases linked to this AppInstallation, keyed by
@@ -19392,6 +19755,13 @@ export declare namespace MittwaldAPIV3Next {
19392
19755
  }
19393
19756
  }
19394
19757
  }
19758
+ namespace $403 {
19759
+ namespace Content {
19760
+ interface ApplicationJson {
19761
+ [k: string]: unknown;
19762
+ }
19763
+ }
19764
+ }
19395
19765
  namespace $404 {
19396
19766
  namespace Content {
19397
19767
  interface ApplicationJson {
@@ -19700,6 +20070,13 @@ export declare namespace MittwaldAPIV3Next {
19700
20070
  }
19701
20071
  }
19702
20072
  }
20073
+ namespace $403 {
20074
+ namespace Content {
20075
+ interface ApplicationJson {
20076
+ [k: string]: unknown;
20077
+ }
20078
+ }
20079
+ }
19703
20080
  namespace $404 {
19704
20081
  namespace Content {
19705
20082
  interface ApplicationJson {
@@ -28457,6 +28834,43 @@ export declare namespace MittwaldAPIV3Next {
28457
28834
  }
28458
28835
  }
28459
28836
  }
28837
+ namespace V3NextNotificationSettingsActionsReset {
28838
+ namespace Post {
28839
+ namespace Parameters {
28840
+ type Path = {};
28841
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
28842
+ type Query = {};
28843
+ }
28844
+ namespace Responses {
28845
+ namespace $204 {
28846
+ namespace Content {
28847
+ type Empty = unknown;
28848
+ }
28849
+ }
28850
+ namespace $403 {
28851
+ namespace Content {
28852
+ interface ApplicationJson {
28853
+ [k: string]: unknown;
28854
+ }
28855
+ }
28856
+ }
28857
+ namespace $429 {
28858
+ namespace Content {
28859
+ interface ApplicationJson {
28860
+ [k: string]: unknown;
28861
+ }
28862
+ }
28863
+ }
28864
+ namespace Default {
28865
+ namespace Content {
28866
+ interface ApplicationJson {
28867
+ [k: string]: unknown;
28868
+ }
28869
+ }
28870
+ }
28871
+ }
28872
+ }
28873
+ }
28460
28874
  namespace V3NextNotificationsNotificationIdStatus {
28461
28875
  namespace Put {
28462
28876
  namespace Parameters {
@@ -32112,7 +32526,8 @@ export declare namespace MittwaldAPIV3Next {
32112
32526
  /**
32113
32527
  * The second factor - otp code or recovery code.
32114
32528
  */
32115
- multiFactorCode: string;
32529
+ multiFactorCode?: string;
32530
+ passkeyCredential?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential;
32116
32531
  /**
32117
32532
  * The password of the user.
32118
32533
  */
@@ -32176,19 +32591,13 @@ export declare namespace MittwaldAPIV3Next {
32176
32591
  }
32177
32592
  }
32178
32593
  }
32179
- namespace V3NextAuthenticate {
32594
+ namespace V3NextAuthenticatePasskey {
32180
32595
  namespace Post {
32181
32596
  namespace Parameters {
32182
32597
  type Path = {};
32183
32598
  interface RequestBody {
32184
- /**
32185
- * The users Email-Address.
32186
- */
32187
- email: string;
32188
- /**
32189
- * Password of the User.
32190
- */
32191
- password: string;
32599
+ challengeId: string;
32600
+ credential: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyAuthenticationResponse;
32192
32601
  }
32193
32602
  type Header = {};
32194
32603
  type Query = {
@@ -32214,13 +32623,6 @@ export declare namespace MittwaldAPIV3Next {
32214
32623
  }
32215
32624
  }
32216
32625
  }
32217
- namespace $202 {
32218
- namespace Content {
32219
- interface ApplicationJson {
32220
- name?: "SecondFactorRequired";
32221
- }
32222
- }
32223
- }
32224
32626
  namespace $204 {
32225
32627
  namespace Content {
32226
32628
  type Empty = unknown;
@@ -32231,12 +32633,14 @@ export declare namespace MittwaldAPIV3Next {
32231
32633
  type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrors | MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
32232
32634
  }
32233
32635
  }
32234
- namespace $401 {
32636
+ namespace $429 {
32235
32637
  namespace Content {
32236
- type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrors | MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
32638
+ interface ApplicationJson {
32639
+ [k: string]: unknown;
32640
+ }
32237
32641
  }
32238
32642
  }
32239
- namespace $429 {
32643
+ namespace $500 {
32240
32644
  namespace Content {
32241
32645
  interface ApplicationJson {
32242
32646
  [k: string]: unknown;
@@ -32253,7 +32657,89 @@ export declare namespace MittwaldAPIV3Next {
32253
32657
  }
32254
32658
  }
32255
32659
  }
32256
- namespace V3NextAuthenticateTokenRetrievalKey {
32660
+ namespace V3NextAuthenticate {
32661
+ namespace Post {
32662
+ namespace Parameters {
32663
+ type Path = {};
32664
+ interface RequestBody {
32665
+ /**
32666
+ * The users Email-Address.
32667
+ */
32668
+ email: string;
32669
+ /**
32670
+ * Password of the User.
32671
+ */
32672
+ password: string;
32673
+ }
32674
+ type Header = {};
32675
+ type Query = {
32676
+ cookieOnly?: boolean;
32677
+ };
32678
+ }
32679
+ namespace Responses {
32680
+ namespace $200 {
32681
+ namespace Content {
32682
+ interface ApplicationJson {
32683
+ /**
32684
+ * The expiration date of the token.
32685
+ */
32686
+ expires: string;
32687
+ /**
32688
+ * Refresh token to refresh your access token even after it has expired.
32689
+ */
32690
+ refreshToken: string;
32691
+ /**
32692
+ * Public token to identify yourself against the api gateway.
32693
+ */
32694
+ token: string;
32695
+ }
32696
+ }
32697
+ }
32698
+ namespace $202 {
32699
+ namespace Content {
32700
+ interface ApplicationJson {
32701
+ /**
32702
+ * More values may be added in the future; clients must ignore values they do not know.
32703
+ */
32704
+ availableSecondFactors: ("totp" | "passkey")[];
32705
+ name?: "SecondFactorRequired";
32706
+ passkeyChallenge?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyChallenge;
32707
+ }
32708
+ }
32709
+ }
32710
+ namespace $204 {
32711
+ namespace Content {
32712
+ type Empty = unknown;
32713
+ }
32714
+ }
32715
+ namespace $400 {
32716
+ namespace Content {
32717
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrors | MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
32718
+ }
32719
+ }
32720
+ namespace $401 {
32721
+ namespace Content {
32722
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrors | MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
32723
+ }
32724
+ }
32725
+ namespace $429 {
32726
+ namespace Content {
32727
+ interface ApplicationJson {
32728
+ [k: string]: unknown;
32729
+ }
32730
+ }
32731
+ }
32732
+ namespace Default {
32733
+ namespace Content {
32734
+ interface ApplicationJson {
32735
+ [k: string]: unknown;
32736
+ }
32737
+ }
32738
+ }
32739
+ }
32740
+ }
32741
+ }
32742
+ namespace V3NextAuthenticateTokenRetrievalKey {
32257
32743
  namespace Post {
32258
32744
  namespace Parameters {
32259
32745
  type Path = {};
@@ -32391,9 +32877,7 @@ export declare namespace MittwaldAPIV3Next {
32391
32877
  type Path = {};
32392
32878
  interface RequestBody {
32393
32879
  /**
32394
- * Multi Factor Code to confirm MFA.
32395
- * This is optional, depending on the MFA activation status of the profile.
32396
- *
32880
+ * A TOTP code or recovery code.
32397
32881
  */
32398
32882
  multiFactorCode?: string;
32399
32883
  /**
@@ -32404,6 +32888,7 @@ export declare namespace MittwaldAPIV3Next {
32404
32888
  * The old password.
32405
32889
  */
32406
32890
  oldPassword: string;
32891
+ passkeyCredential?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential;
32407
32892
  }
32408
32893
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
32409
32894
  type Query = {};
@@ -32467,7 +32952,13 @@ export declare namespace MittwaldAPIV3Next {
32467
32952
  namespace $200 {
32468
32953
  namespace Content {
32469
32954
  interface ApplicationJson {
32955
+ /**
32956
+ * TOTP has been confirmed and is active.
32957
+ */
32470
32958
  confirmed: boolean;
32959
+ /**
32960
+ * TOTP has been initialized.
32961
+ */
32471
32962
  initialized: boolean;
32472
32963
  }
32473
32964
  }
@@ -32493,9 +32984,10 @@ export declare namespace MittwaldAPIV3Next {
32493
32984
  type Path = {};
32494
32985
  interface RequestBody {
32495
32986
  /**
32496
- * Multi Factor Code to authorize your request.
32987
+ * A TOTP code or recovery code.
32497
32988
  */
32498
- multiFactorCode: string;
32989
+ multiFactorCode?: string;
32990
+ passkeyCredential?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential;
32499
32991
  }
32500
32992
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
32501
32993
  type Query = {};
@@ -32625,9 +33117,10 @@ export declare namespace MittwaldAPIV3Next {
32625
33117
  type Path = {};
32626
33118
  interface RequestBody {
32627
33119
  /**
32628
- * Multi Factor Code to confirm MFA.
33120
+ * A TOTP code or recovery code.
32629
33121
  */
32630
- multiFactorCode: string;
33122
+ multiFactorCode?: string;
33123
+ passkeyCredential?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential;
32631
33124
  }
32632
33125
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
32633
33126
  type Query = {};
@@ -32860,6 +33353,272 @@ export declare namespace MittwaldAPIV3Next {
32860
33353
  }
32861
33354
  }
32862
33355
  }
33356
+ namespace V3NextPasskeyChallenges {
33357
+ namespace Post {
33358
+ namespace Parameters {
33359
+ type Path = {};
33360
+ type Header = {};
33361
+ type Query = {};
33362
+ }
33363
+ namespace Responses {
33364
+ namespace $201 {
33365
+ namespace Content {
33366
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyChallenge;
33367
+ }
33368
+ }
33369
+ namespace $400 {
33370
+ namespace Content {
33371
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33372
+ }
33373
+ }
33374
+ namespace $429 {
33375
+ namespace Content {
33376
+ interface ApplicationJson {
33377
+ [k: string]: unknown;
33378
+ }
33379
+ }
33380
+ }
33381
+ namespace $500 {
33382
+ namespace Content {
33383
+ interface ApplicationJson {
33384
+ [k: string]: unknown;
33385
+ }
33386
+ }
33387
+ }
33388
+ namespace Default {
33389
+ namespace Content {
33390
+ interface ApplicationJson {
33391
+ [k: string]: unknown;
33392
+ }
33393
+ }
33394
+ }
33395
+ }
33396
+ }
33397
+ }
33398
+ namespace V3NextUsersSelfPasskeyChallenges {
33399
+ namespace Post {
33400
+ namespace Parameters {
33401
+ type Path = {};
33402
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
33403
+ type Query = {};
33404
+ }
33405
+ namespace Responses {
33406
+ namespace $201 {
33407
+ namespace Content {
33408
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyChallenge;
33409
+ }
33410
+ }
33411
+ namespace $400 {
33412
+ namespace Content {
33413
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33414
+ }
33415
+ }
33416
+ namespace $429 {
33417
+ namespace Content {
33418
+ interface ApplicationJson {
33419
+ [k: string]: unknown;
33420
+ }
33421
+ }
33422
+ }
33423
+ namespace $500 {
33424
+ namespace Content {
33425
+ interface ApplicationJson {
33426
+ [k: string]: unknown;
33427
+ }
33428
+ }
33429
+ }
33430
+ namespace Default {
33431
+ namespace Content {
33432
+ interface ApplicationJson {
33433
+ [k: string]: unknown;
33434
+ }
33435
+ }
33436
+ }
33437
+ }
33438
+ }
33439
+ }
33440
+ namespace V3NextUsersSelfPasskeyRegistrationChallenges {
33441
+ namespace Post {
33442
+ namespace Parameters {
33443
+ type Path = {};
33444
+ interface RequestBody {
33445
+ /**
33446
+ * A TOTP code or recovery code.
33447
+ */
33448
+ multiFactorCode?: string;
33449
+ passkeyCredential?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential;
33450
+ /**
33451
+ * The password of the user.
33452
+ */
33453
+ password: string;
33454
+ }
33455
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
33456
+ type Query = {};
33457
+ }
33458
+ namespace Responses {
33459
+ namespace $201 {
33460
+ namespace Content {
33461
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRegistrationChallenge;
33462
+ }
33463
+ }
33464
+ namespace $202 {
33465
+ namespace Content {
33466
+ interface ApplicationJson {
33467
+ [k: string]: unknown;
33468
+ }
33469
+ }
33470
+ }
33471
+ namespace $400 {
33472
+ namespace Content {
33473
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrors | MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33474
+ }
33475
+ }
33476
+ namespace $412 {
33477
+ namespace Content {
33478
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33479
+ }
33480
+ }
33481
+ namespace $429 {
33482
+ namespace Content {
33483
+ interface ApplicationJson {
33484
+ [k: string]: unknown;
33485
+ }
33486
+ }
33487
+ }
33488
+ namespace $500 {
33489
+ namespace Content {
33490
+ interface ApplicationJson {
33491
+ [k: string]: unknown;
33492
+ }
33493
+ }
33494
+ }
33495
+ namespace Default {
33496
+ namespace Content {
33497
+ interface ApplicationJson {
33498
+ [k: string]: unknown;
33499
+ }
33500
+ }
33501
+ }
33502
+ }
33503
+ }
33504
+ }
33505
+ namespace V3NextUsersSelfPasskeys {
33506
+ namespace Get {
33507
+ namespace Parameters {
33508
+ type Path = {};
33509
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
33510
+ type Query = {};
33511
+ }
33512
+ namespace Responses {
33513
+ namespace $200 {
33514
+ namespace Content {
33515
+ type ApplicationJson = {
33516
+ /**
33517
+ * The authenticator model identifier.
33518
+ */
33519
+ aaguid: string;
33520
+ /**
33521
+ * Whether the authenticator can back up (sync) the passkey, as reported at registration.
33522
+ */
33523
+ backupEligible: boolean;
33524
+ /**
33525
+ * Whether the passkey was backed up (synced) at registration. Not updated afterwards.
33526
+ */
33527
+ backupState: boolean;
33528
+ createdAt: string;
33529
+ /**
33530
+ * The base64url encoded WebAuthn credential id.
33531
+ */
33532
+ credentialId: string;
33533
+ id: string;
33534
+ name: string;
33535
+ rpId: string;
33536
+ }[];
33537
+ }
33538
+ }
33539
+ namespace $429 {
33540
+ namespace Content {
33541
+ interface ApplicationJson {
33542
+ [k: string]: unknown;
33543
+ }
33544
+ }
33545
+ }
33546
+ namespace $500 {
33547
+ namespace Content {
33548
+ interface ApplicationJson {
33549
+ [k: string]: unknown;
33550
+ }
33551
+ }
33552
+ }
33553
+ namespace Default {
33554
+ namespace Content {
33555
+ interface ApplicationJson {
33556
+ [k: string]: unknown;
33557
+ }
33558
+ }
33559
+ }
33560
+ }
33561
+ }
33562
+ namespace Post {
33563
+ namespace Parameters {
33564
+ type Path = {};
33565
+ interface RequestBody {
33566
+ challengeId: string;
33567
+ credential: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRegistrationResponse;
33568
+ /**
33569
+ * The display name of the passkey.
33570
+ */
33571
+ name: string;
33572
+ }
33573
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
33574
+ type Query = {};
33575
+ }
33576
+ namespace Responses {
33577
+ namespace $201 {
33578
+ namespace Content {
33579
+ interface ApplicationJson {
33580
+ id: string;
33581
+ /**
33582
+ * Only set if the passkey is the first second factor of the user.
33583
+ */
33584
+ recoveryCodes?: string[];
33585
+ }
33586
+ }
33587
+ }
33588
+ namespace $400 {
33589
+ namespace Content {
33590
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrors | MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33591
+ }
33592
+ }
33593
+ namespace $412 {
33594
+ namespace Content {
33595
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33596
+ }
33597
+ }
33598
+ namespace $429 {
33599
+ namespace Content {
33600
+ interface ApplicationJson {
33601
+ [k: string]: unknown;
33602
+ }
33603
+ }
33604
+ }
33605
+ namespace $500 {
33606
+ namespace Content {
33607
+ interface ApplicationJson {
33608
+ [k: string]: unknown;
33609
+ }
33610
+ }
33611
+ }
33612
+ namespace Default {
33613
+ namespace Content {
33614
+ interface ApplicationJson {
33615
+ [k: string]: unknown;
33616
+ }
33617
+ }
33618
+ }
33619
+ }
33620
+ }
33621
+ }
32863
33622
  namespace V3NextUsersSelfSshKeys {
32864
33623
  namespace Get {
32865
33624
  namespace Parameters {
@@ -33053,6 +33812,114 @@ export declare namespace MittwaldAPIV3Next {
33053
33812
  }
33054
33813
  }
33055
33814
  }
33815
+ namespace V3NextUsersSelfPasskeysPasskeyId {
33816
+ namespace Delete {
33817
+ namespace Parameters {
33818
+ type Path = {
33819
+ passkeyId: string;
33820
+ };
33821
+ interface RequestBody {
33822
+ /**
33823
+ * A TOTP code or recovery code.
33824
+ */
33825
+ multiFactorCode?: string;
33826
+ passkeyCredential?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential;
33827
+ }
33828
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
33829
+ type Query = {};
33830
+ }
33831
+ namespace Responses {
33832
+ namespace $204 {
33833
+ namespace Content {
33834
+ type Empty = unknown;
33835
+ }
33836
+ }
33837
+ namespace $400 {
33838
+ namespace Content {
33839
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrors;
33840
+ }
33841
+ }
33842
+ namespace $404 {
33843
+ namespace Content {
33844
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33845
+ }
33846
+ }
33847
+ namespace $429 {
33848
+ namespace Content {
33849
+ interface ApplicationJson {
33850
+ [k: string]: unknown;
33851
+ }
33852
+ }
33853
+ }
33854
+ namespace $500 {
33855
+ namespace Content {
33856
+ interface ApplicationJson {
33857
+ [k: string]: unknown;
33858
+ }
33859
+ }
33860
+ }
33861
+ namespace Default {
33862
+ namespace Content {
33863
+ interface ApplicationJson {
33864
+ [k: string]: unknown;
33865
+ }
33866
+ }
33867
+ }
33868
+ }
33869
+ }
33870
+ namespace Patch {
33871
+ namespace Parameters {
33872
+ type Path = {
33873
+ passkeyId: string;
33874
+ };
33875
+ interface RequestBody {
33876
+ name: string;
33877
+ }
33878
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
33879
+ type Query = {};
33880
+ }
33881
+ namespace Responses {
33882
+ namespace $204 {
33883
+ namespace Content {
33884
+ type Empty = unknown;
33885
+ }
33886
+ }
33887
+ namespace $400 {
33888
+ namespace Content {
33889
+ interface ApplicationJson {
33890
+ [k: string]: unknown;
33891
+ }
33892
+ }
33893
+ }
33894
+ namespace $404 {
33895
+ namespace Content {
33896
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33897
+ }
33898
+ }
33899
+ namespace $429 {
33900
+ namespace Content {
33901
+ interface ApplicationJson {
33902
+ [k: string]: unknown;
33903
+ }
33904
+ }
33905
+ }
33906
+ namespace $500 {
33907
+ namespace Content {
33908
+ interface ApplicationJson {
33909
+ [k: string]: unknown;
33910
+ }
33911
+ }
33912
+ }
33913
+ namespace Default {
33914
+ namespace Content {
33915
+ interface ApplicationJson {
33916
+ [k: string]: unknown;
33917
+ }
33918
+ }
33919
+ }
33920
+ }
33921
+ }
33922
+ }
33056
33923
  namespace V3NextUsersSelfSshKeysSshKeyId {
33057
33924
  namespace Get {
33058
33925
  namespace Parameters {
@@ -33171,9 +34038,13 @@ export declare namespace MittwaldAPIV3Next {
33171
34038
  type Path = {};
33172
34039
  interface RequestBody {
33173
34040
  /**
33174
- * Multi Factor Code to authorize your request.
34041
+ * A TOTP code or recovery code.
33175
34042
  */
33176
34043
  multiFactorCode?: string;
34044
+ passkeyCredential?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential;
34045
+ /**
34046
+ * The password of the user.
34047
+ */
33177
34048
  password: string;
33178
34049
  }
33179
34050
  type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
@@ -33199,9 +34070,7 @@ export declare namespace MittwaldAPIV3Next {
33199
34070
  }
33200
34071
  namespace $412 {
33201
34072
  namespace Content {
33202
- interface ApplicationJson {
33203
- [k: string]: unknown;
33204
- }
34073
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsError;
33205
34074
  }
33206
34075
  }
33207
34076
  namespace $429 {
@@ -33637,6 +34506,20 @@ export declare namespace MittwaldAPIV3Next {
33637
34506
  type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUser;
33638
34507
  }
33639
34508
  }
34509
+ namespace $400 {
34510
+ namespace Content {
34511
+ interface ApplicationJson {
34512
+ [k: string]: unknown;
34513
+ }
34514
+ }
34515
+ }
34516
+ namespace $401 {
34517
+ namespace Content {
34518
+ interface ApplicationJson {
34519
+ [k: string]: unknown;
34520
+ }
34521
+ }
34522
+ }
33640
34523
  namespace $403 {
33641
34524
  namespace Content {
33642
34525
  interface ApplicationJson {