@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.
@@ -658,18 +658,6 @@ export declare namespace MittwaldAPIV2 {
658
658
  type RequestData = InferredRequestData<typeof descriptors.customerCreateCustomer>;
659
659
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateCustomer, TStatus>;
660
660
  }
661
- namespace CustomerCreateRecommendationSuggestion {
662
- type RequestData = InferredRequestData<typeof descriptors.customerCreateRecommendationSuggestion>;
663
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateRecommendationSuggestion, TStatus>;
664
- }
665
- namespace CustomerGetWallet {
666
- type RequestData = InferredRequestData<typeof descriptors.customerGetWallet>;
667
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerGetWallet, TStatus>;
668
- }
669
- namespace CustomerCreateWallet {
670
- type RequestData = InferredRequestData<typeof descriptors.customerCreateWallet>;
671
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateWallet, TStatus>;
672
- }
673
661
  namespace CustomerDeclineCustomerInvite {
674
662
  type RequestData = InferredRequestData<typeof descriptors.customerDeclineCustomerInvite>;
675
663
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerDeclineCustomerInvite, TStatus>;
@@ -1070,10 +1058,6 @@ export declare namespace MittwaldAPIV2 {
1070
1058
  type RequestData = InferredRequestData<typeof descriptors.extensionDisableExtensionInstance>;
1071
1059
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionDisableExtensionInstance, TStatus>;
1072
1060
  }
1073
- namespace ExtensionDryRunWebhook {
1074
- type RequestData = InferredRequestData<typeof descriptors.extensionDryRunWebhook>;
1075
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionDryRunWebhook, TStatus>;
1076
- }
1077
1061
  namespace ExtensionEnableExtensionInstance {
1078
1062
  type RequestData = InferredRequestData<typeof descriptors.extensionEnableExtensionInstance>;
1079
1063
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionEnableExtensionInstance, TStatus>;
@@ -1886,14 +1870,6 @@ export declare namespace MittwaldAPIV2 {
1886
1870
  type RequestData = InferredRequestData<typeof descriptors.userUpdatePersonalizedSettings>;
1887
1871
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdatePersonalizedSettings, TStatus>;
1888
1872
  }
1889
- namespace UserGetPollStatus {
1890
- type RequestData = InferredRequestData<typeof descriptors.userGetPollStatus>;
1891
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetPollStatus, TStatus>;
1892
- }
1893
- namespace UserPostPollStatus {
1894
- type RequestData = InferredRequestData<typeof descriptors.userPostPollStatus>;
1895
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userPostPollStatus, TStatus>;
1896
- }
1897
1873
  namespace UserGetSession {
1898
1874
  type RequestData = InferredRequestData<typeof descriptors.userGetSession>;
1899
1875
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetSession, TStatus>;
@@ -2006,6 +1982,22 @@ export declare namespace MittwaldAPIV2 {
2006
1982
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
2007
1983
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
2008
1984
  }
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>;
1996
+ }
1997
+ namespace ProjectGetServerUsageMetrics {
1998
+ type RequestData = InferredRequestData<typeof descriptors.projectGetServerUsageMetrics>;
1999
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetServerUsageMetrics, TStatus>;
2000
+ }
2009
2001
  }
2010
2002
  namespace Components {
2011
2003
  namespace Schemas {
@@ -9131,14 +9123,6 @@ export declare namespace MittwaldAPIV2 {
9131
9123
  key: string;
9132
9124
  sshKeyId: string;
9133
9125
  }
9134
- interface PollUserPollSettings {
9135
- completedAt?: string;
9136
- dontShowUntil?: string;
9137
- ignoredAt?: string;
9138
- shouldShow: boolean;
9139
- status: "completed" | "muted" | "ignored" | "new";
9140
- userId: string;
9141
- }
9142
9126
  interface SignupUserSession {
9143
9127
  created: string;
9144
9128
  device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
@@ -9215,6 +9199,53 @@ export declare namespace MittwaldAPIV2 {
9215
9199
  }
9216
9200
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
9217
9201
  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[];
9248
+ }
9218
9249
  interface CommonsAddress {
9219
9250
  street: string;
9220
9251
  houseNumber: string;
@@ -18367,52 +18398,19 @@ export declare namespace MittwaldAPIV2 {
18367
18398
  }
18368
18399
  }
18369
18400
  }
18370
- namespace V2CustomersCustomerIdRecommendationSuggestions {
18401
+ namespace V2CustomerInvitesCustomerInviteIdActionsDecline {
18371
18402
  namespace Post {
18372
18403
  namespace Parameters {
18373
18404
  type Path = {
18374
- customerId: string;
18405
+ customerInviteId: string;
18375
18406
  };
18376
- interface RequestBody {
18377
- suggestion: string;
18378
- }
18379
18407
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18380
18408
  type Query = {};
18381
18409
  }
18382
18410
  namespace Responses {
18383
- namespace $201 {
18384
- namespace Content {
18385
- interface ApplicationJson {
18386
- customerId?: string;
18387
- }
18388
- }
18389
- }
18390
- namespace $400 {
18391
- namespace Content {
18392
- interface ApplicationJson {
18393
- [k: string]: unknown;
18394
- }
18395
- }
18396
- }
18397
- namespace $404 {
18398
- namespace Content {
18399
- interface ApplicationJson {
18400
- [k: string]: unknown;
18401
- }
18402
- }
18403
- }
18404
- namespace $409 {
18405
- namespace Content {
18406
- interface ApplicationJson {
18407
- [k: string]: unknown;
18408
- }
18409
- }
18410
- }
18411
- namespace $412 {
18411
+ namespace $204 {
18412
18412
  namespace Content {
18413
- interface ApplicationJson {
18414
- [k: string]: unknown;
18415
- }
18413
+ type Empty = unknown;
18416
18414
  }
18417
18415
  }
18418
18416
  namespace $429 {
@@ -18432,11 +18430,11 @@ export declare namespace MittwaldAPIV2 {
18432
18430
  }
18433
18431
  }
18434
18432
  }
18435
- namespace V2CustomersCustomerIdWallet {
18433
+ namespace V2CustomerInvitesCustomerInviteId {
18436
18434
  namespace Get {
18437
18435
  namespace Parameters {
18438
18436
  type Path = {
18439
- customerId: string;
18437
+ customerInviteId: string;
18440
18438
  };
18441
18439
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18442
18440
  type Query = {};
@@ -18444,15 +18442,10 @@ export declare namespace MittwaldAPIV2 {
18444
18442
  namespace Responses {
18445
18443
  namespace $200 {
18446
18444
  namespace Content {
18447
- interface ApplicationJson {
18448
- customerId: string;
18449
- points: number;
18450
- recommendationCode?: string;
18451
- walletId: string;
18452
- }
18445
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite;
18453
18446
  }
18454
18447
  }
18455
- namespace $400 {
18448
+ namespace $403 {
18456
18449
  namespace Content {
18457
18450
  interface ApplicationJson {
18458
18451
  [k: string]: unknown;
@@ -18466,20 +18459,6 @@ export declare namespace MittwaldAPIV2 {
18466
18459
  }
18467
18460
  }
18468
18461
  }
18469
- namespace $409 {
18470
- namespace Content {
18471
- interface ApplicationJson {
18472
- [k: string]: unknown;
18473
- }
18474
- }
18475
- }
18476
- namespace $412 {
18477
- namespace Content {
18478
- interface ApplicationJson {
18479
- [k: string]: unknown;
18480
- }
18481
- }
18482
- }
18483
18462
  namespace $429 {
18484
18463
  namespace Content {
18485
18464
  interface ApplicationJson {
@@ -18496,46 +18475,53 @@ export declare namespace MittwaldAPIV2 {
18496
18475
  }
18497
18476
  }
18498
18477
  }
18499
- namespace Post {
18478
+ namespace Delete {
18500
18479
  namespace Parameters {
18501
18480
  type Path = {
18502
- customerId: string;
18481
+ customerInviteId: string;
18503
18482
  };
18504
- interface RequestBody {
18505
- }
18506
18483
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18507
18484
  type Query = {};
18508
18485
  }
18509
18486
  namespace Responses {
18510
- namespace $200 {
18487
+ namespace $204 {
18511
18488
  namespace Content {
18512
- interface ApplicationJson {
18513
- customerId?: string;
18514
- }
18489
+ type Empty = unknown;
18515
18490
  }
18516
18491
  }
18517
- namespace $400 {
18492
+ namespace $429 {
18518
18493
  namespace Content {
18519
18494
  interface ApplicationJson {
18520
18495
  [k: string]: unknown;
18521
18496
  }
18522
18497
  }
18523
18498
  }
18524
- namespace $404 {
18499
+ namespace Default {
18525
18500
  namespace Content {
18526
18501
  interface ApplicationJson {
18527
18502
  [k: string]: unknown;
18528
18503
  }
18529
18504
  }
18530
18505
  }
18531
- namespace $409 {
18506
+ }
18507
+ }
18508
+ }
18509
+ namespace V2CustomerMembershipsCustomerMembershipId {
18510
+ namespace Get {
18511
+ namespace Parameters {
18512
+ type Path = {
18513
+ customerMembershipId: string;
18514
+ };
18515
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18516
+ type Query = {};
18517
+ }
18518
+ namespace Responses {
18519
+ namespace $200 {
18532
18520
  namespace Content {
18533
- interface ApplicationJson {
18534
- [k: string]: unknown;
18535
- }
18521
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership;
18536
18522
  }
18537
18523
  }
18538
- namespace $412 {
18524
+ namespace $404 {
18539
18525
  namespace Content {
18540
18526
  interface ApplicationJson {
18541
18527
  [k: string]: unknown;
@@ -18558,12 +18544,10 @@ export declare namespace MittwaldAPIV2 {
18558
18544
  }
18559
18545
  }
18560
18546
  }
18561
- }
18562
- namespace V2CustomerInvitesCustomerInviteIdActionsDecline {
18563
- namespace Post {
18547
+ namespace Delete {
18564
18548
  namespace Parameters {
18565
18549
  type Path = {
18566
- customerInviteId: string;
18550
+ customerMembershipId: string;
18567
18551
  };
18568
18552
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18569
18553
  type Query = {};
@@ -18590,66 +18574,55 @@ export declare namespace MittwaldAPIV2 {
18590
18574
  }
18591
18575
  }
18592
18576
  }
18593
- }
18594
- namespace V2CustomerInvitesCustomerInviteId {
18595
- namespace Get {
18577
+ namespace Patch {
18596
18578
  namespace Parameters {
18597
18579
  type Path = {
18598
- customerInviteId: string;
18580
+ customerMembershipId: string;
18599
18581
  };
18582
+ interface RequestBody {
18583
+ /**
18584
+ * Time the CustomerMembership should expire at.
18585
+ */
18586
+ expiresAt?: string | Date;
18587
+ role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
18588
+ }
18600
18589
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18601
18590
  type Query = {};
18602
18591
  }
18603
18592
  namespace Responses {
18604
- namespace $200 {
18593
+ namespace $204 {
18605
18594
  namespace Content {
18606
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite;
18595
+ type Empty = unknown;
18607
18596
  }
18608
18597
  }
18609
- namespace $403 {
18598
+ namespace $400 {
18610
18599
  namespace Content {
18611
18600
  interface ApplicationJson {
18612
18601
  [k: string]: unknown;
18613
18602
  }
18614
18603
  }
18615
18604
  }
18616
- namespace $404 {
18605
+ namespace $403 {
18617
18606
  namespace Content {
18618
18607
  interface ApplicationJson {
18619
18608
  [k: string]: unknown;
18620
18609
  }
18621
18610
  }
18622
18611
  }
18623
- namespace $429 {
18612
+ namespace $404 {
18624
18613
  namespace Content {
18625
18614
  interface ApplicationJson {
18626
18615
  [k: string]: unknown;
18627
18616
  }
18628
18617
  }
18629
18618
  }
18630
- namespace Default {
18619
+ namespace $412 {
18631
18620
  namespace Content {
18632
18621
  interface ApplicationJson {
18633
18622
  [k: string]: unknown;
18634
18623
  }
18635
18624
  }
18636
18625
  }
18637
- }
18638
- }
18639
- namespace Delete {
18640
- namespace Parameters {
18641
- type Path = {
18642
- customerInviteId: string;
18643
- };
18644
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18645
- type Query = {};
18646
- }
18647
- namespace Responses {
18648
- namespace $204 {
18649
- namespace Content {
18650
- type Empty = unknown;
18651
- }
18652
- }
18653
18626
  namespace $429 {
18654
18627
  namespace Content {
18655
18628
  interface ApplicationJson {
@@ -18667,11 +18640,11 @@ export declare namespace MittwaldAPIV2 {
18667
18640
  }
18668
18641
  }
18669
18642
  }
18670
- namespace V2CustomerMembershipsCustomerMembershipId {
18643
+ namespace V2CustomersCustomerId {
18671
18644
  namespace Get {
18672
18645
  namespace Parameters {
18673
18646
  type Path = {
18674
- customerMembershipId: string;
18647
+ customerId: string;
18675
18648
  };
18676
18649
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18677
18650
  type Query = {};
@@ -18679,46 +18652,30 @@ export declare namespace MittwaldAPIV2 {
18679
18652
  namespace Responses {
18680
18653
  namespace $200 {
18681
18654
  namespace Content {
18682
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership;
18655
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CustomerCustomer;
18683
18656
  }
18684
18657
  }
18685
- namespace $404 {
18658
+ namespace $401 {
18686
18659
  namespace Content {
18687
18660
  interface ApplicationJson {
18688
18661
  [k: string]: unknown;
18689
18662
  }
18690
18663
  }
18691
18664
  }
18692
- namespace $429 {
18665
+ namespace $403 {
18693
18666
  namespace Content {
18694
18667
  interface ApplicationJson {
18695
18668
  [k: string]: unknown;
18696
18669
  }
18697
18670
  }
18698
18671
  }
18699
- namespace Default {
18672
+ namespace $404 {
18700
18673
  namespace Content {
18701
18674
  interface ApplicationJson {
18702
18675
  [k: string]: unknown;
18703
18676
  }
18704
18677
  }
18705
18678
  }
18706
- }
18707
- }
18708
- namespace Delete {
18709
- namespace Parameters {
18710
- type Path = {
18711
- customerMembershipId: string;
18712
- };
18713
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18714
- type Query = {};
18715
- }
18716
- namespace Responses {
18717
- namespace $204 {
18718
- namespace Content {
18719
- type Empty = unknown;
18720
- }
18721
- }
18722
18679
  namespace $429 {
18723
18680
  namespace Content {
18724
18681
  interface ApplicationJson {
@@ -18735,35 +18692,31 @@ export declare namespace MittwaldAPIV2 {
18735
18692
  }
18736
18693
  }
18737
18694
  }
18738
- namespace Patch {
18695
+ namespace Put {
18739
18696
  namespace Parameters {
18740
18697
  type Path = {
18741
- customerMembershipId: string;
18698
+ customerId: string;
18742
18699
  };
18743
18700
  interface RequestBody {
18744
- /**
18745
- * Time the CustomerMembership should expire at.
18746
- */
18747
- expiresAt?: string | Date;
18748
- role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
18701
+ customerId: string;
18702
+ name: string;
18703
+ owner?: MittwaldAPIV2.Components.Schemas.CustomerContact;
18704
+ vatId?: string;
18749
18705
  }
18750
18706
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18751
18707
  type Query = {};
18752
18708
  }
18753
18709
  namespace Responses {
18754
- namespace $204 {
18755
- namespace Content {
18756
- type Empty = unknown;
18757
- }
18758
- }
18759
- namespace $400 {
18710
+ namespace $200 {
18760
18711
  namespace Content {
18761
18712
  interface ApplicationJson {
18762
- [k: string]: unknown;
18713
+ customerId: string;
18714
+ customerNumber: string;
18715
+ name: string;
18763
18716
  }
18764
18717
  }
18765
18718
  }
18766
- namespace $403 {
18719
+ namespace $400 {
18767
18720
  namespace Content {
18768
18721
  interface ApplicationJson {
18769
18722
  [k: string]: unknown;
@@ -18777,13 +18730,6 @@ export declare namespace MittwaldAPIV2 {
18777
18730
  }
18778
18731
  }
18779
18732
  }
18780
- namespace $412 {
18781
- namespace Content {
18782
- interface ApplicationJson {
18783
- [k: string]: unknown;
18784
- }
18785
- }
18786
- }
18787
18733
  namespace $429 {
18788
18734
  namespace Content {
18789
18735
  interface ApplicationJson {
@@ -18800,9 +18746,7 @@ export declare namespace MittwaldAPIV2 {
18800
18746
  }
18801
18747
  }
18802
18748
  }
18803
- }
18804
- namespace V2CustomersCustomerId {
18805
- namespace Get {
18749
+ namespace Delete {
18806
18750
  namespace Parameters {
18807
18751
  type Path = {
18808
18752
  customerId: string;
@@ -18812,125 +18756,20 @@ export declare namespace MittwaldAPIV2 {
18812
18756
  }
18813
18757
  namespace Responses {
18814
18758
  namespace $200 {
18815
- namespace Content {
18816
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CustomerCustomer;
18817
- }
18818
- }
18819
- namespace $401 {
18820
18759
  namespace Content {
18821
18760
  interface ApplicationJson {
18822
- [k: string]: unknown;
18761
+ customerId?: string;
18823
18762
  }
18824
18763
  }
18825
18764
  }
18826
- namespace $403 {
18765
+ namespace $404 {
18827
18766
  namespace Content {
18828
18767
  interface ApplicationJson {
18829
18768
  [k: string]: unknown;
18830
18769
  }
18831
18770
  }
18832
18771
  }
18833
- namespace $404 {
18834
- namespace Content {
18835
- interface ApplicationJson {
18836
- [k: string]: unknown;
18837
- }
18838
- }
18839
- }
18840
- namespace $429 {
18841
- namespace Content {
18842
- interface ApplicationJson {
18843
- [k: string]: unknown;
18844
- }
18845
- }
18846
- }
18847
- namespace Default {
18848
- namespace Content {
18849
- interface ApplicationJson {
18850
- [k: string]: unknown;
18851
- }
18852
- }
18853
- }
18854
- }
18855
- }
18856
- namespace Put {
18857
- namespace Parameters {
18858
- type Path = {
18859
- customerId: string;
18860
- };
18861
- interface RequestBody {
18862
- customerId: string;
18863
- name: string;
18864
- owner?: MittwaldAPIV2.Components.Schemas.CustomerContact;
18865
- vatId?: string;
18866
- }
18867
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18868
- type Query = {};
18869
- }
18870
- namespace Responses {
18871
- namespace $200 {
18872
- namespace Content {
18873
- interface ApplicationJson {
18874
- customerId: string;
18875
- customerNumber: string;
18876
- name: string;
18877
- }
18878
- }
18879
- }
18880
- namespace $400 {
18881
- namespace Content {
18882
- interface ApplicationJson {
18883
- [k: string]: unknown;
18884
- }
18885
- }
18886
- }
18887
- namespace $404 {
18888
- namespace Content {
18889
- interface ApplicationJson {
18890
- [k: string]: unknown;
18891
- }
18892
- }
18893
- }
18894
- namespace $429 {
18895
- namespace Content {
18896
- interface ApplicationJson {
18897
- [k: string]: unknown;
18898
- }
18899
- }
18900
- }
18901
- namespace Default {
18902
- namespace Content {
18903
- interface ApplicationJson {
18904
- [k: string]: unknown;
18905
- }
18906
- }
18907
- }
18908
- }
18909
- }
18910
- namespace Delete {
18911
- namespace Parameters {
18912
- type Path = {
18913
- customerId: string;
18914
- };
18915
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
18916
- type Query = {};
18917
- }
18918
- namespace Responses {
18919
- namespace $200 {
18920
- namespace Content {
18921
- interface ApplicationJson {
18922
- customerId?: string;
18923
- }
18924
- }
18925
- }
18926
- namespace $404 {
18927
- namespace Content {
18928
- interface ApplicationJson {
18929
- [k: string]: unknown;
18930
- }
18931
- }
18932
- }
18933
- namespace $412 {
18772
+ namespace $412 {
18934
18773
  namespace Content {
18935
18774
  interface ApplicationJson {
18936
18775
  [k: string]: unknown;
@@ -23615,70 +23454,7 @@ export declare namespace MittwaldAPIV2 {
23615
23454
  }
23616
23455
  }
23617
23456
  }
23618
- namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdActionsDryRunWebhookKind {
23619
- namespace Post {
23620
- namespace Parameters {
23621
- type Path = {
23622
- contributorId: string;
23623
- extensionId: string;
23624
- extensionInstanceId: string;
23625
- webhookKind: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
23626
- };
23627
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
23628
- type Query = {
23629
- contextId?: string;
23630
- scopes?: string[];
23631
- instanceDisabled?: boolean;
23632
- createdAt?: string | Date;
23633
- secret?: string;
23634
- };
23635
- }
23636
- namespace Responses {
23637
- namespace $200 {
23638
- namespace Content {
23639
- interface ApplicationJson {
23640
- /**
23641
- * The error message of an internal error.
23642
- */
23643
- errorMessage?: string;
23644
- responseBody?: string;
23645
- /**
23646
- * The http status code that the external application responded with.
23647
- */
23648
- responseCode?: number;
23649
- responseHeaders?: string;
23650
- routeCalled: string;
23651
- /**
23652
- * This shows if the response of the external application has been accepted as successful.
23653
- */
23654
- successful: boolean;
23655
- }
23656
- }
23657
- }
23658
- namespace $400 {
23659
- namespace Content {
23660
- interface ApplicationJson {
23661
- [k: string]: unknown;
23662
- }
23663
- }
23664
- }
23665
- namespace $429 {
23666
- namespace Content {
23667
- interface ApplicationJson {
23668
- [k: string]: unknown;
23669
- }
23670
- }
23671
- }
23672
- namespace Default {
23673
- namespace Content {
23674
- interface ApplicationJson {
23675
- [k: string]: unknown;
23676
- }
23677
- }
23678
- }
23679
- }
23680
- }
23681
- }
23457
+ namespace V2ContributorsContributorIdExtensionsExtensionIdExtensionInstancesExtensionInstanceIdActionsDryRunWebhookKind { }
23682
23458
  namespace V2ExtensionInstancesExtensionInstanceIdActionsEnable {
23683
23459
  namespace Post {
23684
23460
  namespace Parameters {
@@ -34326,100 +34102,6 @@ export declare namespace MittwaldAPIV2 {
34326
34102
  }
34327
34103
  }
34328
34104
  }
34329
- namespace V2PollSettingsUserId {
34330
- namespace Get {
34331
- namespace Parameters {
34332
- type Path = {
34333
- userId: string;
34334
- };
34335
- type Header = {};
34336
- type Query = {};
34337
- }
34338
- namespace Responses {
34339
- namespace $200 {
34340
- namespace Content {
34341
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
34342
- }
34343
- }
34344
- namespace $400 {
34345
- namespace Content {
34346
- interface ApplicationJson {
34347
- [k: string]: unknown;
34348
- }
34349
- }
34350
- }
34351
- namespace $404 {
34352
- namespace Content {
34353
- interface ApplicationJson {
34354
- [k: string]: unknown;
34355
- }
34356
- }
34357
- }
34358
- namespace $429 {
34359
- namespace Content {
34360
- interface ApplicationJson {
34361
- [k: string]: unknown;
34362
- }
34363
- }
34364
- }
34365
- namespace Default {
34366
- namespace Content {
34367
- interface ApplicationJson {
34368
- [k: string]: unknown;
34369
- }
34370
- }
34371
- }
34372
- }
34373
- }
34374
- namespace Post {
34375
- namespace Parameters {
34376
- type Path = {
34377
- userId: string;
34378
- };
34379
- interface RequestBody {
34380
- status: "completed" | "muted" | "ignored";
34381
- userId: string;
34382
- }
34383
- type Header = {};
34384
- type Query = {};
34385
- }
34386
- namespace Responses {
34387
- namespace $200 {
34388
- namespace Content {
34389
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
34390
- }
34391
- }
34392
- namespace $400 {
34393
- namespace Content {
34394
- interface ApplicationJson {
34395
- [k: string]: unknown;
34396
- }
34397
- }
34398
- }
34399
- namespace $403 {
34400
- namespace Content {
34401
- interface ApplicationJson {
34402
- [k: string]: unknown;
34403
- }
34404
- }
34405
- }
34406
- namespace $429 {
34407
- namespace Content {
34408
- interface ApplicationJson {
34409
- [k: string]: unknown;
34410
- }
34411
- }
34412
- }
34413
- namespace Default {
34414
- namespace Content {
34415
- interface ApplicationJson {
34416
- [k: string]: unknown;
34417
- }
34418
- }
34419
- }
34420
- }
34421
- }
34422
- }
34423
34105
  namespace V2UsersSelfSessionsTokenId {
34424
34106
  namespace Get {
34425
34107
  namespace Parameters {
@@ -35702,5 +35384,290 @@ export declare namespace MittwaldAPIV2 {
35702
35384
  }
35703
35385
  }
35704
35386
  }
35387
+ namespace V2AppsMetrics { }
35388
+ namespace V2ProjectsProjectIdUsageMetricsBreakdown {
35389
+ namespace Get {
35390
+ namespace Parameters {
35391
+ 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;
35470
+ };
35471
+ }
35472
+ namespace Responses {
35473
+ namespace $200 {
35474
+ 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
+ }
35497
+ }
35498
+ }
35499
+ namespace $429 {
35500
+ namespace Content {
35501
+ interface ApplicationJson {
35502
+ [k: string]: unknown;
35503
+ }
35504
+ }
35505
+ }
35506
+ namespace $500 {
35507
+ namespace Content {
35508
+ interface ApplicationJson {
35509
+ [k: string]: unknown;
35510
+ }
35511
+ }
35512
+ }
35513
+ namespace $503 {
35514
+ namespace Content {
35515
+ interface ApplicationJson {
35516
+ [k: string]: unknown;
35517
+ }
35518
+ }
35519
+ }
35520
+ namespace Default {
35521
+ namespace Content {
35522
+ interface ApplicationJson {
35523
+ [k: string]: unknown;
35524
+ }
35525
+ }
35526
+ }
35527
+ }
35528
+ }
35529
+ }
35530
+ namespace V2ServersServerIdUsageMetricsBreakdown {
35531
+ namespace Get {
35532
+ namespace Parameters {
35533
+ 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;
35541
+ };
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
+ }
35597
+ }
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
+ };
35613
+ }
35614
+ namespace Responses {
35615
+ namespace $200 {
35616
+ namespace Content {
35617
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UsagemetricsGetUsageResponse;
35618
+ }
35619
+ }
35620
+ namespace $400 {
35621
+ namespace Content {
35622
+ interface ApplicationJson {
35623
+ [k: string]: unknown;
35624
+ }
35625
+ }
35626
+ }
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
+ namespace $429 {
35642
+ namespace Content {
35643
+ interface ApplicationJson {
35644
+ [k: string]: unknown;
35645
+ }
35646
+ }
35647
+ }
35648
+ namespace $500 {
35649
+ namespace Content {
35650
+ interface ApplicationJson {
35651
+ [k: string]: unknown;
35652
+ }
35653
+ }
35654
+ }
35655
+ namespace $503 {
35656
+ namespace Content {
35657
+ interface ApplicationJson {
35658
+ [k: string]: unknown;
35659
+ }
35660
+ }
35661
+ }
35662
+ namespace Default {
35663
+ namespace Content {
35664
+ interface ApplicationJson {
35665
+ [k: string]: unknown;
35666
+ }
35667
+ }
35668
+ }
35669
+ }
35670
+ }
35671
+ }
35705
35672
  }
35706
35673
  }