@mittwald/api-client 4.512.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 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>;
@@ -1970,38 +2006,6 @@ export declare namespace MittwaldAPIV2 {
1970
2006
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1971
2007
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1972
2008
  }
1973
- namespace UserAuthenticatePasskey {
1974
- type RequestData = InferredRequestData<typeof descriptors.userAuthenticatePasskey>;
1975
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticatePasskey, TStatus>;
1976
- }
1977
- namespace UserCreatePasskeyChallenge {
1978
- type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyChallenge>;
1979
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyChallenge, TStatus>;
1980
- }
1981
- namespace UserDeletePasskey {
1982
- type RequestData = InferredRequestData<typeof descriptors.userDeletePasskey>;
1983
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userDeletePasskey, TStatus>;
1984
- }
1985
- namespace UserUpdatePasskey {
1986
- type RequestData = InferredRequestData<typeof descriptors.userUpdatePasskey>;
1987
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdatePasskey, TStatus>;
1988
- }
1989
- namespace UserListPasskeys {
1990
- type RequestData = InferredRequestData<typeof descriptors.userListPasskeys>;
1991
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userListPasskeys, TStatus>;
1992
- }
1993
- namespace UserCreatePasskey {
1994
- type RequestData = InferredRequestData<typeof descriptors.userCreatePasskey>;
1995
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskey, TStatus>;
1996
- }
1997
- namespace UserCreatePasskeyConfirmationChallenge {
1998
- type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyConfirmationChallenge>;
1999
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyConfirmationChallenge, TStatus>;
2000
- }
2001
- namespace UserCreatePasskeyRegistrationChallenge {
2002
- type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyRegistrationChallenge>;
2003
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyRegistrationChallenge, TStatus>;
2004
- }
2005
2009
  }
