@mittwald/api-client 3.1.50 → 3.1.52

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/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.d6a88a7b.mjs';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.mjs';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.d7de87c4.mjs';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.d7de87c4.mjs';
4
4
  import 'axios';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.d6a88a7b.js';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.js';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.d7de87c4.js';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.d7de87c4.js';
4
4
  import 'axios';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ApiClientBase, ApiClientError } from '@mittwald/api-client-commons';
2
2
  export { assertStatus } from '@mittwald/api-client-commons';
3
- import { a as appExecuteAction, b as appGetApp, c as appGetAppinstallation, d as appUninstallAppinstallation, e as appPatchAppinstallation, f as appGetAppversion, g as appGetInstalledSystemsoftwareForAppinstallation, h as appGetMissingDependenciesForAppinstallation, i as appGetSystemsoftware, j as appGetSystemsoftwareversion, k as appLinkDatabase, l as appListAppinstallations, m as appRequestAppinstallation, n as appListApps, o as appListAppversions, p as appListSystemsoftwares, q as appListSystemsoftwareversions, r as appListUpdateCandidatesForAppversion, s as appRequestAppinstallationCopy, t as appRetrieveStatus, u as appUnlinkDatabase, v as appSetDatabaseUsers, w as articleGetArticle, x as articleListArticles, y as backupCreateProjectBackupExport, z as backupDeleteProjectBackupExport, A as backupListProjectBackupSchedules, B as backupCreateProjectBackupSchedule, C as backupListProjectBackups, D as backupCreateProjectBackup, E as backupGetProjectBackupSchedule, F as backupDeleteProjectBackupSchedule, G as backupUpdateProjectBackupSchedule, H as backupGetProjectBackup, I as backupDeleteProjectBackup, J as backupUpdateProjectBackupDescription, K as contractTerminateContractItem, L as contractCancelContractItemTermination, M as contractCancelContractTariffChange, N as contractTerminateContract, O as contractCancelContractTermination, P as contractGetBaseItemOfContract, Q as contractGetDetailOfContractByDomain, R as contractGetDetailOfContractByProject, S as contractGetDetailOfContractByServer, T as contractGetDetailOfContractItem, U as contractGetDetailOfContract, V as contractGetNextTerminationDateForItem, W as contractListContracts, X as invoiceDetail, Y as invoiceGetDetailOfInvoiceSettings, Z as invoiceUpdateInvoiceSettings, _ as invoiceGetFileAccessToken, $ as invoiceListCustomerInvoices, a0 as orderCreateOrder, a1 as orderCreateTariffChange, a2 as orderGetOrder, a3 as orderListCustomerOrders, a4 as orderListProjectOrders, a5 as orderPreviewOrder, a6 as orderPreviewTariffChange, a7 as conversationListConversations, a8 as conversationCreateConversation, a9 as conversationListMessagesByConversation, aa as conversationCreateMessage, ab as conversationGetCategory, ac as conversationGetConversationMembers, ad as conversationGetConversation, ae as conversationUpdateConversation, af as conversationGetFileAccessToken, ag as conversationListCategories, ah as conversationRequestFileUpload, ai as conversationSetConversationStatus, aj as conversationUpdateMessage, ak as cronjobAbortExecution, al as cronjobListCronjobs, am as cronjobCreateCronjob, an as cronjobListExecutions, ao as cronjobCreateExecution, ap as cronjobGetCronjob, aq as cronjobDeleteCronjob, ar as cronjobUpdateCronjob, as as cronjobGetExecution, at as cronjobUpdateCronjobAppId, au as customerAcceptCustomerInvite, av as customerListOfCustomerCategories, aw as customerCreateCategory, ax as customerCreateCustomerInvite, ay as customerListCustomers, az as customerCreateCustomer, aA as customerDeclineCustomerInvite, aB as customerGetCustomerCategory, aC as customerUpdateCategory, aD as customerDeleteCategory, aE as customerGetCustomerInvite, aF as customerDeleteCustomerInvite, aG as customerGetCustomerMembership, aH as customerDeleteCustomerMembership, aI as customerUpdateCustomerMembership, aJ as customerGetCustomer, aK as customerUpdateCustomer, aL as customerDeleteCustomer, aM as customerGetCustomerTokenInvite, aN as customerIsCustomerLegallyCompetent, aO as customerLeaveCustomer, aP as customerListCustomerInvites, aQ as customerListCustomerMemberships, aR as customerListInvitesForCustomer, aS as customerListMembershipsForCustomer, aT as customerRequestAvatarUpload, aU as customerRemoveAvatar, aV as customerResendCustomerInviteMail, aW as databaseListMysqlDatabases, aX as databaseCreateMysqlDatabase, aY as databaseListMysqlUsers, aZ as databaseCreateMysqlUser, a_ as databaseListRedisDatabases, a$ as databaseCreateRedisDatabase, b0 as databaseGetMysqlDatabase, b1 as databaseDeleteMysqlDatabase, b2 as databaseGetMysqlUser, b3 as databaseUpdateMysqlUser, b4 as databaseDeleteMysqlUser, b5 as databaseGetRedisDatabase, b6 as databaseDeleteRedisDatabase, b7 as databaseDisableMysqlUser, b8 as databaseEnableMysqlUser, b9 as databaseGetMysqlUserPhpMyAdminUrl, ba as databaseListMysqlCharsets, bb as databaseListMysqlVersions, bc as databaseListRedisVersions, bd as databaseUpdateMysqlDatabaseDefaultCharset, be as databaseUpdateMysqlDatabaseDescription, bf as databaseUpdateMysqlUserPassword, bg as databaseUpdateRedisDatabaseConfiguration, bh as databaseUpdateRedisDatabaseDescription, bi as newsletterSubscribeUser, bj as newsletterGetInfo, bk as newsletterUnsubscribeUser, bl as notificationsCountUnreadNotifications, bm as notificationsListNotifications, bn as notificationsReadAllNotifications, bo as notificationsReadNotification, bp as dnsCreateDnsZone, bq as dnsGetDnsZone, br as dnsDeleteDnsZone, bs as dnsListDnsZones, bt as dnsSetRecordSetManaged, bu as dnsUpdateRecordSet, bv as domainAbortDomainDeclaration, bw as domainCheckDomainRegistrability, bx as domainListDomains, by as domainCreateDomainAuthCode, bz as domainUpdateDomainNameservers, bA as domainGetDomain, bB as domainDeleteDomain, bC as domainGetLatestScreenshot, bD as domainListTldContactSchemas, bE as domainListTlds, bF as domainResendDomainEmail, bG as domainUpdateDomainAuthCode, bH as domainUpdateDomainContact, bI as domainUpdateDomainProjectId, bJ as ingressListIngresses, bK as ingressCreateIngress, bL as ingressGetIngress, bM as ingressDeleteIngress, bN as ingressIngressVerifyOwnership, bO as ingressUpdateIngressPaths, bP as ingressRequestIngressAcmeCertificateIssuance, bQ as ingressUpdateIngressTls, bR as fileCreateFile, bS as fileGetFileMeta, bT as fileGetFileUploadTokenRules, bU as fileGetFileUploadTypeRules, bV as fileGetFile, bW as mailListDeliveryBoxes, bX as mailCreateDeliverybox, bY as mailListMailAddresses, bZ as mailCreateMailAddress, b_ as mailGetDeliveryBox, b$ as mailDeleteDeliveryBox, c0 as mailGetMailAddress, c1 as mailDeleteMailAddress, c2 as mailListProjectMailSettings, c3 as mailUpdateDeliveryBoxDescription, c4 as mailUpdateDeliveryBoxPassword, c5 as mailUpdateMailAddressAddress, c6 as mailUpdateMailAddressAutoresponder, c7 as mailUpdateMailAddressCatchAll, c8 as mailUpdateMailAddressForwardAddresses, c9 as mailUpdateMailAddressPassword, ca as mailUpdateMailAddressQuota, cb as mailUpdateMailAddressSpamProtection, cc as mailUpdateProjectMailSetting, cd as pageinsightsGetPerformanceData, ce as pageinsightsGetStraceData, cf as pageinsightsListPerformanceDataForProject, cg as pageinsightsScheduleStrace, ch as passwordValidationGetPasswordPolicy, ci as userAddPhoneNumber, cj as userRemovePhoneNumber, ck as userAuthenticateMfa, cl as userAuthenticate, cm as userAuthenticateWithAccessTokenRetrievalKey, cn as userGetOwnEmail, co as userChangeEmail, cp as userChangePassword, cq as userCheckToken, cr as userGetMfaStatus, cs as userResetRecoverycodes, ct as userConfirmMfa, cu as userDisableMfa, cv as userConfirmPasswordReset, cw as userCreateAccessTokenRetrievalKey, cx as userListApiTokens, cy as userCreateApiToken, cz as userCreateFeedback, cA as userListSshKeys, cB as userCreateSshKey, cC as userGetApiToken, cD as userEditApiToken, cE as userDeleteApiToken, cF as userGetSshKey, cG as userEditSshKey, cH as userDeleteSshKey, cI as userDeleteUser, cJ as userGetOwnAccount, cK as userUpdateAccount, cL as userGetPasswordUpdatedAt, cM as userGetPersonalizedSettings, cN as userUpdatePersonalizedSettings, cO as userGetPollStatus, cP as userPostPollStatus, cQ as userGetSession, cR as userTerminateSession, cS as userGetUser, cT as userUpdatePersonalInformation, cU as userInitMfa, cV as userInitPasswordReset, cW as userListFeedback, cX as userListSessions, cY as userTerminateAllSessions, cZ as userLogout, c_ as userOauthGetAuthorization, c$ as userOauthRetrieveAccessToken, d0 as userRegister, d1 as userRequestAvatarUpload, d2 as userRemoveAvatar, d3 as userResendVerificationEmail, d4 as userSupportCodeRequest, d5 as userVerifyEmail, d6 as userVerifyPhoneNumber, d7 as userVerifyRegistration, d8 as projectAcceptProjectInvite, d9 as projectListInvitesForProject, da as projectCreateProjectInvite, db as projectCreateProject, dc as projectDeclineProjectInvite, dd as projectRequestProjectAvatarUpload, de as projectDeleteProjectAvatar, df as projectGetProjectInvite, dg as projectDeleteProjectInvite, dh as projectGetProjectMembership, di as projectDeleteProjectMembership, dj as projectUpdateProjectMembership, dk as projectGetProject, dl as projectDeleteProject, dm as projectRequestServerAvatarUpload, dn as projectDeleteServerAvatar, dp as projectGetProjectTokenInvite, dq as projectGetSelfMembershipForProject, dr as projectGetServer, ds as projectLeaveProject, dt as projectListMembershipsForProject, du as projectListProjectInvites, dv as projectListProjectMemberships, dw as projectListProjects, dx as projectListServers, dy as projectResendProjectInviteMail, dz as projectUpdateProjectDescription, dA as projectUpdateServerDescription, dB as projectFileSystemGetDirectories, dC as projectFileSystemGetDiskUsage, dD as projectFileSystemGetFileContent, dE as projectFileSystemGetJwt, dF as projectFileSystemListFiles, dG as relocationCreateLegacyTariffChange, dH as relocationCreateRelocation, dI as sftpUserListSftpUsers, dJ as sftpUserCreateSftpUser, dK as sftpUserGetSftpUser, dL as sftpUserDeleteSftpUser, dM as sftpUserUpdateSftpUser, dN as sshUserListSshUsers, dO as sshUserCreateSshUser, dP as sshUserGetSshUser, dQ as sshUserDeleteSshUser, dR as sshUserUpdateSshUser } from './shared/api-client.5e93de47.mjs';
3
+ import { a as appExecuteAction, b as appGetApp, c as appGetAppinstallation, d as appUninstallAppinstallation, e as appPatchAppinstallation, f as appGetAppversion, g as appGetInstalledSystemsoftwareForAppinstallation, h as appGetMissingDependenciesForAppinstallation, i as appGetSystemsoftware, j as appGetSystemsoftwareversion, k as appLinkDatabase, l as appListAppinstallations, m as appRequestAppinstallation, n as appListApps, o as appListAppversions, p as appListSystemsoftwares, q as appListSystemsoftwareversions, r as appListUpdateCandidatesForAppversion, s as appRequestAppinstallationCopy, t as appRetrieveStatus, u as appUnlinkDatabase, v as appSetDatabaseUsers, w as articleGetArticle, x as articleListArticles, y as backupCreateProjectBackupExport, z as backupDeleteProjectBackupExport, A as backupListProjectBackupSchedules, B as backupCreateProjectBackupSchedule, C as backupListProjectBackups, D as backupCreateProjectBackup, E as backupGetProjectBackupSchedule, F as backupDeleteProjectBackupSchedule, G as backupUpdateProjectBackupSchedule, H as backupGetProjectBackup, I as backupDeleteProjectBackup, J as backupUpdateProjectBackupDescription, K as contractTerminateContractItem, L as contractCancelContractItemTermination, M as contractCancelContractTariffChange, N as contractTerminateContract, O as contractCancelContractTermination, P as contractGetBaseItemOfContract, Q as contractGetDetailOfContractByDomain, R as contractGetDetailOfContractByProject, S as contractGetDetailOfContractByServer, T as contractGetDetailOfContractItem, U as contractGetDetailOfContract, V as contractGetNextTerminationDateForItem, W as contractListContracts, X as invoiceDetail, Y as invoiceGetDetailOfInvoiceSettings, Z as invoiceUpdateInvoiceSettings, _ as invoiceGetFileAccessToken, $ as invoiceListCustomerInvoices, a0 as orderCreateOrder, a1 as orderCreateTariffChange, a2 as orderGetOrder, a3 as orderListCustomerOrders, a4 as orderListProjectOrders, a5 as orderPreviewOrder, a6 as orderPreviewTariffChange, a7 as conversationListConversations, a8 as conversationCreateConversation, a9 as conversationListMessagesByConversation, aa as conversationCreateMessage, ab as conversationGetCategory, ac as conversationGetConversationMembers, ad as conversationGetConversation, ae as conversationUpdateConversation, af as conversationGetFileAccessToken, ag as conversationListCategories, ah as conversationRequestFileUpload, ai as conversationSetConversationStatus, aj as conversationUpdateMessage, ak as cronjobAbortExecution, al as cronjobListCronjobs, am as cronjobCreateCronjob, an as cronjobListExecutions, ao as cronjobCreateExecution, ap as cronjobGetCronjob, aq as cronjobDeleteCronjob, ar as cronjobUpdateCronjob, as as cronjobGetExecution, at as cronjobUpdateCronjobAppId, au as customerAcceptCustomerInvite, av as customerListOfCustomerCategories, aw as customerCreateCategory, ax as customerCreateCustomerInvite, ay as customerListCustomers, az as customerCreateCustomer, aA as customerDeclineCustomerInvite, aB as customerGetCustomerCategory, aC as customerUpdateCategory, aD as customerDeleteCategory, aE as customerGetCustomerInvite, aF as customerDeleteCustomerInvite, aG as customerGetCustomerMembership, aH as customerDeleteCustomerMembership, aI as customerUpdateCustomerMembership, aJ as customerGetCustomer, aK as customerUpdateCustomer, aL as customerDeleteCustomer, aM as customerGetCustomerTokenInvite, aN as customerIsCustomerLegallyCompetent, aO as customerLeaveCustomer, aP as customerListCustomerInvites, aQ as customerListCustomerMemberships, aR as customerListInvitesForCustomer, aS as customerListMembershipsForCustomer, aT as customerRequestAvatarUpload, aU as customerRemoveAvatar, aV as customerResendCustomerInviteMail, aW as databaseListMysqlDatabases, aX as databaseCreateMysqlDatabase, aY as databaseListMysqlUsers, aZ as databaseCreateMysqlUser, a_ as databaseListRedisDatabases, a$ as databaseCreateRedisDatabase, b0 as databaseGetMysqlDatabase, b1 as databaseDeleteMysqlDatabase, b2 as databaseGetMysqlUser, b3 as databaseUpdateMysqlUser, b4 as databaseDeleteMysqlUser, b5 as databaseGetRedisDatabase, b6 as databaseDeleteRedisDatabase, b7 as databaseDisableMysqlUser, b8 as databaseEnableMysqlUser, b9 as databaseGetMysqlUserPhpMyAdminUrl, ba as databaseListMysqlCharsets, bb as databaseListMysqlVersions, bc as databaseListRedisVersions, bd as databaseUpdateMysqlDatabaseDefaultCharset, be as databaseUpdateMysqlDatabaseDescription, bf as databaseUpdateMysqlUserPassword, bg as databaseUpdateRedisDatabaseConfiguration, bh as databaseUpdateRedisDatabaseDescription, bi as newsletterSubscribeUser, bj as newsletterGetInfo, bk as newsletterUnsubscribeUser, bl as notificationsCountUnreadNotifications, bm as notificationsListNotifications, bn as notificationsReadAllNotifications, bo as notificationsReadNotification, bp as dnsCreateDnsZone, bq as dnsGetDnsZone, br as dnsDeleteDnsZone, bs as dnsListDnsZones, bt as dnsSetRecordSetManaged, bu as dnsUpdateRecordSet, bv as domainAbortDomainDeclaration, bw as domainCheckDomainRegistrability, bx as domainListDomains, by as domainCreateDomainAuthCode, bz as domainUpdateDomainNameservers, bA as domainGetDomain, bB as domainDeleteDomain, bC as domainGetLatestScreenshot, bD as domainListTldContactSchemas, bE as domainListTlds, bF as domainResendDomainEmail, bG as domainUpdateDomainAuthCode, bH as domainUpdateDomainContact, bI as domainUpdateDomainProjectId, bJ as ingressListIngresses, bK as ingressCreateIngress, bL as ingressGetIngress, bM as ingressDeleteIngress, bN as ingressIngressVerifyOwnership, bO as ingressUpdateIngressPaths, bP as ingressRequestIngressAcmeCertificateIssuance, bQ as ingressUpdateIngressTls, bR as fileCreateFile, bS as fileGetFileMeta, bT as fileGetFileUploadTokenRules, bU as fileGetFileUploadTypeRules, bV as fileGetFile, bW as mailListDeliveryBoxes, bX as mailCreateDeliverybox, bY as mailListMailAddresses, bZ as mailCreateMailAddress, b_ as mailGetDeliveryBox, b$ as mailDeleteDeliveryBox, c0 as mailGetMailAddress, c1 as mailDeleteMailAddress, c2 as mailListProjectMailSettings, c3 as mailUpdateDeliveryBoxDescription, c4 as mailUpdateDeliveryBoxPassword, c5 as mailUpdateMailAddressAddress, c6 as mailUpdateMailAddressAutoresponder, c7 as mailUpdateMailAddressCatchAll, c8 as mailUpdateMailAddressForwardAddresses, c9 as mailUpdateMailAddressPassword, ca as mailUpdateMailAddressQuota, cb as mailUpdateMailAddressSpamProtection, cc as mailUpdateProjectMailSetting, cd as pageinsightsGetPerformanceData, ce as pageinsightsGetStraceData, cf as pageinsightsListPerformanceDataForProject, cg as pageinsightsScheduleStrace, ch as passwordValidationGetPasswordPolicy, ci as userAddPhoneNumber, cj as userRemovePhoneNumber, ck as userAuthenticateMfa, cl as userAuthenticate, cm as userAuthenticateWithAccessTokenRetrievalKey, cn as userGetOwnEmail, co as userChangeEmail, cp as userChangePassword, cq as userCheckToken, cr as userGetMfaStatus, cs as userResetRecoverycodes, ct as userConfirmMfa, cu as userDisableMfa, cv as userConfirmPasswordReset, cw as userCreateAccessTokenRetrievalKey, cx as userListApiTokens, cy as userCreateApiToken, cz as userCreateFeedback, cA as userListSshKeys, cB as userCreateSshKey, cC as userGetApiToken, cD as userEditApiToken, cE as userDeleteApiToken, cF as userGetSshKey, cG as userEditSshKey, cH as userDeleteSshKey, cI as userDeleteUser, cJ as userGetOwnAccount, cK as userUpdateAccount, cL as userGetPasswordUpdatedAt, cM as userGetPersonalizedSettings, cN as userUpdatePersonalizedSettings, cO as userGetPollStatus, cP as userPostPollStatus, cQ as userGetSession, cR as userTerminateSession, cS as userGetUser, cT as userUpdatePersonalInformation, cU as userInitMfa, cV as userInitPasswordReset, cW as userListFeedback, cX as userListSessions, cY as userTerminateAllSessions, cZ as userLogout, c_ as userOauthGetAuthorization, c$ as userOauthRetrieveAccessToken, d0 as userRegister, d1 as userRequestAvatarUpload, d2 as userRemoveAvatar, d3 as userResendVerificationEmail, d4 as userSupportCodeRequest, d5 as userVerifyEmail, d6 as userVerifyPhoneNumber, d7 as userVerifyRegistration, d8 as projectAcceptProjectInvite, d9 as projectListInvitesForProject, da as projectCreateProjectInvite, db as projectCreateProject, dc as projectDeclineProjectInvite, dd as projectRequestProjectAvatarUpload, de as projectDeleteProjectAvatar, df as projectGetProjectInvite, dg as projectDeleteProjectInvite, dh as projectGetProjectMembership, di as projectDeleteProjectMembership, dj as projectUpdateProjectMembership, dk as projectGetProject, dl as projectDeleteProject, dm as projectRequestServerAvatarUpload, dn as projectDeleteServerAvatar, dp as projectGetProjectTokenInvite, dq as projectGetSelfMembershipForProject, dr as projectGetServer, ds as projectLeaveProject, dt as projectListMembershipsForProject, du as projectListProjectInvites, dv as projectListProjectMemberships, dw as projectListProjects, dx as projectListServers, dy as projectResendProjectInviteMail, dz as projectUpdateProjectDescription, dA as projectUpdateServerDescription, dB as projectFileSystemGetDirectories, dC as projectFileSystemGetDiskUsage, dD as projectFileSystemGetFileContent, dE as projectFileSystemGetJwt, dF as projectFileSystemListFiles, dG as relocationCreateLegacyTariffChange, dH as relocationCreateRelocation, dI as sftpUserListSftpUsers, dJ as sftpUserCreateSftpUser, dK as sftpUserGetSftpUser, dL as sftpUserDeleteSftpUser, dM as sftpUserUpdateSftpUser, dN as sshUserListSshUsers, dO as sshUserCreateSshUser, dP as sshUserGetSshUser, dQ as sshUserDeleteSshUser, dR as sshUserUpdateSshUser } from './shared/api-client.f43cba45.mjs';
4
4
  import { isBrowser } from 'browser-or-node';
