@mittwald/api-client 4.240.0 → 4.242.1
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/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +1 -0
- package/dist/types/generated/v2/client.d.ts +75 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +58 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +12 -12
|
@@ -481,6 +481,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
481
481
|
updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
|
|
482
482
|
/** Update a RedisDatabase's description. */
|
|
483
483
|
updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
|
|
484
|
+
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
485
|
+
copyMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCopyMysqlDatabase),
|
|
484
486
|
};
|
|
485
487
|
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
486
488
|
domain = {
|
|
@@ -2572,3 +2572,9 @@ export const verificationVerifyCompany = {
|
|
|
2572
2572
|
method: "POST",
|
|
2573
2573
|
operationId: "verification-verify-company",
|
|
2574
2574
|
};
|
|
2575
|
+
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
2576
|
+
export const databaseCopyMysqlDatabase = {
|
|
2577
|
+
path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
|
|
2578
|
+
method: "POST",
|
|
2579
|
+
operationId: "database-copy-mysql-database",
|
|
2580
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.242.0';
|
|
@@ -2852,6 +2852,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2852
2852
|
clusterId?: string | undefined;
|
|
2853
2853
|
createdAt: string;
|
|
2854
2854
|
customerId: string;
|
|
2855
|
+
deletionRequested?: boolean | undefined;
|
|
2855
2856
|
description: string;
|
|
2856
2857
|
directories: {
|
|
2857
2858
|
[k: string]: string;
|
|
@@ -14993,6 +14993,79 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
14993
14993
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
14994
14994
|
[x: string]: unknown;
|
|
14995
14995
|
}, 429, "application/json">>>;
|
|
14996
|
+
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
14997
|
+
copyMysqlDatabase: (request: {
|
|
14998
|
+
data: {
|
|
14999
|
+
description: string;
|
|
15000
|
+
user: {
|
|
15001
|
+
accessLevel: "full" | "readonly";
|
|
15002
|
+
password: string;
|
|
15003
|
+
accessIpMask?: string | undefined;
|
|
15004
|
+
externalAccess?: boolean | undefined;
|
|
15005
|
+
};
|
|
15006
|
+
};
|
|
15007
|
+
mysqlDatabaseId: string;
|
|
15008
|
+
headers?: {
|
|
15009
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
15010
|
+
"x-access-token"?: string | undefined;
|
|
15011
|
+
} | undefined;
|
|
15012
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
15013
|
+
data: {
|
|
15014
|
+
description: string;
|
|
15015
|
+
user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
15016
|
+
};
|
|
15017
|
+
} & {
|
|
15018
|
+
pathParameters: {
|
|
15019
|
+
mysqlDatabaseId: string;
|
|
15020
|
+
};
|
|
15021
|
+
} & {
|
|
15022
|
+
headers?: Partial<{
|
|
15023
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15024
|
+
}>;
|
|
15025
|
+
} & {
|
|
15026
|
+
headers: {
|
|
15027
|
+
"x-access-token"?: string | undefined;
|
|
15028
|
+
} & Partial<{
|
|
15029
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15030
|
+
}>;
|
|
15031
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
15032
|
+
id: string;
|
|
15033
|
+
userId: string;
|
|
15034
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15035
|
+
[x: string]: unknown;
|
|
15036
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15037
|
+
[x: string]: unknown;
|
|
15038
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15039
|
+
[x: string]: unknown;
|
|
15040
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
15041
|
+
data: {
|
|
15042
|
+
description: string;
|
|
15043
|
+
user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
15044
|
+
};
|
|
15045
|
+
} & {
|
|
15046
|
+
pathParameters: {
|
|
15047
|
+
mysqlDatabaseId: string;
|
|
15048
|
+
};
|
|
15049
|
+
} & {
|
|
15050
|
+
headers?: Partial<{
|
|
15051
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15052
|
+
}>;
|
|
15053
|
+
} & {
|
|
15054
|
+
headers: {
|
|
15055
|
+
"x-access-token"?: string | undefined;
|
|
15056
|
+
} & Partial<{
|
|
15057
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
15058
|
+
}>;
|
|
15059
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
15060
|
+
id: string;
|
|
15061
|
+
userId: string;
|
|
15062
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15063
|
+
[x: string]: unknown;
|
|
15064
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15065
|
+
[x: string]: unknown;
|
|
15066
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
15067
|
+
[x: string]: unknown;
|
|
15068
|
+
}, 429, "application/json">>>;
|
|
14996
15069
|
};
|
|
14997
15070
|
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
14998
15071
|
readonly domain: {
|
|
@@ -25230,6 +25303,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
25230
25303
|
clusterId?: string | undefined;
|
|
25231
25304
|
createdAt: string;
|
|
25232
25305
|
customerId: string;
|
|
25306
|
+
deletionRequested?: boolean | undefined;
|
|
25233
25307
|
description: string;
|
|
25234
25308
|
directories: {
|
|
25235
25309
|
[k: string]: string;
|
|
@@ -25279,6 +25353,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
25279
25353
|
clusterId?: string | undefined;
|
|
25280
25354
|
createdAt: string;
|
|
25281
25355
|
customerId: string;
|
|
25356
|
+
deletionRequested?: boolean | undefined;
|
|
25282
25357
|
description: string;
|
|
25283
25358
|
directories: {
|
|
25284
25359
|
[k: string]: string;
|
|
@@ -861,3 +861,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
861
861
|
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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
862
862
|
/** Check if a company exists. */
|
|
863
863
|
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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
864
|
+
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
865
|
+
export declare const databaseCopyMysqlDatabase: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesMysqlDatabaseIdActionsCopy.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1718,6 +1718,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1718
1718
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1719
1719
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1720
1720
|
}
|
|
1721
|
+
namespace DatabaseCopyMysqlDatabase {
|
|
1722
|
+
type RequestData = InferredRequestData<typeof descriptors.databaseCopyMysqlDatabase>;
|
|
1723
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.databaseCopyMysqlDatabase, TStatus>;
|
|
1724
|
+
}
|
|
1721
1725
|
}
|
|
1722
1726
|
namespace Components {
|
|
1723
1727
|
namespace Schemas {
|
|
@@ -4883,6 +4887,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4883
4887
|
clusterId?: string;
|
|
4884
4888
|
createdAt: string;
|
|
4885
4889
|
customerId: string;
|
|
4890
|
+
deletionRequested?: boolean;
|
|
4886
4891
|
description: string;
|
|
4887
4892
|
directories: {
|
|
4888
4893
|
[k: string]: string;
|
|
@@ -27312,5 +27317,58 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27312
27317
|
}
|
|
27313
27318
|
}
|
|
27314
27319
|
}
|
|
27320
|
+
namespace V2MysqlDatabasesMysqlDatabaseIdActionsCopy {
|
|
27321
|
+
namespace Post {
|
|
27322
|
+
namespace Parameters {
|
|
27323
|
+
type Path = {
|
|
27324
|
+
mysqlDatabaseId: string;
|
|
27325
|
+
};
|
|
27326
|
+
interface RequestBody {
|
|
27327
|
+
description: string;
|
|
27328
|
+
user: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
27329
|
+
}
|
|
27330
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
27331
|
+
type Query = {};
|
|
27332
|
+
}
|
|
27333
|
+
namespace Responses {
|
|
27334
|
+
namespace $201 {
|
|
27335
|
+
namespace Content {
|
|
27336
|
+
interface ApplicationJson {
|
|
27337
|
+
id: string;
|
|
27338
|
+
userId: string;
|
|
27339
|
+
}
|
|
27340
|
+
}
|
|
27341
|
+
}
|
|
27342
|
+
namespace $400 {
|
|
27343
|
+
namespace Content {
|
|
27344
|
+
interface ApplicationJson {
|
|
27345
|
+
[k: string]: unknown;
|
|
27346
|
+
}
|
|
27347
|
+
}
|
|
27348
|
+
}
|
|
27349
|
+
namespace $404 {
|
|
27350
|
+
namespace Content {
|
|
27351
|
+
interface ApplicationJson {
|
|
27352
|
+
[k: string]: unknown;
|
|
27353
|
+
}
|
|
27354
|
+
}
|
|
27355
|
+
}
|
|
27356
|
+
namespace $429 {
|
|
27357
|
+
namespace Content {
|
|
27358
|
+
interface ApplicationJson {
|
|
27359
|
+
[k: string]: unknown;
|
|
27360
|
+
}
|
|
27361
|
+
}
|
|
27362
|
+
}
|
|
27363
|
+
namespace Default {
|
|
27364
|
+
namespace Content {
|
|
27365
|
+
interface ApplicationJson {
|
|
27366
|
+
[k: string]: unknown;
|
|
27367
|
+
}
|
|
27368
|
+
}
|
|
27369
|
+
}
|
|
27370
|
+
}
|
|
27371
|
+
}
|
|
27372
|
+
}
|
|
27315
27373
|
}
|
|
27316
27374
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.242.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.242.1",
|
|
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,30 +46,30 @@
|
|
|
46
46
|
"test:compile": "run tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@mittwald/api-client-commons": "^4.
|
|
49
|
+
"@mittwald/api-client-commons": "^4.242.1",
|
|
50
50
|
"browser-or-node": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mittwald/api-code-generator": "^4.
|
|
54
|
-
"@mittwald/react-use-promise": "^2.6.
|
|
55
|
-
"@types/node": "^22.
|
|
56
|
-
"@types/react": "^18.3.
|
|
53
|
+
"@mittwald/api-code-generator": "^4.242.1",
|
|
54
|
+
"@mittwald/react-use-promise": "^2.6.2",
|
|
55
|
+
"@types/node": "^22.18.11",
|
|
56
|
+
"@types/react": "^18.3.26",
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
58
58
|
"@typescript-eslint/parser": "^7.18.0",
|
|
59
59
|
"concurrently": "^8.2.2",
|
|
60
60
|
"eslint": "^8.57.1",
|
|
61
|
-
"eslint-config-prettier": "^9.1.
|
|
61
|
+
"eslint-config-prettier": "^9.1.2",
|
|
62
62
|
"eslint-plugin-json": "^3.1.0",
|
|
63
|
-
"eslint-plugin-prettier": "^5.
|
|
63
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
64
64
|
"has-flag": "^5.0.1",
|
|
65
|
-
"prettier": "^3.
|
|
66
|
-
"prettier-plugin-jsdoc": "^1.3.
|
|
65
|
+
"prettier": "^3.6.2",
|
|
66
|
+
"prettier-plugin-jsdoc": "^1.3.3",
|
|
67
67
|
"prettier-plugin-pkgsort": "^0.2.1",
|
|
68
68
|
"prettier-plugin-sort-json": "^3.1.0",
|
|
69
69
|
"react": "^18.3.1",
|
|
70
70
|
"read-pkg": "^9.0.1",
|
|
71
71
|
"rimraf": "^5.0.10",
|
|
72
|
-
"tsx": "^4.
|
|
72
|
+
"tsx": "^4.20.6",
|
|
73
73
|
"typescript": "5.7.2"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "bacf475b3ada3bc73114ff92166244d32eee1a32"
|
|
84
84
|
}
|