@mittwald/api-client 4.519.0 → 4.520.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.
@@ -494,6 +494,14 @@ const buildProjectApi = (baseClient) => ({
494
494
  storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
495
495
  /** Get storage space Statistics belonging to a Server. */
496
496
  storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
497
+ /** Get a usage-metrics breakdown for a project. */
498
+ getUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetricsBreakdown, baseClient.project.getUsageMetricsBreakdown).getApiResource,
499
+ /** Get usage metrics for a project. */
500
+ getUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetrics, baseClient.project.getUsageMetrics).getApiResource,
501
+ /** Get a usage-metrics breakdown for a server. */
502
+ getServerUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetricsBreakdown, baseClient.project.getServerUsageMetricsBreakdown).getApiResource,
503
+ /** Get usage metrics for a server. */
504
+ getServerUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetrics, baseClient.project.getServerUsageMetrics).getApiResource,
497
505
  });
498
506
  const buildProjectFileSystemApi = (baseClient) => ({
499
507
  /** List directories belonging to a Project. */
@@ -1036,6 +1036,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
1036
1036
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
1037
1037
  /** Update a Server's storage space statistics. */
1038
1038
  storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
1039
+ /** Get a usage-metrics breakdown for a project. */
1040
+ getUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetUsageMetricsBreakdown),
1041
+ /** Get usage metrics for a project. */
1042
+ getUsageMetrics: this.requestFunctionFactory(descriptors.projectGetUsageMetrics),
1043
+ /** Get a usage-metrics breakdown for a server. */
1044
+ getServerUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetServerUsageMetricsBreakdown),
1045
+ /** Get usage metrics for a server. */
1046
+ getServerUsageMetrics: this.requestFunctionFactory(descriptors.projectGetServerUsageMetrics),
1039
1047
  };
1040
1048
  /** The filesystem API allows you to directly access the filesystem of your project. */
1041
1049
  projectFileSystem = {
@@ -3004,3 +3004,27 @@ export const verificationVerifyCompany = {
3004
3004
  method: "POST",
3005
3005
  operationId: "verification-verify-company",
3006
3006
  };
3007
+ /** Get a usage-metrics breakdown for a project. */
3008
+ export const projectGetUsageMetricsBreakdown = {
3009
+ path: "/v2/projects/{projectId}/usage-metrics/breakdown",
3010
+ method: "GET",
3011
+ operationId: "project-get-usage-metrics-breakdown",
3012
+ };
3013
+ /** Get usage metrics for a project. */
3014
+ export const projectGetUsageMetrics = {
3015
+ path: "/v2/projects/{projectId}/usage-metrics",
3016
+ method: "GET",
3017
+ operationId: "project-get-usage-metrics",
3018
+ };
3019
+ /** Get a usage-metrics breakdown for a server. */
3020
+ export const projectGetServerUsageMetricsBreakdown = {
3021
+ path: "/v2/servers/{serverId}/usage-metrics/breakdown",
3022
+ method: "GET",
3023
+ operationId: "project-get-server-usage-metrics-breakdown",
3024
+ };
3025
+ /** Get usage metrics for a server. */
3026
+ export const projectGetServerUsageMetrics = {
3027
+ path: "/v2/servers/{serverId}/usage-metrics",
3028
+ method: "GET",
3029
+ operationId: "project-get-server-usage-metrics",
3030
+ };
@@ -494,6 +494,14 @@ const buildProjectApi = (baseClient) => ({
494
494
  storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
495
495
  /** Get storage space Statistics belonging to a Server. */
496
496
  storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
497
+ /** Get a usage-metrics breakdown for a project. */
498
+ getUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetricsBreakdown, baseClient.project.getUsageMetricsBreakdown).getApiResource,
499
+ /** Get usage metrics for a project. */
500
+ getUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetUsageMetrics, baseClient.project.getUsageMetrics).getApiResource,
501
+ /** Get a usage-metrics breakdown for a server. */
502
+ getServerUsageMetricsBreakdown: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetricsBreakdown, baseClient.project.getServerUsageMetricsBreakdown).getApiResource,
503
+ /** Get usage metrics for a server. */
504
+ getServerUsageMetrics: new ApiCallAsyncResourceFactory(descriptors.projectGetServerUsageMetrics, baseClient.project.getServerUsageMetrics).getApiResource,
497
505
  });
