@mittwald/api-client 4.453.0 → 4.454.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.
@@ -56,6 +56,8 @@ const buildAppApi = (baseClient) => ({
56
56
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
57
57
  /** Get runtime status belonging to an AppInstallation. */
58
58
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
59
+ /** Get an analysis of the error of an AppInstallation. */
60
+ getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
59
61
  });
60
62
  const buildArticleApi = (baseClient) => ({
61
63
  /** Get an Article. */
@@ -112,6 +114,8 @@ const buildContainerApi = (baseClient) => ({
112
114
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
113
115
  /** List Volumes belonging to a Project. */
114
116
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
117
+ /** Get an analysis of the logs belonging to a Service. */
118
+ getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
115
119
  });
116
120
  const buildContractApi = (baseClient) => ({
117
121
  /** Return the BaseItem of the Contract with the given ID. */
@@ -97,6 +97,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
97
97
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
98
98
  /** Remove linkage between an AppInstallation and a Database. */
99
99
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
100
+ /** Get an analysis of the error of an AppInstallation. */
101
+ getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
100
102
  };
101
103
  /** The article API allows you to read article information. */
102
104
  article = {
@@ -204,6 +206,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
204
206
  startService: this.requestFunctionFactory(descriptors.containerStartService),
205
207
  /** Stop a started Service. */
206
208
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
209
+ /** Get an analysis of the logs belonging to a Service. */
210
+ getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
207
211
  };
208
212
  /** The contract API allows you to manage your contracts and orders */
209
213
  contract = {
@@ -2842,3 +2842,15 @@ export const aiHostingProjectGetPlans = {
2842
2842
  method: "GET",
2843
2843
  operationId: "ai-hosting-project-get-plans",
2844
2844
  };
2845
+ /** Get an analysis of the logs belonging to a Service. */
2846
+ export const containerGetServiceLogsAnalysis = {
2847
+ path: "/v2/stacks/{stackId}/services/{serviceId}/log-analysis",
2848
+ method: "GET",
2849
+ operationId: "container-get-service-logs-analysis",
2850
+ };
2851
+ /** Get an analysis of the error of an AppInstallation. */
2852
+ export const appGetAppinstallationErrorAnalysis = {
2853
+ path: "/v2/app-installations/{appInstallationId}/error-analysis",
2854
+ method: "GET",
2855
+ operationId: "app-get-appinstallation-error-analysis",
2856
+ };
@@ -56,6 +56,8 @@ const buildAppApi = (baseClient) => ({
56
56
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
57
57
  /** Get runtime status belonging to an AppInstallation. */
58
58
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
59
+ /** Get an analysis of the error of an AppInstallation. */
60
+ getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
59
61
  });
60
62
  const buildArticleApi = (baseClient) => ({
61
63
  /** Get an Article. */
@@ -112,6 +114,8 @@ const buildContainerApi = (baseClient) => ({
112
114
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
113
115
  /** List Volumes belonging to a Project. */
114
116
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
117
+ /** Get an analysis of the logs belonging to a Service. */
118
+ getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
115
119
  });
116
120
  const buildContractApi = (baseClient) => ({
117
121
  /** Return the BaseItem of the Contract with the given ID. */
@@ -97,6 +97,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
97
97
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
98
98
  /** Remove linkage between an AppInstallation and a Database. */
99
99
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
100
+ /** Get an analysis of the error of an AppInstallation. */
101
+ getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
100
102
  };
101
103
  /** The article API allows you to read article information. */
102
104
  article = {
@@ -204,6 +206,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
204
206
  startService: this.requestFunctionFactory(descriptors.containerStartService),
205
207
  /** Stop a started Service. */
206
208
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
209
+ /** Get an analysis of the logs belonging to a Service. */
210
+ getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
207
211
  };
208
212
  /** The contract API allows you to manage your contracts and orders */
209
213
  contract = {
@@ -2842,3 +2842,15 @@ export const aiHostingProjectGetPlans = {
2842
2842
  method: "GET",
2843
2843
  operationId: "ai-hosting-project-get-plans",
2844
2844
  };
2845
+ /** Get an analysis of the logs belonging to a Service. */
2846
+ export const containerGetServiceLogsAnalysis = {
2847
+ path: "/v3-next/stacks/{stackId}/services/{serviceId}/log-analysis",
2848
+ method: "GET",
2849
+ operationId: "container-get-service-logs-analysis",
2850
+ };
2851
+ /** Get an analysis of the error of an AppInstallation. */
2852
+ export const appGetAppinstallationErrorAnalysis = {
2853
+ path: "/v3-next/app-installations/{appInstallationId}/error-analysis",
2854
+ method: "GET",
2855
+ operationId: "app-get-appinstallation-error-analysis",
2856
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.452.0';
1
+ export const MittwaldAPIClientVersion = '4.453.0';
@@ -403,6 +403,17 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
403
403
  state: "running" | "stopped" | "exited";
404
404
  uptimeSeconds?: number | undefined;
405
405
  }>;
406
+ /** Get an analysis of the error of an AppInstallation. */
407
+ getAppinstallationErrorAnalysis: (conf: {
408
+ appInstallationId: string;
409
+ headers?: {
410
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
411
+ "x-access-token"?: string | undefined;
412
+ } | undefined;
413
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
414
+ recommendation?: string | undefined;
415
+ summary: string;
416
+ }>;
406
417
  };
407
418
  declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
408
419
  /** Get an Article. */
@@ -884,6 +895,18 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
884
895
  page?: number | undefined;
885
896
  } | undefined;
886
897
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
898
+ /** Get an analysis of the logs belonging to a Service. */
899
+ getServiceLogsAnalysis: (conf: {
900
+ stackId: string;
901
+ serviceId: string;
902
+ headers?: {
903
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
904
+ "x-access-token"?: string | undefined;
905
+ } | undefined;
906
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
907
+ recommendation?: string | undefined;
908
+ summary: string;
909
+ }>;
887
910
  };
888
911
  declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
889
912
  /** Return the BaseItem of the Contract with the given ID. */
@@ -1911,6 +1934,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1911
1934
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1912
1935
  message: string;
1913
1936
  recommendation?: string | undefined;
1937
+ summary: string;
1914
1938
  }>;
1915
1939
  /** Get a CronjobExecution. */
1916
1940
  getExecution: (conf: {
@@ -2651,6 +2651,60 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2651
2651
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2652
2652
  [x: string]: unknown;
2653
2653
  }, 429, "application/json">>>;
2654
+ /** Get an analysis of the error of an AppInstallation. */
2655
+ getAppinstallationErrorAnalysis: (request: {
2656
+ appInstallationId: string;
2657
+ headers?: {
2658
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2659
+ "x-access-token"?: string | undefined;
2660
+ } | undefined;
2661
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
2662
+ headers?: Partial<{
2663
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2664
+ }>;
2665
+ } & {
2666
+ pathParameters: {
2667
+ appInstallationId: string;
2668
+ };
2669
+ } & {
2670
+ headers: {
2671
+ "x-access-token"?: string | undefined;
2672
+ } & Partial<{
2673
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2674
+ }>;
2675
+ }, import("@mittwald/api-client-commons").Response<{
2676
+ recommendation?: string | undefined;
2677
+ summary: string;
2678
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2679
+ [x: string]: unknown;
2680
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2681
+ [x: string]: unknown;
2682
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2683
+ [x: string]: unknown;
2684
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2685
+ headers?: Partial<{
2686
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2687
+ }>;
2688
+ } & {
2689
+ pathParameters: {
2690
+ appInstallationId: string;
2691
+ };
2692
+ } & {
2693
+ headers: {
2694
+ "x-access-token"?: string | undefined;
2695
+ } & Partial<{
2696
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2697
+ }>;
2698
+ }, import("@mittwald/api-client-commons").Response<{
2699
+ recommendation?: string | undefined;
2700
+ summary: string;
2701
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2702
+ [x: string]: unknown;
2703
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2704
+ [x: string]: unknown;
2705
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2706
+ [x: string]: unknown;
2707
+ }, 429, "application/json">>>;
2654
2708
  };
2655
2709
  /** The article API allows you to read article information. */
2656
2710
  readonly article: {
@@ -3735,9 +3789,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3735
3789
  requestProjectBackupRestore: (request: {
3736
3790
  projectBackupId: string;
3737
3791
  data?: {
3738
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3792
+ databaseRestores?: [import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest, ...import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[]] | undefined;
3739
3793
  pathRestore?: {
3740
- sourcePaths: string[];
3794
+ sourcePaths: [string, ...string[]];
3741
3795
  clearTargetPath?: boolean | undefined;
3742
3796
  targetRestorePath?: string | undefined;
3743
3797
  } | undefined;
@@ -3748,7 +3802,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3748
3802
  } | undefined;
3749
3803
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3750
3804
  data: {
3751
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3805
+ databaseRestores?: [import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest, ...import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[]] | undefined;
3752
3806
  pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3753
3807
  };
3754
3808
  } & {
@@ -3775,7 +3829,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3775
3829
  [x: string]: unknown;
3776
3830
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3777
3831
  data: {
3778
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3832
+ databaseRestores?: [import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest, ...import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[]] | undefined;
3779
3833
  pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3780
3834
  };
3781
3835
  } & {
@@ -6427,6 +6481,71 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6427
6481
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6428
6482
  [x: string]: unknown;
6429
6483
  }, 500, "application/json">>>;
6484
+ /** Get an analysis of the logs belonging to a Service. */
6485
+ getServiceLogsAnalysis: (request: {
6486
+ stackId: string;
6487
+ serviceId: string;
6488
+ headers?: {
6489
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6490
+ "x-access-token"?: string | undefined;
6491
+ } | undefined;
6492
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6493
+ headers?: Partial<{
6494
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6495
+ }>;
6496
+ } & {
6497
+ pathParameters: {
6498
+ stackId: string;
6499
+ serviceId: string;
6500
+ };
6501
+ } & {
6502
+ headers: {
6503
+ "x-access-token"?: string | undefined;
6504
+ } & Partial<{
6505
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6506
+ }>;
6507
+ }, import("@mittwald/api-client-commons").Response<{
6508
+ recommendation?: string | undefined;
6509
+ summary: string;
6510
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6511
+ [x: string]: unknown;
6512
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6513
+ [x: string]: unknown;
6514
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6515
+ [x: string]: unknown;
6516
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6517
+ [x: string]: unknown;
6518
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6519
+ [x: string]: unknown;
6520
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6521
+ headers?: Partial<{
6522
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6523
+ }>;
6524
+ } & {
6525
+ pathParameters: {
6526
+ stackId: string;
6527
+ serviceId: string;
6528
+ };
6529
+ } & {
6530
+ headers: {
6531
+ "x-access-token"?: string | undefined;
6532
+ } & Partial<{
6533
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6534
+ }>;
6535
+ }, import("@mittwald/api-client-commons").Response<{
6536
+ recommendation?: string | undefined;
6537
+ summary: string;
6538
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6539
+ [x: string]: unknown;
6540
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6541
+ [x: string]: unknown;
6542
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6543
+ [x: string]: unknown;
6544
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6545
+ [x: string]: unknown;
6546
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6547
+ [x: string]: unknown;
6548
+ }, 500, "application/json">>>;
6430
6549
  };
6431
6550
  /** The contract API allows you to manage your contracts and orders */
6432
6551
  readonly contract: {
@@ -14616,6 +14735,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14616
14735
  }, import("@mittwald/api-client-commons").Response<{
14617
14736
  message: string;
14618
14737
  recommendation?: string | undefined;
14738
+ summary: string;
14619
14739
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14620
14740
  [x: string]: unknown;
14621
14741
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -14646,6 +14766,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
14646
14766
  }, import("@mittwald/api-client-commons").Response<{
14647
14767
  message: string;
14648
14768
  recommendation?: string | undefined;
14769
+ summary: string;
14649
14770
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14650
14771
  [x: string]: unknown;
14651
14772
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -951,3 +951,7 @@ export declare const aiHostingCustomerDeclareProfile: OpenAPIOperation<RequestTy
951
951
  export declare const aiHostingProjectGetPlan: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingsPlanId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
952
952
  /** Get all ai hosting plans and usages of a project. */
953
953
  export declare const aiHostingProjectGetPlans: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
954
+ /** Get an analysis of the logs belonging to a Service. */
955
+ export declare const containerGetServiceLogsAnalysis: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2StacksStackIdServicesServiceIdLogAnalysis.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
956
+ /** Get an analysis of the error of an AppInstallation. */
957
+ export declare const appGetAppinstallationErrorAnalysis: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1898,6 +1898,14 @@ export declare namespace MittwaldAPIV2 {
1898
1898
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetPlans>;
1899
1899
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetPlans, TStatus>;
1900
1900
  }
1901
+ namespace ContainerGetServiceLogsAnalysis {
1902
+ type RequestData = InferredRequestData<typeof descriptors.containerGetServiceLogsAnalysis>;
1903
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerGetServiceLogsAnalysis, TStatus>;
1904
+ }
1905
+ namespace AppGetAppinstallationErrorAnalysis {
1906
+ type RequestData = InferredRequestData<typeof descriptors.appGetAppinstallationErrorAnalysis>;
1907
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appGetAppinstallationErrorAnalysis, TStatus>;
1908
+ }
1901
1909
  }
1902
1910
  namespace Components {
1903
1911
  namespace Schemas {
@@ -2404,7 +2412,10 @@ export declare namespace MittwaldAPIV2 {
2404
2412
  * Whether to clear the target path before restoring. If true, existing files in the target path will be deleted before the restore. If false, existing files will be kept and may be overwritten if they exist in the backup.
2405
2413
  */
2406
2414
  clearTargetPath?: boolean;
2407
- sourcePaths: string[];
2415
+ /**
2416
+ * @minItems 1
2417
+ */
2418
+ sourcePaths: [string, ...string[]];
2408
2419
  /**
2409
2420
  * Target path where the source paths should be restored to. If not set, the target path will be determined to equal the origin source. The target path should always be a folder, no files allowed here.
2410
2421
  */
@@ -2418,7 +2429,13 @@ export declare namespace MittwaldAPIV2 {
2418
2429
  }
2419
2430
  type BackupProjectBackupRestorePhase = "running" | "completed";
2420
2431
  interface BackupProjectBackupRestoreRequest {
2421
- databaseRestores?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[];
2432
+ /**
2433
+ * @minItems 1
2434
+ */
2435
+ databaseRestores?: [
2436
+ MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest,
2437
+ ...MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[]
2438
+ ];
2422
2439
  pathRestore?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest;
2423
2440
  }
2424
2441
  interface BackupProjectBackupRestore {
@@ -3486,8 +3503,13 @@ export declare namespace MittwaldAPIV2 {
3486
3503
  };
3487
3504
  }
3488
3505
  interface CronjobCronjobExecutionAnalysis {
3506
+ /**
3507
+ * @deprecated
3508
+ * Deprecated: contains summary and recommendation combined. Use the separate fields instead.
3509
+ */
3489
3510
  message: string;
3490
3511
  recommendation?: string;
3512
+ summary: string;
3491
3513
  }
3492
3514
  type CronjobCronjobExecutionSortOrder = "oldestFirst" | "newestFirst" | "slowestFirst" | "fastestFirst";
3493
3515
  interface CronjobAppInstallationPatchTarget {
@@ -7204,6 +7226,14 @@ export declare namespace MittwaldAPIV2 {
7204
7226
  modelTermsApprovalRequired: boolean;
7205
7227
  plans: MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
7206
7228
  }
7229
+ interface ContainerServiceLogsAnalysis {
7230
+ recommendation?: string;
7231
+ summary: string;
7232
+ }
7233
+ interface AppAppInstallationErrorAnalysis {
7234
+ recommendation?: string;
7235
+ summary: string;
7236
+ }
7207
7237
  interface CommonsAddress {
7208
7238
  street: string;
7209
7239
  houseNumber: string;
@@ -31896,5 +31926,112 @@ export declare namespace MittwaldAPIV2 {
31896
31926
  }
31897
31927
  }
31898
31928
  }
31929
+ namespace V2StacksStackIdServicesServiceIdLogAnalysis {
31930
+ namespace Get {
31931
+ namespace Parameters {
31932
+ type Path = {
31933
+ stackId: string;
31934
+ serviceId: string;
31935
+ };
31936
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31937
+ type Query = {};
31938
+ }
31939
+ namespace Responses {
31940
+ namespace $200 {
31941
+ namespace Content {
31942
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerServiceLogsAnalysis;
31943
+ }
31944
+ }
31945
+ namespace $400 {
31946
+ namespace Content {
31947
+ interface ApplicationJson {
31948
+ [k: string]: unknown;
31949
+ }
31950
+ }
31951
+ }
31952
+ namespace $403 {
31953
+ namespace Content {
31954
+ interface ApplicationJson {
31955
+ [k: string]: unknown;
31956
+ }
31957
+ }
31958
+ }
31959
+ namespace $404 {
31960
+ namespace Content {
31961
+ interface ApplicationJson {
31962
+ [k: string]: unknown;
31963
+ }
31964
+ }
31965
+ }
31966
+ namespace $429 {
31967
+ namespace Content {
31968
+ interface ApplicationJson {
31969
+ [k: string]: unknown;
31970
+ }
31971
+ }
31972
+ }
31973
+ namespace $500 {
31974
+ namespace Content {
31975
+ interface ApplicationJson {
31976
+ [k: string]: unknown;
31977
+ }
31978
+ }
31979
+ }
31980
+ namespace Default {
31981
+ namespace Content {
31982
+ interface ApplicationJson {
31983
+ [k: string]: unknown;
31984
+ }
31985
+ }
31986
+ }
31987
+ }
31988
+ }
31989
+ }
31990
+ namespace V2AppInstallationsAppInstallationIdErrorAnalysis {
31991
+ namespace Get {
31992
+ namespace Parameters {
31993
+ type Path = {
31994
+ appInstallationId: string;
31995
+ };
31996
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
31997
+ type Query = {};
31998
+ }
31999
+ namespace Responses {
32000
+ namespace $200 {
32001
+ namespace Content {
32002
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AppAppInstallationErrorAnalysis;
32003
+ }
32004
+ }
32005
+ namespace $400 {
32006
+ namespace Content {
32007
+ interface ApplicationJson {
32008
+ [k: string]: unknown;
32009
+ }
32010
+ }
32011
+ }
32012
+ namespace $404 {
32013
+ namespace Content {
32014
+ interface ApplicationJson {
32015
+ [k: string]: unknown;
32016
+ }
32017
+ }
32018
+ }
32019
+ namespace $429 {
32020
+ namespace Content {
32021
+ interface ApplicationJson {
32022
+ [k: string]: unknown;
32023
+ }
32024
+ }
32025
+ }
32026
+ namespace Default {
32027
+ namespace Content {
32028
+ interface ApplicationJson {
32029
+ [k: string]: unknown;
32030
+ }
32031
+ }
32032
+ }
32033
+ }
32034
+ }
32035
+ }
31899
32036
  }
31900
32037
  }
@@ -403,6 +403,17 @@ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
403
403
  state: "running" | "stopped" | "exited";
404
404
  uptimeSeconds?: number | undefined;
405
405
  }>;
406
+ /** Get an analysis of the error of an AppInstallation. */
407
+ getAppinstallationErrorAnalysis: (conf: {
408
+ appInstallationId: string;
409
+ headers?: {
410
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
411
+ "x-access-token"?: string | undefined;
412
+ } | undefined;
413
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
414
+ recommendation?: string | undefined;
415
+ summary: string;
416
+ }>;
406
417
  };
407
418
  declare const buildArticleApi: (baseClient: MittwaldAPIV3NextClient) => {
408
419
  /** Get an Article. */
@@ -884,6 +895,18 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
884
895
  page?: number | undefined;
885
896
  } | undefined;
886
897
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
898
+ /** Get an analysis of the logs belonging to a Service. */
899
+ getServiceLogsAnalysis: (conf: {
900
+ stackId: string;
901
+ serviceId: string;
902
+ headers?: {
903
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
904
+ "x-access-token"?: string | undefined;
905
+ } | undefined;
906
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
907
+ recommendation?: string | undefined;
908
+ summary: string;
909
+ }>;
887
910
  };
888
911
  declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
889
912
  /** Return the BaseItem of the Contract with the given ID. */
@@ -1911,6 +1934,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV3NextClient) => {
1911
1934
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1912
1935
  message: string;
1913
1936
  recommendation?: string | undefined;
1937
+ summary: string;
1914
1938
  }>;
1915
1939
  /** Get a CronjobExecution. */
1916
1940
  getExecution: (conf: {
@@ -2651,6 +2651,60 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
2651
2651
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2652
2652
  [x: string]: unknown;
2653
2653
  }, 429, "application/json">>>;
2654
+ /** Get an analysis of the error of an AppInstallation. */
2655
+ getAppinstallationErrorAnalysis: (request: {
2656
+ appInstallationId: string;
2657
+ headers?: {
2658
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2659
+ "x-access-token"?: string | undefined;
2660
+ } | undefined;
2661
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
2662
+ headers?: Partial<{
2663
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2664
+ }>;
2665
+ } & {
2666
+ pathParameters: {
2667
+ appInstallationId: string;
2668
+ };
2669
+ } & {
2670
+ headers: {
2671
+ "x-access-token"?: string | undefined;
2672
+ } & Partial<{
2673
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2674
+ }>;
2675
+ }, import("@mittwald/api-client-commons").Response<{
2676
+ recommendation?: string | undefined;
2677
+ summary: string;
2678
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2679
+ [x: string]: unknown;
2680
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2681
+ [x: string]: unknown;
2682
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2683
+ [x: string]: unknown;
2684
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2685
+ headers?: Partial<{
2686
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2687
+ }>;
2688
+ } & {
2689
+ pathParameters: {
2690
+ appInstallationId: string;
2691
+ };
2692
+ } & {
2693
+ headers: {
2694
+ "x-access-token"?: string | undefined;
2695
+ } & Partial<{
2696
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
2697
+ }>;
2698
+ }, import("@mittwald/api-client-commons").Response<{
2699
+ recommendation?: string | undefined;
2700
+ summary: string;
2701
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2702
+ [x: string]: unknown;
2703
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
2704
+ [x: string]: unknown;
2705
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2706
+ [x: string]: unknown;
2707
+ }, 429, "application/json">>>;
2654
2708
  };
2655
2709
  /** The article API allows you to read article information. */
2656
2710
  readonly article: {
@@ -3735,9 +3789,9 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
3735
3789
  requestProjectBackupRestore: (request: {
3736
3790
  projectBackupId: string;
3737
3791
  data?: {
3738
- databaseRestores?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[] | undefined;
3792
+ databaseRestores?: [import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest, ...import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[]] | undefined;
3739
3793
  pathRestore?: {
3740
- sourcePaths: string[];
3794
+ sourcePaths: [string, ...string[]];
3741
3795
  clearTargetPath?: boolean | undefined;
3742
3796
  targetRestorePath?: string | undefined;
3743
3797
  } | undefined;
@@ -3748,7 +3802,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
3748
3802
  } | undefined;
3749
3803
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3750
3804
  data: {
3751
- databaseRestores?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[] | undefined;
3805
+ databaseRestores?: [import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest, ...import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[]] | undefined;
3752
3806
  pathRestore?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestorePathRequest | undefined;
3753
3807
  };
3754
3808
  } & {
@@ -3775,7 +3829,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
3775
3829
  [x: string]: unknown;
3776
3830
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3777
3831
  data: {
3778
- databaseRestores?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[] | undefined;
3832
+ databaseRestores?: [import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest, ...import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[]] | undefined;
3779
3833
  pathRestore?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestorePathRequest | undefined;
3780
3834
  };
3781
3835
  } & {
@@ -6427,6 +6481,71 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
6427
6481
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6428
6482
  [x: string]: unknown;
6429
6483
  }, 500, "application/json">>>;
6484
+ /** Get an analysis of the logs belonging to a Service. */
6485
+ getServiceLogsAnalysis: (request: {
6486
+ stackId: string;
6487
+ serviceId: string;
6488
+ headers?: {
6489
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6490
+ "x-access-token"?: string | undefined;
6491
+ } | undefined;
6492
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6493
+ headers?: Partial<{
6494
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6495
+ }>;
6496
+ } & {
6497
+ pathParameters: {
6498
+ stackId: string;
6499
+ serviceId: string;
6500
+ };
6501
+ } & {
6502
+ headers: {
6503
+ "x-access-token"?: string | undefined;
6504
+ } & Partial<{
6505
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6506
+ }>;
6507
+ }, import("@mittwald/api-client-commons").Response<{
6508
+ recommendation?: string | undefined;
6509
+ summary: string;
6510
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6511
+ [x: string]: unknown;
6512
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6513
+ [x: string]: unknown;
6514
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6515
+ [x: string]: unknown;
6516
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6517
+ [x: string]: unknown;
6518
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6519
+ [x: string]: unknown;
6520
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6521
+ headers?: Partial<{
6522
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6523
+ }>;
6524
+ } & {
6525
+ pathParameters: {
6526
+ stackId: string;
6527
+ serviceId: string;
6528
+ };
6529
+ } & {
6530
+ headers: {
6531
+ "x-access-token"?: string | undefined;
6532
+ } & Partial<{
6533
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6534
+ }>;
6535
+ }, import("@mittwald/api-client-commons").Response<{
6536
+ recommendation?: string | undefined;
6537
+ summary: string;
6538
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6539
+ [x: string]: unknown;
6540
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6541
+ [x: string]: unknown;
6542
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6543
+ [x: string]: unknown;
6544
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6545
+ [x: string]: unknown;
6546
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6547
+ [x: string]: unknown;
6548
+ }, 500, "application/json">>>;
6430
6549
  };
6431
6550
  /** The contract API allows you to manage your contracts and orders */
6432
6551
  readonly contract: {
@@ -14616,6 +14735,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
14616
14735
  }, import("@mittwald/api-client-commons").Response<{
14617
14736
  message: string;
14618
14737
  recommendation?: string | undefined;
14738
+ summary: string;
14619
14739
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14620
14740
  [x: string]: unknown;
14621
14741
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -14646,6 +14766,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
14646
14766
  }, import("@mittwald/api-client-commons").Response<{
14647
14767
  message: string;
14648
14768
  recommendation?: string | undefined;
14769
+ summary: string;
14649
14770
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
14650
14771
  [x: string]: unknown;
14651
14772
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -951,3 +951,7 @@ export declare const aiHostingCustomerDeclareProfile: OpenAPIOperation<RequestTy
951
951
  export declare const aiHostingProjectGetPlan: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingsPlanId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
952
952
  /** Get all ai hosting plans and usages of a project. */
953
953
  export declare const aiHostingProjectGetPlans: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
954
+ /** Get an analysis of the logs belonging to a Service. */
955
+ export declare const containerGetServiceLogsAnalysis: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextStacksStackIdServicesServiceIdLogAnalysis.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
956
+ /** Get an analysis of the error of an AppInstallation. */
957
+ export declare const appGetAppinstallationErrorAnalysis: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextAppInstallationsAppInstallationIdErrorAnalysis.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1898,6 +1898,14 @@ export declare namespace MittwaldAPIV3Next {
1898
1898
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetPlans>;
1899
1899
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetPlans, TStatus>;
1900
1900
  }
1901
+ namespace ContainerGetServiceLogsAnalysis {
1902
+ type RequestData = InferredRequestData<typeof descriptors.containerGetServiceLogsAnalysis>;
1903
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerGetServiceLogsAnalysis, TStatus>;
1904
+ }
1905
+ namespace AppGetAppinstallationErrorAnalysis {
1906
+ type RequestData = InferredRequestData<typeof descriptors.appGetAppinstallationErrorAnalysis>;
1907
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appGetAppinstallationErrorAnalysis, TStatus>;
1908
+ }
1901
1909
  }
1902
1910
  namespace Components {
1903
1911
  namespace Schemas {
@@ -2404,7 +2412,10 @@ export declare namespace MittwaldAPIV3Next {
2404
2412
  * Whether to clear the target path before restoring. If true, existing files in the target path will be deleted before the restore. If false, existing files will be kept and may be overwritten if they exist in the backup.
2405
2413
  */
2406
2414
  clearTargetPath?: boolean;
2407
- sourcePaths: string[];
2415
+ /**
2416
+ * @minItems 1
2417
+ */
2418
+ sourcePaths: [string, ...string[]];
2408
2419
  /**
2409
2420
  * Target path where the source paths should be restored to. If not set, the target path will be determined to equal the origin source. The target path should always be a folder, no files allowed here.
2410
2421
  */
@@ -2418,7 +2429,13 @@ export declare namespace MittwaldAPIV3Next {
2418
2429
  }
2419
2430
  type DeMittwaldBackupProjectBackupRestorePhase = "running" | "completed";
2420
2431
  interface DeMittwaldBackupProjectBackupRestoreRequest {
2421
- databaseRestores?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[];
2432
+ /**
2433
+ * @minItems 1
2434
+ */
2435
+ databaseRestores?: [
2436
+ MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest,
2437
+ ...MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestoreDatabaseRequest[]
2438
+ ];
2422
2439
  pathRestore?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestorePathRequest;
2423
2440
  }
2424
2441
  interface DeMittwaldBackupProjectBackupRestore {
@@ -3486,8 +3503,13 @@ export declare namespace MittwaldAPIV3Next {
3486
3503
  };
3487
3504
  }
3488
3505
  interface DeMittwaldCronjobCronjobExecutionAnalysis {
3506
+ /**
3507
+ * @deprecated
3508
+ * Deprecated: contains summary and recommendation combined. Use the separate fields instead.
3509
+ */
3489
3510
  message: string;
3490
3511
  recommendation?: string;
3512
+ summary: string;
3491
3513
  }
3492
3514
  type DeMittwaldCronjobCronjobExecutionSortOrder = "oldestFirst" | "newestFirst" | "slowestFirst" | "fastestFirst";
3493
3515
  interface DeMittwaldCronjobAppInstallationPatchTarget {
@@ -7208,6 +7230,14 @@ export declare namespace MittwaldAPIV3Next {
7208
7230
  modelTermsApprovalRequired: boolean;
7209
7231
  plans: MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectPlan[];
7210
7232
  }
7233
+ interface DeMittwaldContainerServiceLogsAnalysis {
7234
+ recommendation?: string;
7235
+ summary: string;
7236
+ }
7237
+ interface DeMittwaldAppAppInstallationErrorAnalysis {
7238
+ recommendation?: string;
7239
+ summary: string;
7240
+ }
7211
7241
  interface DeMittwaldCommonsAddress {
7212
7242
  street: string;
7213
7243
  houseNumber: string;
@@ -31820,5 +31850,112 @@ export declare namespace MittwaldAPIV3Next {
31820
31850
  }
31821
31851
  }
31822
31852
  }
31853
+ namespace V3NextStacksStackIdServicesServiceIdLogAnalysis {
31854
+ namespace Get {
31855
+ namespace Parameters {
31856
+ type Path = {
31857
+ stackId: string;
31858
+ serviceId: string;
31859
+ };
31860
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
31861
+ type Query = {};
31862
+ }
31863
+ namespace Responses {
31864
+ namespace $200 {
31865
+ namespace Content {
31866
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceLogsAnalysis;
31867
+ }
31868
+ }
31869
+ namespace $400 {
31870
+ namespace Content {
31871
+ interface ApplicationJson {
31872
+ [k: string]: unknown;
31873
+ }
31874
+ }
31875
+ }
31876
+ namespace $403 {
31877
+ namespace Content {
31878
+ interface ApplicationJson {
31879
+ [k: string]: unknown;
31880
+ }
31881
+ }
31882
+ }
31883
+ namespace $404 {
31884
+ namespace Content {
31885
+ interface ApplicationJson {
31886
+ [k: string]: unknown;
31887
+ }
31888
+ }
31889
+ }
31890
+ namespace $429 {
31891
+ namespace Content {
31892
+ interface ApplicationJson {
31893
+ [k: string]: unknown;
31894
+ }
31895
+ }
31896
+ }
31897
+ namespace $500 {
31898
+ namespace Content {
31899
+ interface ApplicationJson {
31900
+ [k: string]: unknown;
31901
+ }
31902
+ }
31903
+ }
31904
+ namespace Default {
31905
+ namespace Content {
31906
+ interface ApplicationJson {
31907
+ [k: string]: unknown;
31908
+ }
31909
+ }
31910
+ }
31911
+ }
31912
+ }
31913
+ }
31914
+ namespace V3NextAppInstallationsAppInstallationIdErrorAnalysis {
31915
+ namespace Get {
31916
+ namespace Parameters {
31917
+ type Path = {
31918
+ appInstallationId: string;
31919
+ };
31920
+ type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
31921
+ type Query = {};
31922
+ }
31923
+ namespace Responses {
31924
+ namespace $200 {
31925
+ namespace Content {
31926
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppInstallationErrorAnalysis;
31927
+ }
31928
+ }
31929
+ namespace $400 {
31930
+ namespace Content {
31931
+ interface ApplicationJson {
31932
+ [k: string]: unknown;
31933
+ }
31934
+ }
31935
+ }
31936
+ namespace $404 {
31937
+ namespace Content {
31938
+ interface ApplicationJson {
31939
+ [k: string]: unknown;
31940
+ }
31941
+ }
31942
+ }
31943
+ namespace $429 {
31944
+ namespace Content {
31945
+ interface ApplicationJson {
31946
+ [k: string]: unknown;
31947
+ }
31948
+ }
31949
+ }
31950
+ namespace Default {
31951
+ namespace Content {
31952
+ interface ApplicationJson {
31953
+ [k: string]: unknown;
31954
+ }
31955
+ }
31956
+ }
31957
+ }
31958
+ }
31959
+ }
31823
31960
  }
31824
31961
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.452.0';
1
+ export declare const MittwaldAPIClientVersion = '4.453.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.453.0",
3
+ "version": "4.454.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -72,11 +72,11 @@
72
72
  "test:compile": "run tsc --noEmit"
73
73
  },
74
74
  "dependencies": {
75
- "@mittwald/api-client-commons": "^4.453.0",
75
+ "@mittwald/api-client-commons": "^4.454.0",
76
76
  "browser-or-node": "^3.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@mittwald/api-code-generator": "^4.453.0",
79
+ "@mittwald/api-code-generator": "^4.454.0",
80
80
  "@mittwald/react-use-promise": "^2.6.2",
81
81
  "@types/node": "^22.18.11",
82
82
  "@types/react": "^18.3.26",
@@ -106,5 +106,5 @@
106
106
  "optional": true
107
107
  }
108
108
  },
109
- "gitHead": "c2584fb2d4974a43d9dd4946495bef9be1c528a4"
109
+ "gitHead": "b1d335660ac15d7e46dd05e9b35dd86f9e1eee4c"
110
110
  }