@mittwald/api-client 4.374.0 → 4.376.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.
@@ -38,6 +38,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
38
38
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
39
39
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
40
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
+ /** Links a container with a project licence. */
42
+ projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
41
43
  };
42
44
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
43
45
  app = {
@@ -2776,3 +2776,9 @@ export const verificationVerifyCompany = {
2776
2776
  method: "POST",
2777
2777
  operationId: "verification-verify-company",
2778
2778
  };
2779
+ /** Links a container with a project licence. */
2780
+ export const aiHostingProjectLinkContainer = {
2781
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
2782
+ method: "POST",
2783
+ operationId: "ai-hosting-project-link-container",
2784
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.373.0';
1
+ export const MittwaldAPIClientVersion = '4.375.0';
@@ -142,6 +142,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
142
142
  deletionRequested?: boolean | undefined;
143
143
  description: string;
144
144
  disabled: boolean;
145
+ hostname?: string | undefined;
145
146
  id: string;
146
147
  installationPath: string;
147
148
  lastError?: string | undefined;
@@ -150,6 +151,10 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
150
151
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
151
152
  } | undefined;
152
153
  phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
154
+ ports?: {
155
+ name?: string;
156
+ port?: number;
157
+ }[] | undefined;
153
158
  projectDescription: string;
154
159
  projectId: string;
155
160
  screenshotId?: string | undefined;
@@ -931,6 +931,69 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
931
931
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
932
932
  [x: string]: unknown;
933
933
  }, 429, "application/json">>>;
934
+ /** Links a container with a project licence. */
935
+ projectLinkContainer: (request: {
936
+ data: {
937
+ containerId: string;
938
+ ingressId: string;
939
+ stackId: string;
940
+ };
941
+ projectId: string;
942
+ keyId: string;
943
+ headers?: {
944
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
945
+ } | undefined;
946
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
947
+ data: {
948
+ containerId: string;
949
+ ingressId: string;
950
+ stackId: string;
951
+ };
952
+ } & {
953
+ pathParameters: {
954
+ projectId: string;
955
+ keyId: string;
956
+ };
957
+ } & {
958
+ headers?: Partial<{
959
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
960
+ }>;
961
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
962
+ [x: string]: unknown;
963
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
964
+ [x: string]: unknown;
965
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
966
+ [x: string]: unknown;
967
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
968
+ [x: string]: unknown;
969
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
970
+ [x: string]: unknown;
971
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
972
+ data: {
973
+ containerId: string;
974
+ ingressId: string;
975
+ stackId: string;
976
+ };
977
+ } & {
978
+ pathParameters: {
979
+ projectId: string;
980
+ keyId: string;
981
+ };
982
+ } & {
983
+ headers?: Partial<{
984
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
985
+ }>;
986
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
987
+ [x: string]: unknown;
988
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
989
+ [x: string]: unknown;
990
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
991
+ [x: string]: unknown;
992
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
993
+ [x: string]: unknown;
994
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
995
+ [x: string]: unknown;
996
+ }, 429, "application/json">>>;
934
997
  };
935
998
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
936
999
  readonly app: {
@@ -1019,6 +1082,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1019
1082
  deletionRequested?: boolean | undefined;
1020
1083
  description: string;
1021
1084
  disabled: boolean;
1085
+ hostname?: string | undefined;
1022
1086
  id: string;
1023
1087
  installationPath: string;
1024
1088
  lastError?: string | undefined;
@@ -1027,6 +1091,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1027
1091
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
1028
1092
  } | undefined;
1029
1093
  phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
1094
+ ports?: {
1095
+ name?: string;
1096
+ port?: number;
1097
+ }[] | undefined;
1030
1098
  projectDescription: string;
1031
1099
  projectId: string;
1032
1100
  screenshotId?: string | undefined;
@@ -1064,6 +1132,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1064
1132
  deletionRequested?: boolean | undefined;
1065
1133
  description: string;
1066
1134
  disabled: boolean;
1135
+ hostname?: string | undefined;
1067
1136
  id: string;
1068
1137
  installationPath: string;
1069
1138
  lastError?: string | undefined;
@@ -1072,6 +1141,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1072
1141
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
1073
1142
  } | undefined;
1074
1143
  phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
1144
+ ports?: {
1145
+ name?: string;
1146
+ port?: number;
1147
+ }[] | undefined;
1075
1148
  projectDescription: string;
1076
1149
  projectId: string;
1077
1150
  screenshotId?: string | undefined;
@@ -929,3 +929,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
929
929
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
930
930
  /** Check if a company exists. */
931
931
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
932
+ /** Links a container with a project licence. */
933
+ export declare const aiHostingProjectLinkContainer: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1854,6 +1854,10 @@ export declare namespace MittwaldAPIV2 {
1854
1854
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1855
1855
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1856
1856
  }
1857
+ namespace AiHostingProjectLinkContainer {
1858
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectLinkContainer>;
1859
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectLinkContainer, TStatus>;
1860
+ }
1857
1861
  }
