@mittwald/api-client 2.0.2 → 2.0.3
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/cjs/generated/v2/client.d.ts +31 -62
- package/dist/cjs/generated/v2/client.js +1 -1
- package/dist/cjs/generated/v2/descriptors.d.ts +2 -2
- package/dist/cjs/generated/v2/descriptors.js +1 -1
- package/dist/cjs/generated/v2/types.d.ts +41 -20
- package/dist/esm/generated/v2/client.d.ts +31 -62
- package/dist/esm/generated/v2/client.js +1 -1
- package/dist/esm/generated/v2/descriptors.d.ts +2 -2
- package/dist/esm/generated/v2/descriptors.js +1 -1
- package/dist/esm/generated/v2/types.d.ts +41 -20
- package/package.json +1 -1
|
@@ -3094,42 +3094,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3094
3094
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3095
3095
|
[x: string]: unknown;
|
|
3096
3096
|
}, 404, "application/json">>>;
|
|
3097
|
-
/** Create a MySQLDatabase with
|
|
3097
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
3098
3098
|
createMysqlDatabase: (request: {
|
|
3099
3099
|
data: {
|
|
3100
3100
|
database: {
|
|
3101
|
-
|
|
3102
|
-
isReady: boolean;
|
|
3103
|
-
isShared: boolean;
|
|
3101
|
+
description: string;
|
|
3104
3102
|
projectId: string;
|
|
3105
3103
|
version: string;
|
|
3106
3104
|
characterSettings?: {
|
|
3107
3105
|
characterSet: string;
|
|
3108
3106
|
collation: string;
|
|
3109
3107
|
} | undefined;
|
|
3110
|
-
createdAt?: string | undefined;
|
|
3111
|
-
description?: string | undefined;
|
|
3112
|
-
finalizers?: string[] | undefined;
|
|
3113
|
-
hostname?: string | undefined;
|
|
3114
|
-
name?: string | undefined;
|
|
3115
|
-
size?: number | undefined;
|
|
3116
|
-
updatedAt?: string | undefined;
|
|
3117
3108
|
};
|
|
3118
|
-
user
|
|
3109
|
+
user: {
|
|
3119
3110
|
accessLevel: "full" | "readonly";
|
|
3120
|
-
databaseId: string;
|
|
3121
|
-
id: string;
|
|
3122
3111
|
password: string;
|
|
3123
3112
|
accessIpMask?: string | undefined;
|
|
3124
|
-
createdAt?: string | undefined;
|
|
3125
|
-
description?: string | undefined;
|
|
3126
|
-
disabled?: boolean | undefined;
|
|
3127
3113
|
externalAccess?: boolean | undefined;
|
|
3128
|
-
|
|
3129
|
-
name?: string | undefined;
|
|
3130
|
-
passwordUpdatedAt?: string | undefined;
|
|
3131
|
-
updatedAt?: string | undefined;
|
|
3132
|
-
} | undefined;
|
|
3114
|
+
};
|
|
3133
3115
|
};
|
|
3134
3116
|
pathParameters: {
|
|
3135
3117
|
projectId: string;
|
|
@@ -3139,8 +3121,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3139
3121
|
} | undefined;
|
|
3140
3122
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3141
3123
|
data: {
|
|
3142
|
-
database: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
3143
|
-
user
|
|
3124
|
+
database: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlDatabase;
|
|
3125
|
+
user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
3144
3126
|
};
|
|
3145
3127
|
} & {
|
|
3146
3128
|
pathParameters: {
|
|
@@ -3152,7 +3134,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3152
3134
|
};
|
|
3153
3135
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3154
3136
|
id: string;
|
|
3155
|
-
|
|
3137
|
+
userId: string;
|
|
3138
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3156
3139
|
[x: string]: unknown;
|
|
3157
3140
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3158
3141
|
[x: string]: unknown;
|
|
@@ -3183,17 +3166,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3183
3166
|
data: {
|
|
3184
3167
|
accessLevel: "full" | "readonly";
|
|
3185
3168
|
databaseId: string;
|
|
3186
|
-
|
|
3169
|
+
description: string;
|
|
3187
3170
|
password: string;
|
|
3188
3171
|
accessIpMask?: string | undefined;
|
|
3189
|
-
createdAt?: string | undefined;
|
|
3190
|
-
description?: string | undefined;
|
|
3191
|
-
disabled?: boolean | undefined;
|
|
3192
3172
|
externalAccess?: boolean | undefined;
|
|
3193
|
-
mainUser?: boolean | undefined;
|
|
3194
|
-
name?: string | undefined;
|
|
3195
|
-
passwordUpdatedAt?: string | undefined;
|
|
3196
|
-
updatedAt?: string | undefined;
|
|
3197
3173
|
};
|
|
3198
3174
|
pathParameters: {
|
|
3199
3175
|
databaseId: string;
|
|
@@ -3205,17 +3181,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3205
3181
|
data: {
|
|
3206
3182
|
accessIpMask?: string | undefined;
|
|
3207
3183
|
accessLevel: "full" | "readonly";
|
|
3208
|
-
createdAt?: string | undefined;
|
|
3209
3184
|
databaseId: string;
|
|
3210
|
-
description
|
|
3211
|
-
disabled?: boolean | undefined;
|
|
3185
|
+
description: string;
|
|
3212
3186
|
externalAccess?: boolean | undefined;
|
|
3213
|
-
id: string;
|
|
3214
|
-
mainUser?: boolean | undefined;
|
|
3215
|
-
name?: string | undefined;
|
|
3216
3187
|
password: string;
|
|
3217
|
-
passwordUpdatedAt?: string | undefined;
|
|
3218
|
-
updatedAt?: string | undefined;
|
|
3219
3188
|
};
|
|
3220
3189
|
} & {
|
|
3221
3190
|
pathParameters: {
|
|
@@ -3256,14 +3225,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3256
3225
|
/** Create a RedisDatabase. */
|
|
3257
3226
|
createRedisDatabase: (request: {
|
|
3258
3227
|
data: {
|
|
3259
|
-
|
|
3228
|
+
description: string;
|
|
3229
|
+
version: string;
|
|
3230
|
+
configuration?: {
|
|
3260
3231
|
additionalFlags?: string[] | undefined;
|
|
3261
3232
|
maxMemory?: string | undefined;
|
|
3262
3233
|
maxMemoryPolicy?: string | undefined;
|
|
3263
3234
|
persistent?: boolean | undefined;
|
|
3264
|
-
};
|
|
3265
|
-
description: string;
|
|
3266
|
-
version: string;
|
|
3235
|
+
} | undefined;
|
|
3267
3236
|
};
|
|
3268
3237
|
pathParameters: {
|
|
3269
3238
|
projectId: string;
|
|
@@ -3273,7 +3242,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3273
3242
|
} | undefined;
|
|
3274
3243
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3275
3244
|
data: {
|
|
3276
|
-
configuration
|
|
3245
|
+
configuration?: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration | undefined;
|
|
3277
3246
|
description: string;
|
|
3278
3247
|
version: string;
|
|
3279
3248
|
};
|
|
@@ -3309,18 +3278,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3309
3278
|
"x-access-token"?: string | undefined;
|
|
3310
3279
|
};
|
|
3311
3280
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3312
|
-
characterSettings
|
|
3313
|
-
createdAt
|
|
3314
|
-
description
|
|
3281
|
+
characterSettings: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
|
|
3282
|
+
createdAt: string;
|
|
3283
|
+
description: string;
|
|
3315
3284
|
finalizers?: string[] | undefined;
|
|
3316
|
-
hostname
|
|
3285
|
+
hostname: string;
|
|
3317
3286
|
id: string;
|
|
3318
3287
|
isReady: boolean;
|
|
3319
3288
|
isShared: boolean;
|
|
3320
|
-
name
|
|
3289
|
+
name: string;
|
|
3321
3290
|
projectId: string;
|
|
3322
|
-
size
|
|
3323
|
-
updatedAt
|
|
3291
|
+
size: number;
|
|
3292
|
+
updatedAt: string;
|
|
3324
3293
|
version: string;
|
|
3325
3294
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3326
3295
|
[x: string]: unknown;
|
|
@@ -3373,17 +3342,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3373
3342
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3374
3343
|
accessIpMask?: string | undefined;
|
|
3375
3344
|
accessLevel: "full" | "readonly";
|
|
3376
|
-
createdAt
|
|
3345
|
+
createdAt: string;
|
|
3377
3346
|
databaseId: string;
|
|
3378
3347
|
description?: string | undefined;
|
|
3379
|
-
disabled
|
|
3380
|
-
externalAccess
|
|
3348
|
+
disabled: boolean;
|
|
3349
|
+
externalAccess: boolean;
|
|
3381
3350
|
id: string;
|
|
3382
|
-
mainUser
|
|
3383
|
-
name
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
updatedAt?: string | undefined;
|
|
3351
|
+
mainUser: boolean;
|
|
3352
|
+
name: string;
|
|
3353
|
+
passwordUpdatedAt: string;
|
|
3354
|
+
updatedAt: string;
|
|
3387
3355
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3388
3356
|
[x: string]: unknown;
|
|
3389
3357
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -5084,7 +5052,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5084
5052
|
updatedAt: string;
|
|
5085
5053
|
value: number;
|
|
5086
5054
|
};
|
|
5087
|
-
limit: number;
|
|
5055
|
+
limit: number;
|
|
5088
5056
|
};
|
|
5089
5057
|
} | undefined;
|
|
5090
5058
|
projectId: string;
|
|
@@ -5967,6 +5935,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5967
5935
|
"x-access-token"?: string | undefined;
|
|
5968
5936
|
};
|
|
5969
5937
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5938
|
+
createdAt: string;
|
|
5970
5939
|
customerId: string;
|
|
5971
5940
|
description: string;
|
|
5972
5941
|
disabledReason?: "nonPayment" | undefined;
|
|
@@ -250,7 +250,7 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
250
250
|
this.database = {
|
|
251
251
|
/** List MySQLDatabases belonging to a Project. */
|
|
252
252
|
listMysqlDatabases: this.requestFunctionFactory(descriptors.databaseListMysqlDatabases),
|
|
253
|
-
/** Create a MySQLDatabase with
|
|
253
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
254
254
|
createMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCreateMysqlDatabase),
|
|
255
255
|
/** List MySQLUsers belonging to a database. */
|
|
256
256
|
listMysqlUsers: this.requestFunctionFactory(descriptors.databaseListMysqlUsers),
|
|
@@ -199,8 +199,8 @@ export declare const customerRemoveAvatar: OpenAPIOperation<RequestType<Simplify
|
|
|
199
199
|
export declare const customerResendCustomerInviteMail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
200
200
|
/** List MySQLDatabases belonging to a Project. */
|
|
201
201
|
export declare const databaseListMysqlDatabases: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
202
|
-
/** Create a MySQLDatabase with
|
|
203
|
-
export declare const databaseCreateMysqlDatabase: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$
|
|
202
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
203
|
+
export declare const databaseCreateMysqlDatabase: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
204
204
|
/** List MySQLUsers belonging to a database. */
|
|
205
205
|
export declare const databaseListMysqlUsers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
206
206
|
/** Create a MySQLUser. */
|
|
@@ -594,7 +594,7 @@ exports.databaseListMysqlDatabases = {
|
|
|
594
594
|
method: "GET",
|
|
595
595
|
operationId: "database-list-mysql-databases",
|
|
596
596
|
};
|
|
597
|
-
/** Create a MySQLDatabase with
|
|
597
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
598
598
|
exports.databaseCreateMysqlDatabase = {
|
|
599
599
|
path: "/v2/projects/{projectId}/mysql-databases",
|
|
600
600
|
method: "POST",
|
|
@@ -577,6 +577,26 @@ export declare module MittwaldAPIV2 {
|
|
|
577
577
|
vatId?: string;
|
|
578
578
|
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified";
|
|
579
579
|
}
|
|
580
|
+
interface DatabaseCreateMySqlDatabase {
|
|
581
|
+
characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
|
|
582
|
+
description: string;
|
|
583
|
+
projectId: string;
|
|
584
|
+
version: string;
|
|
585
|
+
}
|
|
586
|
+
interface DatabaseCreateMySqlUser {
|
|
587
|
+
accessIpMask?: string;
|
|
588
|
+
accessLevel: "full" | "readonly";
|
|
589
|
+
databaseId: string;
|
|
590
|
+
description: string;
|
|
591
|
+
externalAccess?: boolean;
|
|
592
|
+
password: string;
|
|
593
|
+
}
|
|
594
|
+
interface DatabaseCreateMySqlUserWithDatabase {
|
|
595
|
+
accessIpMask?: string;
|
|
596
|
+
accessLevel: "full" | "readonly";
|
|
597
|
+
externalAccess?: boolean;
|
|
598
|
+
password: string;
|
|
599
|
+
}
|
|
580
600
|
interface DatabaseMySqlCharacterSettings {
|
|
581
601
|
collations: string[];
|
|
582
602
|
name: string;
|
|
@@ -587,18 +607,18 @@ export declare module MittwaldAPIV2 {
|
|
|
587
607
|
collation: string;
|
|
588
608
|
}
|
|
589
609
|
interface DatabaseMySqlDatabase {
|
|
590
|
-
characterSettings
|
|
591
|
-
createdAt
|
|
592
|
-
description
|
|
610
|
+
characterSettings: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
|
|
611
|
+
createdAt: string;
|
|
612
|
+
description: string;
|
|
593
613
|
finalizers?: string[];
|
|
594
|
-
hostname
|
|
614
|
+
hostname: string;
|
|
595
615
|
id: string;
|
|
596
616
|
isReady: boolean;
|
|
597
617
|
isShared: boolean;
|
|
598
|
-
name
|
|
618
|
+
name: string;
|
|
599
619
|
projectId: string;
|
|
600
|
-
size
|
|
601
|
-
updatedAt
|
|
620
|
+
size: number;
|
|
621
|
+
updatedAt: string;
|
|
602
622
|
version: string;
|
|
603
623
|
}
|
|
604
624
|
interface DatabasePhpMyAdminURL {
|
|
@@ -607,17 +627,16 @@ export declare module MittwaldAPIV2 {
|
|
|
607
627
|
interface DatabaseMySqlUser {
|
|
608
628
|
accessIpMask?: string;
|
|
609
629
|
accessLevel: "full" | "readonly";
|
|
610
|
-
createdAt
|
|
630
|
+
createdAt: string;
|
|
611
631
|
databaseId: string;
|
|
612
632
|
description?: string;
|
|
613
|
-
disabled
|
|
614
|
-
externalAccess
|
|
633
|
+
disabled: boolean;
|
|
634
|
+
externalAccess: boolean;
|
|
615
635
|
id: string;
|
|
616
|
-
mainUser
|
|
617
|
-
name
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
updatedAt?: string;
|
|
636
|
+
mainUser: boolean;
|
|
637
|
+
name: string;
|
|
638
|
+
passwordUpdatedAt: string;
|
|
639
|
+
updatedAt: string;
|
|
621
640
|
}
|
|
622
641
|
interface DatabaseMySqlVersion {
|
|
623
642
|
disabled: boolean;
|
|
@@ -1439,6 +1458,7 @@ export declare module MittwaldAPIV2 {
|
|
|
1439
1458
|
type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
|
|
1440
1459
|
type ProjectServerDisableReason = "nonPayment";
|
|
1441
1460
|
interface ProjectServer {
|
|
1461
|
+
createdAt: string;
|
|
1442
1462
|
customerId: string;
|
|
1443
1463
|
description: string;
|
|
1444
1464
|
disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
|
|
@@ -5537,17 +5557,18 @@ export declare module MittwaldAPIV2 {
|
|
|
5537
5557
|
projectId: string;
|
|
5538
5558
|
};
|
|
5539
5559
|
interface RequestBody {
|
|
5540
|
-
database: MittwaldAPIV2.Components.Schemas.
|
|
5541
|
-
user
|
|
5560
|
+
database: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlDatabase;
|
|
5561
|
+
user: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
5542
5562
|
}
|
|
5543
5563
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
5544
5564
|
type Query = {};
|
|
5545
5565
|
}
|
|
5546
5566
|
namespace Responses {
|
|
5547
|
-
namespace $
|
|
5567
|
+
namespace $201 {
|
|
5548
5568
|
namespace Content {
|
|
5549
5569
|
interface ApplicationJson {
|
|
5550
5570
|
id: string;
|
|
5571
|
+
userId: string;
|
|
5551
5572
|
}
|
|
5552
5573
|
}
|
|
5553
5574
|
}
|
|
@@ -5618,7 +5639,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5618
5639
|
type Path = {
|
|
5619
5640
|
databaseId: string;
|
|
5620
5641
|
};
|
|
5621
|
-
type RequestBody = MittwaldAPIV2.Components.Schemas.
|
|
5642
|
+
type RequestBody = MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUser;
|
|
5622
5643
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
5623
5644
|
type Query = {};
|
|
5624
5645
|
}
|
|
@@ -5698,7 +5719,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5698
5719
|
projectId: string;
|
|
5699
5720
|
};
|
|
5700
5721
|
interface RequestBody {
|
|
5701
|
-
configuration
|
|
5722
|
+
configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
5702
5723
|
/**
|
|
5703
5724
|
* A description for the database.
|
|
5704
5725
|
*/
|
|
@@ -3094,42 +3094,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3094
3094
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3095
3095
|
[x: string]: unknown;
|
|
3096
3096
|
}, 404, "application/json">>>;
|
|
3097
|
-
/** Create a MySQLDatabase with
|
|
3097
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
3098
3098
|
createMysqlDatabase: (request: {
|
|
3099
3099
|
data: {
|
|
3100
3100
|
database: {
|
|
3101
|
-
|
|
3102
|
-
isReady: boolean;
|
|
3103
|
-
isShared: boolean;
|
|
3101
|
+
description: string;
|
|
3104
3102
|
projectId: string;
|
|
3105
3103
|
version: string;
|
|
3106
3104
|
characterSettings?: {
|
|
3107
3105
|
characterSet: string;
|
|
3108
3106
|
collation: string;
|
|
3109
3107
|
} | undefined;
|
|
3110
|
-
createdAt?: string | undefined;
|
|
3111
|
-
description?: string | undefined;
|
|
3112
|
-
finalizers?: string[] | undefined;
|
|
3113
|
-
hostname?: string | undefined;
|
|
3114
|
-
name?: string | undefined;
|
|
3115
|
-
size?: number | undefined;
|
|
3116
|
-
updatedAt?: string | undefined;
|
|
3117
3108
|
};
|
|
3118
|
-
user
|
|
3109
|
+
user: {
|
|
3119
3110
|
accessLevel: "full" | "readonly";
|
|
3120
|
-
databaseId: string;
|
|
3121
|
-
id: string;
|
|
3122
3111
|
password: string;
|
|
3123
3112
|
accessIpMask?: string | undefined;
|
|
3124
|
-
createdAt?: string | undefined;
|
|
3125
|
-
description?: string | undefined;
|
|
3126
|
-
disabled?: boolean | undefined;
|
|
3127
3113
|
externalAccess?: boolean | undefined;
|
|
3128
|
-
|
|
3129
|
-
name?: string | undefined;
|
|
3130
|
-
passwordUpdatedAt?: string | undefined;
|
|
3131
|
-
updatedAt?: string | undefined;
|
|
3132
|
-
} | undefined;
|
|
3114
|
+
};
|
|
3133
3115
|
};
|
|
3134
3116
|
pathParameters: {
|
|
3135
3117
|
projectId: string;
|
|
@@ -3139,8 +3121,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3139
3121
|
} | undefined;
|
|
3140
3122
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3141
3123
|
data: {
|
|
3142
|
-
database: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
3143
|
-
user
|
|
3124
|
+
database: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlDatabase;
|
|
3125
|
+
user: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
3144
3126
|
};
|
|
3145
3127
|
} & {
|
|
3146
3128
|
pathParameters: {
|
|
@@ -3152,7 +3134,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3152
3134
|
};
|
|
3153
3135
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3154
3136
|
id: string;
|
|
3155
|
-
|
|
3137
|
+
userId: string;
|
|
3138
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3156
3139
|
[x: string]: unknown;
|
|
3157
3140
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3158
3141
|
[x: string]: unknown;
|
|
@@ -3183,17 +3166,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3183
3166
|
data: {
|
|
3184
3167
|
accessLevel: "full" | "readonly";
|
|
3185
3168
|
databaseId: string;
|
|
3186
|
-
|
|
3169
|
+
description: string;
|
|
3187
3170
|
password: string;
|
|
3188
3171
|
accessIpMask?: string | undefined;
|
|
3189
|
-
createdAt?: string | undefined;
|
|
3190
|
-
description?: string | undefined;
|
|
3191
|
-
disabled?: boolean | undefined;
|
|
3192
3172
|
externalAccess?: boolean | undefined;
|
|
3193
|
-
mainUser?: boolean | undefined;
|
|
3194
|
-
name?: string | undefined;
|
|
3195
|
-
passwordUpdatedAt?: string | undefined;
|
|
3196
|
-
updatedAt?: string | undefined;
|
|
3197
3173
|
};
|
|
3198
3174
|
pathParameters: {
|
|
3199
3175
|
databaseId: string;
|
|
@@ -3205,17 +3181,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3205
3181
|
data: {
|
|
3206
3182
|
accessIpMask?: string | undefined;
|
|
3207
3183
|
accessLevel: "full" | "readonly";
|
|
3208
|
-
createdAt?: string | undefined;
|
|
3209
3184
|
databaseId: string;
|
|
3210
|
-
description
|
|
3211
|
-
disabled?: boolean | undefined;
|
|
3185
|
+
description: string;
|
|
3212
3186
|
externalAccess?: boolean | undefined;
|
|
3213
|
-
id: string;
|
|
3214
|
-
mainUser?: boolean | undefined;
|
|
3215
|
-
name?: string | undefined;
|
|
3216
3187
|
password: string;
|
|
3217
|
-
passwordUpdatedAt?: string | undefined;
|
|
3218
|
-
updatedAt?: string | undefined;
|
|
3219
3188
|
};
|
|
3220
3189
|
} & {
|
|
3221
3190
|
pathParameters: {
|
|
@@ -3256,14 +3225,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3256
3225
|
/** Create a RedisDatabase. */
|
|
3257
3226
|
createRedisDatabase: (request: {
|
|
3258
3227
|
data: {
|
|
3259
|
-
|
|
3228
|
+
description: string;
|
|
3229
|
+
version: string;
|
|
3230
|
+
configuration?: {
|
|
3260
3231
|
additionalFlags?: string[] | undefined;
|
|
3261
3232
|
maxMemory?: string | undefined;
|
|
3262
3233
|
maxMemoryPolicy?: string | undefined;
|
|
3263
3234
|
persistent?: boolean | undefined;
|
|
3264
|
-
};
|
|
3265
|
-
description: string;
|
|
3266
|
-
version: string;
|
|
3235
|
+
} | undefined;
|
|
3267
3236
|
};
|
|
3268
3237
|
pathParameters: {
|
|
3269
3238
|
projectId: string;
|
|
@@ -3273,7 +3242,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3273
3242
|
} | undefined;
|
|
3274
3243
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
3275
3244
|
data: {
|
|
3276
|
-
configuration
|
|
3245
|
+
configuration?: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration | undefined;
|
|
3277
3246
|
description: string;
|
|
3278
3247
|
version: string;
|
|
3279
3248
|
};
|
|
@@ -3309,18 +3278,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3309
3278
|
"x-access-token"?: string | undefined;
|
|
3310
3279
|
};
|
|
3311
3280
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3312
|
-
characterSettings
|
|
3313
|
-
createdAt
|
|
3314
|
-
description
|
|
3281
|
+
characterSettings: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
|
|
3282
|
+
createdAt: string;
|
|
3283
|
+
description: string;
|
|
3315
3284
|
finalizers?: string[] | undefined;
|
|
3316
|
-
hostname
|
|
3285
|
+
hostname: string;
|
|
3317
3286
|
id: string;
|
|
3318
3287
|
isReady: boolean;
|
|
3319
3288
|
isShared: boolean;
|
|
3320
|
-
name
|
|
3289
|
+
name: string;
|
|
3321
3290
|
projectId: string;
|
|
3322
|
-
size
|
|
3323
|
-
updatedAt
|
|
3291
|
+
size: number;
|
|
3292
|
+
updatedAt: string;
|
|
3324
3293
|
version: string;
|
|
3325
3294
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3326
3295
|
[x: string]: unknown;
|
|
@@ -3373,17 +3342,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3373
3342
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3374
3343
|
accessIpMask?: string | undefined;
|
|
3375
3344
|
accessLevel: "full" | "readonly";
|
|
3376
|
-
createdAt
|
|
3345
|
+
createdAt: string;
|
|
3377
3346
|
databaseId: string;
|
|
3378
3347
|
description?: string | undefined;
|
|
3379
|
-
disabled
|
|
3380
|
-
externalAccess
|
|
3348
|
+
disabled: boolean;
|
|
3349
|
+
externalAccess: boolean;
|
|
3381
3350
|
id: string;
|
|
3382
|
-
mainUser
|
|
3383
|
-
name
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
updatedAt?: string | undefined;
|
|
3351
|
+
mainUser: boolean;
|
|
3352
|
+
name: string;
|
|
3353
|
+
passwordUpdatedAt: string;
|
|
3354
|
+
updatedAt: string;
|
|
3387
3355
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
3388
3356
|
[x: string]: unknown;
|
|
3389
3357
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -5084,7 +5052,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5084
5052
|
updatedAt: string;
|
|
5085
5053
|
value: number;
|
|
5086
5054
|
};
|
|
5087
|
-
limit: number;
|
|
5055
|
+
limit: number;
|
|
5088
5056
|
};
|
|
5089
5057
|
} | undefined;
|
|
5090
5058
|
projectId: string;
|
|
@@ -5967,6 +5935,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5967
5935
|
"x-access-token"?: string | undefined;
|
|
5968
5936
|
};
|
|
5969
5937
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5938
|
+
createdAt: string;
|
|
5970
5939
|
customerId: string;
|
|
5971
5940
|
description: string;
|
|
5972
5941
|
disabledReason?: "nonPayment" | undefined;
|
|
@@ -245,7 +245,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
245
245
|
database = {
|
|
246
246
|
/** List MySQLDatabases belonging to a Project. */
|
|
247
247
|
listMysqlDatabases: this.requestFunctionFactory(descriptors.databaseListMysqlDatabases),
|
|
248
|
-
/** Create a MySQLDatabase with
|
|
248
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
249
249
|
createMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCreateMysqlDatabase),
|
|
250
250
|
/** List MySQLUsers belonging to a database. */
|
|
251
251
|
listMysqlUsers: this.requestFunctionFactory(descriptors.databaseListMysqlUsers),
|
|
@@ -199,8 +199,8 @@ export declare const customerRemoveAvatar: OpenAPIOperation<RequestType<Simplify
|
|
|
199
199
|
export declare const customerResendCustomerInviteMail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
200
200
|
/** List MySQLDatabases belonging to a Project. */
|
|
201
201
|
export declare const databaseListMysqlDatabases: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
202
|
-
/** Create a MySQLDatabase with
|
|
203
|
-
export declare const databaseCreateMysqlDatabase: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$
|
|
202
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
203
|
+
export declare const databaseCreateMysqlDatabase: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
204
204
|
/** List MySQLUsers belonging to a database. */
|
|
205
205
|
export declare const databaseListMysqlUsers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
206
206
|
/** Create a MySQLUser. */
|
|
@@ -586,7 +586,7 @@ export const databaseListMysqlDatabases = {
|
|
|
586
586
|
method: "GET",
|
|
587
587
|
operationId: "database-list-mysql-databases",
|
|
588
588
|
};
|
|
589
|
-
/** Create a MySQLDatabase with
|
|
589
|
+
/** Create a MySQLDatabase with a MySQLUser. */
|
|
590
590
|
export const databaseCreateMysqlDatabase = {
|
|
591
591
|
path: "/v2/projects/{projectId}/mysql-databases",
|
|
592
592
|
method: "POST",
|
|
@@ -577,6 +577,26 @@ export declare module MittwaldAPIV2 {
|
|
|
577
577
|
vatId?: string;
|
|
578
578
|
vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified";
|
|
579
579
|
}
|
|
580
|
+
interface DatabaseCreateMySqlDatabase {
|
|
581
|
+
characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
|
|
582
|
+
description: string;
|
|
583
|
+
projectId: string;
|
|
584
|
+
version: string;
|
|
585
|
+
}
|
|
586
|
+
interface DatabaseCreateMySqlUser {
|
|
587
|
+
accessIpMask?: string;
|
|
588
|
+
accessLevel: "full" | "readonly";
|
|
589
|
+
databaseId: string;
|
|
590
|
+
description: string;
|
|
591
|
+
externalAccess?: boolean;
|
|
592
|
+
password: string;
|
|
593
|
+
}
|
|
594
|
+
interface DatabaseCreateMySqlUserWithDatabase {
|
|
595
|
+
accessIpMask?: string;
|
|
596
|
+
accessLevel: "full" | "readonly";
|
|
597
|
+
externalAccess?: boolean;
|
|
598
|
+
password: string;
|
|
599
|
+
}
|
|
580
600
|
interface DatabaseMySqlCharacterSettings {
|
|
581
601
|
collations: string[];
|
|
582
602
|
name: string;
|
|
@@ -587,18 +607,18 @@ export declare module MittwaldAPIV2 {
|
|
|
587
607
|
collation: string;
|
|
588
608
|
}
|
|
589
609
|
interface DatabaseMySqlDatabase {
|
|
590
|
-
characterSettings
|
|
591
|
-
createdAt
|
|
592
|
-
description
|
|
610
|
+
characterSettings: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
|
|
611
|
+
createdAt: string;
|
|
612
|
+
description: string;
|
|
593
613
|
finalizers?: string[];
|
|
594
|
-
hostname
|
|
614
|
+
hostname: string;
|
|
595
615
|
id: string;
|
|
596
616
|
isReady: boolean;
|
|
597
617
|
isShared: boolean;
|
|
598
|
-
name
|
|
618
|
+
name: string;
|
|
599
619
|
projectId: string;
|
|
600
|
-
size
|
|
601
|
-
updatedAt
|
|
620
|
+
size: number;
|
|
621
|
+
updatedAt: string;
|
|
602
622
|
version: string;
|
|
603
623
|
}
|
|
604
624
|
interface DatabasePhpMyAdminURL {
|
|
@@ -607,17 +627,16 @@ export declare module MittwaldAPIV2 {
|
|
|
607
627
|
interface DatabaseMySqlUser {
|
|
608
628
|
accessIpMask?: string;
|
|
609
629
|
accessLevel: "full" | "readonly";
|
|
610
|
-
createdAt
|
|
630
|
+
createdAt: string;
|
|
611
631
|
databaseId: string;
|
|
612
632
|
description?: string;
|
|
613
|
-
disabled
|
|
614
|
-
externalAccess
|
|
633
|
+
disabled: boolean;
|
|
634
|
+
externalAccess: boolean;
|
|
615
635
|
id: string;
|
|
616
|
-
mainUser
|
|
617
|
-
name
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
updatedAt?: string;
|
|
636
|
+
mainUser: boolean;
|
|
637
|
+
name: string;
|
|
638
|
+
passwordUpdatedAt: string;
|
|
639
|
+
updatedAt: string;
|
|
621
640
|
}
|
|
622
641
|
interface DatabaseMySqlVersion {
|
|
623
642
|
disabled: boolean;
|
|
@@ -1439,6 +1458,7 @@ export declare module MittwaldAPIV2 {
|
|
|
1439
1458
|
type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
|
|
1440
1459
|
type ProjectServerDisableReason = "nonPayment";
|
|
1441
1460
|
interface ProjectServer {
|
|
1461
|
+
createdAt: string;
|
|
1442
1462
|
customerId: string;
|
|
1443
1463
|
description: string;
|
|
1444
1464
|
disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
|
|
@@ -5537,17 +5557,18 @@ export declare module MittwaldAPIV2 {
|
|
|
5537
5557
|
projectId: string;
|
|
5538
5558
|
};
|
|
5539
5559
|
interface RequestBody {
|
|
5540
|
-
database: MittwaldAPIV2.Components.Schemas.
|
|
5541
|
-
user
|
|
5560
|
+
database: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlDatabase;
|
|
5561
|
+
user: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
|
|
5542
5562
|
}
|
|
5543
5563
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
5544
5564
|
type Query = {};
|
|
5545
5565
|
}
|
|
5546
5566
|
namespace Responses {
|
|
5547
|
-
namespace $
|
|
5567
|
+
namespace $201 {
|
|
5548
5568
|
namespace Content {
|
|
5549
5569
|
interface ApplicationJson {
|
|
5550
5570
|
id: string;
|
|
5571
|
+
userId: string;
|
|
5551
5572
|
}
|
|
5552
5573
|
}
|
|
5553
5574
|
}
|
|
@@ -5618,7 +5639,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5618
5639
|
type Path = {
|
|
5619
5640
|
databaseId: string;
|
|
5620
5641
|
};
|
|
5621
|
-
type RequestBody = MittwaldAPIV2.Components.Schemas.
|
|
5642
|
+
type RequestBody = MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUser;
|
|
5622
5643
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
5623
5644
|
type Query = {};
|
|
5624
5645
|
}
|
|
@@ -5698,7 +5719,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5698
5719
|
projectId: string;
|
|
5699
5720
|
};
|
|
5700
5721
|
interface RequestBody {
|
|
5701
|
-
configuration
|
|
5722
|
+
configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
5702
5723
|
/**
|
|
5703
5724
|
* A description for the database.
|
|
5704
5725
|
*/
|