@mittwald/api-client 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/v2/client.d.ts +41 -7
- package/dist/cjs/generated/v2/client.js +2 -0
- package/dist/cjs/generated/v2/descriptors.d.ts +2 -0
- package/dist/cjs/generated/v2/descriptors.js +12 -6
- package/dist/cjs/generated/v2/types.d.ts +39 -0
- package/dist/esm/generated/v2/client.d.ts +41 -7
- package/dist/esm/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.d.ts +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/generated/v2/types.d.ts +39 -0
- package/package.json +1 -1
|
@@ -533,6 +533,40 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
533
533
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
534
534
|
}>;
|
|
535
535
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[], 200, "application/json">>>;
|
|
536
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
537
|
+
reconcileDetectedApps: (request: {
|
|
538
|
+
data: {
|
|
539
|
+
appName: string;
|
|
540
|
+
appVersionClusterVersion: string;
|
|
541
|
+
databaseHost?: string | undefined;
|
|
542
|
+
databaseUserName?: string | undefined;
|
|
543
|
+
installationDirectory: string;
|
|
544
|
+
}[];
|
|
545
|
+
pathParameters: {
|
|
546
|
+
projectShortId: string;
|
|
547
|
+
};
|
|
548
|
+
headers?: {
|
|
549
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
550
|
+
} | undefined;
|
|
551
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
552
|
+
data: {
|
|
553
|
+
appName: string;
|
|
554
|
+
appVersionClusterVersion: string;
|
|
555
|
+
databaseHost?: string | undefined;
|
|
556
|
+
databaseUserName?: string | undefined;
|
|
557
|
+
installationDirectory: string;
|
|
558
|
+
}[];
|
|
559
|
+
} & {
|
|
560
|
+
pathParameters: {
|
|
561
|
+
projectShortId: string;
|
|
562
|
+
};
|
|
563
|
+
} & {
|
|
564
|
+
headers?: Partial<{
|
|
565
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
566
|
+
}> | undefined;
|
|
567
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
568
|
+
[x: string]: unknown;
|
|
569
|
+
}, 404, "application/json">>>;
|
|
536
570
|
/** request a copy of an `AppInstallation` */
|
|
537
571
|
requestAppinstallationCopy: (request: {
|
|
538
572
|
data: {
|
|
@@ -730,7 +764,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
730
764
|
hideOnInvoice?: boolean | undefined;
|
|
731
765
|
machineType?: {
|
|
732
766
|
cpu: string;
|
|
733
|
-
memory: string;
|
|
767
|
+
memory: string;
|
|
734
768
|
name: string;
|
|
735
769
|
} | undefined;
|
|
736
770
|
modifierArticles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
@@ -3510,7 +3544,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3510
3544
|
}>;
|
|
3511
3545
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3512
3546
|
activeSuspension?: {
|
|
3513
|
-
createdAt: string;
|
|
3547
|
+
createdAt: string; /** sets mx-records to managed for a specific zone */
|
|
3514
3548
|
} | undefined;
|
|
3515
3549
|
avatarRefId?: string | undefined;
|
|
3516
3550
|
categoryId?: string | undefined;
|
|
@@ -5084,7 +5118,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5084
5118
|
cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
|
|
5085
5119
|
combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
5086
5120
|
mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
5087
|
-
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
5121
|
+
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT; /** Get settings for a given project ID */
|
|
5088
5122
|
};
|
|
5089
5123
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5090
5124
|
[x: string]: unknown;
|
|
@@ -6043,7 +6077,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6043
6077
|
max?: {
|
|
6044
6078
|
height?: number | undefined;
|
|
6045
6079
|
width?: number | undefined;
|
|
6046
|
-
} | undefined;
|
|
6080
|
+
} | undefined; /** Delete a ProjectMembership. */
|
|
6047
6081
|
min?: {
|
|
6048
6082
|
height?: number | undefined;
|
|
6049
6083
|
width?: number | undefined;
|
|
@@ -6079,7 +6113,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6079
6113
|
max?: {
|
|
6080
6114
|
height?: number | undefined;
|
|
6081
6115
|
width?: number | undefined;
|
|
6082
|
-
} | undefined;
|
|
6116
|
+
} | undefined; /** Delete a ProjectMembership. */
|
|
6083
6117
|
min?: {
|
|
6084
6118
|
height?: number | undefined;
|
|
6085
6119
|
width?: number | undefined;
|
|
@@ -6419,7 +6453,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6419
6453
|
address: string;
|
|
6420
6454
|
autoResponder: {
|
|
6421
6455
|
active: boolean;
|
|
6422
|
-
expiresAt?: string | undefined;
|
|
6456
|
+
expiresAt?: string | undefined;
|
|
6423
6457
|
message: string;
|
|
6424
6458
|
startsAt?: string | undefined;
|
|
6425
6459
|
};
|
|
@@ -6434,7 +6468,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6434
6468
|
active: boolean;
|
|
6435
6469
|
autoDeleteSpam: boolean;
|
|
6436
6470
|
folder: "spam" | "inbox";
|
|
6437
|
-
relocationMinSpamScore: number;
|
|
6471
|
+
relocationMinSpamScore: number;
|
|
6438
6472
|
};
|
|
6439
6473
|
storageInBytes: {
|
|
6440
6474
|
current: {
|
|
@@ -43,6 +43,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
43
43
|
listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
|
|
44
44
|
/** get all update candidates for a specific `AppVersion` */
|
|
45
45
|
listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
|
|
46
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
47
|
+
reconcileDetectedApps: this.requestFunctionFactory(descriptors.appReconcileDetectedApps),
|
|
46
48
|
/** request a copy of an `AppInstallation` */
|
|
47
49
|
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
48
50
|
/** get runtime status of a specific `AppInstallation` */
|
|
@@ -35,6 +35,8 @@ export declare const appListSystemsoftwares: OpenAPIOperation<RequestType<Simpli
|
|
|
35
35
|
export declare const appListSystemsoftwareversions: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Query>, 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
36
|
/** get all update candidates for a specific `AppVersion` */
|
|
37
37
|
export declare const appListUpdateCandidatesForAppversion: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Query>, 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
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
39
|
+
export declare const appReconcileDetectedApps: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
38
40
|
/** request a copy of an `AppInstallation` */
|
|
39
41
|
export declare const appRequestAppinstallationCopy: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Query>, 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">>;
|
|
40
42
|
/** get runtime status of a specific `AppInstallation` */
|
|
@@ -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.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = 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.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = void 0;
|
|
3
|
+
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.appReconcileDetectedApps = 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.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 = exports.conversationCreateConversation = void 0;
|
|
5
|
+
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 = exports.databaseListMysqlUsers = void 0;
|
|
6
|
+
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 = exports.fileGetFileTokenRules = void 0;
|
|
7
|
+
exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = 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.servicetokenAuthenticateService = 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 = exports.projectCreateProjectInvite = void 0;
|
|
8
|
+
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = 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.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = 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}",
|
|
@@ -102,6 +102,12 @@ exports.appListUpdateCandidatesForAppversion = {
|
|
|
102
102
|
method: "GET",
|
|
103
103
|
operationId: "app-list-update-candidates-for-appversion",
|
|
104
104
|
};
|
|
105
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
106
|
+
exports.appReconcileDetectedApps = {
|
|
107
|
+
path: "/v2/projects/{projectShortId}/appinstallations",
|
|
108
|
+
method: "PUT",
|
|
109
|
+
operationId: "app-reconcile-detected-apps",
|
|
110
|
+
};
|
|
105
111
|
/** request a copy of an `AppInstallation` */
|
|
106
112
|
exports.appRequestAppinstallationCopy = {
|
|
107
113
|
path: "/v2/appinstallations/{id}/actions/copy",
|
|
@@ -2393,6 +2393,45 @@ export declare module MittwaldAPIV2 {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
}
|
|
2395
2395
|
}
|
|
2396
|
+
namespace V2ProjectsProjectShortIdAppinstallations {
|
|
2397
|
+
namespace Put {
|
|
2398
|
+
namespace Parameters {
|
|
2399
|
+
type Path = {
|
|
2400
|
+
projectShortId: string;
|
|
2401
|
+
};
|
|
2402
|
+
type RequestBody = {
|
|
2403
|
+
appName: string;
|
|
2404
|
+
appVersionClusterVersion: string;
|
|
2405
|
+
databaseHost?: string;
|
|
2406
|
+
databaseUserName?: string;
|
|
2407
|
+
installationDirectory: string;
|
|
2408
|
+
}[];
|
|
2409
|
+
type Header = {};
|
|
2410
|
+
type Query = {};
|
|
2411
|
+
}
|
|
2412
|
+
namespace Responses {
|
|
2413
|
+
namespace $204 {
|
|
2414
|
+
namespace Content {
|
|
2415
|
+
type Empty = unknown;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
namespace $404 {
|
|
2419
|
+
namespace Content {
|
|
2420
|
+
interface ApplicationJson {
|
|
2421
|
+
[k: string]: unknown;
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
namespace Default {
|
|
2426
|
+
namespace Content {
|
|
2427
|
+
interface ApplicationJson {
|
|
2428
|
+
[k: string]: unknown;
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2396
2435
|
namespace V2AppinstallationsIdActionsCopy {
|
|
2397
2436
|
namespace Post {
|
|
2398
2437
|
namespace Parameters {
|
|
@@ -533,6 +533,40 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
533
533
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
534
534
|
}>;
|
|
535
535
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[], 200, "application/json">>>;
|
|
536
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
537
|
+
reconcileDetectedApps: (request: {
|
|
538
|
+
data: {
|
|
539
|
+
appName: string;
|
|
540
|
+
appVersionClusterVersion: string;
|
|
541
|
+
databaseHost?: string | undefined;
|
|
542
|
+
databaseUserName?: string | undefined;
|
|
543
|
+
installationDirectory: string;
|
|
544
|
+
}[];
|
|
545
|
+
pathParameters: {
|
|
546
|
+
projectShortId: string;
|
|
547
|
+
};
|
|
548
|
+
headers?: {
|
|
549
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
550
|
+
} | undefined;
|
|
551
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
552
|
+
data: {
|
|
553
|
+
appName: string;
|
|
554
|
+
appVersionClusterVersion: string;
|
|
555
|
+
databaseHost?: string | undefined;
|
|
556
|
+
databaseUserName?: string | undefined;
|
|
557
|
+
installationDirectory: string;
|
|
558
|
+
}[];
|
|
559
|
+
} & {
|
|
560
|
+
pathParameters: {
|
|
561
|
+
projectShortId: string;
|
|
562
|
+
};
|
|
563
|
+
} & {
|
|
564
|
+
headers?: Partial<{
|
|
565
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
566
|
+
}> | undefined;
|
|
567
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
568
|
+
[x: string]: unknown;
|
|
569
|
+
}, 404, "application/json">>>;
|
|
536
570
|
/** request a copy of an `AppInstallation` */
|
|
537
571
|
requestAppinstallationCopy: (request: {
|
|
538
572
|
data: {
|
|
@@ -730,7 +764,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
730
764
|
hideOnInvoice?: boolean | undefined;
|
|
731
765
|
machineType?: {
|
|
732
766
|
cpu: string;
|
|
733
|
-
memory: string;
|
|
767
|
+
memory: string;
|
|
734
768
|
name: string;
|
|
735
769
|
} | undefined;
|
|
736
770
|
modifierArticles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
@@ -3510,7 +3544,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3510
3544
|
}>;
|
|
3511
3545
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3512
3546
|
activeSuspension?: {
|
|
3513
|
-
createdAt: string;
|
|
3547
|
+
createdAt: string; /** sets mx-records to managed for a specific zone */
|
|
3514
3548
|
} | undefined;
|
|
3515
3549
|
avatarRefId?: string | undefined;
|
|
3516
3550
|
categoryId?: string | undefined;
|
|
@@ -5084,7 +5118,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5084
5118
|
cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
|
|
5085
5119
|
combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
5086
5120
|
mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
5087
|
-
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
5121
|
+
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT; /** Get settings for a given project ID */
|
|
5088
5122
|
};
|
|
5089
5123
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5090
5124
|
[x: string]: unknown;
|
|
@@ -6043,7 +6077,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6043
6077
|
max?: {
|
|
6044
6078
|
height?: number | undefined;
|
|
6045
6079
|
width?: number | undefined;
|
|
6046
|
-
} | undefined;
|
|
6080
|
+
} | undefined; /** Delete a ProjectMembership. */
|
|
6047
6081
|
min?: {
|
|
6048
6082
|
height?: number | undefined;
|
|
6049
6083
|
width?: number | undefined;
|
|
@@ -6079,7 +6113,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6079
6113
|
max?: {
|
|
6080
6114
|
height?: number | undefined;
|
|
6081
6115
|
width?: number | undefined;
|
|
6082
|
-
} | undefined;
|
|
6116
|
+
} | undefined; /** Delete a ProjectMembership. */
|
|
6083
6117
|
min?: {
|
|
6084
6118
|
height?: number | undefined;
|
|
6085
6119
|
width?: number | undefined;
|
|
@@ -6419,7 +6453,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6419
6453
|
address: string;
|
|
6420
6454
|
autoResponder: {
|
|
6421
6455
|
active: boolean;
|
|
6422
|
-
expiresAt?: string | undefined;
|
|
6456
|
+
expiresAt?: string | undefined;
|
|
6423
6457
|
message: string;
|
|
6424
6458
|
startsAt?: string | undefined;
|
|
6425
6459
|
};
|
|
@@ -6434,7 +6468,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6434
6468
|
active: boolean;
|
|
6435
6469
|
autoDeleteSpam: boolean;
|
|
6436
6470
|
folder: "spam" | "inbox";
|
|
6437
|
-
relocationMinSpamScore: number;
|
|
6471
|
+
relocationMinSpamScore: number;
|
|
6438
6472
|
};
|
|
6439
6473
|
storageInBytes: {
|
|
6440
6474
|
current: {
|
|
@@ -38,6 +38,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
38
38
|
listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
|
|
39
39
|
/** get all update candidates for a specific `AppVersion` */
|
|
40
40
|
listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
|
|
41
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
42
|
+
reconcileDetectedApps: this.requestFunctionFactory(descriptors.appReconcileDetectedApps),
|
|
41
43
|
/** request a copy of an `AppInstallation` */
|
|
42
44
|
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
43
45
|
/** get runtime status of a specific `AppInstallation` */
|
|
@@ -35,6 +35,8 @@ export declare const appListSystemsoftwares: OpenAPIOperation<RequestType<Simpli
|
|
|
35
35
|
export declare const appListSystemsoftwareversions: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2SystemsoftwareSystemSoftwareIdVersions.Get.Parameters.Query>, 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
36
|
/** get all update candidates for a specific `AppVersion` */
|
|
37
37
|
export declare const appListUpdateCandidatesForAppversion: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates.Get.Parameters.Query>, 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
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
39
|
+
export declare const appReconcileDetectedApps: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectShortIdAppinstallations.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
38
40
|
/** request a copy of an `AppInstallation` */
|
|
39
41
|
export declare const appRequestAppinstallationCopy: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppinstallationsIdActionsCopy.Post.Parameters.Query>, 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">>;
|
|
40
42
|
/** get runtime status of a specific `AppInstallation` */
|
|
@@ -94,6 +94,12 @@ export const appListUpdateCandidatesForAppversion = {
|
|
|
94
94
|
method: "GET",
|
|
95
95
|
operationId: "app-list-update-candidates-for-appversion",
|
|
96
96
|
};
|
|
97
|
+
/** reconcile detected apps to appInstallations of a project */
|
|
98
|
+
export const appReconcileDetectedApps = {
|
|
99
|
+
path: "/v2/projects/{projectShortId}/appinstallations",
|
|
100
|
+
method: "PUT",
|
|
101
|
+
operationId: "app-reconcile-detected-apps",
|
|
102
|
+
};
|
|
97
103
|
/** request a copy of an `AppInstallation` */
|
|
98
104
|
export const appRequestAppinstallationCopy = {
|
|
99
105
|
path: "/v2/appinstallations/{id}/actions/copy",
|
|
@@ -2393,6 +2393,45 @@ export declare module MittwaldAPIV2 {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
}
|
|
2395
2395
|
}
|
|
2396
|
+
namespace V2ProjectsProjectShortIdAppinstallations {
|
|
2397
|
+
namespace Put {
|
|
2398
|
+
namespace Parameters {
|
|
2399
|
+
type Path = {
|
|
2400
|
+
projectShortId: string;
|
|
2401
|
+
};
|
|
2402
|
+
type RequestBody = {
|
|
2403
|
+
appName: string;
|
|
2404
|
+
appVersionClusterVersion: string;
|
|
2405
|
+
databaseHost?: string;
|
|
2406
|
+
databaseUserName?: string;
|
|
2407
|
+
installationDirectory: string;
|
|
2408
|
+
}[];
|
|
2409
|
+
type Header = {};
|
|
2410
|
+
type Query = {};
|
|
2411
|
+
}
|
|
2412
|
+
namespace Responses {
|
|
2413
|
+
namespace $204 {
|
|
2414
|
+
namespace Content {
|
|
2415
|
+
type Empty = unknown;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
namespace $404 {
|
|
2419
|
+
namespace Content {
|
|
2420
|
+
interface ApplicationJson {
|
|
2421
|
+
[k: string]: unknown;
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
namespace Default {
|
|
2426
|
+
namespace Content {
|
|
2427
|
+
interface ApplicationJson {
|
|
2428
|
+
[k: string]: unknown;
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2396
2435
|
namespace V2AppinstallationsIdActionsCopy {
|
|
2397
2436
|
namespace Post {
|
|
2398
2437
|
namespace Parameters {
|