@mittwald/api-client 4.521.0 → 4.523.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;
@@ -3629,6 +3637,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3629
3637
  expiresAt: string;
3630
3638
  supportCode: string;
3631
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
+ }>;
3632
3654
  };
3633
3655
  declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3634
3656
  /** List Invites belonging to a Project. */
@@ -3768,6 +3790,40 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3768
3790
  role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles;
3769
3791
  userId: string;
3770
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
+ }>;
3771
3827
  /** Get a Server. */
3772
3828
  getServer: (conf: {
3773
3829
  serverId: string;
@@ -3793,6 +3849,40 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3793
3849
  status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectServerStatus;
3794
3850
  storage: string;
3795
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
+ }>;
3796
3886
  /** List Projects belonging to a Customer. */
3797
3887
  listCustomerProjects: (conf: {
3798
3888
  customerId: string;
@@ -3948,74 +4038,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3948
4038
  notificationThresholdInBytes?: number | undefined;
3949
4039
  statisticCategories?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsCategory[] | undefined;
3950
4040
  }>;
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
- }>;
4019
4041
  };
4020
4042
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV3NextClient) => {
4021
4043
  /** List directories belonging to a Project. */