@mittwald/api-client 4.395.0 → 4.397.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1526,10 +1526,18 @@ export declare namespace MittwaldAPIV2 {
1526
1526
  type RequestData = InferredRequestData<typeof descriptors.projectGetServer>;
1527
1527
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServer, TStatus>;
1528
1528
  }
1529
+ namespace ProjectListCustomerProjects {
1530
+ type RequestData = InferredRequestData<typeof descriptors.projectListCustomerProjects>;
1531
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListCustomerProjects, TStatus>;
1532
+ }
1529
1533
  namespace ProjectListMembershipsForProject {
1530
1534
  type RequestData = InferredRequestData<typeof descriptors.projectListMembershipsForProject>;
1531
1535
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListMembershipsForProject, TStatus>;
1532
1536
  }
1537
+ namespace ProjectListProjectActivities {
1538
+ type RequestData = InferredRequestData<typeof descriptors.projectListProjectActivities>;
1539
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListProjectActivities, TStatus>;
1540
+ }
1533
1541
  namespace ProjectListProjectInvites {
1534
1542
  type RequestData = InferredRequestData<typeof descriptors.projectListProjectInvites>;
1535
1543
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListProjectInvites, TStatus>;
@@ -1878,14 +1886,6 @@ export declare namespace MittwaldAPIV2 {
1878
1886
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1879
1887
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1880
1888
  }
1881
- namespace ProjectListProjectActivities {
1882
- type RequestData = InferredRequestData<typeof descriptors.projectListProjectActivities>;
1883
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListProjectActivities, TStatus>;
1884
- }
1885
- namespace ProjectListCustomerProjects {
1886
- type RequestData = InferredRequestData<typeof descriptors.projectListCustomerProjects>;
1887
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListCustomerProjects, TStatus>;
1888
- }
1889
1889
  }