5
5
 
6
6
  var __defProp$1 = Object.defineProperty;
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.mjs';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.d7de87c4.mjs';
3
3
  import '@mittwald/api-client-commons';
4
4
  import 'axios';
5
5
 
@@ -1252,10 +1252,11 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1252
1252
  fileId: string;
1253
1253
  headers?: {
1254
1254
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1255
- Accept?: "binary" | "base64" | "ocr" | undefined;
1256
- Download?: boolean | undefined;
1255
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
1256
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
1257
1257
  Token?: string | undefined;
1258
1258
  } | undefined;
1259
+ fileName?: string | undefined;
1259
1260
  }) => _mittwald_react_use_promise.AsyncResource<string>;
1260
1261
  };
1261
1262
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.js';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.d7de87c4.js';
3
3
  import '@mittwald/api-client-commons';
4
4
  import 'axios';
5
5
 
@@ -1252,10 +1252,11 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1252
1252
  fileId: string;
1253
1253
  headers?: {
1254
1254
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1255
- Accept?: "binary" | "base64" | "ocr" | undefined;
1256
- Download?: boolean | undefined;
1255
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
1256
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
1257
1257
  Token?: string | undefined;
1258
1258
  } | undefined;
1259
+ fileName?: string | undefined;
1259
1260
  }) => _mittwald_react_use_promise.AsyncResource<string>;