1858
1862
  namespace Components {
1859
1863
  namespace Schemas {
@@ -2024,6 +2028,7 @@ export declare namespace MittwaldAPIV2 {
2024
2028
  deletionRequested?: boolean;
2025
2029
  description: string;
2026
2030
  disabled: boolean;
2031
+ hostname?: string;
2027
2032
  id: string;
2028
2033
  installationPath: string;
2029
2034
  /**
@@ -2035,6 +2040,10 @@ export declare namespace MittwaldAPIV2 {
2035
2040
  [k: string]: MittwaldAPIV2.Components.Schemas.AppLockPurpose;
2036
2041
  };
2037
2042
  phase: MittwaldAPIV2.Components.Schemas.AppPhase;
2043
+ ports?: {
2044
+ name?: string;
2045
+ port?: number;
2046
+ }[];
2038
2047
  projectDescription: string;
2039
2048
  projectId: string;
2040
2049
  screenshotId?: string;
@@ -5337,6 +5346,24 @@ export declare namespace MittwaldAPIV2 {
5337
5346
  ram?: number;
5338
5347
  vcpu?: number;
5339
5348
  }
5349
+ interface OrderInternalProjectHostingOrder {
5350
+ articleId: string;
5351
+ customerId: string;
5352
+ description: string;
5353
+ diskspaceInGiB: number;
5354
+ promotionCode?: string;
5355
+ recommendationCode?: string;
5356
+ useFreeTrial?: boolean;
5357
+ }
5358
+ interface OrderInternalServerOrder {
5359
+ articleId: string;
5360
+ customerId: string;
5361
+ description: string;
5362
+ diskspaceInGiB: number;
5363
+ promotionCode?: string;
5364
+ recommendationCode?: string;
5365
+ useFreeTrial?: boolean;
5366
+ }
5340
5367
  interface OrderLeadFyndrOrderPreview {
5341
5368
  reservationLimit: number;
5342
5369
  unlockLimit: number;
@@ -6202,24 +6229,6 @@ export declare namespace MittwaldAPIV2 {
6202
6229
  }
6203
6230
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
6204
6231
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
6205
- interface OrderInternalProjectHostingOrder {
6206
- articleId: string;
6207
- customerId: string;
6208
- description: string;
6209
- diskspaceInGiB: number;
6210
- promotionCode?: string;
6211
- recommendationCode?: string;
6212
- useFreeTrial?: boolean;
6213
- }
6214
- interface OrderInternalServerOrder {
6215
- articleId: string;
6216
- customerId: string;
6217
- description: string;
6218
- diskspaceInGiB: number;
6219
- promotionCode?: string;
6220
- recommendationCode?: string;
6221
- useFreeTrial?: boolean;
6222
- }
6223
6232
  interface CommonsAddress {
6224
6233
  street: string;
6225
6234
  houseNumber: string;
@@ -30210,5 +30219,71 @@ export declare namespace MittwaldAPIV2 {
30210
30219
  }
30211
30220
  }
30212
30221
  }
30222
+ namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer {
30223
+ namespace Post {
30224
+ namespace Parameters {
30225
+ type Path = {
30226
+ projectId: string;
30227
+ keyId: string;
30228
+ };
30229
+ interface RequestBody {
30230
+ containerId: string;
30231
+ ingressId: string;
30232
+ stackId: string;
30233
+ }
30234
+ type Header = {};
30235
+ type Query = {};
30236
+ }
30237
+ namespace Responses {
30238
+ namespace $204 {
30239
+ namespace Content {
30240
+ type Empty = unknown;
30241
+ }
30242
+ }
30243
+ namespace $400 {
30244
+ namespace Content {
30245
+ interface ApplicationJson {
30246
+ [k: string]: unknown;
30247
+ }
30248
+ }
30249
+ }
30250
+ namespace $403 {
30251
+ namespace Content {
30252
+ interface ApplicationJson {
30253
+ [k: string]: unknown;
30254
+ }
30255
+ }
30256
+ }
30257
+ namespace $404 {
30258
+ namespace Content {
30259
+ interface ApplicationJson {
30260
+ [k: string]: unknown;
30261
+ }
30262
+ }
30263
+ }
30264
+ namespace $412 {
30265
+ namespace Content {
30266
+ interface ApplicationJson {
30267
+ [k: string]: unknown;
30268
+ }
30269
+ }
30270
+ }
30271
+ namespace $429 {
30272
+ namespace Content {
30273
+ interface ApplicationJson {
30274
+ [k: string]: unknown;
30275
+ }
30276
+ }
30277
+ }
30278
+ namespace Default {
30279
+ namespace Content {
30280
+ interface ApplicationJson {
30281
+ [k: string]: unknown;
30282
+ }
30283
+ }
30284
+ }
30285
+ }
30286
+ }
30287
+ }
30213
30288
  }
30214
30289
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.373.0';
1
+ export declare const MittwaldAPIClientVersion = '4.375.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.374.0",
3
+ "version": "4.376.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",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.374.0",
49
+ "@mittwald/api-client-commons": "^4.376.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.374.0",
53
+ "@mittwald/api-code-generator": "^4.376.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "1846d5cbe8ee133908c9214f44486b146a899090"
83
+ "gitHead": "1ee7afeb98e2b218fc01c1fc77c64904243f73bd"
84
84
  }