@mittwald/api-client 4.302.0 → 4.303.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.
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.302.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;
|
|
@@ -6765,6 +6790,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6765
6790
|
type Empty = unknown;
|
|
6766
6791
|
}
|
|
6767
6792
|
}
|
|
6793
|
+
namespace $400 {
|
|
6794
|
+
namespace Content {
|
|
6795
|
+
interface ApplicationJson {
|
|
6796
|
+
[k: string]: unknown;
|
|
6797
|
+
}
|
|
6798
|
+
}
|
|
6799
|
+
}
|
|
6768
6800
|
namespace $404 {
|
|
6769
6801
|
namespace Content {
|
|
6770
6802
|
interface ApplicationJson {
|
|
@@ -6772,6 +6804,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6772
6804
|
}
|
|
6773
6805
|
}
|
|
6774
6806
|
}
|
|
6807
|
+
namespace $412 {
|
|
6808
|
+
namespace Content {
|
|
6809
|
+
interface ApplicationJson {
|
|
6810
|
+
[k: string]: unknown;
|
|
6811
|
+
}
|
|
6812
|
+
}
|
|
6813
|
+
}
|
|
6775
6814
|
namespace $429 {
|
|
6776
6815
|
namespace Content {
|
|
6777
6816
|
interface ApplicationJson {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.302.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.303.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.
|
|
49
|
+
"@mittwald/api-client-commons": "^4.303.0",
|
|
50
50
|
"browser-or-node": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mittwald/api-code-generator": "^4.
|
|
53
|
+
"@mittwald/api-code-generator": "^4.303.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": "
|
|
83
|
+
"gitHead": "1b97644b11f5ea7cd470b711301766ae17d630cf"
|
|
84
84
|
}
|