@mittwald/api-client 4.240.0 → 4.241.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/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.d.ts +73 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +57 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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.240.0';
|
|
@@ -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: {
|
|
@@ -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 {
|
|
@@ -27312,5 +27316,58 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27312
27316
|
}
|
|
27313
27317
|
}
|
|
27314
27318
|
}
|
|
27319
|
+
namespace V2MysqlDatabasesMysqlDatabaseIdActionsCopy {
|
|
27320
|
+
namespace Post {
|
|
27321
|
+
namespace Parameters {
|
|
27322
|
+
type Path = {
|
|
27323
|
+
mysqlDatabaseId: string;
|
|
27324
|
+
};
|
|
27325
|
+
interface RequestBody {
|
|
27326
|
+
description: string;
|
|
27327
|
+
user: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
27328
|
+
}
|
|
27329
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
27330
|
+
type Query = {};
|
|
27331
|
+
}
|
|
27332
|
+
namespace Responses {
|
|
27333
|
+
namespace $201 {
|
|
27334
|
+
namespace Content {
|
|
27335
|
+
interface ApplicationJson {
|
|
27336
|
+
id: string;
|
|
27337
|
+
userId: string;
|
|
27338
|
+
}
|
|
27339
|
+
}
|
|
27340
|
+
}
|
|
27341
|
+
namespace $400 {
|
|
27342
|
+
namespace Content {
|
|
27343
|
+
interface ApplicationJson {
|
|
27344
|
+
[k: string]: unknown;
|
|
27345
|
+
}
|
|
27346
|
+
}
|
|
27347
|
+
}
|
|
27348
|
+
namespace $404 {
|
|
27349
|
+
namespace Content {
|
|
27350
|
+
interface ApplicationJson {
|
|
27351
|
+
[k: string]: unknown;
|
|
27352
|
+
}
|
|
27353
|
+
}
|
|
27354
|
+
}
|
|
27355
|
+
namespace $429 {
|
|
27356
|
+
namespace Content {
|
|
27357
|
+
interface ApplicationJson {
|
|
27358
|
+
[k: string]: unknown;
|
|
27359
|
+
}
|
|
27360
|
+
}
|
|
27361
|
+
}
|
|
27362
|
+
namespace Default {
|
|
27363
|
+
namespace Content {
|
|
27364
|
+
interface ApplicationJson {
|
|
27365
|
+
[k: string]: unknown;
|
|
27366
|
+
}
|
|
27367
|
+
}
|
|
27368
|
+
}
|
|
27369
|
+
}
|
|
27370
|
+
}
|
|
27371
|
+
}
|
|
27315
27372
|
}
|
|
27316
27373
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.240.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.241.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",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "39e58fe7be1a20709feb625c5bb618577211e09d"
|
|
84
84
|
}
|