1260
1261
  };
1261
1262
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
package/dist/react.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiCallAsyncResourceFactory } from '@mittwald/api-client-commons/react';
2
- import { b as appGetApp, c as appGetAppinstallation, f as appGetAppversion, g as appGetInstalledSystemsoftwareForAppinstallation, h as appGetMissingDependenciesForAppinstallation, i as appGetSystemsoftware, j as appGetSystemsoftwareversion, l as appListAppinstallations, n as appListApps, o as appListAppversions, p as appListSystemsoftwares, q as appListSystemsoftwareversions, r as appListUpdateCandidatesForAppversion, t as appRetrieveStatus, w as articleGetArticle, x as articleListArticles, A as backupListProjectBackupSchedules, C as backupListProjectBackups, E as backupGetProjectBackupSchedule, H as backupGetProjectBackup, P as contractGetBaseItemOfContract, Q as contractGetDetailOfContractByDomain, R as contractGetDetailOfContractByProject, S as contractGetDetailOfContractByServer, T as contractGetDetailOfContractItem, U as contractGetDetailOfContract, V as contractGetNextTerminationDateForItem, W as contractListContracts, X as invoiceDetail, Y as invoiceGetDetailOfInvoiceSettings, _ as invoiceGetFileAccessToken, $ as invoiceListCustomerInvoices, a2 as orderGetOrder, a3 as orderListCustomerOrders, a4 as orderListProjectOrders, a7 as conversationListConversations, a9 as conversationListMessagesByConversation, ab as conversationGetCategory, ac as conversationGetConversationMembers, ad as conversationGetConversation, af as conversationGetFileAccessToken, ag as conversationListCategories, al as cronjobListCronjobs, an as cronjobListExecutions, ap as cronjobGetCronjob, as as cronjobGetExecution, av as customerListOfCustomerCategories, ay as customerListCustomers, aB as customerGetCustomerCategory, aE as customerGetCustomerInvite, aG as customerGetCustomerMembership, aJ as customerGetCustomer, aM as customerGetCustomerTokenInvite, aN as customerIsCustomerLegallyCompetent, aP as customerListCustomerInvites, aQ as customerListCustomerMemberships, aR as customerListInvitesForCustomer, aS as customerListMembershipsForCustomer, aW as databaseListMysqlDatabases, aY as databaseListMysqlUsers, a_ as databaseListRedisDatabases, b0 as databaseGetMysqlDatabase, b2 as databaseGetMysqlUser, b5 as databaseGetRedisDatabase, b9 as databaseGetMysqlUserPhpMyAdminUrl, ba as databaseListMysqlCharsets, bb as databaseListMysqlVersions, bc as databaseListRedisVersions, bq as dnsGetDnsZone, bs as dnsListDnsZones, bx as domainListDomains, bA as domainGetDomain, bC as domainGetLatestScreenshot, bD as domainListTldContactSchemas, bE as domainListTlds, bJ as ingressListIngresses, bL as ingressGetIngress, bS as fileGetFileMeta, bT as fileGetFileUploadTokenRules, bU as fileGetFileUploadTypeRules, bV as fileGetFile, bW as mailListDeliveryBoxes, bY as mailListMailAddresses, b_ as mailGetDeliveryBox, c0 as mailGetMailAddress, c2 as mailListProjectMailSettings, bj as newsletterGetInfo, bl as notificationsCountUnreadNotifications, bm as notificationsListNotifications, cd as pageinsightsGetPerformanceData, ce as pageinsightsGetStraceData, cf as pageinsightsListPerformanceDataForProject, ch as passwordValidationGetPasswordPolicy, cn as userGetOwnEmail, cr as userGetMfaStatus, cx as userListApiTokens, cA as userListSshKeys, cC as userGetApiToken, cF as userGetSshKey, cJ as userGetOwnAccount, cL as userGetPasswordUpdatedAt, cM as userGetPersonalizedSettings, cO as userGetPollStatus, cQ as userGetSession, cS as userGetUser, cW as userListFeedback, cX as userListSessions, c_ as userOauthGetAuthorization, d4 as userSupportCodeRequest, d9 as projectListInvitesForProject, df as projectGetProjectInvite, dh as projectGetProjectMembership, dk as projectGetProject, dp as projectGetProjectTokenInvite, dq as projectGetSelfMembershipForProject, dr as projectGetServer, dt as projectListMembershipsForProject, du as projectListProjectInvites, dv as projectListProjectMemberships, dw as projectListProjects, dx as projectListServers, dB as projectFileSystemGetDirectories, dC as projectFileSystemGetDiskUsage, dD as projectFileSystemGetFileContent, dE as projectFileSystemGetJwt, dF as projectFileSystemListFiles, dI as sftpUserListSftpUsers, dK as sftpUserGetSftpUser, dN as sshUserListSshUsers, dP as sshUserGetSshUser } from './shared/api-client.5e93de47.mjs';
2
+ import { b as appGetApp, c as appGetAppinstallation, f as appGetAppversion, g as appGetInstalledSystemsoftwareForAppinstallation, h as appGetMissingDependenciesForAppinstallation, i as appGetSystemsoftware, j as appGetSystemsoftwareversion, l as appListAppinstallations, n as appListApps, o as appListAppversions, p as appListSystemsoftwares, q as appListSystemsoftwareversions, r as appListUpdateCandidatesForAppversion, t as appRetrieveStatus, w as articleGetArticle, x as articleListArticles, A as backupListProjectBackupSchedules, C as backupListProjectBackups, E as backupGetProjectBackupSchedule, H as backupGetProjectBackup, P as contractGetBaseItemOfContract, Q as contractGetDetailOfContractByDomain, R as contractGetDetailOfContractByProject, S as contractGetDetailOfContractByServer, T as contractGetDetailOfContractItem, U as contractGetDetailOfContract, V as contractGetNextTerminationDateForItem, W as contractListContracts, X as invoiceDetail, Y as invoiceGetDetailOfInvoiceSettings, _ as invoiceGetFileAccessToken, $ as invoiceListCustomerInvoices, a2 as orderGetOrder, a3 as orderListCustomerOrders, a4 as orderListProjectOrders, a7 as conversationListConversations, a9 as conversationListMessagesByConversation, ab as conversationGetCategory, ac as conversationGetConversationMembers, ad as conversationGetConversation, af as conversationGetFileAccessToken, ag as conversationListCategories, al as cronjobListCronjobs, an as cronjobListExecutions, ap as cronjobGetCronjob, as as cronjobGetExecution, av as customerListOfCustomerCategories, ay as customerListCustomers, aB as customerGetCustomerCategory, aE as customerGetCustomerInvite, aG as customerGetCustomerMembership, aJ as customerGetCustomer, aM as customerGetCustomerTokenInvite, aN as customerIsCustomerLegallyCompetent, aP as customerListCustomerInvites, aQ as customerListCustomerMemberships, aR as customerListInvitesForCustomer, aS as customerListMembershipsForCustomer, aW as databaseListMysqlDatabases, aY as databaseListMysqlUsers, a_ as databaseListRedisDatabases, b0 as databaseGetMysqlDatabase, b2 as databaseGetMysqlUser, b5 as databaseGetRedisDatabase, b9 as databaseGetMysqlUserPhpMyAdminUrl, ba as databaseListMysqlCharsets, bb as databaseListMysqlVersions, bc as databaseListRedisVersions, bq as dnsGetDnsZone, bs as dnsListDnsZones, bx as domainListDomains, bA as domainGetDomain, bC as domainGetLatestScreenshot, bD as domainListTldContactSchemas, bE as domainListTlds, bJ as ingressListIngresses, bL as ingressGetIngress, bS as fileGetFileMeta, bT as fileGetFileUploadTokenRules, bU as fileGetFileUploadTypeRules, bV as fileGetFile, bW as mailListDeliveryBoxes, bY as mailListMailAddresses, b_ as mailGetDeliveryBox, c0 as mailGetMailAddress, c2 as mailListProjectMailSettings, bj as newsletterGetInfo, bl as notificationsCountUnreadNotifications, bm as notificationsListNotifications, cd as pageinsightsGetPerformanceData, ce as pageinsightsGetStraceData, cf as pageinsightsListPerformanceDataForProject, ch as passwordValidationGetPasswordPolicy, cn as userGetOwnEmail, cr as userGetMfaStatus, cx as userListApiTokens, cA as userListSshKeys, cC as userGetApiToken, cF as userGetSshKey, cJ as userGetOwnAccount, cL as userGetPasswordUpdatedAt, cM as userGetPersonalizedSettings, cO as userGetPollStatus, cQ as userGetSession, cS as userGetUser, cW as userListFeedback, cX as userListSessions, c_ as userOauthGetAuthorization, d4 as userSupportCodeRequest, d9 as projectListInvitesForProject, df as projectGetProjectInvite, dh as projectGetProjectMembership, dk as projectGetProject, dp as projectGetProjectTokenInvite, dq as projectGetSelfMembershipForProject, dr as projectGetServer, dt as projectListMembershipsForProject, du as projectListProjectInvites, dv as projectListProjectMemberships, dw as projectListProjects, dx as projectListServers, dB as projectFileSystemGetDirectories, dC as projectFileSystemGetDiskUsage, dD as projectFileSystemGetFileContent, dE as projectFileSystemGetJwt, dF as projectFileSystemListFiles, dI as sftpUserListSftpUsers, dK as sftpUserGetSftpUser, dN as sshUserListSshUsers, dP as sshUserGetSshUser } from './shared/api-client.f43cba45.mjs';
3
3
  import '@mittwald/react-use-promise';
