@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.
@@ -12027,101 +12027,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12027
12027
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12028
12028
  [x: string]: unknown;
12029
12029
  }, 429, "application/json">>>;
12030
- /** Dry run a webhook with random or given values. */
12031
- extensionDryRunWebhook: (request: {
12032
- contributorId: string;
12033
- extensionId: string;
12034
- extensionInstanceId: string;
12035
- webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
12036
- queryParameters?: {
12037
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
12038
- contextId?: string | undefined;
12039
- scopes?: string[] | undefined;
12040
- instanceDisabled?: boolean | undefined;
12041
- createdAt?: (string | Date) | undefined;
12042
- secret?: string | undefined;
12043
- } | undefined;
12044
- headers?: {
12045
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
12046
- "x-access-token"?: string | undefined;
12047
- } | undefined;
12048
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
12049
- headers?: Partial<{
12050
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
12051
- }>;
12052
- } & {
12053
- pathParameters: {
12054
- contributorId: string;
12055
- extensionId: string;
12056
- extensionInstanceId: string;
12057
- webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
12058
- };
12059
- } & {
12060
- queryParameters: {
12061
- contextId?: string | undefined;
12062
- scopes?: string[] | undefined;
12063
- instanceDisabled?: boolean | undefined;
12064
- createdAt?: (string | Date) | undefined;
12065
- secret?: string | undefined;
12066
- } & Partial<{
12067
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
12068
- }>;
12069
- } & {
12070
- headers: {
12071
- "x-access-token"?: string | undefined;
12072
- } & Partial<{
12073
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
12074
- }>;
12075
- }, import("@mittwald/api-client-commons").Response<{
12076
- errorMessage?: string | undefined;
12077
- responseBody?: string | undefined;
12078
- responseCode?: number | undefined;
12079
- responseHeaders?: string | undefined;
12080
- routeCalled: string;
12081
- successful: boolean;
12082
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12083
- [x: string]: unknown;
12084
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12085
- [x: string]: unknown;
12086
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
12087
- headers?: Partial<{
12088
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
12089
- }>;
12090
- } & {
12091
- pathParameters: {
12092
- contributorId: string;
12093
- extensionId: string;
12094
- extensionInstanceId: string;
12095
- webhookKind: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookKind;
12096
- };
12097
- } & {
12098
- queryParameters: {
12099
- contextId?: string | undefined;
12100
- scopes?: string[] | undefined;
12101
- instanceDisabled?: boolean | undefined;
12102
- createdAt?: (string | Date) | undefined;
12103
- secret?: string | undefined;
12104
- } & Partial<{
12105
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
12106
- }>;
12107
- } & {
12108
- headers: {
12109
- "x-access-token"?: string | undefined;
12110
- } & Partial<{
12111
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
12112
- }>;
12113
- }, import("@mittwald/api-client-commons").Response<{
12114
- errorMessage?: string | undefined;
12115
- responseBody?: string | undefined;
12116
- responseCode?: number | undefined;
12117
- responseHeaders?: string | undefined;
12118
- routeCalled: string;
12119
- successful: boolean;
12120
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
12121
- [x: string]: unknown;
12122
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
12123
- [x: string]: unknown;
12124
- }, 429, "application/json">>>;
12125
12030
  /** Enable an ExtensionInstance. */
12126
12031
  extensionEnableExtensionInstance: (request: {
12127
12032
  extensionInstanceId: string;
@@ -15971,203 +15876,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15971
15876
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
15972
15877
  [x: string]: unknown;
15973
15878
  }, 429, "application/json">>>;
15974
- /** Lets us know your idea for our recommendation programm. */
15975
- createRecommendationSuggestion: (request: {
15976
- data: {
15977
- suggestion: string;
15978
- };
15979
- customerId: string;
15980
- headers?: {
15981
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
15982
- "x-access-token"?: string | undefined;
15983
- } | undefined;
15984
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
15985
- data: {
15986
- suggestion: string;
15987
- };
15988
- } & {
15989
- pathParameters: {
15990
- customerId: string;
15991
- };
15992
- } & {
15993
- headers?: Partial<{
15994
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
15995
- }>;
15996
- } & {
15997
- headers: {
15998
- "x-access-token"?: string | undefined;
15999
- } & Partial<{
16000
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16001
- }>;
16002
- }, import("@mittwald/api-client-commons").Response<{
16003
- customerId?: string | undefined;
16004
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
16005
- [x: string]: unknown;
16006
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16007
- [x: string]: unknown;
16008
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
16009
- [x: string]: unknown;
16010
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
16011
- [x: string]: unknown;
16012
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
16013
- [x: string]: unknown;
16014
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
16015
- data: {
16016
- suggestion: string;
16017
- };
16018
- } & {
16019
- pathParameters: {
16020
- customerId: string;
16021
- };
16022
- } & {
16023
- headers?: Partial<{
16024
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16025
- }>;
16026
- } & {
16027
- headers: {
16028
- "x-access-token"?: string | undefined;
16029
- } & Partial<{
16030
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16031
- }>;
16032
- }, import("@mittwald/api-client-commons").Response<{
16033
- customerId?: string | undefined;
16034
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
16035
- [x: string]: unknown;
16036
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16037
- [x: string]: unknown;
16038
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
16039
- [x: string]: unknown;
16040
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
16041
- [x: string]: unknown;
16042
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
16043
- [x: string]: unknown;
16044
- }, 429, "application/json">>>;
16045
- /** Gets the Wallet of the Customer. */
16046
- getWallet: (request: {
16047
- customerId: string;
16048
- headers?: {
16049
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
16050
- "x-access-token"?: string | undefined;
16051
- } | undefined;
16052
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
16053
- headers?: Partial<{
16054
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16055
- }>;
16056
- } & {
16057
- pathParameters: {
16058
- customerId: string;
16059
- };
16060
- } & {
16061
- headers: {
16062
- "x-access-token"?: string | undefined;
16063
- } & Partial<{
16064
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16065
- }>;
16066
- }, import("@mittwald/api-client-commons").Response<{
16067
- customerId: string;
16068
- points: number;
16069
- recommendationCode?: string | undefined;
16070
- walletId: string;
16071
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16072
- [x: string]: unknown;
16073
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16074
- [x: string]: unknown;
16075
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
16076
- [x: string]: unknown;
16077
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
16078
- [x: string]: unknown;
16079
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
16080
- [x: string]: unknown;
16081
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
16082
- headers?: Partial<{
16083
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16084
- }>;
16085
- } & {
16086
- pathParameters: {
16087
- customerId: string;
16088
- };
16089
- } & {
16090
- headers: {
16091
- "x-access-token"?: string | undefined;
16092
- } & Partial<{
16093
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16094
- }>;
16095
- }, import("@mittwald/api-client-commons").Response<{
16096
- customerId: string;
16097
- points: number;
16098
- recommendationCode?: string | undefined;
16099
- walletId: string;
16100
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16101
- [x: string]: unknown;
16102
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16103
- [x: string]: unknown;
16104
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
16105
- [x: string]: unknown;
16106
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
16107
- [x: string]: unknown;
16108
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
16109
- [x: string]: unknown;
16110
- }, 429, "application/json">>>;
16111
- /** Create the Wallet for the Customer. */
16112
- createWallet: (request: {
16113
- customerId: string;
16114
- headers?: {
16115
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
16116
- "x-access-token"?: string | undefined;
16117
- } | undefined;
16118
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
16119
- headers?: Partial<{
16120
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16121
- }>;
16122
- } & {
16123
- pathParameters: {
16124
- customerId: string;
16125
- };
16126
- } & {
16127
- headers: {
16128
- "x-access-token"?: string | undefined;
16129
- } & Partial<{
16130
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16131
- }>;
16132
- }, import("@mittwald/api-client-commons").Response<{
16133
- customerId?: string | undefined;
16134
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16135
- [x: string]: unknown;
16136
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16137
- [x: string]: unknown;
16138
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
16139
- [x: string]: unknown;
16140
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
16141
- [x: string]: unknown;
16142
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
16143
- [x: string]: unknown;
16144
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
16145
- headers?: Partial<{
16146
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16147
- }>;
16148
- } & {
16149
- pathParameters: {
16150
- customerId: string;
16151
- };
16152
- } & {
16153
- headers: {
16154
- "x-access-token"?: string | undefined;
16155
- } & Partial<{
16156
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
16157
- }>;
16158
- }, import("@mittwald/api-client-commons").Response<{
16159
- customerId?: string | undefined;
16160
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16161
- [x: string]: unknown;
16162
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
16163
- [x: string]: unknown;
16164
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
16165
- [x: string]: unknown;
16166
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
16167
- [x: string]: unknown;
16168
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
16169
- [x: string]: unknown;
16170
- }, 429, "application/json">>>;
16171
15879
  /** Decline a CustomerInvite. */
16172
15880
  declineCustomerInvite: (request: {
16173
15881
  customerInviteId: string;
@@ -26525,118 +26233,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26525
26233
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26526
26234
  [x: string]: unknown;
26527
26235
  }, 429, "application/json">>>;
26528
- /** Get poll settings for the specified user. */
26529
- getPollStatus: (request: {
26530
- userId: string;
26531
- headers?: {
26532
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26533
- } | undefined;
26534
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26535
- headers?: Partial<{
26536
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26537
- }>;
26538
- } & {
26539
- pathParameters: {
26540
- userId: string;
26541
- };
26542
- }, import("@mittwald/api-client-commons").Response<{
26543
- completedAt?: string | undefined;
26544
- dontShowUntil?: string | undefined;
26545
- ignoredAt?: string | undefined;
26546
- shouldShow: boolean;
26547
- status: "completed" | "muted" | "ignored" | "new";
26548
- userId: string;
26549
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26550
- [x: string]: unknown;
26551
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26552
- [x: string]: unknown;
26553
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26554
- [x: string]: unknown;
26555
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26556
- headers?: Partial<{
26557
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26558
- }>;
26559
- } & {
26560
- pathParameters: {
26561
- userId: string;
26562
- };
26563
- }, import("@mittwald/api-client-commons").Response<{
26564
- completedAt?: string | undefined;
26565
- dontShowUntil?: string | undefined;
26566
- ignoredAt?: string | undefined;
26567
- shouldShow: boolean;
26568
- status: "completed" | "muted" | "ignored" | "new";
26569
- userId: string;
26570
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26571
- [x: string]: unknown;
26572
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26573
- [x: string]: unknown;
26574
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26575
- [x: string]: unknown;
26576
- }, 429, "application/json">>>;
26577
- /** Store new or update poll settings. */
26578
- postPollStatus: (request: {
26579
- data: {
26580
- status: "completed" | "muted" | "ignored";
26581
- userId: string;
26582
- };
26583
- userId: string;
26584
- headers?: {
26585
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26586
- } | undefined;
26587
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26588
- data: {
26589
- status: "completed" | "muted" | "ignored";
26590
- userId: string;
26591
- };
26592
- } & {
26593
- pathParameters: {
26594
- userId: string;
26595
- };
26596
- } & {
26597
- headers?: Partial<{
26598
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26599
- }>;
26600
- }, import("@mittwald/api-client-commons").Response<{
26601
- completedAt?: string | undefined;
26602
- dontShowUntil?: string | undefined;
26603
- ignoredAt?: string | undefined;
26604
- shouldShow: boolean;
26605
- status: "completed" | "muted" | "ignored" | "new";
26606
- userId: string;
26607
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26608
- [x: string]: unknown;
26609
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26610
- [x: string]: unknown;
26611
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26612
- [x: string]: unknown;
26613
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26614
- data: {
26615
- status: "completed" | "muted" | "ignored";
26616
- userId: string;
26617
- };
26618
- } & {
26619
- pathParameters: {
26620
- userId: string;
26621
- };
26622
- } & {
26623
- headers?: Partial<{
26624
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26625
- }>;
26626
- }, import("@mittwald/api-client-commons").Response<{
26627
- completedAt?: string | undefined;
26628
- dontShowUntil?: string | undefined;
26629
- ignoredAt?: string | undefined;
26630
- shouldShow: boolean;
26631
- status: "completed" | "muted" | "ignored" | "new";
26632
- userId: string;
26633
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26634
- [x: string]: unknown;
26635
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26636
- [x: string]: unknown;
26637
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26638
- [x: string]: unknown;
26639
- }, 429, "application/json">>>;
26640
26236
  /** Get a specific session. */
26641
26237
  getSession: (request: {
26642
26238
  tokenId: string;
@@ -32387,6 +31983,358 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
32387
31983
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32388
31984
  [x: string]: unknown;
32389
31985
  }, 500, "application/json">>>;
31986
+ /** Get a usage-metrics breakdown for a project. */
31987
+ getUsageMetricsBreakdown: (request: {
31988
+ queryParameters: {
31989
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
31990
+ metric: "cpu" | "memory";
31991
+ from?: (string | Date) | undefined;
31992
+ to?: (string | Date) | undefined;
31993
+ };
31994
+ projectId: string;
31995
+ headers?: {
31996
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
31997
+ "x-access-token"?: string | undefined;
31998
+ } | undefined;
31999
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32000
+ headers?: Partial<{
32001
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32002
+ }>;
32003
+ } & {
32004
+ pathParameters: {
32005
+ projectId: string;
32006
+ };
32007
+ } & {
32008
+ queryParameters: {
32009
+ metric: "cpu" | "memory";
32010
+ from?: (string | Date) | undefined;
32011
+ to?: (string | Date) | undefined;
32012
+ } & Partial<{
32013
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32014
+ }>;
32015
+ } & {
32016
+ headers: {
32017
+ "x-access-token"?: string | undefined;
32018
+ } & Partial<{
32019
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32020
+ }>;
32021
+ }, import("@mittwald/api-client-commons").Response<{
32022
+ apps: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32023
+ containers: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32024
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32025
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32026
+ [x: string]: unknown;
32027
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32028
+ [x: string]: unknown;
32029
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32030
+ [x: string]: unknown;
32031
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32032
+ [x: string]: unknown;
32033
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32034
+ [x: string]: unknown;
32035
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32036
+ [x: string]: unknown;
32037
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32038
+ headers?: Partial<{
32039
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32040
+ }>;
32041
+ } & {
32042
+ pathParameters: {
32043
+ projectId: string;
32044
+ };
32045
+ } & {
32046
+ queryParameters: {
32047
+ metric: "cpu" | "memory";
32048
+ from?: (string | Date) | undefined;
32049
+ to?: (string | Date) | undefined;
32050
+ } & Partial<{
32051
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32052
+ }>;
32053
+ } & {
32054
+ headers: {
32055
+ "x-access-token"?: string | undefined;
32056
+ } & Partial<{
32057
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32058
+ }>;
32059
+ }, import("@mittwald/api-client-commons").Response<{
32060
+ apps: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32061
+ containers: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32062
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32063
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32064
+ [x: string]: unknown;
32065
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32066
+ [x: string]: unknown;
32067
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32068
+ [x: string]: unknown;
32069
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32070
+ [x: string]: unknown;
32071
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32072
+ [x: string]: unknown;
32073
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32074
+ [x: string]: unknown;
32075
+ }, 503, "application/json">>>;
32076
+ /** Get usage metrics for a project. */
32077
+ getUsageMetrics: (request: {
32078
+ queryParameters: {
32079
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32080
+ metric: "cpu" | "memory";
32081
+ from?: (string | Date) | undefined;
32082
+ to?: (string | Date) | undefined;
32083
+ };
32084
+ projectId: string;
32085
+ headers?: {
32086
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32087
+ "x-access-token"?: string | undefined;
32088
+ } | undefined;
32089
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32090
+ headers?: Partial<{
32091
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32092
+ }>;
32093
+ } & {
32094
+ pathParameters: {
32095
+ projectId: string;
32096
+ };
32097
+ } & {
32098
+ queryParameters: {
32099
+ metric: "cpu" | "memory";
32100
+ from?: (string | Date) | undefined;
32101
+ to?: (string | Date) | undefined;
32102
+ } & Partial<{
32103
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32104
+ }>;
32105
+ } & {
32106
+ headers: {
32107
+ "x-access-token"?: string | undefined;
32108
+ } & Partial<{
32109
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32110
+ }>;
32111
+ }, import("@mittwald/api-client-commons").Response<{
32112
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32113
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32114
+ [x: string]: unknown;
32115
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32116
+ [x: string]: unknown;
32117
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32118
+ [x: string]: unknown;
32119
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32120
+ [x: string]: unknown;
32121
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32122
+ [x: string]: unknown;
32123
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32124
+ [x: string]: unknown;
32125
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32126
+ headers?: Partial<{
32127
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32128
+ }>;
32129
+ } & {
32130
+ pathParameters: {
32131
+ projectId: string;
32132
+ };
32133
+ } & {
32134
+ queryParameters: {
32135
+ metric: "cpu" | "memory";
32136
+ from?: (string | Date) | undefined;
32137
+ to?: (string | Date) | undefined;
32138
+ } & Partial<{
32139
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32140
+ }>;
32141
+ } & {
32142
+ headers: {
32143
+ "x-access-token"?: string | undefined;
32144
+ } & Partial<{
32145
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32146
+ }>;
32147
+ }, import("@mittwald/api-client-commons").Response<{
32148
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32149
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32150
+ [x: string]: unknown;
32151
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32152
+ [x: string]: unknown;
32153
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32154
+ [x: string]: unknown;
32155
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32156
+ [x: string]: unknown;
32157
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32158
+ [x: string]: unknown;
32159
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32160
+ [x: string]: unknown;
32161
+ }, 503, "application/json">>>;
32162
+ /** Get a usage-metrics breakdown for a server. */
32163
+ getServerUsageMetricsBreakdown: (request: {
32164
+ queryParameters: {
32165
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32166
+ metric: "cpu" | "memory";
32167
+ from?: (string | Date) | undefined;
32168
+ to?: (string | Date) | undefined;
32169
+ };
32170
+ serverId: string;
32171
+ headers?: {
32172
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32173
+ "x-access-token"?: string | undefined;
32174
+ } | undefined;
32175
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32176
+ headers?: Partial<{
32177
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32178
+ }>;
32179
+ } & {
32180
+ pathParameters: {
32181
+ serverId: string;
32182
+ };
32183
+ } & {
32184
+ queryParameters: {
32185
+ metric: "cpu" | "memory";
32186
+ from?: (string | Date) | undefined;
32187
+ to?: (string | Date) | undefined;
32188
+ } & Partial<{
32189
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32190
+ }>;
32191
+ } & {
32192
+ headers: {
32193
+ "x-access-token"?: string | undefined;
32194
+ } & Partial<{
32195
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32196
+ }>;
32197
+ }, import("@mittwald/api-client-commons").Response<{
32198
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32199
+ limit: number;
32200
+ projects: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32201
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32202
+ [x: string]: unknown;
32203
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32204
+ [x: string]: unknown;
32205
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32206
+ [x: string]: unknown;
32207
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32208
+ [x: string]: unknown;
32209
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32210
+ [x: string]: unknown;
32211
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32212
+ [x: string]: unknown;
32213
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32214
+ headers?: Partial<{
32215
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32216
+ }>;
32217
+ } & {
32218
+ pathParameters: {
32219
+ serverId: string;
32220
+ };
32221
+ } & {
32222
+ queryParameters: {
32223
+ metric: "cpu" | "memory";
32224
+ from?: (string | Date) | undefined;
32225
+ to?: (string | Date) | undefined;
32226
+ } & Partial<{
32227
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32228
+ }>;
32229
+ } & {
32230
+ headers: {
32231
+ "x-access-token"?: string | undefined;
32232
+ } & Partial<{
32233
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32234
+ }>;
32235
+ }, import("@mittwald/api-client-commons").Response<{
32236
+ databases: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32237
+ limit: number;
32238
+ projects: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32239
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32240
+ [x: string]: unknown;
32241
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32242
+ [x: string]: unknown;
32243
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32244
+ [x: string]: unknown;
32245
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32246
+ [x: string]: unknown;
32247
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32248
+ [x: string]: unknown;
32249
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32250
+ [x: string]: unknown;
32251
+ }, 503, "application/json">>>;
32252
+ /** Get usage metrics for a server. */
32253
+ getServerUsageMetrics: (request: {
32254
+ queryParameters: {
32255
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32256
+ metric: "cpu" | "memory";
32257
+ from?: (string | Date) | undefined;
32258
+ to?: (string | Date) | undefined;
32259
+ };
32260
+ serverId: string;
32261
+ headers?: {
32262
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
32263
+ "x-access-token"?: string | undefined;
32264
+ } | undefined;
32265
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
32266
+ headers?: Partial<{
32267
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32268
+ }>;
32269
+ } & {
32270
+ pathParameters: {
32271
+ serverId: string;
32272
+ };
32273
+ } & {
32274
+ queryParameters: {
32275
+ metric: "cpu" | "memory";
32276
+ from?: (string | Date) | undefined;
32277
+ to?: (string | Date) | undefined;
32278
+ } & Partial<{
32279
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32280
+ }>;
32281
+ } & {
32282
+ headers: {
32283
+ "x-access-token"?: string | undefined;
32284
+ } & Partial<{
32285
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32286
+ }>;
32287
+ }, import("@mittwald/api-client-commons").Response<{
32288
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32289
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32290
+ [x: string]: unknown;
32291
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32292
+ [x: string]: unknown;
32293
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32294
+ [x: string]: unknown;
32295
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32296
+ [x: string]: unknown;
32297
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32298
+ [x: string]: unknown;
32299
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32300
+ [x: string]: unknown;
32301
+ }, 503, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
32302
+ headers?: Partial<{
32303
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32304
+ }>;
32305
+ } & {
32306
+ pathParameters: {
32307
+ serverId: string;
32308
+ };
32309
+ } & {
32310
+ queryParameters: {
32311
+ metric: "cpu" | "memory";
32312
+ from?: (string | Date) | undefined;
32313
+ to?: (string | Date) | undefined;
32314
+ } & Partial<{
32315
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32316
+ }>;
32317
+ } & {
32318
+ headers: {
32319
+ "x-access-token"?: string | undefined;
32320
+ } & Partial<{
32321
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
32322
+ }>;
32323
+ }, import("@mittwald/api-client-commons").Response<{
32324
+ series: import("./types.js").MittwaldAPIV2.Components.Schemas.UsagemetricsSeries[];
32325
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
32326
+ [x: string]: unknown;
32327
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
32328
+ [x: string]: unknown;
32329
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
32330
+ [x: string]: unknown;
32331
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
32332
+ [x: string]: unknown;
32333
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
32334
+ [x: string]: unknown;
32335
+ }, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
32336
+ [x: string]: unknown;
32337
+ }, 503, "application/json">>>;
32390
32338
  };
32391
32339
  /** The filesystem API allows you to directly access the filesystem of your project. */
32392
32340
  readonly projectFileSystem: {