@mittwald/api-client 4.505.0 → 4.507.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.
@@ -1718,22 +1718,6 @@ export declare namespace MittwaldAPIV2 {
1718
1718
  type RequestData = InferredRequestData<typeof descriptors.sslListCertificates>;
1719
1719
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificates, TStatus>;
1720
1720
  }
1721
- namespace StoragespaceGetProjectStatistics {
1722
- type RequestData = InferredRequestData<typeof descriptors.storagespaceGetProjectStatistics>;
1723
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetProjectStatistics, TStatus>;
1724
- }
1725
- namespace StoragespaceUpdateProjectStatistics {
1726
- type RequestData = InferredRequestData<typeof descriptors.storagespaceUpdateProjectStatistics>;
1727
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceUpdateProjectStatistics, TStatus>;
1728
- }
1729
- namespace StoragespaceGetServerStatistics {
1730
- type RequestData = InferredRequestData<typeof descriptors.storagespaceGetServerStatistics>;
1731
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetServerStatistics, TStatus>;
1732
- }
1733
- namespace StoragespaceUpdateServerStatistics {
1734
- type RequestData = InferredRequestData<typeof descriptors.storagespaceUpdateServerStatistics>;
1735
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceUpdateServerStatistics, TStatus>;
1736
- }
1737
1721
  namespace UserAddPhoneNumber {
1738
1722
  type RequestData = InferredRequestData<typeof descriptors.userAddPhoneNumber>;
1739
1723
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAddPhoneNumber, TStatus>;
@@ -1970,6 +1954,22 @@ export declare namespace MittwaldAPIV2 {
1970
1954
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1971
1955
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1972
1956
  }
1957
+ namespace StoragespaceGetServerStatistics {
1958
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceGetServerStatistics>;
1959
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetServerStatistics, TStatus>;
1960
+ }
1961
+ namespace StoragespaceUpdateServerStatistics {
1962
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceUpdateServerStatistics>;
1963
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceUpdateServerStatistics, TStatus>;
1964
+ }
1965
+ namespace StoragespaceGetProjectStatistics {
1966
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceGetProjectStatistics>;
1967
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetProjectStatistics, TStatus>;
1968
+ }
1969
+ namespace StoragespaceUpdateProjectStatistics {
1970
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceUpdateProjectStatistics>;
1971
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceUpdateProjectStatistics, TStatus>;
1972
+ }
1973
1973
  }
