@mittwald/api-client 1.0.4 → 1.0.6
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 +72 -19
- package/dist/generated/v2/client.js +6 -2
- package/dist/generated/v2/descriptors.d.ts +6 -2
- package/dist/generated/v2/descriptors.js +18 -6
- package/dist/generated/v2/types.d.ts +106 -35
- package/dist-cjs/generated/v2/client.d.ts +72 -19
- package/dist-cjs/generated/v2/client.js +6 -2
- package/dist-cjs/generated/v2/descriptors.d.ts +6 -2
- package/dist-cjs/generated/v2/descriptors.js +24 -12
- package/dist-cjs/generated/v2/types.d.ts +106 -35
- package/package.json +1 -1
|
@@ -368,6 +368,49 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
368
368
|
"x-access-token"?: string | undefined;
|
|
369
369
|
};
|
|
370
370
|
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion[], 200, "application/json">>>;
|
|
371
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
372
|
+
listUpdateCandidatesForAppversion: (request: {
|
|
373
|
+
pathParameters: {
|
|
374
|
+
appId: string;
|
|
375
|
+
baseAppVersionId: string;
|
|
376
|
+
};
|
|
377
|
+
headers?: {
|
|
378
|
+
"x-access-token"?: string | undefined;
|
|
379
|
+
} | undefined;
|
|
380
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
381
|
+
pathParameters: {
|
|
382
|
+
appId: string;
|
|
383
|
+
baseAppVersionId: string;
|
|
384
|
+
};
|
|
385
|
+
} & {
|
|
386
|
+
headers: {
|
|
387
|
+
"x-access-token"?: string | undefined;
|
|
388
|
+
};
|
|
389
|
+
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[], 200, "application/json">>>;
|
|
390
|
+
/** request a copy of an `AppInstallation` */
|
|
391
|
+
requestAppinstallationCopy: (request: {
|
|
392
|
+
data: {
|
|
393
|
+
description: string;
|
|
394
|
+
};
|
|
395
|
+
pathParameters: {
|
|
396
|
+
id: string;
|
|
397
|
+
};
|
|
398
|
+
headers?: {} | undefined;
|
|
399
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<{
|
|
400
|
+
data: {
|
|
401
|
+
description: string;
|
|
402
|
+
};
|
|
403
|
+
} & {
|
|
404
|
+
pathParameters: {
|
|
405
|
+
id: string;
|
|
406
|
+
};
|
|
407
|
+
} & {
|
|
408
|
+
headers: {};
|
|
409
|
+
}, import("@mittwald/api-client-commons/types").Response<{
|
|
410
|
+
id: string;
|
|
411
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
412
|
+
[x: string]: unknown;
|
|
413
|
+
}, 404, "application/json">>>;
|
|
371
414
|
/** get runtime status of a specific `AppInstallation` */
|
|
372
415
|
retrieveStatus: (request: {
|
|
373
416
|
pathParameters: {
|
|
@@ -2230,10 +2273,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2230
2273
|
id?: string | undefined;
|
|
2231
2274
|
} | undefined;
|
|
2232
2275
|
durationInMilliseconds: number;
|
|
2276
|
+
end?: string | undefined;
|
|
2233
2277
|
executionEnd?: string | undefined;
|
|
2234
2278
|
executionStart?: string | undefined;
|
|
2235
2279
|
id: string;
|
|
2236
2280
|
logPath: string;
|
|
2281
|
+
start?: string | undefined;
|
|
2237
2282
|
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
|
|
2238
2283
|
successful: boolean;
|
|
2239
2284
|
triggeredBy?: {
|
|
@@ -3211,6 +3256,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3211
3256
|
/** Create a RedisDatabase. */
|
|
3212
3257
|
createRedisDatabase: (request: {
|
|
3213
3258
|
data: {
|
|
3259
|
+
configuration: {
|
|
3260
|
+
additionalFlags?: string[] | undefined;
|
|
3261
|
+
maxMemory?: string | undefined;
|
|
3262
|
+
maxMemoryPolicy?: string | undefined;
|
|
3263
|
+
persistent?: boolean | undefined;
|
|
3264
|
+
};
|
|
3214
3265
|
description: string;
|
|
3215
3266
|
version: string;
|
|
3216
3267
|
};
|
|
@@ -3222,6 +3273,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3222
3273
|
} | undefined;
|
|
3223
3274
|
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<{
|
|
3224
3275
|
data: {
|
|
3276
|
+
configuration: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
3225
3277
|
description: string;
|
|
3226
3278
|
version: string;
|
|
3227
3279
|
};
|
|
@@ -5917,6 +5969,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5917
5969
|
}, import("@mittwald/api-client-commons/types").Response<{
|
|
5918
5970
|
customerId: string;
|
|
5919
5971
|
description: string;
|
|
5972
|
+
disabledReason?: "nonPayment" | undefined;
|
|
5920
5973
|
id: string;
|
|
5921
5974
|
imageRefId?: string | undefined;
|
|
5922
5975
|
isReady: boolean;
|
|
@@ -6290,6 +6343,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6290
6343
|
};
|
|
6291
6344
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
6292
6345
|
readonly sshsftpUser: {
|
|
6346
|
+
/** Get all SFTPUsers for a Project. */
|
|
6347
|
+
sftpUserListSftpUsers: (request: {
|
|
6348
|
+
pathParameters: {
|
|
6349
|
+
projectId: string;
|
|
6350
|
+
};
|
|
6351
|
+
headers?: {
|
|
6352
|
+
"x-access-token"?: string | undefined;
|
|
6353
|
+
} | undefined;
|
|
6354
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
6355
|
+
pathParameters: {
|
|
6356
|
+
projectId: string;
|
|
6357
|
+
};
|
|
6358
|
+
} & {
|
|
6359
|
+
headers: {
|
|
6360
|
+
"x-access-token"?: string | undefined;
|
|
6361
|
+
};
|
|
6362
|
+
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[], 200, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6363
|
+
[x: string]: unknown;
|
|
6364
|
+
}, 404, "application/json">>>;
|
|
6293
6365
|
/** Create an SFTPUser for a Project. */
|
|
6294
6366
|
sftpUserCreateSftpUser: (request: {
|
|
6295
6367
|
data: {
|
|
@@ -6430,25 +6502,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6430
6502
|
}, import("@mittwald/api-client-commons/types").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6431
6503
|
[x: string]: unknown;
|
|
6432
6504
|
}, 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
6505
|
/** Get all SSHUsers for a Project. */
|
|
6453
6506
|
sshUserListSshUsers: (request: {
|
|
6454
6507
|
pathParameters: {
|
|
@@ -36,6 +36,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
36
36
|
listSystemsoftwares: this.requestFunctionFactory(descriptors.appListSystemsoftwares),
|
|
37
37
|
/** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
|
|
38
38
|
listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
|
|
39
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
40
|
+
listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
|
|
41
|
+
/** request a copy of an `AppInstallation` */
|
|
42
|
+
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
39
43
|
/** get runtime status of a specific `AppInstallation` */
|
|
40
44
|
retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
|
|
41
45
|
/** create linkage between an `AppInstallation` and `DatabaseUsers` */
|
|
@@ -504,6 +508,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
504
508
|
};
|
|
505
509
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
506
510
|
sshsftpUser = {
|
|
511
|
+
/** Get all SFTPUsers for a Project. */
|
|
512
|
+
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
507
513
|
/** Create an SFTPUser for a Project. */
|
|
508
514
|
sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
|
|
509
515
|
/** Get an SFTPUser. */
|
|
@@ -512,8 +518,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
512
518
|
sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
|
|
513
519
|
/** Update an SFTPUser. */
|
|
514
520
|
sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
|
|
515
|
-
/** Get all SFTPUsers for a Project. */
|
|
516
|
-
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
517
521
|
/** Get all SSHUsers for a Project. */
|
|
518
522
|
sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
|
|
519
523
|
/** Create an SSHUser for a Project. */
|
|
@@ -33,6 +33,10 @@ export declare const appListAppversions: OpenAPIOperation<Request<Simplify<null>
|
|
|
33
33
|
export declare const appListSystemsoftwares: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
34
34
|
/** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
|
|
35
35
|
export declare const appListSystemsoftwareversions: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
36
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
37
|
+
export declare const appListUpdateCandidatesForAppversion: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
38
|
+
/** request a copy of an `AppInstallation` */
|
|
39
|
+
export declare const appRequestAppinstallationCopy: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
36
40
|
/** get runtime status of a specific `AppInstallation` */
|
|
37
41
|
export declare const appRetrieveStatus: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
38
42
|
/** create linkage between an `AppInstallation` and `DatabaseUsers` */
|
|
@@ -465,6 +469,8 @@ export declare const projectUpdateServerDescription: OpenAPIOperation<Request<Si
|
|
|
465
469
|
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
470
|
/** Register a tariff change for a legacy tariff. */
|
|
467
471
|
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">>;
|
|
472
|
+
/** Get all SFTPUsers for a Project. */
|
|
473
|
+
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
474
|
/** Create an SFTPUser for a Project. */
|
|
469
475
|
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
476
|
/** Get an SFTPUser. */
|
|
@@ -473,8 +479,6 @@ export declare const sftpUserGetSftpUser: OpenAPIOperation<Request<Simplify<null
|
|
|
473
479
|
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
480
|
/** Update an SFTPUser. */
|
|
475
481
|
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
482
|
/** Get all SSHUsers for a Project. */
|
|
479
483
|
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
484
|
/** Create an SSHUser for a Project. */
|
|
@@ -88,6 +88,18 @@ export const appListSystemsoftwareversions = {
|
|
|
88
88
|
method: "GET",
|
|
89
89
|
operationId: "app-list-systemsoftwareversions",
|
|
90
90
|
};
|
|
91
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
92
|
+
export const appListUpdateCandidatesForAppversion = {
|
|
93
|
+
path: "/v2/apps/{appId}/versions/{baseAppVersionId}/update-candidates",
|
|
94
|
+
method: "GET",
|
|
95
|
+
operationId: "app-list-update-candidates-for-appversion",
|
|
96
|
+
};
|
|
97
|
+
/** request a copy of an `AppInstallation` */
|
|
98
|
+
export const appRequestAppinstallationCopy = {
|
|
99
|
+
path: "/v2/appinstallations/{id}/actions/copy",
|
|
100
|
+
method: "POST",
|
|
101
|
+
operationId: "app-request-appinstallation-copy",
|
|
102
|
+
};
|
|
91
103
|
/** get runtime status of a specific `AppInstallation` */
|
|
92
104
|
export const appRetrieveStatus = {
|
|
93
105
|
path: "/v2/appinstallations/{appInstallationId}/status",
|
|
@@ -1384,6 +1396,12 @@ export const relocationCreateLegacyTariffChange = {
|
|
|
1384
1396
|
method: "POST",
|
|
1385
1397
|
operationId: "relocation-create-legacy-tariff-change",
|
|
1386
1398
|
};
|
|
1399
|
+
/** Get all SFTPUsers for a Project. */
|
|
1400
|
+
export const sftpUserListSftpUsers = {
|
|
1401
|
+
path: "/v2/projects/{projectId}/sftp-users",
|
|
1402
|
+
method: "GET",
|
|
1403
|
+
operationId: "sftp-user-list-sftp-users",
|
|
1404
|
+
};
|
|
1387
1405
|
/** Create an SFTPUser for a Project. */
|
|
1388
1406
|
export const sftpUserCreateSftpUser = {
|
|
1389
1407
|
path: "/v2/projects/{projectId}/sftp-users",
|
|
@@ -1408,12 +1426,6 @@ export const sftpUserUpdateSftpUser = {
|
|
|
1408
1426
|
method: "PATCH",
|
|
1409
1427
|
operationId: "sftp-user-update-sftp-user",
|
|
1410
1428
|
};
|
|
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
1429
|
/** Get all SSHUsers for a Project. */
|
|
1418
1430
|
export const sshUserListSshUsers = {
|
|
1419
1431
|
path: "/v2/projects/{projectId}/ssh-users",
|
|
@@ -495,10 +495,12 @@ export declare module MittwaldAPIV2 {
|
|
|
495
495
|
id?: string;
|
|
496
496
|
};
|
|
497
497
|
durationInMilliseconds: number;
|
|
498
|
+
end?: string;
|
|
498
499
|
executionEnd?: string;
|
|
499
500
|
executionStart?: string;
|
|
500
501
|
id: string;
|
|
501
502
|
logPath: string;
|
|
503
|
+
start?: string;
|
|
502
504
|
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser";
|
|
503
505
|
successful: boolean;
|
|
504
506
|
triggeredBy?: {
|
|
@@ -639,6 +641,10 @@ export declare module MittwaldAPIV2 {
|
|
|
639
641
|
* The database's key eviction policy.
|
|
640
642
|
*/
|
|
641
643
|
maxMemoryPolicy?: string;
|
|
644
|
+
/**
|
|
645
|
+
* Persistent status of the database.
|
|
646
|
+
*/
|
|
647
|
+
persistent?: boolean;
|
|
642
648
|
}
|
|
643
649
|
interface DatabaseRedisDatabase {
|
|
644
650
|
configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
@@ -1431,9 +1437,11 @@ export declare module MittwaldAPIV2 {
|
|
|
1431
1437
|
spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
|
|
1432
1438
|
}
|
|
1433
1439
|
type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
|
|
1440
|
+
type ProjectServerDisableReason = "nonPayment";
|
|
1434
1441
|
interface ProjectServer {
|
|
1435
1442
|
customerId: string;
|
|
1436
1443
|
description: string;
|
|
1444
|
+
disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
|
|
1437
1445
|
id: string;
|
|
1438
1446
|
imageRefId?: string;
|
|
1439
1447
|
isReady: boolean;
|
|
@@ -2310,6 +2318,69 @@ export declare module MittwaldAPIV2 {
|
|
|
2310
2318
|
}
|
|
2311
2319
|
}
|
|
2312
2320
|
}
|
|
2321
|
+
namespace V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates {
|
|
2322
|
+
namespace Get {
|
|
2323
|
+
namespace Parameters {
|
|
2324
|
+
type Path = {
|
|
2325
|
+
appId: string;
|
|
2326
|
+
baseAppVersionId: string;
|
|
2327
|
+
};
|
|
2328
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
2329
|
+
type Query = {};
|
|
2330
|
+
}
|
|
2331
|
+
namespace Responses {
|
|
2332
|
+
namespace $200 {
|
|
2333
|
+
namespace Content {
|
|
2334
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.AppAppVersion[];
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
namespace Default {
|
|
2338
|
+
namespace Content {
|
|
2339
|
+
interface ApplicationJson {
|
|
2340
|
+
[k: string]: unknown;
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
namespace V2AppinstallationsIdActionsCopy {
|
|
2348
|
+
namespace Post {
|
|
2349
|
+
namespace Parameters {
|
|
2350
|
+
type Path = {
|
|
2351
|
+
id: string;
|
|
2352
|
+
};
|
|
2353
|
+
interface RequestBody {
|
|
2354
|
+
description: string;
|
|
2355
|
+
}
|
|
2356
|
+
type Header = {};
|
|
2357
|
+
type Query = {};
|
|
2358
|
+
}
|
|
2359
|
+
namespace Responses {
|
|
2360
|
+
namespace $201 {
|
|
2361
|
+
namespace Content {
|
|
2362
|
+
interface ApplicationJson {
|
|
2363
|
+
id: string;
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
namespace $404 {
|
|
2368
|
+
namespace Content {
|
|
2369
|
+
interface ApplicationJson {
|
|
2370
|
+
[k: string]: unknown;
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
namespace Default {
|
|
2375
|
+
namespace Content {
|
|
2376
|
+
interface ApplicationJson {
|
|
2377
|
+
[k: string]: unknown;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2313
2384
|
namespace V2AppinstallationsAppInstallationIdStatus {
|
|
2314
2385
|
namespace Get {
|
|
2315
2386
|
namespace Parameters {
|
|
@@ -5614,6 +5685,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5614
5685
|
projectId: string;
|
|
5615
5686
|
};
|
|
5616
5687
|
interface RequestBody {
|
|
5688
|
+
configuration: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
5617
5689
|
/**
|
|
5618
5690
|
* A description for the database.
|
|
5619
5691
|
*/
|
|
@@ -10671,6 +10743,39 @@ export declare module MittwaldAPIV2 {
|
|
|
10671
10743
|
}
|
|
10672
10744
|
}
|
|
10673
10745
|
namespace V2ProjectsProjectIdSftpUsers {
|
|
10746
|
+
namespace Get {
|
|
10747
|
+
namespace Parameters {
|
|
10748
|
+
type Path = {
|
|
10749
|
+
projectId: string;
|
|
10750
|
+
};
|
|
10751
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10752
|
+
type Query = {
|
|
10753
|
+
limit?: number;
|
|
10754
|
+
skip?: number;
|
|
10755
|
+
};
|
|
10756
|
+
}
|
|
10757
|
+
namespace Responses {
|
|
10758
|
+
namespace $200 {
|
|
10759
|
+
namespace Content {
|
|
10760
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SshuserSftpUser[];
|
|
10761
|
+
}
|
|
10762
|
+
}
|
|
10763
|
+
namespace $404 {
|
|
10764
|
+
namespace Content {
|
|
10765
|
+
interface ApplicationJson {
|
|
10766
|
+
[k: string]: unknown;
|
|
10767
|
+
}
|
|
10768
|
+
}
|
|
10769
|
+
}
|
|
10770
|
+
namespace Default {
|
|
10771
|
+
namespace Content {
|
|
10772
|
+
interface ApplicationJson {
|
|
10773
|
+
[k: string]: unknown;
|
|
10774
|
+
}
|
|
10775
|
+
}
|
|
10776
|
+
}
|
|
10777
|
+
}
|
|
10778
|
+
}
|
|
10674
10779
|
namespace Post {
|
|
10675
10780
|
namespace Parameters {
|
|
10676
10781
|
type Path = {
|
|
@@ -10809,41 +10914,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10809
10914
|
}
|
|
10810
10915
|
}
|
|
10811
10916
|
}
|
|
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
|
-
}
|
|
10917
|
+
namespace V2ProjectProjectIdSftpUsers { }
|
|
10847
10918
|
namespace V2ProjectsProjectIdSshUsers {
|
|
10848
10919
|
namespace Get {
|
|
10849
10920
|
namespace Parameters {
|
|
@@ -368,6 +368,49 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
368
368
|
"x-access-token"?: string | undefined;
|
|
369
369
|
};
|
|
370
370
|
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion[], 200, "application/json">>>;
|
|
371
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
372
|
+
listUpdateCandidatesForAppversion: (request: {
|
|
373
|
+
pathParameters: {
|
|
374
|
+
appId: string;
|
|
375
|
+
baseAppVersionId: string;
|
|
376
|
+
};
|
|
377
|
+
headers?: {
|
|
378
|
+
"x-access-token"?: string | undefined;
|
|
379
|
+
} | undefined;
|
|
380
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
381
|
+
pathParameters: {
|
|
382
|
+
appId: string;
|
|
383
|
+
baseAppVersionId: string;
|
|
384
|
+
};
|
|
385
|
+
} & {
|
|
386
|
+
headers: {
|
|
387
|
+
"x-access-token"?: string | undefined;
|
|
388
|
+
};
|
|
389
|
+
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[], 200, "application/json">>>;
|
|
390
|
+
/** request a copy of an `AppInstallation` */
|
|
391
|
+
requestAppinstallationCopy: (request: {
|
|
392
|
+
data: {
|
|
393
|
+
description: string;
|
|
394
|
+
};
|
|
395
|
+
pathParameters: {
|
|
396
|
+
id: string;
|
|
397
|
+
};
|
|
398
|
+
headers?: {} | undefined;
|
|
399
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<{
|
|
400
|
+
data: {
|
|
401
|
+
description: string;
|
|
402
|
+
};
|
|
403
|
+
} & {
|
|
404
|
+
pathParameters: {
|
|
405
|
+
id: string;
|
|
406
|
+
};
|
|
407
|
+
} & {
|
|
408
|
+
headers: {};
|
|
409
|
+
}, import("@mittwald/api-client-commons/types").Response<{
|
|
410
|
+
id: string;
|
|
411
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
412
|
+
[x: string]: unknown;
|
|
413
|
+
}, 404, "application/json">>>;
|
|
371
414
|
/** get runtime status of a specific `AppInstallation` */
|
|
372
415
|
retrieveStatus: (request: {
|
|
373
416
|
pathParameters: {
|
|
@@ -2230,10 +2273,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2230
2273
|
id?: string | undefined;
|
|
2231
2274
|
} | undefined;
|
|
2232
2275
|
durationInMilliseconds: number;
|
|
2276
|
+
end?: string | undefined;
|
|
2233
2277
|
executionEnd?: string | undefined;
|
|
2234
2278
|
executionStart?: string | undefined;
|
|
2235
2279
|
id: string;
|
|
2236
2280
|
logPath: string;
|
|
2281
|
+
start?: string | undefined;
|
|
2237
2282
|
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
|
|
2238
2283
|
successful: boolean;
|
|
2239
2284
|
triggeredBy?: {
|
|
@@ -3211,6 +3256,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3211
3256
|
/** Create a RedisDatabase. */
|
|
3212
3257
|
createRedisDatabase: (request: {
|
|
3213
3258
|
data: {
|
|
3259
|
+
configuration: {
|
|
3260
|
+
additionalFlags?: string[] | undefined;
|
|
3261
|
+
maxMemory?: string | undefined;
|
|
3262
|
+
maxMemoryPolicy?: string | undefined;
|
|
3263
|
+
persistent?: boolean | undefined;
|
|
3264
|
+
};
|
|
3214
3265
|
description: string;
|
|
3215
3266
|
version: string;
|
|
3216
3267
|
};
|
|
@@ -3222,6 +3273,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3222
3273
|
} | undefined;
|
|
3223
3274
|
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<{
|
|
3224
3275
|
data: {
|
|
3276
|
+
configuration: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
3225
3277
|
description: string;
|
|
3226
3278
|
version: string;
|
|
3227
3279
|
};
|
|
@@ -5917,6 +5969,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5917
5969
|
}, import("@mittwald/api-client-commons/types").Response<{
|
|
5918
5970
|
customerId: string;
|
|
5919
5971
|
description: string;
|
|
5972
|
+
disabledReason?: "nonPayment" | undefined;
|
|
5920
5973
|
id: string;
|
|
5921
5974
|
imageRefId?: string | undefined;
|
|
5922
5975
|
isReady: boolean;
|
|
@@ -6290,6 +6343,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6290
6343
|
};
|
|
6291
6344
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
6292
6345
|
readonly sshsftpUser: {
|
|
6346
|
+
/** Get all SFTPUsers for a Project. */
|
|
6347
|
+
sftpUserListSftpUsers: (request: {
|
|
6348
|
+
pathParameters: {
|
|
6349
|
+
projectId: string;
|
|
6350
|
+
};
|
|
6351
|
+
headers?: {
|
|
6352
|
+
"x-access-token"?: string | undefined;
|
|
6353
|
+
} | undefined;
|
|
6354
|
+
}) => import("@mittwald/api-client-commons/types").ResponsePromise<import("@mittwald/api-client-commons/types").OpenAPIOperation<object & {
|
|
6355
|
+
pathParameters: {
|
|
6356
|
+
projectId: string;
|
|
6357
|
+
};
|
|
6358
|
+
} & {
|
|
6359
|
+
headers: {
|
|
6360
|
+
"x-access-token"?: string | undefined;
|
|
6361
|
+
};
|
|
6362
|
+
}, import("@mittwald/api-client-commons/types").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[], 200, "application/json"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6363
|
+
[x: string]: unknown;
|
|
6364
|
+
}, 404, "application/json">>>;
|
|
6293
6365
|
/** Create an SFTPUser for a Project. */
|
|
6294
6366
|
sftpUserCreateSftpUser: (request: {
|
|
6295
6367
|
data: {
|
|
@@ -6430,25 +6502,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6430
6502
|
}, import("@mittwald/api-client-commons/types").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons/types").Response<{
|
|
6431
6503
|
[x: string]: unknown;
|
|
6432
6504
|
}, 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
6505
|
/** Get all SSHUsers for a Project. */
|
|
6453
6506
|
sshUserListSshUsers: (request: {
|
|
6454
6507
|
pathParameters: {
|
|
@@ -41,6 +41,10 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
41
41
|
listSystemsoftwares: this.requestFunctionFactory(descriptors.appListSystemsoftwares),
|
|
42
42
|
/** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
|
|
43
43
|
listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
|
|
44
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
45
|
+
listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
|
|
46
|
+
/** request a copy of an `AppInstallation` */
|
|
47
|
+
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
44
48
|
/** get runtime status of a specific `AppInstallation` */
|
|
45
49
|
retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
|
|
46
50
|
/** create linkage between an `AppInstallation` and `DatabaseUsers` */
|
|
@@ -509,6 +513,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
509
513
|
};
|
|
510
514
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
511
515
|
this.sshsftpUser = {
|
|
516
|
+
/** Get all SFTPUsers for a Project. */
|
|
517
|
+
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
512
518
|
/** Create an SFTPUser for a Project. */
|
|
513
519
|
sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
|
|
514
520
|
/** Get an SFTPUser. */
|
|
@@ -517,8 +523,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
517
523
|
sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
|
|
518
524
|
/** Update an SFTPUser. */
|
|
519
525
|
sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
|
|
520
|
-
/** Get all SFTPUsers for a Project. */
|
|
521
|
-
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
522
526
|
/** Get all SSHUsers for a Project. */
|
|
523
527
|
sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
|
|
524
528
|
/** Create an SSHUser for a Project. */
|
|
@@ -33,6 +33,10 @@ export declare const appListAppversions: OpenAPIOperation<Request<Simplify<null>
|
|
|
33
33
|
export declare const appListSystemsoftwares: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Systemsoftwares.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
34
34
|
/** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
|
|
35
35
|
export declare const appListSystemsoftwareversions: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
36
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
37
|
+
export declare const appListUpdateCandidatesForAppversion: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
38
|
+
/** request a copy of an `AppInstallation` */
|
|
39
|
+
export declare const appRequestAppinstallationCopy: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
36
40
|
/** get runtime status of a specific `AppInstallation` */
|
|
37
41
|
export declare const appRetrieveStatus: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsAppInstallationIdStatus.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
38
42
|
/** create linkage between an `AppInstallation` and `DatabaseUsers` */
|
|
@@ -465,6 +469,8 @@ export declare const projectUpdateServerDescription: OpenAPIOperation<Request<Si
|
|
|
465
469
|
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
470
|
/** Register a tariff change for a legacy tariff. */
|
|
467
471
|
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">>;
|
|
472
|
+
/** Get all SFTPUsers for a Project. */
|
|
473
|
+
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
474
|
/** Create an SFTPUser for a Project. */
|
|
469
475
|
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
476
|
/** Get an SFTPUser. */
|
|
@@ -473,8 +479,6 @@ export declare const sftpUserGetSftpUser: OpenAPIOperation<Request<Simplify<null
|
|
|
473
479
|
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
480
|
/** Update an SFTPUser. */
|
|
475
481
|
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
482
|
/** Get all SSHUsers for a Project. */
|
|
479
483
|
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
484
|
/** Create an SSHUser for a Project. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
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;
|
|
3
|
+
exports.conversationCreateConversation = exports.conversationListConversations = exports.contractListContracts = exports.contractGetNextTerminationDateForItem = exports.contractGetDetailOfContract = exports.contractGetDetailOfContractItem = exports.contractGetDetailOfContractByServer = exports.contractGetDetailOfContractByProject = exports.contractGetDetailOfContractByDomain = exports.contractGetBaseItemOfContract = exports.contractCancelContractTermination = exports.contractTerminateContract = exports.contractCancelContractTariffChange = exports.contractCancelContractItemTermination = exports.contractTerminateContractItem = exports.backupUpdateProjectBackupDescription = exports.backupDeleteProjectBackup = exports.backupGetProjectBackup = exports.backupUpdateProjectBackupSchedule = exports.backupDeleteProjectBackupSchedule = exports.backupGetProjectBackupSchedule = exports.backupCreateProjectBackup = exports.backupListProjectBackups = exports.backupCreateProjectBackupSchedule = exports.backupListProjectBackupSchedules = exports.backupDeleteProjectBackupExport = exports.backupCreateProjectBackupExport = exports.articleListArticles = exports.articleGetArticle = exports.appUpdateStatus = exports.appUnlinkDatabase = exports.appSetDatabaseUsers = exports.appRetrieveStatus = exports.appRequestAppinstallationCopy = exports.appListUpdateCandidatesForAppversion = exports.appListSystemsoftwareversions = exports.appListSystemsoftwares = exports.appListAppversions = exports.appListApps = exports.appRequestAppinstallation = exports.appListAppinstallations = exports.appLinkDatabase = exports.appGetSystemsoftwareversion = exports.appGetSystemsoftware = exports.appGetAppversion = exports.appPatchAppinstallation = exports.appUninstallAppinstallation = exports.appGetAppinstallation = exports.appGetApp = exports.appExecuteAction = void 0;
|
|
4
|
+
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 = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = void 0;
|
|
5
|
+
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 = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = void 0;
|
|
6
|
+
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 = exports.fileGetFile = exports.fileGetFileTypeRules = void 0;
|
|
7
|
+
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 = exports.projectDeclineProjectInvite = exports.projectCreateProject = void 0;
|
|
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 = exports.userGetOwnProfile = exports.userChangePassword = void 0;
|
|
9
9
|
/** execute a runtime concerning action on a specific `AppInstallation` */
|
|
10
10
|
exports.appExecuteAction = {
|
|
11
11
|
path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
|
|
@@ -96,6 +96,18 @@ exports.appListSystemsoftwareversions = {
|
|
|
96
96
|
method: "GET",
|
|
97
97
|
operationId: "app-list-systemsoftwareversions",
|
|
98
98
|
};
|
|
99
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
100
|
+
exports.appListUpdateCandidatesForAppversion = {
|
|
101
|
+
path: "/v2/apps/{appId}/versions/{baseAppVersionId}/update-candidates",
|
|
102
|
+
method: "GET",
|
|
103
|
+
operationId: "app-list-update-candidates-for-appversion",
|
|
104
|
+
};
|
|
105
|
+
/** request a copy of an `AppInstallation` */
|
|
106
|
+
exports.appRequestAppinstallationCopy = {
|
|
107
|
+
path: "/v2/appinstallations/{id}/actions/copy",
|
|
108
|
+
method: "POST",
|
|
109
|
+
operationId: "app-request-appinstallation-copy",
|
|
110
|
+
};
|
|
99
111
|
/** get runtime status of a specific `AppInstallation` */
|
|
100
112
|
exports.appRetrieveStatus = {
|
|
101
113
|
path: "/v2/appinstallations/{appInstallationId}/status",
|
|
@@ -1392,6 +1404,12 @@ exports.relocationCreateLegacyTariffChange = {
|
|
|
1392
1404
|
method: "POST",
|
|
1393
1405
|
operationId: "relocation-create-legacy-tariff-change",
|
|
1394
1406
|
};
|
|
1407
|
+
/** Get all SFTPUsers for a Project. */
|
|
1408
|
+
exports.sftpUserListSftpUsers = {
|
|
1409
|
+
path: "/v2/projects/{projectId}/sftp-users",
|
|
1410
|
+
method: "GET",
|
|
1411
|
+
operationId: "sftp-user-list-sftp-users",
|
|
1412
|
+
};
|
|
1395
1413
|
/** Create an SFTPUser for a Project. */
|
|
1396
1414
|
exports.sftpUserCreateSftpUser = {
|
|
1397
1415
|
path: "/v2/projects/{projectId}/sftp-users",
|
|
@@ -1416,12 +1434,6 @@ exports.sftpUserUpdateSftpUser = {
|
|
|
1416
1434
|
method: "PATCH",
|
|
1417
1435
|
operationId: "sftp-user-update-sftp-user",
|
|
1418
1436
|
};
|
|
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
1437
|
/** Get all SSHUsers for a Project. */
|
|
1426
1438
|
exports.sshUserListSshUsers = {
|
|
1427
1439
|
path: "/v2/projects/{projectId}/ssh-users",
|
|
@@ -495,10 +495,12 @@ export declare module MittwaldAPIV2 {
|
|
|
495
495
|
id?: string;
|
|
496
496
|
};
|
|
497
497
|
durationInMilliseconds: number;
|
|
498
|
+
end?: string;
|
|
498
499
|
executionEnd?: string;
|
|
499
500
|
executionStart?: string;
|
|
500
501
|
id: string;
|
|
501
502
|
logPath: string;
|
|
503
|
+
start?: string;
|
|
502
504
|
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser";
|
|
503
505
|
successful: boolean;
|
|
504
506
|
triggeredBy?: {
|
|
@@ -639,6 +641,10 @@ export declare module MittwaldAPIV2 {
|
|
|
639
641
|
* The database's key eviction policy.
|
|
640
642
|
*/
|
|
641
643
|
maxMemoryPolicy?: string;
|
|
644
|
+
/**
|
|
645
|
+
* Persistent status of the database.
|
|
646
|
+
*/
|
|
647
|
+
persistent?: boolean;
|
|
642
648
|
}
|
|
643
649
|
interface DatabaseRedisDatabase {
|
|
644
650
|
configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
@@ -1431,9 +1437,11 @@ export declare module MittwaldAPIV2 {
|
|
|
1431
1437
|
spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
|
|
1432
1438
|
}
|
|
1433
1439
|
type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
|
|
1440
|
+
type ProjectServerDisableReason = "nonPayment";
|
|
1434
1441
|
interface ProjectServer {
|
|
1435
1442
|
customerId: string;
|
|
1436
1443
|
description: string;
|
|
1444
|
+
disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
|
|
1437
1445
|
id: string;
|
|
1438
1446
|
imageRefId?: string;
|
|
1439
1447
|
isReady: boolean;
|
|
@@ -2310,6 +2318,69 @@ export declare module MittwaldAPIV2 {
|
|
|
2310
2318
|
}
|
|
2311
2319
|
}
|
|
2312
2320
|
}
|
|
2321
|
+
namespace V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates {
|
|
2322
|
+
namespace Get {
|
|
2323
|
+
namespace Parameters {
|
|
2324
|
+
type Path = {
|
|
2325
|
+
appId: string;
|
|
2326
|
+
baseAppVersionId: string;
|
|
2327
|
+
};
|
|
2328
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
2329
|
+
type Query = {};
|
|
2330
|
+
}
|
|
2331
|
+
namespace Responses {
|
|
2332
|
+
namespace $200 {
|
|
2333
|
+
namespace Content {
|
|
2334
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.AppAppVersion[];
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
namespace Default {
|
|
2338
|
+
namespace Content {
|
|
2339
|
+
interface ApplicationJson {
|
|
2340
|
+
[k: string]: unknown;
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
namespace V2AppinstallationsIdActionsCopy {
|
|
2348
|
+
namespace Post {
|
|
2349
|
+
namespace Parameters {
|
|
2350
|
+
type Path = {
|
|
2351
|
+
id: string;
|
|
2352
|
+
};
|
|
2353
|
+
interface RequestBody {
|
|
2354
|
+
description: string;
|
|
2355
|
+
}
|
|
2356
|
+
type Header = {};
|
|
2357
|
+
type Query = {};
|
|
2358
|
+
}
|
|
2359
|
+
namespace Responses {
|
|
2360
|
+
namespace $201 {
|
|
2361
|
+
namespace Content {
|
|
2362
|
+
interface ApplicationJson {
|
|
2363
|
+
id: string;
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
namespace $404 {
|
|
2368
|
+
namespace Content {
|
|
2369
|
+
interface ApplicationJson {
|
|
2370
|
+
[k: string]: unknown;
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
namespace Default {
|
|
2375
|
+
namespace Content {
|
|
2376
|
+
interface ApplicationJson {
|
|
2377
|
+
[k: string]: unknown;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2313
2384
|
namespace V2AppinstallationsAppInstallationIdStatus {
|
|
2314
2385
|
namespace Get {
|
|
2315
2386
|
namespace Parameters {
|
|
@@ -5614,6 +5685,7 @@ export declare module MittwaldAPIV2 {
|
|
|
5614
5685
|
projectId: string;
|
|
5615
5686
|
};
|
|
5616
5687
|
interface RequestBody {
|
|
5688
|
+
configuration: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
|
|
5617
5689
|
/**
|
|
5618
5690
|
* A description for the database.
|
|
5619
5691
|
*/
|
|
@@ -10671,6 +10743,39 @@ export declare module MittwaldAPIV2 {
|
|
|
10671
10743
|
}
|
|
10672
10744
|
}
|
|
10673
10745
|
namespace V2ProjectsProjectIdSftpUsers {
|
|
10746
|
+
namespace Get {
|
|
10747
|
+
namespace Parameters {
|
|
10748
|
+
type Path = {
|
|
10749
|
+
projectId: string;
|
|
10750
|
+
};
|
|
10751
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
10752
|
+
type Query = {
|
|
10753
|
+
limit?: number;
|
|
10754
|
+
skip?: number;
|
|
10755
|
+
};
|
|
10756
|
+
}
|
|
10757
|
+
namespace Responses {
|
|
10758
|
+
namespace $200 {
|
|
10759
|
+
namespace Content {
|
|
10760
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.SshuserSftpUser[];
|
|
10761
|
+
}
|
|
10762
|
+
}
|
|
10763
|
+
namespace $404 {
|
|
10764
|
+
namespace Content {
|
|
10765
|
+
interface ApplicationJson {
|
|
10766
|
+
[k: string]: unknown;
|
|
10767
|
+
}
|
|
10768
|
+
}
|
|
10769
|
+
}
|
|
10770
|
+
namespace Default {
|
|
10771
|
+
namespace Content {
|
|
10772
|
+
interface ApplicationJson {
|
|
10773
|
+
[k: string]: unknown;
|
|
10774
|
+
}
|
|
10775
|
+
}
|
|
10776
|
+
}
|
|
10777
|
+
}
|
|
10778
|
+
}
|
|
10674
10779
|
namespace Post {
|
|
10675
10780
|
namespace Parameters {
|
|
10676
10781
|
type Path = {
|
|
@@ -10809,41 +10914,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10809
10914
|
}
|
|
10810
10915
|
}
|
|
10811
10916
|
}
|
|
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
|
-
}
|
|
10917
|
+
namespace V2ProjectProjectIdSftpUsers { }
|
|
10847
10918
|
namespace V2ProjectsProjectIdSshUsers {
|
|
10848
10919
|
namespace Get {
|
|
10849
10920
|
namespace Parameters {
|