@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.
@@ -1586,6 +1586,14 @@ export declare namespace MittwaldAPIV2 {
1586
1586
  type RequestData = InferredRequestData<typeof descriptors.projectGetSelfMembershipForProject>;
1587
1587
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetSelfMembershipForProject, TStatus>;
1588
1588
  }
1589
+ namespace ProjectGetServerUsageMetricsBreakdown {
1590
+ type RequestData = InferredRequestData<typeof descriptors.projectGetServerUsageMetricsBreakdown>;
1591
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServerUsageMetricsBreakdown, TStatus>;
1592
+ }
1593
+ namespace ProjectGetServerUsageMetrics {
1594
+ type RequestData = InferredRequestData<typeof descriptors.projectGetServerUsageMetrics>;
1595
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServerUsageMetrics, TStatus>;
1596
+ }
1589
1597
  namespace ProjectGetServer {
1590
1598
  type RequestData = InferredRequestData<typeof descriptors.projectGetServer>;
1591
1599
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServer, TStatus>;
@@ -1594,6 +1602,14 @@ export declare namespace MittwaldAPIV2 {
1594
1602
  type RequestData = InferredRequestData<typeof descriptors.projectUpdateServer>;
1595
1603
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectUpdateServer, TStatus>;
1596
1604
  }
1605
+ namespace ProjectGetUsageMetricsBreakdown {
1606
+ type RequestData = InferredRequestData<typeof descriptors.projectGetUsageMetricsBreakdown>;
1607
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetUsageMetricsBreakdown, TStatus>;
1608
+ }
1609
+ namespace ProjectGetUsageMetrics {
1610
+ type RequestData = InferredRequestData<typeof descriptors.projectGetUsageMetrics>;
1611
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetUsageMetrics, TStatus>;
1612
+ }
1597
1613
  namespace ProjectListCustomerProjects {
1598
1614
  type RequestData = InferredRequestData<typeof descriptors.projectListCustomerProjects>;
1599
1615
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListCustomerProjects, TStatus>;
@@ -1982,21 +1998,13 @@ export declare namespace MittwaldAPIV2 {
1982
1998
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1983
1999
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1984
2000
  }
1985
- namespace ProjectGetUsageMetricsBreakdown {
1986
- type RequestData = InferredRequestData<typeof descriptors.projectGetUsageMetricsBreakdown>;
1987
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetUsageMetricsBreakdown, TStatus>;
1988
- }
1989
- namespace ProjectGetUsageMetrics {
1990
- type RequestData = InferredRequestData<typeof descriptors.projectGetUsageMetrics>;
1991
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetUsageMetrics, TStatus>;
1992
- }
1993
- namespace ProjectGetServerUsageMetricsBreakdown {
1994
- type RequestData = InferredRequestData<typeof descriptors.projectGetServerUsageMetricsBreakdown>;
1995
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServerUsageMetricsBreakdown, TStatus>;
2001
+ namespace UserGetPollStatus {
2002
+ type RequestData = InferredRequestData<typeof descriptors.userGetPollStatus>;
2003
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetPollStatus, TStatus>;
1996
2004
  }
1997
- namespace ProjectGetServerUsageMetrics {
1998
- type RequestData = InferredRequestData<typeof descriptors.projectGetServerUsageMetrics>;
1999
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServerUsageMetrics, TStatus>;
2005
+ namespace UserPostPollStatus {
2006
+ type RequestData = InferredRequestData<typeof descriptors.userPostPollStatus>;
2007
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userPostPollStatus, TStatus>;
2000
2008
  }
2001
2009
  }
2002
2010
  namespace Components {
@@ -3275,15 +3283,35 @@ export declare namespace MittwaldAPIV2 {
3275
3283
  type: "component" | "standalone";
3276
3284
  userInputs?: {
3277
3285
  dataSource?: string;
3286
+ /**
3287
+ * How the installer renders the input. Missing means text.
3288
+ */
3289
+ dataType?: "text" | "boolean" | "consent" | "select";
3278
3290
  defaultValue?: string;
3291
+ description?: MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
3292
+ errorMessage?: MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
3293
+ /**
3294
+ * Input format of a text input.
3295
+ */
3296
+ format?: "email" | "password" | "url" | "textarea";
3279
3297
  label?: MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
3280
3298
  name: string;
3299
+ /**
3300
+ * Options of a select input; their values match the enum of the validation schema.
3301
+ */
3302
+ options?: {
3303
+ label: MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
3304
+ value: string;
3305
+ }[];
3281
3306
  positionMeta?: {
3282
3307
  index?: number;
3283
3308
  section?: string;
3284
3309
  step?: string;
3285
3310
  };
3286
3311
  required: boolean;
3312
+ /**
3313
+ * JSON schema the value is validated against; values are always strings.
3314
+ */
3287
3315
  validationSchema?: string;
3288
3316
  }[];
3289
3317
  /**
@@ -8669,6 +8697,53 @@ export declare namespace MittwaldAPIV2 {
8669
8697
  notificationThresholdInBytes?: number;
8670
8698
  statisticCategories?: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[];
8671
8699
  }
8700
+ interface UsagemetricsGetProjectUsageBreakdownResponse {
8701
+ /**
8702
+ * Usage of all apps relative to the applicable limit.
8703
+ */
8704
+ apps: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
8705
+ /**
8706
+ * Usage per container relative to the applicable limit, labelled with `stack` and `container`.
8707
+ */
8708
+ containers: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
8709
+ /**
8710
+ * Usage of all databases relative to the applicable limit; empty for projects on a dedicated server or proSpace lite.
8711
+ */
8712
+ databases: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
8713
+ }
8714
+ interface UsagemetricsGetServerUsageBreakdownResponse {
8715
+ /**
8716
+ * Absolute database usage (CPU seconds per second or memory bytes), labelled with `database_type` and `database_version`.
8717
+ */
8718
+ databases: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
8719
+ /**
8720
+ * Current server limit in the unit of the requested metric (CPU seconds per second or memory bytes).
8721
+ */
8722
+ limit: number;
8723
+ /**
8724
+ * Usage per project relative to the server limit, labelled with `project`.
8725
+ */
8726
+ projects: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
8727
+ }
8728
+ interface UsagemetricsGetUsageResponse {
8729
+ /**
8730
+ * Usage relative to the applicable limit (1 = 100 %).
8731
+ */
8732
+ series: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
8733
+ }
8734
+ interface UsagemetricsSample {
8735
+ time: string;
8736
+ value: number;
8737
+ }
8738
+ interface UsagemetricsSeries {
8739
+ /**
8740
+ * Prometheus labels identifying the series, e.g. `project`, `stack`, `container`, `database_type` or `database_version`; empty for an aggregated series.
8741
+ */
8742
+ labels: {
8743
+ [k: string]: string;
8744
+ };
8745
+ samples: MittwaldAPIV2.Components.Schemas.UsagemetricsSample[];
8746
+ }
8672
8747
  interface SignupAccount {
8673
8748
  email?: string;
8674
8749
  /**
@@ -9199,52 +9274,13 @@ export declare namespace MittwaldAPIV2 {
9199
9274
  }
9200
9275
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
9201
9276
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
9202
- interface UsagemetricsGetProjectUsageBreakdownResponse {
9203
- /**
9204
- * Usage of all apps relative to the applicable limit.
9205
- */
9206
- apps: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
9207
- /**
9208
- * Usage per container relative to the applicable limit, labelled with `stack` and `container`.
9209
- */
9210
- containers: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
9211
- /**
9212
- * Usage of all databases relative to the applicable limit; empty for projects on a dedicated server or proSpace lite.
9213
- */
9214
- databases: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
9215
- }
9216
- interface UsagemetricsGetServerUsageBreakdownResponse {
9217
- /**
9218
- * Absolute database usage (CPU seconds per second or memory bytes), labelled with `database_type` and `database_version`.
9219
- */
9220
- databases: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
9221
- /**
9222
- * Current server limit in the unit of the requested metric (CPU seconds per second or memory bytes).
9223
- */
9224
- limit: number;
9225
- /**
9226
- * Usage per project relative to the server limit, labelled with `project`.
9227
- */
9228
- projects: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
9229
- }
9230
- interface UsagemetricsGetUsageResponse {
9231
- /**
9232
- * Usage relative to the applicable limit (1 = 100 %).
9233
- */
9234
- series: MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
9235
- }
9236
- interface UsagemetricsSample {
9237
- time: string;
9238
- value: number;
9239
- }
9240
- interface UsagemetricsSeries {
9241
- /**
9242
- * Prometheus labels identifying the series, e.g. `project`, `stack`, `container`, `database_type` or `database_version`; empty for an aggregated series.
9243
- */
9244
- labels: {
9245
- [k: string]: string;
9246
- };
9247
- samples: MittwaldAPIV2.Components.Schemas.UsagemetricsSample[];
9277
+ interface PollUserPollSettings {
9278
+ completedAt?: string;
9279
+ dontShowUntil?: string;
9280
+ ignoredAt?: string;
9281
+ shouldShow: boolean;
9282
+ status: "completed" | "muted" | "ignored" | "new";
9283
+ userId: string;
9248
9284
  }
9249
9285
  interface CommonsAddress {
9250
9286
  street: string;
@@ -20474,6 +20510,7 @@ export declare namespace MittwaldAPIV2 {
20474
20510
  namespace V2DomainsHandleSchemaDomainName { }
20475
20511
  namespace V2DomainsDomainIdScreenshotsNewest { }
20476
20512
  namespace V2ProjectsProjectIdDomains { }
20513
+ namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdActionsDryRunWebhookKind { }
20477
20514
  namespace V2FileTokenRulesToken { }
20478
20515
  namespace V2FileTypeRulesName { }
20479
20516
  namespace V2ProjectsProjectIdIngresses { }
@@ -21081,6 +21118,7 @@ export declare namespace MittwaldAPIV2 {
21081
21118
  }
21082
21119
  }
21083
21120
  namespace V2ProjectsProjectIdLeave { }
21121
+ namespace V2AppsMetrics { }
21084
21122
  namespace V2ProjectsProjectIdDescription { }
21085
21123
  namespace V2ServersServerIdDescription { }
21086
21124
  namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold { }
@@ -23454,7 +23492,6 @@ export declare namespace MittwaldAPIV2 {
23454
23492
  }
23455
23493
  }
23456
23494
  }
23457
- namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdActionsDryRunWebhookKind { }
23458
23495
  namespace V2ExtensionInstancesExtensionInstanceIdActionsEnable {
23459
23496
  namespace Post {
23460
23497
  namespace Parameters {
@@ -30584,83 +30621,61 @@ export declare namespace MittwaldAPIV2 {
30584
30621
  }
30585
30622
  }
30586
30623
  }
30587
- namespace V2ServersServerId {
30624
+ namespace V2ServersServerIdUsageMetricsBreakdown {
30588
30625
  namespace Get {
30589
30626
  namespace Parameters {
30590
30627
  type Path = {
30591
30628
  serverId: string;
30592
30629
  };
30593
30630
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30594
- type Query = {};
30631
+ type Query = {
30632
+ metric: "cpu" | "memory";
30633
+ from?: string | Date;
30634
+ to?: string | Date;
30635
+ };
30595
30636
  }
30596
30637
  namespace Responses {
30597
30638
  namespace $200 {
30598
30639
  namespace Content {
30599
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectServer;
30600
- }
30601
- }
30602
- namespace $403 {
30603
- namespace Content {
30604
- interface ApplicationJson {
30605
- [k: string]: unknown;
30606
- }
30640
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetServerUsageBreakdownResponse;
30607
30641
  }
30608
30642
  }
30609
- namespace $404 {
30643
+ namespace $400 {
30610
30644
  namespace Content {
30611
30645
  interface ApplicationJson {
30612
30646
  [k: string]: unknown;
30613
30647
  }
30614
30648
  }
30615
30649
  }
30616
- namespace $429 {
30650
+ namespace $403 {
30617
30651
  namespace Content {
30618
30652
  interface ApplicationJson {
30619
30653
  [k: string]: unknown;
30620
30654
  }
30621
30655
  }
30622
30656
  }
30623
- namespace Default {
30657
+ namespace $404 {
30624
30658
  namespace Content {
30625
30659
  interface ApplicationJson {
30626
30660
  [k: string]: unknown;
30627
30661
  }
30628
30662
  }
30629
30663
  }
30630
- }
30631
- }
30632
- namespace Patch {
30633
- namespace Parameters {
30634
- type Path = {
30635
- serverId: string;
30636
- };
30637
- interface RequestBody {
30638
- description?: string;
30639
- }
30640
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30641
- type Query = {};
30642
- }
30643
- namespace Responses {
30644
- namespace $204 {
30645
- namespace Content {
30646
- type Empty = unknown;
30647
- }
30648
- }
30649
- namespace $400 {
30664
+ namespace $429 {
30650
30665
  namespace Content {
30651
30666
  interface ApplicationJson {
30652
30667
  [k: string]: unknown;
30653
30668
  }
30654
30669
  }
30655
30670
  }
30656
- namespace $403 {
30671
+ namespace $500 {
30657
30672
  namespace Content {
30658
30673
  interface ApplicationJson {
30659
30674
  [k: string]: unknown;
30660
30675
  }
30661
30676
  }
30662
30677
  }
30663
- namespace $429 {
30678
+ namespace $503 {
30664
30679
  namespace Content {
30665
30680
  interface ApplicationJson {
30666
30681
  [k: string]: unknown;
@@ -30677,26 +30692,23 @@ export declare namespace MittwaldAPIV2 {
30677
30692
  }
30678
30693
  }
30679
30694
  }
30680
- namespace V2CustomersCustomerIdProjects {
30695
+ namespace V2ServersServerIdUsageMetrics {
30681
30696
  namespace Get {
30682
30697
  namespace Parameters {
30683
30698
  type Path = {
30684
- customerId: string;
30699
+ serverId: string;
30685
30700
  };
30686
30701
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30687
30702
  type Query = {
30688
- searchTerm?: string;
30689
- limit?: number;
30690
- skip?: number;
30691
- page?: number;
30692
- sort?: "createdAt" | "description";
30693
- order?: "asc" | "desc";
30703
+ metric: "cpu" | "memory";
30704
+ from?: string | Date;
30705
+ to?: string | Date;
30694
30706
  };
30695
30707
  }
30696
30708
  namespace Responses {
30697
30709
  namespace $200 {
30698
30710
  namespace Content {
30699
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[];
30711
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetUsageResponse;
30700
30712
  }
30701
30713
  }
30702
30714
  namespace $400 {
@@ -30713,55 +30725,28 @@ export declare namespace MittwaldAPIV2 {
30713
30725
  }
30714
30726
  }
30715
30727
  }
30716
- namespace $429 {
30728
+ namespace $404 {
30717
30729
  namespace Content {
30718
30730
  interface ApplicationJson {
30719
30731
  [k: string]: unknown;
30720
30732
  }
30721
30733
  }
30722
30734
  }
30723
- namespace Default {
30735
+ namespace $429 {
30724
30736
  namespace Content {
30725
30737
  interface ApplicationJson {
30726
30738
  [k: string]: unknown;
30727
30739
  }
30728
30740
  }
30729
30741
  }
30730
- }
30731
- }
30732
- }
30733
- namespace V2ProjectsProjectIdMemberships {
30734
- namespace Get {
30735
- namespace Parameters {
30736
- type Path = {
30737
- projectId: string;
30738
- };
30739
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30740
- type Query = {
30741
- hasExpiry?: boolean;
30742
- isInherited?: boolean;
30743
- role?: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
30744
- hasMfa?: boolean;
30745
- searchTerm?: string;
30746
- limit?: number;
30747
- skip?: number;
30748
- page?: number;
30749
- };
30750
- }
30751
- namespace Responses {
30752
- namespace $200 {
30753
- namespace Content {
30754
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[];
30755
- }
30756
- }
30757
- namespace $404 {
30742
+ namespace $500 {
30758
30743
  namespace Content {
30759
30744
  interface ApplicationJson {
30760
30745
  [k: string]: unknown;
30761
30746
  }
30762
30747
  }
30763
30748
  }
30764
- namespace $429 {
30749
+ namespace $503 {
30765
30750
  namespace Content {
30766
30751
  interface ApplicationJson {
30767
30752
  [k: string]: unknown;
@@ -30778,38 +30763,374 @@ export declare namespace MittwaldAPIV2 {
30778
30763
  }
30779
30764
  }
30780
30765
  }
30781
- namespace V2ProjectsProjectIdActivities {
30766
+ namespace V2ServersServerId {
30782
30767
  namespace Get {
30783
30768
  namespace Parameters {
30784
30769
  type Path = {
30785
- projectId: string;
30786
- };
30787
- type Header = {};
30788
- type Query = {
30789
- aggregateName?: string;
30790
- aggregateDomain?: string;
30791
- aggregateId?: string;
30792
- startTime?: string | Date;
30793
- endTime?: string | Date;
30794
- fulltextSearch?: string;
30795
- limit?: number;
30796
- skip?: number;
30797
- page?: number;
30798
- sort?: "dateTime";
30799
- order?: "asc" | "desc";
30770
+ serverId: string;
30800
30771
  };
30772
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30773
+ type Query = {};
30801
30774
  }
30802
30775
  namespace Responses {
30803
30776
  namespace $200 {
30804
30777
  namespace Content {
30805
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[];
30806
- }
30807
- }
30808
- namespace $400 {
30809
- namespace Content {
30810
- interface ApplicationJson {
30811
- [k: string]: unknown;
30812
- }
30778
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectServer;
30779
+ }
30780
+ }
30781
+ namespace $403 {
30782
+ namespace Content {
30783
+ interface ApplicationJson {
30784
+ [k: string]: unknown;
30785
+ }
30786
+ }
30787
+ }
30788
+ namespace $404 {
30789
+ namespace Content {
30790
+ interface ApplicationJson {
30791
+ [k: string]: unknown;
30792
+ }
30793
+ }
30794
+ }
30795
+ namespace $429 {
30796
+ namespace Content {
30797
+ interface ApplicationJson {
30798
+ [k: string]: unknown;
30799
+ }
30800
+ }
30801
+ }
30802
+ namespace Default {
30803
+ namespace Content {
30804
+ interface ApplicationJson {
30805
+ [k: string]: unknown;
30806
+ }
30807
+ }
30808
+ }
30809
+ }
30810
+ }
30811
+ namespace Patch {
30812
+ namespace Parameters {
30813
+ type Path = {
30814
+ serverId: string;
30815
+ };
30816
+ interface RequestBody {
30817
+ description?: string;
30818
+ }
30819
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30820
+ type Query = {};
30821
+ }
30822
+ namespace Responses {
30823
+ namespace $204 {
30824
+ namespace Content {
30825
+ type Empty = unknown;
30826
+ }
30827
+ }
30828
+ namespace $400 {
30829
+ namespace Content {
30830
+ interface ApplicationJson {
30831
+ [k: string]: unknown;
30832
+ }
30833
+ }
30834
+ }
30835
+ namespace $403 {
30836
+ namespace Content {
30837
+ interface ApplicationJson {
30838
+ [k: string]: unknown;
30839
+ }
30840
+ }
30841
+ }
30842
+ namespace $429 {
30843
+ namespace Content {
30844
+ interface ApplicationJson {
30845
+ [k: string]: unknown;
30846
+ }
30847
+ }
30848
+ }
30849
+ namespace Default {
30850
+ namespace Content {
30851
+ interface ApplicationJson {
30852
+ [k: string]: unknown;
30853
+ }
30854
+ }
30855
+ }
30856
+ }
30857
+ }
30858
+ }
30859
+ namespace V2ProjectsProjectIdUsageMetricsBreakdown {
30860
+ namespace Get {
30861
+ namespace Parameters {
30862
+ type Path = {
30863
+ projectId: string;
30864
+ };
30865
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30866
+ type Query = {
30867
+ metric: "cpu" | "memory";
30868
+ from?: string | Date;
30869
+ to?: string | Date;
30870
+ };
30871
+ }
30872
+ namespace Responses {
30873
+ namespace $200 {
30874
+ namespace Content {
30875
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetProjectUsageBreakdownResponse;
30876
+ }
30877
+ }
30878
+ namespace $400 {
30879
+ namespace Content {
30880
+ interface ApplicationJson {
30881
+ [k: string]: unknown;
30882
+ }
30883
+ }
30884
+ }
30885
+ namespace $403 {
30886
+ namespace Content {
30887
+ interface ApplicationJson {
30888
+ [k: string]: unknown;
30889
+ }
30890
+ }
30891
+ }
30892
+ namespace $404 {
30893
+ namespace Content {
30894
+ interface ApplicationJson {
30895
+ [k: string]: unknown;
30896
+ }
30897
+ }
30898
+ }
30899
+ namespace $429 {
30900
+ namespace Content {
30901
+ interface ApplicationJson {
30902
+ [k: string]: unknown;
30903
+ }
30904
+ }
30905
+ }
30906
+ namespace $500 {
30907
+ namespace Content {
30908
+ interface ApplicationJson {
30909
+ [k: string]: unknown;
30910
+ }
30911
+ }
30912
+ }
30913
+ namespace $503 {
30914
+ namespace Content {
30915
+ interface ApplicationJson {
30916
+ [k: string]: unknown;
30917
+ }
30918
+ }
30919
+ }
30920
+ namespace Default {
30921
+ namespace Content {
30922
+ interface ApplicationJson {
30923
+ [k: string]: unknown;
30924
+ }
30925
+ }
30926
+ }
30927
+ }
30928
+ }
30929
+ }
30930
+ namespace V2ProjectsProjectIdUsageMetrics {
30931
+ namespace Get {
30932
+ namespace Parameters {
30933
+ type Path = {
30934
+ projectId: string;
30935
+ };
30936
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
30937
+ type Query = {
30938
+ metric: "cpu" | "memory";
30939
+ from?: string | Date;
30940
+ to?: string | Date;
30941
+ };
30942
+ }
30943
+ namespace Responses {
30944
+ namespace $200 {
30945
+ namespace Content {
30946
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetUsageResponse;
30947
+ }
30948
+ }
30949
+ namespace $400 {
30950
+ namespace Content {
30951
+ interface ApplicationJson {
30952
+ [k: string]: unknown;
30953
+ }
30954
+ }
30955
+ }
30956
+ namespace $403 {
30957
+ namespace Content {
30958
+ interface ApplicationJson {
30959
+ [k: string]: unknown;
30960
+ }
30961
+ }
30962
+ }
30963
+ namespace $404 {
30964
+ namespace Content {
30965
+ interface ApplicationJson {
30966
+ [k: string]: unknown;
30967
+ }
30968
+ }
30969
+ }
30970
+ namespace $429 {
30971
+ namespace Content {
30972
+ interface ApplicationJson {
30973
+ [k: string]: unknown;
30974
+ }
30975
+ }
30976
+ }
30977
+ namespace $500 {
30978
+ namespace Content {
30979
+ interface ApplicationJson {
30980
+ [k: string]: unknown;
30981
+ }
30982
+ }
30983
+ }
30984
+ namespace $503 {
30985
+ namespace Content {
30986
+ interface ApplicationJson {
30987
+ [k: string]: unknown;
30988
+ }
30989
+ }
30990
+ }
30991
+ namespace Default {
30992
+ namespace Content {
30993
+ interface ApplicationJson {
30994
+ [k: string]: unknown;
30995
+ }
30996
+ }
30997
+ }
30998
+ }
30999
+ }
31000
+ }
31001
+ namespace V2CustomersCustomerIdProjects {
31002
+ namespace Get {
31003
+ namespace Parameters {
31004
+ type Path = {
31005
+ customerId: string;
31006
+ };
31007
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31008
+ type Query = {
31009
+ searchTerm?: string;
31010
+ limit?: number;
31011
+ skip?: number;
31012
+ page?: number;
31013
+ sort?: "createdAt" | "description";
31014
+ order?: "asc" | "desc";
31015
+ };
31016
+ }
31017
+ namespace Responses {
31018
+ namespace $200 {
31019
+ namespace Content {
31020
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[];
31021
+ }
31022
+ }
31023
+ namespace $400 {
31024
+ namespace Content {
31025
+ interface ApplicationJson {
31026
+ [k: string]: unknown;
31027
+ }
31028
+ }
31029
+ }
31030
+ namespace $403 {
31031
+ namespace Content {
31032
+ interface ApplicationJson {
31033
+ [k: string]: unknown;
31034
+ }
31035
+ }
31036
+ }
31037
+ namespace $429 {
31038
+ namespace Content {
31039
+ interface ApplicationJson {
31040
+ [k: string]: unknown;
31041
+ }
31042
+ }
31043
+ }
31044
+ namespace Default {
31045
+ namespace Content {
31046
+ interface ApplicationJson {
31047
+ [k: string]: unknown;
31048
+ }
31049
+ }
31050
+ }
31051
+ }
31052
+ }
31053
+ }
31054
+ namespace V2ProjectsProjectIdMemberships {
31055
+ namespace Get {
31056
+ namespace Parameters {
31057
+ type Path = {
31058
+ projectId: string;
31059
+ };
31060
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31061
+ type Query = {
31062
+ hasExpiry?: boolean;
31063
+ isInherited?: boolean;
31064
+ role?: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
31065
+ hasMfa?: boolean;
31066
+ searchTerm?: string;
31067
+ limit?: number;
31068
+ skip?: number;
31069
+ page?: number;
31070
+ };
31071
+ }
31072
+ namespace Responses {
31073
+ namespace $200 {
31074
+ namespace Content {
31075
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[];
31076
+ }
31077
+ }
31078
+ namespace $404 {
31079
+ namespace Content {
31080
+ interface ApplicationJson {
31081
+ [k: string]: unknown;
31082
+ }
31083
+ }
31084
+ }
31085
+ namespace $429 {
31086
+ namespace Content {
31087
+ interface ApplicationJson {
31088
+ [k: string]: unknown;
31089
+ }
31090
+ }
31091
+ }
31092
+ namespace Default {
31093
+ namespace Content {
31094
+ interface ApplicationJson {
31095
+ [k: string]: unknown;
31096
+ }
31097
+ }
31098
+ }
31099
+ }
31100
+ }
31101
+ }
31102
+ namespace V2ProjectsProjectIdActivities {
31103
+ namespace Get {
31104
+ namespace Parameters {
31105
+ type Path = {
31106
+ projectId: string;
31107
+ };
31108
+ type Header = {};
31109
+ type Query = {
31110
+ aggregateName?: string;
31111
+ aggregateDomain?: string;
31112
+ aggregateId?: string;
31113
+ startTime?: string | Date;
31114
+ endTime?: string | Date;
31115
+ fulltextSearch?: string;
31116
+ limit?: number;
31117
+ skip?: number;
31118
+ page?: number;
31119
+ sort?: "dateTime";
31120
+ order?: "asc" | "desc";
31121
+ };
31122
+ }
31123
+ namespace Responses {
31124
+ namespace $200 {
31125
+ namespace Content {
31126
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[];
31127
+ }
31128
+ }
31129
+ namespace $400 {
31130
+ namespace Content {
31131
+ interface ApplicationJson {
31132
+ [k: string]: unknown;
31133
+ }
30813
31134
  }
30814
31135
  }
30815
31136
  namespace $403 {
@@ -32371,12 +32692,19 @@ export declare namespace MittwaldAPIV2 {
32371
32692
  namespace Parameters {
32372
32693
  type Path = {};
32373
32694
  interface RequestBody {
32695
+ /**
32696
+ * The response token of a solved captcha challenge. Not needed for a short while after a
32697
+ * `POST /authenticate` that answered `202`; otherwise a missing, unsolved or already used token is
32698
+ * rejected with `CaptchaVerificationFailed` (400).
32699
+ *
32700
+ */
32701
+ captchaToken?: string;
32374
32702
  /**
32375
32703
  * The email of the user.
32376
32704
  */
32377
32705
  email: string;
32378
32706
  /**
32379
- * The second factor - otp code or recovery code.
32707
+ * The second factor - otp code, recovery code or the confirmation code mailed at login.
32380
32708
  */
32381
32709
  multiFactorCode?: string;
32382
32710
  passkeyCredential?: MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential;
@@ -32433,6 +32761,11 @@ export declare namespace MittwaldAPIV2 {
32433
32761
  }
32434
32762
  }
32435
32763
  }
32764
+ namespace $503 {
32765
+ namespace Content {
32766
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
32767
+ }
32768
+ }
32436
32769
  namespace Default {
32437
32770
  namespace Content {
32438
32771
  interface ApplicationJson {
@@ -32448,6 +32781,12 @@ export declare namespace MittwaldAPIV2 {
32448
32781
  namespace Parameters {
32449
32782
  type Path = {};
32450
32783
  interface RequestBody {
32784
+ /**
32785
+ * The response token of a solved captcha challenge, as issued by the captcha widget of the login
32786
+ * form. A missing, unsolved or already used token is rejected with `CaptchaVerificationFailed` (400).
32787
+ *
32788
+ */
32789
+ captchaToken?: string;
32451
32790
  challengeId: string;
32452
32791
  credential: MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
32453
32792
  }
@@ -32499,6 +32838,11 @@ export declare namespace MittwaldAPIV2 {
32499
32838
  }
32500
32839
  }
32501
32840
  }
32841
+ namespace $503 {
32842
+ namespace Content {
32843
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
32844
+ }
32845
+ }
32502
32846
  namespace Default {
32503
32847
  namespace Content {
32504
32848
  interface ApplicationJson {
@@ -32515,6 +32859,12 @@ export declare namespace MittwaldAPIV2 {
32515
32859
  namespace Parameters {
32516
32860
  type Path = {};
32517
32861
  interface RequestBody {
32862
+ /**
32863
+ * The response token of a solved captcha challenge, as issued by the captcha widget of the login
32864
+ * form. A missing, unsolved or already used token is rejected with `CaptchaVerificationFailed` (400).
32865
+ *
32866
+ */
32867
+ captchaToken?: string;
32518
32868
  /**
32519
32869
  * The users Email-Address.
32520
32870
  */
@@ -32554,7 +32904,7 @@ export declare namespace MittwaldAPIV2 {
32554
32904
  /**
32555
32905
  * More values may be added in the future; clients must ignore values they do not know.
32556
32906
  */
32557
- availableSecondFactors: ("totp" | "passkey")[];
32907
+ availableSecondFactors: ("totp" | "passkey" | "email")[];
32558
32908
  name?: "SecondFactorRequired";
32559
32909
  passkeyChallenge?: MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge;
32560
32910
  }
@@ -32582,6 +32932,11 @@ export declare namespace MittwaldAPIV2 {
32582
32932
  }
32583
32933
  }
32584
32934
  }
32935
+ namespace $503 {
32936
+ namespace Content {
32937
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
32938
+ }
32939
+ }
32585
32940
  namespace Default {
32586
32941
  namespace Content {
32587
32942
  interface ApplicationJson {
@@ -34757,6 +35112,12 @@ export declare namespace MittwaldAPIV2 {
34757
35112
  namespace Parameters {
34758
35113
  type Path = {};
34759
35114
  interface RequestBody {
35115
+ /**
35116
+ * The response token of a solved captcha challenge, as issued by the captcha widget of the
35117
+ * registration form. An unsolved or already used token is rejected with `CaptchaVerificationFailed`.
35118
+ *
35119
+ */
35120
+ captchaToken?: string;
34760
35121
  /**
34761
35122
  * The users email address
34762
35123
  */
@@ -34795,6 +35156,11 @@ export declare namespace MittwaldAPIV2 {
34795
35156
  }
34796
35157
  }
34797
35158
  }
35159
+ namespace $503 {
35160
+ namespace Content {
35161
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
35162
+ }
35163
+ }
34798
35164
  namespace Default {
34799
35165
  namespace Content {
34800
35166
  interface ApplicationJson {
@@ -34950,9 +35316,7 @@ export declare namespace MittwaldAPIV2 {
34950
35316
  }
34951
35317
  namespace $429 {
34952
35318
  namespace Content {
34953
- interface ApplicationJson {
34954
- [k: string]: unknown;
34955
- }
35319
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
34956
35320
  }
34957
35321
  }
34958
35322
  namespace Default {
@@ -35384,116 +35748,19 @@ export declare namespace MittwaldAPIV2 {
35384
35748
  }
35385
35749
  }
35386
35750
  }
35387
- namespace V2AppsMetrics { }
35388
- namespace V2ProjectsProjectIdUsageMetricsBreakdown {
35751
+ namespace V2PollSettingsUserId {
35389
35752
  namespace Get {
35390
35753
  namespace Parameters {
35391
35754
  type Path = {
35392
- projectId: string;
35393
- };
35394
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35395
- type Query = {
35396
- metric: "cpu" | "memory";
35397
- from?: string | Date;
35398
- to?: string | Date;
35399
- };
35400
- }
35401
- namespace Responses {
35402
- namespace $200 {
35403
- namespace Content {
35404
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetProjectUsageBreakdownResponse;
35405
- }
35406
- }
35407
- namespace $400 {
35408
- namespace Content {
35409
- interface ApplicationJson {
35410
- [k: string]: unknown;
35411
- }
35412
- }
35413
- }
35414
- namespace $403 {
35415
- namespace Content {
35416
- interface ApplicationJson {
35417
- [k: string]: unknown;
35418
- }
35419
- }
35420
- }
35421
- namespace $404 {
35422
- namespace Content {
35423
- interface ApplicationJson {
35424
- [k: string]: unknown;
35425
- }
35426
- }
35427
- }
35428
- namespace $429 {
35429
- namespace Content {
35430
- interface ApplicationJson {
35431
- [k: string]: unknown;
35432
- }
35433
- }
35434
- }
35435
- namespace $500 {
35436
- namespace Content {
35437
- interface ApplicationJson {
35438
- [k: string]: unknown;
35439
- }
35440
- }
35441
- }
35442
- namespace $503 {
35443
- namespace Content {
35444
- interface ApplicationJson {
35445
- [k: string]: unknown;
35446
- }
35447
- }
35448
- }
35449
- namespace Default {
35450
- namespace Content {
35451
- interface ApplicationJson {
35452
- [k: string]: unknown;
35453
- }
35454
- }
35455
- }
35456
- }
35457
- }
35458
- }
35459
- namespace V2ProjectsProjectIdUsageMetrics {
35460
- namespace Get {
35461
- namespace Parameters {
35462
- type Path = {
35463
- projectId: string;
35464
- };
35465
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35466
- type Query = {
35467
- metric: "cpu" | "memory";
35468
- from?: string | Date;
35469
- to?: string | Date;
35755
+ userId: string;
35470
35756
  };
35757
+ type Header = {};
35758
+ type Query = {};
35471
35759
  }
35472
35760
  namespace Responses {
35473
35761
  namespace $200 {
35474
35762
  namespace Content {
35475
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetUsageResponse;
35476
- }
35477
- }
35478
- namespace $400 {
35479
- namespace Content {
35480
- interface ApplicationJson {
35481
- [k: string]: unknown;
35482
- }
35483
- }
35484
- }
35485
- namespace $403 {
35486
- namespace Content {
35487
- interface ApplicationJson {
35488
- [k: string]: unknown;
35489
- }
35490
- }
35491
- }
35492
- namespace $404 {
35493
- namespace Content {
35494
- interface ApplicationJson {
35495
- [k: string]: unknown;
35496
- }
35763
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
35497
35764
  }
35498
35765
  }
35499
35766
  namespace $429 {
@@ -35510,13 +35777,6 @@ export declare namespace MittwaldAPIV2 {
35510
35777
  }
35511
35778
  }
35512
35779
  }
35513
- namespace $503 {
35514
- namespace Content {
35515
- interface ApplicationJson {
35516
- [k: string]: unknown;
35517
- }
35518
- }
35519
- }
35520
35780
  namespace Default {
35521
35781
  namespace Content {
35522
35782
  interface ApplicationJson {
@@ -35526,95 +35786,22 @@ export declare namespace MittwaldAPIV2 {
35526
35786
  }
35527
35787
  }
35528
35788
  }
35529
- }
35530
- namespace V2ServersServerIdUsageMetricsBreakdown {
35531
- namespace Get {
35789
+ namespace Post {
35532
35790
  namespace Parameters {
35533
35791
  type Path = {
35534
- serverId: string;
35535
- };
35536
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35537
- type Query = {
35538
- metric: "cpu" | "memory";
35539
- from?: string | Date;
35540
- to?: string | Date;
35792
+ userId: string;
35541
35793
  };
35542
- }
35543
- namespace Responses {
35544
- namespace $200 {
35545
- namespace Content {
35546
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetServerUsageBreakdownResponse;
35547
- }
35548
- }
35549
- namespace $400 {
35550
- namespace Content {
35551
- interface ApplicationJson {
35552
- [k: string]: unknown;
35553
- }
35554
- }
35555
- }
35556
- namespace $403 {
35557
- namespace Content {
35558
- interface ApplicationJson {
35559
- [k: string]: unknown;
35560
- }
35561
- }
35562
- }
35563
- namespace $404 {
35564
- namespace Content {
35565
- interface ApplicationJson {
35566
- [k: string]: unknown;
35567
- }
35568
- }
35569
- }
35570
- namespace $429 {
35571
- namespace Content {
35572
- interface ApplicationJson {
35573
- [k: string]: unknown;
35574
- }
35575
- }
35576
- }
35577
- namespace $500 {
35578
- namespace Content {
35579
- interface ApplicationJson {
35580
- [k: string]: unknown;
35581
- }
35582
- }
35583
- }
35584
- namespace $503 {
35585
- namespace Content {
35586
- interface ApplicationJson {
35587
- [k: string]: unknown;
35588
- }
35589
- }
35590
- }
35591
- namespace Default {
35592
- namespace Content {
35593
- interface ApplicationJson {
35594
- [k: string]: unknown;
35595
- }
35596
- }
35794
+ interface RequestBody {
35795
+ status: "completed" | "muted" | "ignored";
35796
+ userId: string;
35597
35797
  }
35598
- }
35599
- }
35600
- }
35601
- namespace V2ServersServerIdUsageMetrics {
35602
- namespace Get {
35603
- namespace Parameters {
35604
- type Path = {
35605
- serverId: string;
35606
- };
35607
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
35608
- type Query = {
35609
- metric: "cpu" | "memory";
35610
- from?: string | Date;
35611
- to?: string | Date;
35612
- };
35798
+ type Header = {};
35799
+ type Query = {};
35613
35800
  }
35614
35801
  namespace Responses {
35615
35802
  namespace $200 {
35616
35803
  namespace Content {
35617
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetUsageResponse;
35804
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
35618
35805
  }
35619
35806
  }
35620
35807
  namespace $400 {
@@ -35624,20 +35811,6 @@ export declare namespace MittwaldAPIV2 {
35624
35811
  }
35625
35812
  }
35626
35813
  }
35627
- namespace $403 {
35628
- namespace Content {
35629
- interface ApplicationJson {
35630
- [k: string]: unknown;
35631
- }
35632
- }
35633
- }
35634
- namespace $404 {
35635
- namespace Content {
35636
- interface ApplicationJson {
35637
- [k: string]: unknown;
35638
- }
35639
- }
35640
- }
35641
35814
  namespace $429 {
35642
35815
  namespace Content {
35643
35816
  interface ApplicationJson {
@@ -35652,13 +35825,6 @@ export declare namespace MittwaldAPIV2 {
35652
35825
  }
35653
35826
  }
35654
35827
  }
35655
- namespace $503 {
35656
- namespace Content {
35657
- interface ApplicationJson {
35658
- [k: string]: unknown;
35659
- }
35660
- }
35661
- }
35662
35828
  namespace Default {
35663
35829
  namespace Content {
35664
35830
  interface ApplicationJson {