@mittwald/api-client 2.0.2 → 2.0.4

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.
@@ -250,7 +250,7 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
250
250
  this.database = {
251
251
  /** List MySQLDatabases belonging to a Project. */
252
252
  listMysqlDatabases: this.requestFunctionFactory(descriptors.databaseListMysqlDatabases),
253
- /** Create a MySQLDatabase with an optional MySQLUser */
253
+ /** Create a MySQLDatabase with a MySQLUser. */
254
254
  createMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCreateMysqlDatabase),
255
255
  /** List MySQLUsers belonging to a database. */
256
256
  listMysqlUsers: this.requestFunctionFactory(descriptors.databaseListMysqlUsers),
@@ -199,8 +199,8 @@ export declare const customerRemoveAvatar: OpenAPIOperation<RequestType<Simplify
199
199
  export declare const customerResendCustomerInviteMail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomerInvitesInviteIdActionsResend.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
200
200
  /** List MySQLDatabases belonging to a Project. */
201
201
  export declare const databaseListMysqlDatabases: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
202
- /** Create a MySQLDatabase with an optional MySQLUser */
203
- export declare const databaseCreateMysqlDatabase: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
202
+ /** Create a MySQLDatabase with a MySQLUser. */
203
+ export declare const databaseCreateMysqlDatabase: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMysqlDatabases.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
204
204
  /** List MySQLUsers belonging to a database. */
205
205
  export declare const databaseListMysqlUsers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MysqlDatabasesDatabaseIdUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
206
206
  /** Create a MySQLUser. */
@@ -469,6 +469,8 @@ export declare const projectUpdateServerDescription: OpenAPIOperation<RequestTyp
469
469
  export declare const redirectusCreateRelocation: OpenAPIOperation<RequestType<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">>;
470
470
  /** Register a tariff change for a legacy tariff. */
471
471
  export declare const relocationCreateLegacyTariffChange: OpenAPIOperation<RequestType<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
+ /** Obtain a service token. */
473
+ export declare const servicetokenAuthenticateService: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
472
474
  /** Get all SFTPUsers for a Project. */
473
475
  export declare const sftpUserListSftpUsers: OpenAPIOperation<RequestType<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">>;
474
476
  /** Create an SFTPUser for a Project. */
@@ -4,8 +4,8 @@ exports.conversationCreateConversation = exports.conversationListConversations =
4
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
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
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.userChangePassword = exports.userChangeEmail = 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.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.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 = void 0;
7
+ exports.userChangeEmail = 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 = 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 = 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}",
@@ -594,7 +594,7 @@ exports.databaseListMysqlDatabases = {
594
594
  method: "GET",
595
595
  operationId: "database-list-mysql-databases",
596
596
  };