4
4
 
5
5
  var __defProp = Object.defineProperty;
@@ -348,7 +348,7 @@ declare const fileGetFileUploadTokenRules: OpenAPIOperation$1<RequestType$1<Simp
348
348
  /** Get a FileUploadType's rules. */
349
349
  declare const fileGetFileUploadTypeRules: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
350
350
  /** Get a File. */
351
- declare const fileGetFile: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$422.Content.ApplicationJson>, 422, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
351
+ declare const fileGetFile: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$200.Content.TextPlainBase64>, 200, "text/plain;base64"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$422.Content.ApplicationJson>, 422, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
352
352
  /** List Ingresses. */
353
353
  declare const ingressListIngresses: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
354
354
  /** Create an Ingress. */
@@ -2836,6 +2836,10 @@ declare namespace MittwaldAPIV2 {
2836
2836
  */
2837
2837
  type: string;
2838
2838
  }
2839
+ interface FileFileType {
2840
+ extensions: string[];
2841
+ mimeType: string;
2842
+ }
2839
2843
  interface FileFileUploadRules {
2840
2844
  fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
2841
2845
  maxSizeInKB: number;
@@ -3753,10 +3757,6 @@ declare namespace MittwaldAPIV2 {
3753
3757
  location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
3754
3758
  tokenId: string;
3755
3759
  }
3756
- interface FileFileType {
3757
- extensions: string[];
3758
- mimeType: string;
3759
- }
3760
3760
  interface CommonsAddress {
3761
3761
  street: string;
3762
3762
  houseNumber: string;
@@ -9759,15 +9759,16 @@ declare namespace MittwaldAPIV2 {
9759
9759
  }
9760
9760
  }
9761
9761
  }
