@mittwald/api-client 0.0.0-development-7d1b6db-20261028 → 0.0.0-development-01577e1-20261106

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.
@@ -102,6 +102,14 @@ export declare namespace MittwaldAPIV2 {
102
102
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectRotateKey>;
103
103
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectRotateKey, TStatus>;
104
104
  }
105
+ namespace AiHostingUserGetKeys {
106
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingUserGetKeys>;
107
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingUserGetKeys, TStatus>;
108
+ }
109
+ namespace AiHostingUserGetPlans {
110
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingUserGetPlans>;
111
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingUserGetPlans, TStatus>;
112
+ }
105
113
  namespace AppDetachAppinstallationStaging {
106
114
  type RequestData = InferredRequestData<typeof descriptors.appDetachAppinstallationStaging>;
107
115
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appDetachAppinstallationStaging, TStatus>;
@@ -1466,6 +1474,10 @@ export declare namespace MittwaldAPIV2 {
1466
1474
  type RequestData = InferredRequestData<typeof descriptors.notificationsReadAllNotifications>;
1467
1475
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.notificationsReadAllNotifications, TStatus>;
1468
1476
  }
1477
+ namespace NotificationsResetNotificationSettings {
1478
+ type RequestData = InferredRequestData<typeof descriptors.notificationsResetNotificationSettings>;
1479
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.notificationsResetNotificationSettings, TStatus>;
1480
+ }
1469
1481
  namespace NotificationsUpdateNotificationStatus {
1470
1482
  type RequestData = InferredRequestData<typeof descriptors.notificationsUpdateNotificationStatus>;
1471
1483
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.notificationsUpdateNotificationStatus, TStatus>;
@@ -1770,6 +1782,10 @@ export declare namespace MittwaldAPIV2 {
1770
1782
  type RequestData = InferredRequestData<typeof descriptors.userAuthenticateMfa>;
1771
1783
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticateMfa, TStatus>;
1772
1784
  }
1785
+ namespace UserAuthenticatePasskey {
1786
+ type RequestData = InferredRequestData<typeof descriptors.userAuthenticatePasskey>;
1787
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticatePasskey, TStatus>;
1788
+ }
1773
1789
  namespace UserAuthenticate {
1774
1790
  type RequestData = InferredRequestData<typeof descriptors.userAuthenticate>;
1775
1791
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticate, TStatus>;
@@ -1822,6 +1838,26 @@ export declare namespace MittwaldAPIV2 {
1822
1838
  type RequestData = InferredRequestData<typeof descriptors.userCreateFeedback>;
1823
1839
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreateFeedback, TStatus>;
1824
1840
  }
1841
+ namespace UserCreatePasskeyChallenge {
1842
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyChallenge>;
1843
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyChallenge, TStatus>;
1844
+ }
1845
+ namespace UserCreatePasskeyConfirmationChallenge {
1846
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyConfirmationChallenge>;
1847
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyConfirmationChallenge, TStatus>;
1848
+ }
1849
+ namespace UserCreatePasskeyRegistrationChallenge {
1850
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyRegistrationChallenge>;
1851
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyRegistrationChallenge, TStatus>;
1852
+ }
1853
+ namespace UserListPasskeys {
1854
+ type RequestData = InferredRequestData<typeof descriptors.userListPasskeys>;
1855
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userListPasskeys, TStatus>;
1856
+ }
1857
+ namespace UserCreatePasskey {
1858
+ type RequestData = InferredRequestData<typeof descriptors.userCreatePasskey>;
1859
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskey, TStatus>;
1860
+ }
1825
1861
  namespace UserListSshKeys {
1826
1862
  type RequestData = InferredRequestData<typeof descriptors.userListSshKeys>;
1827
1863
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userListSshKeys, TStatus>;
@@ -1842,6 +1878,14 @@ export declare namespace MittwaldAPIV2 {
1842
1878
  type RequestData = InferredRequestData<typeof descriptors.userDeleteApiToken>;
1843
1879
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userDeleteApiToken, TStatus>;
1844
1880
  }
1881
+ namespace UserDeletePasskey {
1882
+ type RequestData = InferredRequestData<typeof descriptors.userDeletePasskey>;
1883
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userDeletePasskey, TStatus>;
1884
+ }
1885
+ namespace UserUpdatePasskey {
1886
+ type RequestData = InferredRequestData<typeof descriptors.userUpdatePasskey>;
1887
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdatePasskey, TStatus>;
1888
+ }
1845
1889
  namespace UserGetSshKey {
1846
1890
  type RequestData = InferredRequestData<typeof descriptors.userGetSshKey>;
1847
1891
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetSshKey, TStatus>;
@@ -1994,50 +2038,6 @@ export declare namespace MittwaldAPIV2 {
1994
2038
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1995
2039
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1996
2040
  }
1997
- namespace AiHostingUserGetKeys {
1998
- type RequestData = InferredRequestData<typeof descriptors.aiHostingUserGetKeys>;
1999
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingUserGetKeys, TStatus>;
2000
- }
2001
- namespace AiHostingUserGetPlans {
2002
- type RequestData = InferredRequestData<typeof descriptors.aiHostingUserGetPlans>;
2003
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingUserGetPlans, TStatus>;
2004
- }
2005
- namespace CustomerListCustomerActivities {
2006
- type RequestData = InferredRequestData<typeof descriptors.customerListCustomerActivities>;
2007
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerListCustomerActivities, TStatus>;
2008
- }
2009
- namespace UserAuthenticateWithPasskey {
2010
- type RequestData = InferredRequestData<typeof descriptors.userAuthenticateWithPasskey>;
2011
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAuthenticateWithPasskey, TStatus>;
2012
- }
2013
- namespace UserCreatePasskeyChallenge {
2014
- type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyChallenge>;
2015
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyChallenge, TStatus>;
2016
- }
2017
- namespace UserDeletePasskey {
2018
- type RequestData = InferredRequestData<typeof descriptors.userDeletePasskey>;
2019
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userDeletePasskey, TStatus>;
2020
- }
2021
- namespace UserUpdatePasskey {
2022
- type RequestData = InferredRequestData<typeof descriptors.userUpdatePasskey>;
2023
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdatePasskey, TStatus>;
2024
- }
2025
- namespace UserListPasskeys {
2026
- type RequestData = InferredRequestData<typeof descriptors.userListPasskeys>;
2027
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userListPasskeys, TStatus>;
2028
- }
2029
- namespace UserCreatePasskey {
2030
- type RequestData = InferredRequestData<typeof descriptors.userCreatePasskey>;
2031
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskey, TStatus>;
2032
- }
2033
- namespace UserCreateOwnPasskeyChallenge {
2034
- type RequestData = InferredRequestData<typeof descriptors.userCreateOwnPasskeyChallenge>;
2035
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreateOwnPasskeyChallenge, TStatus>;
2036
- }
2037
- namespace UserCreatePasskeyRegistrationChallenge {
2038
- type RequestData = InferredRequestData<typeof descriptors.userCreatePasskeyRegistrationChallenge>;
2039
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userCreatePasskeyRegistrationChallenge, TStatus>;
2040
- }
2041
2041
  }
2042
2042
  namespace Components {
2043
2043
  namespace Schemas {
@@ -2250,6 +2250,66 @@ export declare namespace MittwaldAPIV2 {
2250
2250
  planLimit: number;
2251
2251
  used: number;
2252
2252
  }
2253
+ /**
2254
+ * One AI hosting key the authenticated user can reach, with the organization,
2255
+ * project and plan names denormalized so the list needs no second call.
2256
+ *
2257
+ */
2258
+ interface AihostingUserKey {
2259
+ containerMeta?: MittwaldAPIV2.Components.Schemas.AihostingContainerMeta;
2260
+ createdAt: string;
2261
+ customerId: string;
2262
+ customerName: string;
2263
+ /**
2264
+ * Indicates whether the key is blocked.
2265
+ */
2266
+ isBlocked: boolean;
2267
+ /**
2268
+ * @deprecated
2269
+ * The secret API key. For security reasons we no longer want to keep exposing this value on every response — this field is deprecated and will stop returning the real key in a future change. It still returns the real value for now.
2270
+ */
2271
+ key: string;
2272
+ /**
2273
+ * Auto generated uuid to identify keys in requests.
2274
+ */
2275
+ keyId: string;
2276
+ /**
2277
+ * @deprecated
2278
+ * This Field is deprecated. You can find the allowed models in the /ai-hosting route.
2279
+ */
2280
+ models: string[];
2281
+ name: string;
2282
+ planDescription: string;
2283
+ planId: string;
2284
+ projectId?: string;
2285
+ /**
2286
+ * Empty when the key is not assigned to a project.
2287
+ */
2288
+ projectName?: string;
2289
+ rateLimit: MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
2290
+ tokenUsage: MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
2291
+ }
2292
+ /**
2293
+ * One AI hosting plan the authenticated user can reach through one of its
2294
+ * organizations. A membership in one of the plan's projects alone grants no
2295
+ * access to it.
2296
+ *
2297
+ */
2298
+ interface AihostingUserPlan {
2299
+ customerId: string;
2300
+ /**
2301
+ * Denormalized name of the owning organization.
2302
+ */
2303
+ customerName: string;
2304
+ description: string;
2305
+ keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
2306
+ maxParallelRequests?: number;
2307
+ nextTokenReset: string;
2308
+ planId: string;
2309
+ rateLimit: MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
2310
+ suspended?: boolean;
2311
+ tokens: MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
2312
+ }
2253
2313
  type AppAppInstallationSortOrder = "newestFirst" | "oldestFirst" | "sortByPhpVersionAsc" | "sortByPhpVersionDesc";
2254
2314
  /**
2255
2315
  * An Action is a string that describes a runtime concerning action which can be executed on an AppInstallation or an App can be capable of.
@@ -2275,6 +2335,10 @@ export declare namespace MittwaldAPIV2 {
2275
2335
  description?: MittwaldAPIV2.Components.Schemas.AppTranslatedString;
2276
2336
  id: string;
2277
2337
  name: string;
2338
+ /**
2339
+ * Whether a staging AppInstallation can be created from an AppInstallation of this App.
2340
+ */
2341
+ stagingAllowed: boolean;
2278
2342
  tags: string[];
2279
2343
  }
2280
2344
  /**
@@ -5403,7 +5467,59 @@ export declare namespace MittwaldAPIV2 {
5403
5467
  };
5404
5468
  };
5405
5469
  }
5470
+ /**
5471
+ * Login protection of an Ingress: one identity provider for the hostname, enabled and configured per path.
5472
+ */
5473
+ interface IngressAccessProtection {
5474
+ allPaths?: MittwaldAPIV2.Components.Schemas.IngressAllPathsAccessProtection;
5475
+ /**
5476
+ * The protected paths. Paths not listed here are not protected, even if a parent path is. Empty if `allPaths` is set.
5477
+ */
5478
+ paths: MittwaldAPIV2.Components.Schemas.IngressPathAccessProtection[];
5479
+ provider: MittwaldAPIV2.Components.Schemas.IngressAccessProtectionProviderMStudio | MittwaldAPIV2.Components.Schemas.IngressAccessProtectionProviderOidc;
5480
+ }
5481
+ /**
5482
+ * Users log in with their mStudio account.
5483
+ */
5484
+ interface IngressAccessProtectionProviderMStudio {
5485
+ mstudio: {};
5486
+ }
5487
+ /**
5488
+ * Users log in with an external OpenID Connect provider. The client secret is never returned.
5489
+ */
5490
+ interface IngressAccessProtectionProviderOidc {
5491
+ oidc: {
5492
+ clientId: string;
5493
+ issuerUrl: string;
5494
+ };
5495
+ }
5496
+ /**
5497
+ * Who may pass after logging in. A user needs to match one of the rules; at least one rule is set.
5498
+ */
5499
+ interface IngressAccessProtectionRules {
5500
+ /**
5501
+ * Every user the provider authenticates may pass. Only with the OIDC provider.
5502
+ */
5503
+ allowAnyAuthenticatedUser: boolean;
5504
+ allowedEmailDomains: string[];
5505
+ allowedEmails: string[];
5506
+ /**
5507
+ * Only members of the Ingress's Project may pass. Requires the mStudio provider.
5508
+ */
5509
+ projectMembersOnly: boolean;
5510
+ }
5511
+ /**
5512
+ * Protects every path of the Ingress, also those added later; redirects stay reachable.
5513
+ */
5514
+ interface IngressAllPathsAccessProtection {
5515
+ /**
5516
+ * Whether the targets receive the identity of the logged-in user as request headers.
5517
+ */
5518
+ passIdentityHeaders: boolean;
5519
+ rules: MittwaldAPIV2.Components.Schemas.IngressAccessProtectionRules;
5520
+ }
5406
5521
  interface IngressIngress {
5522
+ accessProtection?: MittwaldAPIV2.Components.Schemas.IngressAccessProtection;
5407
5523
  /**
5408
5524
  * A list of errors that occurred while validating the ingress's dns before requesting a certificate. `ERROR_QUAD_A` and `ERROR_NO_A_RECORD` are deprecated and no longer reported.
5409
5525
  */
@@ -5484,6 +5600,14 @@ export declare namespace MittwaldAPIV2 {
5484
5600
  path: string;
5485
5601
  target: MittwaldAPIV2.Components.Schemas.IngressTargetUrl | MittwaldAPIV2.Components.Schemas.IngressTargetInstallation | MittwaldAPIV2.Components.Schemas.IngressTargetUseDefaultPage | MittwaldAPIV2.Components.Schemas.IngressTargetContainer;
5486
5602
  }
5603
+ interface IngressPathAccessProtection {
5604
+ /**
5605
+ * Whether the target receives the identity of the logged-in user as request headers.
5606
+ */
5607
+ passIdentityHeaders: boolean;
5608
+ path: string;
5609
+ rules: MittwaldAPIV2.Components.Schemas.IngressAccessProtectionRules;
5610
+ }
5487
5611
  interface IngressTargetContainer {
5488
5612
  container: {
5489
5613
  id: string;
@@ -8352,6 +8476,14 @@ export declare namespace MittwaldAPIV2 {
8352
8476
  interface ActivitylogLogEntry {
8353
8477
  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;
8354
8478
  aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
8479
+ credential?: {
8480
+ /**
8481
+ * Last known name of the API token, including removed or expired tokens.
8482
+ */
8483
+ apiTokenName?: string;
8484
+ id: string;
8485
+ kind: "unknown" | "userSession" | "apiToken" | "scopedToken" | "extensionInstance" | "extensionSession" | "serviceToken" | "atrek" | "classicIdentity";
8486
+ } | null;
8355
8487
  dateTime: string;
8356
8488
  /**
8357
8489
  * Null or empty object. If set, the action was executed by an mittwald employee.
@@ -8843,323 +8975,6 @@ export declare namespace MittwaldAPIV2 {
8843
8975
  humanReadableName: string;
8844
8976
  id: string;
8845
8977
  }
8846
- interface SignupProfile {
8847
- email?: string;
8848
- /**
8849
- * the users mfa details
8850
- */
8851
- mfaDetails?: {
8852
- mfaConfirmed?: boolean;
8853
- mfaInitialized?: boolean;
8854
- };
8855
- passwordUpdatedAt?: string;
8856
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8857
- userId?: string;
8858
- }
8859
- interface SignupScopedToken {
8860
- createdAt: string;
8861
- /**
8862
- * ID of the User who created the ScopedToken.
8863
- */
8864
- createdBy: string;
8865
- description: string;
8866
- expiresAt?: string;
8867
- id: string;
8868
- /**
8869
- * ID of the Project the ScopedToken is bound to.
8870
- */
8871
- projectId?: string;
8872
- /**
8873
- * 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.
8874
- *
8875
- * @minItems 1
8876
- */
8877
- scopes: [string, ...string[]];
8878
- }
8879
- interface UserCustomerMembership {
8880
- expiresAt?: string;
8881
- id: string;
8882
- memberSince: string;
8883
- role: "owner" | "member" | "accountant";
8884
- }
8885
- interface UserUserFeedback {
8886
- id: string;
8887
- message: string;
8888
- origin: string;
8889
- subject: string;
8890
- vote: number;
8891
- }
8892
- type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
8893
- interface UserProjectMembership {
8894
- expiresAt?: string;
8895
- id?: string;
8896
- inherited: boolean;
8897
- memberSince: string;
8898
- role: "owner" | "emailadmin" | "external" | "id";
8899
- }
8900
- interface UserUser {
8901
- avatarRef?: string;
8902
- customerMemberships?: {
8903
- [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
8904
- };
8905
- email?: string;
8906
- /**
8907
- * Additional information about mittwald employees.
8908
- */
8909
- employeeInformation?: {
8910
- department: string;
8911
- };
8912
- /**
8913
- * Truth value, whether the user is a mittwald employee
8914
- */
8915
- isEmployee?: boolean;
8916
- mfa?: {
8917
- active: boolean;
8918
- setup: boolean;
8919
- };
8920
- passwordUpdatedAt?: string;
8921
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8922
- phoneNumber?: string;
8923
- projectMemberships?: {
8924
- [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
8925
- };
8926
- registeredAt?: string;
8927
- userId: string;
8928
- }
8929
- interface SignupSshKey {
8930
- algorithm: string;
8931
- comment: string;
8932
- createdAt: string;
8933
- expiresAt?: string;
8934
- fingerprint: string;
8935
- key: string;
8936
- sshKeyId: string;
8937
- }
8938
- interface PollUserPollSettings {
8939
- completedAt?: string;
8940
- dontShowUntil?: string;
8941
- ignoredAt?: string;
8942
- shouldShow: boolean;
8943
- status: "completed" | "muted" | "ignored" | "new";
8944
- userId: string;
8945
- }
8946
- interface SignupUserSession {
8947
- created: string;
8948
- device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
8949
- lastAccess?: string;
8950
- location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
8951
- tokenId: string;
8952
- }
8953
- interface VarnishConfigRevision {
8954
- expire?: number;
8955
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8956
- note?: string;
8957
- revision: number;
8958
- updated: string;
8959
- }
8960
- interface VarnishConfigTemplate {
8961
- /**
8962
- * A set of config file references.
8963
- */
8964
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8965
- isGlobal?: boolean;
8966
- note?: string;
8967
- projectId?: string;
8968
- softwareConfigTemplateId: string;
8969
- softwareTemplateId: string;
8970
- updatedAt?: string;
8971
- }
8972
- interface VarnishConfigFile {
8973
- content: string;
8974
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8975
- }
8976
- interface VarnishConfigFileMetadata {
8977
- name: string;
8978
- path?: string;
8979
- }
8980
- interface VarnishConfigFileRef {
8981
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8982
- refId: string;
8983
- }
8984
- interface VarnishGlobalConfigTemplate {
8985
- data: string;
8986
- name: string;
8987
- updatedAt: string;
8988
- }
8989
- interface VarnishSoftware {
8990
- config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
8991
- projectId: string;
8992
- settings?: {
8993
- [k: string]: string;
8994
- };
8995
- softwareId: string;
8996
- softwareTemplateId: string;
8997
- softwareVersion: string;
8998
- updatedAt: string;
8999
- }
9000
- interface VarnishSoftwareConfig {
9001
- configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
9002
- latestConfigRevision?: number;
9003
- revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
9004
- }
9005
- interface VarnishConfigExpiration {
9006
- maxVersions?: number;
9007
- retentionTime?: number;
9008
- }
9009
- interface VarnishSoftwareConfigFileAccessToken {
9010
- accessToken: string;
9011
- expiresAt: string;
9012
- }
9013
- interface VarnishSoftwareSetting {
9014
- name: string;
9015
- value: string;
9016
- }
9017
- interface VerificationEmailDetectPhishingMailResponse {
9018
- result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
9019
- }
9020
- type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
9021
- type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
9022
- /**
9023
- * One AI hosting key the authenticated user can reach, with the organization,
9024
- * project and plan names denormalized so the list needs no second call.
9025
- *
9026
- */
9027
- interface AihostingUserKey {
9028
- containerMeta?: MittwaldAPIV2.Components.Schemas.AihostingContainerMeta;
9029
- createdAt: string;
9030
- customerId: string;
9031
- customerName: string;
9032
- /**
9033
- * Indicates whether the key is blocked.
9034
- */
9035
- isBlocked: boolean;
9036
- /**
9037
- * @deprecated
9038
- * The secret API key. For security reasons we no longer want to keep exposing this value on every response — this field is deprecated and will stop returning the real key in a future change. It still returns the real value for now.
9039
- */
9040
- key: string;
9041
- /**
9042
- * Auto generated uuid to identify keys in requests.
9043
- */
9044
- keyId: string;
9045
- /**
9046
- * @deprecated
9047
- * This Field is deprecated. You can find the allowed models in the /ai-hosting route.
9048
- */
9049
- models: string[];
9050
- name: string;
9051
- planDescription: string;
9052
- planId: string;
9053
- projectId?: string;
9054
- /**
9055
- * Empty when the key is not assigned to a project.
9056
- */
9057
- projectName?: string;
9058
- rateLimit: MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
9059
- tokenUsage: MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
9060
- }
9061
- /**
9062
- * One AI hosting plan the authenticated user can reach through one of its
9063
- * organizations. A membership in one of the plan's projects alone grants no
9064
- * access to it.
9065
- *
9066
- */
9067
- interface AihostingUserPlan {
9068
- customerId: string;
9069
- /**
9070
- * Denormalized name of the owning organization.
9071
- */
9072
- customerName: string;
9073
- description: string;
9074
- keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
9075
- maxParallelRequests?: number;
9076
- nextTokenReset: string;
9077
- planId: string;
9078
- rateLimit: MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
9079
- suspended?: boolean;
9080
- tokens: MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
9081
- }
9082
- interface ActivitylogCustomerCreated {
9083
- changes: {
9084
- after?: {
9085
- customerNumber: string;
9086
- /**
9087
- * Set if the contract owner came with the creation and carried an owner.
9088
- */
9089
- leitwegIdConfigured?: boolean;
9090
- /**
9091
- * The organisation's name. Empty if it is unknown, for organisations created before 2025-10-23.
9092
- */
9093
- name: string;
9094
- /**
9095
- * Set if the contract owner came with the creation.
9096
- */
9097
- vatIdConfigured?: boolean;
9098
- };
9099
- before?: {
9100
- customerNumber: string | null;
9101
- leitwegIdConfigured?: boolean | null;
9102
- name: string | null;
9103
- vatIdConfigured?: boolean | null;
9104
- };
9105
- };
9106
- name: "customer.created";
9107
- parameters: {
9108
- description: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
9109
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
9110
- };
9111
- }
9112
- interface ActivitylogCustomerNameUpdated {
9113
- /**
9114
- * Empty if the name is unknown, for renames before 2025-10-23.
9115
- */
9116
- changes: {
9117
- after?: {
9118
- name: string;
9119
- };
9120
- before?: {
9121
- name: string;
9122
- };
9123
- };
9124
- name: "customer.name-updated";
9125
- parameters: {
9126
- description: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
9127
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
9128
- };
9129
- }
9130
- /**
9131
- * The contract owner's contact, VAT ID and Leitweg-ID are never logged; only whether a VAT ID and a Leitweg-ID are configured. `changes` is empty unless one of these flags changed. `leitwegIdConfigured` is missing if the event carried no owner.
9132
- */
9133
- interface ActivitylogCustomerOwnerUpdated {
9134
- changes: {
9135
- after?: {
9136
- leitwegIdConfigured?: boolean;
9137
- vatIdConfigured: boolean;
9138
- };
9139
- before?: {
9140
- leitwegIdConfigured?: boolean | null;
9141
- vatIdConfigured: boolean | null;
9142
- };
9143
- };
9144
- name: "customer.owner-updated";
9145
- parameters: {
9146
- description: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
9147
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
9148
- };
9149
- }
9150
- interface ActivitylogCustomerLogEntry {
9151
- action: MittwaldAPIV2.Components.Schemas.ActivitylogCustomerCreated | MittwaldAPIV2.Components.Schemas.ActivitylogCustomerNameUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogCustomerOwnerUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogInvoiceIssued | MittwaldAPIV2.Components.Schemas.ActivitylogInvoiceCancelled | MittwaldAPIV2.Components.Schemas.ActivitylogInvoicePaymentStatus | MittwaldAPIV2.Components.Schemas.ActivitylogInvoiceSettingsCreated | MittwaldAPIV2.Components.Schemas.ActivitylogInvoiceSettingsUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogInvoiceReturnDebitNote | MittwaldAPIV2.Components.Schemas.ActivitylogInvoiceReturnDebitNoteProcedureChosen | MittwaldAPIV2.Components.Schemas.ActivitylogInvoiceContributorReceiptIssued | MittwaldAPIV2.Components.Schemas.ActivitylogOrderCreated | MittwaldAPIV2.Components.Schemas.ActivitylogOrderConfirmed | MittwaldAPIV2.Components.Schemas.ActivitylogOrderStatus | MittwaldAPIV2.Components.Schemas.ActivitylogOrderDomainMigrationOrderCreated | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionStatus | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionInstanceAdded | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionInstanceScopesConsented | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionInstanceDisabled | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionInstanceEnabled | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionInstanceRemoved | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionOrdered | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionVariantChange | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionTermination | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionSubscriptionEnded | MittwaldAPIV2.Components.Schemas.ActivitylogExtensionPaymentMethod | MittwaldAPIV2.Components.Schemas.ActivitylogGenericAction;
9152
- aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
9153
- dateTime: string;
9154
- /**
9155
- * Null or empty object. If set, the action was executed by an mittwald employee.
9156
- */
9157
- impersonator?: {};
9158
- user?: {
9159
- id: string;
9160
- type: "user" | "extension";
9161
- };
9162
- }
9163
8978
  /**
9164
8979
  * A passkey assertion: the result of `navigator.credentials.get()` serialized with
9165
8980
  * [`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3
@@ -9321,6 +9136,16 @@ export declare namespace MittwaldAPIV2 {
9321
9136
  name: string;
9322
9137
  };
9323
9138
  }
9139
+ /**
9140
+ * A passkey assertion that proves the second factor. `challengeId` comes from `POST /users/self/passkey-challenges`
9141
+ * (or from `passkeyChallenge` of `POST /authenticate` for `POST /authenticate-mfa`), `credential` is the
9142
+ * `credential.toJSON()` of the `navigator.credentials.get()` call with its `options`.
9143
+ *
9144
+ */
9145
+ interface SignupPasskeyCredential {
9146
+ challengeId: string;
9147
+ credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
9148
+ }
9324
9149
  /**
9325
9150
  * A passkey of the user, as WebAuthn Level 3
9326
9151
  * [`PublicKeyCredentialDescriptorJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialdescriptorjson).
@@ -9342,16 +9167,6 @@ export declare namespace MittwaldAPIV2 {
9342
9167
  */
9343
9168
  type: string;
9344
9169
  }
9345
- /**
9346
- * A passkey assertion that proves the second factor. `challengeId` comes from `POST /users/self/passkey-challenges`
9347
- * (or from `passkeyChallenge` of `POST /authenticate` for `POST /authenticate-mfa`), `credential` is the
9348
- * `credential.toJSON()` of the `navigator.credentials.get()` call with its `options`.
9349
- *
9350
- */
9351
- interface SignupPasskeyCredential {
9352
- challengeId: string;
9353
- credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
9354
- }
9355
9170
  /**
9356
9171
  * A challenge for registering a passkey. Run `navigator.credentials.create()` with `options` and send
9357
9172
  * `challengeId` together with the resulting `credential.toJSON()` to `POST /users/self/passkeys`. The challenge
@@ -9468,424 +9283,182 @@ export declare namespace MittwaldAPIV2 {
9468
9283
  */
9469
9284
  userVerification: string;
9470
9285
  }
9471
- interface ActivitylogExtensionInstanceAdded {
9472
- /**
9473
- * Variant and consented scopes of the installing command, if it set any.
9474
- */
9475
- changes: {
9476
- after?: {
9477
- scopes?: string[];
9478
- variantKey?: string | null;
9479
- };
9480
- before?: {
9481
- scopes?: string[] | null;
9482
- variantKey?: string | null;
9483
- };
9484
- };
9485
- name: "extension.instance-added";
9486
- /**
9487
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9488
- */
9489
- parameters: {
9490
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9491
- };
9492
- }
9493
- interface ActivitylogExtensionInstanceDisabled {
9494
- changes: {
9495
- after?: {
9496
- disabledThrough: string | null;
9497
- };
9498
- before?: {
9499
- disabledThrough: string | null;
9500
- };
9501
- };
9502
- name: "extension.instance-disabled";
9503
- /**
9504
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9505
- */
9506
- parameters: {
9507
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9508
- };
9509
- }
9510
- interface ActivitylogExtensionInstanceEnabled {
9511
- changes: {};
9512
- name: "extension.instance-enabled";
9286
+ interface SignupProfile {
9287
+ email?: string;
9513
9288
  /**
9514
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9289
+ * the users mfa details
9515
9290
  */
9516
- parameters: {
9517
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9291
+ mfaDetails?: {
9292
+ mfaConfirmed?: boolean;
9293
+ mfaInitialized?: boolean;
9518
9294
  };
9295
+ passwordUpdatedAt?: string;
9296
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
9297
+ userId?: string;
9519
9298
  }
9520
- interface ActivitylogExtensionInstanceRemoved {
9521
- changes: {
9522
- after?: {
9523
- /**
9524
- * True for a forced removal by mittwald.
9525
- */
9526
- forced: boolean;
9527
- };
9528
- before?: {
9529
- forced: boolean | null;
9530
- };
9531
- };
9532
- name: "extension.instance-removed";
9299
+ interface SignupScopedToken {
9300
+ createdAt: string;
9533
9301
  /**
9534
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9302
+ * ID of the User who created the ScopedToken.
9535
9303
  */
9536
- parameters: {
9537
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9538
- };
9539
- }
9540
- interface ActivitylogExtensionInstanceScopesConsented {
9541
- changes: {
9542
- after?: {
9543
- scopes: string[];
9544
- };
9545
- before?: {
9546
- scopes: string[];
9547
- };
9548
- };
9549
- name: "extension.instance-scopes-consented";
9304
+ createdBy: string;
9305
+ description: string;
9306
+ expiresAt?: string;
9307
+ id: string;
9550
9308
  /**
9551
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9309
+ * ID of the Project the ScopedToken is bound to.
9552
9310
  */
9553
- parameters: {
9554
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9555
- };
9556
- }
9557
- interface ActivitylogExtensionOrdered {
9558
- changes: {
9559
- after?: {
9560
- variantKey: string | null;
9561
- };
9562
- before?: {
9563
- variantKey: string | null;
9564
- };
9565
- };
9566
- name: "extension.ordered" | "extension.subscription-started";
9311
+ projectId?: string;
9567
9312
  /**
9568
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9313
+ * 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.
9314
+ *
9315
+ * @minItems 1
9569
9316
  */
9570
- parameters: {
9571
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9572
- };
9317
+ scopes: [string, ...string[]];
9573
9318
  }
9574
- interface ActivitylogExtensionPaymentMethod {
9575
- changes: {
9576
- after?: {
9577
- /**
9578
- * Whether the organization has a payment method; no details of it are ever logged.
9579
- */
9580
- paymentMethodConfigured: boolean;
9581
- };
9582
- before?: {
9583
- paymentMethodConfigured: boolean;
9584
- };
9585
- };
9586
- name: "extension.payment-method-added" | "extension.payment-method-removed";
9587
- parameters: {};
9319
+ interface UserCustomerMembership {
9320
+ expiresAt?: string;
9321
+ id: string;
9322
+ memberSince: string;
9323
+ role: "owner" | "member" | "accountant";
9588
9324
  }
9589
- interface ActivitylogExtensionStatus {
9590
- /**
9591
- * Empty; verification rejections and withdrawals never name their reason.
9592
- */
9593
- changes: {};
9594
- name: "extension.registered" | "extension.verification-requested" | "extension.verified" | "extension.verification-rejected" | "extension.published" | "extension.withdrawn" | "extension.removed";
9595
- /**
9596
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9597
- */
9598
- parameters: {
9599
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9600
- };
9325
+ interface UserUserFeedback {
9326
+ id: string;
9327
+ message: string;
9328
+ origin: string;
9329
+ subject: string;
9330
+ vote: number;
9601
9331
  }
9602
- interface ActivitylogExtensionSubscriptionEnded {
9603
- changes: {
9604
- after?: {
9605
- /**
9606
- * True if the subscription ended because of a scheduled termination.
9607
- */
9608
- terminationExecuted: boolean;
9609
- };
9610
- before?: {
9611
- terminationExecuted: boolean | null;
9612
- };
9613
- };
9614
- name: "extension.subscription-ended";
9615
- /**
9616
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9617
- */
9618
- parameters: {
9619
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9620
- };
9332
+ type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
9333
+ interface UserProjectMembership {
9334
+ expiresAt?: string;
9335
+ id?: string;
9336
+ inherited: boolean;
9337
+ memberSince: string;
9338
+ role: "owner" | "emailadmin" | "external" | "id";
9621
9339
  }
9622
- interface ActivitylogExtensionTermination {
9623
- changes: {
9624
- after?: {
9625
- terminationDate: string | null;
9626
- };
9627
- before?: {
9628
- terminationDate: string | null;
9629
- };
9340
+ interface UserUser {
9341
+ avatarRef?: string;
9342
+ customerMemberships?: {
9343
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
9630
9344
  };
9631
- name: "extension.termination-scheduled" | "extension.termination-cancelled";
9345
+ email?: string;
9632
9346
  /**
9633
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9347
+ * Additional information about mittwald employees.
9634
9348
  */
9635
- parameters: {
9636
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9349
+ employeeInformation?: {
9350
+ department: string;
9637
9351
  };
9638
- }
9639
- interface ActivitylogExtensionVariantChange {
9640
9352
  /**
9641
- * `variantKey` is the variant the instance will be on at `effectiveDate`: the target of a scheduled change, the current variant after a cancellation. `effectiveDate` and `reason` are only set for scheduled and cancelled changes.
9353
+ * Truth value, whether the user is a mittwald employee
9642
9354
  */
9643
- changes: {
9644
- after?: {
9645
- effectiveDate?: string | null;
9646
- reason?: string | null;
9647
- variantKey: string | null;
9648
- };
9649
- before?: {
9650
- effectiveDate?: string | null;
9651
- reason?: string | null;
9652
- variantKey: string | null;
9653
- };
9355
+ isEmployee?: boolean;
9356
+ mfa?: {
9357
+ active: boolean;
9358
+ setup: boolean;
9654
9359
  };
9655
- name: "extension.variant-change-scheduled" | "extension.variant-change-cancelled" | "extension.variant-changed";
9656
- /**
9657
- * `extension` links the extension and is named by it; it is unnamed if the extension is not known.
9658
- */
9659
- parameters: {
9660
- extension: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9360
+ passwordUpdatedAt?: string;
9361
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
9362
+ phoneNumber?: string;
9363
+ projectMemberships?: {
9364
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
9661
9365
  };
9366
+ registeredAt?: string;
9367
+ userId: string;
9662
9368
  }
9663
- interface ActivitylogInvoiceCancelled {
9664
- changes: {
9665
- after?: {
9666
- correctionNumber: string | null;
9667
- };
9668
- before?: {
9669
- correctionNumber: string | null;
9670
- };
9671
- };
9672
- name: "invoice.cancelled";
9673
- /**
9674
- * `invoice` is named by the invoice number.
9675
- */
9676
- parameters: {
9677
- invoice: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9678
- };
9369
+ interface SignupSshKey {
9370
+ algorithm: string;
9371
+ comment: string;
9372
+ createdAt: string;
9373
+ expiresAt?: string;
9374
+ fingerprint: string;
9375
+ key: string;
9376
+ sshKeyId: string;
9679
9377
  }
9680
- interface ActivitylogInvoiceContributorReceiptIssued {
9681
- changes: {};
9682
- name: "invoice.contributor-receipt-issued";
9683
- /**
9684
- * `receipt` is named by the receipt number.
9685
- */
9686
- parameters: {
9687
- receipt: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9688
- };
9378
+ interface PollUserPollSettings {
9379
+ completedAt?: string;
9380
+ dontShowUntil?: string;
9381
+ ignoredAt?: string;
9382
+ shouldShow: boolean;
9383
+ status: "completed" | "muted" | "ignored" | "new";
9384
+ userId: string;
9689
9385
  }
9690
- interface ActivitylogInvoiceIssued {
9691
- changes: {
9692
- after?: {
9693
- invoiceType: string | null;
9694
- };
9695
- before?: {
9696
- invoiceType: string | null;
9697
- };
9698
- };
9699
- name: "invoice.issued";
9700
- /**
9701
- * `invoice` is named by the invoice number.
9702
- */
9703
- parameters: {
9704
- invoice: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9705
- };
9386
+ interface SignupUserSession {
9387
+ created: string;
9388
+ device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
9389
+ lastAccess?: string;
9390
+ location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
9391
+ tokenId: string;
9706
9392
  }
9707
- interface ActivitylogInvoicePaymentStatus {
9708
- /**
9709
- * Empty, amounts are not stored.
9710
- */
9711
- changes: {};
9712
- name: "invoice.payment-reminder-sent" | "invoice.paid";
9713
- /**
9714
- * `invoice` is named by the invoice number.
9715
- */
9716
- parameters: {
9717
- invoice: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9718
- };
9393
+ interface VarnishConfigRevision {
9394
+ expire?: number;
9395
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
9396
+ note?: string;
9397
+ revision: number;
9398
+ updated: string;
9719
9399
  }
9720
- interface ActivitylogInvoiceReturnDebitNote {
9721
- /**
9722
- * Empty, amounts are not stored.
9723
- */
9724
- changes: {};
9725
- name: "invoice.return-debit-note-registered" | "invoice.return-debit-note-resolved";
9400
+ interface VarnishConfigTemplate {
9726
9401
  /**
9727
- * `invoice` is named by the invoice number; it is missing if the event has no invoice and has an empty name if the invoice is unknown.
9402
+ * A set of config file references.
9728
9403
  */
9729
- parameters: {
9730
- invoice?: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
9731
- };
9404
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
9405
+ isGlobal?: boolean;
9406
+ note?: string;
9407
+ projectId?: string;
9408
+ softwareConfigTemplateId: string;
9409
+ softwareTemplateId: string;
9410
+ updatedAt?: string;
9732
9411
  }
9733
- interface ActivitylogInvoiceReturnDebitNoteProcedureChosen {
9734
- changes: {
9735
- after?: {
9736
- procedure: string | null;
9737
- };
9738
- before?: {
9739
- procedure: string | null;
9740
- };
9741
- };
9742
- name: "invoice.return-debit-note-procedure-chosen";
9743
- parameters: {};
9412
+ interface VarnishConfigFile {
9413
+ content: string;
9414
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
9744
9415
  }
9745
- interface ActivitylogInvoiceSettingsCreated {
9746
- changes: {
9747
- after?: {
9748
- invoicePeriod: number;
9749
- paymentMethod: string | null;
9750
- printedInvoices: boolean;
9751
- recipientSameAsOwner: boolean;
9752
- };
9753
- before?: {
9754
- invoicePeriod: number | null;
9755
- paymentMethod: string | null;
9756
- printedInvoices: boolean | null;
9757
- recipientSameAsOwner: boolean | null;
9758
- };
9759
- };
9760
- name: "invoice.settings-created";
9761
- parameters: {};
9416
+ interface VarnishConfigFileMetadata {
9417
+ name: string;
9418
+ path?: string;
9762
9419
  }
9763
- interface ActivitylogInvoiceSettingsUpdated {
9764
- /**
9765
- * All settings events of one command in one entry; only the groups that were set are present.
9766
- */
9767
- changes: {
9768
- after?: {
9769
- /**
9770
- * Number of additional e-mail recipients, present if it changed.
9771
- */
9772
- additionalEmailRecipients?: number;
9773
- /**
9774
- * Present only if the last four characters of the IBAN changed; never BIC or account holder.
9775
- */
9776
- bankAccount?: {
9777
- ibanLast4: string | null;
9778
- };
9779
- invoicePeriod?: number;
9780
- paymentMethod?: string | null;
9781
- printedInvoices?: boolean;
9782
- /**
9783
- * Only the flag, never the recipient itself. Present on every recipient update, also if the flag did not change.
9784
- */
9785
- recipient?: {
9786
- recipientSameAsOwner: boolean;
9787
- };
9788
- targetDay?: number;
9789
- };
9790
- before?: {
9791
- /**
9792
- * Number of additional e-mail recipients, present if it changed.
9793
- */
9794
- additionalEmailRecipients?: number;
9795
- /**
9796
- * Present only if the last four characters of the IBAN changed; never BIC or account holder.
9797
- */
9798
- bankAccount?: {
9799
- ibanLast4: string | null;
9800
- };
9801
- invoicePeriod?: number;
9802
- paymentMethod?: string | null;
9803
- printedInvoices?: boolean;
9804
- /**
9805
- * Only the flag, never the recipient itself. Present on every recipient update, also if the flag did not change.
9806
- */
9807
- recipient?: {
9808
- recipientSameAsOwner: boolean;
9809
- };
9810
- targetDay?: number;
9811
- };
9812
- };
9813
- name: "invoice.settings-updated";
9814
- parameters: {};
9420
+ interface VarnishConfigFileRef {
9421
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
9422
+ refId: string;
9815
9423
  }
9816
- interface ActivitylogOrderConfirmed {
9817
- changes: {
9818
- after?: {
9819
- /**
9820
- * True if the order was confirmed by the system and not by a person.
9821
- */
9822
- confirmedAutomatically: boolean;
9823
- };
9824
- before?: {
9825
- confirmedAutomatically: boolean | null;
9826
- };
9827
- };
9828
- name: "order.confirmed" | "order.tariff-change-confirmed";
9829
- /**
9830
- * `order` is named by the order number.
9831
- */
9832
- parameters: {
9833
- order: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9834
- };
9424
+ interface VarnishGlobalConfigTemplate {
9425
+ data: string;
9426
+ name: string;
9427
+ updatedAt: string;
9835
9428
  }
9836
- interface ActivitylogOrderCreated {
9837
- changes: {
9838
- after?: {
9839
- /**
9840
- * IDs of the ordered articles, each one once. Prices, quantities and item attributes are not stored.
9841
- */
9842
- articleIds: string[];
9843
- };
9844
- before?: {
9845
- articleIds: string[] | null;
9846
- };
9847
- };
9848
- name: "order.created";
9849
- /**
9850
- * `order` is named by the order number.
9851
- */
9852
- parameters: {
9853
- order: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9429
+ interface VarnishSoftware {
9430
+ config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
9431
+ projectId: string;
9432
+ settings?: {
9433
+ [k: string]: string;
9854
9434
  };
9435
+ softwareId: string;
9436
+ softwareTemplateId: string;
9437
+ softwareVersion: string;
9438
+ updatedAt: string;
9855
9439
  }
9856
- interface ActivitylogOrderDomainMigrationOrderCreated {
9857
- changes: {
9858
- after?: {
9859
- /**
9860
- * Number of domains in the migration order. Domain names are not stored.
9861
- */
9862
- domainCount: number;
9863
- };
9864
- before?: {
9865
- domainCount: number | null;
9866
- };
9867
- };
9868
- name: "order.domain-migration-order-created";
9869
- /**
9870
- * `order` is named by the order number.
9871
- */
9872
- parameters: {
9873
- order: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9874
- };
9440
+ interface VarnishSoftwareConfig {
9441
+ configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
9442
+ latestConfigRevision?: number;
9443
+ revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
9875
9444
  }
9876
- interface ActivitylogOrderStatus {
9877
- /**
9878
- * Empty, a rejection never names its reason.
9879
- */
9880
- changes: {};
9881
- name: "order.rejected" | "order.aborted" | "order.executed" | "order.deleted";
9882
- /**
9883
- * `order` is named by the order number.
9884
- */
9885
- parameters: {
9886
- order: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
9887
- };
9445
+ interface VarnishConfigExpiration {
9446
+ maxVersions?: number;
9447
+ retentionTime?: number;
9888
9448
  }
9449
+ interface VarnishSoftwareConfigFileAccessToken {
9450
+ accessToken: string;
9451
+ expiresAt: string;
9452
+ }
9453
+ interface VarnishSoftwareSetting {
9454
+ name: string;
9455
+ value: string;
9456
+ }
9457
+ interface VerificationEmailDetectPhishingMailResponse {
9458
+ result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
9459
+ }
9460
+ type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
9461
+ type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
9889
9462
  interface CommonsAddress {
9890
9463
  street: string;
9891
9464
  houseNumber: string;
@@ -11623,6 +11196,110 @@ export declare namespace MittwaldAPIV2 {
11623
11196
  }
11624
11197
  }
11625
11198
  }
11199
+ namespace V2AiHostingKeys {
11200
+ namespace Get {
11201
+ namespace Parameters {
11202
+ type Path = {};
11203
+ type Header = {};
11204
+ type Query = {
11205
+ customerId?: string;
11206
+ projectId?: string;
11207
+ planId?: string;
11208
+ searchTerm?: string;
11209
+ limit?: number;
11210
+ skip?: number;
11211
+ page?: number;
11212
+ };
11213
+ }
11214
+ namespace Responses {
11215
+ namespace $200 {
11216
+ namespace Content {
11217
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserKey[];
11218
+ }
11219
+ }
11220
+ namespace $400 {
11221
+ namespace Content {
11222
+ interface ApplicationJson {
11223
+ [k: string]: unknown;
11224
+ }
11225
+ }
11226
+ }
11227
+ namespace $403 {
11228
+ namespace Content {
11229
+ interface ApplicationJson {
11230
+ [k: string]: unknown;
11231
+ }
11232
+ }
11233
+ }
11234
+ namespace $429 {
11235
+ namespace Content {
11236
+ interface ApplicationJson {
11237
+ [k: string]: unknown;
11238
+ }
11239
+ }
11240
+ }
11241
+ namespace Default {
11242
+ namespace Content {
11243
+ interface ApplicationJson {
11244
+ [k: string]: unknown;
11245
+ }
11246
+ }
11247
+ }
11248
+ }
11249
+ }
11250
+ }
11251
+ namespace V2AiHostings {
11252
+ namespace Get {
11253
+ namespace Parameters {
11254
+ type Path = {};
11255
+ type Header = {};
11256
+ type Query = {
11257
+ customerId?: string;
11258
+ projectId?: string;
11259
+ planId?: string;
11260
+ searchTerm?: string;
11261
+ limit?: number;
11262
+ skip?: number;
11263
+ page?: number;
11264
+ };
11265
+ }
11266
+ namespace Responses {
11267
+ namespace $200 {
11268
+ namespace Content {
11269
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserPlan[];
11270
+ }
11271
+ }
11272
+ namespace $400 {
11273
+ namespace Content {
11274
+ interface ApplicationJson {
11275
+ [k: string]: unknown;
11276
+ }
11277
+ }
11278
+ }
11279
+ namespace $403 {
11280
+ namespace Content {
11281
+ interface ApplicationJson {
11282
+ [k: string]: unknown;
11283
+ }
11284
+ }
11285
+ }
11286
+ namespace $429 {
11287
+ namespace Content {
11288
+ interface ApplicationJson {
11289
+ [k: string]: unknown;
11290
+ }
11291
+ }
11292
+ }
11293
+ namespace Default {
11294
+ namespace Content {
11295
+ interface ApplicationJson {
11296
+ [k: string]: unknown;
11297
+ }
11298
+ }
11299
+ }
11300
+ }
11301
+ }
11302
+ }
11626
11303
  namespace V2AppInstallationsAppInstallationIdActionsDetachStaging {
11627
11304
  namespace Post {
11628
11305
  namespace Parameters {
@@ -11815,6 +11492,13 @@ export declare namespace MittwaldAPIV2 {
11815
11492
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.AppAppInstallation;
11816
11493
  }
11817
11494
  }
11495
+ namespace $403 {
11496
+ namespace Content {
11497
+ interface ApplicationJson {
11498
+ [k: string]: unknown;
11499
+ }
11500
+ }
11501
+ }
11818
11502
  namespace $404 {
11819
11503
  namespace Content {
11820
11504
  interface ApplicationJson {
@@ -18409,6 +18093,13 @@ export declare namespace MittwaldAPIV2 {
18409
18093
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CronjobCronjob;
18410
18094
  }
18411
18095
  }
18096
+ namespace $403 {
18097
+ namespace Content {
18098
+ interface ApplicationJson {
18099
+ [k: string]: unknown;
18100
+ }
18101
+ }
18102
+ }
18412
18103
  namespace $404 {
18413
18104
  namespace Content {
18414
18105
  interface ApplicationJson {
@@ -19148,6 +18839,13 @@ export declare namespace MittwaldAPIV2 {
19148
18839
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite;
19149
18840
  }
19150
18841
  }
18842
+ namespace $403 {
18843
+ namespace Content {
18844
+ interface ApplicationJson {
18845
+ [k: string]: unknown;
18846
+ }
18847
+ }
18848
+ }
19151
18849
  namespace $404 {
19152
18850
  namespace Content {
19153
18851
  interface ApplicationJson {
@@ -19696,6 +19394,13 @@ export declare namespace MittwaldAPIV2 {
19696
19394
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[];
19697
19395
  }
19698
19396
  }
19397
+ namespace $403 {
19398
+ namespace Content {
19399
+ interface ApplicationJson {
19400
+ [k: string]: unknown;
19401
+ }
19402
+ }
19403
+ }
19699
19404
  namespace $404 {
19700
19405
  namespace Content {
19701
19406
  interface ApplicationJson {
@@ -20296,6 +20001,13 @@ export declare namespace MittwaldAPIV2 {
20296
20001
  }
20297
20002
  }
20298
20003
  }
20004
+ namespace $403 {
20005
+ namespace Content {
20006
+ interface ApplicationJson {
20007
+ [k: string]: unknown;
20008
+ }
20009
+ }
20010
+ }
20299
20011
  namespace $404 {
20300
20012
  namespace Content {
20301
20013
  interface ApplicationJson {
@@ -20604,6 +20316,13 @@ export declare namespace MittwaldAPIV2 {
20604
20316
  }
20605
20317
  }
20606
20318
  }
20319
+ namespace $403 {
20320
+ namespace Content {
20321
+ interface ApplicationJson {
20322
+ [k: string]: unknown;
20323
+ }
20324
+ }
20325
+ }
20607
20326
  namespace $404 {
20608
20327
  namespace Content {
20609
20328
  interface ApplicationJson {
@@ -29693,6 +29412,43 @@ export declare namespace MittwaldAPIV2 {
29693
29412
  }
29694
29413
  }
29695
29414
  }
29415
+ namespace V2NotificationSettingsActionsReset {
29416
+ namespace Post {
29417
+ namespace Parameters {
29418
+ type Path = {};
29419
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29420
+ type Query = {};
29421
+ }
29422
+ namespace Responses {
29423
+ namespace $204 {
29424
+ namespace Content {
29425
+ type Empty = unknown;
29426
+ }
29427
+ }
29428
+ namespace $403 {
29429
+ namespace Content {
29430
+ interface ApplicationJson {
29431
+ [k: string]: unknown;
29432
+ }
29433
+ }
29434
+ }
29435
+ namespace $429 {
29436
+ namespace Content {
29437
+ interface ApplicationJson {
29438
+ [k: string]: unknown;
29439
+ }
29440
+ }
29441
+ }
29442
+ namespace Default {
29443
+ namespace Content {
29444
+ interface ApplicationJson {
29445
+ [k: string]: unknown;
29446
+ }
29447
+ }
29448
+ }
29449
+ }
29450
+ }
29451
+ }
29696
29452
  namespace V2NotificationsNotificationIdStatus {
29697
29453
  namespace Put {
29698
29454
  namespace Parameters {
@@ -30711,6 +30467,13 @@ export declare namespace MittwaldAPIV2 {
30711
30467
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipProjectInvite;
30712
30468
  }
30713
30469
  }
30470
+ namespace $403 {
30471
+ namespace Content {
30472
+ interface ApplicationJson {
30473
+ [k: string]: unknown;
30474
+ }
30475
+ }
30476
+ }
30714
30477
  namespace $404 {
30715
30478
  namespace Content {
30716
30479
  interface ApplicationJson {
@@ -33435,12 +33198,73 @@ export declare namespace MittwaldAPIV2 {
33435
33198
  }
33436
33199
  namespace $400 {
33437
33200
  namespace Content {
33438
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
33201
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
33439
33202
  }
33440
33203
  }
33441
33204
  namespace $408 {
33442
33205
  namespace Content {
33443
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
33206
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
33207
+ name?: "FirstAuthenticationFactorExpired";
33208
+ };
33209
+ }
33210
+ }
33211
+ namespace $429 {
33212
+ namespace Content {
33213
+ interface ApplicationJson {
33214
+ [k: string]: unknown;
33215
+ }
33216
+ }
33217
+ }
33218
+ namespace Default {
33219
+ namespace Content {
33220
+ interface ApplicationJson {
33221
+ [k: string]: unknown;
33222
+ }
33223
+ }
33224
+ }
33225
+ }
33226
+ }
33227
+ }
33228
+ namespace V2AuthenticatePasskey {
33229
+ namespace Post {
33230
+ namespace Parameters {
33231
+ type Path = {};
33232
+ interface RequestBody {
33233
+ challengeId: string;
33234
+ credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
33235
+ }
33236
+ type Header = {};
33237
+ type Query = {
33238
+ cookieOnly?: boolean;
33239
+ };
33240
+ }
33241
+ namespace Responses {
33242
+ namespace $200 {
33243
+ namespace Content {
33244
+ interface ApplicationJson {
33245
+ /**
33246
+ * The expiration date of the token.
33247
+ */
33248
+ expires: string;
33249
+ /**
33250
+ * Refresh token to refresh your access token even after it has expired.
33251
+ */
33252
+ refreshToken: string;
33253
+ /**
33254
+ * Public token to identify yourself against the api gateway.
33255
+ */
33256
+ token: string;
33257
+ }
33258
+ }
33259
+ }
33260
+ namespace $204 {
33261
+ namespace Content {
33262
+ type Empty = unknown;
33263
+ }
33264
+ }
33265
+ namespace $400 {
33266
+ namespace Content {
33267
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
33444
33268
  }
33445
33269
  }
33446
33270
  namespace $429 {
@@ -33450,6 +33274,13 @@ export declare namespace MittwaldAPIV2 {
33450
33274
  }
33451
33275
  }
33452
33276
  }
33277
+ namespace $500 {
33278
+ namespace Content {
33279
+ interface ApplicationJson {
33280
+ [k: string]: unknown;
33281
+ }
33282
+ }
33283
+ }
33453
33284
  namespace Default {
33454
33285
  namespace Content {
33455
33286
  interface ApplicationJson {
@@ -33505,7 +33336,7 @@ export declare namespace MittwaldAPIV2 {
33505
33336
  * More values may be added in the future; clients must ignore values they do not know.
33506
33337
  */
33507
33338
  availableSecondFactors: ("totp" | "passkey")[];
33508
- name: "SecondFactorRequired";
33339
+ name?: "SecondFactorRequired";
33509
33340
  passkeyChallenge?: MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
33510
33341
  }
33511
33342
  }
@@ -33517,12 +33348,12 @@ export declare namespace MittwaldAPIV2 {
33517
33348
  }
33518
33349
  namespace $400 {
33519
33350
  namespace Content {
33520
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
33351
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
33521
33352
  }
33522
33353
  }
33523
33354
  namespace $401 {
33524
33355
  namespace Content {
33525
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
33356
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
33526
33357
  }
33527
33358
  }
33528
33359
  namespace $429 {
@@ -33755,7 +33586,13 @@ export declare namespace MittwaldAPIV2 {
33755
33586
  namespace $200 {
33756
33587
  namespace Content {
33757
33588
  interface ApplicationJson {
33589
+ /**
33590
+ * TOTP has been confirmed and is active.
33591
+ */
33758
33592
  confirmed: boolean;
33593
+ /**
33594
+ * TOTP has been initialized.
33595
+ */
33759
33596
  initialized: boolean;
33760
33597
  }
33761
33598
  }
@@ -34150,26 +33987,197 @@ export declare namespace MittwaldAPIV2 {
34150
33987
  }
34151
33988
  }
34152
33989
  }
34153
- namespace V2UsersSelfSshKeys {
33990
+ namespace V2PasskeyChallenges {
33991
+ namespace Post {
33992
+ namespace Parameters {
33993
+ type Path = {};
33994
+ type Header = {};
33995
+ type Query = {};
33996
+ }
33997
+ namespace Responses {
33998
+ namespace $201 {
33999
+ namespace Content {
34000
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
34001
+ }
34002
+ }
34003
+ namespace $400 {
34004
+ namespace Content {
34005
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34006
+ }
34007
+ }
34008
+ namespace $429 {
34009
+ namespace Content {
34010
+ interface ApplicationJson {
34011
+ [k: string]: unknown;
34012
+ }
34013
+ }
34014
+ }
34015
+ namespace $500 {
34016
+ namespace Content {
34017
+ interface ApplicationJson {
34018
+ [k: string]: unknown;
34019
+ }
34020
+ }
34021
+ }
34022
+ namespace Default {
34023
+ namespace Content {
34024
+ interface ApplicationJson {
34025
+ [k: string]: unknown;
34026
+ }
34027
+ }
34028
+ }
34029
+ }
34030
+ }
34031
+ }
34032
+ namespace V2UsersSelfPasskeyChallenges {
34033
+ namespace Post {
34034
+ namespace Parameters {
34035
+ type Path = {};
34036
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34037
+ type Query = {};
34038
+ }
34039
+ namespace Responses {
34040
+ namespace $201 {
34041
+ namespace Content {
34042
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
34043
+ }
34044
+ }
34045
+ namespace $400 {
34046
+ namespace Content {
34047
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34048
+ }
34049
+ }
34050
+ namespace $429 {
34051
+ namespace Content {
34052
+ interface ApplicationJson {
34053
+ [k: string]: unknown;
34054
+ }
34055
+ }
34056
+ }
34057
+ namespace $500 {
34058
+ namespace Content {
34059
+ interface ApplicationJson {
34060
+ [k: string]: unknown;
34061
+ }
34062
+ }
34063
+ }
34064
+ namespace Default {
34065
+ namespace Content {
34066
+ interface ApplicationJson {
34067
+ [k: string]: unknown;
34068
+ }
34069
+ }
34070
+ }
34071
+ }
34072
+ }
34073
+ }
34074
+ namespace V2UsersSelfPasskeyRegistrationChallenges {
34075
+ namespace Post {
34076
+ namespace Parameters {
34077
+ type Path = {};
34078
+ interface RequestBody {
34079
+ /**
34080
+ * A TOTP code or recovery code.
34081
+ */
34082
+ multiFactorCode?: string;
34083
+ passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
34084
+ /**
34085
+ * The password of the user.
34086
+ */
34087
+ password: string;
34088
+ }
34089
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34090
+ type Query = {};
34091
+ }
34092
+ namespace Responses {
34093
+ namespace $201 {
34094
+ namespace Content {
34095
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationChallenge;
34096
+ }
34097
+ }
34098
+ namespace $202 {
34099
+ namespace Content {
34100
+ interface ApplicationJson {
34101
+ [k: string]: unknown;
34102
+ }
34103
+ }
34104
+ }
34105
+ namespace $400 {
34106
+ namespace Content {
34107
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
34108
+ }
34109
+ }
34110
+ namespace $412 {
34111
+ namespace Content {
34112
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34113
+ }
34114
+ }
34115
+ namespace $429 {
34116
+ namespace Content {
34117
+ interface ApplicationJson {
34118
+ [k: string]: unknown;
34119
+ }
34120
+ }
34121
+ }
34122
+ namespace $500 {
34123
+ namespace Content {
34124
+ interface ApplicationJson {
34125
+ [k: string]: unknown;
34126
+ }
34127
+ }
34128
+ }
34129
+ namespace Default {
34130
+ namespace Content {
34131
+ interface ApplicationJson {
34132
+ [k: string]: unknown;
34133
+ }
34134
+ }
34135
+ }
34136
+ }
34137
+ }
34138
+ }
34139
+ namespace V2UsersSelfPasskeys {
34154
34140
  namespace Get {
34155
34141
  namespace Parameters {
34156
34142
  type Path = {};
34157
34143
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34158
- type Query = {
34159
- limit?: number;
34160
- skip?: number;
34161
- page?: number;
34162
- };
34144
+ type Query = {};
34163
34145
  }
34164
34146
  namespace Responses {
34165
34147
  namespace $200 {
34148
+ namespace Content {
34149
+ type ApplicationJson = {
34150
+ /**
34151
+ * The authenticator model identifier.
34152
+ */
34153
+ aaguid: string;
34154
+ /**
34155
+ * Whether the authenticator can back up (sync) the passkey, as reported at registration.
34156
+ */
34157
+ backupEligible: boolean;
34158
+ /**
34159
+ * Whether the passkey was backed up (synced) at registration. Not updated afterwards.
34160
+ */
34161
+ backupState: boolean;
34162
+ createdAt: string;
34163
+ /**
34164
+ * The base64url encoded WebAuthn credential id.
34165
+ */
34166
+ credentialId: string;
34167
+ id: string;
34168
+ name: string;
34169
+ rpId: string;
34170
+ }[];
34171
+ }
34172
+ }
34173
+ namespace $429 {
34166
34174
  namespace Content {
34167
34175
  interface ApplicationJson {
34168
- sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
34176
+ [k: string]: unknown;
34169
34177
  }
34170
34178
  }
34171
34179
  }
34172
- namespace $429 {
34180
+ namespace $500 {
34173
34181
  namespace Content {
34174
34182
  interface ApplicationJson {
34175
34183
  [k: string]: unknown;
@@ -34189,8 +34197,12 @@ export declare namespace MittwaldAPIV2 {
34189
34197
  namespace Parameters {
34190
34198
  type Path = {};
34191
34199
  interface RequestBody {
34192
- expiresAt?: string | Date;
34193
- publicKey: string;
34200
+ challengeId: string;
34201
+ credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
34202
+ /**
34203
+ * The display name of the passkey.
34204
+ */
34205
+ name: string;
34194
34206
  }
34195
34207
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34196
34208
  type Query = {};
@@ -34199,17 +34211,32 @@ export declare namespace MittwaldAPIV2 {
34199
34211
  namespace $201 {
34200
34212
  namespace Content {
34201
34213
  interface ApplicationJson {
34214
+ id: string;
34215
+ /**
34216
+ * Only set if the passkey is the first second factor of the user.
34217
+ */
34218
+ recoveryCodes?: string[];
34202
34219
  }
34203
34220
  }
34204
34221
  }
34205
34222
  namespace $400 {
34223
+ namespace Content {
34224
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
34225
+ }
34226
+ }
34227
+ namespace $412 {
34228
+ namespace Content {
34229
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34230
+ }
34231
+ }
34232
+ namespace $429 {
34206
34233
  namespace Content {
34207
34234
  interface ApplicationJson {
34208
34235
  [k: string]: unknown;
34209
34236
  }
34210
34237
  }
34211
34238
  }
34212
- namespace $429 {
34239
+ namespace $500 {
34213
34240
  namespace Content {
34214
34241
  interface ApplicationJson {
34215
34242
  [k: string]: unknown;
@@ -34226,22 +34253,98 @@ export declare namespace MittwaldAPIV2 {
34226
34253
  }
34227
34254
  }
34228
34255
  }
34229
- namespace V2UsersSelfApiTokensApiTokenId {
34256
+ namespace V2UsersSelfSshKeys {
34230
34257
  namespace Get {
34231
34258
  namespace Parameters {
34232
- type Path = {
34233
- apiTokenId: string;
34259
+ type Path = {};
34260
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34261
+ type Query = {
34262
+ limit?: number;
34263
+ skip?: number;
34264
+ page?: number;
34234
34265
  };
34266
+ }
34267
+ namespace Responses {
34268
+ namespace $200 {
34269
+ namespace Content {
34270
+ interface ApplicationJson {
34271
+ sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
34272
+ }
34273
+ }
34274
+ }
34275
+ namespace $429 {
34276
+ namespace Content {
34277
+ interface ApplicationJson {
34278
+ [k: string]: unknown;
34279
+ }
34280
+ }
34281
+ }
34282
+ namespace Default {
34283
+ namespace Content {
34284
+ interface ApplicationJson {
34285
+ [k: string]: unknown;
34286
+ }
34287
+ }
34288
+ }
34289
+ }
34290
+ }
34291
+ namespace Post {
34292
+ namespace Parameters {
34293
+ type Path = {};
34294
+ interface RequestBody {
34295
+ expiresAt?: string | Date;
34296
+ publicKey: string;
34297
+ }
34235
34298
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34236
34299
  type Query = {};
34237
34300
  }
34238
34301
  namespace Responses {
34239
- namespace $200 {
34302
+ namespace $201 {
34240
34303
  namespace Content {
34241
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
34304
+ interface ApplicationJson {
34305
+ }
34242
34306
  }
34243
34307
  }
34244
- namespace $404 {
34308
+ namespace $400 {
34309
+ namespace Content {
34310
+ interface ApplicationJson {
34311
+ [k: string]: unknown;
34312
+ }
34313
+ }
34314
+ }
34315
+ namespace $429 {
34316
+ namespace Content {
34317
+ interface ApplicationJson {
34318
+ [k: string]: unknown;
34319
+ }
34320
+ }
34321
+ }
34322
+ namespace Default {
34323
+ namespace Content {
34324
+ interface ApplicationJson {
34325
+ [k: string]: unknown;
34326
+ }
34327
+ }
34328
+ }
34329
+ }
34330
+ }
34331
+ }
34332
+ namespace V2UsersSelfApiTokensApiTokenId {
34333
+ namespace Get {
34334
+ namespace Parameters {
34335
+ type Path = {
34336
+ apiTokenId: string;
34337
+ };
34338
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34339
+ type Query = {};
34340
+ }
34341
+ namespace Responses {
34342
+ namespace $200 {
34343
+ namespace Content {
34344
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
34345
+ }
34346
+ }
34347
+ namespace $404 {
34245
34348
  namespace Content {
34246
34349
  interface ApplicationJson {
34247
34350
  [k: string]: unknown;
@@ -34343,6 +34446,114 @@ export declare namespace MittwaldAPIV2 {
34343
34446
  }
34344
34447
  }
34345
34448
  }
34449
+ namespace V2UsersSelfPasskeysPasskeyId {
34450
+ namespace Delete {
34451
+ namespace Parameters {
34452
+ type Path = {
34453
+ passkeyId: string;
34454
+ };
34455
+ interface RequestBody {
34456
+ /**
34457
+ * A TOTP code or recovery code.
34458
+ */
34459
+ multiFactorCode?: string;
34460
+ passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
34461
+ }
34462
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34463
+ type Query = {};
34464
+ }
34465
+ namespace Responses {
34466
+ namespace $204 {
34467
+ namespace Content {
34468
+ type Empty = unknown;
34469
+ }
34470
+ }
34471
+ namespace $400 {
34472
+ namespace Content {
34473
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
34474
+ }
34475
+ }
34476
+ namespace $404 {
34477
+ namespace Content {
34478
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34479
+ }
34480
+ }
34481
+ namespace $429 {
34482
+ namespace Content {
34483
+ interface ApplicationJson {
34484
+ [k: string]: unknown;
34485
+ }
34486
+ }
34487
+ }
34488
+ namespace $500 {
34489
+ namespace Content {
34490
+ interface ApplicationJson {
34491
+ [k: string]: unknown;
34492
+ }
34493
+ }
34494
+ }
34495
+ namespace Default {
34496
+ namespace Content {
34497
+ interface ApplicationJson {
34498
+ [k: string]: unknown;
34499
+ }
34500
+ }
34501
+ }
34502
+ }
34503
+ }
34504
+ namespace Patch {
34505
+ namespace Parameters {
34506
+ type Path = {
34507
+ passkeyId: string;
34508
+ };
34509
+ interface RequestBody {
34510
+ name: string;
34511
+ }
34512
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34513
+ type Query = {};
34514
+ }
34515
+ namespace Responses {
34516
+ namespace $204 {
34517
+ namespace Content {
34518
+ type Empty = unknown;
34519
+ }
34520
+ }
34521
+ namespace $400 {
34522
+ namespace Content {
34523
+ interface ApplicationJson {
34524
+ [k: string]: unknown;
34525
+ }
34526
+ }
34527
+ }
34528
+ namespace $404 {
34529
+ namespace Content {
34530
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34531
+ }
34532
+ }
34533
+ namespace $429 {
34534
+ namespace Content {
34535
+ interface ApplicationJson {
34536
+ [k: string]: unknown;
34537
+ }
34538
+ }
34539
+ }
34540
+ namespace $500 {
34541
+ namespace Content {
34542
+ interface ApplicationJson {
34543
+ [k: string]: unknown;
34544
+ }
34545
+ }
34546
+ }
34547
+ namespace Default {
34548
+ namespace Content {
34549
+ interface ApplicationJson {
34550
+ [k: string]: unknown;
34551
+ }
34552
+ }
34553
+ }
34554
+ }
34555
+ }
34556
+ }
34346
34557
  namespace V2UsersSelfSshKeysSshKeyId {
34347
34558
  namespace Get {
34348
34559
  namespace Parameters {
@@ -34493,9 +34704,7 @@ export declare namespace MittwaldAPIV2 {
34493
34704
  }
34494
34705
  namespace $412 {
34495
34706
  namespace Content {
34496
- interface ApplicationJson {
34497
- [k: string]: unknown;
34498
- }
34707
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34499
34708
  }
34500
34709
  }
34501
34710
  namespace $429 {
@@ -34931,6 +35140,20 @@ export declare namespace MittwaldAPIV2 {
34931
35140
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
34932
35141
  }
34933
35142
  }
35143
+ namespace $400 {
35144
+ namespace Content {
35145
+ interface ApplicationJson {
35146
+ [k: string]: unknown;
35147
+ }
35148
+ }
35149
+ }
35150
+ namespace $401 {
35151
+ namespace Content {
35152
+ interface ApplicationJson {
35153
+ [k: string]: unknown;
35154
+ }
35155
+ }
35156
+ }
34934
35157
  namespace $403 {
34935
35158
  namespace Content {
34936
35159
  interface ApplicationJson {
@@ -35430,6 +35653,11 @@ export declare namespace MittwaldAPIV2 {
35430
35653
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
35431
35654
  }
35432
35655
  }
35656
+ namespace $403 {
35657
+ namespace Content {
35658
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35659
+ }
35660
+ }
35433
35661
  namespace $429 {
35434
35662
  namespace Content {
35435
35663
  interface ApplicationJson {
@@ -36021,553 +36249,5 @@ export declare namespace MittwaldAPIV2 {
36021
36249
  }
36022
36250
  }
36023
36251
  }
36024
- namespace V2AiHostingKeys {
36025
- namespace Get {
36026
- namespace Parameters {
36027
- type Path = {};
36028
- type Header = {};
36029
- type Query = {
36030
- customerId?: string;
36031
- projectId?: string;
36032
- planId?: string;
36033
- searchTerm?: string;
36034
- limit?: number;
36035
- skip?: number;
36036
- page?: number;
36037
- };
36038
- }
36039
- namespace Responses {
36040
- namespace $200 {
36041
- namespace Content {
36042
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserKey[];
36043
- }
36044
- }
36045
- namespace $400 {
36046
- namespace Content {
36047
- interface ApplicationJson {
36048
- [k: string]: unknown;
36049
- }
36050
- }
36051
- }
36052
- namespace $403 {
36053
- namespace Content {
36054
- interface ApplicationJson {
36055
- [k: string]: unknown;
36056
- }
36057
- }
36058
- }
36059
- namespace $429 {
36060
- namespace Content {
36061
- interface ApplicationJson {
36062
- [k: string]: unknown;
36063
- }
36064
- }
36065
- }
36066
- namespace Default {
36067
- namespace Content {
36068
- interface ApplicationJson {
36069
- [k: string]: unknown;
36070
- }
36071
- }
36072
- }
36073
- }
36074
- }
36075
- }
36076
- namespace V2AiHostings {
36077
- namespace Get {
36078
- namespace Parameters {
36079
- type Path = {};
36080
- type Header = {};
36081
- type Query = {
36082
- customerId?: string;
36083
- projectId?: string;
36084
- planId?: string;
36085
- searchTerm?: string;
36086
- limit?: number;
36087
- skip?: number;
36088
- page?: number;
36089
- };
36090
- }
36091
- namespace Responses {
36092
- namespace $200 {
36093
- namespace Content {
36094
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingUserPlan[];
36095
- }
36096
- }
36097
- namespace $400 {
36098
- namespace Content {
36099
- interface ApplicationJson {
36100
- [k: string]: unknown;
36101
- }
36102
- }
36103
- }
36104
- namespace $403 {
36105
- namespace Content {
36106
- interface ApplicationJson {
36107
- [k: string]: unknown;
36108
- }
36109
- }
36110
- }
36111
- namespace $429 {
36112
- namespace Content {
36113
- interface ApplicationJson {
36114
- [k: string]: unknown;
36115
- }
36116
- }
36117
- }
36118
- namespace Default {
36119
- namespace Content {
36120
- interface ApplicationJson {
36121
- [k: string]: unknown;
36122
- }
36123
- }
36124
- }
36125
- }
36126
- }
36127
- }
36128
- namespace V2CustomersCustomerIdActivities {
36129
- namespace Get {
36130
- namespace Parameters {
36131
- type Path = {
36132
- customerId: string;
36133
- };
36134
- type Header = {};
36135
- type Query = {
36136
- aggregateName?: string;
36137
- aggregateDomain?: string;
36138
- aggregateId?: string;
36139
- startTime?: string | Date;
36140
- endTime?: string | Date;
36141
- fulltextSearch?: string;
36142
- limit?: number;
36143
- skip?: number;
36144
- page?: number;
36145
- sort?: "dateTime";
36146
- order?: "asc" | "desc";
36147
- };
36148
- }
36149
- namespace Responses {
36150
- namespace $200 {
36151
- namespace Content {
36152
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogCustomerLogEntry[];
36153
- }
36154
- }
36155
- namespace $400 {
36156
- namespace Content {
36157
- interface ApplicationJson {
36158
- [k: string]: unknown;
36159
- }
36160
- }
36161
- }
36162
- namespace $403 {
36163
- namespace Content {
36164
- interface ApplicationJson {
36165
- [k: string]: unknown;
36166
- }
36167
- }
36168
- }
36169
- namespace $404 {
36170
- namespace Content {
36171
- interface ApplicationJson {
36172
- [k: string]: unknown;
36173
- }
36174
- }
36175
- }
36176
- namespace $429 {
36177
- namespace Content {
36178
- interface ApplicationJson {
36179
- [k: string]: unknown;
36180
- }
36181
- }
36182
- }
36183
- namespace Default {
36184
- namespace Content {
36185
- interface ApplicationJson {
36186
- [k: string]: unknown;
36187
- }
36188
- }
36189
- }
36190
- }
36191
- }
36192
- }
36193
- namespace V2AuthenticatePasskey {
36194
- namespace Post {
36195
- namespace Parameters {
36196
- type Path = {};
36197
- interface RequestBody {
36198
- challengeId: string;
36199
- credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
36200
- }
36201
- type Header = {};
36202
- type Query = {
36203
- cookieOnly?: boolean;
36204
- };
36205
- }
36206
- namespace Responses {
36207
- namespace $200 {
36208
- namespace Content {
36209
- interface ApplicationJson {
36210
- /**
36211
- * The expiration date of the token.
36212
- */
36213
- expires: string;
36214
- /**
36215
- * Refresh token to refresh your access token even after it has expired.
36216
- */
36217
- refreshToken: string;
36218
- /**
36219
- * Public token to identify yourself against the api gateway.
36220
- */
36221
- token: string;
36222
- }
36223
- }
36224
- }
36225
- namespace $204 {
36226
- namespace Content {
36227
- type Empty = unknown;
36228
- }
36229
- }
36230
- namespace $400 {
36231
- namespace Content {
36232
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36233
- }
36234
- }
36235
- namespace $429 {
36236
- namespace Content {
36237
- interface ApplicationJson {
36238
- [k: string]: unknown;
36239
- }
36240
- }
36241
- }
36242
- namespace Default {
36243
- namespace Content {
36244
- interface ApplicationJson {
36245
- [k: string]: unknown;
36246
- }
36247
- }
36248
- }
36249
- }
36250
- }
36251
- }
36252
- namespace V2PasskeyChallenges {
36253
- namespace Post {
36254
- namespace Parameters {
36255
- type Path = {};
36256
- type Header = {};
36257
- type Query = {};
36258
- }
36259
- namespace Responses {
36260
- namespace $201 {
36261
- namespace Content {
36262
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
36263
- }
36264
- }
36265
- namespace $400 {
36266
- namespace Content {
36267
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36268
- }
36269
- }
36270
- namespace $429 {
36271
- namespace Content {
36272
- interface ApplicationJson {
36273
- [k: string]: unknown;
36274
- }
36275
- }
36276
- }
36277
- namespace Default {
36278
- namespace Content {
36279
- interface ApplicationJson {
36280
- [k: string]: unknown;
36281
- }
36282
- }
36283
- }
36284
- }
36285
- }
36286
- }
36287
- namespace V2UsersSelfPasskeysPasskeyId {
36288
- namespace Delete {
36289
- namespace Parameters {
36290
- type Path = {
36291
- passkeyId: string;
36292
- };
36293
- interface RequestBody {
36294
- /**
36295
- * A TOTP code or recovery code.
36296
- */
36297
- multiFactorCode?: string;
36298
- passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
36299
- }
36300
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
36301
- type Query = {};
36302
- }
36303
- namespace Responses {
36304
- namespace $204 {
36305
- namespace Content {
36306
- type Empty = unknown;
36307
- }
36308
- }
36309
- namespace $400 {
36310
- namespace Content {
36311
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
36312
- }
36313
- }
36314
- namespace $429 {
36315
- namespace Content {
36316
- interface ApplicationJson {
36317
- [k: string]: unknown;
36318
- }
36319
- }
36320
- }
36321
- namespace Default {
36322
- namespace Content {
36323
- interface ApplicationJson {
36324
- [k: string]: unknown;
36325
- }
36326
- }
36327
- }
36328
- }
36329
- }
36330
- namespace Patch {
36331
- namespace Parameters {
36332
- type Path = {
36333
- passkeyId: string;
36334
- };
36335
- interface RequestBody {
36336
- name: string;
36337
- }
36338
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
36339
- type Query = {};
36340
- }
36341
- namespace Responses {
36342
- namespace $204 {
36343
- namespace Content {
36344
- type Empty = unknown;
36345
- }
36346
- }
36347
- namespace $400 {
36348
- namespace Content {
36349
- interface ApplicationJson {
36350
- [k: string]: unknown;
36351
- }
36352
- }
36353
- }
36354
- namespace $404 {
36355
- namespace Content {
36356
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36357
- }
36358
- }
36359
- namespace $429 {
36360
- namespace Content {
36361
- interface ApplicationJson {
36362
- [k: string]: unknown;
36363
- }
36364
- }
36365
- }
36366
- namespace Default {
36367
- namespace Content {
36368
- interface ApplicationJson {
36369
- [k: string]: unknown;
36370
- }
36371
- }
36372
- }
36373
- }
36374
- }
36375
- }
36376
- namespace V2UsersSelfPasskeys {
36377
- namespace Get {
36378
- namespace Parameters {
36379
- type Path = {};
36380
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
36381
- type Query = {};
36382
- }
36383
- namespace Responses {
36384
- namespace $200 {
36385
- namespace Content {
36386
- type ApplicationJson = {
36387
- /**
36388
- * The authenticator model identifier.
36389
- */
36390
- aaguid: string;
36391
- /**
36392
- * Whether the authenticator can back up (sync) the passkey, as reported at registration.
36393
- */
36394
- backupEligible: boolean;
36395
- /**
36396
- * Whether the passkey was backed up (synced) at registration. Not updated afterwards.
36397
- */
36398
- backupState: boolean;
36399
- createdAt: string;
36400
- /**
36401
- * The base64url encoded WebAuthn credential id.
36402
- */
36403
- credentialId: string;
36404
- id: string;
36405
- name: string;
36406
- rpId: string;
36407
- }[];
36408
- }
36409
- }
36410
- namespace $429 {
36411
- namespace Content {
36412
- interface ApplicationJson {
36413
- [k: string]: unknown;
36414
- }
36415
- }
36416
- }
36417
- namespace Default {
36418
- namespace Content {
36419
- interface ApplicationJson {
36420
- [k: string]: unknown;
36421
- }
36422
- }
36423
- }
36424
- }
36425
- }
36426
- namespace Post {
36427
- namespace Parameters {
36428
- type Path = {};
36429
- interface RequestBody {
36430
- challengeId: string;
36431
- credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
36432
- /**
36433
- * The display name of the passkey.
36434
- */
36435
- name: string;
36436
- }
36437
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
36438
- type Query = {};
36439
- }
36440
- namespace Responses {
36441
- namespace $201 {
36442
- namespace Content {
36443
- interface ApplicationJson {
36444
- id: string;
36445
- /**
36446
- * Only set if the passkey is the first second factor of the user.
36447
- */
36448
- recoveryCodes?: string[];
36449
- }
36450
- }
36451
- }
36452
- namespace $400 {
36453
- namespace Content {
36454
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36455
- }
36456
- }
36457
- namespace $412 {
36458
- namespace Content {
36459
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36460
- }
36461
- }
36462
- namespace $429 {
36463
- namespace Content {
36464
- interface ApplicationJson {
36465
- [k: string]: unknown;
36466
- }
36467
- }
36468
- }
36469
- namespace Default {
36470
- namespace Content {
36471
- interface ApplicationJson {
36472
- [k: string]: unknown;
36473
- }
36474
- }
36475
- }
36476
- }
36477
- }
36478
- }
36479
- namespace V2UsersSelfPasskeyChallenges {
36480
- namespace Post {
36481
- namespace Parameters {
36482
- type Path = {};
36483
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
36484
- type Query = {};
36485
- }
36486
- namespace Responses {
36487
- namespace $201 {
36488
- namespace Content {
36489
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
36490
- }
36491
- }
36492
- namespace $400 {
36493
- namespace Content {
36494
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36495
- }
36496
- }
36497
- namespace $429 {
36498
- namespace Content {
36499
- interface ApplicationJson {
36500
- [k: string]: unknown;
36501
- }
36502
- }
36503
- }
36504
- namespace Default {
36505
- namespace Content {
36506
- interface ApplicationJson {
36507
- [k: string]: unknown;
36508
- }
36509
- }
36510
- }
36511
- }
36512
- }
36513
- }
36514
- namespace V2UsersSelfPasskeyRegistrationChallenges {
36515
- namespace Post {
36516
- namespace Parameters {
36517
- type Path = {};
36518
- interface RequestBody {
36519
- /**
36520
- * A TOTP code or recovery code.
36521
- */
36522
- multiFactorCode?: string;
36523
- passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
36524
- /**
36525
- * The password of the user.
36526
- */
36527
- password: string;
36528
- }
36529
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
36530
- type Query = {};
36531
- }
36532
- namespace Responses {
36533
- namespace $201 {
36534
- namespace Content {
36535
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationChallenge;
36536
- }
36537
- }
36538
- namespace $202 {
36539
- namespace Content {
36540
- interface ApplicationJson {
36541
- [k: string]: unknown;
36542
- }
36543
- }
36544
- }
36545
- namespace $400 {
36546
- namespace Content {
36547
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36548
- }
36549
- }
36550
- namespace $412 {
36551
- namespace Content {
36552
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
36553
- }
36554
- }
36555
- namespace $429 {
36556
- namespace Content {
36557
- interface ApplicationJson {
36558
- [k: string]: unknown;
36559
- }
36560
- }
36561
- }
36562
- namespace Default {
36563
- namespace Content {
36564
- interface ApplicationJson {
36565
- [k: string]: unknown;
36566
- }
36567
- }
36568
- }
36569
- }
36570
- }
36571
- }
36572
36252
  }
36573
36253
  }