498
506
  const buildProjectFileSystemApi = (baseClient) => ({
499
507
  /** List directories belonging to a Project. */
@@ -1036,6 +1036,14 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
1036
1036
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
1037
1037
  /** Update a Server's storage space statistics. */
1038
1038
  storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
1039
+ /** Get a usage-metrics breakdown for a project. */
1040
+ getUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetUsageMetricsBreakdown),
1041
+ /** Get usage metrics for a project. */
1042
+ getUsageMetrics: this.requestFunctionFactory(descriptors.projectGetUsageMetrics),
1043
+ /** Get a usage-metrics breakdown for a server. */
1044
+ getServerUsageMetricsBreakdown: this.requestFunctionFactory(descriptors.projectGetServerUsageMetricsBreakdown),
1045
+ /** Get usage metrics for a server. */
1046
+ getServerUsageMetrics: this.requestFunctionFactory(descriptors.projectGetServerUsageMetrics),
1039
1047
  };
1040
1048
  /** The filesystem API allows you to directly access the filesystem of your project. */
1041
1049
  projectFileSystem = {
@@ -3004,3 +3004,27 @@ export const verificationVerifyCompany = {
3004
3004
  method: "POST",
3005
3005
  operationId: "verification-verify-company",
3006
3006
  };
3007
+ /** Get a usage-metrics breakdown for a project. */
3008
+ export const projectGetUsageMetricsBreakdown = {
3009
+ path: "/v3-next/projects/{projectId}/usage-metrics/breakdown",
3010
+ method: "GET",
3011
+ operationId: "project-get-usage-metrics-breakdown",
3012
+ };
3013
+ /** Get usage metrics for a project. */
3014
+ export const projectGetUsageMetrics = {
3015
+ path: "/v3-next/projects/{projectId}/usage-metrics",
3016
+ method: "GET",
3017
+ operationId: "project-get-usage-metrics",
3018
+ };
3019
+ /** Get a usage-metrics breakdown for a server. */
3020
+ export const projectGetServerUsageMetricsBreakdown = {
3021
+ path: "/v3-next/servers/{serverId}/usage-metrics/breakdown",
3022
+ method: "GET",
3023
+ operationId: "project-get-server-usage-metrics-breakdown",
3024
+ };
3025
+ /** Get usage metrics for a server. */
3026
+ export const projectGetServerUsageMetrics = {
3027
+ path: "/v3-next/servers/{serverId}/usage-metrics",
3028
+ method: "GET",
3029
+ operationId: "project-get-server-usage-metrics",
3030
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.518.0';
1
+ export const MittwaldAPIClientVersion = '4.519.0';
@@ -3975,6 +3975,74 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3975
3975
  notificationThresholdInBytes?: number | undefined;
3976
3976
  statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
3977
3977
  }>;
3978
+ /** Get a usage-metrics breakdown for a project. */
3979
+ getUsageMetricsBreakdown: (conf: {
3980
+ queryParameters: {
3981
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3982
+ metric: "cpu" | "memory";
3983
+ from?: (string | Date) | undefined;
3984
+ to?: (string | Date) | undefined;
3985
+ };
3986
+ projectId: string;
3987
+ headers?: {
3988
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3989
+ "x-access-token"?: string | undefined;
3990
+ } | undefined;
3991
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3992
+ apps: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
3993
+ containers: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
3994
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
3995
+ }>;
3996
+ /** Get usage metrics for a project. */
3997
+ getUsageMetrics: (conf: {
3998
+ queryParameters: {
3999
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4000
+ metric: "cpu" | "memory";
4001
+ from?: (string | Date) | undefined;
4002
+ to?: (string | Date) | undefined;
4003
+ };
4004
+ projectId: string;
4005
+ headers?: {
4006
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4007
+ "x-access-token"?: string | undefined;
4008
+ } | undefined;
4009
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
4010
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
4011
+ }>;
4012
+ /** Get a usage-metrics breakdown for a server. */
4013
+ getServerUsageMetricsBreakdown: (conf: {
4014
+ queryParameters: {
4015
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4016
+ metric: "cpu" | "memory";
4017
+ from?: (string | Date) | undefined;
4018
+ to?: (string | Date) | undefined;
4019
+ };
4020
+ serverId: string;
4021
+ headers?: {
4022
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4023
+ "x-access-token"?: string | undefined;
4024
+ } | undefined;
4025
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
4026
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
4027
+ limit: number;
4028
+ projects: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
4029
+ }>;
4030
+ /** Get usage metrics for a server. */
4031
+ getServerUsageMetrics: (conf: {
4032
+ queryParameters: {
4033
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4034
+ metric: "cpu" | "memory";
4035
+ from?: (string | Date) | undefined;
4036
+ to?: (string | Date) | undefined;
4037
+ };
4038
+ serverId: string;
4039
+ headers?: {
4040
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4041
+ "x-access-token"?: string | undefined;
4042
+ } | undefined;
4043
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
4044
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
4045
+ }>;
3978
4046
  };
3979
4047
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
3980
4048
  /** List directories belonging to a Project. */
@@ -32387,6 +32387,358 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
32387
32387
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32388
32388
  [x: string]: unknown;
32389
32389
  }, 500, "application/json">>>;
32390
+ /** Get a usage-metrics breakdown for a project. */
32391
+ getUsageMetricsBreakdown: (request: {
32392
+ queryParameters: {
32393
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32394
+ metric: "cpu" | "memory";
32395
+ from?: (string | Date) | undefined;
32396
+ to?: (string | Date) | undefined;
32397
+ };
32398
+ projectId: string;
32399
+ headers?: {
32400
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32401
+ "x-access-token"?: string | undefined;
32402
+ } | undefined;
32403
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32404
+ headers?: Partial<{
32405
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32406
+ }>;
32407
+ } & {
32408
+ pathParameters: {
32409
+ projectId: string;
32410
+ };
32411
+ } & {
32412
+ queryParameters: {
32413
+ metric: "cpu" | "memory";
32414
+ from?: (string | Date) | undefined;
32415
+ to?: (string | Date) | undefined;
32416
+ } & Partial<{
32417
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32418
+ }>;
32419
+ } & {
32420
+ headers: {
32421
+ "x-access-token"?: string | undefined;
32422
+ } & Partial<{
32423
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32424
+ }>;
32425
+ }, import("@mittwald/api-client-commons").Response<{
32426
+ apps: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32427
+ containers: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32428
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32429
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32430
+ [x: string]: unknown;
32431
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32432
+ [x: string]: unknown;
32433
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32434
+ [x: string]: unknown;
32435
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32436
+ [x: string]: unknown;
32437
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32438
+ [x: string]: unknown;
32439
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32440
+ [x: string]: unknown;
32441
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32442
+ headers?: Partial<{
32443
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32444
+ }>;
32445
+ } & {
32446
+ pathParameters: {
32447
+ projectId: string;
32448
+ };
32449
+ } & {
32450
+ queryParameters: {
32451
+ metric: "cpu" | "memory";
32452
+ from?: (string | Date) | undefined;
32453
+ to?: (string | Date) | undefined;
32454
+ } & Partial<{
32455
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32456
+ }>;
32457
+ } & {
32458
+ headers: {
32459
+ "x-access-token"?: string | undefined;
32460
+ } & Partial<{
32461
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32462
+ }>;
32463
+ }, import("@mittwald/api-client-commons").Response<{
32464
+ apps: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32465
+ containers: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32466
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32467
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32468
+ [x: string]: unknown;
32469
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32470
+ [x: string]: unknown;
32471
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32472
+ [x: string]: unknown;
32473
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32474
+ [x: string]: unknown;
32475
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32476
+ [x: string]: unknown;
32477
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32478
+ [x: string]: unknown;
32479
+ }, 503, "application/json">>>;
32480
+ /** Get usage metrics for a project. */
32481
+ getUsageMetrics: (request: {
32482
+ queryParameters: {
32483
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32484
+ metric: "cpu" | "memory";
32485
+ from?: (string | Date) | undefined;
32486
+ to?: (string | Date) | undefined;
32487
+ };
32488
+ projectId: string;
32489
+ headers?: {
32490
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32491
+ "x-access-token"?: string | undefined;
32492
+ } | undefined;
32493
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32494
+ headers?: Partial<{
32495
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32496
+ }>;
32497
+ } & {
32498
+ pathParameters: {
32499
+ projectId: string;
32500
+ };
32501
+ } & {
32502
+ queryParameters: {
32503
+ metric: "cpu" | "memory";
32504
+ from?: (string | Date) | undefined;
32505
+ to?: (string | Date) | undefined;
32506
+ } & Partial<{
32507
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32508
+ }>;
32509
+ } & {
32510
+ headers: {
32511
+ "x-access-token"?: string | undefined;
32512
+ } & Partial<{
32513
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32514
+ }>;
32515
+ }, import("@mittwald/api-client-commons").Response<{
32516
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32517
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32518
+ [x: string]: unknown;
32519
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32520
+ [x: string]: unknown;
32521
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32522
+ [x: string]: unknown;
32523
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32524
+ [x: string]: unknown;
32525
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32526
+ [x: string]: unknown;
32527
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32528
+ [x: string]: unknown;
32529
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32530
+ headers?: Partial<{
32531
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32532
+ }>;
32533
+ } & {
32534
+ pathParameters: {
32535
+ projectId: string;
32536
+ };
32537
+ } & {
32538
+ queryParameters: {
32539
+ metric: "cpu" | "memory";
32540
+ from?: (string | Date) | undefined;
32541
+ to?: (string | Date) | undefined;
32542
+ } & Partial<{
32543
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32544
+ }>;
32545
+ } & {
32546
+ headers: {
32547
+ "x-access-token"?: string | undefined;
32548
+ } & Partial<{
32549
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32550
+ }>;
32551
+ }, import("@mittwald/api-client-commons").Response<{
32552
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32553
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32554
+ [x: string]: unknown;
32555
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32556
+ [x: string]: unknown;
32557
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32558
+ [x: string]: unknown;
32559
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32560
+ [x: string]: unknown;
32561
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32562
+ [x: string]: unknown;
32563
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32564
+ [x: string]: unknown;
32565
+ }, 503, "application/json">>>;
32566
+ /** Get a usage-metrics breakdown for a server. */
32567
+ getServerUsageMetricsBreakdown: (request: {
32568
+ queryParameters: {
32569
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32570
+ metric: "cpu" | "memory";
32571
+ from?: (string | Date) | undefined;
32572
+ to?: (string | Date) | undefined;
32573
+ };
32574
+ serverId: string;
32575
+ headers?: {
32576
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32577
+ "x-access-token"?: string | undefined;
32578
+ } | undefined;
32579
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32580
+ headers?: Partial<{
32581
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32582
+ }>;
32583
+ } & {
32584
+ pathParameters: {
32585
+ serverId: string;
32586
+ };
32587
+ } & {
32588
+ queryParameters: {
32589
+ metric: "cpu" | "memory";
32590
+ from?: (string | Date) | undefined;
32591
+ to?: (string | Date) | undefined;
32592
+ } & Partial<{
32593
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32594
+ }>;
32595
+ } & {
32596
+ headers: {
32597
+ "x-access-token"?: string | undefined;
32598
+ } & Partial<{
32599
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32600
+ }>;
32601
+ }, import("@mittwald/api-client-commons").Response<{
32602
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32603
+ limit: number;
32604
+ projects: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32605
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32606
+ [x: string]: unknown;
32607
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32608
+ [x: string]: unknown;
32609
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32610
+ [x: string]: unknown;
32611
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32612
+ [x: string]: unknown;
32613
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32614
+ [x: string]: unknown;
32615
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32616
+ [x: string]: unknown;
32617
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32618
+ headers?: Partial<{
32619
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32620
+ }>;
32621
+ } & {
32622
+ pathParameters: {
32623
+ serverId: string;
32624
+ };
32625
+ } & {
32626
+ queryParameters: {
32627
+ metric: "cpu" | "memory";
32628
+ from?: (string | Date) | undefined;
32629
+ to?: (string | Date) | undefined;
32630
+ } & Partial<{
32631
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32632
+ }>;
32633
+ } & {
32634
+ headers: {
32635
+ "x-access-token"?: string | undefined;
32636
+ } & Partial<{
32637
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32638
+ }>;
32639
+ }, import("@mittwald/api-client-commons").Response<{
32640
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32641
+ limit: number;
32642
+ projects: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32643
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32644
+ [x: string]: unknown;
32645
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32646
+ [x: string]: unknown;
32647
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32648
+ [x: string]: unknown;
32649
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32650
+ [x: string]: unknown;
32651
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32652
+ [x: string]: unknown;
32653
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32654
+ [x: string]: unknown;
32655
+ }, 503, "application/json">>>;
32656
+ /** Get usage metrics for a server. */
32657
+ getServerUsageMetrics: (request: {
32658
+ queryParameters: {
32659
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32660
+ metric: "cpu" | "memory";
32661
+ from?: (string | Date) | undefined;
32662
+ to?: (string | Date) | undefined;
32663
+ };
32664
+ serverId: string;
32665
+ headers?: {
32666
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32667
+ "x-access-token"?: string | undefined;
32668
+ } | undefined;
32669
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32670
+ headers?: Partial<{
32671
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32672
+ }>;
32673
+ } & {
32674
+ pathParameters: {
32675
+ serverId: string;
32676
+ };
32677
+ } & {
32678
+ queryParameters: {
32679
+ metric: "cpu" | "memory";
32680
+ from?: (string | Date) | undefined;
32681
+ to?: (string | Date) | undefined;
32682
+ } & Partial<{
32683
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32684
+ }>;
32685
+ } & {
32686
+ headers: {
32687
+ "x-access-token"?: string | undefined;
32688
+ } & Partial<{
32689
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32690
+ }>;
32691
+ }, import("@mittwald/api-client-commons").Response<{
32692
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32693
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32694
+ [x: string]: unknown;
32695
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32696
+ [x: string]: unknown;
32697
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32698
+ [x: string]: unknown;
32699
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32700
+ [x: string]: unknown;
32701
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32702
+ [x: string]: unknown;
32703
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32704
+ [x: string]: unknown;
32705
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32706
+ headers?: Partial<{
32707
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32708
+ }>;
32709
+ } & {
32710
+ pathParameters: {
32711
+ serverId: string;
32712
+ };
32713
+ } & {
32714
+ queryParameters: {
32715
+ metric: "cpu" | "memory";
32716
+ from?: (string | Date) | undefined;
32717
+ to?: (string | Date) | undefined;
32718
+ } & Partial<{
32719
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32720
+ }>;
32721
+ } & {
32722
+ headers: {
32723
+ "x-access-token"?: string | undefined;
32724
+ } & Partial<{
32725
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32726
+ }>;
32727
+ }, import("@mittwald/api-client-commons").Response<{
32728
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32729
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32730
+ [x: string]: unknown;
32731
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32732
+ [x: string]: unknown;
32733
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32734
+ [x: string]: unknown;
32735
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32736
+ [x: string]: unknown;
32737
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32738
+ [x: string]: unknown;
32739
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32740
+ [x: string]: unknown;
32741
+ }, 503, "application/json">>>;
32390
32742
  };
32391
32743
  /** The filesystem API allows you to directly access the filesystem of your project. */
32392
32744
  readonly projectFileSystem: {
@@ -1005,3 +1005,11 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
1005
1005
  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.Default.Content.ApplicationJson>, "default", "application/json">>;
1006
1006
  /** Check if a company exists. */
1007
1007
  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.Default.Content.ApplicationJson>, "default", "application/json">>;
1008
+ /** Get a usage-metrics breakdown for a project. */
1009
+ export declare const projectGetUsageMetricsBreakdown: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetricsBreakdown.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
1010
+ /** Get usage metrics for a project. */
1011
+ export declare const projectGetUsageMetrics: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdUsageMetrics.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
1012
+ /** Get a usage-metrics breakdown for a server. */
1013
+ export declare const projectGetServerUsageMetricsBreakdown: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetricsBreakdown.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
1014
+ /** Get usage metrics for a server. */
1015
+ export declare const projectGetServerUsageMetrics: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdUsageMetrics.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;