@mittwald/api-client 4.519.0 → 4.521.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.
@@ -2133,19 +2133,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV3NextClient) => {
2133
2133
  page?: number | undefined;
2134
2134
  } | undefined;
2135
2135
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerCustomer[]>;
2136
- /** Gets the Wallet of the Customer. */
2137
- getWallet: (conf: {
2138
- customerId: string;
2139
- headers?: {
2140
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2141
- "x-access-token"?: string | undefined;
2142
- } | undefined;
2143
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2144
- customerId: string;
2145
- points: number;
2146
- recommendationCode?: string | undefined;
2147
- walletId: string;
2148
- }>;
2149
2136
  /** Get a CustomerInvite. */
2150
2137
  getCustomerInvite: (conf: {
2151
2138
  customerInviteId: string;
@@ -3521,20 +3508,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3521
3508
  }) => import("@mittwald/react-use-promise").AsyncResource<{
3522
3509
  settingsString?: string | undefined;
3523
3510
  }>;
3524
- /** Get poll settings for the specified user. */
3525
- getPollStatus: (conf: {
3526
- userId: string;
3527
- headers?: {
3528
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3529
- } | undefined;
3530
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3531
- completedAt?: string | undefined;
3532
- dontShowUntil?: string | undefined;
3533
- ignoredAt?: string | undefined;
3534
- shouldShow: boolean;
3535
- status: "completed" | "muted" | "ignored" | "new";
3536
- userId: string;
3537
- }>;
3538
3511
  /** Get a specific session. */
3539
3512
  getSession: (conf: {
3540
3513
  tokenId: string;
@@ -3975,6 +3948,74 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3975
3948
  notificationThresholdInBytes?: number | undefined;
3976
3949
  statisticCategories?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsCategory[] | undefined;
3977
3950
  }>;
3951
+ /** Get a usage-metrics breakdown for a project. */
3952
+ getUsageMetricsBreakdown: (conf: {
3953
+ queryParameters: {
3954
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3955
+ metric: "cpu" | "memory";
3956
+ from?: (string | Date) | undefined;
3957
+ to?: (string | Date) | undefined;
3958
+ };
3959
+ projectId: string;
3960
+ headers?: {
3961
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3962
+ "x-access-token"?: string | undefined;
3963
+ } | undefined;
3964
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3965
+ apps: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3966
+ containers: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3967
+ databases: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3968
+ }>;
3969
+ /** Get usage metrics for a project. */
3970
+ getUsageMetrics: (conf: {
3971
+ queryParameters: {
3972
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3973
+ metric: "cpu" | "memory";
3974
+ from?: (string | Date) | undefined;
3975
+ to?: (string | Date) | undefined;
3976
+ };
3977
+ projectId: string;
3978
+ headers?: {
3979
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3980
+ "x-access-token"?: string | undefined;
3981
+ } | undefined;
3982
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3983
+ series: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3984
+ }>;
3985
+ /** Get a usage-metrics breakdown for a server. */
3986
+ getServerUsageMetricsBreakdown: (conf: {
3987
+ queryParameters: {
3988
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3989
+ metric: "cpu" | "memory";
3990
+ from?: (string | Date) | undefined;
3991
+ to?: (string | Date) | undefined;
3992
+ };
3993
+ serverId: string;
3994
+ headers?: {
3995
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3996
+ "x-access-token"?: string | undefined;
3997
+ } | undefined;
3998
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3999
+ databases: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
4000
+ limit: number;
4001
+ projects: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
4002
+ }>;
4003
+ /** Get usage metrics for a server. */
4004
+ getServerUsageMetrics: (conf: {
4005
+ queryParameters: {
4006
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4007
+ metric: "cpu" | "memory";
4008
+ from?: (string | Date) | undefined;
4009
+ to?: (string | Date) | undefined;
4010
+ };
4011
+ serverId: string;
4012
+ headers?: {
4013
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
4014
+ "x-access-token"?: string | undefined;
4015
+ } | undefined;
4016
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
4017
+ series: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
4018
+ }>;
3978
4019
  };
3979
4020
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV3NextClient) => {
3980
4021
  /** List directories belonging to a Project. */