@mittwald/api-client 0.0.0-development-559bf74-20260622 → 0.0.0-development-8335166-20260625

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.
@@ -290,6 +290,10 @@ export declare namespace MittwaldAPIV2 {
290
290
  type RequestData = InferredRequestData<typeof descriptors.containerDeleteVolume>;
291
291
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerDeleteVolume, TStatus>;
292
292
  }
293
+ namespace ContainerGetContainerImageConfig {
294
+ type RequestData = InferredRequestData<typeof descriptors.containerGetContainerImageConfig>;
295
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerGetContainerImageConfig, TStatus>;
296
+ }
293
297
  namespace ContainerGetServiceLogs {
294
298
  type RequestData = InferredRequestData<typeof descriptors.containerGetServiceLogs>;
295
299
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerGetServiceLogs, TStatus>;
@@ -338,10 +342,6 @@ export declare namespace MittwaldAPIV2 {
338
342
  type RequestData = InferredRequestData<typeof descriptors.containerRotatePullImageWebhookForService>;
339
343
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerRotatePullImageWebhookForService, TStatus>;
340
344
  }
341
- namespace ContainerSetStackDescription {
342
- type RequestData = InferredRequestData<typeof descriptors.containerSetStackDescription>;
343
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerSetStackDescription, TStatus>;
344
- }
345
345
  namespace ContainerSetStackUpdateSchedule {
346
346
  type RequestData = InferredRequestData<typeof descriptors.containerSetStackUpdateSchedule>;
347
347
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerSetStackUpdateSchedule, TStatus>;
@@ -1366,6 +1366,10 @@ export declare namespace MittwaldAPIV2 {
1366
1366
  type RequestData = InferredRequestData<typeof descriptors.mailRecoverMailAddressEmails>;
1367
1367
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailRecoverMailAddressEmails, TStatus>;
1368
1368
  }
1369
+ namespace MailRequestMailAddressRateLimitChange {
1370
+ type RequestData = InferredRequestData<typeof descriptors.mailRequestMailAddressRateLimitChange>;
1371
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailRequestMailAddressRateLimitChange, TStatus>;
1372
+ }
1369
1373
  namespace MailUpdateDeliveryBoxDescription {
1370
1374
  type RequestData = InferredRequestData<typeof descriptors.mailUpdateDeliveryBoxDescription>;
1371
1375
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailUpdateDeliveryBoxDescription, TStatus>;
@@ -1566,10 +1570,18 @@ export declare namespace MittwaldAPIV2 {
1566
1570
  type RequestData = InferredRequestData<typeof descriptors.projectGetServer>;
1567
1571
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServer, TStatus>;
1568
1572
  }
1573
+ namespace ProjectListCustomerProjects {
1574
+ type RequestData = InferredRequestData<typeof descriptors.projectListCustomerProjects>;
1575
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListCustomerProjects, TStatus>;
1576
+ }
1569
1577
  namespace ProjectListMembershipsForProject {
1570
1578
  type RequestData = InferredRequestData<typeof descriptors.projectListMembershipsForProject>;
1571
1579
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListMembershipsForProject, TStatus>;
1572
1580
  }
1581
+ namespace ProjectListProjectActivities {
1582
+ type RequestData = InferredRequestData<typeof descriptors.projectListProjectActivities>;
1583
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListProjectActivities, TStatus>;
1584
+ }
1573
1585
  namespace ProjectListProjectInvites {
1574
1586
  type RequestData = InferredRequestData<typeof descriptors.projectListProjectInvites>;
1575
1587
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListProjectInvites, TStatus>;
@@ -1922,22 +1934,6 @@ export declare namespace MittwaldAPIV2 {
1922
1934
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1923
1935
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1924
1936
  }
1925
- namespace ContainerGetContainerImageConfig {
1926
- type RequestData = InferredRequestData<typeof descriptors.containerGetContainerImageConfig>;
1927
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerGetContainerImageConfig, TStatus>;
1928
- }
1929
- namespace MailRequestMailAddressRateLimitChange {
1930
- type RequestData = InferredRequestData<typeof descriptors.mailRequestMailAddressRateLimitChange>;
1931
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailRequestMailAddressRateLimitChange, TStatus>;
1932
- }
1933
- namespace ProjectListProjectActivities {
1934
- type RequestData = InferredRequestData<typeof descriptors.projectListProjectActivities>;
1935
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListProjectActivities, TStatus>;
1936
- }
1937
- namespace ProjectListCustomerProjects {
1938
- type RequestData = InferredRequestData<typeof descriptors.projectListCustomerProjects>;
1939
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListCustomerProjects, TStatus>;
1940
- }
1941
1937
  }
1942
1938
  namespace Components {
1943
1939
  namespace Schemas {
@@ -3080,6 +3076,21 @@ export declare namespace MittwaldAPIV2 {
3080
3076
  domain: string;
3081
3077
  id: string;
3082
3078
  }
3079
+ interface ConversationBasicConversation {
3080
+ category?: MittwaldAPIV2.Components.Schemas.ConversationCategory;
3081
+ conversationId: string;
3082
+ createdAt: string;
3083
+ lastMessageAt?: string;
3084
+ mainUser: MittwaldAPIV2.Components.Schemas.ConversationUser;
3085
+ notificationRoles?: MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[];
3086
+ relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference;
3087
+ relations?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[];
3088
+ sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference;
3089
+ shortId: string;
3090
+ status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
3091
+ title: string;
3092
+ visibility: "shared" | "private";
3093
+ }
3083
3094
  type ConversationCategoryReferenceType = ("unspecified" | "server" | "project" | "organisation" | "extensionInstance")[];
3084
3095
  interface ConversationCategory {
3085
3096
  categoryId: string;
@@ -3098,32 +3109,18 @@ export declare namespace MittwaldAPIV2 {
3098
3109
  fallback?: string;
3099
3110
  };
3100
3111
  }
3101
- interface ConversationConversation {
3102
- category?: MittwaldAPIV2.Components.Schemas.ConversationCategory;
3103
- conversationId: string;
3104
- createdAt: string;
3112
+ type ConversationConversation = MittwaldAPIV2.Components.Schemas.ConversationBasicConversation & {
3105
3113
  createdBy?: MittwaldAPIV2.Components.Schemas.ConversationUser;
3106
3114
  lastMessage?: {
3107
3115
  createdAt: string;
3108
3116
  createdBy?: MittwaldAPIV2.Components.Schemas.ConversationUser;
3109
3117
  };
3110
- lastMessageAt?: string;
3111
3118
  lastMessageBy?: MittwaldAPIV2.Components.Schemas.ConversationUser;
3112
- mainUser: MittwaldAPIV2.Components.Schemas.ConversationUser;
3113
- notificationRoles?: MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[];
3114
- relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference;
3115
- relations?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[];
3116
- sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference;
3117
- shortId: string;
3118
- status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
3119
- title: string;
3120
- visibility: "shared" | "private";
3121
- }
3119
+ };
3122
3120
  interface ConversationGetConversationIdResponse {
3123
3121
  conversationId: string;
3124
3122
  shortId: string;
3125
3123
  }
3126
- type ConversationDepartment = "development" | "mail" | "accounting" | "cloudHosting" | "customerService" | "productManagement" | "generic";
3127
3124
  interface ConversationError {
3128
3125
  message: string;
3129
3126
  type: string;
@@ -3156,12 +3153,6 @@ export declare namespace MittwaldAPIV2 {
3156
3153
  };
3157
3154
  type: "STATUS_UPDATE";
3158
3155
  }
3159
- interface ConversationGroup {
3160
- acronym?: string;
3161
- id: string;
3162
- isDefaultGroup?: boolean;
3163
- name: string;
3164
- }
3165
3156
  interface ConversationMessage {
3166
3157
  conversationId: string;
3167
3158
  createdAt: string;
@@ -3299,11 +3290,9 @@ export declare namespace MittwaldAPIV2 {
3299
3290
  type ConversationStatusUpdate = MittwaldAPIV2.Components.Schemas.ConversationResubmissionStatusUpdate | MittwaldAPIV2.Components.Schemas.ConversationGenericStatusUpdate;
3300
3291
  interface ConversationUser {
3301
3292
  active?: boolean;
3302
- atlasGroup?: MittwaldAPIV2.Components.Schemas.ConversationGroup;
3303
3293
  avatarRefId?: string;
3304
3294
  clearName?: string;
3305
- department?: MittwaldAPIV2.Components.Schemas.ConversationDepartment;
3306
- group?: MittwaldAPIV2.Components.Schemas.ConversationGroup;
3295
+ isEmployee?: boolean;
3307
3296
  userId: string;
3308
3297
  }
3309
3298
  interface StraceData {
@@ -3972,13 +3961,61 @@ export declare namespace MittwaldAPIV2 {
3972
3961
  value: string;
3973
3962
  }
3974
3963
  type DomainmigrationDNSRecordType = "A" | "AAAA" | "TXT" | "MX" | "CNAME" | "SRV" | "CAA" | "NS";
3975
- interface DomainmigrationDomainNotMigratableReasons {
3976
- reasonCodes: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason[];
3964
+ /**
3965
+ * A non-blocking finding on an otherwise migratable domain: the domain migrates, but the named subject is skipped.
3966
+ */
3967
+ interface DomainmigrationDomainMigrationWarning {
3968
+ reason: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainMigrationWarningReason;
3969
+ /**
3970
+ * The affected COAB entity, e.g. the skipped wildcard subdomain hostname.
3971
+ */
3972
+ subject: string;
3973
+ }
3974
+ /**
3975
+ * Typed non-blocking migration warning: the domain migrates, but the named subject (`warnings[].subject`, the affected subdomain hostname) cannot be carried over as-is.
3976
+ *
3977
+ * * `subdomainInvalidIngressHostname`: a non-CNAME subdomain (provisioned as an ingress) does not match the `idn-hostname` format (e.g. a wildcard `*.example.de`); it is skipped and the rest of the domain migrates.
3978
+ * * `subdomainInvalidDnsName`: a CNAME subdomain (provisioned as a DNS subzone) does not match the `idn-dnsname` format; it is skipped and the rest of the domain migrates.
3979
+ * * `subdomainNsRecordsOverridden`: a subdomain carries its own NS records that differ from the domain's nameservers; per-subdomain delegation is not supported, so those NS records are dropped and the subdomain is served from the domain's nameservers (the rest of the subdomain still migrates).
3980
+ */
3981
+ type DomainmigrationDomainMigrationWarningReason = "subdomainInvalidIngressHostname" | "subdomainInvalidDnsName" | "subdomainNsRecordsOverridden";
3982
+ /**
3983
+ * Typed reason a domain cannot be migrated:
3984
+ *
3985
+ * * `needEpp`: the domain owner's phone number is not EPP/RFC 5733 conformant at the registry and cannot be reformatted, so the migration is rejected.
3986
+ * * `tldNotSupported`: the domain's TLD is not supported for migration (also used when the registry article for the domain was not found).
3987
+ * * `tldNotMigratable`: the domain's TLD is supported in general, but migration is not currently possible for this TLD.
3988
+ * * `premiumDomain`: the domain is a premium domain, which is not supported yet.
3989
+ * * `registrarNotSupported`: COAB names a registrar we do not support for migration.
3990
+ * * `notOrderable`: the order service rejected the domain for a reason other than an unsupported TLD or a still-reserved domain.
3991
+ * * `insufficientState`: the COAB data is incomplete (e.g. missing registrar, price or owner) or the domain is still reserved at the registry.
3992
+ * * `contractDateOutOfRange`: the COAB contract's next-period date is in the past or more than two years in the future.
3993
+ * * `invalidDomainName`: the COAB domain name does not match the `idn-naked-domain` format we accept.
3994
+ */
3995
+ type DomainmigrationDomainNotMigratableReason = "needEpp" | "tldNotSupported" | "tldNotMigratable" | "premiumDomain" | "registrarNotSupported" | "notOrderable" | "insufficientState" | "contractDateOutOfRange" | "invalidDomainName";
3996
+ /**
3997
+ * A non-migratable-domain failure: one selected domain cannot be migrated. type is always domainNotMigratable, path is the affected domain, and context.reason carries the typed reason code.
3998
+ */
3999
+ interface DomainmigrationDomainNotMigratableValidationError {
4000
+ context: {
4001
+ reason: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason;
4002
+ [k: string]: string;
4003
+ };
4004
+ message: string;
4005
+ /**
4006
+ * The affected domain.
4007
+ */
4008
+ path: string;
4009
+ /**
4010
+ * Discriminator for this branch; always domainNotMigratable.
4011
+ */
4012
+ type: "domainNotMigratable";
3977
4013
  }
3978
4014
  interface DomainmigrationMigratableDomain {
3979
4015
  hostname: string;
3980
4016
  migratable: true;
3981
4017
  migrationData: MittwaldAPIV2.Components.Schemas.DomainmigrationMigrationData;
4018
+ warnings?: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainMigrationWarning[];
3982
4019
  }
3983
4020
  interface DomainmigrationMigrationData {
3984
4021
  dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
@@ -3995,8 +4032,9 @@ export declare namespace MittwaldAPIV2 {
3995
4032
  }
3996
4033
  interface DomainmigrationNonMigratableDomain {
3997
4034
  hostname: string;
3998
- issues: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReasons;
4035
+ issues: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason[];
3999
4036
  migratable: false;
4037
+ warnings?: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainMigrationWarning[];
4000
4038
  }
4001
4039
  interface DomainmigrationSubdomain {
4002
4040
  dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
@@ -4279,7 +4317,7 @@ export declare namespace MittwaldAPIV2 {
4279
4317
  id: string;
4280
4318
  kind: "extensionAddedToContext" | "instanceUpdated" | "secretRotated" | "instanceRemovedFromContext";
4281
4319
  nextScheduledExecution?: string;
4282
- state: "running" | "queued" | "halted" | "failed" | "successful";
4320
+ state: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceWebhookExecutionState;
4283
4321
  }
4284
4322
  interface MarketplaceExtensionSecret {
4285
4323
  secretId: string;
@@ -5906,995 +5944,986 @@ export declare namespace MittwaldAPIV2 {
5906
5944
  template: MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
5907
5945
  }
5908
5946
  type PolicyPolicy = string;
5909
- interface ProjectAvatarRules {
5910
- maxSizeInKB: number;
5911
- mimeTypes: string[];
5912
- properties?: {
5913
- imageDimensions?: {
5914
- max?: {
5915
- height?: number;
5916
- width?: number;
5917
- };
5918
- min?: {
5919
- height?: number;
5920
- width?: number;
5921
- };
5947
+ interface ActivitylogAppInstallationCopyRequested {
5948
+ changes: {
5949
+ after?: {
5950
+ appId: string;
5951
+ appName: string;
5952
+ sourceAppInstallationId: string;
5953
+ sourceAppName: string;
5954
+ };
5955
+ before?: {
5956
+ appId?: string | null;
5957
+ appName?: string | null;
5958
+ sourceAppInstallationId?: string | null;
5959
+ sourceAppName?: string | null;
5922
5960
  };
5923
5961
  };
5962
+ name: "app.copy-requested";
5924
5963
  }
5925
- /**
5926
- * deprecated by property status
5927
- */
5928
- type ProjectDeprecatedProjectReadinessStatus = "creating" | "ready" | "unready";
5929
- /**
5930
- * deprecated by property status
5931
- */
5932
- type ProjectDeprecatedServerReadinessStatus = "creating" | "ready" | "unready";
5933
- interface ProjectFilesystemDirectoryListing {
5934
- absolutePath: string;
5935
- isDirectory?: boolean;
5936
- isExecutable?: boolean;
5937
- isFile?: boolean;
5938
- isSymlink?: boolean;
5939
- items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[];
5940
- name: string;
5941
- size: number;
5942
- target?: string;
5964
+ interface ActivitylogAppInstallationDesiredSystemSoftwareSet {
5965
+ changes: {
5966
+ after?: {
5967
+ software: string;
5968
+ softwareVersion: string;
5969
+ updatePolicy: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
5970
+ };
5971
+ before?: {
5972
+ software?: string;
5973
+ softwareVersion?: string;
5974
+ updatePolicy?: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
5975
+ };
5976
+ };
5977
+ name: "app.systemsoftware-set" | "app.systemsoftware-deleted";
5978
+ parameters?: {
5979
+ software: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5980
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5981
+ };
5943
5982
  }
5944
- interface ProjectFilesystemUsagesDisk {
5945
- path?: string;
5946
- totalBytes?: number;
5947
- usedBytes?: number;
5983
+ interface ActivitylogAppInstallationAppVersionSet {
5984
+ changes: {
5985
+ after?: {
5986
+ appId: string;
5987
+ appVersionId: string;
5988
+ };
5989
+ before?: {
5990
+ appId?: string | null;
5991
+ appVersionId?: string | null;
5992
+ };
5993
+ };
5994
+ name: "app.version-set";
5995
+ parameters: {
5996
+ appInstallation: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
5997
+ };
5948
5998
  }
5949
- interface ProjectFsApiJwt {
5950
- jwt: string;
5999
+ interface ActivitylogDatabaseCreated {
6000
+ changes: {
6001
+ after?: {
6002
+ description: string;
6003
+ name: string;
6004
+ version: string;
6005
+ };
6006
+ before?: {
6007
+ description?: string | null;
6008
+ name?: string | null;
6009
+ version?: string | null;
6010
+ };
6011
+ };
6012
+ name: "database.mysql-created" | "database.redis-created";
6013
+ parameters: {
6014
+ description: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6015
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6016
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6017
+ };
5951
6018
  }
5952
- interface ProjectHardwareSpec {
5953
- cpu?: string;
5954
- /**
5955
- * @deprecated
5956
- * deprecated by memory
5957
- */
5958
- mem?: string;
5959
- memory?: string;
5960
- storage: string;
6019
+ interface ActivitylogDatabaseDeleted {
6020
+ changes: {};
6021
+ name: "database.mysql-deleted" | "database.redis-deleted";
6022
+ parameters: {
6023
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6024
+ };
5961
6025
  }
5962
- interface ProjectMachineType {
5963
- cpu: string;
5964
- memory: string;
5965
- name: string;
6026
+ interface ActivitylogDatabaseDescriptionSet {
6027
+ changes: {
6028
+ after?: {
6029
+ description: string;
6030
+ };
6031
+ before?: {
6032
+ description: string | null;
6033
+ };
6034
+ };
6035
+ name: "database.mysql-description-set" | "database.redis-description-set";
6036
+ parameters: {
6037
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6038
+ };
5966
6039
  }
5967
- type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
5968
- type ProjectProjectFeature = "redis" | "node" | "container";
5969
- type ProjectProjectStatus = "pending" | "ready" | "preparingForVolumeMigration" | "migratingVolume" | "error" | "disabled";
5970
- interface ProjectProject {
5971
- backupStorageUsageInBytes: number;
5972
- backupStorageUsageInBytesSetAt: string;
5973
- clusterDomain?: string;
5974
- /**
5975
- * @deprecated
5976
- * deprecated by property clusterId
5977
- */
5978
- clusterID?: string;
5979
- clusterId?: string;
5980
- createdAt: string;
5981
- customerId: string;
5982
- deletionRequested?: boolean;
5983
- description: string;
5984
- directories: {
5985
- [k: string]: string;
6040
+ interface ActivitylogDatabaseMysqlNameSet {
6041
+ changes: {
6042
+ after?: {
6043
+ name: string;
6044
+ };
6045
+ before?: {
6046
+ name: string | null;
6047
+ };
6048
+ };
6049
+ name: "database.mysql-name-set";
6050
+ parameters: {
6051
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
5986
6052
  };
5987
- disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
5988
- disabledAt?: string;
5989
- enabled: boolean;
5990
- /**
5991
- * @deprecated
5992
- * Deprecated by 'supportedFeatures'.
5993
- */
5994
- features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
5995
- id: string;
5996
- imageRefId?: string;
5997
- /**
5998
- * @deprecated
5999
- * deprecated by property status
6000
- */
6001
- isReady: boolean;
6002
- projectHostingId?: string;
6003
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
6004
- serverGroupId: string;
6005
- serverId?: string;
6006
- serverShortId?: string;
6007
- shortId: string;
6008
- spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
6009
- statisticsBaseDomain?: string;
6010
- status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
6011
- statusSetAt: string;
6012
- supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6013
- webStorageUsageInBytes: number;
6014
- webStorageUsageInBytesSetAt: string;
6015
- }
6016
- type ProjectServerDisableReason = "suspended";
6017
- type ProjectServerStatus = "pending" | "ready" | "unready" | "suspended" | "migrating";
6018
- interface ProjectServer {
6019
- clusterName: string;
6020
- createdAt: string;
6021
- customerId: string;
6022
- description: string;
6023
- disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
6024
- groupId: string;
6025
- id: string;
6026
- imageRefId?: string;
6027
- /**
6028
- * @deprecated
6029
- * deprecated by property status
6030
- */
6031
- isReady: boolean;
6032
- machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
6033
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
6034
- shortId: string;
6035
- statisticsBaseDomain?: string;
6036
- status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
6037
- storage: string;
6038
- }
6039
- interface ProjectVisitorSpec {
6040
- storage: string;
6041
- visitors: number;
6042
- }
6043
- interface DirectusDomain {
6044
- /**
6045
- * The authcode of the domain. Leave empty when mittwald can generate a authcode on its own
6046
- */
6047
- authCode?: string;
6048
- /**
6049
- * Leave empty when mittwald should keep the same domain owner
6050
- */
6051
- domainOwnerData?: string;
6052
- name: string;
6053
- }
6054
- interface DirectusEmailInbox {
6055
- email: string;
6056
- password: string;
6057
- }
6058
- interface ScreenshotTarget {
6059
- domain: string;
6060
- path?: string;
6061
- scheme: "http" | "https";
6062
- }
6063
- interface ScreenshotTask {
6064
- executedAt?: string;
6065
- fileReference?: string;
6066
- id: string;
6067
- priority: number;
6068
- settings: MittwaldAPIV2.Components.Schemas.ScreenshotScreenshotSettings;
6069
- target: MittwaldAPIV2.Components.Schemas.ScreenshotTarget;
6070
- taskState?: MittwaldAPIV2.Components.Schemas.ScreenshotLifecycleState | MittwaldAPIV2.Components.Schemas.CommonsError;
6071
6053
  }
6072
- type ScreenshotLifecycleState = string;
6073
- interface ScreenshotScreenshotSettings {
6074
- dataType: "jpeg" | "png" | "webp";
6075
- delay: number;
6076
- height: number;
6077
- quality: number;
6078
- width: number;
6054
+ interface ActivitylogDatabaseMysqlUserCreated {
6055
+ changes: {
6056
+ after?: {
6057
+ description: string;
6058
+ externalAccess: boolean;
6059
+ name: string;
6060
+ permissionsRead: boolean;
6061
+ permissionsWrite: boolean;
6062
+ };
6063
+ before?: {
6064
+ description?: string | null;
6065
+ externalAccess?: boolean | null;
6066
+ name?: string | null;
6067
+ permissionsRead?: boolean | null;
6068
+ permissionsWrite?: boolean | null;
6069
+ };
6070
+ };
6071
+ name: "database.mysql-user-created";
6072
+ parameters: {
6073
+ databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6074
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6075
+ };
6079
6076
  }
6080
- type SshuserEntityTypes = "ssh" | "sftp";
6081
- /**
6082
- * The level of access for an SFTPUser.
6083
- */
6084
- type SshuserAccessLevel = "full" | "read" | "unspecified";
6085
- /**
6086
- * Method of authentication that a given SFTPUser or SSHuser supports.
6087
- */
6088
- type SshuserAuthType = "password" | "publicKey";
6089
- /**
6090
- * Method of authentication for an SFTPUser or SSHUser. Can be password or public-keys.
6091
- */
6092
- type SshuserAuthentication = {
6093
- password: string;
6094
- } | {
6095
- publicKeys: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6096
- };
6097
- /**
6098
- * A representation of an ssh-public-key.
6099
- */
6100
- interface SshuserPublicKey {
6101
- comment: string;
6102
- key: string;
6077
+ interface ActivitylogDatabaseMysqlUserDeleted {
6078
+ changes: {};
6079
+ name: "database.mysql-user-deleted";
6080
+ parameters: {
6081
+ databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6082
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6083
+ };
6103
6084
  }
6104
- /**
6105
- * A representation of an SFTPUser.
6106
- */
6107
- interface SshuserSftpUser {
6108
- accessLevel: MittwaldAPIV2.Components.Schemas.SshuserAccessLevel;
6109
- active?: boolean;
6110
- authUpdatedAt: string;
6111
- createdAt: string;
6112
- description: string;
6113
- directories?: string[];
6114
- expiresAt?: string;
6115
- hasPassword: boolean;
6116
- id: string;
6117
- projectId: string;
6118
- publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6119
- updatedAt?: string;
6120
- userName: string;
6085
+ interface ActivitylogDatabaseMysqlUserUpdated {
6086
+ changes: {
6087
+ after?: {
6088
+ description: string;
6089
+ externalAccess: boolean;
6090
+ permissionsRead: boolean;
6091
+ permissionsWrite: boolean;
6092
+ };
6093
+ before?: {
6094
+ description: string | null;
6095
+ externalAccess: boolean | null;
6096
+ permissionsRead: boolean;
6097
+ permissionsWrite: boolean;
6098
+ };
6099
+ };
6100
+ name: "database.mysql-user-updated";
6101
+ parameters: {
6102
+ databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6103
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6104
+ };
6121
6105
  }
6122
- /**
6123
- * A representation of an SSHUser.
6124
- */
6125
- interface SshuserSshUser {
6126
- active?: boolean;
6127
- authUpdatedAt: string;
6128
- createdAt: string;
6129
- description: string;
6130
- expiresAt?: string;
6131
- hasPassword: boolean;
6132
- id: string;
6133
- projectId: string;
6134
- publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6135
- updatedAt?: string;
6136
- userName: string;
6106
+ interface ActivitylogDatabaseVersionSet {
6107
+ changes: {
6108
+ after?: {
6109
+ version: string;
6110
+ };
6111
+ before?: {
6112
+ version: string;
6113
+ };
6114
+ };
6115
+ name: "database.mysql-version-set" | "database.redis-version-set";
6116
+ parameters: {
6117
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6118
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6119
+ };
6137
6120
  }
6138
- interface SslCertificate {
6139
- caBundle?: string;
6140
- certificate?: string;
6141
- certificateOrderId?: string;
6142
- certificateRequestId: string;
6143
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
6144
- commonName?: string;
6145
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6146
- dnsCertSpec?: {
6147
- cnameTarget?: string;
6148
- status?: MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
6121
+ interface ActivitylogDnsARecordSet {
6122
+ changes: {
6123
+ after?: {
6124
+ aRecords: string[];
6125
+ aaaaRecords: string[];
6126
+ };
6127
+ before?: {
6128
+ aRecords: string[];
6129
+ aaaaRecords: string[];
6130
+ };
6131
+ };
6132
+ name: "dns.a-record-set";
6133
+ parameters: {
6134
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6149
6135
  };
6150
- dnsNames?: string[];
6151
- id: string;
6152
- isExpired?: boolean;
6153
- issuer?: string;
6154
- lastExpirationThresholdHit?: number;
6155
- projectId: string;
6156
- validFrom?: string;
6157
- validTo?: string;
6158
6136
  }
6159
- interface SslCertificateData {
6160
- caBundle?: string;
6161
- certificate?: string;
6162
- signingRequest?: string;
6137
+ interface ActivitylogDnsCaaRecordSet {
6138
+ changes: {
6139
+ after?: {
6140
+ caa: {}[];
6141
+ };
6142
+ before?: {
6143
+ caa: {}[];
6144
+ };
6145
+ };
6146
+ name: "dns.caa-record-set";
6147
+ parameters: {
6148
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6149
+ };
6163
6150
  }
6164
- interface SslCertificateError {
6165
- message: "certificate_read_failed" | "certificate_decode_failed" | "certificate_parsing_failed" | "certificate_self_signed" | "certificate_not_authorized_to_sign" | "certificate_expired" | "ca_not_authorized_for_this_name" | "too_many_intermediates" | "incompatible_usage" | "unknown_authority" | "private_key_read_failed" | "private_key_decode_failed" | "private_key_parse_failed" | "private_key_encrypted" | "private_key_not_rsa" | "private_key_mismatch" | "unknown_cloudflare_error" | "unknown";
6151
+ interface ActivitylogDnsCnameRecordSet {
6152
+ changes: {
6153
+ after?: {
6154
+ cname: string;
6155
+ };
6156
+ before?: {
6157
+ cname: string;
6158
+ };
6159
+ };
6160
+ name: "dns.cname-record-set";
6161
+ parameters: {
6162
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6163
+ };
6166
6164
  }
6167
- interface SslCertificateRequest {
6168
- certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
6169
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
6170
- commonName?: string;
6171
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6172
- createdAt: string;
6173
- dnsNames?: string[];
6174
- id: string;
6175
- isCompleted: boolean;
6176
- issuer?: string;
6177
- projectId: string;
6178
- validFrom?: string;
6179
- validTo?: string;
6165
+ interface ActivitylogDnsMxRecordSet {
6166
+ changes: {
6167
+ after?: {
6168
+ mx: {}[];
6169
+ };
6170
+ before?: {
6171
+ mx: {}[];
6172
+ };
6173
+ };
6174
+ name: "dns.mx-record-set";
6175
+ parameters: {
6176
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6177
+ };
6180
6178
  }
6181
- interface SslCertificateRequestCreateRequest {
6182
- certificate: string;
6183
- privateKey: string;
6184
- projectId: string;
6179
+ interface ActivitylogDnsSrvRecordSet {
6180
+ changes: {
6181
+ after?: {
6182
+ srv: {}[];
6183
+ };
6184
+ before?: {
6185
+ srv: {}[];
6186
+ };
6187
+ };
6188
+ name: "dns.srv-record-set";
6189
+ parameters: {
6190
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6191
+ };
6185
6192
  }
6186
- interface SslCertificateRequestCreateResponse {
6187
- commonName?: string;
6188
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6189
- dnsNames?: string[];
6190
- id: string;
6191
- issuer?: string;
6192
- signingRequest?: string;
6193
- validFrom?: string;
6194
- validTo?: string;
6193
+ interface ActivitylogDnsTxtRecordSet {
6194
+ changes: {
6195
+ after?: {
6196
+ txt: string[];
6197
+ };
6198
+ before?: {
6199
+ txt: string[];
6200
+ };
6201
+ };
6202
+ name: "dns.txt-record-set";
6203
+ parameters: {
6204
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6205
+ };
6195
6206
  }
6196
- interface SslCertificateRequestCreateWithCSRRequest {
6197
- commonName: string;
6198
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
6199
- projectId: string;
6207
+ interface ActivitylogDnsZoneCreated {
6208
+ changes: {
6209
+ after?: {
6210
+ domain: string;
6211
+ };
6212
+ before?: {
6213
+ domain: string | null;
6214
+ };
6215
+ };
6216
+ name: "dns.zone-created";
6217
+ parameters: {
6218
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6219
+ };
6200
6220
  }
6201
- interface SslCertificateRequestCreateWithDNSRequest {
6202
- commonName: string;
6203
- projectId: string;
6221
+ interface ActivitylogDnsZoneDeleted {
6222
+ changes: {};
6223
+ name: "dns.zone-deleted";
6224
+ parameters: {
6225
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6226
+ };
6204
6227
  }
6205
6228
  /**
6206
- * Specifies the type of certificate.
6207
- *
6208
- * Possible values:
6209
- * - `0` – `UNSPECIFIED`: The certificate type is not specified.
6210
- * - `1` – `INTERNAL`: A certificate issued and managed internally by the system.
6211
- * - `2` – `EXTERNAL`: A certificate provided by an external source and imported into the system.
6212
- * - `3` – `DNS`: A certificate validated using DNS-based verification.
6213
- *
6229
+ * Fallback when no matching action is found
6214
6230
  */
6215
- type SslCertificateType = 0 | 1 | 2 | 3;
6216
- interface SslCheckReplaceChanges {
6217
- commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6218
- dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
6219
- issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6220
- validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6221
- validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6231
+ interface ActivitylogGenericAction {
6232
+ changes: {
6233
+ [k: string]: {
6234
+ after?: {
6235
+ [k: string]: unknown;
6236
+ };
6237
+ before?: {
6238
+ [k: string]: unknown;
6239
+ };
6240
+ };
6241
+ };
6242
+ name: string;
6243
+ parameters: {
6244
+ [k: string]: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6245
+ };
6222
6246
  }
6223
- interface SslCheckReplaceDateChange {
6224
- newValue: string;
6225
- oldValue: string;
6247
+ interface ActivitylogAggregateReference {
6248
+ aggregate: string;
6249
+ domain: string;
6250
+ id: string;
6226
6251
  }
6227
- interface SslCheckReplaceFieldChange {
6228
- newValue: string;
6229
- oldValue: string;
6252
+ interface ProjectAvatarRules {
6253
+ maxSizeInKB: number;
6254
+ mimeTypes: string[];
6255
+ properties?: {
6256
+ imageDimensions?: {
6257
+ max?: {
6258
+ height?: number;
6259
+ width?: number;
6260
+ };
6261
+ min?: {
6262
+ height?: number;
6263
+ width?: number;
6264
+ };
6265
+ };
6266
+ };
6230
6267
  }
6231
- interface SslCheckReplaceCertificateResponse {
6232
- changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
6233
- errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
6234
- isReplaceable: boolean;
6268
+ /**
6269
+ * deprecated by property status
6270
+ */
6271
+ type ProjectDeprecatedProjectReadinessStatus = "creating" | "ready" | "unready";
6272
+ /**
6273
+ * deprecated by property status
6274
+ */
6275
+ type ProjectDeprecatedServerReadinessStatus = "creating" | "ready" | "unready";
6276
+ interface ProjectFilesystemDirectoryListing {
6277
+ absolutePath: string;
6278
+ isDirectory?: boolean;
6279
+ isExecutable?: boolean;
6280
+ isFile?: boolean;
6281
+ isSymlink?: boolean;
6282
+ items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[];
6283
+ name: string;
6284
+ size: number;
6285
+ target?: string;
6235
6286
  }
6236
- interface SslCheckReplaceSliceChange {
6237
- addedValues: string[];
6238
- removedValues: string[];
6239
- values: string[];
6287
+ interface ProjectFilesystemUsagesDisk {
6288
+ path?: string;
6289
+ totalBytes?: number;
6290
+ usedBytes?: number;
6240
6291
  }
6241
- interface SslContact {
6242
- city?: string;
6243
- company?: string;
6292
+ interface ProjectFsApiJwt {
6293
+ jwt: string;
6294
+ }
6295
+ interface ProjectHardwareSpec {
6296
+ cpu?: string;
6244
6297
  /**
6245
- * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
6298
+ * @deprecated
6299
+ * deprecated by memory
6246
6300
  */
6247
- country?: string;
6248
- organizationalUnit?: string;
6249
- state?: string;
6250
- }
6251
- interface SslDNSCertStatus {
6252
- message?: string;
6253
- status: MittwaldAPIV2.Components.Schemas.SslProjectCertificateStatus;
6254
- updatedAt?: string;
6301
+ mem?: string;
6302
+ memory?: string;
6303
+ storage: string;
6255
6304
  }
6256
- type SslProjectCertificateStatus = "issuing" | "ready" | "cnameError" | "error" | "unspecified";
6257
- type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
6258
- interface StoragespaceStatisticsCategory {
6259
- kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
6260
- resources?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsResource[];
6261
- totalUsageInBytes: number;
6305
+ interface ActivitylogLinkedParameterProperty {
6306
+ aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6307
+ name: string;
6262
6308
  }
6263
- type StoragespaceStatisticsKind = "server" | "project";
6264
- interface StoragespaceStatisticsMeta {
6265
- isExceeding?: boolean;
6266
- /**
6267
- * The last exceedance limit in bytes during the exceedance time, therefore can differ from the current limit. It is retained as a historical record of the most recent exceedance and does not reset once set.
6268
- */
6269
- lastExceedanceLimitInBytes?: number;
6270
- /**
6271
- * The last total exceedance in bytes related to the limit during the exceedance time, see lastExceedanceLimitInBytes. It is retained as a historical record of the most recent exceedance and does not reset once set.
6272
- */
6273
- lastTotalExceedanceInBytes?: number;
6274
- /**
6275
- * The last total exceedance date. It is retained as a historical record of the most recent exceedance and does not reset once set.
6276
- */
6277
- lastTotalExceedanceInBytesSetAt?: string;
6278
- limitInBytes?: number;
6279
- /**
6280
- * If true, set notification threshold is used as limit for meta calculations. E.g. for projects with a parent server.
6281
- */
6282
- notificationThresholdUsedAsLimit?: boolean;
6283
- /**
6284
- * The current total exceedance in bytes.
6285
- */
6286
- totalExceedanceInBytes?: number;
6309
+ interface ActivitylogLogEntry {
6310
+ action: 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.ActivitylogDnsMxRecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseCreated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseDescriptionSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseVersionSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlNameSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserCreated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationCopyRequested | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationAppVersionSet | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDesiredSystemSoftwareSet | MittwaldAPIV2.Components.Schemas.ActivitylogGenericAction;
6311
+ aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6312
+ dateTime: string;
6287
6313
  /**
6288
- * The current total exceedance date.
6314
+ * Null or empty object. If set, the action was executed by an mittwald employee.
6289
6315
  */
6290
- totalExceedanceInBytesSetAt?: string;
6291
- totalFreeInBytes?: number;
6292
- totalFreeInPercentage?: number;
6293
- totalUsageInBytes: number;
6294
- totalUsageInPercentage?: number;
6316
+ impersonator?: {};
6317
+ user?: {
6318
+ id: string;
6319
+ type: "user" | "extension";
6320
+ };
6295
6321
  }
6296
- interface StoragespaceStatisticsResource {
6297
- description?: string;
6298
- id: string;
6322
+ interface ProjectMachineType {
6323
+ cpu: string;
6324
+ memory: string;
6299
6325
  name: string;
6300
- usageInBytes: number;
6301
- usageInBytesSetAt: string;
6302
6326
  }
6303
- interface StoragespaceStatistics {
6304
- childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
6305
- description?: string;
6306
- id: string;
6307
- kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
6308
- meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
6327
+ interface ActivitylogParameterProperty {
6328
+ aggregate?: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6309
6329
  name: string;
6310
- notificationThresholdInBytes?: number;
6311
- statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
6312
- }
6313
- interface TaskAggregateReference {
6314
- aggregate: string;
6315
- domain: string;
6316
- id: string;
6317
6330
  }
6318
- interface SignupAccount {
6319
- email?: string;
6320
- /**
6321
- * The users mfa details.
6322
- */
6323
- mfaDetails?: {
6324
- mfaConfirmed?: boolean;
6325
- mfaInitialized?: boolean;
6326
- };
6327
- passwordUpdatedAt?: string;
6328
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6329
- userId?: string;
6330
- }
6331
- interface SignupApiToken {
6332
- apiTokenId: string;
6331
+ type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
6332
+ type ProjectProjectFeature = "redis" | "node" | "container";
6333
+ interface ProjectProjectListItem {
6334
+ backupStorageUsageInBytes: number;
6335
+ backupStorageUsageInBytesSetAt: string;
6333
6336
  createdAt: string;
6337
+ customerId: string;
6338
+ customerMeta: {
6339
+ id: string;
6340
+ };
6334
6341
  description: string;
6335
- expiresAt?: string;
6336
- roles: ("api_read" | "api_write")[];
6337
- }
6338
- interface SignupDeviceInfo {
6339
- browser?: string;
6340
- model?: string;
6341
- os?: string;
6342
- type?: string;
6343
- }
6344
- interface SignupDomainError {
6342
+ disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
6343
+ disabledAt?: string;
6344
+ enabled: boolean;
6345
6345
  /**
6346
- * A json object, given further information about the error
6346
+ * @deprecated
6347
+ * Deprecated by 'supportedFeatures'.
6347
6348
  */
6348
- info?: {};
6349
+ features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6350
+ id: string;
6351
+ imageRefId?: string;
6352
+ /**
6353
+ * @deprecated
6354
+ * deprecated
6355
+ */
6356
+ isReady: boolean;
6357
+ projectHostingId?: string;
6358
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
6359
+ serverGroupId: string;
6360
+ serverId?: string;
6361
+ shortId: string;
6362
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
6363
+ statusSetAt: string;
6364
+ supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6365
+ webStorageUsageInBytes: number;
6366
+ webStorageUsageInBytesSetAt: string;
6367
+ }
6368
+ type ProjectProjectStatus = "pending" | "ready" | "preparingForVolumeMigration" | "migratingVolume" | "error" | "disabled";
6369
+ interface ProjectProject {
6370
+ backupStorageUsageInBytes: number;
6371
+ backupStorageUsageInBytesSetAt: string;
6372
+ clusterDomain?: string;
6349
6373
  /**
6350
- * Some more detailed information about the error
6374
+ * @deprecated
6375
+ * deprecated by property clusterId
6351
6376
  */
6352
- message: string;
6377
+ clusterID?: string;
6378
+ clusterId?: string;
6379
+ createdAt: string;
6380
+ customerId: string;
6381
+ deletionRequested?: boolean;
6382
+ description: string;
6383
+ directories: {
6384
+ [k: string]: string;
6385
+ };
6386
+ disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
6387
+ disabledAt?: string;
6388
+ enabled: boolean;
6353
6389
  /**
6354
- * Unique key for the error type
6390
+ * @deprecated
6391
+ * Deprecated by 'supportedFeatures'.
6355
6392
  */
6356
- name: string;
6357
- }
6358
- interface SignupLocation {
6359
- city?: string;
6360
- country?: string;
6361
- ipAddress?: string;
6362
- }
6363
- interface SignupOAuthClient {
6364
- allowedGrantTypes?: string[];
6365
- allowedRedirectUris?: string[];
6366
- allowedScopes?: string[];
6367
- contributorId: string;
6368
- description?: string;
6369
- humanReadableName: string;
6393
+ features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6370
6394
  id: string;
6371
- }
6372
- interface SignupProfile {
6373
- email?: string;
6395
+ imageRefId?: string;
6374
6396
  /**
6375
- * the users mfa details
6397
+ * @deprecated
6398
+ * deprecated by property status
6376
6399
  */
6377
- mfaDetails?: {
6378
- mfaConfirmed?: boolean;
6379
- mfaInitialized?: boolean;
6380
- };
6381
- passwordUpdatedAt?: string;
6382
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6383
- userId?: string;
6384
- }
6385
- interface UserCustomerMembership {
6386
- expiresAt?: string;
6387
- id: string;
6388
- memberSince: string;
6389
- role: "owner" | "member" | "accountant";
6400
+ isReady: boolean;
6401
+ projectHostingId?: string;
6402
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
6403
+ serverGroupId: string;
6404
+ serverId?: string;
6405
+ serverShortId?: string;
6406
+ shortId: string;
6407
+ spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
6408
+ statisticsBaseDomain?: string;
6409
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
6410
+ statusSetAt: string;
6411
+ supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6412
+ webStorageUsageInBytes: number;
6413
+ webStorageUsageInBytesSetAt: string;
6390
6414
  }
6391
- interface UserUserFeedback {
6415
+ type ProjectServerDisableReason = "suspended";
6416
+ type ProjectServerStatus = "pending" | "ready" | "unready" | "suspended" | "migrating";
6417
+ interface ProjectServer {
6418
+ clusterName: string;
6419
+ createdAt: string;
6420
+ customerId: string;
6421
+ description: string;
6422
+ disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
6423
+ groupId: string;
6392
6424
  id: string;
6393
- message: string;
6394
- origin: string;
6395
- subject: string;
6396
- vote: number;
6425
+ imageRefId?: string;
6426
+ /**
6427
+ * @deprecated
6428
+ * deprecated by property status
6429
+ */
6430
+ isReady: boolean;
6431
+ machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
6432
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
6433
+ shortId: string;
6434
+ statisticsBaseDomain?: string;
6435
+ status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
6436
+ storage: string;
6397
6437
  }
6398
- interface UserProjectMembership {
6399
- expiresAt?: string;
6400
- id?: string;
6401
- inherited: boolean;
6402
- memberSince: string;
6403
- role: "owner" | "emailadmin" | "external" | "id";
6438
+ interface ProjectVisitorSpec {
6439
+ storage: string;
6440
+ visitors: number;
6404
6441
  }
6405
- interface UserUser {
6406
- avatarRef?: string;
6407
- customerMemberships?: {
6408
- [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
6409
- };
6410
- email?: string;
6442
+ interface DirectusDomain {
6411
6443
  /**
6412
- * Additional information about mittwald employees.
6444
+ * The authcode of the domain. Leave empty when mittwald can generate a authcode on its own
6413
6445
  */
6414
- employeeInformation?: {
6415
- department: string;
6416
- };
6446
+ authCode?: string;
6417
6447
  /**
6418
- * Truth value, whether the user is a mittwald employee
6448
+ * Leave empty when mittwald should keep the same domain owner
6419
6449
  */
6420
- isEmployee?: boolean;
6421
- mfa?: {
6422
- active: boolean;
6423
- setup: boolean;
6424
- };
6425
- passwordUpdatedAt?: string;
6426
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6427
- phoneNumber?: string;
6428
- projectMemberships?: {
6429
- [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
6430
- };
6431
- registeredAt?: string;
6432
- userId: string;
6450
+ domainOwnerData?: string;
6451
+ name: string;
6433
6452
  }
6434
- interface SignupSshKey {
6435
- algorithm: string;
6436
- comment: string;
6437
- createdAt: string;
6438
- expiresAt?: string;
6439
- fingerprint: string;
6440
- key: string;
6441
- sshKeyId: string;
6453
+ interface DirectusEmailInbox {
6454
+ email: string;
6455
+ password: string;
6442
6456
  }
6443
- interface PollUserPollSettings {
6444
- completedAt?: string;
6445
- dontShowUntil?: string;
6446
- ignoredAt?: string;
6447
- shouldShow: boolean;
6448
- status: "completed" | "muted" | "ignored" | "new";
6449
- userId: string;
6457
+ interface ScreenshotTarget {
6458
+ domain: string;
6459
+ path?: string;
6460
+ scheme: "http" | "https";
6450
6461
  }
6451
- interface SignupUserSession {
6452
- created: string;
6453
- device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
6454
- lastAccess?: string;
6455
- location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
6456
- tokenId: string;
6462
+ interface ScreenshotTask {
6463
+ executedAt?: string;
6464
+ fileReference?: string;
6465
+ id: string;
6466
+ priority: number;
6467
+ settings: MittwaldAPIV2.Components.Schemas.ScreenshotScreenshotSettings;
6468
+ target: MittwaldAPIV2.Components.Schemas.ScreenshotTarget;
6469
+ taskState?: MittwaldAPIV2.Components.Schemas.ScreenshotLifecycleState | MittwaldAPIV2.Components.Schemas.CommonsError;
6457
6470
  }
6458
- interface VarnishConfigRevision {
6459
- expire?: number;
6460
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6461
- note?: string;
6462
- revision: number;
6463
- updated: string;
6471
+ type ScreenshotLifecycleState = string;
6472
+ interface ScreenshotScreenshotSettings {
6473
+ dataType: "jpeg" | "png" | "webp";
6474
+ delay: number;
6475
+ height: number;
6476
+ quality: number;
6477
+ width: number;
6464
6478
  }
6465
- interface VarnishConfigTemplate {
6466
- /**
6467
- * A set of config file references.
6468
- */
6469
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6470
- isGlobal?: boolean;
6471
- note?: string;
6472
- projectId?: string;
6473
- softwareConfigTemplateId: string;
6474
- softwareTemplateId: string;
6479
+ type SshuserEntityTypes = "ssh" | "sftp";
6480
+ /**
6481
+ * The level of access for an SFTPUser.
6482
+ */
6483
+ type SshuserAccessLevel = "full" | "read" | "unspecified";
6484
+ /**
6485
+ * Method of authentication that a given SFTPUser or SSHuser supports.
6486
+ */
6487
+ type SshuserAuthType = "password" | "publicKey";
6488
+ /**
6489
+ * Method of authentication for an SFTPUser or SSHUser. Can be password or public-keys.
6490
+ */
6491
+ type SshuserAuthentication = {
6492
+ password: string;
6493
+ } | {
6494
+ publicKeys: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6495
+ };
6496
+ /**
6497
+ * A representation of an ssh-public-key.
6498
+ */
6499
+ interface SshuserPublicKey {
6500
+ comment: string;
6501
+ key: string;
6502
+ }
6503
+ /**
6504
+ * A representation of an SFTPUser.
6505
+ */
6506
+ interface SshuserSftpUser {
6507
+ accessLevel: MittwaldAPIV2.Components.Schemas.SshuserAccessLevel;
6508
+ active?: boolean;
6509
+ authUpdatedAt: string;
6510
+ createdAt: string;
6511
+ description: string;
6512
+ directories?: string[];
6513
+ expiresAt?: string;
6514
+ hasPassword: boolean;
6515
+ id: string;
6516
+ projectId: string;
6517
+ publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6475
6518
  updatedAt?: string;
6519
+ userName: string;
6476
6520
  }
6477
- interface VarnishConfigFile {
6478
- content: string;
6479
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6521
+ /**
6522
+ * A representation of an SSHUser.
6523
+ */
6524
+ interface SshuserSshUser {
6525
+ active?: boolean;
6526
+ authUpdatedAt: string;
6527
+ createdAt: string;
6528
+ description: string;
6529
+ expiresAt?: string;
6530
+ hasPassword: boolean;
6531
+ id: string;
6532
+ projectId: string;
6533
+ publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6534
+ updatedAt?: string;
6535
+ userName: string;
6480
6536
  }
6481
- interface VarnishConfigFileMetadata {
6482
- name: string;
6483
- path?: string;
6537
+ interface SslCertificate {
6538
+ caBundle?: string;
6539
+ certificate?: string;
6540
+ certificateOrderId?: string;
6541
+ certificateRequestId: string;
6542
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
6543
+ commonName?: string;
6544
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6545
+ dnsCertSpec?: {
6546
+ cnameTarget?: string;
6547
+ status?: MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
6548
+ };
6549
+ dnsNames?: string[];
6550
+ id: string;
6551
+ isExpired?: boolean;
6552
+ issuer?: string;
6553
+ lastExpirationThresholdHit?: number;
6554
+ projectId: string;
6555
+ validFrom?: string;
6556
+ validTo?: string;
6484
6557
  }
6485
- interface VarnishConfigFileRef {
6486
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6487
- refId: string;
6558
+ interface SslCertificateData {
6559
+ caBundle?: string;
6560
+ certificate?: string;
6561
+ signingRequest?: string;
6488
6562
  }
6489
- interface VarnishGlobalConfigTemplate {
6490
- data: string;
6491
- name: string;
6492
- updatedAt: string;
6563
+ interface SslCertificateError {
6564
+ message: "certificate_read_failed" | "certificate_decode_failed" | "certificate_parsing_failed" | "certificate_self_signed" | "certificate_not_authorized_to_sign" | "certificate_expired" | "ca_not_authorized_for_this_name" | "too_many_intermediates" | "incompatible_usage" | "unknown_authority" | "private_key_read_failed" | "private_key_decode_failed" | "private_key_parse_failed" | "private_key_encrypted" | "private_key_not_rsa" | "private_key_mismatch" | "unknown_cloudflare_error" | "unknown";
6493
6565
  }
6494
- interface VarnishSoftware {
6495
- config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
6566
+ interface SslCertificateRequest {
6567
+ certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
6568
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
6569
+ commonName?: string;
6570
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6571
+ createdAt: string;
6572
+ dnsNames?: string[];
6573
+ id: string;
6574
+ isCompleted: boolean;
6575
+ issuer?: string;
6496
6576
  projectId: string;
6497
- settings?: {
6498
- [k: string]: string;
6499
- };
6500
- softwareId: string;
6501
- softwareTemplateId: string;
6502
- softwareVersion: string;
6503
- updatedAt: string;
6504
- }
6505
- interface VarnishSoftwareConfig {
6506
- configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
6507
- latestConfigRevision?: number;
6508
- revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
6577
+ validFrom?: string;
6578
+ validTo?: string;
6509
6579
  }
6510
- interface VarnishConfigExpiration {
6511
- maxVersions?: number;
6512
- retentionTime?: number;
6580
+ interface SslCertificateRequestCreateRequest {
6581
+ certificate: string;
6582
+ privateKey: string;
6583
+ projectId: string;
6513
6584
  }
6514
- interface VarnishSoftwareConfigFileAccessToken {
6515
- accessToken: string;
6516
- expiresAt: string;
6585
+ interface SslCertificateRequestCreateResponse {
6586
+ commonName?: string;
6587
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6588
+ dnsNames?: string[];
6589
+ id: string;
6590
+ issuer?: string;
6591
+ signingRequest?: string;
6592
+ validFrom?: string;
6593
+ validTo?: string;
6517
6594
  }
6518
- interface VarnishSoftwareSetting {
6519
- name: string;
6520
- value: string;
6595
+ interface SslCertificateRequestCreateWithCSRRequest {
6596
+ commonName: string;
6597
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
6598
+ projectId: string;
6521
6599
  }
6522
- interface VerificationEmailDetectPhishingMailResponse {
6523
- result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
6600
+ interface SslCertificateRequestCreateWithDNSRequest {
6601
+ commonName: string;
6602
+ projectId: string;
6524
6603
  }
6525
- type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
6526
- type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
6527
- /**
6528
- * Typed reason a domain cannot be migrated.
6529
- */
6530
- type DomainmigrationDomainNotMigratableReason = "DOMAIN_NOT_MIGRATABLE_REASON_NEED_EPP" | "DOMAIN_NOT_MIGRATABLE_REASON_TLD_NOT_SUPPORTED" | "DOMAIN_NOT_MIGRATABLE_REASON_PREMIUM_DOMAIN" | "DOMAIN_NOT_MIGRATABLE_REASON_REGISTRAR_NOT_SUPPORTED" | "DOMAIN_NOT_MIGRATABLE_REASON_NOT_ORDERABLE" | "DOMAIN_NOT_MIGRATABLE_REASON_INSUFFICIENT_STATE";
6531
6604
  /**
6532
- * A non-migratable-domain failure: one selected domain cannot be migrated. type is always DOMAIN_NOT_MIGRATABLE, path is the affected domain, and context.reason carries the typed reason code.
6605
+ * Specifies the type of certificate.
6606
+ *
6607
+ * Possible values:
6608
+ * - `0` – `UNSPECIFIED`: The certificate type is not specified.
6609
+ * - `1` – `INTERNAL`: A certificate issued and managed internally by the system.
6610
+ * - `2` – `EXTERNAL`: A certificate provided by an external source and imported into the system.
6611
+ * - `3` – `DNS`: A certificate validated using DNS-based verification.
6612
+ *
6533
6613
  */
6534
- interface DomainmigrationDomainNotMigratableValidationError {
6535
- context: {
6536
- reason: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason;
6537
- [k: string]: string;
6538
- };
6539
- message: string;
6540
- /**
6541
- * The affected domain.
6542
- */
6543
- path: string;
6544
- /**
6545
- * Discriminator for this branch; always DOMAIN_NOT_MIGRATABLE.
6546
- */
6547
- type: "DOMAIN_NOT_MIGRATABLE";
6614
+ type SslCertificateType = 0 | 1 | 2 | 3;
6615
+ interface SslCheckReplaceChanges {
6616
+ commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6617
+ dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
6618
+ issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6619
+ validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6620
+ validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6548
6621
  }
6549
- interface ActivitylogParameterProperty {
6550
- aggregate?: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6551
- name: string;
6622
+ interface SslCheckReplaceDateChange {
6623
+ newValue: string;
6624
+ oldValue: string;
6552
6625
  }
6553
- interface ActivitylogAppInstallationAppVersionSet {
6554
- changes: {
6555
- after?: {
6556
- appId: string;
6557
- appVersionId: string;
6558
- };
6559
- before?: {
6560
- appId?: string | null;
6561
- appVersionId?: string | null;
6562
- };
6563
- };
6564
- name: "app.version-set";
6626
+ interface SslCheckReplaceFieldChange {
6627
+ newValue: string;
6628
+ oldValue: string;
6565
6629
  }
6566
- interface ActivitylogDatabaseMysqlNameSet {
6567
- changes: {
6568
- after?: {
6569
- name: string;
6570
- };
6571
- before?: {
6572
- name: string | null;
6573
- };
6574
- };
6575
- name: "database.mysql-name-set";
6576
- parameters: {
6577
- name: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6578
- };
6630
+ interface SslCheckReplaceCertificateResponse {
6631
+ changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
6632
+ errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
6633
+ isReplaceable: boolean;
6579
6634
  }
6580
- interface ActivitylogDatabaseMysqlUserUpdated {
6581
- changes: {
6582
- after?: {
6583
- description: string;
6584
- externalAccess: boolean;
6585
- permissions: {};
6586
- };
6587
- before?: {
6588
- description: string | null;
6589
- externalAccess: boolean | null;
6590
- permissions: {};
6591
- };
6592
- };
6593
- name: "database.mysql-user-updated";
6594
- parameters: {
6595
- databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6596
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6597
- };
6635
+ interface SslCheckReplaceSliceChange {
6636
+ addedValues: string[];
6637
+ removedValues: string[];
6638
+ values: string[];
6598
6639
  }
6599
- interface ActivitylogDnsCnameRecordSet {
6600
- changes: {
6601
- after?: {
6602
- cname: string;
6603
- };
6604
- before?: {
6605
- cname: string;
6606
- };
6607
- };
6608
- name: "dns.cname-record-set";
6609
- parameters: {
6610
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6611
- };
6640
+ interface SslContact {
6641
+ city?: string;
6642
+ company?: string;
6643
+ /**
6644
+ * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
6645
+ */
6646
+ country?: string;
6647
+ organizationalUnit?: string;
6648
+ state?: string;
6612
6649
  }
6613
- interface ActivitylogAggregateReference {
6614
- aggregate: string;
6615
- domain: string;
6616
- id: string;
6650
+ interface SslDNSCertStatus {
6651
+ message?: string;
6652
+ status: MittwaldAPIV2.Components.Schemas.SslProjectCertificateStatus;
6653
+ updatedAt?: string;
6617
6654
  }
6618
- interface ActivitylogDatabaseDescriptionSet {
6619
- changes: {
6620
- after?: {
6621
- description: string;
6622
- };
6623
- before?: {
6624
- description: string | null;
6625
- };
6626
- };
6627
- name: "database.mysql-description-set" | "database.redis-description-set";
6628
- parameters: {
6629
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6630
- };
6655
+ type SslProjectCertificateStatus = "issuing" | "ready" | "cnameError" | "error" | "unspecified";
6656
+ type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
6657
+ interface StoragespaceStatisticsCategory {
6658
+ kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
6659
+ resources?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsResource[];
6660
+ totalUsageInBytes: number;
6631
6661
  }
6632
- interface ActivitylogDatabaseCreated {
6633
- changes: {
6634
- after?: {
6635
- description: string;
6636
- name: string;
6637
- version: string;
6638
- };
6639
- before?: {
6640
- description?: string | null;
6641
- name?: string | null;
6642
- version?: string | null;
6643
- };
6644
- };
6645
- name: "database.mysql-created" | "database.redis-created";
6646
- parameters: {
6647
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6648
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6649
- };
6662
+ type StoragespaceStatisticsKind = "server" | "project";
6663
+ interface StoragespaceStatisticsMeta {
6664
+ isExceeding?: boolean;
6665
+ /**
6666
+ * The last exceedance limit in bytes during the exceedance time, therefore can differ from the current limit. It is retained as a historical record of the most recent exceedance and does not reset once set.
6667
+ */
6668
+ lastExceedanceLimitInBytes?: number;
6669
+ /**
6670
+ * The last total exceedance in bytes related to the limit during the exceedance time, see lastExceedanceLimitInBytes. It is retained as a historical record of the most recent exceedance and does not reset once set.
6671
+ */
6672
+ lastTotalExceedanceInBytes?: number;
6673
+ /**
6674
+ * The last total exceedance date. It is retained as a historical record of the most recent exceedance and does not reset once set.
6675
+ */
6676
+ lastTotalExceedanceInBytesSetAt?: string;
6677
+ limitInBytes?: number;
6678
+ /**
6679
+ * If true, set notification threshold is used as limit for meta calculations. E.g. for projects with a parent server.
6680
+ */
6681
+ notificationThresholdUsedAsLimit?: boolean;
6682
+ /**
6683
+ * The current total exceedance in bytes.
6684
+ */
6685
+ totalExceedanceInBytes?: number;
6686
+ /**
6687
+ * The current total exceedance date.
6688
+ */
6689
+ totalExceedanceInBytesSetAt?: string;
6690
+ totalFreeInBytes?: number;
6691
+ totalFreeInPercentage?: number;
6692
+ totalUsageInBytes: number;
6693
+ totalUsageInPercentage?: number;
6650
6694
  }
6651
- /**
6652
- * Fallback when no matching action is found
6653
- */
6654
- interface ActivitylogGenericAction {
6655
- changes: {
6656
- [k: string]: {
6657
- after?: {
6658
- [k: string]: unknown;
6659
- };
6660
- before?: {
6661
- [k: string]: unknown;
6662
- };
6663
- };
6664
- };
6695
+ interface StoragespaceStatisticsResource {
6696
+ description?: string;
6697
+ id: string;
6665
6698
  name: string;
6666
- parameters: {
6667
- [k: string]: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6668
- };
6699
+ usageInBytes: number;
6700
+ usageInBytesSetAt: string;
6669
6701
  }
6670
- interface ActivitylogDatabaseVersionSet {
6671
- changes: {
6672
- after?: {
6673
- version: string;
6674
- };
6675
- before?: {
6676
- version: string;
6677
- };
6678
- };
6679
- name: "database.mysql-version-set" | "database.redis-version-set";
6680
- parameters: {
6681
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6682
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6683
- };
6702
+ interface StoragespaceStatistics {
6703
+ childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
6704
+ description?: string;
6705
+ id: string;
6706
+ kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
6707
+ meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
6708
+ name: string;
6709
+ notificationThresholdInBytes?: number;
6710
+ statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
6684
6711
  }
6685
- interface ActivitylogDnsZoneDeleted {
6686
- changes: {};
6687
- name: "dns.zone-deleted";
6688
- parameters: {
6689
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6690
- };
6712
+ interface TaskAggregateReference {
6713
+ aggregate: string;
6714
+ domain: string;
6715
+ id: string;
6691
6716
  }
6692
- interface ActivitylogDatabaseMysqlUserDeleted {
6693
- changes: {};
6694
- name: "database.mysql-user-deleted";
6695
- parameters: {
6696
- databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6697
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6717
+ interface SignupAccount {
6718
+ email?: string;
6719
+ /**
6720
+ * The users mfa details.
6721
+ */
6722
+ mfaDetails?: {
6723
+ mfaConfirmed?: boolean;
6724
+ mfaInitialized?: boolean;
6698
6725
  };
6726
+ passwordUpdatedAt?: string;
6727
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6728
+ userId?: string;
6699
6729
  }
6700
- interface ActivitylogDatabaseMysqlUserCreated {
6701
- changes: {
6702
- after?: {
6703
- description: string;
6704
- externalAccess: boolean;
6705
- name: string;
6706
- permissions: {};
6707
- };
6708
- before?: {
6709
- description?: string | null;
6710
- externalAccess?: boolean | null;
6711
- name?: string | null;
6712
- permissions?: {} | null;
6713
- };
6714
- };
6715
- name: "database.mysql-user-created";
6716
- parameters: {
6717
- databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6718
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6719
- };
6730
+ interface SignupApiToken {
6731
+ apiTokenId: string;
6732
+ createdAt: string;
6733
+ description: string;
6734
+ expiresAt?: string;
6735
+ roles: ("api_read" | "api_write")[];
6720
6736
  }
6721
- interface ActivitylogDnsZoneCreated {
6722
- changes: {
6723
- after?: {
6724
- domain: string;
6725
- };
6726
- before?: {
6727
- domain: string | null;
6728
- };
6729
- };
6730
- name: "dns.zone-created";
6731
- parameters: {
6732
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6733
- };
6737
+ interface SignupDeviceInfo {
6738
+ browser?: string;
6739
+ model?: string;
6740
+ os?: string;
6741
+ type?: string;
6734
6742
  }
6735
- interface ActivitylogLinkedParameterProperty {
6736
- aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6743
+ interface SignupDomainError {
6744
+ /**
6745
+ * A json object, given further information about the error
6746
+ */
6747
+ info?: {};
6748
+ /**
6749
+ * Some more detailed information about the error
6750
+ */
6751
+ message: string;
6752
+ /**
6753
+ * Unique key for the error type
6754
+ */
6737
6755
  name: string;
6738
6756
  }
6739
- interface ActivitylogDnsARecordSet {
6740
- changes: {
6741
- after?: {
6742
- aRecords: string[];
6743
- aaaaRecords: string[];
6744
- };
6745
- before?: {
6746
- aRecords: string[];
6747
- aaaaRecords: string[];
6748
- };
6749
- };
6750
- name: "dns.a-record-set";
6751
- parameters: {
6752
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6753
- };
6757
+ interface SignupLocation {
6758
+ city?: string;
6759
+ country?: string;
6760
+ ipAddress?: string;
6754
6761
  }
6755
- interface ActivitylogDnsTxtRecordSet {
6756
- changes: {
6757
- after?: {
6758
- txt: string[];
6759
- };
6760
- before?: {
6761
- txt: string[];
6762
- };
6763
- };
6764
- name: "dns.txt-record-set";
6765
- parameters: {
6766
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6767
- };
6762
+ interface SignupOAuthClient {
6763
+ allowedGrantTypes?: string[];
6764
+ allowedRedirectUris?: string[];
6765
+ allowedScopes?: string[];
6766
+ contributorId: string;
6767
+ description?: string;
6768
+ humanReadableName: string;
6769
+ id: string;
6768
6770
  }
6769
- interface ActivitylogDatabaseDeleted {
6770
- changes: {};
6771
- name: "database.mysql-deleted" | "database.redis-deleted";
6772
- parameters: {
6773
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6771
+ interface SignupProfile {
6772
+ email?: string;
6773
+ /**
6774
+ * the users mfa details
6775
+ */
6776
+ mfaDetails?: {
6777
+ mfaConfirmed?: boolean;
6778
+ mfaInitialized?: boolean;
6774
6779
  };
6780
+ passwordUpdatedAt?: string;
6781
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6782
+ userId?: string;
6775
6783
  }
6776
- interface ActivitylogDnsCaaRecordSet {
6777
- changes: {
6778
- after?: {
6779
- caa: {}[];
6780
- };
6781
- before?: {
6782
- caa: {}[];
6783
- };
6784
- };
6785
- name: "dns.caa-record-set";
6786
- parameters: {
6787
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6788
- };
6784
+ interface UserCustomerMembership {
6785
+ expiresAt?: string;
6786
+ id: string;
6787
+ memberSince: string;
6788
+ role: "owner" | "member" | "accountant";
6789
6789
  }
6790
- interface ActivitylogDnsMxRecordSet {
6791
- changes: {
6792
- after?: {
6793
- mx: {}[];
6794
- };
6795
- before?: {
6796
- mx: {}[];
6797
- };
6798
- };
6799
- name: "dns.mx-record-set";
6800
- parameters: {
6801
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6802
- };
6790
+ interface UserUserFeedback {
6791
+ id: string;
6792
+ message: string;
6793
+ origin: string;
6794
+ subject: string;
6795
+ vote: number;
6803
6796
  }
6804
- interface ActivitylogAppInstallationCopyRequested {
6805
- changes: {
6806
- after?: {
6807
- appId: string;
6808
- sourceAppInstallationId: string;
6809
- };
6810
- before?: {
6811
- appId?: string | null;
6812
- sourceAppInstallationId?: string | null;
6813
- };
6814
- };
6815
- name: "app.copy-requested";
6797
+ interface UserProjectMembership {
6798
+ expiresAt?: string;
6799
+ id?: string;
6800
+ inherited: boolean;
6801
+ memberSince: string;
6802
+ role: "owner" | "emailadmin" | "external" | "id";
6816
6803
  }
6817
- interface ActivitylogDnsSrvRecordSet {
6818
- changes: {
6819
- after?: {
6820
- srv: {}[];
6821
- };
6822
- before?: {
6823
- srv: {}[];
6824
- };
6825
- };
6826
- name: "dns.srv-record-set";
6827
- parameters: {
6828
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6804
+ interface UserUser {
6805
+ avatarRef?: string;
6806
+ customerMemberships?: {
6807
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
6829
6808
  };
6830
- }
6831
- interface ActivitylogLogEntry {
6832
- action: 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.ActivitylogDnsMxRecordSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseCreated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseDescriptionSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseVersionSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlNameSet | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserCreated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserUpdated | MittwaldAPIV2.Components.Schemas.ActivitylogDatabaseMysqlUserDeleted | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationCopyRequested | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationAppVersionSet | MittwaldAPIV2.Components.Schemas.ActivitylogAppInstallationDesiredSystemSoftwareSet | MittwaldAPIV2.Components.Schemas.ActivitylogGenericAction;
6833
- aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6834
- dateTime: string;
6809
+ email?: string;
6835
6810
  /**
6836
- * Null or empty object. If set, the action was executed by an mittwald employee.
6811
+ * Additional information about mittwald employees.
6837
6812
  */
6838
- impersonator?: {};
6839
- user?: {
6840
- id: string;
6841
- type: "user" | "extension";
6813
+ employeeInformation?: {
6814
+ department: string;
6842
6815
  };
6843
- }
6844
- interface ActivitylogAppInstallationDesiredSystemSoftwareSet {
6845
- changes: {
6846
- after?: {
6847
- software: string;
6848
- softwareVersion: string;
6849
- updatePolicy: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
6850
- };
6851
- before?: {
6852
- software?: string;
6853
- softwareVersion?: string;
6854
- updatePolicy?: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
6855
- };
6816
+ /**
6817
+ * Truth value, whether the user is a mittwald employee
6818
+ */
6819
+ isEmployee?: boolean;
6820
+ mfa?: {
6821
+ active: boolean;
6822
+ setup: boolean;
6856
6823
  };
6857
- name: "app.systemsoftware-set" | "app.systemsoftware-deleted";
6858
- parameters?: {
6859
- software: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6860
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6824
+ passwordUpdatedAt?: string;
6825
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6826
+ phoneNumber?: string;
6827
+ projectMemberships?: {
6828
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
6861
6829
  };
6830
+ registeredAt?: string;
6831
+ userId: string;
6862
6832
  }
6863
- interface ProjectProjectListItem {
6864
- backupStorageUsageInBytes: number;
6865
- backupStorageUsageInBytesSetAt: string;
6833
+ interface SignupSshKey {
6834
+ algorithm: string;
6835
+ comment: string;
6866
6836
  createdAt: string;
6867
- customerId: string;
6868
- customerMeta: {
6869
- id: string;
6870
- };
6871
- description: string;
6872
- disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
6873
- disabledAt?: string;
6874
- enabled: boolean;
6875
- /**
6876
- * @deprecated
6877
- * Deprecated by 'supportedFeatures'.
6878
- */
6879
- features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6880
- id: string;
6881
- imageRefId?: string;
6837
+ expiresAt?: string;
6838
+ fingerprint: string;
6839
+ key: string;
6840
+ sshKeyId: string;
6841
+ }
6842
+ interface PollUserPollSettings {
6843
+ completedAt?: string;
6844
+ dontShowUntil?: string;
6845
+ ignoredAt?: string;
6846
+ shouldShow: boolean;
6847
+ status: "completed" | "muted" | "ignored" | "new";
6848
+ userId: string;
6849
+ }
6850
+ interface SignupUserSession {
6851
+ created: string;
6852
+ device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
6853
+ lastAccess?: string;
6854
+ location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
6855
+ tokenId: string;
6856
+ }
6857
+ interface VarnishConfigRevision {
6858
+ expire?: number;
6859
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6860
+ note?: string;
6861
+ revision: number;
6862
+ updated: string;
6863
+ }
6864
+ interface VarnishConfigTemplate {
6882
6865
  /**
6883
- * @deprecated
6884
- * deprecated
6866
+ * A set of config file references.
6885
6867
  */
6886
- isReady: boolean;
6887
- projectHostingId?: string;
6888
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
6889
- serverGroupId: string;
6890
- serverId?: string;
6891
- shortId: string;
6892
- status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
6893
- statusSetAt: string;
6894
- supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6895
- webStorageUsageInBytes: number;
6896
- webStorageUsageInBytesSetAt: string;
6868
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6869
+ isGlobal?: boolean;
6870
+ note?: string;
6871
+ projectId?: string;
6872
+ softwareConfigTemplateId: string;
6873
+ softwareTemplateId: string;
6874
+ updatedAt?: string;
6875
+ }
6876
+ interface VarnishConfigFile {
6877
+ content: string;
6878
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6879
+ }
6880
+ interface VarnishConfigFileMetadata {
6881
+ name: string;
6882
+ path?: string;
6883
+ }
6884
+ interface VarnishConfigFileRef {
6885
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6886
+ refId: string;
6887
+ }
6888
+ interface VarnishGlobalConfigTemplate {
6889
+ data: string;
6890
+ name: string;
6891
+ updatedAt: string;
6892
+ }
6893
+ interface VarnishSoftware {
6894
+ config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
6895
+ projectId: string;
6896
+ settings?: {
6897
+ [k: string]: string;
6898
+ };
6899
+ softwareId: string;
6900
+ softwareTemplateId: string;
6901
+ softwareVersion: string;
6902
+ updatedAt: string;
6903
+ }
6904
+ interface VarnishSoftwareConfig {
6905
+ configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
6906
+ latestConfigRevision?: number;
6907
+ revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
6908
+ }
6909
+ interface VarnishConfigExpiration {
6910
+ maxVersions?: number;
6911
+ retentionTime?: number;
6912
+ }
6913
+ interface VarnishSoftwareConfigFileAccessToken {
6914
+ accessToken: string;
6915
+ expiresAt: string;
6916
+ }
6917
+ interface VarnishSoftwareSetting {
6918
+ name: string;
6919
+ value: string;
6920
+ }
6921
+ interface VerificationEmailDetectPhishingMailResponse {
6922
+ result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
6897
6923
  }
6924
+ type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
6925
+ type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
6926
+ type MarketplaceExtensionInstanceWebhookExecutionState = "running" | "queued" | "halted" | "failed" | "successful";
6898
6927
  interface CommonsAddress {
6899
6928
  street: string;
6900
6929
  houseNumber: string;
@@ -10496,6 +10525,7 @@ export declare namespace MittwaldAPIV2 {
10496
10525
  stackId: string;
10497
10526
  };
10498
10527
  interface RequestBody {
10528
+ description?: string;
10499
10529
  /**
10500
10530
  * A set of containers that should be started in this stack. The key is relevant for
10501
10531
  * network connectivity between containers, because you can use it as DNS name to
@@ -10881,6 +10911,78 @@ export declare namespace MittwaldAPIV2 {
10881
10911
  }
10882
10912
  }
10883
10913
  }
10914
+ namespace V2ContainerImageConfig {
10915
+ namespace Get {
10916
+ namespace Parameters {
10917
+ type Path = {};
10918
+ type Header = {
10919
+ "Accept-Language"?: "de" | "en";
10920
+ } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10921
+ type Query = {
10922
+ imageReference: string;
10923
+ useCredentialsForProjectId?: string;
10924
+ useCredentialsForRegistryId?: string;
10925
+ generateAiData?: boolean;
10926
+ };
10927
+ }
10928
+ namespace Responses {
10929
+ namespace $200 {
10930
+ namespace Content {
10931
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfig;
10932
+ }
10933
+ }
10934
+ namespace $400 {
10935
+ namespace Content {
10936
+ interface ApplicationJson {
10937
+ [k: string]: unknown;
10938
+ }
10939
+ }
10940
+ }
10941
+ namespace $403 {
10942
+ namespace Content {
10943
+ interface ApplicationJson {
10944
+ [k: string]: unknown;
10945
+ }
10946
+ }
10947
+ }
10948
+ namespace $404 {
10949
+ namespace Content {
10950
+ interface ApplicationJson {
10951
+ [k: string]: unknown;
10952
+ }
10953
+ }
10954
+ }
10955
+ namespace $412 {
10956
+ namespace Content {
10957
+ interface ApplicationJson {
10958
+ [k: string]: unknown;
10959
+ }
10960
+ }
10961
+ }
10962
+ namespace $429 {
10963
+ namespace Content {
10964
+ interface ApplicationJson {
10965
+ [k: string]: unknown;
10966
+ }
10967
+ }
10968
+ }
10969
+ namespace $500 {
10970
+ namespace Content {
10971
+ interface ApplicationJson {
10972
+ [k: string]: unknown;
10973
+ }
10974
+ }
10975
+ }
10976
+ namespace Default {
10977
+ namespace Content {
10978
+ interface ApplicationJson {
10979
+ [k: string]: unknown;
10980
+ }
10981
+ }
10982
+ }
10983
+ }
10984
+ }
10985
+ }
10884
10986
  namespace V2StacksStackIdServicesServiceIdLogs {
10885
10987
  namespace Get {
10886
10988
  namespace Parameters {
@@ -11633,76 +11735,6 @@ export declare namespace MittwaldAPIV2 {
11633
11735
  }
11634
11736
  }
11635
11737
  }
11636
- namespace V2StacksStackIdDescription {
11637
- namespace Put {
11638
- namespace Parameters {
11639
- type Path = {
11640
- stackId: string;
11641
- };
11642
- interface RequestBody {
11643
- description: string;
11644
- }
11645
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11646
- type Query = {};
11647
- }
11648
- namespace Responses {
11649
- namespace $204 {
11650
- namespace Content {
11651
- type Empty = unknown;
11652
- }
11653
- }
11654
- namespace $400 {
11655
- namespace Content {
11656
- interface ApplicationJson {
11657
- [k: string]: unknown;
11658
- }
11659
- }
11660
- }
11661
- namespace $403 {
11662
- namespace Content {
11663
- interface ApplicationJson {
11664
- [k: string]: unknown;
11665
- }
11666
- }
11667
- }
11668
- namespace $404 {
11669
- namespace Content {
11670
- interface ApplicationJson {
11671
- [k: string]: unknown;
11672
- }
11673
- }
11674
- }
11675
- namespace $412 {
11676
- namespace Content {
11677
- interface ApplicationJson {
11678
- [k: string]: unknown;
11679
- }
11680
- }
11681
- }
11682
- namespace $429 {
11683
- namespace Content {
11684
- interface ApplicationJson {
11685
- [k: string]: unknown;
11686
- }
11687
- }
11688
- }
11689
- namespace $500 {
11690
- namespace Content {
11691
- interface ApplicationJson {
11692
- [k: string]: unknown;
11693
- }
11694
- }
11695
- }
11696
- namespace Default {
11697
- namespace Content {
11698
- interface ApplicationJson {
11699
- [k: string]: unknown;
11700
- }
11701
- }
11702
- }
11703
- }
11704
- }
11705
- }
11706
11738
  namespace V2StacksStackIdUpdateSchedule {
11707
11739
  namespace Put {
11708
11740
  namespace Parameters {
@@ -19102,7 +19134,7 @@ export declare namespace MittwaldAPIV2 {
19102
19134
  };
19103
19135
  type: string;
19104
19136
  /**
19105
- * One entry per problem. Each entry is a oneOf, mutually exclusive on type: a DomainNotMigratableValidationError (type DOMAIN_NOT_MIGRATABLE, path = the affected domain, context.reason = the typed reason code), or a generic service-base validation error (type = the JSON-schema keyword such as required/pattern/format, path = the request field).
19137
+ * One entry per problem. Each entry is a oneOf, mutually exclusive on type: a DomainNotMigratableValidationError (type domainNotMigratable, path = the affected domain, context.reason = the typed reason code), or a generic service-base validation error (type = the JSON-schema keyword such as required/pattern/format, path = the request field).
19106
19138
  */
19107
19139
  validationErrors: (MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableValidationError | {
19108
19140
  context?: {
@@ -21020,6 +21052,7 @@ export declare namespace MittwaldAPIV2 {
21020
21052
  type Query = {
21021
21053
  extensionId?: string;
21022
21054
  extensionInstanceId?: string;
21055
+ state?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceWebhookExecutionState[];
21023
21056
  limit?: number;
21024
21057
  skip?: number;
21025
21058
  page?: number;
@@ -24989,6 +25022,76 @@ export declare namespace MittwaldAPIV2 {
24989
25022
  }
24990
25023
  }
24991
25024
  }
25025
+ namespace V2MailAddressesMailAddressIdRequestRateLimitChange {
25026
+ namespace Post {
25027
+ namespace Parameters {
25028
+ type Path = {
25029
+ mailAddressId: string;
25030
+ };
25031
+ interface RequestBody {
25032
+ rateLimitId: string;
25033
+ }
25034
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25035
+ type Query = {};
25036
+ }
25037
+ namespace Responses {
25038
+ namespace $204 {
25039
+ namespace Content {
25040
+ type Empty = unknown;
25041
+ }
25042
+ }
25043
+ namespace $400 {
25044
+ namespace Content {
25045
+ interface ApplicationJson {
25046
+ [k: string]: unknown;
25047
+ }
25048
+ }
25049
+ }
25050
+ namespace $403 {
25051
+ namespace Content {
25052
+ interface ApplicationJson {
25053
+ [k: string]: unknown;
25054
+ }
25055
+ }
25056
+ }
25057
+ namespace $404 {
25058
+ namespace Content {
25059
+ interface ApplicationJson {
25060
+ [k: string]: unknown;
25061
+ }
25062
+ }
25063
+ }
25064
+ namespace $429 {
25065
+ namespace Content {
25066
+ interface ApplicationJson {
25067
+ [k: string]: unknown;
25068
+ }
25069
+ }
25070
+ }
25071
+ namespace $500 {
25072
+ namespace Content {
25073
+ interface ApplicationJson {
25074
+ [k: string]: unknown;
25075
+ }
25076
+ }
25077
+ }
25078
+ namespace $503 {
25079
+ namespace Content {
25080
+ interface ApplicationJson {
25081
+ [k: string]: unknown;
25082
+ }
25083
+ }
25084
+ }
25085
+ namespace Default {
25086
+ namespace Content {
25087
+ interface ApplicationJson {
25088
+ [k: string]: unknown;
25089
+ }
25090
+ }
25091
+ }
25092
+ }
25093
+ }
25094
+ }
24992
25095
  namespace V2DeliveryBoxesDeliveryBoxIdDescription {
24993
25096
  namespace Patch {
24994
25097
  namespace Parameters {
@@ -27391,6 +27494,59 @@ export declare namespace MittwaldAPIV2 {
27391
27494
  }
27392
27495
  }
27393
27496
  }
27497
+ namespace V2CustomersCustomerIdProjects {
27498
+ namespace Get {
27499
+ namespace Parameters {
27500
+ type Path = {
27501
+ customerId: string;
27502
+ };
27503
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27504
+ type Query = {
27505
+ searchTerm?: string;
27506
+ limit?: number;
27507
+ skip?: number;
27508
+ page?: number;
27509
+ sort?: "createdAt" | "description";
27510
+ order?: "asc" | "desc";
27511
+ };
27512
+ }
27513
+ namespace Responses {
27514
+ namespace $200 {
27515
+ namespace Content {
27516
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[];
27517
+ }
27518
+ }
27519
+ namespace $400 {
27520
+ namespace Content {
27521
+ interface ApplicationJson {
27522
+ [k: string]: unknown;
27523
+ }
27524
+ }
27525
+ }
27526
+ namespace $403 {
27527
+ namespace Content {
27528
+ interface ApplicationJson {
27529
+ [k: string]: unknown;
27530
+ }
27531
+ }
27532
+ }
27533
+ namespace $429 {
27534
+ namespace Content {
27535
+ interface ApplicationJson {
27536
+ [k: string]: unknown;
27537
+ }
27538
+ }
27539
+ }
27540
+ namespace Default {
27541
+ namespace Content {
27542
+ interface ApplicationJson {
27543
+ [k: string]: unknown;
27544
+ }
27545
+ }
27546
+ }
27547
+ }
27548
+ }
27549
+ }
27394
27550
  namespace V2ProjectsProjectIdMemberships {
27395
27551
  namespace Get {
27396
27552
  namespace Parameters {
@@ -27438,6 +27594,71 @@ export declare namespace MittwaldAPIV2 {
27438
27594
  }
27439
27595
  }
27440
27596
  }
27597
+ namespace V2ProjectsProjectIdActivities {
27598
+ namespace Get {
27599
+ namespace Parameters {
27600
+ type Path = {
27601
+ projectId: string;
27602
+ };
27603
+ type Header = {};
27604
+ type Query = {
27605
+ aggregateName?: string;
27606
+ aggregateDomain?: string;
27607
+ aggregateId?: string;
27608
+ startTime?: string;
27609
+ endTime?: string;
27610
+ fulltextSearch?: string;
27611
+ limit?: number;
27612
+ skip?: number;
27613
+ page?: number;
27614
+ sort?: "dateTime";
27615
+ order?: "asc" | "desc";
27616
+ };
27617
+ }
27618
+ namespace Responses {
27619
+ namespace $200 {
27620
+ namespace Content {
27621
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[];
27622
+ }
27623
+ }
27624
+ namespace $400 {
27625
+ namespace Content {
27626
+ interface ApplicationJson {
27627
+ [k: string]: unknown;
27628
+ }
27629
+ }
27630
+ }
27631
+ namespace $403 {
27632
+ namespace Content {
27633
+ interface ApplicationJson {
27634
+ [k: string]: unknown;
27635
+ }
27636
+ }
27637
+ }
27638
+ namespace $404 {
27639
+ namespace Content {
27640
+ interface ApplicationJson {
27641
+ [k: string]: unknown;
27642
+ }
27643
+ }
27644
+ }
27645
+ namespace $429 {
27646
+ namespace Content {
27647
+ interface ApplicationJson {
27648
+ [k: string]: unknown;
27649
+ }
27650
+ }
27651
+ }
27652
+ namespace Default {
27653
+ namespace Content {
27654
+ interface ApplicationJson {
27655
+ [k: string]: unknown;
27656
+ }
27657
+ }
27658
+ }
27659
+ }
27660
+ }
27661
+ }
27441
27662
  namespace V2ProjectInvites {
27442
27663
  namespace Get {
27443
27664
  namespace Parameters {
@@ -30067,271 +30288,22 @@ export declare namespace MittwaldAPIV2 {
30067
30288
  }
30068
30289
  namespace Delete {
30069
30290
  namespace Parameters {
30070
- type Path = {
30071
- apiTokenId: string;
30072
- };
30073
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30074
- type Query = {};
30075
- }
30076
- namespace Responses {
30077
- namespace $204 {
30078
- namespace Content {
30079
- type Empty = unknown;
30080
- }
30081
- }
30082
- namespace $400 {
30083
- namespace Content {
30084
- interface ApplicationJson {
30085
- [k: string]: unknown;
30086
- }
30087
- }
30088
- }
30089
- namespace $429 {
30090
- namespace Content {
30091
- interface ApplicationJson {
30092
- [k: string]: unknown;
30093
- }
30094
- }
30095
- }
30096
- namespace Default {
30097
- namespace Content {
30098
- interface ApplicationJson {
30099
- [k: string]: unknown;
30100
- }
30101
- }
30102
- }
30103
- }
30104
- }
30105
- }
30106
- namespace V2UsersSelfSshKeysSshKeyId {
30107
- namespace Get {
30108
- namespace Parameters {
30109
- type Path = {
30110
- sshKeyId: string;
30111
- };
30112
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30113
- type Query = {};
30114
- }
30115
- namespace Responses {
30116
- namespace $200 {
30117
- namespace Content {
30118
- interface ApplicationJson {
30119
- sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
30120
- }
30121
- }
30122
- }
30123
- namespace $404 {
30124
- namespace Content {
30125
- interface ApplicationJson {
30126
- [k: string]: unknown;
30127
- }
30128
- }
30129
- }
30130
- namespace $429 {
30131
- namespace Content {
30132
- interface ApplicationJson {
30133
- [k: string]: unknown;
30134
- }
30135
- }
30136
- }
30137
- namespace Default {
30138
- namespace Content {
30139
- interface ApplicationJson {
30140
- [k: string]: unknown;
30141
- }
30142
- }
30143
- }
30144
- }
30145
- }
30146
- namespace Put {
30147
- namespace Parameters {
30148
- type Path = {
30149
- sshKeyId: string;
30150
- };
30151
- interface RequestBody {
30152
- comment: string;
30153
- expiresAt?: string;
30154
- }
30155
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30156
- type Query = {};
30157
- }
30158
- namespace Responses {
30159
- namespace $204 {
30160
- namespace Content {
30161
- type Empty = unknown;
30162
- }
30163
- }
30164
- namespace $400 {
30165
- namespace Content {
30166
- interface ApplicationJson {
30167
- [k: string]: unknown;
30168
- }
30169
- }
30170
- }
30171
- namespace $429 {
30172
- namespace Content {
30173
- interface ApplicationJson {
30174
- [k: string]: unknown;
30175
- }
30176
- }
30177
- }
30178
- namespace Default {
30179
- namespace Content {
30180
- interface ApplicationJson {
30181
- [k: string]: unknown;
30182
- }
30183
- }
30184
- }
30185
- }
30186
- }
30187
- namespace Delete {
30188
- namespace Parameters {
30189
- type Path = {
30190
- sshKeyId: string;
30191
- };
30192
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30193
- type Query = {};
30194
- }
30195
- namespace Responses {
30196
- namespace $204 {
30197
- namespace Content {
30198
- type Empty = unknown;
30199
- }
30200
- }
30201
- namespace $429 {
30202
- namespace Content {
30203
- interface ApplicationJson {
30204
- [k: string]: unknown;
30205
- }
30206
- }
30207
- }
30208
- namespace Default {
30209
- namespace Content {
30210
- interface ApplicationJson {
30211
- [k: string]: unknown;
30212
- }
30213
- }
30214
- }
30215
- }
30216
- }
30217
- }
30218
- namespace V2UsersSelf {
30219
- namespace Delete {
30220
- namespace Parameters {
30221
- type Path = {};
30222
- interface RequestBody {
30223
- /**
30224
- * Multi Factor Code to authorize your request.
30225
- */
30226
- multiFactorCode?: string;
30227
- password: string;
30228
- }
30229
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30230
- type Query = {};
30231
- }
30232
- namespace Responses {
30233
- namespace $200 {
30234
- namespace Content {
30235
- type Empty = unknown;
30236
- }
30237
- }
30238
- namespace $202 {
30239
- namespace Content {
30240
- interface ApplicationJson {
30241
- [k: string]: unknown;
30242
- }
30243
- }
30244
- }
30245
- namespace $400 {
30246
- namespace Content {
30247
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
30248
- }
30249
- }
30250
- namespace $412 {
30251
- namespace Content {
30252
- interface ApplicationJson {
30253
- [k: string]: unknown;
30254
- }
30255
- }
30256
- }
30257
- namespace $429 {
30258
- namespace Content {
30259
- interface ApplicationJson {
30260
- [k: string]: unknown;
30261
- }
30262
- }
30263
- }
30264
- namespace Default {
30265
- namespace Content {
30266
- interface ApplicationJson {
30267
- [k: string]: unknown;
30268
- }
30269
- }
30270
- }
30271
- }
30272
- }
30273
- }
30274
- namespace V2UsersSelfSessionsCurrentStatus {
30275
- namespace Get {
30276
- namespace Parameters {
30277
- type Path = {};
30278
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30279
- type Query = {};
30280
- }
30281
- namespace Responses {
30282
- namespace $200 {
30283
- namespace Content {
30284
- interface ApplicationJson {
30285
- /**
30286
- * Whether the executing user is an employee.
30287
- */
30288
- isEmployee: boolean;
30289
- /**
30290
- * Whether the current session is an impersonation.
30291
- */
30292
- isImpersonated: boolean;
30293
- /**
30294
- * The ID of the token currently in use.
30295
- */
30296
- tokenId: string;
30297
- /**
30298
- * ID of the executing user.
30299
- */
30300
- userId: string;
30301
- }
30302
- }
30303
- }
30304
- namespace $429 {
30305
- namespace Content {
30306
- interface ApplicationJson {
30307
- [k: string]: unknown;
30308
- }
30309
- }
30310
- }
30311
- namespace Default {
30312
- namespace Content {
30313
- interface ApplicationJson {
30314
- [k: string]: unknown;
30315
- }
30316
- }
30317
- }
30318
- }
30319
- }
30320
- }
30321
- namespace V2UsersSelfCredentialsPasswordUpdatedAt {
30322
- namespace Get {
30323
- namespace Parameters {
30324
- type Path = {};
30325
- interface RequestBody {
30326
- }
30291
+ type Path = {
30292
+ apiTokenId: string;
30293
+ };
30327
30294
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30328
30295
  type Query = {};
30329
30296
  }
30330
30297
  namespace Responses {
30331
- namespace $200 {
30298
+ namespace $204 {
30299
+ namespace Content {
30300
+ type Empty = unknown;
30301
+ }
30302
+ }
30303
+ namespace $400 {
30332
30304
  namespace Content {
30333
30305
  interface ApplicationJson {
30334
- passwordUpdatedAt: string;
30306
+ [k: string]: unknown;
30335
30307
  }
30336
30308
  }
30337
30309
  }
@@ -30352,11 +30324,11 @@ export declare namespace MittwaldAPIV2 {
30352
30324
  }
30353
30325
  }
30354
30326
  }
30355
- namespace V2UsersUserIdSettings {
30327
+ namespace V2UsersSelfSshKeysSshKeyId {
30356
30328
  namespace Get {
30357
30329
  namespace Parameters {
30358
30330
  type Path = {
30359
- userId: string;
30331
+ sshKeyId: string;
30360
30332
  };
30361
30333
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30362
30334
  type Query = {};
@@ -30365,7 +30337,14 @@ export declare namespace MittwaldAPIV2 {
30365
30337
  namespace $200 {
30366
30338
  namespace Content {
30367
30339
  interface ApplicationJson {
30368
- settingsString?: string;
30340
+ sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
30341
+ }
30342
+ }
30343
+ }
30344
+ namespace $404 {
30345
+ namespace Content {
30346
+ interface ApplicationJson {
30347
+ [k: string]: unknown;
30369
30348
  }
30370
30349
  }
30371
30350
  }
@@ -30388,10 +30367,11 @@ export declare namespace MittwaldAPIV2 {
30388
30367
  namespace Put {
30389
30368
  namespace Parameters {
30390
30369
  type Path = {
30391
- userId: string;
30370
+ sshKeyId: string;
30392
30371
  };
30393
30372
  interface RequestBody {
30394
- settingsString: string;
30373
+ comment: string;
30374
+ expiresAt?: string;
30395
30375
  }
30396
30376
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30397
30377
  type Query = {};
@@ -30425,34 +30405,18 @@ export declare namespace MittwaldAPIV2 {
30425
30405
  }
30426
30406
  }
30427
30407
  }
30428
- }
30429
- namespace V2PollSettingsUserId {
30430
- namespace Get {
30408
+ namespace Delete {
30431
30409
  namespace Parameters {
30432
30410
  type Path = {
30433
- userId: string;
30411
+ sshKeyId: string;
30434
30412
  };
30435
- type Header = {};
30413
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30436
30414
  type Query = {};
30437
30415
  }
30438
30416
  namespace Responses {
30439
- namespace $200 {
30440
- namespace Content {
30441
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
30442
- }
30443
- }
30444
- namespace $400 {
30445
- namespace Content {
30446
- interface ApplicationJson {
30447
- [k: string]: unknown;
30448
- }
30449
- }
30450
- }
30451
- namespace $404 {
30417
+ namespace $204 {
30452
30418
  namespace Content {
30453
- interface ApplicationJson {
30454
- [k: string]: unknown;
30455
- }
30419
+ type Empty = unknown;
30456
30420
  }
30457
30421
  }
30458
30422
  namespace $429 {
@@ -30471,32 +30435,40 @@ export declare namespace MittwaldAPIV2 {
30471
30435
  }
30472
30436
  }
30473
30437
  }
30474
- namespace Post {
30438
+ }
30439
+ namespace V2UsersSelf {
30440
+ namespace Delete {
30475
30441
  namespace Parameters {
30476
- type Path = {
30477
- userId: string;
30478
- };
30442
+ type Path = {};
30479
30443
  interface RequestBody {
30480
- status: "completed" | "muted" | "ignored";
30481
- userId: string;
30444
+ /**
30445
+ * Multi Factor Code to authorize your request.
30446
+ */
30447
+ multiFactorCode?: string;
30448
+ password: string;
30482
30449
  }
30483
- type Header = {};
30450
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30484
30451
  type Query = {};
30485
30452
  }
30486
30453
  namespace Responses {
30487
30454
  namespace $200 {
30488
30455
  namespace Content {
30489
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
30456
+ type Empty = unknown;
30490
30457
  }
30491
30458
  }
30492
- namespace $400 {
30459
+ namespace $202 {
30493
30460
  namespace Content {
30494
30461
  interface ApplicationJson {
30495
30462
  [k: string]: unknown;
30496
30463
  }
30497
30464
  }
30498
30465
  }
30499
- namespace $403 {
30466
+ namespace $400 {
30467
+ namespace Content {
30468
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
30469
+ }
30470
+ }
30471
+ namespace $412 {
30500
30472
  namespace Content {
30501
30473
  interface ApplicationJson {
30502
30474
  [k: string]: unknown;
@@ -30520,25 +30492,33 @@ export declare namespace MittwaldAPIV2 {
30520
30492
  }
30521
30493
  }
30522
30494
  }
30523
- namespace V2UsersSelfSessionsTokenId {
30495
+ namespace V2UsersSelfSessionsCurrentStatus {
30524
30496
  namespace Get {
30525
30497
  namespace Parameters {
30526
- type Path = {
30527
- tokenId: string;
30528
- };
30498
+ type Path = {};
30529
30499
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30530
30500
  type Query = {};
30531
30501
  }
30532
30502
  namespace Responses {
30533
30503
  namespace $200 {
30534
- namespace Content {
30535
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
30536
- }
30537
- }
30538
- namespace $404 {
30539
30504
  namespace Content {
30540
30505
  interface ApplicationJson {
30541
- [k: string]: unknown;
30506
+ /**
30507
+ * Whether the executing user is an employee.
30508
+ */
30509
+ isEmployee: boolean;
30510
+ /**
30511
+ * Whether the current session is an impersonation.
30512
+ */
30513
+ isImpersonated: boolean;
30514
+ /**
30515
+ * The ID of the token currently in use.
30516
+ */
30517
+ tokenId: string;
30518
+ /**
30519
+ * ID of the executing user.
30520
+ */
30521
+ userId: string;
30542
30522
  }
30543
30523
  }
30544
30524
  }
@@ -30558,24 +30538,21 @@ export declare namespace MittwaldAPIV2 {
30558
30538
  }
30559
30539
  }
30560
30540
  }
30561
- namespace Delete {
30541
+ }
30542
+ namespace V2UsersSelfCredentialsPasswordUpdatedAt {
30543
+ namespace Get {
30562
30544
  namespace Parameters {
30563
- type Path = {
30564
- tokenId: string;
30565
- };
30545
+ type Path = {};
30546
+ interface RequestBody {
30547
+ }
30566
30548
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30567
30549
  type Query = {};
30568
30550
  }
30569
30551
  namespace Responses {
30570
- namespace $204 {
30571
- namespace Content {
30572
- type Empty = unknown;
30573
- }
30574
- }
30575
- namespace $404 {
30552
+ namespace $200 {
30576
30553
  namespace Content {
30577
30554
  interface ApplicationJson {
30578
- [k: string]: unknown;
30555
+ passwordUpdatedAt: string;
30579
30556
  }
30580
30557
  }
30581
30558
  }
@@ -30596,7 +30573,7 @@ export declare namespace MittwaldAPIV2 {
30596
30573
  }
30597
30574
  }
30598
30575
  }
30599
- namespace V2UsersUserId {
30576
+ namespace V2UsersUserIdSettings {
30600
30577
  namespace Get {
30601
30578
  namespace Parameters {
30602
30579
  type Path = {
@@ -30607,25 +30584,13 @@ export declare namespace MittwaldAPIV2 {
30607
30584
  }
30608
30585
  namespace Responses {
30609
30586
  namespace $200 {
30610
- namespace Content {
30611
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
30612
- }
30613
- }
30614
- namespace $403 {
30615
- namespace Content {
30616
- interface ApplicationJson {
30617
- [k: string]: unknown;
30618
- }
30619
- }
30620
- }
30621
- namespace $404 {
30622
30587
  namespace Content {
30623
30588
  interface ApplicationJson {
30624
- [k: string]: unknown;
30589
+ settingsString?: string;
30625
30590
  }
30626
30591
  }
30627
30592
  }
30628
- namespace $412 {
30593
+ namespace $429 {
30629
30594
  namespace Content {
30630
30595
  interface ApplicationJson {
30631
30596
  [k: string]: unknown;
@@ -30647,7 +30612,7 @@ export declare namespace MittwaldAPIV2 {
30647
30612
  userId: string;
30648
30613
  };
30649
30614
  interface RequestBody {
30650
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
30615
+ settingsString: string;
30651
30616
  }
30652
30617
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30653
30618
  type Query = {};
@@ -30682,80 +30647,35 @@ export declare namespace MittwaldAPIV2 {
30682
30647
  }
30683
30648
  }
30684
30649
  }
30685
- namespace V2UsersSelfCredentialsInitMfa {
30686
- namespace Post {
30650
+ namespace V2PollSettingsUserId {
30651
+ namespace Get {
30687
30652
  namespace Parameters {
30688
- type Path = {};
30689
- interface RequestBody {
30690
- }
30691
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30653
+ type Path = {
30654
+ userId: string;
30655
+ };
30656
+ type Header = {};
30692
30657
  type Query = {};
30693
30658
  }
30694
30659
  namespace Responses {
30695
30660
  namespace $200 {
30696
30661
  namespace Content {
30697
- interface ApplicationJson {
30698
- /**
30699
- * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
30700
- * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
30701
- *
30702
- */
30703
- barcode: string;
30704
- /**
30705
- * Same as barcode, but in URL form.
30706
- *
30707
- */
30708
- url: string;
30709
- }
30662
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
30710
30663
  }
30711
30664
  }
30712
30665
  namespace $400 {
30713
- namespace Content {
30714
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
30715
- }
30716
- }
30717
- namespace $429 {
30718
30666
  namespace Content {
30719
30667
  interface ApplicationJson {
30720
30668
  [k: string]: unknown;
30721
30669
  }
30722
30670
  }
30723
30671
  }
30724
- namespace Default {
30672
+ namespace $404 {
30725
30673
  namespace Content {
30726
30674
  interface ApplicationJson {
30727
30675
  [k: string]: unknown;
30728
30676
  }
30729
30677
  }
30730
30678
  }
30731
- }
30732
- }
30733
- }
30734
- namespace V2UsersSelfCredentialsActionsInitPasswordReset {
30735
- namespace Post {
30736
- namespace Parameters {
30737
- type Path = {};
30738
- interface RequestBody {
30739
- /**
30740
- * Email address to reset the password for.
30741
- */
30742
- email: string;
30743
- }
30744
- type Header = {};
30745
- type Query = {};
30746
- }
30747
- namespace Responses {
30748
- namespace $201 {
30749
- namespace Content {
30750
- interface ApplicationJson {
30751
- }
30752
- }
30753
- }
30754
- namespace $400 {
30755
- namespace Content {
30756
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
30757
- }
30758
- }
30759
30679
  namespace $429 {
30760
30680
  namespace Content {
30761
30681
  interface ApplicationJson {
@@ -30772,56 +30692,36 @@ export declare namespace MittwaldAPIV2 {
30772
30692
  }
30773
30693
  }
30774
30694
  }
30775
- }
30776
- namespace V2UsersUserIdFeedback {
30777
- namespace Get {
30695
+ namespace Post {
30778
30696
  namespace Parameters {
30779
30697
  type Path = {
30780
30698
  userId: string;
30781
30699
  };
30782
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30783
- type Query = {
30784
- subject?: string;
30785
- };
30700
+ interface RequestBody {
30701
+ status: "completed" | "muted" | "ignored";
30702
+ userId: string;
30703
+ }
30704
+ type Header = {};
30705
+ type Query = {};
30786
30706
  }
30787
30707
  namespace Responses {
30788
30708
  namespace $200 {
30789
30709
  namespace Content {
30790
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
30710
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
30791
30711
  }
30792
30712
  }
30793
- namespace $429 {
30713
+ namespace $400 {
30794
30714
  namespace Content {
30795
30715
  interface ApplicationJson {
30796
30716
  [k: string]: unknown;
30797
30717
  }
30798
30718
  }
30799
30719
  }
30800
- namespace Default {
30720
+ namespace $403 {
30801
30721
  namespace Content {
30802
30722
  interface ApplicationJson {
30803
30723
  [k: string]: unknown;
30804
- }
30805
- }
30806
- }
30807
- }
30808
- }
30809
- }
30810
- namespace V2UsersSelfSessions {
30811
- namespace Get {
30812
- namespace Parameters {
30813
- type Path = {};
30814
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30815
- type Query = {
30816
- limit?: number;
30817
- skip?: number;
30818
- page?: number;
30819
- };
30820
- }
30821
- namespace Responses {
30822
- namespace $200 {
30823
- namespace Content {
30824
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
30724
+ }
30825
30725
  }
30826
30726
  }
30827
30727
  namespace $429 {
@@ -30840,35 +30740,23 @@ export declare namespace MittwaldAPIV2 {
30840
30740
  }
30841
30741
  }
30842
30742
  }
30843
- namespace Put {
30743
+ }
30744
+ namespace V2UsersSelfSessionsTokenId {
30745
+ namespace Get {
30844
30746
  namespace Parameters {
30845
- type Path = {};
30846
- interface RequestBody {
30847
- refreshToken: string;
30848
- }
30747
+ type Path = {
30748
+ tokenId: string;
30749
+ };
30849
30750
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30850
30751
  type Query = {};
30851
30752
  }
30852
30753
  namespace Responses {
30853
30754
  namespace $200 {
30854
30755
  namespace Content {
30855
- interface ApplicationJson {
30856
- /**
30857
- * The expiration date of the token.
30858
- */
30859
- expiresAt: string;
30860
- /**
30861
- * Refresh token to refresh your access token even after it has expired.
30862
- */
30863
- refreshToken: string;
30864
- /**
30865
- * Public token to identify yourself against the public api.
30866
- */
30867
- token: string;
30868
- }
30756
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
30869
30757
  }
30870
30758
  }
30871
- namespace $400 {
30759
+ namespace $404 {
30872
30760
  namespace Content {
30873
30761
  interface ApplicationJson {
30874
30762
  [k: string]: unknown;
@@ -30893,7 +30781,9 @@ export declare namespace MittwaldAPIV2 {
30893
30781
  }
30894
30782
  namespace Delete {
30895
30783
  namespace Parameters {
30896
- type Path = {};
30784
+ type Path = {
30785
+ tokenId: string;
30786
+ };
30897
30787
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30898
30788
  type Query = {};
30899
30789
  }
@@ -30903,6 +30793,13 @@ export declare namespace MittwaldAPIV2 {
30903
30793
  type Empty = unknown;
30904
30794
  }
30905
30795
  }
30796
+ namespace $404 {
30797
+ namespace Content {
30798
+ interface ApplicationJson {
30799
+ [k: string]: unknown;
30800
+ }
30801
+ }
30802
+ }
30906
30803
  namespace $429 {
30907
30804
  namespace Content {
30908
30805
  interface ApplicationJson {
@@ -30920,27 +30817,36 @@ export declare namespace MittwaldAPIV2 {
30920
30817
  }
30921
30818
  }
30922
30819
  }
30923
- namespace V2Logout {
30924
- namespace Put {
30820
+ namespace V2UsersUserId {
30821
+ namespace Get {
30925
30822
  namespace Parameters {
30926
- type Path = {};
30927
- interface RequestBody {
30928
- }
30823
+ type Path = {
30824
+ userId: string;
30825
+ };
30929
30826
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30930
30827
  type Query = {};
30931
30828
  }
30932
30829
  namespace Responses {
30933
- namespace $204 {
30830
+ namespace $200 {
30934
30831
  namespace Content {
30935
- type Empty = unknown;
30832
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
30936
30833
  }
30937
30834
  }
30938
- namespace $400 {
30835
+ namespace $403 {
30939
30836
  namespace Content {
30940
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
30837
+ interface ApplicationJson {
30838
+ [k: string]: unknown;
30839
+ }
30941
30840
  }
30942
30841
  }
30943
- namespace $429 {
30842
+ namespace $404 {
30843
+ namespace Content {
30844
+ interface ApplicationJson {
30845
+ [k: string]: unknown;
30846
+ }
30847
+ }
30848
+ }
30849
+ namespace $412 {
30944
30850
  namespace Content {
30945
30851
  interface ApplicationJson {
30946
30852
  [k: string]: unknown;
@@ -30956,26 +30862,19 @@ export declare namespace MittwaldAPIV2 {
30956
30862
  }
30957
30863
  }
30958
30864
  }
30959
- }
30960
- namespace V2Oauth2Authorize {
30961
- namespace Get {
30865
+ namespace Put {
30962
30866
  namespace Parameters {
30963
- type Path = {};
30964
- type Header = {};
30965
- type Query = {
30966
- grant_consent?: boolean;
30967
- grant_type?: "authorization_code";
30968
- response_type: "code";
30969
- client_id: string;
30970
- redirect_uri?: string;
30971
- scope?: string;
30972
- state?: string;
30973
- code_challenge?: string;
30974
- code_challenge_method?: "S256";
30867
+ type Path = {
30868
+ userId: string;
30975
30869
  };
30870
+ interface RequestBody {
30871
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
30872
+ }
30873
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30874
+ type Query = {};
30976
30875
  }
30977
30876
  namespace Responses {
30978
- namespace $302 {
30877
+ namespace $204 {
30979
30878
  namespace Content {
30980
30879
  type Empty = unknown;
30981
30880
  }
@@ -30983,8 +30882,7 @@ export declare namespace MittwaldAPIV2 {
30983
30882
  namespace $400 {
30984
30883
  namespace Content {
30985
30884
  interface ApplicationJson {
30986
- error: "invalid_request";
30987
- error_description?: string;
30885
+ [k: string]: unknown;
30988
30886
  }
30989
30887
  }
30990
30888
  }
@@ -31005,16 +30903,13 @@ export declare namespace MittwaldAPIV2 {
31005
30903
  }
31006
30904
  }
31007
30905
  }
31008
- namespace V2Oauth2Token {
30906
+ namespace V2UsersSelfCredentialsInitMfa {
31009
30907
  namespace Post {
31010
30908
  namespace Parameters {
31011
30909
  type Path = {};
31012
30910
  interface RequestBody {
31013
- [k: string]: unknown;
31014
30911
  }
31015
- type Header = {
31016
- Authorization?: string;
31017
- };
30912
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31018
30913
  type Query = {};
31019
30914
  }
31020
30915
  namespace Responses {
@@ -31022,44 +30917,22 @@ export declare namespace MittwaldAPIV2 {
31022
30917
  namespace Content {
31023
30918
  interface ApplicationJson {
31024
30919
  /**
31025
- * The access token issued by the authorization server.
31026
- *
31027
- */
31028
- access_token: string;
31029
- /**
31030
- * The lifetime in seconds of the access token. For
31031
- * example, the value "3600" denotes that the access
31032
- * token will expire in one hour from the time the
31033
- * response was generated.
31034
- *
31035
- */
31036
- expires_in: number;
31037
- /**
31038
- * The refresh token issued by the authorization server.
31039
- *
31040
- */
31041
- refresh_token: string;
31042
- /**
31043
- * The scope of the access token as described by
31044
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
30920
+ * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
30921
+ * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
31045
30922
  *
31046
30923
  */
31047
- scope?: string;
30924
+ barcode: string;
31048
30925
  /**
31049
- * The type of the token issued as described in
31050
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
30926
+ * Same as barcode, but in URL form.
31051
30927
  *
31052
30928
  */
31053
- token_type: "bearer";
30929
+ url: string;
31054
30930
  }
31055
30931
  }
31056
30932
  }
31057
30933
  namespace $400 {
31058
30934
  namespace Content {
31059
- interface ApplicationJson {
31060
- error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
31061
- error_description?: string;
31062
- }
30935
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
31063
30936
  }
31064
30937
  }
31065
30938
  namespace $429 {
@@ -31079,20 +30952,15 @@ export declare namespace MittwaldAPIV2 {
31079
30952
  }
31080
30953
  }
31081
30954
  }
31082
- namespace V2Register {
30955
+ namespace V2UsersSelfCredentialsActionsInitPasswordReset {
31083
30956
  namespace Post {
31084
30957
  namespace Parameters {
31085
30958
  type Path = {};
31086
30959
  interface RequestBody {
31087
30960
  /**
31088
- * The users email address
30961
+ * Email address to reset the password for.
31089
30962
  */
31090
30963
  email: string;
31091
- /**
31092
- * The users password.
31093
- */
31094
- password: string;
31095
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
31096
30964
  }
31097
30965
  type Header = {};
31098
30966
  type Query = {};
@@ -31101,7 +30969,6 @@ export declare namespace MittwaldAPIV2 {
31101
30969
  namespace $201 {
31102
30970
  namespace Content {
31103
30971
  interface ApplicationJson {
31104
- userId: string;
31105
30972
  }
31106
30973
  }
31107
30974
  }
@@ -31127,13 +30994,78 @@ export declare namespace MittwaldAPIV2 {
31127
30994
  }
31128
30995
  }
31129
30996
  }
31130
- namespace V2UsersUserIdAvatar {
31131
- namespace Post {
30997
+ namespace V2UsersUserIdFeedback {
30998
+ namespace Get {
31132
30999
  namespace Parameters {
31133
31000
  type Path = {
31134
31001
  userId: string;
31135
31002
  };
31003
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31004
+ type Query = {
31005
+ subject?: string;
31006
+ };
31007
+ }
31008
+ namespace Responses {
31009
+ namespace $200 {
31010
+ namespace Content {
31011
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
31012
+ }
31013
+ }
31014
+ namespace $429 {
31015
+ namespace Content {
31016
+ interface ApplicationJson {
31017
+ [k: string]: unknown;
31018
+ }
31019
+ }
31020
+ }
31021
+ namespace Default {
31022
+ namespace Content {
31023
+ interface ApplicationJson {
31024
+ [k: string]: unknown;
31025
+ }
31026
+ }
31027
+ }
31028
+ }
31029
+ }
31030
+ }
31031
+ namespace V2UsersSelfSessions {
31032
+ namespace Get {
31033
+ namespace Parameters {
31034
+ type Path = {};
31035
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31036
+ type Query = {
31037
+ limit?: number;
31038
+ skip?: number;
31039
+ page?: number;
31040
+ };
31041
+ }
31042
+ namespace Responses {
31043
+ namespace $200 {
31044
+ namespace Content {
31045
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
31046
+ }
31047
+ }
31048
+ namespace $429 {
31049
+ namespace Content {
31050
+ interface ApplicationJson {
31051
+ [k: string]: unknown;
31052
+ }
31053
+ }
31054
+ }
31055
+ namespace Default {
31056
+ namespace Content {
31057
+ interface ApplicationJson {
31058
+ [k: string]: unknown;
31059
+ }
31060
+ }
31061
+ }
31062
+ }
31063
+ }
31064
+ namespace Put {
31065
+ namespace Parameters {
31066
+ type Path = {};
31136
31067
  interface RequestBody {
31068
+ refreshToken: string;
31137
31069
  }
31138
31070
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31139
31071
  type Query = {};
@@ -31143,42 +31075,17 @@ export declare namespace MittwaldAPIV2 {
31143
31075
  namespace Content {
31144
31076
  interface ApplicationJson {
31145
31077
  /**
31146
- * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
31078
+ * The expiration date of the token.
31147
31079
  */
31148
- refId: string;
31080
+ expiresAt: string;
31149
31081
  /**
31150
- * Contstraints for the avatar image upload.
31082
+ * Refresh token to refresh your access token even after it has expired.
31151
31083
  */
31152
- rules: {
31153
- /**
31154
- * Maximum size in Bytes of the avatar image.
31155
- */
31156
- maxSizeInBytes: number;
31157
- /**
31158
- * @deprecated
31159
- * Deprecated. Maximum size in kilobytes of the avatar image.
31160
- */
31161
- maxSizeInKB: number;
31162
- /**
31163
- * List of supported mime types.
31164
- */
31165
- mimeTypes: string[];
31166
- properties?: {
31167
- /**
31168
- * Supported range of dimensions for the avatar image.
31169
- */
31170
- imageDimensions?: {
31171
- max?: {
31172
- height?: number;
31173
- width?: number;
31174
- };
31175
- min?: {
31176
- height?: number;
31177
- width?: number;
31178
- };
31179
- };
31180
- };
31181
- };
31084
+ refreshToken: string;
31085
+ /**
31086
+ * Public token to identify yourself against the public api.
31087
+ */
31088
+ token: string;
31182
31089
  }
31183
31090
  }
31184
31091
  }
@@ -31207,9 +31114,7 @@ export declare namespace MittwaldAPIV2 {
31207
31114
  }
31208
31115
  namespace Delete {
31209
31116
  namespace Parameters {
31210
- type Path = {
31211
- userId: string;
31212
- };
31117
+ type Path = {};
31213
31118
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31214
31119
  type Query = {};
31215
31120
  }
@@ -31219,13 +31124,6 @@ export declare namespace MittwaldAPIV2 {
31219
31124
  type Empty = unknown;
31220
31125
  }
31221
31126
  }
31222
- namespace $400 {
31223
- namespace Content {
31224
- interface ApplicationJson {
31225
- [k: string]: unknown;
31226
- }
31227
- }
31228
- }
31229
31127
  namespace $429 {
31230
31128
  namespace Content {
31231
31129
  interface ApplicationJson {
@@ -31243,15 +31141,13 @@ export declare namespace MittwaldAPIV2 {
31243
31141
  }
31244
31142
  }
31245
31143
  }
31246
- namespace V2UsersSelfCredentialsEmailActionsResendEmail {
31247
- namespace Post {
31144
+ namespace V2Logout {
31145
+ namespace Put {
31248
31146
  namespace Parameters {
31249
31147
  type Path = {};
31250
31148
  interface RequestBody {
31251
- email: string;
31252
- userId: string;
31253
31149
  }
31254
- type Header = {};
31150
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31255
31151
  type Query = {};
31256
31152
  }
31257
31153
  namespace Responses {
@@ -31265,11 +31161,6 @@ export declare namespace MittwaldAPIV2 {
31265
31161
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
31266
31162
  }
31267
31163
  }
31268
- namespace $412 {
31269
- namespace Content {
31270
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
31271
- }
31272
- }
31273
31164
  namespace $429 {
31274
31165
  namespace Content {
31275
31166
  interface ApplicationJson {
@@ -31287,79 +31178,34 @@ export declare namespace MittwaldAPIV2 {
31287
31178
  }
31288
31179
  }
31289
31180
  }
31290
- namespace V2UsersSelfCredentialsSupportCode {
31181
+ namespace V2Oauth2Authorize {
31291
31182
  namespace Get {
31292
31183
  namespace Parameters {
31293
31184
  type Path = {};
31294
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31185
+ type Header = {};
31295
31186
  type Query = {
31296
- forceRecreate?: boolean;
31187
+ grant_consent?: boolean;
31188
+ grant_type?: "authorization_code";
31189
+ response_type: "code";
31190
+ client_id: string;
31191
+ redirect_uri?: string;
31192
+ scope?: string;
31193
+ state?: string;
31194
+ code_challenge?: string;
31195
+ code_challenge_method?: "S256";
31297
31196
  };
31298
31197
  }
31299
31198
  namespace Responses {
31300
- namespace $200 {
31301
- namespace Content {
31302
- interface ApplicationJson {
31303
- /**
31304
- * Expiration of the support code
31305
- */
31306
- expiresAt: string;
31307
- /**
31308
- * support code to authenticate yourself against the mittwald support via telephone
31309
- */
31310
- supportCode: string;
31311
- }
31312
- }
31313
- }
31314
- namespace $429 {
31315
- namespace Content {
31316
- interface ApplicationJson {
31317
- [k: string]: unknown;
31318
- }
31319
- }
31320
- }
31321
- namespace Default {
31322
- namespace Content {
31323
- interface ApplicationJson {
31324
- [k: string]: unknown;
31325
- }
31326
- }
31327
- }
31328
- }
31329
- }
31330
- }
31331
- namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
31332
- namespace Post {
31333
- namespace Parameters {
31334
- type Path = {};
31335
- interface RequestBody {
31336
- /**
31337
- * The Email-Address to verify.
31338
- */
31339
- email: string;
31340
- /**
31341
- * The token found in the verification email.
31342
- */
31343
- token?: string;
31344
- }
31345
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31346
- type Query = {};
31347
- }
31348
- namespace Responses {
31349
- namespace $204 {
31199
+ namespace $302 {
31350
31200
  namespace Content {
31351
31201
  type Empty = unknown;
31352
31202
  }
31353
31203
  }
31354
31204
  namespace $400 {
31355
- namespace Content {
31356
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
31357
- }
31358
- }
31359
- namespace $404 {
31360
31205
  namespace Content {
31361
31206
  interface ApplicationJson {
31362
- [k: string]: unknown;
31207
+ error: "invalid_request";
31208
+ error_description?: string;
31363
31209
  }
31364
31210
  }
31365
31211
  }
@@ -31380,43 +31226,60 @@ export declare namespace MittwaldAPIV2 {
31380
31226
  }
31381
31227
  }
31382
31228
  }
31383
- namespace V2UsersUserIdActionsVerifyPhone {
31229
+ namespace V2Oauth2Token {
31384
31230
  namespace Post {
31385
31231
  namespace Parameters {
31386
- type Path = {
31387
- userId: string;
31388
- };
31232
+ type Path = {};
31389
31233
  interface RequestBody {
31390
- code: string;
31391
- phoneNumber: string;
31234
+ [k: string]: unknown;
31392
31235
  }
31393
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31236
+ type Header = {
31237
+ Authorization?: string;
31238
+ };
31394
31239
  type Query = {};
31395
31240
  }
31396
31241
  namespace Responses {
31397
- namespace $204 {
31398
- namespace Content {
31399
- type Empty = unknown;
31400
- }
31401
- }
31402
- namespace $400 {
31403
- namespace Content {
31404
- interface ApplicationJson {
31405
- [k: string]: unknown;
31406
- }
31407
- }
31408
- }
31409
- namespace $404 {
31242
+ namespace $200 {
31410
31243
  namespace Content {
31411
31244
  interface ApplicationJson {
31412
- [k: string]: unknown;
31245
+ /**
31246
+ * The access token issued by the authorization server.
31247
+ *
31248
+ */
31249
+ access_token: string;
31250
+ /**
31251
+ * The lifetime in seconds of the access token. For
31252
+ * example, the value "3600" denotes that the access
31253
+ * token will expire in one hour from the time the
31254
+ * response was generated.
31255
+ *
31256
+ */
31257
+ expires_in: number;
31258
+ /**
31259
+ * The refresh token issued by the authorization server.
31260
+ *
31261
+ */
31262
+ refresh_token: string;
31263
+ /**
31264
+ * The scope of the access token as described by
31265
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
31266
+ *
31267
+ */
31268
+ scope?: string;
31269
+ /**
31270
+ * The type of the token issued as described in
31271
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
31272
+ *
31273
+ */
31274
+ token_type: "bearer";
31413
31275
  }
31414
31276
  }
31415
31277
  }
31416
- namespace $409 {
31278
+ namespace $400 {
31417
31279
  namespace Content {
31418
31280
  interface ApplicationJson {
31419
- [k: string]: unknown;
31281
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
31282
+ error_description?: string;
31420
31283
  }
31421
31284
  }
31422
31285
  }
@@ -31437,31 +31300,29 @@ export declare namespace MittwaldAPIV2 {
31437
31300
  }
31438
31301
  }
31439
31302
  }
31440
- namespace V2VerifyRegistration {
31303
+ namespace V2Register {
31441
31304
  namespace Post {
31442
31305
  namespace Parameters {
31443
31306
  type Path = {};
31444
31307
  interface RequestBody {
31445
31308
  /**
31446
- * The users email address.
31309
+ * The users email address
31447
31310
  */
31448
31311
  email: string;
31449
31312
  /**
31450
- * The token that was send to your email address
31451
- */
31452
- token: string;
31453
- /**
31454
- * UUID of the registered user.
31313
+ * The users password.
31455
31314
  */
31456
- userId: string;
31315
+ password: string;
31316
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
31457
31317
  }
31458
31318
  type Header = {};
31459
31319
  type Query = {};
31460
31320
  }
31461
31321
  namespace Responses {
31462
- namespace $200 {
31322
+ namespace $201 {
31463
31323
  namespace Content {
31464
31324
  interface ApplicationJson {
31325
+ userId: string;
31465
31326
  }
31466
31327
  }
31467
31328
  }
@@ -31470,13 +31331,6 @@ export declare namespace MittwaldAPIV2 {
31470
31331
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
31471
31332
  }
31472
31333
  }
31473
- namespace $404 {
31474
- namespace Content {
31475
- interface ApplicationJson {
31476
- [k: string]: unknown;
31477
- }
31478
- }
31479
- }
31480
31334
  namespace $429 {
31481
31335
  namespace Content {
31482
31336
  interface ApplicationJson {
@@ -31494,20 +31348,59 @@ export declare namespace MittwaldAPIV2 {
31494
31348
  }
31495
31349
  }
31496
31350
  }
31497
- namespace V2ActionsDetectPhishingEmail {
31351
+ namespace V2UsersUserIdAvatar {
31498
31352
  namespace Post {
31499
31353
  namespace Parameters {
31500
- type Path = {};
31354
+ type Path = {
31355
+ userId: string;
31356
+ };
31501
31357
  interface RequestBody {
31502
- [k: string]: unknown;
31503
31358
  }
31504
- type Header = {};
31359
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31505
31360
  type Query = {};
31506
31361
  }
31507
31362
  namespace Responses {
31508
31363
  namespace $200 {
31509
31364
  namespace Content {
31510
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
31365
+ interface ApplicationJson {
31366
+ /**
31367
+ * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
31368
+ */
31369
+ refId: string;
31370
+ /**
31371
+ * Contstraints for the avatar image upload.
31372
+ */
31373
+ rules: {
31374
+ /**
31375
+ * Maximum size in Bytes of the avatar image.
31376
+ */
31377
+ maxSizeInBytes: number;
31378
+ /**
31379
+ * @deprecated
31380
+ * Deprecated. Maximum size in kilobytes of the avatar image.
31381
+ */
31382
+ maxSizeInKB: number;
31383
+ /**
31384
+ * List of supported mime types.
31385
+ */
31386
+ mimeTypes: string[];
31387
+ properties?: {
31388
+ /**
31389
+ * Supported range of dimensions for the avatar image.
31390
+ */
31391
+ imageDimensions?: {
31392
+ max?: {
31393
+ height?: number;
31394
+ width?: number;
31395
+ };
31396
+ min?: {
31397
+ height?: number;
31398
+ width?: number;
31399
+ };
31400
+ };
31401
+ };
31402
+ };
31403
+ }
31511
31404
  }
31512
31405
  }
31513
31406
  namespace $400 {
@@ -31527,37 +31420,30 @@ export declare namespace MittwaldAPIV2 {
31527
31420
  namespace Default {
31528
31421
  namespace Content {
31529
31422
  interface ApplicationJson {
31530
- [k: string]: unknown;
31531
- }
31532
- }
31533
- }
31534
- }
31535
- }
31536
- }
31537
- namespace V2ActionsVerifyAddress {
31538
- namespace Post {
31539
- namespace Parameters {
31540
- type Path = {};
31541
- interface RequestBody {
31542
- city: string;
31543
- /**
31544
- * Accepts the whole English or German name as well as the ISO 3166-2 country codes.
31545
- */
31546
- country: string;
31547
- /**
31548
- * Includes the house number.
31549
- */
31550
- street: string;
31551
- zip: string;
31423
+ [k: string]: unknown;
31424
+ }
31425
+ }
31552
31426
  }
31553
- type Header = {};
31427
+ }
31428
+ }
31429
+ namespace Delete {
31430
+ namespace Parameters {
31431
+ type Path = {
31432
+ userId: string;
31433
+ };
31434
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31554
31435
  type Query = {};
31555
31436
  }
31556
31437
  namespace Responses {
31557
- namespace $200 {
31438
+ namespace $204 {
31439
+ namespace Content {
31440
+ type Empty = unknown;
31441
+ }
31442
+ }
31443
+ namespace $400 {
31558
31444
  namespace Content {
31559
31445
  interface ApplicationJson {
31560
- exists: boolean;
31446
+ [k: string]: unknown;
31561
31447
  }
31562
31448
  }
31563
31449
  }
@@ -31578,27 +31464,31 @@ export declare namespace MittwaldAPIV2 {
31578
31464
  }
31579
31465
  }
31580
31466
  }
31581
- namespace V2ActionsVerifyCompany {
31467
+ namespace V2UsersSelfCredentialsEmailActionsResendEmail {
31582
31468
  namespace Post {
31583
31469
  namespace Parameters {
31584
31470
  type Path = {};
31585
31471
  interface RequestBody {
31586
- name: string;
31472
+ email: string;
31473
+ userId: string;
31587
31474
  }
31588
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31475
+ type Header = {};
31589
31476
  type Query = {};
31590
31477
  }
31591
31478
  namespace Responses {
31592
- namespace $200 {
31479
+ namespace $204 {
31593
31480
  namespace Content {
31594
- interface ApplicationJson {
31595
- exists: boolean;
31596
- }
31481
+ type Empty = unknown;
31482
+ }
31483
+ }
31484
+ namespace $400 {
31485
+ namespace Content {
31486
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
31597
31487
  }
31598
31488
  }
31599
31489
  namespace $412 {
31600
31490
  namespace Content {
31601
- type Empty = unknown;
31491
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
31602
31492
  }
31603
31493
  }
31604
31494
  namespace $429 {
@@ -31618,62 +31508,83 @@ export declare namespace MittwaldAPIV2 {
31618
31508
  }
31619
31509
  }
31620
31510
  }
31621
- namespace V2ContainerImageConfig {
31511
+ namespace V2UsersSelfCredentialsSupportCode {
31622
31512
  namespace Get {
31623
31513
  namespace Parameters {
31624
31514
  type Path = {};
31625
- type Header = {
31626
- "Accept-Language"?: "de" | "en";
31627
- } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31515
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31628
31516
  type Query = {
31629
- imageReference: string;
31630
- useCredentialsForProjectId?: string;
31631
- useCredentialsForRegistryId?: string;
31632
- generateAiData?: boolean;
31517
+ forceRecreate?: boolean;
31633
31518
  };
31634
31519
  }
31635
31520
  namespace Responses {
31636
31521
  namespace $200 {
31637
31522
  namespace Content {
31638
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfig;
31523
+ interface ApplicationJson {
31524
+ /**
31525
+ * Expiration of the support code
31526
+ */
31527
+ expiresAt: string;
31528
+ /**
31529
+ * support code to authenticate yourself against the mittwald support via telephone
31530
+ */
31531
+ supportCode: string;
31532
+ }
31639
31533
  }
31640
31534
  }
31641
- namespace $400 {
31535
+ namespace $429 {
31642
31536
  namespace Content {
31643
31537
  interface ApplicationJson {
31644
31538
  [k: string]: unknown;
31645
31539
  }
31646
31540
  }
31647
31541
  }
31648
- namespace $403 {
31542
+ namespace Default {
31649
31543
  namespace Content {
31650
31544
  interface ApplicationJson {
31651
31545
  [k: string]: unknown;
31652
31546
  }
31653
31547
  }
31654
31548
  }
31655
- namespace $404 {
31549
+ }
31550
+ }
31551
+ }
31552
+ namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
31553
+ namespace Post {
31554
+ namespace Parameters {
31555
+ type Path = {};
31556
+ interface RequestBody {
31557
+ /**
31558
+ * The Email-Address to verify.
31559
+ */
31560
+ email: string;
31561
+ /**
31562
+ * The token found in the verification email.
31563
+ */
31564
+ token?: string;
31565
+ }
31566
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31567
+ type Query = {};
31568
+ }
31569
+ namespace Responses {
31570
+ namespace $204 {
31656
31571
  namespace Content {
31657
- interface ApplicationJson {
31658
- [k: string]: unknown;
31659
- }
31572
+ type Empty = unknown;
31660
31573
  }
31661
31574
  }
31662
- namespace $412 {
31575
+ namespace $400 {
31663
31576
  namespace Content {
31664
- interface ApplicationJson {
31665
- [k: string]: unknown;
31666
- }
31577
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
31667
31578
  }
31668
31579
  }
31669
- namespace $429 {
31580
+ namespace $404 {
31670
31581
  namespace Content {
31671
31582
  interface ApplicationJson {
31672
31583
  [k: string]: unknown;
31673
31584
  }
31674
31585
  }
31675
31586
  }
31676
- namespace $500 {
31587
+ namespace $429 {
31677
31588
  namespace Content {
31678
31589
  interface ApplicationJson {
31679
31590
  [k: string]: unknown;
@@ -31690,14 +31601,15 @@ export declare namespace MittwaldAPIV2 {
31690
31601
  }
31691
31602
  }
31692
31603
  }
31693
- namespace V2MailAddressesMailAddressIdRequestRateLimitChange {
31604
+ namespace V2UsersUserIdActionsVerifyPhone {
31694
31605
  namespace Post {
31695
31606
  namespace Parameters {
31696
31607
  type Path = {
31697
- mailAddressId: string;
31608
+ userId: string;
31698
31609
  };
31699
31610
  interface RequestBody {
31700
- rateLimitId: string;
31611
+ code: string;
31612
+ phoneNumber: string;
31701
31613
  }
31702
31614
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31703
31615
  type Query = {};
@@ -31715,14 +31627,14 @@ export declare namespace MittwaldAPIV2 {
31715
31627
  }
31716
31628
  }
31717
31629
  }
31718
- namespace $403 {
31630
+ namespace $404 {
31719
31631
  namespace Content {
31720
31632
  interface ApplicationJson {
31721
31633
  [k: string]: unknown;
31722
31634
  }
31723
31635
  }
31724
31636
  }
31725
- namespace $404 {
31637
+ namespace $409 {
31726
31638
  namespace Content {
31727
31639
  interface ApplicationJson {
31728
31640
  [k: string]: unknown;
@@ -31736,14 +31648,57 @@ export declare namespace MittwaldAPIV2 {
31736
31648
  }
31737
31649
  }
31738
31650
  }
31739
- namespace $500 {
31651
+ namespace Default {
31740
31652
  namespace Content {
31741
31653
  interface ApplicationJson {
31742
31654
  [k: string]: unknown;
31743
31655
  }
31744
31656
  }
31745
31657
  }
31746
- namespace $503 {
31658
+ }
31659
+ }
31660
+ }
31661
+ namespace V2VerifyRegistration {
31662
+ namespace Post {
31663
+ namespace Parameters {
31664
+ type Path = {};
31665
+ interface RequestBody {
31666
+ /**
31667
+ * The users email address.
31668
+ */
31669
+ email: string;
31670
+ /**
31671
+ * The token that was send to your email address
31672
+ */
31673
+ token: string;
31674
+ /**
31675
+ * UUID of the registered user.
31676
+ */
31677
+ userId: string;
31678
+ }
31679
+ type Header = {};
31680
+ type Query = {};
31681
+ }
31682
+ namespace Responses {
31683
+ namespace $200 {
31684
+ namespace Content {
31685
+ interface ApplicationJson {
31686
+ }
31687
+ }
31688
+ }
31689
+ namespace $400 {
31690
+ namespace Content {
31691
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
31692
+ }
31693
+ }
31694
+ namespace $404 {
31695
+ namespace Content {
31696
+ interface ApplicationJson {
31697
+ [k: string]: unknown;
31698
+ }
31699
+ }
31700
+ }
31701
+ namespace $429 {
31747
31702
  namespace Content {
31748
31703
  interface ApplicationJson {
31749
31704
  [k: string]: unknown;
@@ -31760,31 +31715,20 @@ export declare namespace MittwaldAPIV2 {
31760
31715
  }
31761
31716
  }
31762
31717
  }
31763
- namespace V2ProjectsProjectIdActivities {
31764
- namespace Get {
31718
+ namespace V2ActionsDetectPhishingEmail {
31719
+ namespace Post {
31765
31720
  namespace Parameters {
31766
- type Path = {
31767
- projectId: string;
31768
- };
31721
+ type Path = {};
31722
+ interface RequestBody {
31723
+ [k: string]: unknown;
31724
+ }
31769
31725
  type Header = {};
31770
- type Query = {
31771
- aggregateName?: string;
31772
- aggregateDomain?: string;
31773
- aggregateId?: string;
31774
- startTime?: string;
31775
- endTime?: string;
31776
- fulltextSearch?: string;
31777
- limit?: number;
31778
- skip?: number;
31779
- page?: number;
31780
- sort?: "dateTime";
31781
- order?: "asc" | "desc";
31782
- };
31726
+ type Query = {};
31783
31727
  }
31784
31728
  namespace Responses {
31785
31729
  namespace $200 {
31786
31730
  namespace Content {
31787
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[];
31731
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
31788
31732
  }
31789
31733
  }
31790
31734
  namespace $400 {
@@ -31794,20 +31738,50 @@ export declare namespace MittwaldAPIV2 {
31794
31738
  }
31795
31739
  }
31796
31740
  }
31797
- namespace $403 {
31741
+ namespace $429 {
31798
31742
  namespace Content {
31799
31743
  interface ApplicationJson {
31800
31744
  [k: string]: unknown;
31801
31745
  }
31802
31746
  }
31803
31747
  }
31804
- namespace $404 {
31748
+ namespace Default {
31805
31749
  namespace Content {
31806
31750
  interface ApplicationJson {
31807
31751
  [k: string]: unknown;
31808
31752
  }
31809
31753
  }
31810
31754
  }
31755
+ }
31756
+ }
31757
+ }
31758
+ namespace V2ActionsVerifyAddress {
31759
+ namespace Post {
31760
+ namespace Parameters {
31761
+ type Path = {};
31762
+ interface RequestBody {
31763
+ city: string;
31764
+ /**
31765
+ * Accepts the whole English or German name as well as the ISO 3166-2 country codes.
31766
+ */
31767
+ country: string;
31768
+ /**
31769
+ * Includes the house number.
31770
+ */
31771
+ street: string;
31772
+ zip: string;
31773
+ }
31774
+ type Header = {};
31775
+ type Query = {};
31776
+ }
31777
+ namespace Responses {
31778
+ namespace $200 {
31779
+ namespace Content {
31780
+ interface ApplicationJson {
31781
+ exists: boolean;
31782
+ }
31783
+ }
31784
+ }
31811
31785
  namespace $429 {
31812
31786
  namespace Content {
31813
31787
  interface ApplicationJson {
@@ -31825,40 +31799,27 @@ export declare namespace MittwaldAPIV2 {
31825
31799
  }
31826
31800
  }
31827
31801
  }
31828
- namespace V2CustomersCustomerIdProjects {
31829
- namespace Get {
31802
+ namespace V2ActionsVerifyCompany {
31803
+ namespace Post {
31830
31804
  namespace Parameters {
31831
- type Path = {
31832
- customerId: string;
31833
- };
31805
+ type Path = {};
31806
+ interface RequestBody {
31807
+ name: string;
31808
+ }
31834
31809
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31835
- type Query = {
31836
- searchTerm?: string;
31837
- limit?: number;
31838
- skip?: number;
31839
- page?: number;
31840
- sort?: "createdAt" | "description";
31841
- order?: "asc" | "desc";
31842
- };
31810
+ type Query = {};
31843
31811
  }
31844
31812
  namespace Responses {
31845
31813
  namespace $200 {
31846
- namespace Content {
31847
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[];
31848
- }
31849
- }
31850
- namespace $400 {
31851
31814
  namespace Content {
31852
31815
  interface ApplicationJson {
31853
- [k: string]: unknown;
31816
+ exists: boolean;
31854
31817
  }
31855
31818
  }
31856
31819
  }
31857
- namespace $403 {
31820
+ namespace $412 {
31858
31821
  namespace Content {
31859
- interface ApplicationJson {
31860
- [k: string]: unknown;
31861
- }
31822
+ type Empty = unknown;
31862
31823
  }
31863
31824
  }
31864
31825
  namespace $429 {