2006
2010
  namespace Components {
2007
2011
  namespace Schemas {
@@ -8224,6 +8228,14 @@ export declare namespace MittwaldAPIV2 {
8224
8228
  interface ActivitylogLogEntry {
8225
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;
8226
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;
8227
8239
  dateTime: string;
8228
8240
  /**
8229
8241
  * Null or empty object. If set, the action was executed by an mittwald employee.
@@ -8715,192 +8727,6 @@ export declare namespace MittwaldAPIV2 {
8715
8727
  humanReadableName: string;
8716
8728
  id: string;
8717
8729
  }
8718
- interface SignupProfile {
8719
- email?: string;
8720
- /**
8721
- * the users mfa details
8722
- */
8723
- mfaDetails?: {
8724
- mfaConfirmed?: boolean;
8725
- mfaInitialized?: boolean;
8726
- };
8727
- passwordUpdatedAt?: string;
8728
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8729
- userId?: string;
8730
- }
8731
- interface SignupScopedToken {
8732
- createdAt: string;
8733
- /**
8734
- * ID of the User who created the ScopedToken.
8735
- */
8736
- createdBy: string;
8737
- description: string;
8738
- expiresAt?: string;
8739
- id: string;
8740
- /**
8741
- * ID of the Project the ScopedToken is bound to.
8742
- */
8743
- projectId?: string;
8744
- /**
8745
- * Scopes the ScopedToken is restricted to, as scope roles (e.g. `scope:project:read`). `scope:nothing` grants nothing; a ScopedToken whose only scope is `scope:nothing` has no permissions.
8746
- *
8747
- * @minItems 1
8748
- */
8749
- scopes: [string, ...string[]];
8750
- }
8751
- interface UserCustomerMembership {
8752
- expiresAt?: string;
8753
- id: string;
8754
- memberSince: string;
8755
- role: "owner" | "member" | "accountant";
8756
- }
8757
- interface UserUserFeedback {
8758
- id: string;
8759
- message: string;
8760
- origin: string;
8761
- subject: string;
8762
- vote: number;
8763
- }
8764
- type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
8765
- interface UserProjectMembership {
8766
- expiresAt?: string;
8767
- id?: string;
8768
- inherited: boolean;
8769
- memberSince: string;
8770
- role: "owner" | "emailadmin" | "external" | "id";
8771
- }
8772
- interface UserUser {
8773
- avatarRef?: string;
8774
- customerMemberships?: {
8775
- [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
8776
- };
8777
- email?: string;
8778
- /**
8779
- * Additional information about mittwald employees.
8780
- */
8781
- employeeInformation?: {
8782
- department: string;
8783
- };
8784
- /**
8785
- * Truth value, whether the user is a mittwald employee
8786
- */
8787
- isEmployee?: boolean;
8788
- mfa?: {
8789
- active: boolean;
8790
- setup: boolean;
8791
- };
8792
- passwordUpdatedAt?: string;
8793
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8794
- phoneNumber?: string;
8795
- projectMemberships?: {
8796
- [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
8797
- };
8798
- registeredAt?: string;
8799
- userId: string;
8800
- }
8801
- interface SignupSshKey {
8802
- algorithm: string;
8803
- comment: string;
8804
- createdAt: string;
8805
- expiresAt?: string;
8806
- fingerprint: string;
8807
- key: string;
8808
- sshKeyId: string;
8809
- }
8810
- interface PollUserPollSettings {
8811
- completedAt?: string;
8812
- dontShowUntil?: string;
8813
- ignoredAt?: string;
8814
- shouldShow: boolean;
8815
- status: "completed" | "muted" | "ignored" | "new";
8816
- userId: string;
8817
- }
8818
- interface SignupUserSession {
8819
- created: string;
8820
- device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
8821
- lastAccess?: string;
8822
- location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
8823
- tokenId: string;
8824
- }
8825
- interface VarnishConfigRevision {
8826
- expire?: number;
8827
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8828
- note?: string;
8829
- revision: number;
8830
- updated: string;
8831
- }
8832
- interface VarnishConfigTemplate {
8833
- /**
8834
- * A set of config file references.
8835
- */
8836
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8837
- isGlobal?: boolean;
8838
- note?: string;
8839
- projectId?: string;
8840
- softwareConfigTemplateId: string;
8841
- softwareTemplateId: string;
8842
- updatedAt?: string;
8843
- }
8844
- interface VarnishConfigFile {
8845
- content: string;
8846
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8847
- }
8848
- interface VarnishConfigFileMetadata {
8849
- name: string;
8850
- path?: string;
8851
- }
8852
- interface VarnishConfigFileRef {
8853
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8854
- refId: string;
8855
- }
8856
- interface VarnishGlobalConfigTemplate {
8857
- data: string;
8858
- name: string;
8859
- updatedAt: string;
8860
- }
8861
- interface VarnishSoftware {
8862
- config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
8863
- projectId: string;
8864
- settings?: {
8865
- [k: string]: string;
8866
- };
8867
- softwareId: string;
8868
- softwareTemplateId: string;
8869
- softwareVersion: string;
8870
- updatedAt: string;
8871
- }
8872
- interface VarnishSoftwareConfig {
8873
- configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
8874
- latestConfigRevision?: number;
8875
- revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
8876
- }
8877
- interface VarnishConfigExpiration {
8878
- maxVersions?: number;
8879
- retentionTime?: number;
8880
- }
8881
- interface VarnishSoftwareConfigFileAccessToken {
8882
- accessToken: string;
8883
- expiresAt: string;
8884
- }
8885
- interface VarnishSoftwareSetting {
8886
- name: string;
8887
- value: string;
8888
- }
8889
- interface VerificationEmailDetectPhishingMailResponse {
8890
- result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
8891
- }
8892
- type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
8893
- type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
8894
- /**
8895
- * A challenge for signing in or confirming an action with a passkey. Run `navigator.credentials.get()` with
8896
- * `options` and send `challengeId` together with the resulting `credential.toJSON()`. The challenge can be used
8897
- * once.
8898
- *
8899
- */
8900
- interface SignupPasskeyChallenge {
8901
- challengeId: string;
8902
- options: MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
8903
- }
8904
8730
  /**
8905
8731
  * A passkey assertion: the result of `navigator.credentials.get()` serialized with
8906
8732
  * [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3
@@ -8957,6 +8783,16 @@ export declare namespace MittwaldAPIV2 {
8957
8783
  */
8958
8784
  type: string;
8959
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
+ }
8960
8796
  /**
8961
8797
  * Options for registering a passkey, as WebAuthn Level 3
8962
8798
  * [`PublicKeyCredentialCreationOptionsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialcreationoptionsjson).
@@ -9052,6 +8888,16 @@ export declare namespace MittwaldAPIV2 {
9052
8888
  name: string;
9053
8889
  };
9054
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
+ }
9055
8901
  /**
9056
8902
  * A passkey of the user, as WebAuthn Level 3
9057
8903
  * [`PublicKeyCredentialDescriptorJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialdescriptorjson).
@@ -9073,16 +8919,6 @@ export declare namespace MittwaldAPIV2 {
9073
8919
  */
9074
8920
  type: string;
9075
8921
  }
9076
- /**
9077
- * A passkey assertion that proves the second factor. `challengeId` comes from `POST /users/self/passkey-challenges`
9078
- * (or from `passkeyChallenge` of `POST /authenticate` for `POST /authenticate-mfa`), `credential` is the
9079
- * `credential.toJSON()` of the `navigator.credentials.get()` call with its `options`.
9080
- *
9081
- */
9082
- interface SignupPasskeyCredential {
9083
- challengeId: string;
9084
- credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
9085
- }
9086
8922
  /**
9087
8923
  * A challenge for registering a passkey. Run `navigator.credentials.create()` with `options` and send
9088
8924
  * `challengeId` together with the resulting `credential.toJSON()` to `POST /users/self/passkeys`. The challenge
@@ -9199,6 +9035,182 @@ export declare namespace MittwaldAPIV2 {
9199
9035
  */
9200
9036
  userVerification: string;
9201
9037
  }
9038
+ interface SignupProfile {
9039
+ email?: string;
9040
+ /**
9041
+ * the users mfa details
9042
+ */
9043
+ mfaDetails?: {
9044
+ mfaConfirmed?: boolean;
9045
+ mfaInitialized?: boolean;
9046
+ };
9047
+ passwordUpdatedAt?: string;
9048
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
9049
+ userId?: string;
9050
+ }
9051
+ interface SignupScopedToken {
9052
+ createdAt: string;
9053
+ /**
9054
+ * ID of the User who created the ScopedToken.
9055
+ */
9056
+ createdBy: string;
9057
+ description: string;
9058
+ expiresAt?: string;
9059
+ id: string;
9060
+ /**
9061
+ * ID of the Project the ScopedToken is bound to.
9062
+ */
9063
+ projectId?: string;
9064
+ /**
9065
+ * Scopes the ScopedToken is restricted to, as scope roles (e.g. `scope:project:read`). `scope:nothing` grants nothing; a ScopedToken whose only scope is `scope:nothing` has no permissions.
9066
+ *
9067
+ * @minItems 1
9068
+ */
9069
+ scopes: [string, ...string[]];
9070
+ }
9071
+ interface UserCustomerMembership {
9072
+ expiresAt?: string;
9073
+ id: string;
9074
+ memberSince: string;
9075
+ role: "owner" | "member" | "accountant";
9076
+ }
9077
+ interface UserUserFeedback {
9078
+ id: string;
9079
+ message: string;
9080
+ origin: string;
9081
+ subject: string;
9082
+ vote: number;
9083
+ }
9084
+ type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
9085
+ interface UserProjectMembership {
9086
+ expiresAt?: string;
9087
+ id?: string;
9088
+ inherited: boolean;
9089
+ memberSince: string;
9090
+ role: "owner" | "emailadmin" | "external" | "id";
9091
+ }
9092
+ interface UserUser {
9093
+ avatarRef?: string;
9094
+ customerMemberships?: {
9095
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
9096
+ };
9097
+ email?: string;
9098
+ /**
9099
+ * Additional information about mittwald employees.
9100
+ */
9101
+ employeeInformation?: {
9102
+ department: string;
9103
+ };
9104
+ /**
9105
+ * Truth value, whether the user is a mittwald employee
9106
+ */
9107
+ isEmployee?: boolean;
9108
+ mfa?: {
9109
+ active: boolean;
9110
+ setup: boolean;
9111
+ };
9112
+ passwordUpdatedAt?: string;
9113
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
9114
+ phoneNumber?: string;
9115
+ projectMemberships?: {
9116
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
9117
+ };
9118
+ registeredAt?: string;
9119
+ userId: string;
9120
+ }
9121
+ interface SignupSshKey {
9122
+ algorithm: string;
9123
+ comment: string;
9124
+ createdAt: string;
9125
+ expiresAt?: string;
9126
+ fingerprint: string;
9127
+ key: string;
9128
+ sshKeyId: string;
9129
+ }
9130
+ interface PollUserPollSettings {
9131
+ completedAt?: string;
9132
+ dontShowUntil?: string;
9133
+ ignoredAt?: string;
9134
+ shouldShow: boolean;
9135
+ status: "completed" | "muted" | "ignored" | "new";
9136
+ userId: string;
9137
+ }
9138
+ interface SignupUserSession {
9139
+ created: string;
9140
+ device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
9141
+ lastAccess?: string;
9142
+ location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
9143
+ tokenId: string;
9144
+ }
9145
+ interface VarnishConfigRevision {
9146
+ expire?: number;
9147
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
9148
+ note?: string;
9149
+ revision: number;
9150
+ updated: string;
9151
+ }
9152
+ interface VarnishConfigTemplate {
9153
+ /**
9154
+ * A set of config file references.
9155
+ */
9156
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
9157
+ isGlobal?: boolean;
9158
+ note?: string;
9159
+ projectId?: string;
9160
+ softwareConfigTemplateId: string;
9161
+ softwareTemplateId: string;
9162
+ updatedAt?: string;
9163
+ }
9164
+ interface VarnishConfigFile {
9165
+ content: string;
9166
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
9167
+ }
9168
+ interface VarnishConfigFileMetadata {
9169
+ name: string;
9170
+ path?: string;
9171
+ }
9172
+ interface VarnishConfigFileRef {
9173
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
9174
+ refId: string;
9175
+ }
9176
+ interface VarnishGlobalConfigTemplate {
9177
+ data: string;
9178
+ name: string;
9179
+ updatedAt: string;
9180
+ }
9181
+ interface VarnishSoftware {
9182
+ config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
9183
+ projectId: string;
9184
+ settings?: {
9185
+ [k: string]: string;
9186
+ };
9187
+ softwareId: string;
9188
+ softwareTemplateId: string;
9189
+ softwareVersion: string;
9190
+ updatedAt: string;
9191
+ }
9192
+ interface VarnishSoftwareConfig {
9193
+ configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
9194
+ latestConfigRevision?: number;
9195
+ revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
9196
+ }
9197
+ interface VarnishConfigExpiration {
9198
+ maxVersions?: number;
9199
+ retentionTime?: number;
9200
+ }
9201
+ interface VarnishSoftwareConfigFileAccessToken {
9202
+ accessToken: string;
9203
+ expiresAt: string;
9204
+ }
9205
+ interface VarnishSoftwareSetting {
9206
+ name: string;
9207
+ value: string;
9208
+ }
9209
+ interface VerificationEmailDetectPhishingMailResponse {
9210
+ result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
9211
+ }
9212
+ type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
9213
+ type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
9202
9214
  interface CommonsAddress {
9203
9215
  street: string;
9204
9216
  houseNumber: string;
@@ -28877,6 +28889,43 @@ export declare namespace MittwaldAPIV2 {
28877
28889
  }
28878
28890
  }
28879
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
+ }
28880
28929
  namespace V2NotificationsNotificationIdStatus {
28881
28930
  namespace Put {
28882
28931
  namespace Parameters {
@@ -32607,6 +32656,72 @@ export declare namespace MittwaldAPIV2 {
32607
32656
  }
32608
32657
  }
32609
32658
  }
32659
+ namespace V2AuthenticatePasskey {
32660
+ namespace Post {
32661
+ namespace Parameters {
32662
+ type Path = {};
32663
+ interface RequestBody {
32664
+ challengeId: string;
32665
+ credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
32666
+ }
32667
+ type Header = {};
32668
+ type Query = {
32669
+ cookieOnly?: boolean;
32670
+ };
32671
+ }
32672
+ namespace Responses {
32673
+ namespace $200 {
32674
+ namespace Content {
32675
+ interface ApplicationJson {
32676
+ /**
32677
+ * The expiration date of the token.
32678
+ */
32679
+ expires: string;
32680
+ /**
32681
+ * Refresh token to refresh your access token even after it has expired.
32682
+ */
32683
+ refreshToken: string;
32684
+ /**
32685
+ * Public token to identify yourself against the api gateway.
32686
+ */
32687
+ token: string;
32688
+ }
32689
+ }
32690
+ }
32691
+ namespace $204 {
32692
+ namespace Content {
32693
+ type Empty = unknown;
32694
+ }
32695
+ }
32696
+ namespace $400 {
32697
+ namespace Content {
32698
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
32699
+ }
32700
+ }
32701
+ namespace $429 {
32702
+ namespace Content {
32703
+ interface ApplicationJson {
32704
+ [k: string]: unknown;
32705
+ }
32706
+ }
32707
+ }
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
+ }
32610
32725
  namespace V2SignupAuthentication { }
32611
32726
  namespace V2Authenticate {
32612
32727
  namespace Post {
@@ -33307,6 +33422,272 @@ export declare namespace MittwaldAPIV2 {
33307
33422
  }
33308
33423
  }
33309
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
+ }
33310
33691
  namespace V2SignupSsh { }
33311
33692
  namespace V2UsersSelfSshKeys {
33312
33693
  namespace Get {
@@ -33501,6 +33882,114 @@ export declare namespace MittwaldAPIV2 {
33501
33882
  }
33502
33883
  }
33503
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
+ }
33504
33993
  namespace V2UsersSelfSshKeysSshKeyId {
33505
33994
  namespace Get {
33506
33995
  namespace Parameters {
@@ -34087,6 +34576,20 @@ export declare namespace MittwaldAPIV2 {
34087
34576
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
34088
34577
  }
34089
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
+ }
34090
34593
  namespace $403 {
34091
34594
  namespace Content {
34092
34595
  interface ApplicationJson {
@@ -35183,445 +35686,5 @@ export declare namespace MittwaldAPIV2 {
35183
35686
  }
35184
35687
  }
35185
35688
  }
35186
- namespace V2AuthenticatePasskey {
35187
- namespace Post {
35188
- namespace Parameters {
35189
- type Path = {};
35190
- interface RequestBody {
35191
- challengeId: string;
35192
- credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
35193
- }
35194
- type Header = {};
35195
- type Query = {
35196
- cookieOnly?: boolean;
35197
- };
35198
- }
35199
- namespace Responses {
35200
- namespace $200 {
35201
- namespace Content {
35202
- interface ApplicationJson {
35203
- /**
35204
- * The expiration date of the token.
35205
- */
35206
- expires: string;
35207
- /**
35208
- * Refresh token to refresh your access token even after it has expired.
35209
- */
35210
- refreshToken: string;
35211
- /**
35212
- * Public token to identify yourself against the api gateway.
35213
- */
35214
- token: string;
35215
- }
35216
- }
35217
- }
35218
- namespace $204 {
35219
- namespace Content {
35220
- type Empty = unknown;
35221
- }
35222
- }
35223
- namespace $400 {
35224
- namespace Content {
35225
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
35226
- }
35227
- }
35228
- namespace $429 {
35229
- namespace Content {
35230
- interface ApplicationJson {
35231
- [k: string]: unknown;
35232
- }
35233
- }
35234
- }
35235
- namespace $500 {
35236
- namespace Content {
35237
- interface ApplicationJson {
35238
- [k: string]: unknown;
35239
- }
35240
- }
35241
- }
35242
- namespace Default {
35243
- namespace Content {
35244
- interface ApplicationJson {
35245
- [k: string]: unknown;
35246
- }
35247
- }
35248
- }
35249
- }
35250
- }
35251
- }
35252
- namespace V2PasskeyChallenges {
35253
- namespace Post {
35254
- namespace Parameters {
35255
- type Path = {};
35256
- type Header = {};
35257
- type Query = {};
35258
- }
35259
- namespace Responses {
35260
- namespace $201 {
35261
- namespace Content {
35262
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
35263
- }
35264
- }
35265
- namespace $400 {
35266
- namespace Content {
35267
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35268
- }
35269
- }
35270
- namespace $429 {
35271
- namespace Content {
35272
- interface ApplicationJson {
35273
- [k: string]: unknown;
35274
- }
35275
- }
35276
- }
35277
- namespace $500 {
35278
- namespace Content {
35279
- interface ApplicationJson {
35280
- [k: string]: unknown;
35281
- }
35282
- }
35283
- }
35284
- namespace Default {
35285
- namespace Content {
35286
- interface ApplicationJson {
35287
- [k: string]: unknown;
35288
- }
35289
- }
35290
- }
35291
- }
35292
- }
35293
- }
35294
- namespace V2UsersSelfPasskeysPasskeyId {
35295
- namespace Delete {
35296
- namespace Parameters {
35297
- type Path = {
35298
- passkeyId: string;
35299
- };
35300
- interface RequestBody {
35301
- /**
35302
- * A TOTP code or recovery code.
35303
- */
35304
- multiFactorCode?: string;
35305
- passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
35306
- }
35307
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35308
- type Query = {};
35309
- }
35310
- namespace Responses {
35311
- namespace $204 {
35312
- namespace Content {
35313
- type Empty = unknown;
35314
- }
35315
- }
35316
- namespace $400 {
35317
- namespace Content {
35318
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
35319
- }
35320
- }
35321
- namespace $404 {
35322
- namespace Content {
35323
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35324
- }
35325
- }
35326
- namespace $429 {
35327
- namespace Content {
35328
- interface ApplicationJson {
35329
- [k: string]: unknown;
35330
- }
35331
- }
35332
- }
35333
- namespace $500 {
35334
- namespace Content {
35335
- interface ApplicationJson {
35336
- [k: string]: unknown;
35337
- }
35338
- }
35339
- }
35340
- namespace Default {
35341
- namespace Content {
35342
- interface ApplicationJson {
35343
- [k: string]: unknown;
35344
- }
35345
- }
35346
- }
35347
- }
35348
- }
35349
- namespace Patch {
35350
- namespace Parameters {
35351
- type Path = {
35352
- passkeyId: string;
35353
- };
35354
- interface RequestBody {
35355
- name: string;
35356
- }
35357
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35358
- type Query = {};
35359
- }
35360
- namespace Responses {
35361
- namespace $204 {
35362
- namespace Content {
35363
- type Empty = unknown;
35364
- }
35365
- }
35366
- namespace $400 {
35367
- namespace Content {
35368
- interface ApplicationJson {
35369
- [k: string]: unknown;
35370
- }
35371
- }
35372
- }
35373
- namespace $404 {
35374
- namespace Content {
35375
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35376
- }
35377
- }
35378
- namespace $429 {
35379
- namespace Content {
35380
- interface ApplicationJson {
35381
- [k: string]: unknown;
35382
- }
35383
- }
35384
- }
35385
- namespace $500 {
35386
- namespace Content {
35387
- interface ApplicationJson {
35388
- [k: string]: unknown;
35389
- }
35390
- }
35391
- }
35392
- namespace Default {
35393
- namespace Content {
35394
- interface ApplicationJson {
35395
- [k: string]: unknown;
35396
- }
35397
- }
35398
- }
35399
- }
35400
- }
35401
- }
35402
- namespace V2UsersSelfPasskeys {
35403
- namespace Get {
35404
- namespace Parameters {
35405
- type Path = {};
35406
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35407
- type Query = {};
35408
- }
35409
- namespace Responses {
35410
- namespace $200 {
35411
- namespace Content {
35412
- type ApplicationJson = {
35413
- /**
35414
- * The authenticator model identifier.
35415
- */
35416
- aaguid: string;
35417
- /**
35418
- * Whether the authenticator can back up (sync) the passkey, as reported at registration.
35419
- */
35420
- backupEligible: boolean;
35421
- /**
35422
- * Whether the passkey was backed up (synced) at registration. Not updated afterwards.
35423
- */
35424
- backupState: boolean;
35425
- createdAt: string;
35426
- /**
35427
- * The base64url encoded WebAuthn credential id.
35428
- */
35429
- credentialId: string;
35430
- id: string;
35431
- name: string;
35432
- rpId: string;
35433
- }[];
35434
- }
35435
- }
35436
- namespace $429 {
35437
- namespace Content {
35438
- interface ApplicationJson {
35439
- [k: string]: unknown;
35440
- }
35441
- }
35442
- }
35443
- namespace $500 {
35444
- namespace Content {
35445
- interface ApplicationJson {
35446
- [k: string]: unknown;
35447
- }
35448
- }
35449
- }
35450
- namespace Default {
35451
- namespace Content {
35452
- interface ApplicationJson {
35453
- [k: string]: unknown;
35454
- }
35455
- }
35456
- }
35457
- }
35458
- }
35459
- namespace Post {
35460
- namespace Parameters {
35461
- type Path = {};
35462
- interface RequestBody {
35463
- challengeId: string;
35464
- credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
35465
- /**
35466
- * The display name of the passkey.
35467
- */
35468
- name: string;
35469
- }
35470
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35471
- type Query = {};
35472
- }
35473
- namespace Responses {
35474
- namespace $201 {
35475
- namespace Content {
35476
- interface ApplicationJson {
35477
- id: string;
35478
- /**
35479
- * Only set if the passkey is the first second factor of the user.
35480
- */
35481
- recoveryCodes?: string[];
35482
- }
35483
- }
35484
- }
35485
- namespace $400 {
35486
- namespace Content {
35487
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
35488
- }
35489
- }
35490
- namespace $412 {
35491
- namespace Content {
35492
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35493
- }
35494
- }
35495
- namespace $429 {
35496
- namespace Content {
35497
- interface ApplicationJson {
35498
- [k: string]: unknown;
35499
- }
35500
- }
35501
- }
35502
- namespace $500 {
35503
- namespace Content {
35504
- interface ApplicationJson {
35505
- [k: string]: unknown;
35506
- }
35507
- }
35508
- }
35509
- namespace Default {
35510
- namespace Content {
35511
- interface ApplicationJson {
35512
- [k: string]: unknown;
35513
- }
35514
- }
35515
- }
35516
- }
35517
- }
35518
- }
35519
- namespace V2UsersSelfPasskeyChallenges {
35520
- namespace Post {
35521
- namespace Parameters {
35522
- type Path = {};
35523
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35524
- type Query = {};
35525
- }
35526
- namespace Responses {
35527
- namespace $201 {
35528
- namespace Content {
35529
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
35530
- }
35531
- }
35532
- namespace $400 {
35533
- namespace Content {
35534
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35535
- }
35536
- }
35537
- namespace $429 {
35538
- namespace Content {
35539
- interface ApplicationJson {
35540
- [k: string]: unknown;
35541
- }
35542
- }
35543
- }
35544
- namespace $500 {
35545
- namespace Content {
35546
- interface ApplicationJson {
35547
- [k: string]: unknown;
35548
- }
35549
- }
35550
- }
35551
- namespace Default {
35552
- namespace Content {
35553
- interface ApplicationJson {
35554
- [k: string]: unknown;
35555
- }
35556
- }
35557
- }
35558
- }
35559
- }
35560
- }
35561
- namespace V2UsersSelfPasskeyRegistrationChallenges {
35562
- namespace Post {
35563
- namespace Parameters {
35564
- type Path = {};
35565
- interface RequestBody {
35566
- /**
35567
- * A TOTP code or recovery code.
35568
- */
35569
- multiFactorCode?: string;
35570
- passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
35571
- /**
35572
- * The password of the user.
35573
- */
35574
- password: string;
35575
- }
35576
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35577
- type Query = {};
35578
- }
35579
- namespace Responses {
35580
- namespace $201 {
35581
- namespace Content {
35582
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationChallenge;
35583
- }
35584
- }
35585
- namespace $202 {
35586
- namespace Content {
35587
- interface ApplicationJson {
35588
- [k: string]: unknown;
35589
- }
35590
- }
35591
- }
35592
- namespace $400 {
35593
- namespace Content {
35594
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
35595
- }
35596
- }
35597
- namespace $412 {
35598
- namespace Content {
35599
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35600
- }
35601
- }
35602
- namespace $429 {
35603
- namespace Content {
35604
- interface ApplicationJson {
35605
- [k: string]: unknown;
35606
- }
35607
- }
35608
- }
35609
- namespace $500 {
35610
- namespace Content {
35611
- interface ApplicationJson {
35612
- [k: string]: unknown;
35613
- }
35614
- }
35615
- }
35616
- namespace Default {
35617
- namespace Content {
35618
- interface ApplicationJson {
35619
- [k: string]: unknown;
35620
- }
35621
- }
35622
- }
35623
- }
35624
- }
35625
- }
35626
35689
  }
35627
35690
  }