1890
1890
  namespace Components {
1891
1891
  namespace Schemas {
@@ -3028,6 +3028,21 @@ export declare namespace MittwaldAPIV2 {
3028
3028
  domain: string;
3029
3029
  id: string;
3030
3030
  }
3031
+ interface ConversationBasicConversation {
3032
+ category?: MittwaldAPIV2.Components.Schemas.ConversationCategory;
3033
+ conversationId: string;
3034
+ createdAt: string;
3035
+ lastMessageAt?: string;
3036
+ mainUser: MittwaldAPIV2.Components.Schemas.ConversationUser;
3037
+ notificationRoles?: MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[];
3038
+ relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference;
3039
+ relations?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[];
3040
+ sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference;
3041
+ shortId: string;
3042
+ status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
3043
+ title: string;
3044
+ visibility: "shared" | "private";
3045
+ }
3031
3046
  type ConversationCategoryReferenceType = ("unspecified" | "server" | "project" | "organisation" | "extensionInstance")[];
3032
3047
  interface ConversationCategory {
3033
3048
  categoryId: string;
@@ -3861,6 +3876,96 @@ export declare namespace MittwaldAPIV2 {
3861
3876
  current: MittwaldAPIV2.Components.Schemas.DomainHandleData;
3862
3877
  desired?: MittwaldAPIV2.Components.Schemas.DomainHandleData;
3863
3878
  }
3879
+ interface DomainmigrationMigration {
3880
+ createdAt?: string;
3881
+ domains: {
3882
+ coabData?: {
3883
+ dnsRecords?: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
3884
+ handleData?: {
3885
+ handleFields?: {
3886
+ name: string;
3887
+ value: string;
3888
+ }[];
3889
+ handleRef?: string;
3890
+ };
3891
+ nameservers?: string[];
3892
+ subdomains?: MittwaldAPIV2.Components.Schemas.DomainmigrationSubdomain[];
3893
+ };
3894
+ domain: string;
3895
+ domainId: string;
3896
+ state: "pending" | "succeeded" | "failed";
3897
+ }[];
3898
+ finishedAt?: string;
3899
+ id: string;
3900
+ pAccount: string;
3901
+ projectId: string;
3902
+ }
3903
+ interface DomainmigrationCheckMigrationResponse {
3904
+ allDomainsMigratable: boolean;
3905
+ domains: (MittwaldAPIV2.Components.Schemas.DomainmigrationMigratableDomain | MittwaldAPIV2.Components.Schemas.DomainmigrationNonMigratableDomain)[];
3906
+ generalIssues?: MittwaldAPIV2.Components.Schemas.DomainmigrationMigrationNotPossibleReasons;
3907
+ generallyPossible: boolean;
3908
+ }
3909
+ interface DomainmigrationDNSRecord {
3910
+ name?: string;
3911
+ ttl: number;
3912
+ type: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecordType;
3913
+ value: string;
3914
+ }
3915
+ type DomainmigrationDNSRecordType = "A" | "AAAA" | "TXT" | "MX" | "CNAME" | "SRV" | "CAA" | "NS";
3916
+ /**
3917
+ * Typed reason a domain cannot be migrated.
3918
+ */
3919
+ 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" | "DOMAIN_NOT_MIGRATABLE_REASON_CONTRACT_DATE_OUT_OF_RANGE";
3920
+ interface DomainmigrationDomainNotMigratableReasons {
3921
+ reasonCodes: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason[];
3922
+ }
3923
+ /**
3924
+ * 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.
3925
+ */
3926
+ interface DomainmigrationDomainNotMigratableValidationError {
3927
+ context: {
3928
+ reason: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason;
3929
+ [k: string]: string;
3930
+ };
3931
+ message: string;
3932
+ /**
3933
+ * The affected domain.
3934
+ */
3935
+ path: string;
3936
+ /**
3937
+ * Discriminator for this branch; always DOMAIN_NOT_MIGRATABLE.
3938
+ */
3939
+ type: "DOMAIN_NOT_MIGRATABLE";
3940
+ }
3941
+ interface DomainmigrationMigratableDomain {
3942
+ hostname: string;
3943
+ migratable: true;
3944
+ migrationData: MittwaldAPIV2.Components.Schemas.DomainmigrationMigrationData;
3945
+ }
3946
+ interface DomainmigrationMigrationData {
3947
+ dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
3948
+ /**
3949
+ * Monthly net domain price in EUR cents.
3950
+ */
3951
+ monthlyPriceCents: number;
3952
+ subdomains: MittwaldAPIV2.Components.Schemas.DomainmigrationSubdomain[];
3953
+ }
3954
+ interface DomainmigrationMigrationNotPossibleReasons {
3955
+ customerIsNotAllowedToOrder: boolean;
3956
+ legacyTokenNotAuthorized: boolean;
3957
+ noDomainsInSource: boolean;
3958
+ }
3959
+ interface DomainmigrationNonMigratableDomain {
3960
+ hostname: string;
3961
+ issues: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReasons;
3962
+ migratable: false;
3963
+ }
3964
+ interface DomainmigrationSubdomain {
3965
+ dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
3966
+ hostname: string;
3967
+ target?: string;
3968
+ }
3864
3969
  interface DomainProcess {
3865
3970
  error?: string;
3866
3971
  lastUpdate: string;
@@ -5755,1078 +5860,973 @@ export declare namespace MittwaldAPIV2 {
5755
5860
  template: MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
5756
5861
  }
5757
5862
  type PolicyPolicy = string;
5758
- interface ProjectAvatarRules {
5759
- maxSizeInKB: number;
5760
- mimeTypes: string[];
5761
- properties?: {
5762
- imageDimensions?: {
5763
- max?: {
5764
- height?: number;
5765
- width?: number;
5766
- };
5767
- min?: {
5768
- height?: number;
5769
- width?: number;
5770
- };
5863
+ interface ActivitylogAppInstallationCopyRequested {
5864
+ changes: {
5865
+ after?: {
5866
+ appId: string;
5867
+ sourceAppInstallationId: string;
5868
+ };
5869
+ before?: {
5870
+ appId?: string | null;
5871
+ sourceAppInstallationId?: string | null;
5771
5872
  };
5772
5873
  };
5874
+ name: "app.copy-requested";
5773
5875
  }
5774
- /**
5775
- * deprecated by property status
5776
- */
5777
- type ProjectDeprecatedProjectReadinessStatus = "creating" | "ready" | "unready";
5778
- /**
5779
- * deprecated by property status
5780
- */
5781
- type ProjectDeprecatedServerReadinessStatus = "creating" | "ready" | "unready";
5782
- interface ProjectFilesystemDirectoryListing {
5783
- absolutePath: string;
5784
- isDirectory?: boolean;
5785
- isExecutable?: boolean;
5786
- isFile?: boolean;
5787
- isSymlink?: boolean;
5788
- items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[];
5789
- name: string;
5790
- size: number;
5791
- target?: string;
5876
+ interface ActivitylogAppInstallationDesiredSystemSoftwareSet {
5877
+ changes: {
5878
+ after?: {
5879
+ software: string;
5880
+ softwareVersion: string;
5881
+ updatePolicy: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
5882
+ };
5883
+ before?: {
5884
+ software?: string;
5885
+ softwareVersion?: string;
5886
+ updatePolicy?: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
5887
+ };
5888
+ };
5889
+ name: "app.systemsoftware-set" | "app.systemsoftware-deleted";
5890
+ parameters?: {
5891
+ software: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5892
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5893
+ };
5792
5894
  }
5793
- interface ProjectFilesystemUsagesDisk {
5794
- path?: string;
5795
- totalBytes?: number;
5796
- usedBytes?: number;
5895
+ interface ActivitylogAppInstallationAppVersionSet {
5896
+ changes: {
5897
+ after?: {
5898
+ appId: string;
5899
+ appVersionId: string;
5900
+ };
5901
+ before?: {
5902
+ appId?: string | null;
5903
+ appVersionId?: string | null;
5904
+ };
5905
+ };
5906
+ name: "app.version-set";
5797
5907
  }
5798
- interface ProjectFsApiJwt {
5799
- jwt: string;
5908
+ interface ActivitylogDatabaseCreated {
5909
+ changes: {
5910
+ after?: {
5911
+ description: string;
5912
+ name: string;
5913
+ version: string;
5914
+ };
5915
+ before?: {
5916
+ description?: string | null;
5917
+ name?: string | null;
5918
+ version?: string | null;
5919
+ };
5920
+ };
5921
+ name: "database.mysql-created" | "database.redis-created";
5922
+ parameters: {
5923
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5924
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5925
+ };
5800
5926
  }
5801
- interface ProjectHardwareSpec {
5802
- cpu?: string;
5803
- /**
5804
- * @deprecated
5805
- * deprecated by memory
5806
- */
5807
- mem?: string;
5808
- memory?: string;
5809
- storage: string;
5927
+ interface ActivitylogDatabaseDeleted {
5928
+ changes: {};
5929
+ name: "database.mysql-deleted" | "database.redis-deleted";
5930
+ parameters: {
5931
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5932
+ };
5810
5933
  }
5811
- interface ProjectMachineType {
5812
- cpu: string;
5813
- memory: string;
5814
- name: string;
5934
+ interface ActivitylogDatabaseDescriptionSet {
5935
+ changes: {
5936
+ after?: {
5937
+ description: string;
5938
+ };
5939
+ before?: {
5940
+ description: string | null;
5941
+ };
5942
+ };
5943
+ name: "database.mysql-description-set" | "database.redis-description-set";
5944
+ parameters: {
5945
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5946
+ };
5815
5947
  }
5816
- type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
5817
- type ProjectProjectFeature = "redis" | "node" | "container";
5818
- type ProjectProjectStatus = "pending" | "ready" | "preparingForVolumeMigration" | "migratingVolume" | "error" | "disabled";
5819
- interface ProjectProject {
5820
- backupStorageUsageInBytes: number;
5821
- backupStorageUsageInBytesSetAt: string;
5822
- clusterDomain?: string;
5823
- /**
5824
- * @deprecated
5825
- * deprecated by property clusterId
5826
- */
5827
- clusterID?: string;
5828
- clusterId?: string;
5829
- createdAt: string;
5830
- customerId: string;
5831
- deletionRequested?: boolean;
5832
- description: string;
5833
- directories: {
5834
- [k: string]: string;
5948
+ interface ActivitylogDatabaseMysqlNameSet {
5949
+ changes: {
5950
+ after?: {
5951
+ name: string;
5952
+ };
5953
+ before?: {
5954
+ name: string | null;
5955
+ };
5835
5956
  };
5836
- disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
5837
- disabledAt?: string;
5838
- enabled: boolean;
5839
- /**
5840
- * @deprecated
5841
- * Deprecated by 'supportedFeatures'.
5842
- */
5843
- features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
5844
- id: string;
5845
- imageRefId?: string;
5846
- /**
5847
- * @deprecated
5848
- * deprecated by property status
5849
- */
5850
- isReady: boolean;
5851
- projectHostingId?: string;
5852
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
5853
- serverGroupId: string;
5854
- serverId?: string;
5855
- serverShortId?: string;
5856
- shortId: string;
5857
- spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
5858
- statisticsBaseDomain?: string;
5859
- status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
5860
- statusSetAt: string;
5861
- supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
5862
- webStorageUsageInBytes: number;
5863
- webStorageUsageInBytesSetAt: string;
5864
- }
5865
- type ProjectServerDisableReason = "suspended";
5866
- type ProjectServerStatus = "pending" | "ready" | "unready" | "suspended" | "migrating";
5867
- interface ProjectServer {
5868
- clusterName: string;
5869
- createdAt: string;
5870
- customerId: string;
5871
- description: string;
5872
- disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
5873
- groupId: string;
5874
- id: string;
5875
- imageRefId?: string;
5876
- /**
5877
- * @deprecated
5878
- * deprecated by property status
5879
- */
5880
- isReady: boolean;
5881
- machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
5882
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
5883
- shortId: string;
5884
- statisticsBaseDomain?: string;
5885
- status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
5886
- storage: string;
5887
- }
5888
- interface ProjectVisitorSpec {
5889
- storage: string;
5890
- visitors: number;
5891
- }
5892
- interface DirectusDomain {
5893
- /**
5894
- * The authcode of the domain. Leave empty when mittwald can generate a authcode on its own
5895
- */
5896
- authCode?: string;
5897
- /**
5898
- * Leave empty when mittwald should keep the same domain owner
5899
- */
5900
- domainOwnerData?: string;
5901
- name: string;
5902
- }
5903
- interface DirectusEmailInbox {
5904
- email: string;
5905
- password: string;
5906
- }
5907
- interface ScreenshotTarget {
5908
- domain: string;
5909
- path?: string;
5910
- scheme: "http" | "https";
5911
- }
5912
- interface ScreenshotTask {
5913
- executedAt?: string;
5914
- fileReference?: string;
5915
- id: string;
5916
- priority: number;
5917
- settings: MittwaldAPIV2.Components.Schemas.ScreenshotScreenshotSettings;
5918
- target: MittwaldAPIV2.Components.Schemas.ScreenshotTarget;
5919
- taskState?: MittwaldAPIV2.Components.Schemas.ScreenshotLifecycleState | MittwaldAPIV2.Components.Schemas.CommonsError;
5920
- }
5921
- type ScreenshotLifecycleState = string;
5922
- interface ScreenshotScreenshotSettings {
5923
- dataType: "jpeg" | "png" | "webp";
5924
- delay: number;
5925
- height: number;
5926
- quality: number;
5927
- width: number;
5928
- }
5929
- type SshuserEntityTypes = "ssh" | "sftp";
5930
- /**
5931
- * The level of access for an SFTPUser.
5932
- */
5933
- type SshuserAccessLevel = "full" | "read" | "unspecified";
5934
- /**
5935
- * Method of authentication that a given SFTPUser or SSHuser supports.
5936
- */
5937
- type SshuserAuthType = "password" | "publicKey";
5938
- /**
5939
- * Method of authentication for an SFTPUser or SSHUser. Can be password or public-keys.
5940
- */
5941
- type SshuserAuthentication = {
5942
- password: string;
5943
- } | {
5944
- publicKeys: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
5945
- };
5946
- /**
5947
- * A representation of an ssh-public-key.
5948
- */
5949
- interface SshuserPublicKey {
5950
- comment: string;
5951
- key: string;
5952
- }
5953
- /**
5954
- * A representation of an SFTPUser.
5955
- */
5956
- interface SshuserSftpUser {
5957
- accessLevel: MittwaldAPIV2.Components.Schemas.SshuserAccessLevel;
5958
- active?: boolean;
5959
- authUpdatedAt: string;
5960
- createdAt: string;
5961
- description: string;
5962
- directories?: string[];
5963
- expiresAt?: string;
5964
- hasPassword: boolean;
5965
- id: string;
5966
- projectId: string;
5967
- publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
5968
- updatedAt?: string;
5969
- userName: string;
5970
- }
5971
- /**
5972
- * A representation of an SSHUser.
5973
- */
5974
- interface SshuserSshUser {
5975
- active?: boolean;
5976
- authUpdatedAt: string;
5977
- createdAt: string;
5978
- description: string;
5979
- expiresAt?: string;
5980
- hasPassword: boolean;
5981
- id: string;
5982
- projectId: string;
5983
- publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
5984
- updatedAt?: string;
5985
- userName: string;
5986
- }
5987
- interface SslCertificate {
5988
- caBundle?: string;
5989
- certificate?: string;
5990
- certificateOrderId?: string;
5991
- certificateRequestId: string;
5992
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5993
- commonName?: string;
5994
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5995
- dnsCertSpec?: {
5996
- cnameTarget?: string;
5997
- status?: MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
5957
+ name: "database.mysql-name-set";
5958
+ parameters: {
5959
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
5998
5960
  };
5999
- dnsNames?: string[];
6000
- id: string;
6001
- isExpired?: boolean;
6002
- issuer?: string;
6003
- lastExpirationThresholdHit?: number;
6004
- projectId: string;
6005
- validFrom?: string;
6006
- validTo?: string;
6007
- }
6008
- interface SslCertificateData {
6009
- caBundle?: string;
6010
- certificate?: string;
6011
- signingRequest?: string;
6012
- }
6013
- interface SslCertificateError {
6014
- 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";
6015
5961
  }
6016
- interface SslCertificateRequest {
6017
- certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
6018
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
6019
- commonName?: string;
6020
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6021
- createdAt: string;
6022
- dnsNames?: string[];
6023
- id: string;
6024
- isCompleted: boolean;
6025
- issuer?: string;
6026
- projectId: string;
6027
- validFrom?: string;
6028
- validTo?: string;
6029
- }
6030
- interface SslCertificateRequestCreateRequest {
6031
- certificate: string;
6032
- privateKey: string;
6033
- projectId: string;
6034
- }
6035
- interface SslCertificateRequestCreateResponse {
6036
- commonName?: string;
6037
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6038
- dnsNames?: string[];
6039
- id: string;
6040
- issuer?: string;
6041
- signingRequest?: string;
6042
- validFrom?: string;
6043
- validTo?: string;
6044
- }
6045
- interface SslCertificateRequestCreateWithCSRRequest {
6046
- commonName: string;
6047
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
6048
- projectId: string;
6049
- }
6050
- interface SslCertificateRequestCreateWithDNSRequest {
6051
- commonName: string;
6052
- projectId: string;
6053
- }
6054
- /**
6055
- * Specifies the type of certificate.
6056
- *
6057
- * Possible values:
6058
- * - `0` – `UNSPECIFIED`: The certificate type is not specified.
6059
- * - `1` – `INTERNAL`: A certificate issued and managed internally by the system.
6060
- * - `2` – `EXTERNAL`: A certificate provided by an external source and imported into the system.
6061
- * - `3` – `DNS`: A certificate validated using DNS-based verification.
6062
- *
6063
- */
6064
- type SslCertificateType = 0 | 1 | 2 | 3;
6065
- interface SslCheckReplaceChanges {
6066
- commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6067
- dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
6068
- issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6069
- validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6070
- validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6071
- }
6072
- interface SslCheckReplaceDateChange {
6073
- newValue: string;
6074
- oldValue: string;
6075
- }
6076
- interface SslCheckReplaceFieldChange {
6077
- newValue: string;
6078
- oldValue: string;
6079
- }
6080
- interface SslCheckReplaceCertificateResponse {
6081
- changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
6082
- errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
6083
- isReplaceable: boolean;
6084
- }
6085
- interface SslCheckReplaceSliceChange {
6086
- addedValues: string[];
6087
- removedValues: string[];
6088
- values: string[];
6089
- }
6090
- interface SslContact {
6091
- city?: string;
6092
- company?: string;
6093
- /**
6094
- * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
6095
- */
6096
- country?: string;
6097
- organizationalUnit?: string;
6098
- state?: string;
6099
- }
6100
- interface SslDNSCertStatus {
6101
- message?: string;
6102
- status: MittwaldAPIV2.Components.Schemas.SslProjectCertificateStatus;
6103
- updatedAt?: string;
6104
- }
6105
- type SslProjectCertificateStatus = "issuing" | "ready" | "cnameError" | "error" | "unspecified";
6106
- type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
6107
- interface StoragespaceStatisticsCategory {
6108
- kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
6109
- resources?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsResource[];
6110
- totalUsageInBytes: number;
6111
- }
6112
- type StoragespaceStatisticsKind = "server" | "project";
6113
- interface StoragespaceStatisticsMeta {
6114
- isExceeding?: boolean;
6115
- /**
6116
- * 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.
6117
- */
6118
- lastExceedanceLimitInBytes?: number;
6119
- /**
6120
- * 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.
6121
- */
6122
- lastTotalExceedanceInBytes?: number;
6123
- /**
6124
- * The last total exceedance date. It is retained as a historical record of the most recent exceedance and does not reset once set.
6125
- */
6126
- lastTotalExceedanceInBytesSetAt?: string;
6127
- limitInBytes?: number;
6128
- /**
6129
- * If true, set notification threshold is used as limit for meta calculations. E.g. for projects with a parent server.
6130
- */
6131
- notificationThresholdUsedAsLimit?: boolean;
6132
- /**
6133
- * The current total exceedance in bytes.
6134
- */
6135
- totalExceedanceInBytes?: number;
6136
- /**
6137
- * The current total exceedance date.
6138
- */
6139
- totalExceedanceInBytesSetAt?: string;
6140
- totalFreeInBytes?: number;
6141
- totalFreeInPercentage?: number;
6142
- totalUsageInBytes: number;
6143
- totalUsageInPercentage?: number;
6144
- }
6145
- interface StoragespaceStatisticsResource {
6146
- description?: string;
6147
- id: string;
6148
- name: string;
6149
- usageInBytes: number;
6150
- usageInBytesSetAt: string;
6151
- }
6152
- interface StoragespaceStatistics {
6153
- childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
6154
- description?: string;
6155
- id: string;
6156
- kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
6157
- meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
6158
- name: string;
6159
- notificationThresholdInBytes?: number;
6160
- statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
5962
+ interface ActivitylogDatabaseMysqlUserCreated {
5963
+ changes: {
5964
+ after?: {
5965
+ description: string;
5966
+ externalAccess: boolean;
5967
+ name: string;
5968
+ permissions: {};
5969
+ };
5970
+ before?: {
5971
+ description?: string | null;
5972
+ externalAccess?: boolean | null;
5973
+ name?: string | null;
5974
+ permissions?: {} | null;
5975
+ };
5976
+ };
5977
+ name: "database.mysql-user-created";
5978
+ parameters: {
5979
+ databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
5980
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5981
+ };
6161
5982
  }
6162
- interface TaskAggregateReference {
6163
- aggregate: string;
6164
- domain: string;
6165
- id: string;
5983
+ interface ActivitylogDatabaseMysqlUserDeleted {
5984
+ changes: {};
5985
+ name: "database.mysql-user-deleted";
5986
+ parameters: {
5987
+ databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
5988
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
5989
+ };
6166
5990
  }
6167
- interface SignupAccount {
6168
- email?: string;
6169
- /**
6170
- * The users mfa details.
6171
- */
6172
- mfaDetails?: {
6173
- mfaConfirmed?: boolean;
6174
- mfaInitialized?: boolean;
5991
+ interface ActivitylogDatabaseMysqlUserUpdated {
5992
+ changes: {
5993
+ after?: {
5994
+ description: string;
5995
+ externalAccess: boolean;
5996
+ permissions: {};
5997
+ };
5998
+ before?: {
5999
+ description: string | null;
6000
+ externalAccess: boolean | null;
6001
+ permissions: {};
6002
+ };
6003
+ };
6004
+ name: "database.mysql-user-updated";
6005
+ parameters: {
6006
+ databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6007
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6175
6008
  };
6176
- passwordUpdatedAt?: string;
6177
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6178
- userId?: string;
6179
- }
6180
- interface SignupApiToken {
6181
- apiTokenId: string;
6182
- createdAt: string;
6183
- description: string;
6184
- expiresAt?: string;
6185
- roles: ("api_read" | "api_write")[];
6186
6009
  }
6187
- interface SignupDeviceInfo {
6188
- browser?: string;
6189
- model?: string;
6190
- os?: string;
6191
- type?: string;
6010
+ interface ActivitylogDatabaseVersionSet {
6011
+ changes: {
6012
+ after?: {
6013
+ version: string;
6014
+ };
6015
+ before?: {
6016
+ version: string;
6017
+ };
6018
+ };
6019
+ name: "database.mysql-version-set" | "database.redis-version-set";
6020
+ parameters: {
6021
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6022
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6023
+ };
6192
6024
  }
6193
- interface SignupDomainError {
6194
- /**
6195
- * A json object, given further information about the error
6196
- */
6197
- info?: {};
6198
- /**
6199
- * Some more detailed information about the error
6200
- */
6201
- message: string;
6202
- /**
6203
- * Unique key for the error type
6204
- */
6205
- name: string;
6025
+ interface ActivitylogDnsARecordSet {
6026
+ changes: {
6027
+ after?: {
6028
+ aRecords: string[];
6029
+ aaaaRecords: string[];
6030
+ };
6031
+ before?: {
6032
+ aRecords: string[];
6033
+ aaaaRecords: string[];
6034
+ };
6035
+ };
6036
+ name: "dns.a-record-set";
6037
+ parameters: {
6038
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6039
+ };
6206
6040
  }
6207
- interface SignupLocation {
6208
- city?: string;
6209
- country?: string;
6210
- ipAddress?: string;
6041
+ interface ActivitylogDnsCaaRecordSet {
6042
+ changes: {
6043
+ after?: {
6044
+ caa: {}[];
6045
+ };
6046
+ before?: {
6047
+ caa: {}[];
6048
+ };
6049
+ };
6050
+ name: "dns.caa-record-set";
6051
+ parameters: {
6052
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6053
+ };
6211
6054
  }
6212
- interface SignupOAuthClient {
6213
- allowedGrantTypes?: string[];
6214
- allowedRedirectUris?: string[];
6215
- allowedScopes?: string[];
6216
- contributorId: string;
6217
- description?: string;
6218
- humanReadableName: string;
6219
- id: string;
6055
+ interface ActivitylogDnsCnameRecordSet {
6056
+ changes: {
6057
+ after?: {
6058
+ cname: string;
6059
+ };
6060
+ before?: {
6061
+ cname: string;
6062
+ };
6063
+ };
6064
+ name: "dns.cname-record-set";
6065
+ parameters: {
6066
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6067
+ };
6220
6068
  }
6221
- interface SignupProfile {
6222
- email?: string;
6223
- /**
6224
- * the users mfa details
6225
- */
6226
- mfaDetails?: {
6227
- mfaConfirmed?: boolean;
6228
- mfaInitialized?: boolean;
6069
+ interface ActivitylogDnsMxRecordSet {
6070
+ changes: {
6071
+ after?: {
6072
+ mx: {}[];
6073
+ };
6074
+ before?: {
6075
+ mx: {}[];
6076
+ };
6077
+ };
6078
+ name: "dns.mx-record-set";
6079
+ parameters: {
6080
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6229
6081
  };
6230
- passwordUpdatedAt?: string;
6231
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6232
- userId?: string;
6233
6082
  }
6234
- interface UserCustomerMembership {
6235
- expiresAt?: string;
6236
- id: string;
6237
- memberSince: string;
6238
- role: "owner" | "member" | "accountant";
6083
+ interface ActivitylogDnsSrvRecordSet {
6084
+ changes: {
6085
+ after?: {
6086
+ srv: {}[];
6087
+ };
6088
+ before?: {
6089
+ srv: {}[];
6090
+ };
6091
+ };
6092
+ name: "dns.srv-record-set";
6093
+ parameters: {
6094
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6095
+ };
6239
6096
  }
6240
- interface UserUserFeedback {
6241
- id: string;
6242
- message: string;
6243
- origin: string;
6244
- subject: string;
6245
- vote: number;
6097
+ interface ActivitylogDnsTxtRecordSet {
6098
+ changes: {
6099
+ after?: {
6100
+ txt: string[];
6101
+ };
6102
+ before?: {
6103
+ txt: string[];
6104
+ };
6105
+ };
6106
+ name: "dns.txt-record-set";
6107
+ parameters: {
6108
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6109
+ };
6246
6110
  }
6247
- interface UserProjectMembership {
6248
- expiresAt?: string;
6249
- id?: string;
6250
- inherited: boolean;
6251
- memberSince: string;
6252
- role: "owner" | "emailadmin" | "external" | "id";
6111
+ interface ActivitylogDnsZoneCreated {
6112
+ changes: {
6113
+ after?: {
6114
+ domain: string;
6115
+ };
6116
+ before?: {
6117
+ domain: string | null;
6118
+ };
6119
+ };
6120
+ name: "dns.zone-created";
6121
+ parameters: {
6122
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6123
+ };
6253
6124
  }
6254
- interface UserUser {
6255
- avatarRef?: string;
6256
- customerMemberships?: {
6257
- [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
6125
+ interface ActivitylogDnsZoneDeleted {
6126
+ changes: {};
6127
+ name: "dns.zone-deleted";
6128
+ parameters: {
6129
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6258
6130
  };
6259
- email?: string;
6260
- /**
6261
- * Additional information about mittwald employees.
6262
- */
6263
- employeeInformation?: {
6264
- department: string;
6131
+ }
6132
+ /**
6133
+ * Fallback when no matching action is found
6134
+ */
6135
+ interface ActivitylogGenericAction {
6136
+ changes: {
6137
+ [k: string]: {
6138
+ after?: {
6139
+ [k: string]: unknown;
6140
+ };
6141
+ before?: {
6142
+ [k: string]: unknown;
6143
+ };
6144
+ };
6265
6145
  };
6266
- /**
6267
- * Truth value, whether the user is a mittwald employee
6268
- */
6269
- isEmployee?: boolean;
6270
- mfa?: {
6271
- active: boolean;
6272
- setup: boolean;
6146
+ name: string;
6147
+ parameters: {
6148
+ [k: string]: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6273
6149
  };
6274
- passwordUpdatedAt?: string;
6275
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6276
- phoneNumber?: string;
6277
- projectMemberships?: {
6278
- [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
6150
+ }
6151
+ interface ActivitylogAggregateReference {
6152
+ aggregate: string;
6153
+ domain: string;
6154
+ id: string;
6155
+ }
6156
+ interface ProjectAvatarRules {
6157
+ maxSizeInKB: number;
6158
+ mimeTypes: string[];
6159
+ properties?: {
6160
+ imageDimensions?: {
6161
+ max?: {
6162
+ height?: number;
6163
+ width?: number;
6164
+ };
6165
+ min?: {
6166
+ height?: number;
6167
+ width?: number;
6168
+ };
6169
+ };
6279
6170
  };
6280
- registeredAt?: string;
6281
- userId: string;
6282
6171
  }
6283
- interface SignupSshKey {
6284
- algorithm: string;
6285
- comment: string;
6286
- createdAt: string;
6287
- expiresAt?: string;
6288
- fingerprint: string;
6289
- key: string;
6290
- sshKeyId: string;
6172
+ /**
6173
+ * deprecated by property status
6174
+ */
6175
+ type ProjectDeprecatedProjectReadinessStatus = "creating" | "ready" | "unready";
6176
+ /**
6177
+ * deprecated by property status
6178
+ */
6179
+ type ProjectDeprecatedServerReadinessStatus = "creating" | "ready" | "unready";
6180
+ interface ProjectFilesystemDirectoryListing {
6181
+ absolutePath: string;
6182
+ isDirectory?: boolean;
6183
+ isExecutable?: boolean;
6184
+ isFile?: boolean;
6185
+ isSymlink?: boolean;
6186
+ items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[];
6187
+ name: string;
6188
+ size: number;
6189
+ target?: string;
6190
+ }
6191
+ interface ProjectFilesystemUsagesDisk {
6192
+ path?: string;
6193
+ totalBytes?: number;
6194
+ usedBytes?: number;
6291
6195
  }
6292
- interface PollUserPollSettings {
6293
- completedAt?: string;
6294
- dontShowUntil?: string;
6295
- ignoredAt?: string;
6296
- shouldShow: boolean;
6297
- status: "completed" | "muted" | "ignored" | "new";
6298
- userId: string;
6196
+ interface ProjectFsApiJwt {
6197
+ jwt: string;
6299
6198
  }
6300
- interface SignupUserSession {
6301
- created: string;
6302
- device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
6303
- lastAccess?: string;
6304
- location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
6305
- tokenId: string;
6199
+ interface ProjectHardwareSpec {
6200
+ cpu?: string;
6201
+ /**
6202
+ * @deprecated
6203
+ * deprecated by memory
6204
+ */
6205
+ mem?: string;
6206
+ memory?: string;
6207
+ storage: string;
6306
6208
  }
6307
- interface VarnishConfigRevision {
6308
- expire?: number;
6309
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6310
- note?: string;
6311
- revision: number;
6312
- updated: string;
6209
+ interface ActivitylogLinkedParameterProperty {
6210
+ aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6211
+ name: string;
6313
6212
  }
6314
- interface VarnishConfigTemplate {
6213
+ interface ActivitylogLogEntry {
6214
+ 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;
6215
+ aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6216
+ dateTime: string;
6315
6217
  /**
6316
- * A set of config file references.
6218
+ * Null or empty object. If set, the action was executed by an mittwald employee.
6317
6219
  */
6318
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6319
- isGlobal?: boolean;
6320
- note?: string;
6321
- projectId?: string;
6322
- softwareConfigTemplateId: string;
6323
- softwareTemplateId: string;
6324
- updatedAt?: string;
6325
- }
6326
- interface VarnishConfigFile {
6327
- content: string;
6328
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6220
+ impersonator?: {};
6221
+ user?: {
6222
+ id: string;
6223
+ type: "user" | "extension";
6224
+ };
6329
6225
  }
6330
- interface VarnishConfigFileMetadata {
6226
+ interface ProjectMachineType {
6227
+ cpu: string;
6228
+ memory: string;
6331
6229
  name: string;
6332
- path?: string;
6333
- }
6334
- interface VarnishConfigFileRef {
6335
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6336
- refId: string;
6337
6230
  }
6338
- interface VarnishGlobalConfigTemplate {
6339
- data: string;
6231
+ interface ActivitylogParameterProperty {
6232
+ aggregate?: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6340
6233
  name: string;
6341
- updatedAt: string;
6342
6234
  }
6343
- interface VarnishSoftware {
6344
- config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
6345
- projectId: string;
6346
- settings?: {
6347
- [k: string]: string;
6235
+ type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
6236
+ type ProjectProjectFeature = "redis" | "node" | "container";
6237
+ interface ProjectProjectListItem {
6238
+ backupStorageUsageInBytes: number;
6239
+ backupStorageUsageInBytesSetAt: string;
6240
+ createdAt: string;
6241
+ customerId: string;
6242
+ customerMeta: {
6243
+ id: string;
6348
6244
  };
6349
- softwareId: string;
6350
- softwareTemplateId: string;
6351
- softwareVersion: string;
6352
- updatedAt: string;
6245
+ description: string;
6246
+ disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
6247
+ disabledAt?: string;
6248
+ enabled: boolean;
6249
+ /**
6250
+ * @deprecated
6251
+ * Deprecated by 'supportedFeatures'.
6252
+ */
6253
+ features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6254
+ id: string;
6255
+ imageRefId?: string;
6256
+ /**
6257
+ * @deprecated
6258
+ * deprecated
6259
+ */
6260
+ isReady: boolean;
6261
+ projectHostingId?: string;
6262
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
6263
+ serverGroupId: string;
6264
+ serverId?: string;
6265
+ shortId: string;
6266
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
6267
+ statusSetAt: string;
6268
+ supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6269
+ webStorageUsageInBytes: number;
6270
+ webStorageUsageInBytesSetAt: string;
6353
6271
  }
6354
- interface VarnishSoftwareConfig {
6355
- configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
6356
- latestConfigRevision?: number;
6357
- revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
6272
+ type ProjectProjectStatus = "pending" | "ready" | "preparingForVolumeMigration" | "migratingVolume" | "error" | "disabled";
6273
+ interface ProjectProject {
6274
+ backupStorageUsageInBytes: number;
6275
+ backupStorageUsageInBytesSetAt: string;
6276
+ clusterDomain?: string;
6277
+ /**
6278
+ * @deprecated
6279
+ * deprecated by property clusterId
6280
+ */
6281
+ clusterID?: string;
6282
+ clusterId?: string;
6283
+ createdAt: string;
6284
+ customerId: string;
6285
+ deletionRequested?: boolean;
6286
+ description: string;
6287
+ directories: {
6288
+ [k: string]: string;
6289
+ };
6290
+ disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
6291
+ disabledAt?: string;
6292
+ enabled: boolean;
6293
+ /**
6294
+ * @deprecated
6295
+ * Deprecated by 'supportedFeatures'.
6296
+ */
6297
+ features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6298
+ id: string;
6299
+ imageRefId?: string;
6300
+ /**
6301
+ * @deprecated
6302
+ * deprecated by property status
6303
+ */
6304
+ isReady: boolean;
6305
+ projectHostingId?: string;
6306
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
6307
+ serverGroupId: string;
6308
+ serverId?: string;
6309
+ serverShortId?: string;
6310
+ shortId: string;
6311
+ spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
6312
+ statisticsBaseDomain?: string;
6313
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
6314
+ statusSetAt: string;
6315
+ supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6316
+ webStorageUsageInBytes: number;
6317
+ webStorageUsageInBytesSetAt: string;
6358
6318
  }
6359
- interface VarnishConfigExpiration {
6360
- maxVersions?: number;
6361
- retentionTime?: number;
6319
+ type ProjectServerDisableReason = "suspended";
6320
+ type ProjectServerStatus = "pending" | "ready" | "unready" | "suspended" | "migrating";
6321
+ interface ProjectServer {
6322
+ clusterName: string;
6323
+ createdAt: string;
6324
+ customerId: string;
6325
+ description: string;
6326
+ disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
6327
+ groupId: string;
6328
+ id: string;
6329
+ imageRefId?: string;
6330
+ /**
6331
+ * @deprecated
6332
+ * deprecated by property status
6333
+ */
6334
+ isReady: boolean;
6335
+ machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
6336
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
6337
+ shortId: string;
6338
+ statisticsBaseDomain?: string;
6339
+ status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
6340
+ storage: string;
6362
6341
  }
6363
- interface VarnishSoftwareConfigFileAccessToken {
6364
- accessToken: string;
6365
- expiresAt: string;
6342
+ interface ProjectVisitorSpec {
6343
+ storage: string;
6344
+ visitors: number;
6366
6345
  }
6367
- interface VarnishSoftwareSetting {
6346
+ interface DirectusDomain {
6347
+ /**
6348
+ * The authcode of the domain. Leave empty when mittwald can generate a authcode on its own
6349
+ */
6350
+ authCode?: string;
6351
+ /**
6352
+ * Leave empty when mittwald should keep the same domain owner
6353
+ */
6354
+ domainOwnerData?: string;
6368
6355
  name: string;
6369
- value: string;
6370
6356
  }
6371
- interface VerificationEmailDetectPhishingMailResponse {
6372
- result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
6357
+ interface DirectusEmailInbox {
6358
+ email: string;
6359
+ password: string;
6373
6360
  }
6374
- type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
6375
- type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
6376
- interface ActivitylogParameterProperty {
6377
- aggregate?: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6378
- name: string;
6361
+ interface ScreenshotTarget {
6362
+ domain: string;
6363
+ path?: string;
6364
+ scheme: "http" | "https";
6379
6365
  }
6380
- interface ActivitylogAppInstallationDesiredSystemSoftwareSet {
6381
- changes: {
6382
- after?: {
6383
- software: string;
6384
- softwareVersion: string;
6385
- updatePolicy: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
6386
- };
6387
- before?: {
6388
- software?: string;
6389
- softwareVersion?: string;
6390
- updatePolicy?: "UPDATE_POLICY_UNSPECIFIED" | "UPDATE_POLICY_NONE" | "UPDATE_POLICY_INHERITED_FROM_APP" | "UPDATE_POLICY_PATCH_LEVEL" | "UPDATE_POLICY_ALL";
6391
- };
6392
- };
6393
- name: "app.systemsoftware-set" | "app.systemsoftware-deleted";
6394
- parameters?: {
6395
- software: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6396
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6397
- };
6366
+ interface ScreenshotTask {
6367
+ executedAt?: string;
6368
+ fileReference?: string;
6369
+ id: string;
6370
+ priority: number;
6371
+ settings: MittwaldAPIV2.Components.Schemas.ScreenshotScreenshotSettings;
6372
+ target: MittwaldAPIV2.Components.Schemas.ScreenshotTarget;
6373
+ taskState?: MittwaldAPIV2.Components.Schemas.ScreenshotLifecycleState | MittwaldAPIV2.Components.Schemas.CommonsError;
6398
6374
  }
6399
- interface ActivitylogAppInstallationCopyRequested {
6400
- changes: {
6401
- after?: {
6402
- appId: string;
6403
- sourceAppInstallationId: string;
6404
- };
6405
- before?: {
6406
- appId?: string | null;
6407
- sourceAppInstallationId?: string | null;
6408
- };
6409
- };
6410
- name: "app.copy-requested";
6375
+ type ScreenshotLifecycleState = string;
6376
+ interface ScreenshotScreenshotSettings {
6377
+ dataType: "jpeg" | "png" | "webp";
6378
+ delay: number;
6379
+ height: number;
6380
+ quality: number;
6381
+ width: number;
6411
6382
  }
6412
- interface ActivitylogDnsCnameRecordSet {
6413
- changes: {
6414
- after?: {
6415
- cname: string;
6416
- };
6417
- before?: {
6418
- cname: string;
6419
- };
6420
- };
6421
- name: "dns.cname-record-set";
6422
- parameters: {
6423
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6424
- };
6383
+ type SshuserEntityTypes = "ssh" | "sftp";
6384
+ /**
6385
+ * The level of access for an SFTPUser.
6386
+ */
6387
+ type SshuserAccessLevel = "full" | "read" | "unspecified";
6388
+ /**
6389
+ * Method of authentication that a given SFTPUser or SSHuser supports.
6390
+ */
6391
+ type SshuserAuthType = "password" | "publicKey";
6392
+ /**
6393
+ * Method of authentication for an SFTPUser or SSHUser. Can be password or public-keys.
6394
+ */
6395
+ type SshuserAuthentication = {
6396
+ password: string;
6397
+ } | {
6398
+ publicKeys: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6399
+ };
6400
+ /**
6401
+ * A representation of an ssh-public-key.
6402
+ */
6403
+ interface SshuserPublicKey {
6404
+ comment: string;
6405
+ key: string;
6425
6406
  }
6426
- interface ActivitylogAppInstallationAppVersionSet {
6427
- changes: {
6428
- after?: {
6429
- appId: string;
6430
- appVersionId: string;
6431
- };
6432
- before?: {
6433
- appId?: string | null;
6434
- appVersionId?: string | null;
6435
- };
6436
- };
6437
- name: "app.version-set";
6407
+ /**
6408
+ * A representation of an SFTPUser.
6409
+ */
6410
+ interface SshuserSftpUser {
6411
+ accessLevel: MittwaldAPIV2.Components.Schemas.SshuserAccessLevel;
6412
+ active?: boolean;
6413
+ authUpdatedAt: string;
6414
+ createdAt: string;
6415
+ description: string;
6416
+ directories?: string[];
6417
+ expiresAt?: string;
6418
+ hasPassword: boolean;
6419
+ id: string;
6420
+ projectId: string;
6421
+ publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6422
+ updatedAt?: string;
6423
+ userName: string;
6438
6424
  }
6439
- interface ActivitylogDnsZoneDeleted {
6440
- changes: {};
6441
- name: "dns.zone-deleted";
6442
- parameters: {
6443
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6444
- };
6425
+ /**
6426
+ * A representation of an SSHUser.
6427
+ */
6428
+ interface SshuserSshUser {
6429
+ active?: boolean;
6430
+ authUpdatedAt: string;
6431
+ createdAt: string;
6432
+ description: string;
6433
+ expiresAt?: string;
6434
+ hasPassword: boolean;
6435
+ id: string;
6436
+ projectId: string;
6437
+ publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[];
6438
+ updatedAt?: string;
6439
+ userName: string;
6445
6440
  }
6446
- interface ActivitylogDatabaseVersionSet {
6447
- changes: {
6448
- after?: {
6449
- version: string;
6450
- };
6451
- before?: {
6452
- version: string;
6453
- };
6454
- };
6455
- name: "database.mysql-version-set" | "database.redis-version-set";
6456
- parameters: {
6457
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6458
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6441
+ interface SslCertificate {
6442
+ caBundle?: string;
6443
+ certificate?: string;
6444
+ certificateOrderId?: string;
6445
+ certificateRequestId: string;
6446
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
6447
+ commonName?: string;
6448
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6449
+ dnsCertSpec?: {
6450
+ cnameTarget?: string;
6451
+ status?: MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
6459
6452
  };
6453
+ dnsNames?: string[];
6454
+ id: string;
6455
+ isExpired?: boolean;
6456
+ issuer?: string;
6457
+ lastExpirationThresholdHit?: number;
6458
+ projectId: string;
6459
+ validFrom?: string;
6460
+ validTo?: string;
6460
6461
  }
6461
- interface ActivitylogDatabaseDescriptionSet {
6462
- changes: {
6463
- after?: {
6464
- description: string;
6465
- };
6466
- before?: {
6467
- description: string | null;
6468
- };
6469
- };
6470
- name: "database.mysql-description-set" | "database.redis-description-set";
6471
- parameters: {
6472
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6473
- };
6462
+ interface SslCertificateData {
6463
+ caBundle?: string;
6464
+ certificate?: string;
6465
+ signingRequest?: string;
6474
6466
  }
6475
- interface ActivitylogLinkedParameterProperty {
6476
- aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6477
- name: string;
6467
+ interface SslCertificateError {
6468
+ 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";
6478
6469
  }
6479
- interface ActivitylogDatabaseDeleted {
6480
- changes: {};
6481
- name: "database.mysql-deleted" | "database.redis-deleted";
6482
- parameters: {
6483
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6484
- };
6470
+ interface SslCertificateRequest {
6471
+ certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
6472
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
6473
+ commonName?: string;
6474
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6475
+ createdAt: string;
6476
+ dnsNames?: string[];
6477
+ id: string;
6478
+ isCompleted: boolean;
6479
+ issuer?: string;
6480
+ projectId: string;
6481
+ validFrom?: string;
6482
+ validTo?: string;
6485
6483
  }
6486
- interface ActivitylogDnsMxRecordSet {
6487
- changes: {
6488
- after?: {
6489
- mx: {}[];
6490
- };
6491
- before?: {
6492
- mx: {}[];
6493
- };
6494
- };
6495
- name: "dns.mx-record-set";
6496
- parameters: {
6497
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6498
- };
6484
+ interface SslCertificateRequestCreateRequest {
6485
+ certificate: string;
6486
+ privateKey: string;
6487
+ projectId: string;
6499
6488
  }
6500
- interface ActivitylogDnsTxtRecordSet {
6501
- changes: {
6502
- after?: {
6503
- txt: string[];
6504
- };
6505
- before?: {
6506
- txt: string[];
6507
- };
6508
- };
6509
- name: "dns.txt-record-set";
6510
- parameters: {
6511
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6512
- };
6489
+ interface SslCertificateRequestCreateResponse {
6490
+ commonName?: string;
6491
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
6492
+ dnsNames?: string[];
6493
+ id: string;
6494
+ issuer?: string;
6495
+ signingRequest?: string;
6496
+ validFrom?: string;
6497
+ validTo?: string;
6513
6498
  }
6514
- interface ActivitylogDnsZoneCreated {
6515
- changes: {
6516
- after?: {
6517
- domain: string;
6518
- };
6519
- before?: {
6520
- domain: string | null;
6521
- };
6522
- };
6523
- name: "dns.zone-created";
6524
- parameters: {
6525
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6526
- };
6499
+ interface SslCertificateRequestCreateWithCSRRequest {
6500
+ commonName: string;
6501
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
6502
+ projectId: string;
6503
+ }
6504
+ interface SslCertificateRequestCreateWithDNSRequest {
6505
+ commonName: string;
6506
+ projectId: string;
6507
+ }
6508
+ /**
6509
+ * Specifies the type of certificate.
6510
+ *
6511
+ * Possible values:
6512
+ * - `0` – `UNSPECIFIED`: The certificate type is not specified.
6513
+ * - `1` – `INTERNAL`: A certificate issued and managed internally by the system.
6514
+ * - `2` – `EXTERNAL`: A certificate provided by an external source and imported into the system.
6515
+ * - `3` – `DNS`: A certificate validated using DNS-based verification.
6516
+ *
6517
+ */
6518
+ type SslCertificateType = 0 | 1 | 2 | 3;
6519
+ interface SslCheckReplaceChanges {
6520
+ commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6521
+ dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
6522
+ issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
6523
+ validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6524
+ validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
6527
6525
  }
6528
- interface ActivitylogDatabaseMysqlNameSet {
6529
- changes: {
6530
- after?: {
6531
- name: string;
6532
- };
6533
- before?: {
6534
- name: string | null;
6535
- };
6536
- };
6537
- name: "database.mysql-name-set";
6538
- parameters: {
6539
- name: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6540
- };
6526
+ interface SslCheckReplaceDateChange {
6527
+ newValue: string;
6528
+ oldValue: string;
6541
6529
  }
6542
- interface ActivitylogDnsARecordSet {
6543
- changes: {
6544
- after?: {
6545
- aRecords: string[];
6546
- aaaaRecords: string[];
6547
- };
6548
- before?: {
6549
- aRecords: string[];
6550
- aaaaRecords: string[];
6551
- };
6552
- };
6553
- name: "dns.a-record-set";
6554
- parameters: {
6555
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6556
- };
6530
+ interface SslCheckReplaceFieldChange {
6531
+ newValue: string;
6532
+ oldValue: string;
6557
6533
  }
6558
- interface ActivitylogDatabaseCreated {
6559
- changes: {
6560
- after?: {
6561
- description: string;
6562
- name: string;
6563
- version: string;
6564
- };
6565
- before?: {
6566
- description?: string | null;
6567
- name?: string | null;
6568
- version?: string | null;
6569
- };
6570
- };
6571
- name: "database.mysql-created" | "database.redis-created";
6572
- parameters: {
6573
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6574
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6575
- };
6534
+ interface SslCheckReplaceCertificateResponse {
6535
+ changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
6536
+ errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
6537
+ isReplaceable: boolean;
6576
6538
  }
6577
- interface ActivitylogDatabaseMysqlUserCreated {
6578
- changes: {
6579
- after?: {
6580
- description: string;
6581
- externalAccess: boolean;
6582
- name: string;
6583
- permissions: {};
6584
- };
6585
- before?: {
6586
- description?: string | null;
6587
- externalAccess?: boolean | null;
6588
- name?: string | null;
6589
- permissions?: {} | null;
6590
- };
6591
- };
6592
- name: "database.mysql-user-created";
6593
- parameters: {
6594
- databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6595
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6596
- };
6539
+ interface SslCheckReplaceSliceChange {
6540
+ addedValues: string[];
6541
+ removedValues: string[];
6542
+ values: string[];
6597
6543
  }
6598
- interface ActivitylogAggregateReference {
6599
- aggregate: string;
6600
- domain: string;
6601
- id: string;
6544
+ interface SslContact {
6545
+ city?: string;
6546
+ company?: string;
6547
+ /**
6548
+ * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
6549
+ */
6550
+ country?: string;
6551
+ organizationalUnit?: string;
6552
+ state?: string;
6602
6553
  }
6603
- interface ActivitylogDnsSrvRecordSet {
6604
- changes: {
6605
- after?: {
6606
- srv: {}[];
6607
- };
6608
- before?: {
6609
- srv: {}[];
6610
- };
6611
- };
6612
- name: "dns.srv-record-set";
6613
- parameters: {
6614
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6615
- };
6554
+ interface SslDNSCertStatus {
6555
+ message?: string;
6556
+ status: MittwaldAPIV2.Components.Schemas.SslProjectCertificateStatus;
6557
+ updatedAt?: string;
6616
6558
  }
6617
- interface ActivitylogLogEntry {
6618
- 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;
6619
- aggregate: MittwaldAPIV2.Components.Schemas.ActivitylogAggregateReference;
6620
- dateTime: string;
6559
+ type SslProjectCertificateStatus = "issuing" | "ready" | "cnameError" | "error" | "unspecified";
6560
+ type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
6561
+ interface StoragespaceStatisticsCategory {
6562
+ kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
6563
+ resources?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsResource[];
6564
+ totalUsageInBytes: number;
6565
+ }
6566
+ type StoragespaceStatisticsKind = "server" | "project";
6567
+ interface StoragespaceStatisticsMeta {
6568
+ isExceeding?: boolean;
6621
6569
  /**
6622
- * Null or empty object. If set, the action was executed by an mittwald employee.
6570
+ * 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.
6623
6571
  */
6624
- impersonator?: {};
6625
- user?: {
6626
- id: string;
6627
- type: "user" | "extension";
6628
- };
6572
+ lastExceedanceLimitInBytes?: number;
6573
+ /**
6574
+ * 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.
6575
+ */
6576
+ lastTotalExceedanceInBytes?: number;
6577
+ /**
6578
+ * The last total exceedance date. It is retained as a historical record of the most recent exceedance and does not reset once set.
6579
+ */
6580
+ lastTotalExceedanceInBytesSetAt?: string;
6581
+ limitInBytes?: number;
6582
+ /**
6583
+ * If true, set notification threshold is used as limit for meta calculations. E.g. for projects with a parent server.
6584
+ */
6585
+ notificationThresholdUsedAsLimit?: boolean;
6586
+ /**
6587
+ * The current total exceedance in bytes.
6588
+ */
6589
+ totalExceedanceInBytes?: number;
6590
+ /**
6591
+ * The current total exceedance date.
6592
+ */
6593
+ totalExceedanceInBytesSetAt?: string;
6594
+ totalFreeInBytes?: number;
6595
+ totalFreeInPercentage?: number;
6596
+ totalUsageInBytes: number;
6597
+ totalUsageInPercentage?: number;
6629
6598
  }
6630
- interface ActivitylogDatabaseMysqlUserDeleted {
6631
- changes: {};
6632
- name: "database.mysql-user-deleted";
6633
- parameters: {
6634
- databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6635
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6636
- };
6599
+ interface StoragespaceStatisticsResource {
6600
+ description?: string;
6601
+ id: string;
6602
+ name: string;
6603
+ usageInBytes: number;
6604
+ usageInBytesSetAt: string;
6637
6605
  }
6638
- /**
6639
- * Fallback when no matching action is found
6640
- */
6641
- interface ActivitylogGenericAction {
6642
- changes: {
6643
- [k: string]: {
6644
- after?: {
6645
- [k: string]: unknown;
6646
- };
6647
- before?: {
6648
- [k: string]: unknown;
6649
- };
6650
- };
6651
- };
6606
+ interface StoragespaceStatistics {
6607
+ childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
6608
+ description?: string;
6609
+ id: string;
6610
+ kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
6611
+ meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
6652
6612
  name: string;
6653
- parameters: {
6654
- [k: string]: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6655
- };
6613
+ notificationThresholdInBytes?: number;
6614
+ statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
6656
6615
  }
6657
- interface ActivitylogDnsCaaRecordSet {
6658
- changes: {
6659
- after?: {
6660
- caa: {}[];
6661
- };
6662
- before?: {
6663
- caa: {}[];
6664
- };
6665
- };
6666
- name: "dns.caa-record-set";
6667
- parameters: {
6668
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6669
- };
6616
+ interface TaskAggregateReference {
6617
+ aggregate: string;
6618
+ domain: string;
6619
+ id: string;
6670
6620
  }
6671
- interface ActivitylogDatabaseMysqlUserUpdated {
6672
- changes: {
6673
- after?: {
6674
- description: string;
6675
- externalAccess: boolean;
6676
- permissions: {};
6677
- };
6678
- before?: {
6679
- description: string | null;
6680
- externalAccess: boolean | null;
6681
- permissions: {};
6682
- };
6683
- };
6684
- name: "database.mysql-user-updated";
6685
- parameters: {
6686
- databaseName: MittwaldAPIV2.Components.Schemas.ActivitylogLinkedParameterProperty;
6687
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6621
+ interface SignupAccount {
6622
+ email?: string;
6623
+ /**
6624
+ * The users mfa details.
6625
+ */
6626
+ mfaDetails?: {
6627
+ mfaConfirmed?: boolean;
6628
+ mfaInitialized?: boolean;
6688
6629
  };
6630
+ passwordUpdatedAt?: string;
6631
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6632
+ userId?: string;
6689
6633
  }
6690
- interface ProjectProjectListItem {
6691
- backupStorageUsageInBytes: number;
6692
- backupStorageUsageInBytesSetAt: string;
6693
- createdAt: string;
6694
- customerId: string;
6695
- customerMeta: {
6696
- id: string;
6697
- };
6634
+ interface SignupApiToken {
6635
+ apiTokenId: string;
6636
+ createdAt: string;
6698
6637
  description: string;
6699
- disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
6700
- disabledAt?: string;
6701
- enabled: boolean;
6638
+ expiresAt?: string;
6639
+ roles: ("api_read" | "api_write")[];
6640
+ }
6641
+ interface SignupDeviceInfo {
6642
+ browser?: string;
6643
+ model?: string;
6644
+ os?: string;
6645
+ type?: string;
6646
+ }
6647
+ interface SignupDomainError {
6702
6648
  /**
6703
- * @deprecated
6704
- * Deprecated by 'supportedFeatures'.
6649
+ * A json object, given further information about the error
6705
6650
  */
6706
- features?: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6707
- id: string;
6708
- imageRefId?: string;
6651
+ info?: {};
6709
6652
  /**
6710
- * @deprecated
6711
- * deprecated
6653
+ * Some more detailed information about the error
6712
6654
  */
6713
- isReady: boolean;
6714
- projectHostingId?: string;
6715
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
6716
- serverGroupId: string;
6717
- serverId?: string;
6718
- shortId: string;
6719
- status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
6720
- statusSetAt: string;
6721
- supportedFeatures: MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
6722
- webStorageUsageInBytes: number;
6723
- webStorageUsageInBytesSetAt: string;
6655
+ message: string;
6656
+ /**
6657
+ * Unique key for the error type
6658
+ */
6659
+ name: string;
6724
6660
  }
6725
- type DomainmigrationDNSRecordType = "A" | "AAAA" | "TXT" | "MX" | "CNAME" | "SRV" | "CAA" | "NS";
6726
- interface DomainmigrationNonMigratableDomain {
6727
- hostname: string;
6728
- issues: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReasons;
6729
- migratable: false;
6661
+ interface SignupLocation {
6662
+ city?: string;
6663
+ country?: string;
6664
+ ipAddress?: string;
6730
6665
  }
6731
- /**
6732
- * 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.
6733
- */
6734
- interface DomainmigrationDomainNotMigratableValidationError {
6735
- context: {
6736
- reason: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason;
6737
- [k: string]: string;
6666
+ interface SignupOAuthClient {
6667
+ allowedGrantTypes?: string[];
6668
+ allowedRedirectUris?: string[];
6669
+ allowedScopes?: string[];
6670
+ contributorId: string;
6671
+ description?: string;
6672
+ humanReadableName: string;
6673
+ id: string;
6674
+ }
6675
+ interface SignupProfile {
6676
+ email?: string;
6677
+ /**
6678
+ * the users mfa details
6679
+ */
6680
+ mfaDetails?: {
6681
+ mfaConfirmed?: boolean;
6682
+ mfaInitialized?: boolean;
6738
6683
  };
6684
+ passwordUpdatedAt?: string;
6685
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6686
+ userId?: string;
6687
+ }
6688
+ interface UserCustomerMembership {
6689
+ expiresAt?: string;
6690
+ id: string;
6691
+ memberSince: string;
6692
+ role: "owner" | "member" | "accountant";
6693
+ }
6694
+ interface UserUserFeedback {
6695
+ id: string;
6739
6696
  message: string;
6697
+ origin: string;
6698
+ subject: string;
6699
+ vote: number;
6700
+ }
6701
+ interface UserProjectMembership {
6702
+ expiresAt?: string;
6703
+ id?: string;
6704
+ inherited: boolean;
6705
+ memberSince: string;
6706
+ role: "owner" | "emailadmin" | "external" | "id";
6707
+ }
6708
+ interface UserUser {
6709
+ avatarRef?: string;
6710
+ customerMemberships?: {
6711
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
6712
+ };
6713
+ email?: string;
6740
6714
  /**
6741
- * The affected domain.
6715
+ * Additional information about mittwald employees.
6742
6716
  */
6743
- path: string;
6717
+ employeeInformation?: {
6718
+ department: string;
6719
+ };
6744
6720
  /**
6745
- * Discriminator for this branch; always DOMAIN_NOT_MIGRATABLE.
6721
+ * Truth value, whether the user is a mittwald employee
6746
6722
  */
6747
- type: "DOMAIN_NOT_MIGRATABLE";
6748
- }
6749
- interface DomainmigrationDomainNotMigratableReasons {
6750
- reasonCodes: MittwaldAPIV2.Components.Schemas.DomainmigrationDomainNotMigratableReason[];
6723
+ isEmployee?: boolean;
6724
+ mfa?: {
6725
+ active: boolean;
6726
+ setup: boolean;
6727
+ };
6728
+ passwordUpdatedAt?: string;
6729
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
6730
+ phoneNumber?: string;
6731
+ projectMemberships?: {
6732
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
6733
+ };
6734
+ registeredAt?: string;
6735
+ userId: string;
6751
6736
  }
6752
- /**
6753
- * Typed reason a domain cannot be migrated.
6754
- */
6755
- 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" | "DOMAIN_NOT_MIGRATABLE_REASON_CONTRACT_DATE_OUT_OF_RANGE";
6756
- interface DomainmigrationMigratableDomain {
6757
- hostname: string;
6758
- migratable: true;
6759
- migrationData: MittwaldAPIV2.Components.Schemas.DomainmigrationMigrationData;
6737
+ interface SignupSshKey {
6738
+ algorithm: string;
6739
+ comment: string;
6740
+ createdAt: string;
6741
+ expiresAt?: string;
6742
+ fingerprint: string;
6743
+ key: string;
6744
+ sshKeyId: string;
6760
6745
  }
6761
- interface DomainmigrationCheckMigrationResponse {
6762
- allDomainsMigratable: boolean;
6763
- domains: (MittwaldAPIV2.Components.Schemas.DomainmigrationMigratableDomain | MittwaldAPIV2.Components.Schemas.DomainmigrationNonMigratableDomain)[];
6764
- generalIssues?: MittwaldAPIV2.Components.Schemas.DomainmigrationMigrationNotPossibleReasons;
6765
- generallyPossible: boolean;
6746
+ interface PollUserPollSettings {
6747
+ completedAt?: string;
6748
+ dontShowUntil?: string;
6749
+ ignoredAt?: string;
6750
+ shouldShow: boolean;
6751
+ status: "completed" | "muted" | "ignored" | "new";
6752
+ userId: string;
6766
6753
  }
6767
- interface DomainmigrationSubdomain {
6768
- dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
6769
- hostname: string;
6770
- target?: string;
6754
+ interface SignupUserSession {
6755
+ created: string;
6756
+ device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
6757
+ lastAccess?: string;
6758
+ location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
6759
+ tokenId: string;
6771
6760
  }
6772
- interface DomainmigrationDNSRecord {
6773
- name?: string;
6774
- ttl: number;
6775
- type: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecordType;
6776
- value: string;
6761
+ interface VarnishConfigRevision {
6762
+ expire?: number;
6763
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6764
+ note?: string;
6765
+ revision: number;
6766
+ updated: string;
6777
6767
  }
6778
- interface DomainmigrationMigrationData {
6779
- dnsRecords: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
6768
+ interface VarnishConfigTemplate {
6780
6769
  /**
6781
- * Monthly net domain price in EUR cents.
6770
+ * A set of config file references.
6782
6771
  */
6783
- monthlyPriceCents: number;
6784
- subdomains: MittwaldAPIV2.Components.Schemas.DomainmigrationSubdomain[];
6772
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
6773
+ isGlobal?: boolean;
6774
+ note?: string;
6775
+ projectId?: string;
6776
+ softwareConfigTemplateId: string;
6777
+ softwareTemplateId: string;
6778
+ updatedAt?: string;
6785
6779
  }
6786
- interface DomainmigrationMigrationNotPossibleReasons {
6787
- customerIsNotAllowedToOrder: boolean;
6788
- legacyTokenNotAuthorized: boolean;
6789
- noDomainsInSource: boolean;
6780
+ interface VarnishConfigFile {
6781
+ content: string;
6782
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6790
6783
  }
6791
- interface DomainmigrationMigration {
6792
- createdAt?: string;
6793
- domains: {
6794
- coabData?: {
6795
- dnsRecords?: MittwaldAPIV2.Components.Schemas.DomainmigrationDNSRecord[];
6796
- handleData?: {
6797
- handleFields?: {
6798
- name: string;
6799
- value: string;
6800
- }[];
6801
- handleRef?: string;
6802
- };
6803
- nameservers?: string[];
6804
- subdomains?: MittwaldAPIV2.Components.Schemas.DomainmigrationSubdomain[];
6805
- };
6806
- domain: string;
6807
- domainId: string;
6808
- state: "pending" | "succeeded" | "failed";
6809
- }[];
6810
- finishedAt?: string;
6811
- id: string;
6812
- pAccount: string;
6784
+ interface VarnishConfigFileMetadata {
6785
+ name: string;
6786
+ path?: string;
6787
+ }
6788
+ interface VarnishConfigFileRef {
6789
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
6790
+ refId: string;
6791
+ }
6792
+ interface VarnishGlobalConfigTemplate {
6793
+ data: string;
6794
+ name: string;
6795
+ updatedAt: string;
6796
+ }
6797
+ interface VarnishSoftware {
6798
+ config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
6813
6799
  projectId: string;
6800
+ settings?: {
6801
+ [k: string]: string;
6802
+ };
6803
+ softwareId: string;
6804
+ softwareTemplateId: string;
6805
+ softwareVersion: string;
6806
+ updatedAt: string;
6807
+ }
6808
+ interface VarnishSoftwareConfig {
6809
+ configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
6810
+ latestConfigRevision?: number;
6811
+ revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
6812
+ }
6813
+ interface VarnishConfigExpiration {
6814
+ maxVersions?: number;
6815
+ retentionTime?: number;
6816
+ }
6817
+ interface VarnishSoftwareConfigFileAccessToken {
6818
+ accessToken: string;
6819
+ expiresAt: string;
6820
+ }
6821
+ interface VarnishSoftwareSetting {
6822
+ name: string;
6823
+ value: string;
6814
6824
  }
6815
- interface ConversationBasicConversation {
6816
- category?: MittwaldAPIV2.Components.Schemas.ConversationCategory;
6817
- conversationId: string;
6818
- createdAt: string;
6819
- lastMessageAt?: string;
6820
- mainUser: MittwaldAPIV2.Components.Schemas.ConversationUser;
6821
- notificationRoles?: MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[];
6822
- relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference;
6823
- relations?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[];
6824
- sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationShareableAggregateReference;
6825
- shortId: string;
6826
- status: MittwaldAPIV2.Components.Schemas.ConversationStatus;
6827
- title: string;
6828
- visibility: "shared" | "private";
6825
+ interface VerificationEmailDetectPhishingMailResponse {
6826
+ result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
6829
6827
  }
6828
+ type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
6829
+ type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
6830
6830
  interface CommonsAddress {
6831
6831
  street: string;
6832
6832
  houseNumber: string;
@@ -26950,6 +26950,59 @@ export declare namespace MittwaldAPIV2 {
26950
26950
  }
26951
26951
  }
26952
26952
  }
26953
+ namespace V2CustomersCustomerIdProjects {
26954
+ namespace Get {
26955
+ namespace Parameters {
26956
+ type Path = {
26957
+ customerId: string;
26958
+ };
26959
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26960
+ type Query = {
26961
+ searchTerm?: string;
26962
+ limit?: number;
26963
+ skip?: number;
26964
+ page?: number;
26965
+ sort?: "createdAt" | "description";
26966
+ order?: "asc" | "desc";
26967
+ };
26968
+ }
26969
+ namespace Responses {
26970
+ namespace $200 {
26971
+ namespace Content {
26972
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[];
26973
+ }
26974
+ }
26975
+ namespace $400 {
26976
+ namespace Content {
26977
+ interface ApplicationJson {
26978
+ [k: string]: unknown;
26979
+ }
26980
+ }
26981
+ }
26982
+ namespace $403 {
26983
+ namespace Content {
26984
+ interface ApplicationJson {
26985
+ [k: string]: unknown;
26986
+ }
26987
+ }
26988
+ }
26989
+ namespace $429 {
26990
+ namespace Content {
26991
+ interface ApplicationJson {
26992
+ [k: string]: unknown;
26993
+ }
26994
+ }
26995
+ }
26996
+ namespace Default {
26997
+ namespace Content {
26998
+ interface ApplicationJson {
26999
+ [k: string]: unknown;
27000
+ }
27001
+ }
27002
+ }
27003
+ }
27004
+ }
27005
+ }
26953
27006
  namespace V2ProjectsProjectIdMemberships {
26954
27007
  namespace Get {
26955
27008
  namespace Parameters {
@@ -26997,6 +27050,71 @@ export declare namespace MittwaldAPIV2 {
26997
27050
  }
26998
27051
  }
26999
27052
  }
27053
+ namespace V2ProjectsProjectIdActivities {
27054
+ namespace Get {
27055
+ namespace Parameters {
27056
+ type Path = {
27057
+ projectId: string;
27058
+ };
27059
+ type Header = {};
27060
+ type Query = {
27061
+ aggregateName?: string;
27062
+ aggregateDomain?: string;
27063
+ aggregateId?: string;
27064
+ startTime?: string;
27065
+ endTime?: string;
27066
+ fulltextSearch?: string;
27067
+ limit?: number;
27068
+ skip?: number;
27069
+ page?: number;
27070
+ sort?: "dateTime";
27071
+ order?: "asc" | "desc";
27072
+ };
27073
+ }
27074
+ namespace Responses {
27075
+ namespace $200 {
27076
+ namespace Content {
27077
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[];
27078
+ }
27079
+ }
27080
+ namespace $400 {
27081
+ namespace Content {
27082
+ interface ApplicationJson {
27083
+ [k: string]: unknown;
27084
+ }
27085
+ }
27086
+ }
27087
+ namespace $403 {
27088
+ namespace Content {
27089
+ interface ApplicationJson {
27090
+ [k: string]: unknown;
27091
+ }
27092
+ }
27093
+ }
27094
+ namespace $404 {
27095
+ namespace Content {
27096
+ interface ApplicationJson {
27097
+ [k: string]: unknown;
27098
+ }
27099
+ }
27100
+ }
27101
+ namespace $429 {
27102
+ namespace Content {
27103
+ interface ApplicationJson {
27104
+ [k: string]: unknown;
27105
+ }
27106
+ }
27107
+ }
27108
+ namespace Default {
27109
+ namespace Content {
27110
+ interface ApplicationJson {
27111
+ [k: string]: unknown;
27112
+ }
27113
+ }
27114
+ }
27115
+ }
27116
+ }
27117
+ }
27000
27118
  namespace V2ProjectInvites {
27001
27119
  namespace Get {
27002
27120
  namespace Parameters {
@@ -31135,123 +31253,5 @@ export declare namespace MittwaldAPIV2 {
31135
31253
  }
31136
31254
  }
31137
31255
  }
31138
- namespace V2ProjectsProjectIdActivities {
31139
- namespace Get {
31140
- namespace Parameters {
31141
- type Path = {
31142
- projectId: string;
31143
- };
31144
- type Header = {};
31145
- type Query = {
31146
- aggregateName?: string;
31147
- aggregateDomain?: string;
31148
- aggregateId?: string;
31149
- startTime?: string;
31150
- endTime?: string;
31151
- fulltextSearch?: string;
31152
- limit?: number;
31153
- skip?: number;
31154
- page?: number;
31155
- sort?: "dateTime";
31156
- order?: "asc" | "desc";
31157
- };
31158
- }
31159
- namespace Responses {
31160
- namespace $200 {
31161
- namespace Content {
31162
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[];
31163
- }
31164
- }
31165
- namespace $400 {
31166
- namespace Content {
31167
- interface ApplicationJson {
31168
- [k: string]: unknown;
31169
- }
31170
- }
31171
- }
31172
- namespace $403 {
31173
- namespace Content {
31174
- interface ApplicationJson {
31175
- [k: string]: unknown;
31176
- }
31177
- }
31178
- }
31179
- namespace $404 {
31180
- namespace Content {
31181
- interface ApplicationJson {
31182
- [k: string]: unknown;
31183
- }
31184
- }
31185
- }
31186
- namespace $429 {
31187
- namespace Content {
31188
- interface ApplicationJson {
31189
- [k: string]: unknown;
31190
- }
31191
- }
31192
- }
31193
- namespace Default {
31194
- namespace Content {
31195
- interface ApplicationJson {
31196
- [k: string]: unknown;
31197
- }
31198
- }
31199
- }
31200
- }
31201
- }
31202
- }
31203
- namespace V2CustomersCustomerIdProjects {
31204
- namespace Get {
31205
- namespace Parameters {
31206
- type Path = {
31207
- customerId: string;
31208
- };
31209
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31210
- type Query = {
31211
- searchTerm?: string;
31212
- limit?: number;
31213
- skip?: number;
31214
- page?: number;
31215
- sort?: "createdAt" | "description";
31216
- order?: "asc" | "desc";
31217
- };
31218
- }
31219
- namespace Responses {
31220
- namespace $200 {
31221
- namespace Content {
31222
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[];
31223
- }
31224
- }
31225
- namespace $400 {
31226
- namespace Content {
31227
- interface ApplicationJson {
31228
- [k: string]: unknown;
31229
- }
31230
- }
31231
- }
31232
- namespace $403 {
31233
- namespace Content {
31234
- interface ApplicationJson {
31235
- [k: string]: unknown;
31236
- }
31237
- }
31238
- }
31239
- namespace $429 {
31240
- namespace Content {
31241
- interface ApplicationJson {
31242
- [k: string]: unknown;
31243
- }
31244
- }
31245
- }
31246
- namespace Default {
31247
- namespace Content {
31248
- interface ApplicationJson {
31249
- [k: string]: unknown;
31250
- }
31251
- }
31252
- }
31253
- }
31254
- }
31255
- }
31256
31256
  }
31257
31257
  }