597
- /** Create a MySQLDatabase with an optional MySQLUser */
597
+ /** Create a MySQLDatabase with a MySQLUser. */
598
598
  exports.databaseCreateMysqlDatabase = {
599
599
  path: "/v2/projects/{projectId}/mysql-databases",
600
600
  method: "POST",
@@ -1404,6 +1404,12 @@ exports.relocationCreateLegacyTariffChange = {
1404
1404
  method: "POST",
1405
1405
  operationId: "relocation-create-legacy-tariff-change",
1406
1406
  };
1407
+ /** Obtain a service token. */
1408
+ exports.servicetokenAuthenticateService = {
1409
+ path: "/v2/services/{accessKeyId}/actions/authenticate",
1410
+ method: "POST",
1411
+ operationId: "servicetoken-authenticate-service",
1412
+ };
1407
1413
  /** Get all SFTPUsers for a Project. */
1408
1414
  exports.sftpUserListSftpUsers = {
1409
1415
  path: "/v2/projects/{projectId}/sftp-users",
@@ -577,6 +577,26 @@ export declare module MittwaldAPIV2 {
577
577
  vatId?: string;
578
578
  vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified";
579
579
  }
580
+ interface DatabaseCreateMySqlDatabase {
581
+ characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
582
+ description: string;
583
+ projectId: string;
584
+ version: string;
585
+ }
586
+ interface DatabaseCreateMySqlUser {
587
+ accessIpMask?: string;
588
+ accessLevel: "full" | "readonly";
589
+ databaseId: string;
590
+ description: string;
591
+ externalAccess?: boolean;
592
+ password: string;
593
+ }
594
+ interface DatabaseCreateMySqlUserWithDatabase {
595
+ accessIpMask?: string;
596
+ accessLevel: "full" | "readonly";
597
+ externalAccess?: boolean;
598
+ password: string;
599
+ }
580
600
  interface DatabaseMySqlCharacterSettings {
581
601
  collations: string[];
582
602
  name: string;
@@ -587,18 +607,18 @@ export declare module MittwaldAPIV2 {
587
607
  collation: string;
588
608
  }
589
609
  interface DatabaseMySqlDatabase {
590
- characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
591
- createdAt?: string;
592
- description?: string;
610
+ characterSettings: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
611
+ createdAt: string;
612
+ description: string;
593
613
  finalizers?: string[];
594
- hostname?: string;
614
+ hostname: string;
595
615
  id: string;
596
616
  isReady: boolean;
597
617
  isShared: boolean;
598
- name?: string;
618
+ name: string;
599
619
  projectId: string;
600
- size?: number;
601
- updatedAt?: string;
620
+ size: number;
621
+ updatedAt: string;
602
622
  version: string;
603
623
  }
604
624
  interface DatabasePhpMyAdminURL {
@@ -607,17 +627,16 @@ export declare module MittwaldAPIV2 {
607
627
  interface DatabaseMySqlUser {
608
628
  accessIpMask?: string;
609
629
  accessLevel: "full" | "readonly";
610
- createdAt?: string;
630
+ createdAt: string;
611
631
  databaseId: string;
612
632
  description?: string;
613
- disabled?: boolean;
614
- externalAccess?: boolean;
633
+ disabled: boolean;
634
+ externalAccess: boolean;
615
635
  id: string;
616
- mainUser?: boolean;
617
- name?: string;
618
- password: string;
619
- passwordUpdatedAt?: string;
620
- updatedAt?: string;
636
+ mainUser: boolean;
637
+ name: string;
638
+ passwordUpdatedAt: string;
639
+ updatedAt: string;
621
640
  }
622
641
  interface DatabaseMySqlVersion {
623
642
  disabled: boolean;
@@ -1439,6 +1458,7 @@ export declare module MittwaldAPIV2 {
1439
1458
  type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
1440
1459
  type ProjectServerDisableReason = "nonPayment";
1441
1460
  interface ProjectServer {
1461
+ createdAt: string;
1442
1462
  customerId: string;
1443
1463
  description: string;
1444
1464
  disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
@@ -5537,17 +5557,18 @@ export declare module MittwaldAPIV2 {
5537
5557
  projectId: string;
5538
5558
  };
5539
5559
  interface RequestBody {
5540
- database: MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase;
5541
- user?: MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser;
5560
+ database: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlDatabase;
5561
+ user: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
5542
5562
  }
5543
5563
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
5544
5564
  type Query = {};
5545
5565
  }
5546
5566
  namespace Responses {
5547
- namespace $202 {
5567
+ namespace $201 {
5548
5568
  namespace Content {
5549
5569
  interface ApplicationJson {
5550
5570
  id: string;
5571
+ userId: string;
5551
5572
  }
5552
5573
  }
5553
5574
  }
@@ -5618,7 +5639,7 @@ export declare module MittwaldAPIV2 {
5618
5639
  type Path = {
5619
5640
  databaseId: string;
5620
5641
  };
5621
- type RequestBody = MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser;
5642
+ type RequestBody = MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUser;
5622
5643
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
5623
5644
  type Query = {};
5624
5645
  }
@@ -5698,7 +5719,7 @@ export declare module MittwaldAPIV2 {
5698
5719
  projectId: string;
5699
5720
  };
5700
5721
  interface RequestBody {
5701
- configuration: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
5722
+ configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
5702
5723
  /**
5703
5724
  * A description for the database.
5704
5725
  */
@@ -10763,6 +10784,47 @@ export declare module MittwaldAPIV2 {
10763
10784
  }
10764
10785
  }
10765
10786
  }
10787
+ namespace V2ServiceAccessKeyIdActionsAuthenticate { }
10788
+ namespace InternalV2ServicesAccessKeyIdActionsAuthenticate { }
10789
+ namespace V2ServicesAccessKeyIdActionsAuthenticate {
10790
+ namespace Post {
10791
+ namespace Parameters {
10792
+ type Path = {
10793
+ accessKeyId: string;
10794
+ };
10795
+ interface RequestBody {
10796
+ secretAccessKey: string;
10797
+ }
10798
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
10799
+ type Query = {};
10800
+ }
10801
+ namespace Responses {
10802
+ namespace $200 {
10803
+ namespace Content {
10804
+ interface ApplicationJson {
10805
+ accessToken: {
10806
+ id: string;
10807
+ jwtClaims: {
10808
+ exp: string;
10809
+ iat: string;
10810
+ iss: string;
10811
+ sub: string;
10812
+ };
10813
+ publicToken: string;
10814
+ };
10815
+ }
10816
+ }
10817
+ }
10818
+ namespace Default {
10819
+ namespace Content {
10820
+ interface ApplicationJson {
10821
+ [k: string]: unknown;
10822
+ }
10823
+ }
10824
+ }
10825
+ }
10826
+ }
10827
+ }
10766
10828
  namespace V2ProjectsProjectIdSftpUsers {
10767
10829
  namespace Get {
10768
10830
  namespace Parameters {