@mittwald/api-client 1.0.4 → 1.0.5
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/generated/v2/client.d.ts +28 -20
- package/dist/generated/v2/client.js +2 -2
- package/dist/generated/v2/descriptors.d.ts +2 -2
- package/dist/generated/v2/descriptors.js +6 -6
- package/dist/generated/v2/types.d.ts +41 -35
- package/dist-cjs/generated/v2/client.d.ts +28 -20
- package/dist-cjs/generated/v2/client.js +2 -2
- package/dist-cjs/generated/v2/descriptors.d.ts +2 -2
- package/dist-cjs/generated/v2/descriptors.js +7 -7
- package/dist-cjs/generated/v2/types.d.ts +41 -35
- package/package.json +1 -1
|
@@ -3211,6 +3211,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3211
3211
|
/** Create a RedisDatabase. */
|
|
3212
3212
|
createRedisDatabase: (request: {
|
|
3213
3213
|
data: {
|
|
3214
|
+
configuration: {
|
|
3215
|
+
additionalFlags?: string[] | undefined;
|
|
3216
|
+
maxMemory?: string | undefined;
|
|
3217
|
+
maxMemoryPolicy?: string | undefined;
|
|
3218
|
+
persistent?: boolean | undefined;
|
|
3219
|
+
};
|
|
3214
3220
|
description: string;
|
|
3215
3221
|
version: string;
|
|
3216
3222
|
};
|
|
@@ -3222,6 +3228,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3222
3228
|
} | undefined;
|
|
3223
3229
|
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<{
|
|
3224
3230
|
data: {
|
|
3231
|
+
configuration: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
3225
3232
|
description: string;
|
|
3226
3233
|
version: string;
|
|
3227
3234
|
};
|
|
@@ -4968,7 +4975,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4968
4975
|
isCatchAll: boolean;
|
|
4969
4976
|
mailbox: {
|
|
4970
4977
|
enableSpamProtection: boolean;
|
|
4971
|
-
password: string;
|
|
4978
|
+
password: string; /** Authenticate yourself to get an access token. */
|
|
4972
4979
|
quotaInBytes: number;
|
|
4973
4980
|
};
|
|
4974
4981
|
};
|
|
@@ -5917,6 +5924,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5917
5924
|
}, import("@mittwald/api-client-commons/types").Response<{
|
|
5918
5925
|
customerId: string;
|
|
5919
5926
|
description: string;
|
|
5927
|
+
disabledReason?: "nonPayment" | undefined;
|
|
5920
5928
|
id: string;
|
|
5921
5929
|
imageRefId?: string | undefined;
|
|
5922
5930
|
isReady: boolean;
|
|
@@ -6290,6 +6298,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6290
6298
|
};
|
|
6291
6299
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
6292
6300
|
readonly sshsftpUser: {
|
|
6301
|
+
/** Get all SFTPUsers for a Project. */
|
|
6302
|
+
sftpUserListSftpUsers: (request: {
|
|
6303
|
+
pathParameters: {
|
|
6304
|
+
projectId: string;
|
|
6305
|
+
};
|
|
6306
|
+
headers?: {
|
|
6307
|
+
"x-access-token"?: string | undefined;
|
|
6308
|
+
} | undefined;
|
|
6309
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
6310
|
+
pathParameters: {
|
|
6311
|
+
projectId: string;
|
|
6312
|
+
};
|
|
6313
|
+
} & {
|
|
6314
|
+
headers: {
|
|
6315
|
+
"x-access-token"?: string | undefined;
|
|
6316
|
+
};
|
|
6317
|
+
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[], 200, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6318
|
+
[x: string]: unknown;
|
|
6319
|
+
}, 404, "application/json">>>;
|
|
6293
6320
|
/** Create an SFTPUser for a Project. */
|
|
6294
6321
|
sftpUserCreateSftpUser: (request: {
|
|
6295
6322
|
data: {
|
|
@@ -6430,25 +6457,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6430
6457
|
}, import("@mittwald/api-client-commons/types").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6431
6458
|
[x: string]: unknown;
|
|
6432
6459
|
}, 400, "application/json">>>;
|
|
6433
|
-
/** Get all SFTPUsers for a Project. */
|
|
6434
|
-
sftpUserListSftpUsers: (request: {
|
|
6435
|
-
pathParameters: {
|
|
6436
|
-
projectId: string;
|
|
6437
|
-
};
|
|
6438
|
-
headers?: {
|
|
6439
|
-
"x-access-token"?: string | undefined;
|
|
6440
|
-
} | undefined;
|
|
6441
|
-
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
6442
|
-
pathParameters: {
|
|
6443
|
-
projectId: string;
|
|
6444
|
-
};
|
|
6445
|
-
} & {
|
|
6446
|
-
headers: {
|
|
6447
|
-
"x-access-token"?: string | undefined;
|
|
6448
|
-
};
|
|
6449
|
-
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[], 200, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6450
|
-
[x: string]: unknown;
|
|
6451
|
-
}, 404, "application/json">>>;
|
|
6452
6460
|
/** Get all SSHUsers for a Project. */
|
|
6453
6461
|
sshUserListSshUsers: (request: {
|
|
6454
6462
|
pathParameters: {
|
|
@@ -504,6 +504,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
504
504
|
};
|
|
505
505
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
506
506
|
sshsftpUser = {
|
|
507
|
+
/** Get all SFTPUsers for a Project. */
|
|
508
|
+
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
507
509
|
/** Create an SFTPUser for a Project. */
|
|
508
510
|
sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
|
|
509
511
|
/** Get an SFTPUser. */
|
|
@@ -512,8 +514,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
512
514
|
sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
|
|
513
515
|
/** Update an SFTPUser. */
|
|
514
516
|
sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
|
|
515
|
-
/** Get all SFTPUsers for a Project. */
|
|
516
|
-
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
517
517
|
/** Get all SSHUsers for a Project. */
|
|
518
518
|
sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
|
|
519
519
|
/** Create an SSHUser for a Project. */
|
|
@@ -465,6 +465,8 @@ export declare const projectUpdateServerDescription: OpenAPIOperation<Request<Si
|
|
|
465
465
|
export declare const redirectusCreateRelocation: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
466
466
|
/** Register a tariff change for a legacy tariff. */
|
|
467
467
|
export declare const relocationCreateLegacyTariffChange: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
468
|
+
/** Get all SFTPUsers for a Project. */
|
|
469
|
+
export declare const sftpUserListSftpUsers: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
468
470
|
/** Create an SFTPUser for a Project. */
|
|
469
471
|
export declare const sftpUserCreateSftpUser: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
470
472
|
/** Get an SFTPUser. */
|
|
@@ -473,8 +475,6 @@ export declare const sftpUserGetSftpUser: OpenAPIOperation<Request<Simplify<null
|
|
|
473
475
|
export declare const sftpUserDeleteSftpUser: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
474
476
|
/** Update an SFTPUser. */
|
|
475
477
|
export declare const sftpUserUpdateSftpUser: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
476
|
-
/** Get all SFTPUsers for a Project. */
|
|
477
|
-
export declare const sftpUserListSftpUsers: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
478
478
|
/** Get all SSHUsers for a Project. */
|
|
479
479
|
export declare const sshUserListSshUsers: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
480
480
|
/** Create an SSHUser for a Project. */
|
|
@@ -1384,6 +1384,12 @@ export const relocationCreateLegacyTariffChange = {
|
|
|
1384
1384
|
method: "POST",
|
|
1385
1385
|
operationId: "relocation-create-legacy-tariff-change",
|
|
1386
1386
|
};
|
|
1387
|
+
/** Get all SFTPUsers for a Project. */
|
|
1388
|
+
export const sftpUserListSftpUsers = {
|
|
1389
|
+
path: "/v2/projects/{projectId}/sftp-users",
|
|
1390
|
+
method: "GET",
|
|
1391
|
+
operationId: "sftp-user-list-sftp-users",
|
|
1392
|
+
};
|
|
1387
1393
|
/** Create an SFTPUser for a Project. */
|
|
1388
1394
|
export const sftpUserCreateSftpUser = {
|
|
1389
1395
|
path: "/v2/projects/{projectId}/sftp-users",
|
|
@@ -1408,12 +1414,6 @@ export const sftpUserUpdateSftpUser = {
|
|
|
1408
1414
|
method: "PATCH",
|
|
1409
1415
|
operationId: "sftp-user-update-sftp-user",
|
|
1410
1416
|
};
|
|
1411
|
-
/** Get all SFTPUsers for a Project. */
|
|
1412
|
-
export const sftpUserListSftpUsers = {
|
|
1413
|
-
path: "/v2/project/{projectId}/sftp-users",
|
|
1414
|
-
method: "GET",
|
|
1415
|
-
operationId: "sftp-user-list-sftp-users",
|
|
1416
|
-
};
|
|
1417
1417
|
/** Get all SSHUsers for a Project. */
|
|
1418
1418
|
export const sshUserListSshUsers = {
|
|
1419
1419
|
path: "/v2/projects/{projectId}/ssh-users",
|
|
@@ -639,6 +639,10 @@ export declare module MittwaldAPIV2 {
|
|
|
639
639
|
* The database's key eviction policy.
|
|
640
640
|
*/
|
|
641
641
|
maxMemoryPolicy?: string;
|
|
642
|
+
/**
|
|
643
|
+
* Persistent status of the database.
|
|
644
|
+
*/
|
|
645
|
+
persistent?: boolean;
|
|
642
646
|
}
|
|
643
647
|
interface DatabaseRedisDatabase {
|
|
644
648
|
configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
@@ -1431,9 +1435,11 @@ export declare module MittwaldAPIV2 {
|
|
|
1431
1435
|
spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
|
|
1432
1436
|
}
|
|
1433
1437
|
type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
|
|
1438
|
+
type ProjectServerDisableReason = "nonPayment";
|
|
1434
1439
|
interface ProjectServer {
|
|
1435
1440
|
customerId: string;
|
|
1436
1441
|
description: string;
|
|
1442
|
+
disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
|
|
1437
1443
|
id: string;
|
|
1438
1444
|
imageRefId?: string;
|
|
1439
1445
|
isReady: boolean;
|
|
@@ -5614,6 +5620,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5614
5620
|
projectId: string;
|
|
5615
5621
|
};
|
|
5616
5622
|
interface RequestBody {
|
|
5623
|
+
configuration: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
5617
5624
|
/**
|
|
5618
5625
|
* A description for the database.
|
|
5619
5626
|
*/
|
|
@@ -10671,6 +10678,39 @@ export declare module MittwaldAPIV2 {
|
|
|
10671
10678
|
}
|
|
10672
10679
|
}
|
|
10673
10680
|
namespace V2ProjectsProjectIdSftpUsers {
|
|
10681
|
+
namespace Get {
|
|
10682
|
+
namespace Parameters {
|
|
10683
|
+
type Path = {
|
|
10684
|
+
projectId: string;
|
|
10685
|
+
};
|
|
10686
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10687
|
+
type Query = {
|
|
10688
|
+
limit?: number;
|
|
10689
|
+
skip?: number;
|
|
10690
|
+
};
|
|
10691
|
+
}
|
|
10692
|
+
namespace Responses {
|
|
10693
|
+
namespace $200 {
|
|
10694
|
+
namespace Content {
|
|
10695
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SshuserSftpUser[];
|
|
10696
|
+
}
|
|
10697
|
+
}
|
|
10698
|
+
namespace $404 {
|
|
10699
|
+
namespace Content {
|
|
10700
|
+
interface ApplicationJson {
|
|
10701
|
+
[k: string]: unknown;
|
|
10702
|
+
}
|
|
10703
|
+
}
|
|
10704
|
+
}
|
|
10705
|
+
namespace Default {
|
|
10706
|
+
namespace Content {
|
|
10707
|
+
interface ApplicationJson {
|
|
10708
|
+
[k: string]: unknown;
|
|
10709
|
+
}
|
|
10710
|
+
}
|
|
10711
|
+
}
|
|
10712
|
+
}
|
|
10713
|
+
}
|
|
10674
10714
|
namespace Post {
|
|
10675
10715
|
namespace Parameters {
|
|
10676
10716
|
type Path = {
|
|
@@ -10809,41 +10849,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10809
10849
|
}
|
|
10810
10850
|
}
|
|
10811
10851
|
}
|
|
10812
|
-
namespace V2ProjectProjectIdSftpUsers {
|
|
10813
|
-
namespace Get {
|
|
10814
|
-
namespace Parameters {
|
|
10815
|
-
type Path = {
|
|
10816
|
-
projectId: string;
|
|
10817
|
-
};
|
|
10818
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10819
|
-
type Query = {
|
|
10820
|
-
limit?: number;
|
|
10821
|
-
skip?: number;
|
|
10822
|
-
};
|
|
10823
|
-
}
|
|
10824
|
-
namespace Responses {
|
|
10825
|
-
namespace $200 {
|
|
10826
|
-
namespace Content {
|
|
10827
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SshuserSftpUser[];
|
|
10828
|
-
}
|
|
10829
|
-
}
|
|
10830
|
-
namespace $404 {
|
|
10831
|
-
namespace Content {
|
|
10832
|
-
interface ApplicationJson {
|
|
10833
|
-
[k: string]: unknown;
|
|
10834
|
-
}
|
|
10835
|
-
}
|
|
10836
|
-
}
|
|
10837
|
-
namespace Default {
|
|
10838
|
-
namespace Content {
|
|
10839
|
-
interface ApplicationJson {
|
|
10840
|
-
[k: string]: unknown;
|
|
10841
|
-
}
|
|
10842
|
-
}
|
|
10843
|
-
}
|
|
10844
|
-
}
|
|
10845
|
-
}
|
|
10846
|
-
}
|
|
10852
|
+
namespace V2ProjectProjectIdSftpUsers { }
|
|
10847
10853
|
namespace V2ProjectsProjectIdSshUsers {
|
|
10848
10854
|
namespace Get {
|
|
10849
10855
|
namespace Parameters {
|
|
@@ -3211,6 +3211,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3211
3211
|
/** Create a RedisDatabase. */
|
|
3212
3212
|
createRedisDatabase: (request: {
|
|
3213
3213
|
data: {
|
|
3214
|
+
configuration: {
|
|
3215
|
+
additionalFlags?: string[] | undefined;
|
|
3216
|
+
maxMemory?: string | undefined;
|
|
3217
|
+
maxMemoryPolicy?: string | undefined;
|
|
3218
|
+
persistent?: boolean | undefined;
|
|
3219
|
+
};
|
|
3214
3220
|
description: string;
|
|
3215
3221
|
version: string;
|
|
3216
3222
|
};
|
|
@@ -3222,6 +3228,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3222
3228
|
} | undefined;
|
|
3223
3229
|
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<{
|
|
3224
3230
|
data: {
|
|
3231
|
+
configuration: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
3225
3232
|
description: string;
|
|
3226
3233
|
version: string;
|
|
3227
3234
|
};
|
|
@@ -4968,7 +4975,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4968
4975
|
isCatchAll: boolean;
|
|
4969
4976
|
mailbox: {
|
|
4970
4977
|
enableSpamProtection: boolean;
|
|
4971
|
-
password: string;
|
|
4978
|
+
password: string; /** Authenticate yourself to get an access token. */
|
|
4972
4979
|
quotaInBytes: number;
|
|
4973
4980
|
};
|
|
4974
4981
|
};
|
|
@@ -5917,6 +5924,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5917
5924
|
}, import("@mittwald/api-client-commons/types").Response<{
|
|
5918
5925
|
customerId: string;
|
|
5919
5926
|
description: string;
|
|
5927
|
+
disabledReason?: "nonPayment" | undefined;
|
|
5920
5928
|
id: string;
|
|
5921
5929
|
imageRefId?: string | undefined;
|
|
5922
5930
|
isReady: boolean;
|
|
@@ -6290,6 +6298,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6290
6298
|
};
|
|
6291
6299
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
6292
6300
|
readonly sshsftpUser: {
|
|
6301
|
+
/** Get all SFTPUsers for a Project. */
|
|
6302
|
+
sftpUserListSftpUsers: (request: {
|
|
6303
|
+
pathParameters: {
|
|
6304
|
+
projectId: string;
|
|
6305
|
+
};
|
|
6306
|
+
headers?: {
|
|
6307
|
+
"x-access-token"?: string | undefined;
|
|
6308
|
+
} | undefined;
|
|
6309
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
6310
|
+
pathParameters: {
|
|
6311
|
+
projectId: string;
|
|
6312
|
+
};
|
|
6313
|
+
} & {
|
|
6314
|
+
headers: {
|
|
6315
|
+
"x-access-token"?: string | undefined;
|
|
6316
|
+
};
|
|
6317
|
+
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[], 200, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6318
|
+
[x: string]: unknown;
|
|
6319
|
+
}, 404, "application/json">>>;
|
|
6293
6320
|
/** Create an SFTPUser for a Project. */
|
|
6294
6321
|
sftpUserCreateSftpUser: (request: {
|
|
6295
6322
|
data: {
|
|
@@ -6430,25 +6457,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6430
6457
|
}, import("@mittwald/api-client-commons/types").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6431
6458
|
[x: string]: unknown;
|
|
6432
6459
|
}, 400, "application/json">>>;
|
|
6433
|
-
/** Get all SFTPUsers for a Project. */
|
|
6434
|
-
sftpUserListSftpUsers: (request: {
|
|
6435
|
-
pathParameters: {
|
|
6436
|
-
projectId: string;
|
|
6437
|
-
};
|
|
6438
|
-
headers?: {
|
|
6439
|
-
"x-access-token"?: string | undefined;
|
|
6440
|
-
} | undefined;
|
|
6441
|
-
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
6442
|
-
pathParameters: {
|
|
6443
|
-
projectId: string;
|
|
6444
|
-
};
|
|
6445
|
-
} & {
|
|
6446
|
-
headers: {
|
|
6447
|
-
"x-access-token"?: string | undefined;
|
|
6448
|
-
};
|
|
6449
|
-
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[], 200, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6450
|
-
[x: string]: unknown;
|
|
6451
|
-
}, 404, "application/json">>>;
|
|
6452
6460
|
/** Get all SSHUsers for a Project. */
|
|
6453
6461
|
sshUserListSshUsers: (request: {
|
|
6454
6462
|
pathParameters: {
|
|
@@ -509,6 +509,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
509
509
|
};
|
|
510
510
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
511
511
|
this.sshsftpUser = {
|
|
512
|
+
/** Get all SFTPUsers for a Project. */
|
|
513
|
+
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
512
514
|
/** Create an SFTPUser for a Project. */
|
|
513
515
|
sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
|
|
514
516
|
/** Get an SFTPUser. */
|
|
@@ -517,8 +519,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
517
519
|
sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
|
|
518
520
|
/** Update an SFTPUser. */
|
|
519
521
|
sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
|
|
520
|
-
/** Get all SFTPUsers for a Project. */
|
|
521
|
-
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
522
522
|
/** Get all SSHUsers for a Project. */
|
|
523
523
|
sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
|
|
524
524
|
/** Create an SSHUser for a Project. */
|
|
@@ -465,6 +465,8 @@ export declare const projectUpdateServerDescription: OpenAPIOperation<Request<Si
|
|
|
465
465
|
export declare const redirectusCreateRelocation: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
466
466
|
/** Register a tariff change for a legacy tariff. */
|
|
467
467
|
export declare const relocationCreateLegacyTariffChange: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
468
|
+
/** Get all SFTPUsers for a Project. */
|
|
469
|
+
export declare const sftpUserListSftpUsers: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
468
470
|
/** Create an SFTPUser for a Project. */
|
|
469
471
|
export declare const sftpUserCreateSftpUser: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
470
472
|
/** Get an SFTPUser. */
|
|
@@ -473,8 +475,6 @@ export declare const sftpUserGetSftpUser: OpenAPIOperation<Request<Simplify<null
|
|
|
473
475
|
export declare const sftpUserDeleteSftpUser: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
474
476
|
/** Update an SFTPUser. */
|
|
475
477
|
export declare const sftpUserUpdateSftpUser: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2SftpUsersSftpUserId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
476
|
-
/** Get all SFTPUsers for a Project. */
|
|
477
|
-
export declare const sftpUserListSftpUsers: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectProjectIdSftpUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
478
478
|
/** Get all SSHUsers for a Project. */
|
|
479
479
|
export declare const sshUserListSshUsers: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSshUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
480
480
|
/** Create an SSHUser for a Project. */
|
|
@@ -4,7 +4,7 @@ exports.conversationCreateMessage = exports.conversationListMessagesByConversati
|
|
|
4
4
|
exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = void 0;
|
|
5
5
|
exports.fileGetFile = exports.fileGetFileTypeRules = exports.fileGetFileTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainResendDomainEmail = exports.domainListToplevelDomains = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetToplevelDomain = exports.domainVerifyDomainOwnership = exports.domainGetSpecificDomainOwnership = exports.domainGetHandleFields = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainDeclareProcessChangeHandles = exports.domainDeclareProcessChangeAuthcode = exports.domainDeclareNameservers = exports.domainCreateAuthcode2ForDomain = exports.domainCreateAuthcodeForDomain = exports.domainCheckDomainAvailability = exports.domainChangeProjectOfDomain = exports.domainChangeOwnercOfDomain = exports.domainAbortDeclareProcess = exports.dnsZonesForProject = exports.dnsZoneGetSpecific = exports.dnsRecordTxtSet = exports.dnsRecordMxSetManaged = exports.dnsRecordMxSetCustom = exports.dnsRecordCnameSet = exports.dnsRecordAsetManagedByIngress = exports.dnsRecordAsetCustom = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = void 0;
|
|
6
6
|
exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterSubscribeUser = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailProjectsettingUpdateWhitelist = exports.mailProjectsettingUpdateBlacklist = exports.mailProjectsettingGetSpecific = exports.mailMailaddressUpdateSpamprotection = exports.mailMailaddressUpdateQuota = exports.mailMailaddressUpdatePassword = exports.mailMailaddressUpdateForwardaddresses = exports.mailMailaddressUpdateCatchall = exports.mailMailaddressUpdateAutoresponder = exports.mailMailaddressUpdateAddress = exports.mailMailaddressDelete = exports.mailMailaddressGetSpecific = exports.mailMailaddressCreate = exports.mailMailaddressList = exports.mailDeliveryboxUpdatePassword = exports.mailDeliveryboxUpdateDescription = exports.mailDeliveryboxDelete = exports.mailDeliveryboxGetSpecific = exports.mailDeliveryboxCreate = exports.mailDeliveryboxList = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressTls = exports.ingressPaths = exports.ingressListForProject = exports.ingressListAccessible = exports.ingressDelete = exports.ingressGetSpecific = exports.ingressCreate = void 0;
|
|
7
|
-
exports.userGetOwnProfile = exports.userChangePassword = exports.userGetPasswordUpdatedAt = exports.userChangeEmail = exports.userGetEmail = exports.userAuthenticateMfa = exports.userAuthenticate = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.
|
|
7
|
+
exports.userGetOwnProfile = exports.userChangePassword = exports.userGetPasswordUpdatedAt = exports.userChangeEmail = exports.userGetEmail = exports.userAuthenticateMfa = exports.userAuthenticate = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.relocationCreateLegacyTariffChange = exports.redirectusCreateRelocation = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = void 0;
|
|
8
8
|
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResetRecoverycodes = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userDisableMfa = exports.userInitMfa = exports.userGetMfaStatus = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateIssue = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userConfirmMfa = exports.userCheckToken = exports.userDeleteProfile = exports.userChangeProfile = void 0;
|
|
9
9
|
/** execute a runtime concerning action on a specific `AppInstallation` */
|
|
10
10
|
exports.appExecuteAction = {
|
|
@@ -1392,6 +1392,12 @@ exports.relocationCreateLegacyTariffChange = {
|
|
|
1392
1392
|
method: "POST",
|
|
1393
1393
|
operationId: "relocation-create-legacy-tariff-change",
|
|
1394
1394
|
};
|
|
1395
|
+
/** Get all SFTPUsers for a Project. */
|
|
1396
|
+
exports.sftpUserListSftpUsers = {
|
|
1397
|
+
path: "/v2/projects/{projectId}/sftp-users",
|
|
1398
|
+
method: "GET",
|
|
1399
|
+
operationId: "sftp-user-list-sftp-users",
|
|
1400
|
+
};
|
|
1395
1401
|
/** Create an SFTPUser for a Project. */
|
|
1396
1402
|
exports.sftpUserCreateSftpUser = {
|
|
1397
1403
|
path: "/v2/projects/{projectId}/sftp-users",
|
|
@@ -1416,12 +1422,6 @@ exports.sftpUserUpdateSftpUser = {
|
|
|
1416
1422
|
method: "PATCH",
|
|
1417
1423
|
operationId: "sftp-user-update-sftp-user",
|
|
1418
1424
|
};
|
|
1419
|
-
/** Get all SFTPUsers for a Project. */
|
|
1420
|
-
exports.sftpUserListSftpUsers = {
|
|
1421
|
-
path: "/v2/project/{projectId}/sftp-users",
|
|
1422
|
-
method: "GET",
|
|
1423
|
-
operationId: "sftp-user-list-sftp-users",
|
|
1424
|
-
};
|
|
1425
1425
|
/** Get all SSHUsers for a Project. */
|
|
1426
1426
|
exports.sshUserListSshUsers = {
|
|
1427
1427
|
path: "/v2/projects/{projectId}/ssh-users",
|
|
@@ -639,6 +639,10 @@ export declare module MittwaldAPIV2 {
|
|
|
639
639
|
* The database's key eviction policy.
|
|
640
640
|
*/
|
|
641
641
|
maxMemoryPolicy?: string;
|
|
642
|
+
/**
|
|
643
|
+
* Persistent status of the database.
|
|
644
|
+
*/
|
|
645
|
+
persistent?: boolean;
|
|
642
646
|
}
|
|
643
647
|
interface DatabaseRedisDatabase {
|
|
644
648
|
configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
@@ -1431,9 +1435,11 @@ export declare module MittwaldAPIV2 {
|
|
|
1431
1435
|
spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
|
|
1432
1436
|
}
|
|
1433
1437
|
type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
|
|
1438
|
+
type ProjectServerDisableReason = "nonPayment";
|
|
1434
1439
|
interface ProjectServer {
|
|
1435
1440
|
customerId: string;
|
|
1436
1441
|
description: string;
|
|
1442
|
+
disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
|
|
1437
1443
|
id: string;
|
|
1438
1444
|
imageRefId?: string;
|
|
1439
1445
|
isReady: boolean;
|
|
@@ -5614,6 +5620,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5614
5620
|
projectId: string;
|
|
5615
5621
|
};
|
|
5616
5622
|
interface RequestBody {
|
|
5623
|
+
configuration: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
5617
5624
|
/**
|
|
5618
5625
|
* A description for the database.
|
|
5619
5626
|
*/
|
|
@@ -10671,6 +10678,39 @@ export declare module MittwaldAPIV2 {
|
|
|
10671
10678
|
}
|
|
10672
10679
|
}
|
|
10673
10680
|
namespace V2ProjectsProjectIdSftpUsers {
|
|
10681
|
+
namespace Get {
|
|
10682
|
+
namespace Parameters {
|
|
10683
|
+
type Path = {
|
|
10684
|
+
projectId: string;
|
|
10685
|
+
};
|
|
10686
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10687
|
+
type Query = {
|
|
10688
|
+
limit?: number;
|
|
10689
|
+
skip?: number;
|
|
10690
|
+
};
|
|
10691
|
+
}
|
|
10692
|
+
namespace Responses {
|
|
10693
|
+
namespace $200 {
|
|
10694
|
+
namespace Content {
|
|
10695
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SshuserSftpUser[];
|
|
10696
|
+
}
|
|
10697
|
+
}
|
|
10698
|
+
namespace $404 {
|
|
10699
|
+
namespace Content {
|
|
10700
|
+
interface ApplicationJson {
|
|
10701
|
+
[k: string]: unknown;
|
|
10702
|
+
}
|
|
10703
|
+
}
|
|
10704
|
+
}
|
|
10705
|
+
namespace Default {
|
|
10706
|
+
namespace Content {
|
|
10707
|
+
interface ApplicationJson {
|
|
10708
|
+
[k: string]: unknown;
|
|
10709
|
+
}
|
|
10710
|
+
}
|
|
10711
|
+
}
|
|
10712
|
+
}
|
|
10713
|
+
}
|
|
10674
10714
|
namespace Post {
|
|
10675
10715
|
namespace Parameters {
|
|
10676
10716
|
type Path = {
|
|
@@ -10809,41 +10849,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10809
10849
|
}
|
|
10810
10850
|
}
|
|
10811
10851
|
}
|
|
10812
|
-
namespace V2ProjectProjectIdSftpUsers {
|
|
10813
|
-
namespace Get {
|
|
10814
|
-
namespace Parameters {
|
|
10815
|
-
type Path = {
|
|
10816
|
-
projectId: string;
|
|
10817
|
-
};
|
|
10818
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10819
|
-
type Query = {
|
|
10820
|
-
limit?: number;
|
|
10821
|
-
skip?: number;
|
|
10822
|
-
};
|
|
10823
|
-
}
|
|
10824
|
-
namespace Responses {
|
|
10825
|
-
namespace $200 {
|
|
10826
|
-
namespace Content {
|
|
10827
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SshuserSftpUser[];
|
|
10828
|
-
}
|
|
10829
|
-
}
|
|
10830
|
-
namespace $404 {
|
|
10831
|
-
namespace Content {
|
|
10832
|
-
interface ApplicationJson {
|
|
10833
|
-
[k: string]: unknown;
|
|
10834
|
-
}
|
|
10835
|
-
}
|
|
10836
|
-
}
|
|
10837
|
-
namespace Default {
|
|
10838
|
-
namespace Content {
|
|
10839
|
-
interface ApplicationJson {
|
|
10840
|
-
[k: string]: unknown;
|
|
10841
|
-
}
|
|
10842
|
-
}
|
|
10843
|
-
}
|
|
10844
|
-
}
|
|
10845
|
-
}
|
|
10846
|
-
}
|
|
10852
|
+
namespace V2ProjectProjectIdSftpUsers { }
|
|
10847
10853
|
namespace V2ProjectsProjectIdSshUsers {
|
|
10848
10854
|
namespace Get {
|
|
10849
10855
|
namespace Parameters {
|