@mittwald/api-client 3.1.13 → 3.1.14

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.
@@ -1090,6 +1090,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1090
1090
  projectId: string;
1091
1091
  txtRecord: string;
1092
1092
  }>;
1093
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
1094
+ getLatestScreenshot: (conf: {
1095
+ data: {
1096
+ domainName: string;
1097
+ path: string;
1098
+ };
1099
+ domainId: string;
1100
+ headers?: {
1101
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1102
+ "x-access-token"?: string | undefined;
1103
+ } | undefined;
1104
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1105
+ reference?: string | undefined;
1106
+ }>;
1093
1107
  /** List the DomainOwnerships of a project. */
1094
1108
  listDomainOwnerships: (conf: {
1095
1109
  projectId: string;
@@ -1159,20 +1173,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1159
1173
  projectId: string;
1160
1174
  tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1161
1175
  }>;
1162
- /** Get the latest screenshot's FileReference belonging to a Domain. */
1163
- getLatestScreenshot: (conf: {
1164
- data: {
1165
- domainName: string;
1166
- path: string;
1167
- };
1168
- domainId: string;
1169
- headers?: {
1170
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1171
- "x-access-token"?: string | undefined;
1172
- } | undefined;
1173
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1174
- reference?: string | undefined;
1175
- }>;
1176
1176
  };
1177
1177
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1178
1178
  /** Get a File's meta. */
@@ -185,6 +185,8 @@ const buildDomainApi = (baseClient) => ({
185
185
  getDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
186
186
  /** Get a DomainOwnership. */
187
187
  getDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
188
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
189
+ getLatestScreenshot: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
188
190
  /** List the DomainOwnerships of a project. */
189
191
  listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
190
192
  /** List Domains belonging to a Project. */
@@ -197,8 +199,6 @@ const buildDomainApi = (baseClient) => ({
197
199
  ingressListIngresses: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
198
200
  /** Get an Ingress. */
199
201
  ingressGetIngress: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
200
- /** Get the latest screenshot's FileReference belonging to a Domain. */
201
- getLatestScreenshot: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
202
202
  });
203
203
  const buildFileApi = (baseClient) => ({
204
204
  /** Get a File's meta. */
@@ -5356,6 +5356,41 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5356
5356
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5357
5357
  [x: string]: unknown;
5358
5358
  }, 404, "application/json">>>;
5359
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
5360
+ getLatestScreenshot: (request: {
5361
+ data: {
5362
+ domainName: string;
5363
+ path: string;
5364
+ };
5365
+ domainId: string;
5366
+ headers?: {
5367
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5368
+ "x-access-token"?: string | undefined;
5369
+ } | undefined;
5370
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5371
+ data: {
5372
+ domainName: string;
5373
+ path: string;
5374
+ };
5375
+ } & {
5376
+ pathParameters: {
5377
+ domainId: string;
5378
+ };
5379
+ } & {
5380
+ headers?: Partial<{
5381
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5382
+ }> | undefined;
5383
+ } & {
5384
+ headers: {
5385
+ "x-access-token"?: string | undefined;
5386
+ } & Partial<{
5387
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5388
+ }>;
5389
+ }, import("@mittwald/api-client-commons").Response<{
5390
+ reference?: string | undefined;
5391
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5392
+ [x: string]: unknown;
5393
+ }, 404, "application/json">>>;
5359
5394
  /** List the DomainOwnerships of a project. */
5360
5395
  listDomainOwnerships: (request: {
5361
5396
  projectId: string;
@@ -5835,41 +5870,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5835
5870
  }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5836
5871
  [x: string]: unknown;
5837
5872
  }, 404, "application/json">>>;
5838
- /** Get the latest screenshot's FileReference belonging to a Domain. */
5839
- getLatestScreenshot: (request: {
5840
- data: {
5841
- domainName: string;
5842
- path: string;
5843
- };
5844
- domainId: string;
5845
- headers?: {
5846
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5847
- "x-access-token"?: string | undefined;
5848
- } | undefined;
5849
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5850
- data: {
5851
- domainName: string;
5852
- path: string;
5853
- };
5854
- } & {
5855
- pathParameters: {
5856
- domainId: string;
5857
- };
5858
- } & {
5859
- headers?: Partial<{
5860
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5861
- }> | undefined;
5862
- } & {
5863
- headers: {
5864
- "x-access-token"?: string | undefined;
5865
- } & Partial<{
5866
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5867
- }>;
5868
- }, import("@mittwald/api-client-commons").Response<{
5869
- reference?: string | undefined;
5870
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5871
- [x: string]: unknown;
5872
- }, 404, "application/json">>>;
5873
5873
  };
5874
5874
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
5875
5875
  readonly file: {
@@ -369,6 +369,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
369
369
  deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
370
370
  /** Get a DomainOwnership. */
371
371
  getDomainOwnership: this.requestFunctionFactory(descriptors.domainGetDomainOwnership),
372
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
373
+ getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
372
374
  /** List the DomainOwnerships of a project. */
373
375
  listDomainOwnerships: this.requestFunctionFactory(descriptors.domainListDomainOwnerships),
374
376
  /** List Domains belonging to a Project. */
@@ -401,8 +403,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
401
403
  ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
402
404
  /** Update the tls settings of an Ingress. */
403
405
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
404
- /** Get the latest screenshot's FileReference belonging to a Domain. */
405
- getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
406
406
  };
407
407
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
408
408
  this.file = {
@@ -277,6 +277,8 @@ export declare const domainGetDomain: OpenAPIOperation<RequestType<Simplify<null
277
277
  export declare const domainDeleteDomain: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
278
278
  /** Get a DomainOwnership. */
279
279
  export declare const domainGetDomainOwnership: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
280
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
281
+ export declare const domainGetLatestScreenshot: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
280
282
  /** List the DomainOwnerships of a project. */
281
283
  export declare const domainListDomainOwnerships: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
282
284
  /** List Domains belonging to a Project. */
@@ -581,8 +583,6 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
581
583
  export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
582
584
  /** Verify your registration. */
583
585
  export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
584
- /** Get the latest screenshot's FileReference belonging to a Domain. */
585
- export declare const domainGetLatestScreenshot: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
586
586
  /** Get a FileUploadToken's rules. */
587
587
  export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
588
588
  /** Get a FileUploadType's rules. */
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.conversationCreateConversation = exports.conversationListConversations = exports.contractListContracts = exports.contractGetNextTerminationDateForItem = exports.contractGetDetailOfContract = exports.contractGetDetailOfContractItem = exports.contractGetDetailOfContractByServer = exports.contractGetDetailOfContractByProject = exports.contractGetDetailOfContractByDomain = exports.contractGetBaseItemOfContract = exports.contractCancelContractTermination = exports.contractTerminateContract = exports.contractCancelContractTariffChange = exports.contractCancelContractItemTermination = exports.contractTerminateContractItem = exports.backupUpdateProjectBackupDescription = exports.backupDeleteProjectBackup = exports.backupGetProjectBackup = exports.backupUpdateProjectBackupSchedule = exports.backupDeleteProjectBackupSchedule = exports.backupGetProjectBackupSchedule = exports.backupCreateProjectBackup = exports.backupListProjectBackups = exports.backupCreateProjectBackupSchedule = exports.backupListProjectBackupSchedules = exports.backupDeleteProjectBackupExport = exports.backupCreateProjectBackupExport = exports.articleListArticles = exports.articleGetArticle = exports.appUnlinkDatabase = exports.appSetDatabaseUsers = exports.appRetrieveStatus = exports.appRequestAppinstallationCopy = exports.appListUpdateCandidatesForAppversion = exports.appListSystemsoftwareversions = exports.appListSystemsoftwares = exports.appListAppversions = exports.appListApps = exports.appRequestAppinstallation = exports.appListAppinstallations = exports.appLinkDatabase = exports.appGetSystemsoftwareversion = exports.appGetSystemsoftware = exports.appGetMissingDependenciesForAppinstallation = exports.appGetAppversion = exports.appPatchAppinstallation = exports.appUninstallAppinstallation = exports.appGetAppinstallation = exports.appGetApp = exports.appExecuteAction = void 0;
4
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.conversationGetFileAccessToken = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = void 0;
5
- exports.ingressListIngresses = exports.fileGetFile = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainVerifyDomainOwnership = exports.domainUpdateDomainProjectId = exports.domainUpdateDomainContact = exports.domainUpdateDomainAuthCode = exports.domainResendDomainEmail = exports.domainListTlds = exports.domainListTldContactSchemas = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetDomainOwnership = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainUpdateDomainNameservers = exports.domainCreateDomainAuthCode = exports.domainCreateDomainAuthCode2 = exports.domainCheckDomainRegistrability = exports.domainAbortDomainDeclaration = exports.dnsUpdateRecordSet = exports.dnsSetRecordSetManaged = exports.dnsListDnsZones = exports.dnsDeleteDnsZone = exports.dnsGetDnsZone = exports.dnsCreateDnsZone = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = 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.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailUpdateProjectMailSetting = exports.mailUpdateMailAddressSpamProtection = exports.mailUpdateMailAddressQuota = exports.mailUpdateMailAddressPassword = exports.mailUpdateMailAddressForwardAddresses = exports.mailUpdateMailAddressCatchAll = exports.mailUpdateMailAddressAutoresponder = exports.mailUpdateMailAddressAddress = exports.mailUpdateDeliveryBoxPassword = exports.mailUpdateDeliveryBoxDescription = exports.mailListProjectMailSettings = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressUpdateIngressTls = exports.ingressRequestIngressAcmeCertificateIssuance = exports.ingressUpdateIngressPaths = exports.ingressDeleteIngress = exports.ingressGetIngress = exports.ingressCreateIngress = void 0;
7
- exports.userGetMfaStatus = exports.userCheckToken = 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.servicetokenAuthenticateService = exports.relocationCreateRelocation = exports.relocationCreateLegacyTariffChange = 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.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = void 0;
8
- exports.fileGetFileUploadTypeRules = exports.fileGetFileUploadTokenRules = exports.domainGetLatestScreenshot = 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.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = void 0;
5
+ exports.fileGetFile = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainVerifyDomainOwnership = exports.domainUpdateDomainProjectId = exports.domainUpdateDomainContact = exports.domainUpdateDomainAuthCode = exports.domainResendDomainEmail = exports.domainListTlds = exports.domainListTldContactSchemas = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetLatestScreenshot = exports.domainGetDomainOwnership = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainUpdateDomainNameservers = exports.domainCreateDomainAuthCode = exports.domainCreateDomainAuthCode2 = exports.domainCheckDomainRegistrability = exports.domainAbortDomainDeclaration = exports.dnsUpdateRecordSet = exports.dnsSetRecordSetManaged = exports.dnsListDnsZones = exports.dnsDeleteDnsZone = exports.dnsGetDnsZone = exports.dnsCreateDnsZone = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = 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.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailUpdateProjectMailSetting = exports.mailUpdateMailAddressSpamProtection = exports.mailUpdateMailAddressQuota = exports.mailUpdateMailAddressPassword = exports.mailUpdateMailAddressForwardAddresses = exports.mailUpdateMailAddressCatchAll = exports.mailUpdateMailAddressAutoresponder = exports.mailUpdateMailAddressAddress = exports.mailUpdateDeliveryBoxPassword = exports.mailUpdateDeliveryBoxDescription = exports.mailListProjectMailSettings = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressUpdateIngressTls = exports.ingressRequestIngressAcmeCertificateIssuance = exports.ingressUpdateIngressPaths = exports.ingressDeleteIngress = exports.ingressGetIngress = exports.ingressCreateIngress = exports.ingressListIngresses = void 0;
7
+ exports.userCheckToken = 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.servicetokenAuthenticateService = exports.relocationCreateRelocation = exports.relocationCreateLegacyTariffChange = 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.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = void 0;
8
+ exports.fileGetFileUploadTypeRules = exports.fileGetFileUploadTokenRules = 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.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = void 0;
9
9
  /** Execute a runtime concerning action on a specific `AppInstallation`. */
10
10
  exports.appExecuteAction = {
11
11
  path: "/v2/app-installations/{appInstallationId}/actions/{action}",
@@ -828,6 +828,12 @@ exports.domainGetDomainOwnership = {
828
828
  method: "GET",
829
829
  operationId: "domain-get-domain-ownership",
830
830
  };
831
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
832
+ exports.domainGetLatestScreenshot = {
833
+ path: "/v2/domains/{domainId}/latest-screenshot",
834
+ method: "GET",
835
+ operationId: "domain-get-latest-screenshot",
836
+ };
831
837
  /** List the DomainOwnerships of a project. */
832
838
  exports.domainListDomainOwnerships = {
833
839
  path: "/v2/projects/{projectId}/domain-ownerships",
@@ -1740,12 +1746,6 @@ exports.userVerifyRegistration = {
1740
1746
  method: "POST",
1741
1747
  operationId: "user-verify-registration",
1742
1748
  };
1743
- /** Get the latest screenshot's FileReference belonging to a Domain. */
1744
- exports.domainGetLatestScreenshot = {
1745
- path: "/v2/domains/{domainId}/latest-screenshot",
1746
- method: "GET",
1747
- operationId: "domain-get-latest-screenshot",
1748
- };
1749
1749
  /** Get a FileUploadToken's rules. */
1750
1750
  exports.fileGetFileUploadTokenRules = {
1751
1751
  path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
@@ -550,6 +550,10 @@ export declare module MittwaldAPIV2 {
550
550
  type RequestData = InferredRequestData<typeof descriptors.domainGetDomainOwnership>;
551
551
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetDomainOwnership, TStatus>;
552
552
  }
553
+ namespace DomainGetLatestScreenshot {
554
+ type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
555
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
556
+ }
553
557
  namespace DomainListDomainOwnerships {
554
558
  type RequestData = InferredRequestData<typeof descriptors.domainListDomainOwnerships>;
555
559
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomainOwnerships, TStatus>;
@@ -1158,10 +1162,6 @@ export declare module MittwaldAPIV2 {
1158
1162
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1159
1163
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1160
1164
  }
1161
- namespace DomainGetLatestScreenshot {
1162
- type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
1163
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
1164
- }
1165
1165
  namespace FileGetFileUploadTokenRules {
1166
1166
  type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
1167
1167
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
@@ -7809,6 +7809,7 @@ export declare module MittwaldAPIV2 {
7809
7809
  namespace V2DomainsDomainIdContracts { }
7810
7810
  namespace V2ProjectsProjectIdContracts { }
7811
7811
  namespace V2ServersServerIdContracts { }
7812
+ namespace V2DomainsDomainIdScreenshotsNewest { }
7812
7813
  namespace V2NewsletterSubscriptions {
7813
7814
  namespace Post {
7814
7815
  namespace Parameters {
@@ -8416,6 +8417,44 @@ export declare module MittwaldAPIV2 {
8416
8417
  }
8417
8418
  }
8418
8419
  namespace V2DomainsHandleSchemaDomainName { }
8420
+ namespace V2DomainsDomainIdLatestScreenshot {
8421
+ namespace Get {
8422
+ namespace Parameters {
8423
+ type Path = {
8424
+ domainId: string;
8425
+ };
8426
+ interface RequestBody {
8427
+ domainName: string;
8428
+ path: string;
8429
+ }
8430
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8431
+ type Query = {};
8432
+ }
8433
+ namespace Responses {
8434
+ namespace $200 {
8435
+ namespace Content {
8436
+ interface ApplicationJson {
8437
+ reference?: string;
8438
+ }
8439
+ }
8440
+ }
8441
+ namespace $404 {
8442
+ namespace Content {
8443
+ interface ApplicationJson {
8444
+ [k: string]: unknown;
8445
+ }
8446
+ }
8447
+ }
8448
+ namespace Default {
8449
+ namespace Content {
8450
+ interface ApplicationJson {
8451
+ [k: string]: unknown;
8452
+ }
8453
+ }
8454
+ }
8455
+ }
8456
+ }
8457
+ }
8419
8458
  namespace V2ProjectsProjectIdDomainOwnerships {
8420
8459
  namespace Get {
8421
8460
  namespace Parameters {
@@ -14651,45 +14690,6 @@ export declare module MittwaldAPIV2 {
14651
14690
  }
14652
14691
  }
14653
14692
  }
14654
- namespace V2DomainsDomainIdScreenshotsNewest { }
14655
- namespace V2DomainsDomainIdLatestScreenshot {
14656
- namespace Get {
14657
- namespace Parameters {
14658
- type Path = {
14659
- domainId: string;
14660
- };
14661
- interface RequestBody {
14662
- domainName: string;
14663
- path: string;
14664
- }
14665
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14666
- type Query = {};
14667
- }
14668
- namespace Responses {
14669
- namespace $200 {
14670
- namespace Content {
14671
- interface ApplicationJson {
14672
- reference?: string;
14673
- }
14674
- }
14675
- }
14676
- namespace $404 {
14677
- namespace Content {
14678
- interface ApplicationJson {
14679
- [k: string]: unknown;
14680
- }
14681
- }
14682
- }
14683
- namespace Default {
14684
- namespace Content {
14685
- interface ApplicationJson {
14686
- [k: string]: unknown;
14687
- }
14688
- }
14689
- }
14690
- }
14691
- }
14692
- }
14693
14693
  namespace V2AppinstallationsAppInstallationIdDatabases { }
14694
14694
  namespace V2FileUploadTokensFileUploadTokenRules {
14695
14695
  namespace Get {
@@ -1090,6 +1090,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1090
1090
  projectId: string;
1091
1091
  txtRecord: string;
1092
1092
  }>;
1093
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
1094
+ getLatestScreenshot: (conf: {
1095
+ data: {
1096
+ domainName: string;
1097
+ path: string;
1098
+ };
1099
+ domainId: string;
1100
+ headers?: {
1101
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1102
+ "x-access-token"?: string | undefined;
1103
+ } | undefined;
1104
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1105
+ reference?: string | undefined;
1106
+ }>;
1093
1107
  /** List the DomainOwnerships of a project. */
1094
1108
  listDomainOwnerships: (conf: {
1095
1109
  projectId: string;
@@ -1159,20 +1173,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1159
1173
  projectId: string;
1160
1174
  tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1161
1175
  }>;
1162
- /** Get the latest screenshot's FileReference belonging to a Domain. */
1163
- getLatestScreenshot: (conf: {
1164
- data: {
1165
- domainName: string;
1166
- path: string;
1167
- };
1168
- domainId: string;
1169
- headers?: {
1170
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1171
- "x-access-token"?: string | undefined;
1172
- } | undefined;
1173
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1174
- reference?: string | undefined;
1175
- }>;
1176
1176
  };
1177
1177
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1178
1178
  /** Get a File's meta. */
@@ -156,6 +156,8 @@ const buildDomainApi = (baseClient) => ({
156
156
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
157
157
  /** Get a DomainOwnership. */
158
158
  getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
159
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
160
+ getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
159
161
  /** List the DomainOwnerships of a project. */
160
162
  listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
161
163
  /** List Domains belonging to a Project. */
@@ -168,8 +170,6 @@ const buildDomainApi = (baseClient) => ({
168
170
  ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
169
171
  /** Get an Ingress. */
170
172
  ingressGetIngress: new ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
171
- /** Get the latest screenshot's FileReference belonging to a Domain. */
172
- getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
173
173
  });
174
174
  const buildFileApi = (baseClient) => ({
175
175
  /** Get a File's meta. */
@@ -5356,6 +5356,41 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5356
5356
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5357
5357
  [x: string]: unknown;
5358
5358
  }, 404, "application/json">>>;
5359
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
5360
+ getLatestScreenshot: (request: {
5361
+ data: {
5362
+ domainName: string;
5363
+ path: string;
5364
+ };
5365
+ domainId: string;
5366
+ headers?: {
5367
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5368
+ "x-access-token"?: string | undefined;
5369
+ } | undefined;
5370
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5371
+ data: {
5372
+ domainName: string;
5373
+ path: string;
5374
+ };
5375
+ } & {
5376
+ pathParameters: {
5377
+ domainId: string;
5378
+ };
5379
+ } & {
5380
+ headers?: Partial<{
5381
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5382
+ }> | undefined;
5383
+ } & {
5384
+ headers: {
5385
+ "x-access-token"?: string | undefined;
5386
+ } & Partial<{
5387
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5388
+ }>;
5389
+ }, import("@mittwald/api-client-commons").Response<{
5390
+ reference?: string | undefined;
5391
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5392
+ [x: string]: unknown;
5393
+ }, 404, "application/json">>>;
5359
5394
  /** List the DomainOwnerships of a project. */
5360
5395
  listDomainOwnerships: (request: {
5361
5396
  projectId: string;
@@ -5835,41 +5870,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5835
5870
  }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5836
5871
  [x: string]: unknown;
5837
5872
  }, 404, "application/json">>>;
5838
- /** Get the latest screenshot's FileReference belonging to a Domain. */
5839
- getLatestScreenshot: (request: {
5840
- data: {
5841
- domainName: string;
5842
- path: string;
5843
- };
5844
- domainId: string;
5845
- headers?: {
5846
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5847
- "x-access-token"?: string | undefined;
5848
- } | undefined;
5849
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5850
- data: {
5851
- domainName: string;
5852
- path: string;
5853
- };
5854
- } & {
5855
- pathParameters: {
5856
- domainId: string;
5857
- };
5858
- } & {
5859
- headers?: Partial<{
5860
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5861
- }> | undefined;
5862
- } & {
5863
- headers: {
5864
- "x-access-token"?: string | undefined;
5865
- } & Partial<{
5866
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5867
- }>;
5868
- }, import("@mittwald/api-client-commons").Response<{
5869
- reference?: string | undefined;
5870
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5871
- [x: string]: unknown;
5872
- }, 404, "application/json">>>;
5873
5873
  };
5874
5874
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
5875
5875
  readonly file: {
@@ -341,6 +341,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
341
341
  deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
342
342
  /** Get a DomainOwnership. */
343
343
  getDomainOwnership: this.requestFunctionFactory(descriptors.domainGetDomainOwnership),
344
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
345
+ getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
344
346
  /** List the DomainOwnerships of a project. */
345
347
  listDomainOwnerships: this.requestFunctionFactory(descriptors.domainListDomainOwnerships),
346
348
  /** List Domains belonging to a Project. */
@@ -373,8 +375,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
373
375
  ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
374
376
  /** Update the tls settings of an Ingress. */
375
377
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
376
- /** Get the latest screenshot's FileReference belonging to a Domain. */
377
- getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
378
378
  };
379
379
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
380
380
  file = {
@@ -277,6 +277,8 @@ export declare const domainGetDomain: OpenAPIOperation<RequestType<Simplify<null
277
277
  export declare const domainDeleteDomain: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
278
278
  /** Get a DomainOwnership. */
279
279
  export declare const domainGetDomainOwnership: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
280
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
281
+ export declare const domainGetLatestScreenshot: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
280
282
  /** List the DomainOwnerships of a project. */
281
283
  export declare const domainListDomainOwnerships: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
282
284
  /** List Domains belonging to a Project. */
@@ -581,8 +583,6 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
581
583
  export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
582
584
  /** Verify your registration. */
583
585
  export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
584
- /** Get the latest screenshot's FileReference belonging to a Domain. */
585
- export declare const domainGetLatestScreenshot: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
586
586
  /** Get a FileUploadToken's rules. */
587
587
  export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
588
588
  /** Get a FileUploadType's rules. */
@@ -820,6 +820,12 @@ export const domainGetDomainOwnership = {
820
820
  method: "GET",
821
821
  operationId: "domain-get-domain-ownership",
822
822
  };
823
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
824
+ export const domainGetLatestScreenshot = {
825
+ path: "/v2/domains/{domainId}/latest-screenshot",
826
+ method: "GET",
827
+ operationId: "domain-get-latest-screenshot",
828
+ };
823
829
  /** List the DomainOwnerships of a project. */
824
830
  export const domainListDomainOwnerships = {
825
831
  path: "/v2/projects/{projectId}/domain-ownerships",
@@ -1732,12 +1738,6 @@ export const userVerifyRegistration = {
1732
1738
  method: "POST",
1733
1739
  operationId: "user-verify-registration",
1734
1740
  };
1735
- /** Get the latest screenshot's FileReference belonging to a Domain. */
1736
- export const domainGetLatestScreenshot = {
1737
- path: "/v2/domains/{domainId}/latest-screenshot",
1738
- method: "GET",
1739
- operationId: "domain-get-latest-screenshot",
1740
- };
1741
1741
  /** Get a FileUploadToken's rules. */
1742
1742
  export const fileGetFileUploadTokenRules = {
1743
1743
  path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
@@ -550,6 +550,10 @@ export declare module MittwaldAPIV2 {
550
550
  type RequestData = InferredRequestData<typeof descriptors.domainGetDomainOwnership>;
551
551
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetDomainOwnership, TStatus>;
552
552
  }
553
+ namespace DomainGetLatestScreenshot {
554
+ type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
555
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
556
+ }
553
557
  namespace DomainListDomainOwnerships {
554
558
  type RequestData = InferredRequestData<typeof descriptors.domainListDomainOwnerships>;
555
559
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomainOwnerships, TStatus>;
@@ -1158,10 +1162,6 @@ export declare module MittwaldAPIV2 {
1158
1162
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1159
1163
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1160
1164
  }
1161
- namespace DomainGetLatestScreenshot {
1162
- type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
1163
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
1164
- }
1165
1165
  namespace FileGetFileUploadTokenRules {
1166
1166
  type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
1167
1167
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
@@ -7809,6 +7809,7 @@ export declare module MittwaldAPIV2 {
7809
7809
  namespace V2DomainsDomainIdContracts { }
7810
7810
  namespace V2ProjectsProjectIdContracts { }
7811
7811
  namespace V2ServersServerIdContracts { }
7812
+ namespace V2DomainsDomainIdScreenshotsNewest { }
7812
7813
  namespace V2NewsletterSubscriptions {
7813
7814
  namespace Post {
7814
7815
  namespace Parameters {
@@ -8416,6 +8417,44 @@ export declare module MittwaldAPIV2 {
8416
8417
  }
8417
8418
  }
8418
8419
  namespace V2DomainsHandleSchemaDomainName { }
8420
+ namespace V2DomainsDomainIdLatestScreenshot {
8421
+ namespace Get {
8422
+ namespace Parameters {
8423
+ type Path = {
8424
+ domainId: string;
8425
+ };
8426
+ interface RequestBody {
8427
+ domainName: string;
8428
+ path: string;
8429
+ }
8430
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8431
+ type Query = {};
8432
+ }
8433
+ namespace Responses {
8434
+ namespace $200 {
8435
+ namespace Content {
8436
+ interface ApplicationJson {
8437
+ reference?: string;
8438
+ }
8439
+ }
8440
+ }
8441
+ namespace $404 {
8442
+ namespace Content {
8443
+ interface ApplicationJson {
8444
+ [k: string]: unknown;
8445
+ }
8446
+ }
8447
+ }
8448
+ namespace Default {
8449
+ namespace Content {
8450
+ interface ApplicationJson {
8451
+ [k: string]: unknown;
8452
+ }
8453
+ }
8454
+ }
8455
+ }
8456
+ }
8457
+ }
8419
8458
  namespace V2ProjectsProjectIdDomainOwnerships {
8420
8459
  namespace Get {
8421
8460
  namespace Parameters {
@@ -14651,45 +14690,6 @@ export declare module MittwaldAPIV2 {
14651
14690
  }
14652
14691
  }
14653
14692
  }
14654
- namespace V2DomainsDomainIdScreenshotsNewest { }
14655
- namespace V2DomainsDomainIdLatestScreenshot {
14656
- namespace Get {
14657
- namespace Parameters {
14658
- type Path = {
14659
- domainId: string;
14660
- };
14661
- interface RequestBody {
14662
- domainName: string;
14663
- path: string;
14664
- }
14665
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14666
- type Query = {};
14667
- }
14668
- namespace Responses {
14669
- namespace $200 {
14670
- namespace Content {
14671
- interface ApplicationJson {
14672
- reference?: string;
14673
- }
14674
- }
14675
- }
14676
- namespace $404 {
14677
- namespace Content {
14678
- interface ApplicationJson {
14679
- [k: string]: unknown;
14680
- }
14681
- }
14682
- }
14683
- namespace Default {
14684
- namespace Content {
14685
- interface ApplicationJson {
14686
- [k: string]: unknown;
14687
- }
14688
- }
14689
- }
14690
- }
14691
- }
14692
- }
14693
14693
  namespace V2AppinstallationsAppInstallationIdDatabases { }
14694
14694
  namespace V2FileUploadTokensFileUploadTokenRules {
14695
14695
  namespace Get {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.13';
1
+ export declare const MittwaldAPIClientVersion = '3.1.14';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.13';
1
+ export const MittwaldAPIClientVersion = '3.1.14';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.13",
3
+ "version": "3.1.14",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",