1974
1974
  namespace Components {
1975
1975
  namespace Schemas {
@@ -2963,24 +2963,19 @@ export declare namespace MittwaldAPIV2 {
2963
2963
  [k: string]: string;
2964
2964
  };
2965
2965
  /**
2966
- * The image to run, in the usual format also used by `docker run` and `docker compose`. When
2967
- * the image is pulled from a private registry, make sure to create the registry first
2968
- * using the `container-create-registry` endpoint (you can push the image later, although
2969
- * the container will remain in a pending state until the image is actually available).
2970
- *
2971
- * The appropriate registry is matched by hostname.
2966
+ * The image to run, in the usual format also used by `docker run` and `docker compose`. The image must exist and be accessible when the request is made, because its digest (and, for a new Service, the user it runs as) is resolved at that time; otherwise the request is rejected. Changing the image of an existing Service keeps the user that was resolved when the Service was created. For an image from a private registry, create a Registry with matching credentials first (`POST /v2/projects/{projectId}/registries`); the Registry is matched by the registry host of the image reference.
2972
2967
  *
2973
2968
  */
2974
2969
  image: string;
2975
2970
  /**
2976
- * Exposed ports. Follows the format `<public-port>:<container-port>/<protocol>`. Exposed ports can be accessed from other containers (or managed apps) within the same project. To expose a port publicly, connect it with an ingress resource. A service may expose at most 200 port entries, and a port range may span at most 800 ports.
2971
+ * Ports exposed by this container. Each item has the format `<port>[/<protocol>]` or `<port>:<port>[/<protocol>]`, where `<port>` is a single port or a range such as `8000-8010`. When both sides are given, they must be identical; mapping a port to a different number is not supported. `<protocol>` is `tcp` (default), `udp` or `sctp`. Exposed ports can be accessed from containers of the same Stack and from managed apps in the same project, but not from containers of other Stacks, and are not publicly reachable; to expose a port publicly, connect it with an ingress resource. A service may expose at most 200 port entries, and a port range may span at most 800 ports.
2977
2972
  *
2978
2973
  *
2979
2974
  * @maxItems 200
2980
2975
  */
2981
2976
  ports?: string[];
2982
2977
  /**
2983
- * Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
2978
+ * Restart policy for the container, using the values of the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` or `unless-stopped`. `unless-stopped` currently behaves like `on-failure`, a maximum retry count (`on-failure:<max-retries>`) is accepted but ignored, and unrecognized values are treated as `on-failure`. Defaults to `on-failure`, so omitting it resets the restart policy of an existing service to `on-failure`.
2984
2979
  *
2985
2980
  */
2986
2981
  restart?: string;
@@ -2990,7 +2985,7 @@ export declare namespace MittwaldAPIV2 {
2990
2985
  */
2991
2986
  restartPolicy?: string;
2992
2987
  /**
2993
- * Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
2988
+ * Volume mounts for this container. Each item has the format `<source>:<target>`; access-mode suffixes such as `:ro` are not supported. `<target>` is an absolute path inside the container. `<source>` is either the name of a Volume of this Stack (declared in the same request or already existing), or an absolute path in the (always present) project file system, which is shared among containers and managed apps within a project. Mounting the root of the project file system (`/`) is not supported.
2994
2989
  *
2995
2990
  */
2996
2991
  volumes?: string[];
@@ -3048,24 +3043,19 @@ export declare namespace MittwaldAPIV2 {
3048
3043
  [k: string]: string;
3049
3044
  };
3050
3045
  /**
3051
- * The image to run, in the usual format also used by `docker run` and `docker compose`. When
3052
- * the image is pulled from a private registry, make sure to create the registry first
3053
- * using the `container-create-registry` endpoint (you can push the image later, although
3054
- * the container will remain in a pending state until the image is actually available).
3055
- *
3056
- * The appropriate registry is matched by hostname.
3046
+ * The image to run, in the usual format also used by `docker run` and `docker compose`. The image must exist and be accessible when the request is made, because its digest (and, for a new Service, the user it runs as) is resolved at that time; otherwise the request is rejected. Changing the image of an existing Service keeps the user that was resolved when the Service was created. For an image from a private registry, create a Registry with matching credentials first (`POST /v2/projects/{projectId}/registries`); the Registry is matched by the registry host of the image reference.
3057
3047
  *
3058
3048
  */
3059
3049
  image?: string;
3060
3050
  /**
3061
- * Exposed ports. Follows the format `<public-port>:<container-port>/<protocol>`. Exposed ports can be accessed from other containers (or managed apps) within the same project. To expose a port publicly, connect it with an ingress resource. A service may expose at most 200 port entries, and a port range may span at most 800 ports.
3051
+ * Ports exposed by this container. Each item has the format `<port>[/<protocol>]` or `<port>:<port>[/<protocol>]`, where `<port>` is a single port or a range such as `8000-8010`. When both sides are given, they must be identical; mapping a port to a different number is not supported. `<protocol>` is `tcp` (default), `udp` or `sctp`. Exposed ports can be accessed from containers of the same Stack and from managed apps in the same project, but not from containers of other Stacks, and are not publicly reachable; to expose a port publicly, connect it with an ingress resource. A service may expose at most 200 port entries, and a port range may span at most 800 ports.
3062
3052
  *
3063
3053
  *
3064
3054
  * @maxItems 200
3065
3055
  */
3066
3056
  ports?: string[];
3067
3057
  /**
3068
- * Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
3058
+ * Restart policy for the container, using the values of the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` or `unless-stopped`. `unless-stopped` currently behaves like `on-failure`, a maximum retry count (`on-failure:<max-retries>`) is accepted but ignored, and unrecognized values are treated as `on-failure`. When creating a new service, it defaults to `on-failure`; when omitted for an existing service, it is left unchanged.
3069
3059
  *
3070
3060
  */
3071
3061
  restart?: string;
@@ -3075,7 +3065,7 @@ export declare namespace MittwaldAPIV2 {
3075
3065
  */
3076
3066
  restartPolicy?: string;
3077
3067
  /**
3078
- * Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
3068
+ * Volume mounts for this container. Each item has the format `<source>:<target>`; access-mode suffixes such as `:ro` are not supported. `<target>` is an absolute path inside the container. `<source>` is either the name of a Volume of this Stack (declared in the same request or already existing), or an absolute path in the (always present) project file system, which is shared among containers and managed apps within a project. Mounting the root of the project file system (`/`) is not supported.
3079
3069
  *
3080
3070
  */
3081
3071
  volumes?: string[];
@@ -3092,13 +3082,7 @@ export declare namespace MittwaldAPIV2 {
3092
3082
  */
3093
3083
  cpus?: string;
3094
3084
  /**
3095
- * Memory limit for the container. The value can be specified in bytes or using a suffix to indicate
3096
- * the unit.
3097
- *
3098
- * The format matches the one [used by Docker Compose](https://docs.docker.com/reference/compose-file/extension/#specifying-byte-values):
3099
- *
3100
- * > Values express a byte value as a string in `{amount}{byte unit}` format: The supported units are
3101
- * `b` (bytes), `k` or `kb` (kilo bytes), `m` or `mb` (mega bytes) and `g` or `gb` (giga bytes).
3085
+ * Memory limit for the container, as an integer followed by a unit, similar to the [byte values used by Docker Compose](https://docs.docker.com/reference/compose-file/extension/#specifying-byte-values): `b` (bytes), `k` or `kb` (kilobytes), `m` or `mb` (megabytes) and `g` or `gb` (gigabytes). Units must be lowercase and are decimal (`1g` = 1,000,000,000 bytes). A number without a unit is not accepted.
3102
3086
  *
3103
3087
  */
3104
3088
  memory?: string;
@@ -3119,10 +3103,14 @@ export declare namespace MittwaldAPIV2 {
3119
3103
  pendingState: MittwaldAPIV2.Components.Schemas.ContainerServiceState;
3120
3104
  projectId: string;
3121
3105
  requiresRecreate: boolean;
3106
+ /**
3107
+ * Restart policy of the container. `unless-stopped` currently behaves like `on-failure`.
3108
+ *
3109
+ */
3122
3110
  restartPolicy?: "no" | "always" | "on-failure" | "unless-stopped";
3123
3111
  serviceName: string;
3124
3112
  /**
3125
- * A short ID of the container. This is a unique identifier for the container within the project, and can be used to reference it in other API calls, or for SSH connections.
3113
+ * A short ID of the container, unique within the project. It can be used for SSH connections. API routes address services by `id`, not by `shortId`.
3126
3114
  *
3127
3115
  */
3128
3116
  shortId: string;
@@ -3153,12 +3141,7 @@ export declare namespace MittwaldAPIV2 {
3153
3141
  [k: string]: string;
3154
3142
  };
3155
3143
  /**
3156
- * The image to run, in the usual format also used by `docker run` and `docker compose`. When
3157
- * the image is pulled from a private registry, make sure to create the registry first
3158
- * using the `container-create-registry` endpoint (you can push the image later, although
3159
- * the container will remain in a pending state until the image is actually available).
3160
- *
3161
- * The appropriate registry is matched by hostname.
3144
+ * The image, in the usual format also used by `docker run` and `docker compose`.
3162
3145
  *
3163
3146
  */
3164
3147
  image: string;
@@ -3168,17 +3151,21 @@ export declare namespace MittwaldAPIV2 {
3168
3151
  */
3169
3152
  imageDigest?: string;
3170
3153
  /**
3171
- * Exposed ports. Follows the format `<public-port>:<container-port>/<protocol>`. Exposed ports can be accessed from other containers (or managed apps) within the same project. To expose a port publicly, connect it with an ingress resource.
3154
+ * Ports exposed by this container, in the format `<port>/<protocol>` (`<port>` may be a range such as `8000-8010`). Exposed ports can be accessed from containers of the same Stack and from managed apps in the same project, but not from containers of other Stacks, and are not publicly reachable; to expose a port publicly, connect it with an ingress resource.
3172
3155
  *
3173
3156
  */
3174
3157
  ports?: string[];
3175
3158
  /**
3176
- * Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
3159
+ * Volume mounts of this container in the format `<source>:<target>[:ro]`, where `<source>` is either the name of a Volume of this Stack or an absolute path in the project file system, and `<target>` is an absolute path inside the container. Read-only mounts are shown with an `:ro` suffix; requests currently cannot create them, but existing Services may contain them.
3177
3160
  *
3178
3161
  */
3179
3162
  volumes?: string[];
3180
3163
  }
3181
- type ContainerServiceStatus = "running" | "stopped" | "error" | "creating" | "starting" | "stopping";
3164
+ /**
3165
+ * Status of a Service. `creating`: the Service was declared and has not reported a status yet. `starting`: the container is being started. `running`: the container is ready. `stopping`: the container is being stopped or terminated. `stopped`: the container was stopped or has exited. `error`: the container or its image is in an error state; see the Service's `message` for details. `unspecified`: the cluster currently reports no decisive condition for the container.
3166
+ *
3167
+ */
3168
+ type ContainerServiceStatus = "running" | "stopped" | "error" | "creating" | "starting" | "stopping" | "unspecified";
3182
3169
  interface ContainerSetRegistryCredentials {
3183
3170
  /**
3184
3171
  * Your registry password or access token.
@@ -3195,7 +3182,8 @@ export declare namespace MittwaldAPIV2 {
3195
3182
  disabled: boolean;
3196
3183
  id: string;
3197
3184
  /**
3198
- * Prefix for all service-names in this stack.
3185
+ * Generated, immutable identifier of the Stack (e.g. `st-XXXXXX`). Managed apps in the same project can resolve a container of this Stack as `<serviceName>.<prefix>`; containers of the same Stack can use the service name alone, and containers of other Stacks cannot communicate with it. The prefix is also the directory of the Stack's service log files (`/var/log/container/<prefix>/` in the project file system).
3186
+ *
3199
3187
  */
3200
3188
  prefix: string;
3201
3189
  projectId: string;
@@ -3301,7 +3289,8 @@ export declare namespace MittwaldAPIV2 {
3301
3289
  linkedServices?: string[];
3302
3290
  name: string;
3303
3291
  /**
3304
- * Whether the Volume is attached to a Stack.
3292
+ * Whether no service of the Stack mounts this Volume. An orphaned Volume still belongs to its Stack and keeps its data until it is deleted explicitly using `DELETE /v2/stacks/{stackId}/volumes/{volumeId}`.
3293
+ *
3305
3294
  */
3306
3295
  orphaned: boolean;
3307
3296
  stackId: string;
@@ -8524,13 +8513,260 @@ export declare namespace MittwaldAPIV2 {
8524
8513
  updatedAt?: string;
8525
8514
  }
8526
8515
  type SslProjectCertificateStatus = "issuing" | "ready" | "cnameError" | "error" | "unspecified";
8516
+ interface SignupAccount {
8517
+ email?: string;
8518
+ /**
8519
+ * The users mfa details.
8520
+ */
8521
+ mfaDetails?: {
8522
+ mfaConfirmed?: boolean;
8523
+ mfaInitialized?: boolean;
8524
+ };
8525
+ passwordUpdatedAt?: string;
8526
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8527
+ userId?: string;
8528
+ }
8529
+ interface SignupApiToken {
8530
+ apiTokenId: string;
8531
+ createdAt: string;
8532
+ description: string;
8533
+ expiresAt?: string;
8534
+ roles: ("api_read" | "api_write")[];
8535
+ }
8536
+ interface SignupDeviceInfo {
8537
+ browser?: string;
8538
+ model?: string;
8539
+ os?: string;
8540
+ type?: string;
8541
+ }
8542
+ interface SignupDomainError {
8543
+ /**
8544
+ * A json object, given further information about the error
8545
+ */
8546
+ info?: {};
8547
+ /**
8548
+ * Some more detailed information about the error
8549
+ */
8550
+ message: string;
8551
+ /**
8552
+ * Unique key for the error type
8553
+ */
8554
+ name: string;
8555
+ }
8556
+ interface SignupLocation {
8557
+ city?: string;
8558
+ country?: string;
8559
+ ipAddress?: string;
8560
+ }
8561
+ interface SignupOAuthClient {
8562
+ allowedGrantTypes?: string[];
8563
+ allowedRedirectUris?: string[];
8564
+ allowedScopes?: string[];
8565
+ contributorId: string;
8566
+ description?: string;
8567
+ humanReadableName: string;
8568
+ id: string;
8569
+ }
8570
+ interface SignupProfile {
8571
+ email?: string;
8572
+ /**
8573
+ * the users mfa details
8574
+ */
8575
+ mfaDetails?: {
8576
+ mfaConfirmed?: boolean;
8577
+ mfaInitialized?: boolean;
8578
+ };
8579
+ passwordUpdatedAt?: string;
8580
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8581
+ userId?: string;
8582
+ }
8583
+ interface SignupScopedToken {
8584
+ createdAt: string;
8585
+ /**
8586
+ * ID of the User who created the ScopedToken.
8587
+ */
8588
+ createdBy: string;
8589
+ description: string;
8590
+ expiresAt?: string;
8591
+ id: string;
8592
+ /**
8593
+ * ID of the Project the ScopedToken is bound to.
8594
+ */
8595
+ projectId?: string;
8596
+ /**
8597
+ * Scopes the ScopedToken is restricted to, as scope roles (e.g. `scope:project:read`). `scope:nothing` grants nothing; a ScopedToken whose only scope is `scope:nothing` has no permissions.
8598
+ *
8599
+ * @minItems 1
8600
+ */
8601
+ scopes: [string, ...string[]];
8602
+ }
8603
+ interface UserCustomerMembership {
8604
+ expiresAt?: string;
8605
+ id: string;
8606
+ memberSince: string;
8607
+ role: "owner" | "member" | "accountant";
8608
+ }
8609
+ interface UserUserFeedback {
8610
+ id: string;
8611
+ message: string;
8612
+ origin: string;
8613
+ subject: string;
8614
+ vote: number;
8615
+ }
8616
+ type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
8617
+ interface UserProjectMembership {
8618
+ expiresAt?: string;
8619
+ id?: string;
8620
+ inherited: boolean;
8621
+ memberSince: string;
8622
+ role: "owner" | "emailadmin" | "external" | "id";
8623
+ }
8624
+ interface UserUser {
8625
+ avatarRef?: string;
8626
+ customerMemberships?: {
8627
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
8628
+ };
8629
+ email?: string;
8630
+ /**
8631
+ * Additional information about mittwald employees.
8632
+ */
8633
+ employeeInformation?: {
8634
+ department: string;
8635
+ };
8636
+ /**
8637
+ * Truth value, whether the user is a mittwald employee
8638
+ */
8639
+ isEmployee?: boolean;
8640
+ mfa?: {
8641
+ active: boolean;
8642
+ setup: boolean;
8643
+ };
8644
+ passwordUpdatedAt?: string;
8645
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8646
+ phoneNumber?: string;
8647
+ projectMemberships?: {
8648
+ [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
8649
+ };
8650
+ registeredAt?: string;
8651
+ userId: string;
8652
+ }
8653
+ interface SignupSshKey {
8654
+ algorithm: string;
8655
+ comment: string;
8656
+ createdAt: string;
8657
+ expiresAt?: string;
8658
+ fingerprint: string;
8659
+ key: string;
8660
+ sshKeyId: string;
8661
+ }
8662
+ interface PollUserPollSettings {
8663
+ completedAt?: string;
8664
+ dontShowUntil?: string;
8665
+ ignoredAt?: string;
8666
+ shouldShow: boolean;
8667
+ status: "completed" | "muted" | "ignored" | "new";
8668
+ userId: string;
8669
+ }
8670
+ interface SignupUserSession {
8671
+ created: string;
8672
+ device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
8673
+ lastAccess?: string;
8674
+ location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
8675
+ tokenId: string;
8676
+ }
8677
+ interface VarnishConfigRevision {
8678
+ expire?: number;
8679
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8680
+ note?: string;
8681
+ revision: number;
8682
+ updated: string;
8683
+ }
8684
+ interface VarnishConfigTemplate {
8685
+ /**
8686
+ * A set of config file references.
8687
+ */
8688
+ files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8689
+ isGlobal?: boolean;
8690
+ note?: string;
8691
+ projectId?: string;
8692
+ softwareConfigTemplateId: string;
8693
+ softwareTemplateId: string;
8694
+ updatedAt?: string;
8695
+ }
8696
+ interface VarnishConfigFile {
8697
+ content: string;
8698
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8699
+ }
8700
+ interface VarnishConfigFileMetadata {
8701
+ name: string;
8702
+ path?: string;
8703
+ }
8704
+ interface VarnishConfigFileRef {
8705
+ meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8706
+ refId: string;
8707
+ }
8708
+ interface VarnishGlobalConfigTemplate {
8709
+ data: string;
8710
+ name: string;
8711
+ updatedAt: string;
8712
+ }
8713
+ interface VarnishSoftware {
8714
+ config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
8715
+ projectId: string;
8716
+ settings?: {
8717
+ [k: string]: string;
8718
+ };
8719
+ softwareId: string;
8720
+ softwareTemplateId: string;
8721
+ softwareVersion: string;
8722
+ updatedAt: string;
8723
+ }
8724
+ interface VarnishSoftwareConfig {
8725
+ configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
8726
+ latestConfigRevision?: number;
8727
+ revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
8728
+ }
8729
+ interface VarnishConfigExpiration {
8730
+ maxVersions?: number;
8731
+ retentionTime?: number;
8732
+ }
8733
+ interface VarnishSoftwareConfigFileAccessToken {
8734
+ accessToken: string;
8735
+ expiresAt: string;
8736
+ }
8737
+ interface VarnishSoftwareSetting {
8738
+ name: string;
8739
+ value: string;
8740
+ }
8741
+ interface VerificationEmailDetectPhishingMailResponse {
8742
+ result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
8743
+ }
8744
+ type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
8745
+ type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
8746
+ type StoragespaceStatisticsKind = "server" | "project";
8747
+ interface StoragespaceStatisticsResource {
8748
+ description?: string;
8749
+ id: string;
8750
+ name: string;
8751
+ usageInBytes: number;
8752
+ usageInBytesSetAt: string;
8753
+ }
8527
8754
  type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
8755
+ interface StoragespaceStatistics {
8756
+ childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
8757
+ description?: string;
8758
+ id: string;
8759
+ kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
8760
+ meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
8761
+ name: string;
8762
+ notificationThresholdInBytes?: number;
8763
+ statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
8764
+ }
8528
8765
  interface StoragespaceStatisticsCategory {
8529
8766
  kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
8530
8767
  resources?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsResource[];
8531
8768
  totalUsageInBytes: number;
8532
8769
  }
8533
- type StoragespaceStatisticsKind = "server" | "project";
8534
8770
  interface StoragespaceStatisticsMeta {
8535
8771
  isExceeding?: boolean;
8536
8772
  /**
@@ -8563,253 +8799,6 @@ export declare namespace MittwaldAPIV2 {
8563
8799
  totalUsageInBytes: number;
8564
8800
  totalUsageInPercentage?: number;
8565
8801
  }
8566
- interface StoragespaceStatisticsResource {
8567
- description?: string;
8568
- id: string;
8569
- name: string;
8570
- usageInBytes: number;
8571
- usageInBytesSetAt: string;
8572
- }
8573
- interface StoragespaceStatistics {
8574
- childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
8575
- description?: string;
8576
- id: string;
8577
- kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
8578
- meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
8579
- name: string;
8580
- notificationThresholdInBytes?: number;
8581
- statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
8582
- }
8583
- interface SignupAccount {
8584
- email?: string;
8585
- /**
8586
- * The users mfa details.
8587
- */
8588
- mfaDetails?: {
8589
- mfaConfirmed?: boolean;
8590
- mfaInitialized?: boolean;
8591
- };
8592
- passwordUpdatedAt?: string;
8593
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8594
- userId?: string;
8595
- }
8596
- interface SignupApiToken {
8597
- apiTokenId: string;
8598
- createdAt: string;
8599
- description: string;
8600
- expiresAt?: string;
8601
- roles: ("api_read" | "api_write")[];
8602
- }
8603
- interface SignupDeviceInfo {
8604
- browser?: string;
8605
- model?: string;
8606
- os?: string;
8607
- type?: string;
8608
- }
8609
- interface SignupDomainError {
8610
- /**
8611
- * A json object, given further information about the error
8612
- */
8613
- info?: {};
8614
- /**
8615
- * Some more detailed information about the error
8616
- */
8617
- message: string;
8618
- /**
8619
- * Unique key for the error type
8620
- */
8621
- name: string;
8622
- }
8623
- interface SignupLocation {
8624
- city?: string;
8625
- country?: string;
8626
- ipAddress?: string;
8627
- }
8628
- interface SignupOAuthClient {
8629
- allowedGrantTypes?: string[];
8630
- allowedRedirectUris?: string[];
8631
- allowedScopes?: string[];
8632
- contributorId: string;
8633
- description?: string;
8634
- humanReadableName: string;
8635
- id: string;
8636
- }
8637
- interface SignupProfile {
8638
- email?: string;
8639
- /**
8640
- * the users mfa details
8641
- */
8642
- mfaDetails?: {
8643
- mfaConfirmed?: boolean;
8644
- mfaInitialized?: boolean;
8645
- };
8646
- passwordUpdatedAt?: string;
8647
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8648
- userId?: string;
8649
- }
8650
- interface SignupScopedToken {
8651
- createdAt: string;
8652
- /**
8653
- * ID of the User who created the ScopedToken.
8654
- */
8655
- createdBy: string;
8656
- description: string;
8657
- expiresAt?: string;
8658
- id: string;
8659
- /**
8660
- * ID of the Project the ScopedToken is bound to.
8661
- */
8662
- projectId?: string;
8663
- /**
8664
- * Scopes the ScopedToken is restricted to, as scope roles (e.g. `scope:project:read`). `scope:nothing` grants nothing; a ScopedToken whose only scope is `scope:nothing` has no permissions.
8665
- *
8666
- * @minItems 1
8667
- */
8668
- scopes: [string, ...string[]];
8669
- }
8670
- interface UserCustomerMembership {
8671
- expiresAt?: string;
8672
- id: string;
8673
- memberSince: string;
8674
- role: "owner" | "member" | "accountant";
8675
- }
8676
- interface UserUserFeedback {
8677
- id: string;
8678
- message: string;
8679
- origin: string;
8680
- subject: string;
8681
- vote: number;
8682
- }
8683
- type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
8684
- interface UserProjectMembership {
8685
- expiresAt?: string;
8686
- id?: string;
8687
- inherited: boolean;
8688
- memberSince: string;
8689
- role: "owner" | "emailadmin" | "external" | "id";
8690
- }
8691
- interface UserUser {
8692
- avatarRef?: string;
8693
- customerMemberships?: {
8694
- [k: string]: MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
8695
- };
8696
- email?: string;
8697
- /**
8698
- * Additional information about mittwald employees.
8699
- */
8700
- employeeInformation?: {
8701
- department: string;
8702
- };
8703
- /**
8704
- * Truth value, whether the user is a mittwald employee
8705
- */
8706
- isEmployee?: boolean;
8707
- mfa?: {
8708
- active: boolean;
8709
- setup: boolean;
8710
- };
8711
- passwordUpdatedAt?: string;
8712
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
8713
- phoneNumber?: string;
8714
- projectMemberships?: {
8715
- [k: string]: MittwaldAPIV2.Components.Schemas.UserProjectMembership;
8716
- };
8717
- registeredAt?: string;
8718
- userId: string;
8719
- }
8720
- interface SignupSshKey {
8721
- algorithm: string;
8722
- comment: string;
8723
- createdAt: string;
8724
- expiresAt?: string;
8725
- fingerprint: string;
8726
- key: string;
8727
- sshKeyId: string;
8728
- }
8729
- interface PollUserPollSettings {
8730
- completedAt?: string;
8731
- dontShowUntil?: string;
8732
- ignoredAt?: string;
8733
- shouldShow: boolean;
8734
- status: "completed" | "muted" | "ignored" | "new";
8735
- userId: string;
8736
- }
8737
- interface SignupUserSession {
8738
- created: string;
8739
- device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
8740
- lastAccess?: string;
8741
- location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
8742
- tokenId: string;
8743
- }
8744
- interface VarnishConfigRevision {
8745
- expire?: number;
8746
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8747
- note?: string;
8748
- revision: number;
8749
- updated: string;
8750
- }
8751
- interface VarnishConfigTemplate {
8752
- /**
8753
- * A set of config file references.
8754
- */
8755
- files: MittwaldAPIV2.Components.Schemas.VarnishConfigFileRef[];
8756
- isGlobal?: boolean;
8757
- note?: string;
8758
- projectId?: string;
8759
- softwareConfigTemplateId: string;
8760
- softwareTemplateId: string;
8761
- updatedAt?: string;
8762
- }
8763
- interface VarnishConfigFile {
8764
- content: string;
8765
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8766
- }
8767
- interface VarnishConfigFileMetadata {
8768
- name: string;
8769
- path?: string;
8770
- }
8771
- interface VarnishConfigFileRef {
8772
- meta?: MittwaldAPIV2.Components.Schemas.VarnishConfigFileMetadata;
8773
- refId: string;
8774
- }
8775
- interface VarnishGlobalConfigTemplate {
8776
- data: string;
8777
- name: string;
8778
- updatedAt: string;
8779
- }
8780
- interface VarnishSoftware {
8781
- config: MittwaldAPIV2.Components.Schemas.VarnishSoftwareConfig;
8782
- projectId: string;
8783
- settings?: {
8784
- [k: string]: string;
8785
- };
8786
- softwareId: string;
8787
- softwareTemplateId: string;
8788
- softwareVersion: string;
8789
- updatedAt: string;
8790
- }
8791
- interface VarnishSoftwareConfig {
8792
- configExpiration?: MittwaldAPIV2.Components.Schemas.VarnishConfigExpiration;
8793
- latestConfigRevision?: number;
8794
- revisions?: MittwaldAPIV2.Components.Schemas.VarnishConfigRevision[];
8795
- }
8796
- interface VarnishConfigExpiration {
8797
- maxVersions?: number;
8798
- retentionTime?: number;
8799
- }
8800
- interface VarnishSoftwareConfigFileAccessToken {
8801
- accessToken: string;
8802
- expiresAt: string;
8803
- }
8804
- interface VarnishSoftwareSetting {
8805
- name: string;
8806
- value: string;
8807
- }
8808
- interface VerificationEmailDetectPhishingMailResponse {
8809
- result: MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
8810
- }
8811
- type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
8812
- type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
8813
8802
  interface CommonsAddress {
8814
8803
  street: string;
8815
8804
  houseNumber: string;
@@ -13007,10 +12996,11 @@ export declare namespace MittwaldAPIV2 {
13007
12996
  };
13008
12997
  interface RequestBody {
13009
12998
  /**
13010
- * A set of containers that should be started in this stack. The key is relevant for
13011
- * network connectivity between containers, because you can use it as DNS name to
13012
- * resolve this containers from other containers running in the same project (or from
13013
- * managed apps running in the same project).
12999
+ * A set of containers that should be started in this stack. The key is the service name,
13000
+ * which is relevant for network connectivity: containers of the same stack can resolve a
13001
+ * container by its service name alone, and managed apps in the same project can resolve it as
13002
+ * `<serviceName>.<prefix>`, where `<prefix>` is the stack's `prefix`. Containers of other
13003
+ * stacks cannot communicate with it.
13014
13004
  *
13015
13005
  * To **delete** an existing container from a stack using a `PUT` request, simply omit
13016
13006
  * it from the request body. Using a `PATCH` request, set it to an empty object `{}`.
@@ -13022,9 +13012,10 @@ export declare namespace MittwaldAPIV2 {
13022
13012
  [k: string]: MittwaldAPIV2.Components.Schemas.ContainerServiceDeclareRequest;
13023
13013
  };
13024
13014
  /**
13025
- * A set of named volumes that should be created for this stack. Removing a volume
13026
- * from this set will not delete the volume (for safety), but only detach it from the
13027
- * stack. To delete a volume, use the `DELETE /stacks/{stackId}/volumes/{volumeId}` endpoint.
13015
+ * A set of named volumes that should exist in this stack, keyed by volume name. Missing
13016
+ * volumes are created. Volumes are never removed by this request (for safety): a volume that is
13017
+ * left out stays part of the stack and keeps its data. To delete a volume, use the
13018
+ * `DELETE /v2/stacks/{stackId}/volumes/{volumeId}` endpoint.
13028
13019
  *
13029
13020
  */
13030
13021
  volumes?: {
@@ -13154,10 +13145,11 @@ export declare namespace MittwaldAPIV2 {
13154
13145
  */
13155
13146
  description?: string;
13156
13147
  /**
13157
- * A set of containers that should be started in this stack. The key is relevant for
13158
- * network connectivity between containers, because you can use it as DNS name to
13159
- * resolve this containers from other containers running in the same project (or from
13160
- * managed apps running in the same project).
13148
+ * A set of containers that should be started in this stack. The key is the service name,
13149
+ * which is relevant for network connectivity: containers of the same stack can resolve a
13150
+ * container by its service name alone, and managed apps in the same project can resolve it as
13151
+ * `<serviceName>.<prefix>`, where `<prefix>` is the stack's `prefix`. Containers of other
13152
+ * stacks cannot communicate with it.
13161
13153
  *
13162
13154
  * To **delete** an existing container from a stack using a `PUT` request, simply omit
13163
13155
  * it from the request body. Using a `PATCH` request, set it to an empty object `{}`.
@@ -13182,9 +13174,10 @@ export declare namespace MittwaldAPIV2 {
13182
13174
  timezone?: string;
13183
13175
  };
13184
13176
  /**
13185
- * A set of named volumes that should be created for this stack. Removing a volume
13186
- * from this set will not delete the volume (for safety), but only detach it from the
13187
- * stack. To delete a volume, use the `DELETE /stacks/{stackId}/volumes/{volumeId}` endpoint.
13177
+ * A set of named volumes that should exist in this stack, keyed by volume name. Missing
13178
+ * volumes are created. Volumes are never removed by this request (for safety): a volume that is
13179
+ * left out stays part of the stack and keeps its data. To delete a volume, use the
13180
+ * `DELETE /v2/stacks/{stackId}/volumes/{volumeId}` endpoint.
13188
13181
  *
13189
13182
  */
13190
13183
  volumes?: {
@@ -20789,8 +20782,6 @@ export declare namespace MittwaldAPIV2 {
20789
20782
  namespace V2ProjectsProjectIdLeave { }
20790
20783
  namespace V2ProjectsProjectIdDescription { }
20791
20784
  namespace V2ServersServerIdDescription { }
20792
- namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold { }
20793
- namespace V2ServersServerIdStorageSpaceNotificationThreshold { }
20794
20785
  namespace V2SignupEmail { }
20795
20786
  namespace V2SignupTokenCheck { }
20796
20787
  namespace V2UsersSelfCredentialsToken { }
@@ -31610,177 +31601,11 @@ export declare namespace MittwaldAPIV2 {
31610
31601
  }
31611
31602
  }
31612
31603
  }
31613
- namespace V2CertificateRequestsCertificateRequestId {
31614
- namespace Get {
31615
- namespace Parameters {
31616
- type Path = {
31617
- certificateRequestId: string;
31618
- };
31619
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31620
- type Query = {};
31621
- }
31622
- namespace Responses {
31623
- namespace $200 {
31624
- namespace Content {
31625
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
31626
- }
31627
- }
31628
- namespace $404 {
31629
- namespace Content {
31630
- interface ApplicationJson {
31631
- [k: string]: unknown;
31632
- }
31633
- }
31634
- }
31635
- namespace $429 {
31636
- namespace Content {
31637
- interface ApplicationJson {
31638
- [k: string]: unknown;
31639
- }
31640
- }
31641
- }
31642
- namespace Default {
31643
- namespace Content {
31644
- interface ApplicationJson {
31645
- [k: string]: unknown;
31646
- }
31647
- }
31648
- }
31649
- }
31650
- }
31651
- }
31652
- namespace V2CertificatesCertificateId {
31653
- namespace Get {
31654
- namespace Parameters {
31655
- type Path = {
31656
- certificateId: string;
31657
- };
31658
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31659
- type Query = {};
31660
- }
31661
- namespace Responses {
31662
- namespace $200 {
31663
- namespace Content {
31664
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
31665
- }
31666
- }
31667
- namespace $404 {
31668
- namespace Content {
31669
- interface ApplicationJson {
31670
- [k: string]: unknown;
31671
- }
31672
- }
31673
- }
31674
- namespace $429 {
31675
- namespace Content {
31676
- interface ApplicationJson {
31677
- [k: string]: unknown;
31678
- }
31679
- }
31680
- }
31681
- namespace Default {
31682
- namespace Content {
31683
- interface ApplicationJson {
31684
- [k: string]: unknown;
31685
- }
31686
- }
31687
- }
31688
- }
31689
- }
31690
- namespace Put {
31691
- namespace Parameters {
31692
- type Path = {
31693
- certificateId: string;
31694
- };
31695
- interface RequestBody {
31696
- certificate: string;
31697
- privateKey?: string;
31698
- }
31699
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31700
- type Query = {};
31701
- }
31702
- namespace Responses {
31703
- namespace $204 {
31704
- namespace Content {
31705
- type Empty = unknown;
31706
- }
31707
- }
31708
- namespace $400 {
31709
- namespace Content {
31710
- interface ApplicationJson {
31711
- [k: string]: unknown;
31712
- }
31713
- }
31714
- }
31715
- namespace $404 {
31716
- namespace Content {
31717
- interface ApplicationJson {
31718
- [k: string]: unknown;
31719
- }
31720
- }
31721
- }
31722
- namespace $429 {
31723
- namespace Content {
31724
- interface ApplicationJson {
31725
- [k: string]: unknown;
31726
- }
31727
- }
31728
- }
31729
- namespace Default {
31730
- namespace Content {
31731
- interface ApplicationJson {
31732
- [k: string]: unknown;
31733
- }
31734
- }
31735
- }
31736
- }
31737
- }
31738
- }
31739
- namespace V2Certificates {
31740
- namespace Get {
31741
- namespace Parameters {
31742
- type Path = {};
31743
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31744
- type Query = {
31745
- projectId?: string;
31746
- ingressId?: string;
31747
- };
31748
- }
31749
- namespace Responses {
31750
- namespace $200 {
31751
- namespace Content {
31752
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
31753
- }
31754
- }
31755
- namespace $404 {
31756
- namespace Content {
31757
- interface ApplicationJson {
31758
- [k: string]: unknown;
31759
- }
31760
- }
31761
- }
31762
- namespace $429 {
31763
- namespace Content {
31764
- interface ApplicationJson {
31765
- [k: string]: unknown;
31766
- }
31767
- }
31768
- }
31769
- namespace Default {
31770
- namespace Content {
31771
- interface ApplicationJson {
31772
- [k: string]: unknown;
31773
- }
31774
- }
31775
- }
31776
- }
31777
- }
31778
- }
31779
- namespace V2ProjectsProjectIdStorageSpaceStatistics {
31604
+ namespace V2CertificateRequestsCertificateRequestId {
31780
31605
  namespace Get {
31781
31606
  namespace Parameters {
31782
31607
  type Path = {
31783
- projectId: string;
31608
+ certificateRequestId: string;
31784
31609
  };
31785
31610
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31786
31611
  type Query = {};
@@ -31788,21 +31613,7 @@ export declare namespace MittwaldAPIV2 {
31788
31613
  namespace Responses {
31789
31614
  namespace $200 {
31790
31615
  namespace Content {
31791
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
31792
- }
31793
- }
31794
- namespace $400 {
31795
- namespace Content {
31796
- interface ApplicationJson {
31797
- [k: string]: unknown;
31798
- }
31799
- }
31800
- }
31801
- namespace $403 {
31802
- namespace Content {
31803
- interface ApplicationJson {
31804
- [k: string]: unknown;
31805
- }
31616
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
31806
31617
  }
31807
31618
  }
31808
31619
  namespace $404 {
@@ -31819,13 +31630,6 @@ export declare namespace MittwaldAPIV2 {
31819
31630
  }
31820
31631
  }
31821
31632
  }
31822
- namespace $500 {
31823
- namespace Content {
31824
- interface ApplicationJson {
31825
- [k: string]: unknown;
31826
- }
31827
- }
31828
- }
31829
31633
  namespace Default {
31830
31634
  namespace Content {
31831
31635
  interface ApplicationJson {
@@ -31835,24 +31639,23 @@ export declare namespace MittwaldAPIV2 {
31835
31639
  }
31836
31640
  }
31837
31641
  }
31838
- namespace Patch {
31642
+ }
31643
+ namespace V2CertificatesCertificateId {
31644
+ namespace Get {
31839
31645
  namespace Parameters {
31840
31646
  type Path = {
31841
- projectId: string;
31647
+ certificateId: string;
31842
31648
  };
31843
- interface RequestBody {
31844
- notificationThresholdInBytes?: number;
31845
- }
31846
31649
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31847
31650
  type Query = {};
31848
31651
  }
31849
31652
  namespace Responses {
31850
- namespace $204 {
31653
+ namespace $200 {
31851
31654
  namespace Content {
31852
- type Empty = unknown;
31655
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
31853
31656
  }
31854
31657
  }
31855
- namespace $403 {
31658
+ namespace $404 {
31856
31659
  namespace Content {
31857
31660
  interface ApplicationJson {
31858
31661
  [k: string]: unknown;
@@ -31866,13 +31669,6 @@ export declare namespace MittwaldAPIV2 {
31866
31669
  }
31867
31670
  }
31868
31671
  }
31869
- namespace $500 {
31870
- namespace Content {
31871
- interface ApplicationJson {
31872
- [k: string]: unknown;
31873
- }
31874
- }
31875
- }
31876
31672
  namespace Default {
31877
31673
  namespace Content {
31878
31674
  interface ApplicationJson {
@@ -31882,20 +31678,22 @@ export declare namespace MittwaldAPIV2 {
31882
31678
  }
31883
31679
  }
31884
31680
  }
31885
- }
31886
- namespace V2ServersServerIdStorageSpaceStatistics {
31887
- namespace Get {
31681
+ namespace Put {
31888
31682
  namespace Parameters {
31889
31683
  type Path = {
31890
- serverId: string;
31684
+ certificateId: string;
31891
31685
  };
31686
+ interface RequestBody {
31687
+ certificate: string;
31688
+ privateKey?: string;
31689
+ }
31892
31690
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31893
31691
  type Query = {};
31894
31692
  }
31895
31693
  namespace Responses {
31896
- namespace $200 {
31694
+ namespace $204 {
31897
31695
  namespace Content {
31898
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
31696
+ type Empty = unknown;
31899
31697
  }
31900
31698
  }
31901
31699
  namespace $400 {
@@ -31905,13 +31703,6 @@ export declare namespace MittwaldAPIV2 {
31905
31703
  }
31906
31704
  }
31907
31705
  }
31908
- namespace $403 {
31909
- namespace Content {
31910
- interface ApplicationJson {
31911
- [k: string]: unknown;
31912
- }
31913
- }
31914
- }
31915
31706
  namespace $404 {
31916
31707
  namespace Content {
31917
31708
  interface ApplicationJson {
@@ -31926,13 +31717,6 @@ export declare namespace MittwaldAPIV2 {
31926
31717
  }
31927
31718
  }
31928
31719
  }
31929
- namespace $500 {
31930
- namespace Content {
31931
- interface ApplicationJson {
31932
- [k: string]: unknown;
31933
- }
31934
- }
31935
- }
31936
31720
  namespace Default {
31937
31721
  namespace Content {
31938
31722
  interface ApplicationJson {
@@ -31942,24 +31726,24 @@ export declare namespace MittwaldAPIV2 {
31942
31726
  }
31943
31727
  }
31944
31728
  }
31945
- namespace Patch {
31729
+ }
31730
+ namespace V2Certificates {
31731
+ namespace Get {
31946
31732
  namespace Parameters {
31947
- type Path = {
31948
- serverId: string;
31949
- };
31950
- interface RequestBody {
31951
- notificationThresholdInBytes?: number;
31952
- }
31733
+ type Path = {};
31953
31734
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31954
- type Query = {};
31735
+ type Query = {
31736
+ projectId?: string;
31737
+ ingressId?: string;
31738
+ };
31955
31739
  }
31956
31740
  namespace Responses {
31957
- namespace $204 {
31741
+ namespace $200 {
31958
31742
  namespace Content {
31959
- type Empty = unknown;
31743
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
31960
31744
  }
31961
31745
  }
31962
- namespace $403 {
31746
+ namespace $404 {
31963
31747
  namespace Content {
31964
31748
  interface ApplicationJson {
31965
31749
  [k: string]: unknown;
@@ -31973,13 +31757,6 @@ export declare namespace MittwaldAPIV2 {
31973
31757
  }
31974
31758
  }
31975
31759
  }
31976
- namespace $500 {
31977
- namespace Content {
31978
- interface ApplicationJson {
31979
- [k: string]: unknown;
31980
- }
31981
- }
31982
- }
31983
31760
  namespace Default {
31984
31761
  namespace Content {
31985
31762
  interface ApplicationJson {
@@ -34722,5 +34499,221 @@ export declare namespace MittwaldAPIV2 {
34722
34499
  }
34723
34500
  }
34724
34501
  }
34502
+ namespace V2ServersServerIdStorageSpaceNotificationThreshold { }
34503
+ namespace V2ServersServerIdStorageSpaceStatistics {
34504
+ namespace Get {
34505
+ namespace Parameters {
34506
+ type Path = {
34507
+ serverId: string;
34508
+ };
34509
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34510
+ type Query = {};
34511
+ }
34512
+ namespace Responses {
34513
+ namespace $200 {
34514
+ namespace Content {
34515
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
34516
+ }
34517
+ }
34518
+ namespace $400 {
34519
+ namespace Content {
34520
+ interface ApplicationJson {
34521
+ [k: string]: unknown;
34522
+ }
34523
+ }
34524
+ }
34525
+ namespace $403 {
34526
+ namespace Content {
34527
+ interface ApplicationJson {
34528
+ [k: string]: unknown;
34529
+ }
34530
+ }
34531
+ }
34532
+ namespace $404 {
34533
+ namespace Content {
34534
+ interface ApplicationJson {
34535
+ [k: string]: unknown;
34536
+ }
34537
+ }
34538
+ }
34539
+ namespace $429 {
34540
+ namespace Content {
34541
+ interface ApplicationJson {
34542
+ [k: string]: unknown;
34543
+ }
34544
+ }
34545
+ }
34546
+ namespace $500 {
34547
+ namespace Content {
34548
+ interface ApplicationJson {
34549
+ [k: string]: unknown;
34550
+ }
34551
+ }
34552
+ }
34553
+ namespace Default {
34554
+ namespace Content {
34555
+ interface ApplicationJson {
34556
+ [k: string]: unknown;
34557
+ }
34558
+ }
34559
+ }
34560
+ }
34561
+ }
34562
+ namespace Patch {
34563
+ namespace Parameters {
34564
+ type Path = {
34565
+ serverId: string;
34566
+ };
34567
+ interface RequestBody {
34568
+ notificationThresholdInBytes?: number;
34569
+ }
34570
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34571
+ type Query = {};
34572
+ }
34573
+ namespace Responses {
34574
+ namespace $204 {
34575
+ namespace Content {
34576
+ type Empty = unknown;
34577
+ }
34578
+ }
34579
+ namespace $403 {
34580
+ namespace Content {
34581
+ interface ApplicationJson {
34582
+ [k: string]: unknown;
34583
+ }
34584
+ }
34585
+ }
34586
+ namespace $429 {
34587
+ namespace Content {
34588
+ interface ApplicationJson {
34589
+ [k: string]: unknown;
34590
+ }
34591
+ }
34592
+ }
34593
+ namespace $500 {
34594
+ namespace Content {
34595
+ interface ApplicationJson {
34596
+ [k: string]: unknown;
34597
+ }
34598
+ }
34599
+ }
34600
+ namespace Default {
34601
+ namespace Content {
34602
+ interface ApplicationJson {
34603
+ [k: string]: unknown;
34604
+ }
34605
+ }
34606
+ }
34607
+ }
34608
+ }
34609
+ }
34610
+ namespace V2ProjectsProjectIdStorageSpaceStatistics {
34611
+ namespace Get {
34612
+ namespace Parameters {
34613
+ type Path = {
34614
+ projectId: string;
34615
+ };
34616
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34617
+ type Query = {};
34618
+ }
34619
+ namespace Responses {
34620
+ namespace $200 {
34621
+ namespace Content {
34622
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
34623
+ }
34624
+ }
34625
+ namespace $400 {
34626
+ namespace Content {
34627
+ interface ApplicationJson {
34628
+ [k: string]: unknown;
34629
+ }
34630
+ }
34631
+ }
34632
+ namespace $403 {
34633
+ namespace Content {
34634
+ interface ApplicationJson {
34635
+ [k: string]: unknown;
34636
+ }
34637
+ }
34638
+ }
34639
+ namespace $404 {
34640
+ namespace Content {
34641
+ interface ApplicationJson {
34642
+ [k: string]: unknown;
34643
+ }
34644
+ }
34645
+ }
34646
+ namespace $429 {
34647
+ namespace Content {
34648
+ interface ApplicationJson {
34649
+ [k: string]: unknown;
34650
+ }
34651
+ }
34652
+ }
34653
+ namespace $500 {
34654
+ namespace Content {
34655
+ interface ApplicationJson {
34656
+ [k: string]: unknown;
34657
+ }
34658
+ }
34659
+ }
34660
+ namespace Default {
34661
+ namespace Content {
34662
+ interface ApplicationJson {
34663
+ [k: string]: unknown;
34664
+ }
34665
+ }
34666
+ }
34667
+ }
34668
+ }
34669
+ namespace Patch {
34670
+ namespace Parameters {
34671
+ type Path = {
34672
+ projectId: string;
34673
+ };
34674
+ interface RequestBody {
34675
+ notificationThresholdInBytes?: number;
34676
+ }
34677
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
34678
+ type Query = {};
34679
+ }
34680
+ namespace Responses {
34681
+ namespace $204 {
34682
+ namespace Content {
34683
+ type Empty = unknown;
34684
+ }
34685
+ }
34686
+ namespace $403 {
34687
+ namespace Content {
34688
+ interface ApplicationJson {
34689
+ [k: string]: unknown;
34690
+ }
34691
+ }
34692
+ }
34693
+ namespace $429 {
34694
+ namespace Content {
34695
+ interface ApplicationJson {
34696
+ [k: string]: unknown;
34697
+ }
34698
+ }
34699
+ }
34700
+ namespace $500 {
34701
+ namespace Content {
34702
+ interface ApplicationJson {
34703
+ [k: string]: unknown;
34704
+ }
34705
+ }
34706
+ }
34707
+ namespace Default {
34708
+ namespace Content {
34709
+ interface ApplicationJson {
34710
+ [k: string]: unknown;
34711
+ }
34712
+ }
34713
+ }
34714
+ }
34715
+ }
34716
+ }
34717
+ namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold { }
34725
34718
  }
34726
34719
  }