@mittwald/api-client 4.76.0 → 4.77.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.
@@ -306,10 +306,10 @@ const buildProjectApi = (baseClient) => ({
306
306
  listProjects: new ApiCallAsyncResourceFactory(descriptors.projectListProjects, baseClient.project.listProjects).getApiResource,
307
307
  /** List Servers belonging to the executing user. */
308
308
  listServers: new ApiCallAsyncResourceFactory(descriptors.projectListServers, baseClient.project.listServers).getApiResource,
309
- /** Get storage space Statistics belonging to a Server. */
310
- storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
311
309
  /** Get storage space Statistics belonging to a Project. */
312
310
  storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
311
+ /** Get storage space Statistics belonging to a Server. */
312
+ storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
313
313
  });
314
314
  const buildProjectFileSystemApi = (baseClient) => ({
315
315
  /** List directories belonging to a Project. */
@@ -679,14 +679,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
679
679
  updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
680
680
  /** Update a Servers's description. */
681
681
  updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
682
- /** Update a Project's storage space notification threshold. */
683
- storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
682
+ /** Get storage space Statistics belonging to a Project. */
683
+ storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
684
684
  /** Get storage space Statistics belonging to a Server. */
685
685
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
686
+ /** Update a Project's storage space notification threshold. */
687
+ storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
686
688
  /** Update a Server's storage space notification threshold. */
687
689
  storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
688
- /** Get storage space Statistics belonging to a Project. */
689
- storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
690
690
  };
691
691
  /** The filesystem API allows you to directly access the filesystem of your project. */
692
692
  projectFileSystem = {
@@ -1666,6 +1666,30 @@ export const sslListCertificates = {
1666
1666
  method: "GET",
1667
1667
  operationId: "ssl-list-certificates",
1668
1668
  };
1669
+ /** Get storage space Statistics belonging to a Project. */
1670
+ export const storagespaceGetProjectStatistics = {
1671
+ path: "/v2/projects/{projectId}/storage-space-statistics",
1672
+ method: "GET",
1673
+ operationId: "storagespace-get-project-statistics",
1674
+ };
1675
+ /** Get storage space Statistics belonging to a Server. */
1676
+ export const storagespaceGetServerStatistics = {
1677
+ path: "/v2/servers/{serverId}/storage-space-statistics",
1678
+ method: "GET",
1679
+ operationId: "storagespace-get-server-statistics",
1680
+ };
1681
+ /** Update a Project's storage space notification threshold. */
1682
+ export const storagespaceReplaceProjectNotificationThreshold = {
1683
+ path: "/v2/projects/{projectId}/storage-space-notification-threshold",
1684
+ method: "PUT",
1685
+ operationId: "storagespace-replace-project-notification-threshold",
1686
+ };
1687
+ /** Update a Server's storage space notification threshold. */
1688
+ export const storagespaceReplaceServerNotificationThreshold = {
1689
+ path: "/v2/servers/{serverId}/storage-space-notification-threshold",
1690
+ method: "PUT",
1691
+ operationId: "storagespace-replace-server-notification-threshold",
1692
+ };
1669
1693
  /** Add phone number and start verification process. */
1670
1694
  export const userAddPhoneNumber = {
1671
1695
  path: "/v2/users/{userId}/phone",
@@ -2002,27 +2026,3 @@ export const verificationVerifyCompany = {
2002
2026
  method: "POST",
2003
2027
  operationId: "verification-verify-company",
2004
2028
  };
2005
- /** Update a Project's storage space notification threshold. */
2006
- export const storagespaceReplaceProjectNotificationThreshold = {
2007
- path: "/v2/projects/{projectId}/storage-space-notification-threshold",
2008
- method: "PUT",
2009
- operationId: "storagespace-replace-project-notification-threshold",
2010
- };
2011
- /** Get storage space Statistics belonging to a Server. */
2012
- export const storagespaceGetServerStatistics = {
2013
- path: "/v2/servers/{serverId}/storage-space-statistics",
2014
- method: "GET",
2015
- operationId: "storagespace-get-server-statistics",
2016
- };
2017
- /** Update a Server's storage space notification threshold. */
2018
- export const storagespaceReplaceServerNotificationThreshold = {
2019
- path: "/v2/servers/{serverId}/storage-space-notification-threshold",
2020
- method: "PUT",
2021
- operationId: "storagespace-replace-server-notification-threshold",
2022
- };
2023
- /** Get storage space Statistics belonging to a Project. */
2024
- export const storagespaceGetProjectStatistics = {
2025
- path: "/v2/projects/{projectId}/storage-space-statistics",
2026
- method: "GET",
2027
- operationId: "storagespace-get-project-statistics",
2028
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.75.0';
1
+ export const MittwaldAPIClientVersion = '4.76.0';
@@ -2229,9 +2229,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2229
2229
  skip?: number | undefined;
2230
2230
  } | undefined;
2231
2231
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[]>;
2232
- /** Get storage space Statistics belonging to a Server. */
2233
- storagespaceGetServerStatistics: (conf: {
2234
- serverId: string;
2232
+ /** Get storage space Statistics belonging to a Project. */
2233
+ storagespaceGetProjectStatistics: (conf: {
2234
+ projectId: string;
2235
2235
  headers?: {
2236
2236
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2237
2237
  "x-access-token"?: string | undefined;
@@ -2246,9 +2246,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2246
2246
  notificationThresholdInBytes?: number | undefined;
2247
2247
  statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
2248
2248
  }>;
2249
- /** Get storage space Statistics belonging to a Project. */
2250
- storagespaceGetProjectStatistics: (conf: {
2251
- projectId: string;
2249
+ /** Get storage space Statistics belonging to a Server. */
2250
+ storagespaceGetServerStatistics: (conf: {
2251
+ serverId: string;
2252
2252
  headers?: {
2253
2253
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2254
2254
  "x-access-token"?: string | undefined;
@@ -19301,62 +19301,77 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19301
19301
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19302
19302
  [x: string]: unknown;
19303
19303
  }, 429, "application/json">>>;
19304
- /** Update a Project's storage space notification threshold. */
19305
- storagespaceReplaceProjectNotificationThreshold: (request: {
19304
+ /** Get storage space Statistics belonging to a Project. */
19305
+ storagespaceGetProjectStatistics: (request: {
19306
19306
  projectId: string;
19307
- data?: {
19308
- notificationThresholdInBytes?: number | undefined;
19309
- } | undefined;
19310
19307
  headers?: {
19311
19308
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19312
19309
  "x-access-token"?: string | undefined;
19313
19310
  } | undefined;
19314
19311
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
19315
- data: {
19316
- notificationThresholdInBytes?: number | undefined;
19317
- };
19312
+ headers?: Partial<{
19313
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19314
+ }> | undefined;
19318
19315
  } & {
19319
19316
  pathParameters: {
19320
19317
  projectId: string;
19321
19318
  };
19322
- } & {
19323
- headers?: Partial<{
19324
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19325
- }> | undefined;
19326
19319
  } & {
19327
19320
  headers: {
19328
19321
  "x-access-token"?: string | undefined;
19329
19322
  } & Partial<{
19330
19323
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19331
19324
  }>;
19332
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19325
+ }, import("@mittwald/api-client-commons").Response<{
19326
+ childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
19327
+ description?: string | undefined;
19328
+ id: string;
19329
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
19330
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
19331
+ name: string;
19332
+ notificationThresholdInBytes?: number | undefined;
19333
+ statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
19334
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19335
+ [x: string]: unknown;
19336
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19333
19337
  [x: string]: unknown;
19334
19338
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19335
19339
  [x: string]: unknown;
19340
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19341
+ [x: string]: unknown;
19336
19342
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19337
19343
  [x: string]: unknown;
19338
19344
  }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
19339
- data: {
19340
- notificationThresholdInBytes?: number | undefined;
19341
- };
19345
+ headers?: Partial<{
19346
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19347
+ }> | undefined;
19342
19348
  } & {
19343
19349
  pathParameters: {
19344
19350
  projectId: string;
19345
19351
  };
19346
- } & {
19347
- headers?: Partial<{
19348
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19349
- }> | undefined;
19350
19352
  } & {
19351
19353
  headers: {
19352
19354
  "x-access-token"?: string | undefined;
19353
19355
  } & Partial<{
19354
19356
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19355
19357
  }>;
19356
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19358
+ }, import("@mittwald/api-client-commons").Response<{
19359
+ childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
19360
+ description?: string | undefined;
19361
+ id: string;
19362
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
19363
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
19364
+ name: string;
19365
+ notificationThresholdInBytes?: number | undefined;
19366
+ statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
19367
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19368
+ [x: string]: unknown;
19369
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19357
19370
  [x: string]: unknown;
19358
19371
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19359
19372
  [x: string]: unknown;
19373
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19374
+ [x: string]: unknown;
19360
19375
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19361
19376
  [x: string]: unknown;
19362
19377
  }, 500, "application/json">>>;
@@ -19434,9 +19449,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19434
19449
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19435
19450
  [x: string]: unknown;
19436
19451
  }, 500, "application/json">>>;
19437
- /** Update a Server's storage space notification threshold. */
19438
- storagespaceReplaceServerNotificationThreshold: (request: {
19439
- serverId: string;
19452
+ /** Update a Project's storage space notification threshold. */
19453
+ storagespaceReplaceProjectNotificationThreshold: (request: {
19454
+ projectId: string;
19440
19455
  data?: {
19441
19456
  notificationThresholdInBytes?: number | undefined;
19442
19457
  } | undefined;
@@ -19450,7 +19465,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19450
19465
  };
19451
19466
  } & {
19452
19467
  pathParameters: {
19453
- serverId: string;
19468
+ projectId: string;
19454
19469
  };
19455
19470
  } & {
19456
19471
  headers?: Partial<{
@@ -19474,7 +19489,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19474
19489
  };
19475
19490
  } & {
19476
19491
  pathParameters: {
19477
- serverId: string;
19492
+ projectId: string;
19478
19493
  };
19479
19494
  } & {
19480
19495
  headers?: Partial<{
@@ -19493,77 +19508,62 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19493
19508
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19494
19509
  [x: string]: unknown;
19495
19510
  }, 500, "application/json">>>;
19496
- /** Get storage space Statistics belonging to a Project. */
19497
- storagespaceGetProjectStatistics: (request: {
19498
- projectId: string;
19511
+ /** Update a Server's storage space notification threshold. */
19512
+ storagespaceReplaceServerNotificationThreshold: (request: {
19513
+ serverId: string;
19514
+ data?: {
19515
+ notificationThresholdInBytes?: number | undefined;
19516
+ } | undefined;
19499
19517
  headers?: {
19500
19518
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
19501
19519
  "x-access-token"?: string | undefined;
19502
19520
  } | undefined;
19503
19521
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
19504
- headers?: Partial<{
19505
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19506
- }> | undefined;
19522
+ data: {
19523
+ notificationThresholdInBytes?: number | undefined;
19524
+ };
19507
19525
  } & {
19508
19526
  pathParameters: {
19509
- projectId: string;
19527
+ serverId: string;
19510
19528
  };
19529
+ } & {
19530
+ headers?: Partial<{
19531
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19532
+ }> | undefined;
19511
19533
  } & {
19512
19534
  headers: {
19513
19535
  "x-access-token"?: string | undefined;
19514
19536
  } & Partial<{
19515
19537
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19516
19538
  }>;
19517
- }, import("@mittwald/api-client-commons").Response<{
19518
- childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
19519
- description?: string | undefined;
19520
- id: string;
19521
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
19522
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
19523
- name: string;
19524
- notificationThresholdInBytes?: number | undefined;
19525
- statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
19526
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19527
- [x: string]: unknown;
19528
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19539
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19529
19540
  [x: string]: unknown;
19530
19541
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19531
19542
  [x: string]: unknown;
19532
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19533
- [x: string]: unknown;
19534
19543
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19535
19544
  [x: string]: unknown;
19536
19545
  }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
19537
- headers?: Partial<{
19538
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19539
- }> | undefined;
19546
+ data: {
19547
+ notificationThresholdInBytes?: number | undefined;
19548
+ };
19540
19549
  } & {
19541
19550
  pathParameters: {
19542
- projectId: string;
19551
+ serverId: string;
19543
19552
  };
19553
+ } & {
19554
+ headers?: Partial<{
19555
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19556
+ }> | undefined;
19544
19557
  } & {
19545
19558
  headers: {
19546
19559
  "x-access-token"?: string | undefined;
19547
19560
  } & Partial<{
19548
19561
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
19549
19562
  }>;
19550
- }, import("@mittwald/api-client-commons").Response<{
19551
- childStatistics?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[] | undefined;
19552
- description?: string | undefined;
19553
- id: string;
19554
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
19555
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
19556
- name: string;
19557
- notificationThresholdInBytes?: number | undefined;
19558
- statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
19559
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
19560
- [x: string]: unknown;
19561
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19563
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
19562
19564
  [x: string]: unknown;
19563
19565
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
19564
19566
  [x: string]: unknown;
19565
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
19566
- [x: string]: unknown;
19567
19567
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
19568
19568
  [x: string]: unknown;
19569
19569
  }, 500, "application/json">>>;
@@ -559,6 +559,14 @@ export declare const sslGetCertificate: OpenAPIOperation<RequestType<Simplify<nu
559
559
  export declare const sslReplaceCertificate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CertificatesCertificateId.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
560
560
  /** List Certificates belonging to a Project or an Ingress. */
561
561
  export declare const sslListCertificates: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Certificates.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Certificates.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Certificates.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Certificates.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Certificates.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Certificates.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Certificates.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
562
+ /** Get storage space Statistics belonging to a Project. */
563
+ export declare const storagespaceGetProjectStatistics: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
564
+ /** Get storage space Statistics belonging to a Server. */
565
+ export declare const storagespaceGetServerStatistics: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
566
+ /** Update a Project's storage space notification threshold. */
567
+ export declare const storagespaceReplaceProjectNotificationThreshold: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
568
+ /** Update a Server's storage space notification threshold. */
569
+ export declare const storagespaceReplaceServerNotificationThreshold: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
562
570
  /** Add phone number and start verification process. */
563
571
  export declare const userAddPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
564
572
  /** Remove phone number. */
@@ -671,11 +679,3 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
671
679
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
672
680
  /** Check if a company exists. */
673
681
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
674
- /** Update a Project's storage space notification threshold. */
675
- export declare const storagespaceReplaceProjectNotificationThreshold: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceNotificationThreshold.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
676
- /** Get storage space Statistics belonging to a Server. */
677
- export declare const storagespaceGetServerStatistics: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceStatistics.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
678
- /** Update a Server's storage space notification threshold. */
679
- export declare const storagespaceReplaceServerNotificationThreshold: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdStorageSpaceNotificationThreshold.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
680
- /** Get storage space Statistics belonging to a Project. */
681
- export declare const storagespaceGetProjectStatistics: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdStorageSpaceStatistics.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1114,6 +1114,22 @@ export declare namespace MittwaldAPIV2 {
1114
1114
  type RequestData = InferredRequestData<typeof descriptors.sslListCertificates>;
1115
1115
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificates, TStatus>;
1116
1116
  }
1117
+ namespace StoragespaceGetProjectStatistics {
1118
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceGetProjectStatistics>;
1119
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetProjectStatistics, TStatus>;
1120
+ }
1121
+ namespace StoragespaceGetServerStatistics {
1122
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceGetServerStatistics>;
1123
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetServerStatistics, TStatus>;
1124
+ }
1125
+ namespace StoragespaceReplaceProjectNotificationThreshold {
1126
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceReplaceProjectNotificationThreshold>;
1127
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceReplaceProjectNotificationThreshold, TStatus>;
1128
+ }
1129
+ namespace StoragespaceReplaceServerNotificationThreshold {
1130
+ type RequestData = InferredRequestData<typeof descriptors.storagespaceReplaceServerNotificationThreshold>;
1131
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceReplaceServerNotificationThreshold, TStatus>;
1132
+ }
1117
1133
  namespace UserAddPhoneNumber {
1118
1134
  type RequestData = InferredRequestData<typeof descriptors.userAddPhoneNumber>;
1119
1135
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userAddPhoneNumber, TStatus>;
@@ -1338,22 +1354,6 @@ export declare namespace MittwaldAPIV2 {
1338
1354
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1339
1355
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1340
1356
  }
1341
- namespace StoragespaceReplaceProjectNotificationThreshold {
1342
- type RequestData = InferredRequestData<typeof descriptors.storagespaceReplaceProjectNotificationThreshold>;
1343
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceReplaceProjectNotificationThreshold, TStatus>;
1344
- }
1345
- namespace StoragespaceGetServerStatistics {
1346
- type RequestData = InferredRequestData<typeof descriptors.storagespaceGetServerStatistics>;
1347
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetServerStatistics, TStatus>;
1348
- }
1349
- namespace StoragespaceReplaceServerNotificationThreshold {
1350
- type RequestData = InferredRequestData<typeof descriptors.storagespaceReplaceServerNotificationThreshold>;
1351
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceReplaceServerNotificationThreshold, TStatus>;
1352
- }
1353
- namespace StoragespaceGetProjectStatistics {
1354
- type RequestData = InferredRequestData<typeof descriptors.storagespaceGetProjectStatistics>;
1355
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetProjectStatistics, TStatus>;
1356
- }
1357
1357
  }
1358
1358
  namespace Components {
1359
1359
  namespace Schemas {
@@ -3744,6 +3744,44 @@ export declare namespace MittwaldAPIV2 {
3744
3744
  organizationalUnit?: string;
3745
3745
  state?: string;
3746
3746
  }
3747
+ type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
3748
+ interface StoragespaceStatisticsCategory {
3749
+ kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
3750
+ resources?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsResource[];
3751
+ totalUsageInBytes: number;
3752
+ }
3753
+ type StoragespaceStatisticsKind = "server" | "project";
3754
+ interface StoragespaceStatisticsMeta {
3755
+ isExceeding?: boolean;
3756
+ limitInBytes?: number;
3757
+ /**
3758
+ * If true, set notification threshold is used as limit for meta calculations. E.g. for projects with a parent server.
3759
+ */
3760
+ notificationThresholdUsedAsLimit?: boolean;
3761
+ totalExceedanceInBytes?: number;
3762
+ totalExceedanceInBytesSetAt?: string;
3763
+ totalFreeInBytes?: number;
3764
+ totalFreeInPercentage?: number;
3765
+ totalUsageInBytes: number;
3766
+ totalUsageInPercentage?: number;
3767
+ }
3768
+ interface StoragespaceStatisticsResource {
3769
+ description?: string;
3770
+ id: string;
3771
+ name: string;
3772
+ usageInBytes: number;
3773
+ usageInBytesSetAt: string;
3774
+ }
3775
+ interface StoragespaceStatistics {
3776
+ childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
3777
+ description?: string;
3778
+ id: string;
3779
+ kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
3780
+ meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
3781
+ name: string;
3782
+ notificationThresholdInBytes?: number;
3783
+ statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
3784
+ }
3747
3785
  interface SignupAccount {
3748
3786
  email?: string;
3749
3787
  /**
@@ -3972,44 +4010,6 @@ export declare namespace MittwaldAPIV2 {
3972
4010
  name: string;
3973
4011
  value: string;
3974
4012
  }
3975
- interface StoragespaceStatisticsMeta {
3976
- isExceeding?: boolean;
3977
- limitInBytes?: number;
3978
- /**
3979
- * If true, set notification threshold is used as limit for meta calculations. E.g. for projects with a parent server.
3980
- */
3981
- notificationThresholdUsedAsLimit?: boolean;
3982
- totalExceedanceInBytes?: number;
3983
- totalExceedanceInBytesSetAt?: string;
3984
- totalFreeInBytes?: number;
3985
- totalFreeInPercentage?: number;
3986
- totalUsageInBytes: number;
3987
- totalUsageInPercentage?: number;
3988
- }
3989
- type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
3990
- interface StoragespaceStatisticsCategory {
3991
- kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
3992
- resources?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsResource[];
3993
- totalUsageInBytes: number;
3994
- }
3995
- interface StoragespaceStatisticsResource {
3996
- description?: string;
3997
- id: string;
3998
- name: string;
3999
- usageInBytes: number;
4000
- usageInBytesSetAt: string;
4001
- }
4002
- type StoragespaceStatisticsKind = "server" | "project";
4003
- interface StoragespaceStatistics {
4004
- childStatistics?: MittwaldAPIV2.Components.Schemas.StoragespaceStatistics[];
4005
- description?: string;
4006
- id: string;
4007
- kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsKind;
4008
- meta: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsMeta;
4009
- name: string;
4010
- notificationThresholdInBytes?: number;
4011
- statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
4012
- }
4013
4013
  interface CommonsAddress {
4014
4014
  street: string;
4015
4015
  houseNumber: string;
@@ -17713,22 +17713,19 @@ export declare namespace MittwaldAPIV2 {
17713
17713
  }
17714
17714
  }
17715
17715
  }
17716
- namespace V2UsersUserIdPhone {
17717
- namespace Post {
17716
+ namespace V2ProjectsProjectIdStorageSpaceStatistics {
17717
+ namespace Get {
17718
17718
  namespace Parameters {
17719
17719
  type Path = {
17720
- userId: string;
17720
+ projectId: string;
17721
17721
  };
17722
- interface RequestBody {
17723
- phoneNumber: string;
17724
- }
17725
17722
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17726
17723
  type Query = {};
17727
17724
  }
17728
17725
  namespace Responses {
17729
- namespace $204 {
17726
+ namespace $200 {
17730
17727
  namespace Content {
17731
- type Empty = unknown;
17728
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
17732
17729
  }
17733
17730
  }
17734
17731
  namespace $400 {
@@ -17738,7 +17735,14 @@ export declare namespace MittwaldAPIV2 {
17738
17735
  }
17739
17736
  }
17740
17737
  }
17741
- namespace $409 {
17738
+ namespace $403 {
17739
+ namespace Content {
17740
+ interface ApplicationJson {
17741
+ [k: string]: unknown;
17742
+ }
17743
+ }
17744
+ }
17745
+ namespace $404 {
17742
17746
  namespace Content {
17743
17747
  interface ApplicationJson {
17744
17748
  [k: string]: unknown;
@@ -17752,6 +17756,13 @@ export declare namespace MittwaldAPIV2 {
17752
17756
  }
17753
17757
  }
17754
17758
  }
17759
+ namespace $500 {
17760
+ namespace Content {
17761
+ interface ApplicationJson {
17762
+ [k: string]: unknown;
17763
+ }
17764
+ }
17765
+ }
17755
17766
  namespace Default {
17756
17767
  namespace Content {
17757
17768
  interface ApplicationJson {
@@ -17761,18 +17772,20 @@ export declare namespace MittwaldAPIV2 {
17761
17772
  }
17762
17773
  }
17763
17774
  }
17764
- namespace Delete {
17775
+ }
17776
+ namespace V2ServersServerIdStorageSpaceStatistics {
17777
+ namespace Get {
17765
17778
  namespace Parameters {
17766
17779
  type Path = {
17767
- userId: string;
17780
+ serverId: string;
17768
17781
  };
17769
17782
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17770
17783
  type Query = {};
17771
17784
  }
17772
17785
  namespace Responses {
17773
- namespace $204 {
17786
+ namespace $200 {
17774
17787
  namespace Content {
17775
- type Empty = unknown;
17788
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
17776
17789
  }
17777
17790
  }
17778
17791
  namespace $400 {
@@ -17782,7 +17795,14 @@ export declare namespace MittwaldAPIV2 {
17782
17795
  }
17783
17796
  }
17784
17797
  }
17785
- namespace $412 {
17798
+ namespace $403 {
17799
+ namespace Content {
17800
+ interface ApplicationJson {
17801
+ [k: string]: unknown;
17802
+ }
17803
+ }
17804
+ }
17805
+ namespace $404 {
17786
17806
  namespace Content {
17787
17807
  interface ApplicationJson {
17788
17808
  [k: string]: unknown;
@@ -17796,6 +17816,13 @@ export declare namespace MittwaldAPIV2 {
17796
17816
  }
17797
17817
  }
17798
17818
  }
17819
+ namespace $500 {
17820
+ namespace Content {
17821
+ interface ApplicationJson {
17822
+ [k: string]: unknown;
17823
+ }
17824
+ }
17825
+ }
17799
17826
  namespace Default {
17800
17827
  namespace Content {
17801
17828
  interface ApplicationJson {
@@ -17806,60 +17833,39 @@ export declare namespace MittwaldAPIV2 {
17806
17833
  }
17807
17834
  }
17808
17835
  }
17809
- namespace V2SignupAuthenticationMfa { }
17810
- namespace V2AuthenticateMfa {
17811
- namespace Post {
17836
+ namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
17837
+ namespace Put {
17812
17838
  namespace Parameters {
17813
- type Path = {};
17839
+ type Path = {
17840
+ projectId: string;
17841
+ };
17814
17842
  interface RequestBody {
17815
- /**
17816
- * The email of the user.
17817
- */
17818
- email: string;
17819
- /**
17820
- * The second factor - otp code or recovery code.
17821
- */
17822
- multiFactorCode: string;
17823
- /**
17824
- * The password of the user.
17825
- */
17826
- password: string;
17843
+ notificationThresholdInBytes?: number;
17827
17844
  }
17828
- type Header = {};
17845
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17829
17846
  type Query = {};
17830
17847
  }
17831
17848
  namespace Responses {
17832
- namespace $200 {
17849
+ namespace $204 {
17833
17850
  namespace Content {
17834
- interface ApplicationJson {
17835
- /**
17836
- * The expiration date of the token.
17837
- */
17838
- expires: string;
17839
- /**
17840
- * Refresh token to refresh your access token even after it has expired.
17841
- */
17842
- refreshToken: string;
17843
- /**
17844
- * Public token to identify yourself against the api gateway.
17845
- */
17846
- token: string;
17847
- }
17851
+ type Empty = unknown;
17848
17852
  }
17849
17853
  }
17850
- namespace $400 {
17854
+ namespace $403 {
17851
17855
  namespace Content {
17852
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
17856
+ interface ApplicationJson {
17857
+ [k: string]: unknown;
17858
+ }
17853
17859
  }
17854
17860
  }
17855
- namespace $408 {
17861
+ namespace $429 {
17856
17862
  namespace Content {
17857
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
17858
- name?: "FirstAuthenticationFactorExpired";
17859
- };
17863
+ interface ApplicationJson {
17864
+ [k: string]: unknown;
17865
+ }
17860
17866
  }
17861
17867
  }
17862
- namespace $429 {
17868
+ namespace $500 {
17863
17869
  namespace Content {
17864
17870
  interface ApplicationJson {
17865
17871
  [k: string]: unknown;
@@ -17876,37 +17882,249 @@ export declare namespace MittwaldAPIV2 {
17876
17882
  }
17877
17883
  }
17878
17884
  }
17879
- namespace V2SignupAuthentication { }
17880
- namespace V2Authenticate {
17881
- namespace Post {
17885
+ namespace V2ServersServerIdStorageSpaceNotificationThreshold {
17886
+ namespace Put {
17882
17887
  namespace Parameters {
17883
- type Path = {};
17888
+ type Path = {
17889
+ serverId: string;
17890
+ };
17884
17891
  interface RequestBody {
17885
- /**
17886
- * The users Email-Address.
17887
- */
17888
- email: string;
17889
- /**
17890
- * Password of the User.
17891
- */
17892
- password: string;
17892
+ notificationThresholdInBytes?: number;
17893
17893
  }
17894
- type Header = {};
17894
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17895
17895
  type Query = {};
17896
17896
  }
17897
17897
  namespace Responses {
17898
- namespace $200 {
17898
+ namespace $204 {
17899
+ namespace Content {
17900
+ type Empty = unknown;
17901
+ }
17902
+ }
17903
+ namespace $403 {
17899
17904
  namespace Content {
17900
17905
  interface ApplicationJson {
17901
- /**
17902
- * The expiration date of the token.
17903
- */
17904
- expires: string;
17905
- /**
17906
- * Refresh token to refresh your access token even after it has expired.
17907
- */
17908
- refreshToken: string;
17909
- /**
17906
+ [k: string]: unknown;
17907
+ }
17908
+ }
17909
+ }
17910
+ namespace $429 {
17911
+ namespace Content {
17912
+ interface ApplicationJson {
17913
+ [k: string]: unknown;
17914
+ }
17915
+ }
17916
+ }
17917
+ namespace $500 {
17918
+ namespace Content {
17919
+ interface ApplicationJson {
17920
+ [k: string]: unknown;
17921
+ }
17922
+ }
17923
+ }
17924
+ namespace Default {
17925
+ namespace Content {
17926
+ interface ApplicationJson {
17927
+ [k: string]: unknown;
17928
+ }
17929
+ }
17930
+ }
17931
+ }
17932
+ }
17933
+ }
17934
+ namespace V2UsersUserIdPhone {
17935
+ namespace Post {
17936
+ namespace Parameters {
17937
+ type Path = {
17938
+ userId: string;
17939
+ };
17940
+ interface RequestBody {
17941
+ phoneNumber: string;
17942
+ }
17943
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17944
+ type Query = {};
17945
+ }
17946
+ namespace Responses {
17947
+ namespace $204 {
17948
+ namespace Content {
17949
+ type Empty = unknown;
17950
+ }
17951
+ }
17952
+ namespace $400 {
17953
+ namespace Content {
17954
+ interface ApplicationJson {
17955
+ [k: string]: unknown;
17956
+ }
17957
+ }
17958
+ }
17959
+ namespace $409 {
17960
+ namespace Content {
17961
+ interface ApplicationJson {
17962
+ [k: string]: unknown;
17963
+ }
17964
+ }
17965
+ }
17966
+ namespace $429 {
17967
+ namespace Content {
17968
+ interface ApplicationJson {
17969
+ [k: string]: unknown;
17970
+ }
17971
+ }
17972
+ }
17973
+ namespace Default {
17974
+ namespace Content {
17975
+ interface ApplicationJson {
17976
+ [k: string]: unknown;
17977
+ }
17978
+ }
17979
+ }
17980
+ }
17981
+ }
17982
+ namespace Delete {
17983
+ namespace Parameters {
17984
+ type Path = {
17985
+ userId: string;
17986
+ };
17987
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
17988
+ type Query = {};
17989
+ }
17990
+ namespace Responses {
17991
+ namespace $204 {
17992
+ namespace Content {
17993
+ type Empty = unknown;
17994
+ }
17995
+ }
17996
+ namespace $400 {
17997
+ namespace Content {
17998
+ interface ApplicationJson {
17999
+ [k: string]: unknown;
18000
+ }
18001
+ }
18002
+ }
18003
+ namespace $412 {
18004
+ namespace Content {
18005
+ interface ApplicationJson {
18006
+ [k: string]: unknown;
18007
+ }
18008
+ }
18009
+ }
18010
+ namespace $429 {
18011
+ namespace Content {
18012
+ interface ApplicationJson {
18013
+ [k: string]: unknown;
18014
+ }
18015
+ }
18016
+ }
18017
+ namespace Default {
18018
+ namespace Content {
18019
+ interface ApplicationJson {
18020
+ [k: string]: unknown;
18021
+ }
18022
+ }
18023
+ }
18024
+ }
18025
+ }
18026
+ }
18027
+ namespace V2SignupAuthenticationMfa { }
18028
+ namespace V2AuthenticateMfa {
18029
+ namespace Post {
18030
+ namespace Parameters {
18031
+ type Path = {};
18032
+ interface RequestBody {
18033
+ /**
18034
+ * The email of the user.
18035
+ */
18036
+ email: string;
18037
+ /**
18038
+ * The second factor - otp code or recovery code.
18039
+ */
18040
+ multiFactorCode: string;
18041
+ /**
18042
+ * The password of the user.
18043
+ */
18044
+ password: string;
18045
+ }
18046
+ type Header = {};
18047
+ type Query = {};
18048
+ }
18049
+ namespace Responses {
18050
+ namespace $200 {
18051
+ namespace Content {
18052
+ interface ApplicationJson {
18053
+ /**
18054
+ * The expiration date of the token.
18055
+ */
18056
+ expires: string;
18057
+ /**
18058
+ * Refresh token to refresh your access token even after it has expired.
18059
+ */
18060
+ refreshToken: string;
18061
+ /**
18062
+ * Public token to identify yourself against the api gateway.
18063
+ */
18064
+ token: string;
18065
+ }
18066
+ }
18067
+ }
18068
+ namespace $400 {
18069
+ namespace Content {
18070
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
18071
+ }
18072
+ }
18073
+ namespace $408 {
18074
+ namespace Content {
18075
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
18076
+ name?: "FirstAuthenticationFactorExpired";
18077
+ };
18078
+ }
18079
+ }
18080
+ namespace $429 {
18081
+ namespace Content {
18082
+ interface ApplicationJson {
18083
+ [k: string]: unknown;
18084
+ }
18085
+ }
18086
+ }
18087
+ namespace Default {
18088
+ namespace Content {
18089
+ interface ApplicationJson {
18090
+ [k: string]: unknown;
18091
+ }
18092
+ }
18093
+ }
18094
+ }
18095
+ }
18096
+ }
18097
+ namespace V2SignupAuthentication { }
18098
+ namespace V2Authenticate {
18099
+ namespace Post {
18100
+ namespace Parameters {
18101
+ type Path = {};
18102
+ interface RequestBody {
18103
+ /**
18104
+ * The users Email-Address.
18105
+ */
18106
+ email: string;
18107
+ /**
18108
+ * Password of the User.
18109
+ */
18110
+ password: string;
18111
+ }
18112
+ type Header = {};
18113
+ type Query = {};
18114
+ }
18115
+ namespace Responses {
18116
+ namespace $200 {
18117
+ namespace Content {
18118
+ interface ApplicationJson {
18119
+ /**
18120
+ * The expiration date of the token.
18121
+ */
18122
+ expires: string;
18123
+ /**
18124
+ * Refresh token to refresh your access token even after it has expired.
18125
+ */
18126
+ refreshToken: string;
18127
+ /**
17910
18128
  * Public token to identify yourself against the api gateway.
17911
18129
  */
17912
18130
  token: string;
@@ -20275,223 +20493,5 @@ export declare namespace MittwaldAPIV2 {
20275
20493
  }
20276
20494
  }
20277
20495
  }
20278
- namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
20279
- namespace Put {
20280
- namespace Parameters {
20281
- type Path = {
20282
- projectId: string;
20283
- };
20284
- interface RequestBody {
20285
- notificationThresholdInBytes?: number;
20286
- }
20287
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20288
- type Query = {};
20289
- }
20290
- namespace Responses {
20291
- namespace $204 {
20292
- namespace Content {
20293
- type Empty = unknown;
20294
- }
20295
- }
20296
- namespace $403 {
20297
- namespace Content {
20298
- interface ApplicationJson {
20299
- [k: string]: unknown;
20300
- }
20301
- }
20302
- }
20303
- namespace $429 {
20304
- namespace Content {
20305
- interface ApplicationJson {
20306
- [k: string]: unknown;
20307
- }
20308
- }
20309
- }
20310
- namespace $500 {
20311
- namespace Content {
20312
- interface ApplicationJson {
20313
- [k: string]: unknown;
20314
- }
20315
- }
20316
- }
20317
- namespace Default {
20318
- namespace Content {
20319
- interface ApplicationJson {
20320
- [k: string]: unknown;
20321
- }
20322
- }
20323
- }
20324
- }
20325
- }
20326
- }
20327
- namespace V2ServersServerIdStorageSpaceStatistics {
20328
- namespace Get {
20329
- namespace Parameters {
20330
- type Path = {
20331
- serverId: string;
20332
- };
20333
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20334
- type Query = {};
20335
- }
20336
- namespace Responses {
20337
- namespace $200 {
20338
- namespace Content {
20339
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
20340
- }
20341
- }
20342
- namespace $400 {
20343
- namespace Content {
20344
- interface ApplicationJson {
20345
- [k: string]: unknown;
20346
- }
20347
- }
20348
- }
20349
- namespace $403 {
20350
- namespace Content {
20351
- interface ApplicationJson {
20352
- [k: string]: unknown;
20353
- }
20354
- }
20355
- }
20356
- namespace $404 {
20357
- namespace Content {
20358
- interface ApplicationJson {
20359
- [k: string]: unknown;
20360
- }
20361
- }
20362
- }
20363
- namespace $429 {
20364
- namespace Content {
20365
- interface ApplicationJson {
20366
- [k: string]: unknown;
20367
- }
20368
- }
20369
- }
20370
- namespace $500 {
20371
- namespace Content {
20372
- interface ApplicationJson {
20373
- [k: string]: unknown;
20374
- }
20375
- }
20376
- }
20377
- namespace Default {
20378
- namespace Content {
20379
- interface ApplicationJson {
20380
- [k: string]: unknown;
20381
- }
20382
- }
20383
- }
20384
- }
20385
- }
20386
- }
20387
- namespace V2ServersServerIdStorageSpaceNotificationThreshold {
20388
- namespace Put {
20389
- namespace Parameters {
20390
- type Path = {
20391
- serverId: string;
20392
- };
20393
- interface RequestBody {
20394
- notificationThresholdInBytes?: number;
20395
- }
20396
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20397
- type Query = {};
20398
- }
20399
- namespace Responses {
20400
- namespace $204 {
20401
- namespace Content {
20402
- type Empty = unknown;
20403
- }
20404
- }
20405
- namespace $403 {
20406
- namespace Content {
20407
- interface ApplicationJson {
20408
- [k: string]: unknown;
20409
- }
20410
- }
20411
- }
20412
- namespace $429 {
20413
- namespace Content {
20414
- interface ApplicationJson {
20415
- [k: string]: unknown;
20416
- }
20417
- }
20418
- }
20419
- namespace $500 {
20420
- namespace Content {
20421
- interface ApplicationJson {
20422
- [k: string]: unknown;
20423
- }
20424
- }
20425
- }
20426
- namespace Default {
20427
- namespace Content {
20428
- interface ApplicationJson {
20429
- [k: string]: unknown;
20430
- }
20431
- }
20432
- }
20433
- }
20434
- }
20435
- }
20436
- namespace V2ProjectsProjectIdStorageSpaceStatistics {
20437
- namespace Get {
20438
- namespace Parameters {
20439
- type Path = {
20440
- projectId: string;
20441
- };
20442
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20443
- type Query = {};
20444
- }
20445
- namespace Responses {
20446
- namespace $200 {
20447
- namespace Content {
20448
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
20449
- }
20450
- }
20451
- namespace $400 {
20452
- namespace Content {
20453
- interface ApplicationJson {
20454
- [k: string]: unknown;
20455
- }
20456
- }
20457
- }
20458
- namespace $403 {
20459
- namespace Content {
20460
- interface ApplicationJson {
20461
- [k: string]: unknown;
20462
- }
20463
- }
20464
- }
20465
- namespace $404 {
20466
- namespace Content {
20467
- interface ApplicationJson {
20468
- [k: string]: unknown;
20469
- }
20470
- }
20471
- }
20472
- namespace $429 {
20473
- namespace Content {
20474
- interface ApplicationJson {
20475
- [k: string]: unknown;
20476
- }
20477
- }
20478
- }
20479
- namespace $500 {
20480
- namespace Content {
20481
- interface ApplicationJson {
20482
- [k: string]: unknown;
20483
- }
20484
- }
20485
- }
20486
- namespace Default {
20487
- namespace Content {
20488
- interface ApplicationJson {
20489
- [k: string]: unknown;
20490
- }
20491
- }
20492
- }
20493
- }
20494
- }
20495
- }
20496
20496
  }
20497
20497
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.75.0';
1
+ export declare const MittwaldAPIClientVersion = '4.76.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.76.0",
3
+ "version": "4.77.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "9437dfba20112f8d487db4d6219db1097d5f728e"
83
+ "gitHead": "b751d2938063075db946f1849fa145f106cd3afd"
84
84
  }