9762
- namespace V2FilesFileId {
9762
+ namespace V2FilesFileIdFileName {
9763
9763
  namespace Get {
9764
9764
  namespace Parameters {
9765
9765
  type Path = {
9766
9766
  fileId: string;
9767
+ fileName?: string;
9767
9768
  };
9768
9769
  type Header = {
9769
- Accept?: "binary" | "base64" | "ocr";
9770
- Download?: boolean;
9770
+ Accept?: "application/octet-stream" | "text/plain;base64";
9771
+ "Content-Disposition"?: "inline" | "attachment";
9771
9772
  Token?: string;
9772
9773
  };
9773
9774
  type Query = {};
@@ -9776,8 +9777,7 @@ declare namespace MittwaldAPIV2 {
9776
9777
  namespace $200 {
9777
9778
  namespace Content {
9778
9779
  type ApplicationOctetStream = string;
9779
- type Base64 = string;
9780
- type Ocr = string;
9780
+ type TextPlainBase64 = string;
9781
9781
  }
9782
9782
  }
9783
9783
  namespace $400 {
@@ -22074,10 +22074,11 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22074
22074
  fileId: string;
22075
22075
  headers?: {
22076
22076
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
22077
- Accept?: "binary" | "base64" | "ocr" | undefined;
22078
- Download?: boolean | undefined;
22077
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
22078
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
22079
22079
  Token?: string | undefined;
22080
22080
  } | undefined;
22081
+ fileName?: string | undefined;
22081
22082
  }) => ResponsePromise<OpenAPIOperation<{
22082
22083
  headers?: Partial<{
22083
22084
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -22085,16 +22086,17 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22085
22086
  } & {
22086
22087
  pathParameters: {
22087
22088
  fileId: string;
22089
+ fileName?: string | undefined;
22088
22090
  };
22089
22091
  } & {
22090
22092
  headers: {
22091
- Accept?: "binary" | "base64" | "ocr" | undefined;
22092
- Download?: boolean | undefined;
22093
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
22094
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
22093
22095
  Token?: string | undefined;
22094
22096
  } & Partial<{
22095
22097
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22096
22098
  }>;
22097
- }, Response<string, 200, "application/octet-stream"> | Response<string, 200, "base64"> | Response<string, 200, "ocr"> | Response<{
22099
+ }, Response<string, 200, "application/octet-stream"> | Response<string, 200, "text/plain;base64"> | Response<{
22098
22100
  [x: string]: unknown;
22099
22101
  }, 400, "application/json"> | Response<{
22100
22102
  [x: string]: unknown;
@@ -348,7 +348,7 @@ declare const fileGetFileUploadTokenRules: OpenAPIOperation$1<RequestType$1<Simp
348
348
  /** Get a FileUploadType's rules. */
349
349
  declare const fileGetFileUploadTypeRules: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
350
350
  /** Get a File. */
351
- declare const fileGetFile: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$422.Content.ApplicationJson>, 422, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
351
+ declare const fileGetFile: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$200.Content.TextPlainBase64>, 200, "text/plain;base64"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$422.Content.ApplicationJson>, 422, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdFileName.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
352
352
  /** List Ingresses. */
353
353
  declare const ingressListIngresses: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
354
354
  /** Create an Ingress. */
@@ -2836,6 +2836,10 @@ declare namespace MittwaldAPIV2 {
2836
2836
  */
2837
2837
  type: string;
2838
2838
  }
2839
+ interface FileFileType {
2840
+ extensions: string[];
2841
+ mimeType: string;
2842
+ }
2839
2843
  interface FileFileUploadRules {
2840
2844
  fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
2841
2845
  maxSizeInKB: number;
@@ -3753,10 +3757,6 @@ declare namespace MittwaldAPIV2 {
3753
3757
  location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
3754
3758
  tokenId: string;
3755
3759
  }
3756
- interface FileFileType {
3757
- extensions: string[];
3758
- mimeType: string;
3759
- }
3760
3760
  interface CommonsAddress {
3761
3761
  street: string;
3762
3762
  houseNumber: string;
@@ -9759,15 +9759,16 @@ declare namespace MittwaldAPIV2 {
9759
9759
  }
9760
9760
  }
9761
9761
  }
9762
- namespace V2FilesFileId {
9762
+ namespace V2FilesFileIdFileName {
9763
9763
  namespace Get {
9764
9764
  namespace Parameters {
9765
9765
  type Path = {
9766
9766
  fileId: string;
9767
+ fileName?: string;
9767
9768
  };
9768
9769
  type Header = {
9769
- Accept?: "binary" | "base64" | "ocr";
9770
- Download?: boolean;
9770
+ Accept?: "application/octet-stream" | "text/plain;base64";
9771
+ "Content-Disposition"?: "inline" | "attachment";
9771
9772
  Token?: string;
9772
9773
  };
9773
9774
  type Query = {};
@@ -9776,8 +9777,7 @@ declare namespace MittwaldAPIV2 {
9776
9777
  namespace $200 {
9777
9778
  namespace Content {
9778
9779
  type ApplicationOctetStream = string;
9779
- type Base64 = string;
9780
- type Ocr = string;
9780
+ type TextPlainBase64 = string;
9781
9781
  }
9782
9782
  }
9783
9783
  namespace $400 {
@@ -22074,10 +22074,11 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22074
22074
  fileId: string;
22075
22075
  headers?: {
22076
22076
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
22077
- Accept?: "binary" | "base64" | "ocr" | undefined;
22078
- Download?: boolean | undefined;
22077
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
22078
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
22079
22079
  Token?: string | undefined;
22080
22080
  } | undefined;
22081
+ fileName?: string | undefined;
22081
22082
  }) => ResponsePromise<OpenAPIOperation<{
22082
22083
  headers?: Partial<{
22083
22084
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -22085,16 +22086,17 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22085
22086
  } & {
22086
22087
  pathParameters: {
22087
22088
  fileId: string;
22089
+ fileName?: string | undefined;
22088
22090
  };
22089
22091
  } & {
22090
22092
  headers: {
22091
- Accept?: "binary" | "base64" | "ocr" | undefined;
22092
- Download?: boolean | undefined;
22093
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
22094
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
22093
22095
  Token?: string | undefined;
22094
22096
  } & Partial<{
22095
22097
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22096
22098
  }>;
22097
- }, Response<string, 200, "application/octet-stream"> | Response<string, 200, "base64"> | Response<string, 200, "ocr"> | Response<{
22099
+ }, Response<string, 200, "application/octet-stream"> | Response<string, 200, "text/plain;base64"> | Response<{
22098
22100
  [x: string]: unknown;
22099
22101
  }, 400, "application/json"> | Response<{
22100
22102
  [x: string]: unknown;
@@ -744,7 +744,7 @@ const fileGetFileUploadTypeRules = {
744
744
  operationId: "file-get-file-upload-type-rules"
745
745
  };
746
746
  const fileGetFile = {
747
- path: "/v2/files/{fileId}",
747
+ path: "/v2/files/{fileId}/{fileName}",
748
748
  method: "GET",
749
749
  operationId: "file-get-file"
750
750
  };
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.50';
1
+ export declare const MittwaldAPIClientVersion = '3.1.52';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.50';
1
+ export const MittwaldAPIClientVersion = '3.1.52';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.50",
3
+ "version": "3.1.52",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",