@mittwald/api-client 4.520.0 → 4.522.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.
@@ -912,9 +912,17 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
912
912
  type: "component" | "standalone";
913
913
  userInputs?: {
914
914
  dataSource?: string;
915
+ dataType?: "text" | "boolean" | "consent" | "select";
915
916
  defaultValue?: string;
917
+ description?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
918
+ errorMessage?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
919
+ format?: "email" | "password" | "url" | "textarea";
916
920
  label?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
917
921
  name: string;
922
+ options?: {
923
+ label: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
924
+ value: string;
925
+ }[];
918
926
  positionMeta?: {
919
927
  index?: number;
920
928
  section?: string;
@@ -2133,19 +2141,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV3NextClient) => {
2133
2141
  page?: number | undefined;
2134
2142
  } | undefined;
2135
2143
  } | 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
2144
  /** Get a CustomerInvite. */
2150
2145
  getCustomerInvite: (conf: {
2151
2146
  customerInviteId: string;
@@ -3521,20 +3516,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3521
3516
  }) => import("@mittwald/react-use-promise").AsyncResource<{
3522
3517
  settingsString?: string | undefined;
3523
3518
  }>;
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
3519
  /** Get a specific session. */
3539
3520
  getSession: (conf: {
3540
3521
  tokenId: string;
@@ -3656,6 +3637,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3656
3637
  expiresAt: string;
3657
3638
  supportCode: string;
3658
3639
  }>;
3640
+ /** Get poll settings for the specified user. */
3641
+ getPollStatus: (conf: {
3642
+ userId: string;
3643
+ headers?: {
3644
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3645
+ } | undefined;
3646
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3647
+ completedAt?: string | undefined;
3648
+ dontShowUntil?: string | undefined;
3649
+ ignoredAt?: string | undefined;
3650
+ shouldShow: boolean;
3651
+ status: "completed" | "muted" | "ignored" | "new";
3652
+ userId: string;
3653
+ }>;
3659
3654
  };
3660
3655
  declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3661
3656
  /** List Invites belonging to a Project. */
@@ -3795,6 +3790,40 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3795
3790
  role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles;
3796
3791
  userId: string;
3797
3792
  }>;
3793
+ /** Get a usage-metrics breakdown for a server. */
3794
+ getServerUsageMetricsBreakdown: (conf: {
3795
+ queryParameters: {
3796
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3797
+ metric: "cpu" | "memory";
3798
+ from?: (string | Date) | undefined;
3799
+ to?: (string | Date) | undefined;
3800
+ };
3801
+ serverId: string;
3802
+ headers?: {
3803
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3804
+ "x-access-token"?: string | undefined;
3805
+ } | undefined;
3806
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3807
+ databases: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3808
+ limit: number;
3809
+ projects: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3810
+ }>;
3811
+ /** Get usage metrics for a server. */
3812
+ getServerUsageMetrics: (conf: {
3813
+ queryParameters: {
3814
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3815
+ metric: "cpu" | "memory";
3816
+ from?: (string | Date) | undefined;
3817
+ to?: (string | Date) | undefined;
3818
+ };
3819
+ serverId: string;
3820
+ headers?: {
3821
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3822
+ "x-access-token"?: string | undefined;
3823
+ } | undefined;
3824
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3825
+ series: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3826
+ }>;
3798
3827
  /** Get a Server. */
3799
3828
  getServer: (conf: {
3800
3829
  serverId: string;
@@ -3820,6 +3849,40 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3820
3849
  status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectServerStatus;
3821
3850
  storage: string;
3822
3851
  }>;
3852
+ /** Get a usage-metrics breakdown for a project. */
3853
+ getUsageMetricsBreakdown: (conf: {
3854
+ queryParameters: {
3855
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3856
+ metric: "cpu" | "memory";
3857
+ from?: (string | Date) | undefined;
3858
+ to?: (string | Date) | undefined;
3859
+ };
3860
+ projectId: string;
3861
+ headers?: {
3862
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3863
+ "x-access-token"?: string | undefined;
3864
+ } | undefined;
3865
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3866
+ apps: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3867
+ containers: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3868
+ databases: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3869
+ }>;
3870
+ /** Get usage metrics for a project. */
3871
+ getUsageMetrics: (conf: {
3872
+ queryParameters: {
3873
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3874
+ metric: "cpu" | "memory";
3875
+ from?: (string | Date) | undefined;
3876
+ to?: (string | Date) | undefined;
3877
+ };
3878
+ projectId: string;
3879
+ headers?: {
3880
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3881
+ "x-access-token"?: string | undefined;
3882
+ } | undefined;
3883
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3884
+ series: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3885
+ }>;
3823
3886
  /** List Projects belonging to a Customer. */
3824
3887
  listCustomerProjects: (conf: {
3825
3888
  customerId: string;
@@ -3975,74 +4038,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3975
4038
  notificationThresholdInBytes?: number | undefined;
3976
4039
  statisticCategories?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsCategory[] | undefined;
3977
4040
  }>;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3993
- containers: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
3994
- databases: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
4027
- limit: number;
4028
- projects: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUsagemetricsSeries[];
4045
- }>;
4046
4041
  };
4047
4042
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV3NextClient) => {
4048
4043
  /** List directories belonging to a Project. */