@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.
- package/dist/esm/generated/v2/client-react.js +2 -0
- package/dist/esm/generated/v2/client.js +18 -0
- package/dist/esm/generated/v2/descriptors.js +54 -0
- package/dist/esm/generated/v3-next/client-react.js +2 -0
- package/dist/esm/generated/v3-next/client.js +18 -0
- package/dist/esm/generated/v3-next/descriptors.js +54 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +16 -0
- package/dist/types/generated/v2/client.d.ts +743 -70
- package/dist/types/generated/v2/descriptors.d.ts +22 -4
- package/dist/types/generated/v2/types.d.ts +915 -32
- package/dist/types/generated/v3-next/client-react.d.ts +16 -0
- package/dist/types/generated/v3-next/client.d.ts +741 -68
- package/dist/types/generated/v3-next/descriptors.d.ts +22 -4
- package/dist/types/generated/v3-next/types.d.ts +915 -32
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1446,6 +1446,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
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 MittwaldAPIV2 {
|
|
|
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 MittwaldAPIV2 {
|
|
|
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 MittwaldAPIV2 {
|
|
|
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>;
|
|
@@ -8192,6 +8228,14 @@ export declare namespace MittwaldAPIV2 {
|
|
|
8192
8228
|
interface ActivitylogLogEntry {
|
|
8193
8229
|
action: MittwaldAPIV2.Components.Schemas.ActivitylogDnsDomainDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogDnsIngressDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogDnsZoneCreated | MittwaldAPIV2.Components.Schemas.ActivitylogDnsZoneDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogDnsCnameRecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDnsSrvRecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDnsCaaRecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDnsTxtRecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDnsARecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDnsARecordSetManaged | MittwaldAPIV2.Components.Schemas.ActivitylogDnsMxRecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDnsMxRecordSetManaged | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseCreated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseDescriptionSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseVersionSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserCreated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserPasswordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationRequested | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationCopyRequested | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDescriptionSet | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationFailed | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDatabaseLinked | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDatabaseUnlinked | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationMainDatabaseChanged | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationAppVersionSet | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDesiredSystemSoftwareSet | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDesiredSystemSoftwareDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobCreated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobDescriptionUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobIntervalUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobTimeZoneUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobTargetUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobCommandUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobServiceReferenceUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobTimeoutUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobConcurrencyPolicyUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobAlertThresholdUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobNotificationEmailUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobActiveUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogCronjobExecution | MittwaldAPIV2.Components.Schemas.ActivitylogContainerStackCreated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerStackDescriptionUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerStackStorageUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerStackUpdateScheduleUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerStackDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogContainerCreated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerDescriptionUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerImageUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerEntrypointUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerCommandUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerPortsUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerVolumesUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerEnvsUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerResourcesUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerRestartPolicyUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerLifecycle | MittwaldAPIV2.Components.Schemas.ActivitylogContainerDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogContainerVolumeCreated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerVolumeDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogContainerRegistryCreated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerRegistryDescriptionUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerRegistryUriUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerRegistryCredentialsUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogContainerRegistryDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogProjectCreated | MittwaldAPIV2.Components.Schemas.ActivitylogProjectDescriptionUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogMembershipInviteCreated | MittwaldAPIV2.Components.Schemas.ActivitylogMembershipInviteStatusChanged | MittwaldAPIV2.Components.Schemas.ActivitylogMembershipMemberAdded | MittwaldAPIV2.Components.Schemas.ActivitylogMembershipMemberRoleUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogMembershipMemberExpiryUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogMembershipMemberRemoved | MittwaldAPIV2.Components.Schemas.ActivitylogSshUserCreated | MittwaldAPIV2.Components.Schemas.ActivitylogSftpUserCreated | MittwaldAPIV2.Components.Schemas.ActivitylogSshUserDescriptionUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogSshUserPasswordUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogSshUserPublicKeysUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogSshUserActiveUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogSshUserExpiryUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogSftpUserAccessLevelUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogSftpUserDirectoriesUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogSshUserDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogBackupCreated | MittwaldAPIV2.Components.Schemas.ActivitylogBackupDescriptionUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogBackupExpirationUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogBackupExportRequested | MittwaldAPIV2.Components.Schemas.ActivitylogBackupRestoreRequested | MittwaldAPIV2.Components.Schemas.ActivitylogBackupScheduleCreated | MittwaldAPIV2.Components.Schemas.ActivitylogBackupScheduleIntervalUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogBackupScheduleTtlUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogBackupDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogGenericAction;
|
|
8194
8230
|
aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
|
|
8231
|
+
credential?: {
|
|
8232
|
+
/**
|
|
8233
|
+
* Last known name of the API token, including removed or expired tokens.
|
|
8234
|
+
*/
|
|
8235
|
+
apiTokenName?: string;
|
|
8236
|
+
id: string;
|
|
8237
|
+
kind: "unknown" | "userSession" | "apiToken" | "scopedToken" | "extensionInstance" | "extensionSession" | "serviceToken" | "atrek" | "classicIdentity";
|
|
8238
|
+
} | null;
|
|
8195
8239
|
dateTime: string;
|
|
8196
8240
|
/**
|
|
8197
8241
|
* Null or empty object. If set, the action was executed by an mittwald employee.
|
|
@@ -8683,6 +8727,314 @@ export declare namespace MittwaldAPIV2 {
|
|
|
8683
8727
|
humanReadableName: string;
|
|
8684
8728
|
id: string;
|
|
8685
8729
|
}
|
|
8730
|
+
/**
|
|
8731
|
+
* A passkey assertion: the result of `navigator.credentials.get()` serialized with
|
|
8732
|
+
* [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3
|
|
8733
|
+
* [`AuthenticationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationresponsejson). Send it
|
|
8734
|
+
* unchanged. Binary values are base64url-encoded without padding.
|
|
8735
|
+
*
|
|
8736
|
+
*/
|
|
8737
|
+
interface SignupPasskeyAuthenticationResponse {
|
|
8738
|
+
/**
|
|
8739
|
+
* `platform` or `cross-platform`, if the browser reports it.
|
|
8740
|
+
*/
|
|
8741
|
+
authenticatorAttachment?: string;
|
|
8742
|
+
/**
|
|
8743
|
+
* WebAuthn Level 3
|
|
8744
|
+
* [`AuthenticationExtensionsClientOutputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientoutputsjson).
|
|
8745
|
+
*
|
|
8746
|
+
*/
|
|
8747
|
+
clientExtensionResults: {};
|
|
8748
|
+
/**
|
|
8749
|
+
* The credential id, base64url-encoded without padding.
|
|
8750
|
+
*/
|
|
8751
|
+
id: string;
|
|
8752
|
+
/**
|
|
8753
|
+
* The credential id, base64url-encoded without padding (same value as `id`).
|
|
8754
|
+
*/
|
|
8755
|
+
rawId: string;
|
|
8756
|
+
/**
|
|
8757
|
+
* WebAuthn Level 3
|
|
8758
|
+
* [`AuthenticatorAssertionResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorassertionresponsejson).
|
|
8759
|
+
*
|
|
8760
|
+
*/
|
|
8761
|
+
response: {
|
|
8762
|
+
/**
|
|
8763
|
+
* The authenticator data, base64url-encoded without padding.
|
|
8764
|
+
*/
|
|
8765
|
+
authenticatorData: string;
|
|
8766
|
+
/**
|
|
8767
|
+
* The client data (type, challenge, origin) as JSON, base64url-encoded without padding.
|
|
8768
|
+
*/
|
|
8769
|
+
clientDataJSON: string;
|
|
8770
|
+
/**
|
|
8771
|
+
* The assertion signature, base64url-encoded without padding.
|
|
8772
|
+
*/
|
|
8773
|
+
signature: string;
|
|
8774
|
+
/**
|
|
8775
|
+
* The `user.id` of the registration, base64url-encoded without padding. The passkey login
|
|
8776
|
+
* (`POST /authenticate-passkey`) takes the user from it.
|
|
8777
|
+
*
|
|
8778
|
+
*/
|
|
8779
|
+
userHandle?: string;
|
|
8780
|
+
};
|
|
8781
|
+
/**
|
|
8782
|
+
* The credential type, always `public-key`.
|
|
8783
|
+
*/
|
|
8784
|
+
type: string;
|
|
8785
|
+
}
|
|
8786
|
+
/**
|
|
8787
|
+
* A challenge for signing in or confirming an action with a passkey. Run `navigator.credentials.get()` with
|
|
8788
|
+
* `options` and send `challengeId` together with the resulting `credential.toJSON()`. The challenge can be used
|
|
8789
|
+
* once.
|
|
8790
|
+
*
|
|
8791
|
+
*/
|
|
8792
|
+
interface SignupPasskeyChallenge {
|
|
8793
|
+
challengeId: string;
|
|
8794
|
+
options: MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
|
|
8795
|
+
}
|
|
8796
|
+
/**
|
|
8797
|
+
* Options for registering a passkey, as WebAuthn Level 3
|
|
8798
|
+
* [`PublicKeyCredentialCreationOptionsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialcreationoptionsjson).
|
|
8799
|
+
* Pass the object unchanged to
|
|
8800
|
+
* [`PublicKeyCredential.parseCreationOptionsFromJSON()`](https://www.w3.org/TR/webauthn-3/#sctn-parseCreationOptionsFromJSON)
|
|
8801
|
+
* and the result as `publicKey` to `navigator.credentials.create()`. Send the resulting credential back as
|
|
8802
|
+
* [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson) together with the
|
|
8803
|
+
* `challengeId` the options came with. Binary values are base64url-encoded without padding.
|
|
8804
|
+
*
|
|
8805
|
+
*/
|
|
8806
|
+
interface SignupPasskeyCreationOptions {
|
|
8807
|
+
/**
|
|
8808
|
+
* Always `none`; the API does not check which authenticator model created the passkey.
|
|
8809
|
+
*/
|
|
8810
|
+
attestation: string;
|
|
8811
|
+
/**
|
|
8812
|
+
* Not set by this API.
|
|
8813
|
+
*/
|
|
8814
|
+
attestationFormats?: string[];
|
|
8815
|
+
/**
|
|
8816
|
+
* Always a discoverable credential (`residentKey: required`) with user verification
|
|
8817
|
+
* (`userVerification: required`); no `authenticatorAttachment`, so the browser also offers other devices
|
|
8818
|
+
* (QR code).
|
|
8819
|
+
*
|
|
8820
|
+
*/
|
|
8821
|
+
authenticatorSelection: {
|
|
8822
|
+
authenticatorAttachment?: string;
|
|
8823
|
+
requireResidentKey?: boolean;
|
|
8824
|
+
residentKey?: string;
|
|
8825
|
+
userVerification?: string;
|
|
8826
|
+
};
|
|
8827
|
+
/**
|
|
8828
|
+
* 32 random bytes, base64url-encoded without padding. Can be used once.
|
|
8829
|
+
*/
|
|
8830
|
+
challenge: string;
|
|
8831
|
+
/**
|
|
8832
|
+
* The passkeys the user already has for this relying party; the authenticator does not register them again.
|
|
8833
|
+
*/
|
|
8834
|
+
excludeCredentials: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredentialDescriptor[];
|
|
8835
|
+
/**
|
|
8836
|
+
* WebAuthn Level 3
|
|
8837
|
+
* [`AuthenticationExtensionsClientInputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientinputsjson).
|
|
8838
|
+
*
|
|
8839
|
+
*/
|
|
8840
|
+
extensions?: {};
|
|
8841
|
+
/**
|
|
8842
|
+
* Hints for the browser which authenticator to offer. Not set by this API.
|
|
8843
|
+
*/
|
|
8844
|
+
hints?: string[];
|
|
8845
|
+
/**
|
|
8846
|
+
* The accepted key types, ES256 (`-7`) and RS256 (`-257`).
|
|
8847
|
+
*/
|
|
8848
|
+
pubKeyCredParams: {
|
|
8849
|
+
/**
|
|
8850
|
+
* A COSE algorithm identifier.
|
|
8851
|
+
*/
|
|
8852
|
+
alg: number;
|
|
8853
|
+
/**
|
|
8854
|
+
* Always `public-key`.
|
|
8855
|
+
*/
|
|
8856
|
+
type: string;
|
|
8857
|
+
}[];
|
|
8858
|
+
/**
|
|
8859
|
+
* The relying party, selected from the `Origin` header of the request that created the challenge.
|
|
8860
|
+
*/
|
|
8861
|
+
rp: {
|
|
8862
|
+
id: string;
|
|
8863
|
+
name: string;
|
|
8864
|
+
};
|
|
8865
|
+
/**
|
|
8866
|
+
* Milliseconds until the challenge expires.
|
|
8867
|
+
*/
|
|
8868
|
+
timeout: number;
|
|
8869
|
+
/**
|
|
8870
|
+
* The user the passkey is created for, as WebAuthn Level 3
|
|
8871
|
+
* [`PublicKeyCredentialUserEntityJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialuserentityjson).
|
|
8872
|
+
*
|
|
8873
|
+
*/
|
|
8874
|
+
user: {
|
|
8875
|
+
/**
|
|
8876
|
+
* First and last name of the user, or the email address if both are empty.
|
|
8877
|
+
*/
|
|
8878
|
+
displayName: string;
|
|
8879
|
+
/**
|
|
8880
|
+
* The UTF-8 bytes of the user id, base64url-encoded without padding. A passkey login returns it as
|
|
8881
|
+
* `response.userHandle`.
|
|
8882
|
+
*
|
|
8883
|
+
*/
|
|
8884
|
+
id: string;
|
|
8885
|
+
/**
|
|
8886
|
+
* The verified email address of the user.
|
|
8887
|
+
*/
|
|
8888
|
+
name: string;
|
|
8889
|
+
};
|
|
8890
|
+
}
|
|
8891
|
+
/**
|
|
8892
|
+
* A passkey assertion that proves the second factor. `challengeId` comes from `POST /users/self/passkey-challenges`
|
|
8893
|
+
* (or from `passkeyChallenge` of `POST /authenticate` for `POST /authenticate-mfa`), `credential` is the
|
|
8894
|
+
* `credential.toJSON()` of the `navigator.credentials.get()` call with its `options`.
|
|
8895
|
+
*
|
|
8896
|
+
*/
|
|
8897
|
+
interface SignupPasskeyCredential {
|
|
8898
|
+
challengeId: string;
|
|
8899
|
+
credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
|
|
8900
|
+
}
|
|
8901
|
+
/**
|
|
8902
|
+
* A passkey of the user, as WebAuthn Level 3
|
|
8903
|
+
* [`PublicKeyCredentialDescriptorJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialdescriptorjson).
|
|
8904
|
+
*
|
|
8905
|
+
*/
|
|
8906
|
+
interface SignupPasskeyCredentialDescriptor {
|
|
8907
|
+
/**
|
|
8908
|
+
* The credential id, base64url-encoded without padding.
|
|
8909
|
+
*/
|
|
8910
|
+
id: string;
|
|
8911
|
+
/**
|
|
8912
|
+
* How the browser can reach the authenticator, as reported at registration (`internal`, `hybrid`, `usb`,
|
|
8913
|
+
* `nfc`, `ble`, `smart-card`).
|
|
8914
|
+
*
|
|
8915
|
+
*/
|
|
8916
|
+
transports?: string[];
|
|
8917
|
+
/**
|
|
8918
|
+
* The credential type, always `public-key`.
|
|
8919
|
+
*/
|
|
8920
|
+
type: string;
|
|
8921
|
+
}
|
|
8922
|
+
/**
|
|
8923
|
+
* A challenge for registering a passkey. Run `navigator.credentials.create()` with `options` and send
|
|
8924
|
+
* `challengeId` together with the resulting `credential.toJSON()` to `POST /users/self/passkeys`. The challenge
|
|
8925
|
+
* can be used once.
|
|
8926
|
+
*
|
|
8927
|
+
*/
|
|
8928
|
+
interface SignupPasskeyRegistrationChallenge {
|
|
8929
|
+
challengeId: string;
|
|
8930
|
+
options: MittwaldAPIV2.Components.Schemas.SignupPasskeyCreationOptions;
|
|
8931
|
+
}
|
|
8932
|
+
/**
|
|
8933
|
+
* A new passkey: the result of `navigator.credentials.create()` serialized with
|
|
8934
|
+
* [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3
|
|
8935
|
+
* [`RegistrationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-registrationresponsejson). Send it
|
|
8936
|
+
* unchanged. Binary values are base64url-encoded without padding.
|
|
8937
|
+
*
|
|
8938
|
+
*/
|
|
8939
|
+
interface SignupPasskeyRegistrationResponse {
|
|
8940
|
+
/**
|
|
8941
|
+
* `platform` or `cross-platform`, if the browser reports it.
|
|
8942
|
+
*/
|
|
8943
|
+
authenticatorAttachment?: string;
|
|
8944
|
+
/**
|
|
8945
|
+
* WebAuthn Level 3
|
|
8946
|
+
* [`AuthenticationExtensionsClientOutputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientoutputsjson).
|
|
8947
|
+
*
|
|
8948
|
+
*/
|
|
8949
|
+
clientExtensionResults: {};
|
|
8950
|
+
/**
|
|
8951
|
+
* The credential id, base64url-encoded without padding.
|
|
8952
|
+
*/
|
|
8953
|
+
id: string;
|
|
8954
|
+
/**
|
|
8955
|
+
* The credential id, base64url-encoded without padding (same value as `id`).
|
|
8956
|
+
*/
|
|
8957
|
+
rawId: string;
|
|
8958
|
+
/**
|
|
8959
|
+
* WebAuthn Level 3
|
|
8960
|
+
* [`AuthenticatorAttestationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorattestationresponsejson).
|
|
8961
|
+
*
|
|
8962
|
+
*/
|
|
8963
|
+
response: {
|
|
8964
|
+
/**
|
|
8965
|
+
* The CBOR attestation object, base64url-encoded without padding.
|
|
8966
|
+
*/
|
|
8967
|
+
attestationObject: string;
|
|
8968
|
+
/**
|
|
8969
|
+
* The authenticator data, base64url-encoded without padding.
|
|
8970
|
+
*/
|
|
8971
|
+
authenticatorData: string;
|
|
8972
|
+
/**
|
|
8973
|
+
* The client data (type, challenge, origin) as JSON, base64url-encoded without padding.
|
|
8974
|
+
*/
|
|
8975
|
+
clientDataJSON: string;
|
|
8976
|
+
/**
|
|
8977
|
+
* The public key as DER `SubjectPublicKeyInfo`, base64url-encoded without padding, if the browser knows the algorithm.
|
|
8978
|
+
*/
|
|
8979
|
+
publicKey?: string;
|
|
8980
|
+
/**
|
|
8981
|
+
* The COSE algorithm identifier of the key.
|
|
8982
|
+
*/
|
|
8983
|
+
publicKeyAlgorithm: number;
|
|
8984
|
+
/**
|
|
8985
|
+
* How the browser can reach the authenticator (`internal`, `hybrid`, `usb`, `nfc`, `ble`, `smart-card`).
|
|
8986
|
+
*/
|
|
8987
|
+
transports: string[];
|
|
8988
|
+
};
|
|
8989
|
+
/**
|
|
8990
|
+
* The credential type, always `public-key`.
|
|
8991
|
+
*/
|
|
8992
|
+
type: string;
|
|
8993
|
+
}
|
|
8994
|
+
/**
|
|
8995
|
+
* Options for signing in with a passkey, as WebAuthn Level 3
|
|
8996
|
+
* [`PublicKeyCredentialRequestOptionsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialrequestoptionsjson).
|
|
8997
|
+
* Pass the object unchanged to
|
|
8998
|
+
* [`PublicKeyCredential.parseRequestOptionsFromJSON()`](https://www.w3.org/TR/webauthn-3/#sctn-parseRequestOptionsFromJSON)
|
|
8999
|
+
* and the result as `publicKey` to `navigator.credentials.get()`. Send the resulting credential back as
|
|
9000
|
+
* [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson) together with the
|
|
9001
|
+
* `challengeId` the options came with. Binary values are base64url-encoded without padding.
|
|
9002
|
+
*
|
|
9003
|
+
*/
|
|
9004
|
+
interface SignupPasskeyRequestOptions {
|
|
9005
|
+
/**
|
|
9006
|
+
* The passkeys of the user for this relying party. Empty for the passkey login, so the browser offers every
|
|
9007
|
+
* passkey it has for the relying party.
|
|
9008
|
+
*
|
|
9009
|
+
*/
|
|
9010
|
+
allowCredentials: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredentialDescriptor[];
|
|
9011
|
+
/**
|
|
9012
|
+
* 32 random bytes, base64url-encoded without padding. Can be used once.
|
|
9013
|
+
*/
|
|
9014
|
+
challenge: string;
|
|
9015
|
+
/**
|
|
9016
|
+
* WebAuthn Level 3
|
|
9017
|
+
* [`AuthenticationExtensionsClientInputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientinputsjson).
|
|
9018
|
+
*
|
|
9019
|
+
*/
|
|
9020
|
+
extensions?: {};
|
|
9021
|
+
/**
|
|
9022
|
+
* Hints for the browser which authenticator to offer. Not set by this API.
|
|
9023
|
+
*/
|
|
9024
|
+
hints?: string[];
|
|
9025
|
+
/**
|
|
9026
|
+
* The relying party, selected from the `Origin` header of the request that created the challenge.
|
|
9027
|
+
*/
|
|
9028
|
+
rpId: string;
|
|
9029
|
+
/**
|
|
9030
|
+
* Milliseconds until the challenge expires.
|
|
9031
|
+
*/
|
|
9032
|
+
timeout: number;
|
|
9033
|
+
/**
|
|
9034
|
+
* Always `required`; the authenticator has to verify the user (biometrics or device PIN).
|
|
9035
|
+
*/
|
|
9036
|
+
userVerification: string;
|
|
9037
|
+
}
|
|
8686
9038
|
interface SignupProfile {
|
|
8687
9039
|
email?: string;
|
|
8688
9040
|
/**
|
|
@@ -10893,6 +11245,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
10893
11245
|
type ApplicationJson = MittwaldAPIV2.Components.Schemas.AppAppInstallation;
|
|
10894
11246
|
}
|
|
10895
11247
|
}
|
|
11248
|
+
namespace $403 {
|
|
11249
|
+
namespace Content {
|
|
11250
|
+
interface ApplicationJson {
|
|
11251
|
+
[k: string]: unknown;
|
|
11252
|
+
}
|
|
11253
|
+
}
|
|
11254
|
+
}
|
|
10896
11255
|
namespace $404 {
|
|
10897
11256
|
namespace Content {
|
|
10898
11257
|
interface ApplicationJson {
|
|
@@ -10967,6 +11326,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
10967
11326
|
};
|
|
10968
11327
|
interface RequestBody {
|
|
10969
11328
|
appVersionId?: string;
|
|
11329
|
+
/**
|
|
11330
|
+
* Enabling automatic updates may first update the AppInstallation to the newest permitted app version.
|
|
11331
|
+
*/
|
|
11332
|
+
autoUpdatesActivated?: boolean;
|
|
10970
11333
|
customDocumentRoot?: string;
|
|
10971
11334
|
/**
|
|
10972
11335
|
* Desired changes to the databases linked to this AppInstallation, keyed by
|
|
@@ -19401,6 +19764,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
19401
19764
|
}
|
|
19402
19765
|
}
|
|
19403
19766
|
}
|
|
19767
|
+
namespace $403 {
|
|
19768
|
+
namespace Content {
|
|
19769
|
+
interface ApplicationJson {
|
|
19770
|
+
[k: string]: unknown;
|
|
19771
|
+
}
|
|
19772
|
+
}
|
|
19773
|
+
}
|
|
19404
19774
|
namespace $404 {
|
|
19405
19775
|
namespace Content {
|
|
19406
19776
|
interface ApplicationJson {
|
|
@@ -19709,6 +20079,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
19709
20079
|
}
|
|
19710
20080
|
}
|
|
19711
20081
|
}
|
|
20082
|
+
namespace $403 {
|
|
20083
|
+
namespace Content {
|
|
20084
|
+
interface ApplicationJson {
|
|
20085
|
+
[k: string]: unknown;
|
|
20086
|
+
}
|
|
20087
|
+
}
|
|
20088
|
+
}
|
|
19712
20089
|
namespace $404 {
|
|
19713
20090
|
namespace Content {
|
|
19714
20091
|
interface ApplicationJson {
|
|
@@ -28512,6 +28889,43 @@ export declare namespace MittwaldAPIV2 {
|
|
|
28512
28889
|
}
|
|
28513
28890
|
}
|
|
28514
28891
|
}
|
|
28892
|
+
namespace V2NotificationSettingsActionsReset {
|
|
28893
|
+
namespace Post {
|
|
28894
|
+
namespace Parameters {
|
|
28895
|
+
type Path = {};
|
|
28896
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
28897
|
+
type Query = {};
|
|
28898
|
+
}
|
|
28899
|
+
namespace Responses {
|
|
28900
|
+
namespace $204 {
|
|
28901
|
+
namespace Content {
|
|
28902
|
+
type Empty = unknown;
|
|
28903
|
+
}
|
|
28904
|
+
}
|
|
28905
|
+
namespace $403 {
|
|
28906
|
+
namespace Content {
|
|
28907
|
+
interface ApplicationJson {
|
|
28908
|
+
[k: string]: unknown;
|
|
28909
|
+
}
|
|
28910
|
+
}
|
|
28911
|
+
}
|
|
28912
|
+
namespace $429 {
|
|
28913
|
+
namespace Content {
|
|
28914
|
+
interface ApplicationJson {
|
|
28915
|
+
[k: string]: unknown;
|
|
28916
|
+
}
|
|
28917
|
+
}
|
|
28918
|
+
}
|
|
28919
|
+
namespace Default {
|
|
28920
|
+
namespace Content {
|
|
28921
|
+
interface ApplicationJson {
|
|
28922
|
+
[k: string]: unknown;
|
|
28923
|
+
}
|
|
28924
|
+
}
|
|
28925
|
+
}
|
|
28926
|
+
}
|
|
28927
|
+
}
|
|
28928
|
+
}
|
|
28515
28929
|
namespace V2NotificationsNotificationIdStatus {
|
|
28516
28930
|
namespace Put {
|
|
28517
28931
|
namespace Parameters {
|
|
@@ -32177,7 +32591,8 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32177
32591
|
/**
|
|
32178
32592
|
* The second factor - otp code or recovery code.
|
|
32179
32593
|
*/
|
|
32180
|
-
multiFactorCode
|
|
32594
|
+
multiFactorCode?: string;
|
|
32595
|
+
passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
|
|
32181
32596
|
/**
|
|
32182
32597
|
* The password of the user.
|
|
32183
32598
|
*/
|
|
@@ -32241,20 +32656,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32241
32656
|
}
|
|
32242
32657
|
}
|
|
32243
32658
|
}
|
|
32244
|
-
namespace
|
|
32245
|
-
namespace V2Authenticate {
|
|
32659
|
+
namespace V2AuthenticatePasskey {
|
|
32246
32660
|
namespace Post {
|
|
32247
32661
|
namespace Parameters {
|
|
32248
32662
|
type Path = {};
|
|
32249
32663
|
interface RequestBody {
|
|
32250
|
-
|
|
32251
|
-
|
|
32252
|
-
*/
|
|
32253
|
-
email: string;
|
|
32254
|
-
/**
|
|
32255
|
-
* Password of the User.
|
|
32256
|
-
*/
|
|
32257
|
-
password: string;
|
|
32664
|
+
challengeId: string;
|
|
32665
|
+
credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
|
|
32258
32666
|
}
|
|
32259
32667
|
type Header = {};
|
|
32260
32668
|
type Query = {
|
|
@@ -32280,13 +32688,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32280
32688
|
}
|
|
32281
32689
|
}
|
|
32282
32690
|
}
|
|
32283
|
-
namespace $202 {
|
|
32284
|
-
namespace Content {
|
|
32285
|
-
interface ApplicationJson {
|
|
32286
|
-
name?: "SecondFactorRequired";
|
|
32287
|
-
}
|
|
32288
|
-
}
|
|
32289
|
-
}
|
|
32290
32691
|
namespace $204 {
|
|
32291
32692
|
namespace Content {
|
|
32292
32693
|
type Empty = unknown;
|
|
@@ -32297,12 +32698,97 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32297
32698
|
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
32298
32699
|
}
|
|
32299
32700
|
}
|
|
32300
|
-
namespace $
|
|
32701
|
+
namespace $429 {
|
|
32301
32702
|
namespace Content {
|
|
32302
|
-
|
|
32703
|
+
interface ApplicationJson {
|
|
32704
|
+
[k: string]: unknown;
|
|
32705
|
+
}
|
|
32303
32706
|
}
|
|
32304
32707
|
}
|
|
32305
|
-
namespace $
|
|
32708
|
+
namespace $500 {
|
|
32709
|
+
namespace Content {
|
|
32710
|
+
interface ApplicationJson {
|
|
32711
|
+
[k: string]: unknown;
|
|
32712
|
+
}
|
|
32713
|
+
}
|
|
32714
|
+
}
|
|
32715
|
+
namespace Default {
|
|
32716
|
+
namespace Content {
|
|
32717
|
+
interface ApplicationJson {
|
|
32718
|
+
[k: string]: unknown;
|
|
32719
|
+
}
|
|
32720
|
+
}
|
|
32721
|
+
}
|
|
32722
|
+
}
|
|
32723
|
+
}
|
|
32724
|
+
}
|
|
32725
|
+
namespace V2SignupAuthentication { }
|
|
32726
|
+
namespace V2Authenticate {
|
|
32727
|
+
namespace Post {
|
|
32728
|
+
namespace Parameters {
|
|
32729
|
+
type Path = {};
|
|
32730
|
+
interface RequestBody {
|
|
32731
|
+
/**
|
|
32732
|
+
* The users Email-Address.
|
|
32733
|
+
*/
|
|
32734
|
+
email: string;
|
|
32735
|
+
/**
|
|
32736
|
+
* Password of the User.
|
|
32737
|
+
*/
|
|
32738
|
+
password: string;
|
|
32739
|
+
}
|
|
32740
|
+
type Header = {};
|
|
32741
|
+
type Query = {
|
|
32742
|
+
cookieOnly?: boolean;
|
|
32743
|
+
};
|
|
32744
|
+
}
|
|
32745
|
+
namespace Responses {
|
|
32746
|
+
namespace $200 {
|
|
32747
|
+
namespace Content {
|
|
32748
|
+
interface ApplicationJson {
|
|
32749
|
+
/**
|
|
32750
|
+
* The expiration date of the token.
|
|
32751
|
+
*/
|
|
32752
|
+
expires: string;
|
|
32753
|
+
/**
|
|
32754
|
+
* Refresh token to refresh your access token even after it has expired.
|
|
32755
|
+
*/
|
|
32756
|
+
refreshToken: string;
|
|
32757
|
+
/**
|
|
32758
|
+
* Public token to identify yourself against the api gateway.
|
|
32759
|
+
*/
|
|
32760
|
+
token: string;
|
|
32761
|
+
}
|
|
32762
|
+
}
|
|
32763
|
+
}
|
|
32764
|
+
namespace $202 {
|
|
32765
|
+
namespace Content {
|
|
32766
|
+
interface ApplicationJson {
|
|
32767
|
+
/**
|
|
32768
|
+
* More values may be added in the future; clients must ignore values they do not know.
|
|
32769
|
+
*/
|
|
32770
|
+
availableSecondFactors: ("totp" | "passkey")[];
|
|
32771
|
+
name?: "SecondFactorRequired";
|
|
32772
|
+
passkeyChallenge?: MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
|
|
32773
|
+
}
|
|
32774
|
+
}
|
|
32775
|
+
}
|
|
32776
|
+
namespace $204 {
|
|
32777
|
+
namespace Content {
|
|
32778
|
+
type Empty = unknown;
|
|
32779
|
+
}
|
|
32780
|
+
}
|
|
32781
|
+
namespace $400 {
|
|
32782
|
+
namespace Content {
|
|
32783
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
32784
|
+
}
|
|
32785
|
+
}
|
|
32786
|
+
namespace $401 {
|
|
32787
|
+
namespace Content {
|
|
32788
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
32789
|
+
}
|
|
32790
|
+
}
|
|
32791
|
+
namespace $429 {
|
|
32306
32792
|
namespace Content {
|
|
32307
32793
|
interface ApplicationJson {
|
|
32308
32794
|
[k: string]: unknown;
|
|
@@ -32458,9 +32944,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32458
32944
|
type Path = {};
|
|
32459
32945
|
interface RequestBody {
|
|
32460
32946
|
/**
|
|
32461
|
-
*
|
|
32462
|
-
* This is optional, depending on the MFA activation status of the profile.
|
|
32463
|
-
*
|
|
32947
|
+
* A TOTP code or recovery code.
|
|
32464
32948
|
*/
|
|
32465
32949
|
multiFactorCode?: string;
|
|
32466
32950
|
/**
|
|
@@ -32471,6 +32955,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32471
32955
|
* The old password.
|
|
32472
32956
|
*/
|
|
32473
32957
|
oldPassword: string;
|
|
32958
|
+
passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
|
|
32474
32959
|
}
|
|
32475
32960
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
32476
32961
|
type Query = {};
|
|
@@ -32535,7 +33020,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32535
33020
|
namespace $200 {
|
|
32536
33021
|
namespace Content {
|
|
32537
33022
|
interface ApplicationJson {
|
|
33023
|
+
/**
|
|
33024
|
+
* TOTP has been confirmed and is active.
|
|
33025
|
+
*/
|
|
32538
33026
|
confirmed: boolean;
|
|
33027
|
+
/**
|
|
33028
|
+
* TOTP has been initialized.
|
|
33029
|
+
*/
|
|
32539
33030
|
initialized: boolean;
|
|
32540
33031
|
}
|
|
32541
33032
|
}
|
|
@@ -32561,9 +33052,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32561
33052
|
type Path = {};
|
|
32562
33053
|
interface RequestBody {
|
|
32563
33054
|
/**
|
|
32564
|
-
*
|
|
33055
|
+
* A TOTP code or recovery code.
|
|
32565
33056
|
*/
|
|
32566
|
-
multiFactorCode
|
|
33057
|
+
multiFactorCode?: string;
|
|
33058
|
+
passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
|
|
32567
33059
|
}
|
|
32568
33060
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
32569
33061
|
type Query = {};
|
|
@@ -32693,9 +33185,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32693
33185
|
type Path = {};
|
|
32694
33186
|
interface RequestBody {
|
|
32695
33187
|
/**
|
|
32696
|
-
*
|
|
33188
|
+
* A TOTP code or recovery code.
|
|
32697
33189
|
*/
|
|
32698
|
-
multiFactorCode
|
|
33190
|
+
multiFactorCode?: string;
|
|
33191
|
+
passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
|
|
32699
33192
|
}
|
|
32700
33193
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
32701
33194
|
type Query = {};
|
|
@@ -32929,6 +33422,272 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32929
33422
|
}
|
|
32930
33423
|
}
|
|
32931
33424
|
}
|
|
33425
|
+
namespace V2PasskeyChallenges {
|
|
33426
|
+
namespace Post {
|
|
33427
|
+
namespace Parameters {
|
|
33428
|
+
type Path = {};
|
|
33429
|
+
type Header = {};
|
|
33430
|
+
type Query = {};
|
|
33431
|
+
}
|
|
33432
|
+
namespace Responses {
|
|
33433
|
+
namespace $201 {
|
|
33434
|
+
namespace Content {
|
|
33435
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
|
|
33436
|
+
}
|
|
33437
|
+
}
|
|
33438
|
+
namespace $400 {
|
|
33439
|
+
namespace Content {
|
|
33440
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33441
|
+
}
|
|
33442
|
+
}
|
|
33443
|
+
namespace $429 {
|
|
33444
|
+
namespace Content {
|
|
33445
|
+
interface ApplicationJson {
|
|
33446
|
+
[k: string]: unknown;
|
|
33447
|
+
}
|
|
33448
|
+
}
|
|
33449
|
+
}
|
|
33450
|
+
namespace $500 {
|
|
33451
|
+
namespace Content {
|
|
33452
|
+
interface ApplicationJson {
|
|
33453
|
+
[k: string]: unknown;
|
|
33454
|
+
}
|
|
33455
|
+
}
|
|
33456
|
+
}
|
|
33457
|
+
namespace Default {
|
|
33458
|
+
namespace Content {
|
|
33459
|
+
interface ApplicationJson {
|
|
33460
|
+
[k: string]: unknown;
|
|
33461
|
+
}
|
|
33462
|
+
}
|
|
33463
|
+
}
|
|
33464
|
+
}
|
|
33465
|
+
}
|
|
33466
|
+
}
|
|
33467
|
+
namespace V2UsersSelfPasskeyChallenges {
|
|
33468
|
+
namespace Post {
|
|
33469
|
+
namespace Parameters {
|
|
33470
|
+
type Path = {};
|
|
33471
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
33472
|
+
type Query = {};
|
|
33473
|
+
}
|
|
33474
|
+
namespace Responses {
|
|
33475
|
+
namespace $201 {
|
|
33476
|
+
namespace Content {
|
|
33477
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
|
|
33478
|
+
}
|
|
33479
|
+
}
|
|
33480
|
+
namespace $400 {
|
|
33481
|
+
namespace Content {
|
|
33482
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33483
|
+
}
|
|
33484
|
+
}
|
|
33485
|
+
namespace $429 {
|
|
33486
|
+
namespace Content {
|
|
33487
|
+
interface ApplicationJson {
|
|
33488
|
+
[k: string]: unknown;
|
|
33489
|
+
}
|
|
33490
|
+
}
|
|
33491
|
+
}
|
|
33492
|
+
namespace $500 {
|
|
33493
|
+
namespace Content {
|
|
33494
|
+
interface ApplicationJson {
|
|
33495
|
+
[k: string]: unknown;
|
|
33496
|
+
}
|
|
33497
|
+
}
|
|
33498
|
+
}
|
|
33499
|
+
namespace Default {
|
|
33500
|
+
namespace Content {
|
|
33501
|
+
interface ApplicationJson {
|
|
33502
|
+
[k: string]: unknown;
|
|
33503
|
+
}
|
|
33504
|
+
}
|
|
33505
|
+
}
|
|
33506
|
+
}
|
|
33507
|
+
}
|
|
33508
|
+
}
|
|
33509
|
+
namespace V2UsersSelfPasskeyRegistrationChallenges {
|
|
33510
|
+
namespace Post {
|
|
33511
|
+
namespace Parameters {
|
|
33512
|
+
type Path = {};
|
|
33513
|
+
interface RequestBody {
|
|
33514
|
+
/**
|
|
33515
|
+
* A TOTP code or recovery code.
|
|
33516
|
+
*/
|
|
33517
|
+
multiFactorCode?: string;
|
|
33518
|
+
passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
|
|
33519
|
+
/**
|
|
33520
|
+
* The password of the user.
|
|
33521
|
+
*/
|
|
33522
|
+
password: string;
|
|
33523
|
+
}
|
|
33524
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
33525
|
+
type Query = {};
|
|
33526
|
+
}
|
|
33527
|
+
namespace Responses {
|
|
33528
|
+
namespace $201 {
|
|
33529
|
+
namespace Content {
|
|
33530
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationChallenge;
|
|
33531
|
+
}
|
|
33532
|
+
}
|
|
33533
|
+
namespace $202 {
|
|
33534
|
+
namespace Content {
|
|
33535
|
+
interface ApplicationJson {
|
|
33536
|
+
[k: string]: unknown;
|
|
33537
|
+
}
|
|
33538
|
+
}
|
|
33539
|
+
}
|
|
33540
|
+
namespace $400 {
|
|
33541
|
+
namespace Content {
|
|
33542
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33543
|
+
}
|
|
33544
|
+
}
|
|
33545
|
+
namespace $412 {
|
|
33546
|
+
namespace Content {
|
|
33547
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33548
|
+
}
|
|
33549
|
+
}
|
|
33550
|
+
namespace $429 {
|
|
33551
|
+
namespace Content {
|
|
33552
|
+
interface ApplicationJson {
|
|
33553
|
+
[k: string]: unknown;
|
|
33554
|
+
}
|
|
33555
|
+
}
|
|
33556
|
+
}
|
|
33557
|
+
namespace $500 {
|
|
33558
|
+
namespace Content {
|
|
33559
|
+
interface ApplicationJson {
|
|
33560
|
+
[k: string]: unknown;
|
|
33561
|
+
}
|
|
33562
|
+
}
|
|
33563
|
+
}
|
|
33564
|
+
namespace Default {
|
|
33565
|
+
namespace Content {
|
|
33566
|
+
interface ApplicationJson {
|
|
33567
|
+
[k: string]: unknown;
|
|
33568
|
+
}
|
|
33569
|
+
}
|
|
33570
|
+
}
|
|
33571
|
+
}
|
|
33572
|
+
}
|
|
33573
|
+
}
|
|
33574
|
+
namespace V2UsersSelfPasskeys {
|
|
33575
|
+
namespace Get {
|
|
33576
|
+
namespace Parameters {
|
|
33577
|
+
type Path = {};
|
|
33578
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
33579
|
+
type Query = {};
|
|
33580
|
+
}
|
|
33581
|
+
namespace Responses {
|
|
33582
|
+
namespace $200 {
|
|
33583
|
+
namespace Content {
|
|
33584
|
+
type ApplicationJson = {
|
|
33585
|
+
/**
|
|
33586
|
+
* The authenticator model identifier.
|
|
33587
|
+
*/
|
|
33588
|
+
aaguid: string;
|
|
33589
|
+
/**
|
|
33590
|
+
* Whether the authenticator can back up (sync) the passkey, as reported at registration.
|
|
33591
|
+
*/
|
|
33592
|
+
backupEligible: boolean;
|
|
33593
|
+
/**
|
|
33594
|
+
* Whether the passkey was backed up (synced) at registration. Not updated afterwards.
|
|
33595
|
+
*/
|
|
33596
|
+
backupState: boolean;
|
|
33597
|
+
createdAt: string;
|
|
33598
|
+
/**
|
|
33599
|
+
* The base64url encoded WebAuthn credential id.
|
|
33600
|
+
*/
|
|
33601
|
+
credentialId: string;
|
|
33602
|
+
id: string;
|
|
33603
|
+
name: string;
|
|
33604
|
+
rpId: string;
|
|
33605
|
+
}[];
|
|
33606
|
+
}
|
|
33607
|
+
}
|
|
33608
|
+
namespace $429 {
|
|
33609
|
+
namespace Content {
|
|
33610
|
+
interface ApplicationJson {
|
|
33611
|
+
[k: string]: unknown;
|
|
33612
|
+
}
|
|
33613
|
+
}
|
|
33614
|
+
}
|
|
33615
|
+
namespace $500 {
|
|
33616
|
+
namespace Content {
|
|
33617
|
+
interface ApplicationJson {
|
|
33618
|
+
[k: string]: unknown;
|
|
33619
|
+
}
|
|
33620
|
+
}
|
|
33621
|
+
}
|
|
33622
|
+
namespace Default {
|
|
33623
|
+
namespace Content {
|
|
33624
|
+
interface ApplicationJson {
|
|
33625
|
+
[k: string]: unknown;
|
|
33626
|
+
}
|
|
33627
|
+
}
|
|
33628
|
+
}
|
|
33629
|
+
}
|
|
33630
|
+
}
|
|
33631
|
+
namespace Post {
|
|
33632
|
+
namespace Parameters {
|
|
33633
|
+
type Path = {};
|
|
33634
|
+
interface RequestBody {
|
|
33635
|
+
challengeId: string;
|
|
33636
|
+
credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
|
|
33637
|
+
/**
|
|
33638
|
+
* The display name of the passkey.
|
|
33639
|
+
*/
|
|
33640
|
+
name: string;
|
|
33641
|
+
}
|
|
33642
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
33643
|
+
type Query = {};
|
|
33644
|
+
}
|
|
33645
|
+
namespace Responses {
|
|
33646
|
+
namespace $201 {
|
|
33647
|
+
namespace Content {
|
|
33648
|
+
interface ApplicationJson {
|
|
33649
|
+
id: string;
|
|
33650
|
+
/**
|
|
33651
|
+
* Only set if the passkey is the first second factor of the user.
|
|
33652
|
+
*/
|
|
33653
|
+
recoveryCodes?: string[];
|
|
33654
|
+
}
|
|
33655
|
+
}
|
|
33656
|
+
}
|
|
33657
|
+
namespace $400 {
|
|
33658
|
+
namespace Content {
|
|
33659
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33660
|
+
}
|
|
33661
|
+
}
|
|
33662
|
+
namespace $412 {
|
|
33663
|
+
namespace Content {
|
|
33664
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33665
|
+
}
|
|
33666
|
+
}
|
|
33667
|
+
namespace $429 {
|
|
33668
|
+
namespace Content {
|
|
33669
|
+
interface ApplicationJson {
|
|
33670
|
+
[k: string]: unknown;
|
|
33671
|
+
}
|
|
33672
|
+
}
|
|
33673
|
+
}
|
|
33674
|
+
namespace $500 {
|
|
33675
|
+
namespace Content {
|
|
33676
|
+
interface ApplicationJson {
|
|
33677
|
+
[k: string]: unknown;
|
|
33678
|
+
}
|
|
33679
|
+
}
|
|
33680
|
+
}
|
|
33681
|
+
namespace Default {
|
|
33682
|
+
namespace Content {
|
|
33683
|
+
interface ApplicationJson {
|
|
33684
|
+
[k: string]: unknown;
|
|
33685
|
+
}
|
|
33686
|
+
}
|
|
33687
|
+
}
|
|
33688
|
+
}
|
|
33689
|
+
}
|
|
33690
|
+
}
|
|
32932
33691
|
namespace V2SignupSsh { }
|
|
32933
33692
|
namespace V2UsersSelfSshKeys {
|
|
32934
33693
|
namespace Get {
|
|
@@ -33123,6 +33882,114 @@ export declare namespace MittwaldAPIV2 {
|
|
|
33123
33882
|
}
|
|
33124
33883
|
}
|
|
33125
33884
|
}
|
|
33885
|
+
namespace V2UsersSelfPasskeysPasskeyId {
|
|
33886
|
+
namespace Delete {
|
|
33887
|
+
namespace Parameters {
|
|
33888
|
+
type Path = {
|
|
33889
|
+
passkeyId: string;
|
|
33890
|
+
};
|
|
33891
|
+
interface RequestBody {
|
|
33892
|
+
/**
|
|
33893
|
+
* A TOTP code or recovery code.
|
|
33894
|
+
*/
|
|
33895
|
+
multiFactorCode?: string;
|
|
33896
|
+
passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
|
|
33897
|
+
}
|
|
33898
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
33899
|
+
type Query = {};
|
|
33900
|
+
}
|
|
33901
|
+
namespace Responses {
|
|
33902
|
+
namespace $204 {
|
|
33903
|
+
namespace Content {
|
|
33904
|
+
type Empty = unknown;
|
|
33905
|
+
}
|
|
33906
|
+
}
|
|
33907
|
+
namespace $400 {
|
|
33908
|
+
namespace Content {
|
|
33909
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
|
|
33910
|
+
}
|
|
33911
|
+
}
|
|
33912
|
+
namespace $404 {
|
|
33913
|
+
namespace Content {
|
|
33914
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33915
|
+
}
|
|
33916
|
+
}
|
|
33917
|
+
namespace $429 {
|
|
33918
|
+
namespace Content {
|
|
33919
|
+
interface ApplicationJson {
|
|
33920
|
+
[k: string]: unknown;
|
|
33921
|
+
}
|
|
33922
|
+
}
|
|
33923
|
+
}
|
|
33924
|
+
namespace $500 {
|
|
33925
|
+
namespace Content {
|
|
33926
|
+
interface ApplicationJson {
|
|
33927
|
+
[k: string]: unknown;
|
|
33928
|
+
}
|
|
33929
|
+
}
|
|
33930
|
+
}
|
|
33931
|
+
namespace Default {
|
|
33932
|
+
namespace Content {
|
|
33933
|
+
interface ApplicationJson {
|
|
33934
|
+
[k: string]: unknown;
|
|
33935
|
+
}
|
|
33936
|
+
}
|
|
33937
|
+
}
|
|
33938
|
+
}
|
|
33939
|
+
}
|
|
33940
|
+
namespace Patch {
|
|
33941
|
+
namespace Parameters {
|
|
33942
|
+
type Path = {
|
|
33943
|
+
passkeyId: string;
|
|
33944
|
+
};
|
|
33945
|
+
interface RequestBody {
|
|
33946
|
+
name: string;
|
|
33947
|
+
}
|
|
33948
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
33949
|
+
type Query = {};
|
|
33950
|
+
}
|
|
33951
|
+
namespace Responses {
|
|
33952
|
+
namespace $204 {
|
|
33953
|
+
namespace Content {
|
|
33954
|
+
type Empty = unknown;
|
|
33955
|
+
}
|
|
33956
|
+
}
|
|
33957
|
+
namespace $400 {
|
|
33958
|
+
namespace Content {
|
|
33959
|
+
interface ApplicationJson {
|
|
33960
|
+
[k: string]: unknown;
|
|
33961
|
+
}
|
|
33962
|
+
}
|
|
33963
|
+
}
|
|
33964
|
+
namespace $404 {
|
|
33965
|
+
namespace Content {
|
|
33966
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33967
|
+
}
|
|
33968
|
+
}
|
|
33969
|
+
namespace $429 {
|
|
33970
|
+
namespace Content {
|
|
33971
|
+
interface ApplicationJson {
|
|
33972
|
+
[k: string]: unknown;
|
|
33973
|
+
}
|
|
33974
|
+
}
|
|
33975
|
+
}
|
|
33976
|
+
namespace $500 {
|
|
33977
|
+
namespace Content {
|
|
33978
|
+
interface ApplicationJson {
|
|
33979
|
+
[k: string]: unknown;
|
|
33980
|
+
}
|
|
33981
|
+
}
|
|
33982
|
+
}
|
|
33983
|
+
namespace Default {
|
|
33984
|
+
namespace Content {
|
|
33985
|
+
interface ApplicationJson {
|
|
33986
|
+
[k: string]: unknown;
|
|
33987
|
+
}
|
|
33988
|
+
}
|
|
33989
|
+
}
|
|
33990
|
+
}
|
|
33991
|
+
}
|
|
33992
|
+
}
|
|
33126
33993
|
namespace V2UsersSelfSshKeysSshKeyId {
|
|
33127
33994
|
namespace Get {
|
|
33128
33995
|
namespace Parameters {
|
|
@@ -33241,9 +34108,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
33241
34108
|
type Path = {};
|
|
33242
34109
|
interface RequestBody {
|
|
33243
34110
|
/**
|
|
33244
|
-
*
|
|
34111
|
+
* A TOTP code or recovery code.
|
|
33245
34112
|
*/
|
|
33246
34113
|
multiFactorCode?: string;
|
|
34114
|
+
passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
|
|
34115
|
+
/**
|
|
34116
|
+
* The password of the user.
|
|
34117
|
+
*/
|
|
33247
34118
|
password: string;
|
|
33248
34119
|
}
|
|
33249
34120
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
@@ -33269,9 +34140,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
33269
34140
|
}
|
|
33270
34141
|
namespace $412 {
|
|
33271
34142
|
namespace Content {
|
|
33272
|
-
|
|
33273
|
-
[k: string]: unknown;
|
|
33274
|
-
}
|
|
34143
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
33275
34144
|
}
|
|
33276
34145
|
}
|
|
33277
34146
|
namespace $429 {
|
|
@@ -33707,6 +34576,20 @@ export declare namespace MittwaldAPIV2 {
|
|
|
33707
34576
|
type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
|
|
33708
34577
|
}
|
|
33709
34578
|
}
|
|
34579
|
+
namespace $400 {
|
|
34580
|
+
namespace Content {
|
|
34581
|
+
interface ApplicationJson {
|
|
34582
|
+
[k: string]: unknown;
|
|
34583
|
+
}
|
|
34584
|
+
}
|
|
34585
|
+
}
|
|
34586
|
+
namespace $401 {
|
|
34587
|
+
namespace Content {
|
|
34588
|
+
interface ApplicationJson {
|
|
34589
|
+
[k: string]: unknown;
|
|
34590
|
+
}
|
|
34591
|
+
}
|
|
34592
|
+
}
|
|
33710
34593
|
namespace $403 {
|
|
33711
34594
|
namespace Content {
|
|
33712
34595
|
interface ApplicationJson {
|