@mittwald/api-client 4.302.0 → 4.304.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.
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.301.0';
1
+ export const MittwaldAPIClientVersion = '4.303.0';
@@ -831,8 +831,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
831
831
  };
832
832
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
833
833
  [x: string]: unknown;
834
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
835
+ [x: string]: unknown;
834
836
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
835
837
  [x: string]: unknown;
838
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
839
+ [x: string]: unknown;
836
840
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
837
841
  headers?: Partial<{
838
842
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -844,8 +848,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
844
848
  };
845
849
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
846
850
  [x: string]: unknown;
851
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
852
+ [x: string]: unknown;
847
853
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
848
854
  [x: string]: unknown;
855
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
856
+ [x: string]: unknown;
849
857
  }, 429, "application/json">>>;
850
858
  /** Get an App. */
851
859
  getApp: (request: {
@@ -15060,7 +15068,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
15060
15068
  data: {
15061
15069
  database: {
15062
15070
  description: string;
15063
- projectId: string;
15064
15071
  version: string;
15065
15072
  characterSettings?: {
15066
15073
  characterSet: string;
@@ -30,7 +30,7 @@ export declare const aiHostingProjectDeleteKey: OpenAPIOperation<RequestType<Sim
30
30
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
31
31
  export declare const aiHostingProjectGetUsage: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHosting.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
32
32
  /** Trigger a runtime action belonging to an AppInstallation. */
33
- export declare const appExecuteAction: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
33
+ export declare const appExecuteAction: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsAction.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
34
34
  /** Get an App. */
35
35
  export declare const appGetApp: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppsAppId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppsAppId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AppsAppId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
36
36
  /** Get an AppInstallation. */
@@ -3102,7 +3102,6 @@ export declare namespace MittwaldAPIV2 {
3102
3102
  *
3103
3103
  */
3104
3104
  description: string;
3105
- projectId: string;
3106
3105
  /**
3107
3106
  * The MySQL version to use for this database, in `<major>.<minor>` format. Use the `GET /v2/mysql-versions` endpoint to query available versions.
3108
3107
  *
@@ -3215,15 +3214,41 @@ export declare namespace MittwaldAPIV2 {
3215
3214
  url: string;
3216
3215
  }
3217
3216
  interface DatabaseMySqlUser {
3217
+ /**
3218
+ * An IP range (in CIDR notation) for which access should be allowed.
3219
+ */
3218
3220
  accessIpMask?: string;
3221
+ /**
3222
+ * The access level that this MySQLUser should have for the database. The `full` access level grants
3223
+ * the user read/write privileges on the database.
3224
+ *
3225
+ */
3219
3226
  accessLevel: "full" | "readonly";
3220
3227
  createdAt: string;
3221
3228
  databaseId: string;
3222
3229
  description?: string;
3223
3230
  disabled: boolean;
3231
+ /**
3232
+ * Describes if users should be able to connection to this database from external sources.
3233
+ * Defaults to `false` when not set.
3234
+ *
3235
+ * To find out how to connect to your database from external sources, refer to the `externalHostname`
3236
+ * field of the `GET /v2/mysql-databases/{id}` endpoint.
3237
+ *
3238
+ */
3224
3239
  externalAccess: boolean;
3225
3240
  id: string;
3241
+ /**
3242
+ * Indicates whether this MySQL user is the main user of the database. The main user is created by
3243
+ * default when a new MySQL database is provisioned. It can neither be deleted nor disabled,
3244
+ * but its password can be updated.
3245
+ *
3246
+ */
3226
3247
  mainUser: boolean;
3248
+ /**
3249
+ * The name of the MySQL user. This can be used as the username when connecting to the database.
3250
+ *
3251
+ */
3227
3252
  name: string;
3228
3253
  passwordUpdatedAt: string;
3229
3254
  status: MittwaldAPIV2.Components.Schemas.DatabaseDatabaseUserStatus;
@@ -5782,6 +5807,10 @@ export declare namespace MittwaldAPIV2 {
5782
5807
  }
5783
5808
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5784
5809
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5810
+ interface VerificationVerifyAddressResponse {
5811
+ exists: boolean;
5812
+ }
5813
+ type VerificationVerifyAddressConfidence = "EXISTS" | "UNSURE" | "NON_EXISTENT";
5785
5814
  interface CommonsAddress {
5786
5815
  street: string;
5787
5816
  houseNumber: string;
@@ -6765,6 +6794,13 @@ export declare namespace MittwaldAPIV2 {
6765
6794
  type Empty = unknown;
6766
6795
  }
6767
6796
  }
6797
+ namespace $400 {
6798
+ namespace Content {
6799
+ interface ApplicationJson {
6800
+ [k: string]: unknown;
6801
+ }
6802
+ }
6803
+ }
6768
6804
  namespace $404 {
6769
6805
  namespace Content {
6770
6806
  interface ApplicationJson {
@@ -6772,6 +6808,13 @@ export declare namespace MittwaldAPIV2 {
6772
6808
  }
6773
6809
  }
6774
6810
  }
6811
+ namespace $412 {
6812
+ namespace Content {
6813
+ interface ApplicationJson {
6814
+ [k: string]: unknown;
6815
+ }
6816
+ }
6817
+ }
6775
6818
  namespace $429 {
6776
6819
  namespace Content {
6777
6820
  interface ApplicationJson {
@@ -28824,9 +28867,7 @@ export declare namespace MittwaldAPIV2 {
28824
28867
  namespace Responses {
28825
28868
  namespace $200 {
28826
28869
  namespace Content {
28827
- interface ApplicationJson {
28828
- exists: boolean;
28829
- }
28870
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationVerifyAddressResponse;
28830
28871
  }
28831
28872
  }
28832
28873
  namespace $400 {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.301.0';
1
+ export declare const MittwaldAPIClientVersion = '4.303.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.302.0",
3
+ "version": "4.304.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.302.0",
49
+ "@mittwald/api-client-commons": "^4.304.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.302.0",
53
+ "@mittwald/api-code-generator": "^4.304.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": "e1d58c9d9f86ee7752a2f26521744e9e21eeafee"
83
+ "gitHead": "8a30e7af88e936384954b3b7ccffe7257efefa8b"
84
84
  }