@mittwald/api-client 3.1.34 → 3.1.36
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +21 -17
- package/dist/react.d.mts +18 -16
- package/dist/react.d.ts +18 -16
- package/dist/react.mjs +6 -6
- package/dist/shared/{api-client.7029499e.d.mts → api-client.3900eade.d.mts} +450 -387
- package/dist/shared/{api-client.7029499e.d.ts → api-client.3900eade.d.ts} +450 -387
- package/dist/shared/{api-client.9217932c.mjs → api-client.f3e4ffbe.mjs} +26 -21
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
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.
|
|
3
|
-
export { a as MittwaldAPIV2 } from './shared/api-client.
|
|
2
|
+
import { M as MittwaldAPIV2Client } from './shared/api-client.3900eade.mjs';
|
|
3
|
+
export { a as MittwaldAPIV2 } from './shared/api-client.3900eade.mjs';
|
|
4
4
|
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
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.
|
|
3
|
-
export { a as MittwaldAPIV2 } from './shared/api-client.
|
|
2
|
+
import { M as MittwaldAPIV2Client } from './shared/api-client.3900eade.js';
|
|
3
|
+
export { a as MittwaldAPIV2 } from './shared/api-client.3900eade.js';
|
|
4
4
|
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
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 appGetMissingDependenciesForAppinstallation, h as appGetSystemsoftware, i as appGetSystemsoftwareversion, j as appLinkDatabase, k as appListAppinstallations, l as appRequestAppinstallation, m as appListApps, n as appListAppversions, o as appListSystemsoftwares, p as appListSystemsoftwareversions, q as appListUpdateCandidatesForAppversion, r as appRequestAppinstallationCopy, s as appRetrieveStatus, t as appSetDatabaseUsers, u as appUnlinkDatabase, v as articleGetArticle, w as articleListArticles, x as backupCreateProjectBackupExport, y as backupDeleteProjectBackupExport, z as backupListProjectBackupSchedules, A as backupCreateProjectBackupSchedule, B as backupListProjectBackups, C as backupCreateProjectBackup, D as backupGetProjectBackupSchedule, E as backupDeleteProjectBackupSchedule, F as backupUpdateProjectBackupSchedule, G as backupGetProjectBackup, H as backupDeleteProjectBackup, I as backupUpdateProjectBackupDescription, J as contractTerminateContractItem, K as contractCancelContractItemTermination, L as contractCancelContractTariffChange, M as contractTerminateContract, N as contractCancelContractTermination, O as contractGetBaseItemOfContract, P as contractGetDetailOfContractByDomain, Q as contractGetDetailOfContractByProject, R as contractGetDetailOfContractByServer, S as contractGetDetailOfContractItem, T as contractGetDetailOfContract, U as contractGetNextTerminationDateForItem, V as contractListContracts, W as invoiceDetailOfInvoice, X as invoiceGetDetailOfInvoiceSettings, Y as invoiceUpdateInvoiceSettings, Z as invoiceGetFileAccessToken, _ as invoiceListCustomerInvoices, $ as orderCreateOrder, a0 as orderCreateTariffChange, a1 as orderGetOrder, a2 as orderListCustomerOrders, a3 as orderListProjectOrders, a4 as orderPreviewOrder, a5 as orderPreviewTariffChange, a6 as conversationListConversations, a7 as conversationCreateConversation, a8 as conversationListMessagesByConversation, a9 as conversationCreateMessage, aa as conversationGetCategory, ab as conversationGetConversationMembers, ac as conversationGetConversation, ad as conversationUpdateConversation, ae as conversationGetFileAccessToken, af as conversationListCategories, ag as conversationRequestFileUpload, ah as conversationSetConversationStatus, ai as conversationUpdateMessage, aj as cronjobAbortExecution, ak as cronjobListCronjobs, al as cronjobCreateCronjob, am as cronjobListExecutions, an as cronjobCreateExecution, ao as cronjobGetCronjob, ap as cronjobDeleteCronjob, aq as cronjobUpdateCronjob, ar as cronjobGetExecution, as as cronjobUpdateCronjobAppId, at as customerAcceptCustomerInvite, au as customerListOfCustomerCategories, av as customerCreateCategory, aw as customerCreateCustomerInvite, ax as customerListCustomers, ay as customerCreateCustomer, az as customerDeclineCustomerInvite, aA as customerGetCustomerCategory, aB as customerUpdateCategory, aC as customerDeleteCategory, aD as customerGetCustomerInvite, aE as customerDeleteCustomerInvite, aF as customerGetCustomerMembership, aG as customerDeleteCustomerMembership, aH as customerUpdateCustomerMembership, aI as customerGetCustomer, aJ as customerUpdateCustomer, aK as customerDeleteCustomer, aL as customerGetCustomerTokenInvite, aM as customerIsCustomerLegallyCompetent, aN as customerLeaveCustomer, aO as customerListCustomerInvites, aP as customerListCustomerMemberships, aQ as customerListInvitesForCustomer, aR as customerListMembershipsForCustomer, aS as customerRequestAvatarUpload, aT as customerRemoveAvatar, aU as customerResendCustomerInviteMail, aV as databaseListMysqlDatabases, aW as databaseCreateMysqlDatabase, aX as databaseListMysqlUsers, aY as databaseCreateMysqlUser, aZ as databaseListRedisDatabases, a_ as databaseCreateRedisDatabase, a$ as databaseGetMysqlDatabase, b0 as databaseDeleteMysqlDatabase, b1 as databaseGetMysqlUser, b2 as databaseUpdateMysqlUser, b3 as databaseDeleteMysqlUser, b4 as databaseGetRedisDatabase, b5 as databaseDeleteRedisDatabase, b6 as databaseDisableMysqlUser, b7 as databaseEnableMysqlUser, b8 as databaseGetMysqlUserPhpMyAdminUrl, b9 as databaseListMysqlCharsets, ba as databaseListMysqlVersions, bb as databaseListRedisVersions, bc as databaseUpdateMysqlDatabaseDefaultCharset, bd as databaseUpdateMysqlDatabaseDescription, be as databaseUpdateMysqlUserPassword, bf as databaseUpdateRedisDatabaseConfiguration, bg as databaseUpdateRedisDatabaseDescription, bh as newsletterSubscribeUser, bi as newsletterGetInfo, bj as newsletterUnsubscribeUser, bk as notificationsCountUnreadNotifications, bl as notificationsListNotifications, bm as notificationsReadAllNotifications, bn as notificationsReadNotification, bo as dnsCreateDnsZone, bp as dnsGetDnsZone, bq as dnsDeleteDnsZone, br as dnsListDnsZones, bs as dnsSetRecordSetManaged, bt as dnsUpdateRecordSet, bu as domainAbortDomainDeclaration, bv as domainCheckDomainRegistrability, bw as domainListDomains, bx as domainCreateDomainAuthCode, by as domainUpdateDomainNameservers, bz as domainGetDomain, bA as domainDeleteDomain, bB as domainGetDomainOwnership, bC as domainGetLatestScreenshot, bD as domainListDomainOwnerships, bE as domainListTldContactSchemas, bF as domainListTlds, bG as domainResendDomainEmail, bH as domainUpdateDomainAuthCode, bI as domainUpdateDomainContact, bJ as domainUpdateDomainProjectId, bK as domainVerifyDomainOwnership, bL as ingressListIngresses, bM as ingressCreateIngress, bN as ingressGetIngress, bO as ingressDeleteIngress, bP as
|
|
3
|
+
import { a as appExecuteAction, b as appGetApp, c as appGetAppinstallation, d as appUninstallAppinstallation, e as appPatchAppinstallation, f as appGetAppversion, g as appGetMissingDependenciesForAppinstallation, h as appGetSystemsoftware, i as appGetSystemsoftwareversion, j as appLinkDatabase, k as appListAppinstallations, l as appRequestAppinstallation, m as appListApps, n as appListAppversions, o as appListSystemsoftwares, p as appListSystemsoftwareversions, q as appListUpdateCandidatesForAppversion, r as appRequestAppinstallationCopy, s as appRetrieveStatus, t as appSetDatabaseUsers, u as appUnlinkDatabase, v as articleGetArticle, w as articleListArticles, x as backupCreateProjectBackupExport, y as backupDeleteProjectBackupExport, z as backupListProjectBackupSchedules, A as backupCreateProjectBackupSchedule, B as backupListProjectBackups, C as backupCreateProjectBackup, D as backupGetProjectBackupSchedule, E as backupDeleteProjectBackupSchedule, F as backupUpdateProjectBackupSchedule, G as backupGetProjectBackup, H as backupDeleteProjectBackup, I as backupUpdateProjectBackupDescription, J as contractTerminateContractItem, K as contractCancelContractItemTermination, L as contractCancelContractTariffChange, M as contractTerminateContract, N as contractCancelContractTermination, O as contractGetBaseItemOfContract, P as contractGetDetailOfContractByDomain, Q as contractGetDetailOfContractByProject, R as contractGetDetailOfContractByServer, S as contractGetDetailOfContractItem, T as contractGetDetailOfContract, U as contractGetNextTerminationDateForItem, V as contractListContracts, W as invoiceDetailOfInvoice, X as invoiceGetDetailOfInvoiceSettings, Y as invoiceUpdateInvoiceSettings, Z as invoiceGetFileAccessToken, _ as invoiceListCustomerInvoices, $ as orderCreateOrder, a0 as orderCreateTariffChange, a1 as orderGetOrder, a2 as orderListCustomerOrders, a3 as orderListProjectOrders, a4 as orderPreviewOrder, a5 as orderPreviewTariffChange, a6 as conversationListConversations, a7 as conversationCreateConversation, a8 as conversationListMessagesByConversation, a9 as conversationCreateMessage, aa as conversationGetCategory, ab as conversationGetConversationMembers, ac as conversationGetConversation, ad as conversationUpdateConversation, ae as conversationGetFileAccessToken, af as conversationListCategories, ag as conversationRequestFileUpload, ah as conversationSetConversationStatus, ai as conversationUpdateMessage, aj as cronjobAbortExecution, ak as cronjobListCronjobs, al as cronjobCreateCronjob, am as cronjobListExecutions, an as cronjobCreateExecution, ao as cronjobGetCronjob, ap as cronjobDeleteCronjob, aq as cronjobUpdateCronjob, ar as cronjobGetExecution, as as cronjobUpdateCronjobAppId, at as customerAcceptCustomerInvite, au as customerListOfCustomerCategories, av as customerCreateCategory, aw as customerCreateCustomerInvite, ax as customerListCustomers, ay as customerCreateCustomer, az as customerDeclineCustomerInvite, aA as customerGetCustomerCategory, aB as customerUpdateCategory, aC as customerDeleteCategory, aD as customerGetCustomerInvite, aE as customerDeleteCustomerInvite, aF as customerGetCustomerMembership, aG as customerDeleteCustomerMembership, aH as customerUpdateCustomerMembership, aI as customerGetCustomer, aJ as customerUpdateCustomer, aK as customerDeleteCustomer, aL as customerGetCustomerTokenInvite, aM as customerIsCustomerLegallyCompetent, aN as customerLeaveCustomer, aO as customerListCustomerInvites, aP as customerListCustomerMemberships, aQ as customerListInvitesForCustomer, aR as customerListMembershipsForCustomer, aS as customerRequestAvatarUpload, aT as customerRemoveAvatar, aU as customerResendCustomerInviteMail, aV as databaseListMysqlDatabases, aW as databaseCreateMysqlDatabase, aX as databaseListMysqlUsers, aY as databaseCreateMysqlUser, aZ as databaseListRedisDatabases, a_ as databaseCreateRedisDatabase, a$ as databaseGetMysqlDatabase, b0 as databaseDeleteMysqlDatabase, b1 as databaseGetMysqlUser, b2 as databaseUpdateMysqlUser, b3 as databaseDeleteMysqlUser, b4 as databaseGetRedisDatabase, b5 as databaseDeleteRedisDatabase, b6 as databaseDisableMysqlUser, b7 as databaseEnableMysqlUser, b8 as databaseGetMysqlUserPhpMyAdminUrl, b9 as databaseListMysqlCharsets, ba as databaseListMysqlVersions, bb as databaseListRedisVersions, bc as databaseUpdateMysqlDatabaseDefaultCharset, bd as databaseUpdateMysqlDatabaseDescription, be as databaseUpdateMysqlUserPassword, bf as databaseUpdateRedisDatabaseConfiguration, bg as databaseUpdateRedisDatabaseDescription, bh as newsletterSubscribeUser, bi as newsletterGetInfo, bj as newsletterUnsubscribeUser, bk as notificationsCountUnreadNotifications, bl as notificationsListNotifications, bm as notificationsReadAllNotifications, bn as notificationsReadNotification, bo as dnsCreateDnsZone, bp as dnsGetDnsZone, bq as dnsDeleteDnsZone, br as dnsListDnsZones, bs as dnsSetRecordSetManaged, bt as dnsUpdateRecordSet, bu as domainAbortDomainDeclaration, bv as domainCheckDomainRegistrability, bw as domainListDomains, bx as domainCreateDomainAuthCode, by as domainUpdateDomainNameservers, bz as domainGetDomain, bA as domainDeleteDomain, bB as domainGetDomainOwnership, bC as domainGetLatestScreenshot, bD as domainListDomainOwnerships, bE as domainListTldContactSchemas, bF as domainListTlds, bG as domainResendDomainEmail, bH as domainUpdateDomainAuthCode, bI as domainUpdateDomainContact, bJ as domainUpdateDomainProjectId, bK as domainVerifyDomainOwnership, bL as ingressListIngresses, bM as ingressCreateIngress, bN as ingressGetIngress, bO as ingressDeleteIngress, bP as ingressIngressVerifyOwnership, bQ as ingressUpdateIngressPaths, bR as ingressRequestIngressAcmeCertificateIssuance, bS as ingressUpdateIngressTls, bT as fileCreateFile, bU as fileGetFileMeta, bV as fileGetFileUploadTokenRules, bW as fileGetFileUploadTypeRules, bX as fileGetFile, bY as mailListDeliveryBoxes, bZ as mailCreateDeliverybox, b_ as mailListMailAddresses, b$ as mailCreateMailAddress, c0 as mailGetDeliveryBox, c1 as mailDeleteDeliveryBox, c2 as mailGetMailAddress, c3 as mailDeleteMailAddress, c4 as mailListProjectMailSettings, c5 as mailUpdateDeliveryBoxDescription, c6 as mailUpdateDeliveryBoxPassword, c7 as mailUpdateMailAddressAddress, c8 as mailUpdateMailAddressAutoresponder, c9 as mailUpdateMailAddressCatchAll, ca as mailUpdateMailAddressForwardAddresses, cb as mailUpdateMailAddressPassword, cc as mailUpdateMailAddressQuota, cd as mailUpdateMailAddressSpamProtection, ce as mailUpdateProjectMailSetting, cf as pageinsightsGetPerformanceData, cg as pageinsightsGetStraceData, ch as pageinsightsListPerformanceDataForProject, ci as pageinsightsScheduleStrace, cj as passwordValidationGetPasswordPolicy, ck as userAddPhoneNumber, cl as userRemovePhoneNumber, cm as userAuthenticateMfa, cn as userAuthenticate, co as userAuthenticateWithAccessTokenRetrievalKey, cp as userGetOwnEmail, cq as userChangeEmail, cr as userChangePassword, cs as userCheckToken, ct as userGetMfaStatus, cu as userResetRecoverycodes, cv as userConfirmMfa, cw as userDisableMfa, cx as userConfirmPasswordReset, cy as userCreateAccessTokenRetrievalKey, cz as userListApiTokens, cA as userCreateApiToken, cB as userCreateFeedback, cC as userListSshKeys, cD as userCreateSshKey, cE as userGetApiToken, cF as userEditApiToken, cG as userDeleteApiToken, cH as userGetSshKey, cI as userEditSshKey, cJ as userDeleteSshKey, cK as userDeleteUser, cL as userGetOwnAccount, cM as userUpdateAccount, cN as userGetPasswordUpdatedAt, cO as userGetPersonalizedSettings, cP as userUpdatePersonalizedSettings, cQ as userGetPollStatus, cR as userPostPollStatus, cS as userGetSession, cT as userTerminateSession, cU as userGetUser, cV as userUpdatePersonalInformation, cW as userInitMfa, cX as userInitPasswordReset, cY as userListFeedback, cZ as userListSessions, c_ as userTerminateAllSessions, c$ as userLogout, d0 as userOauthGetAuthorization, d1 as userOauthRetrieveAccessToken, d2 as userRegister, d3 as userRequestAvatarUpload, d4 as userRemoveAvatar, d5 as userResendVerificationEmail, d6 as userSupportCodeRequest, d7 as userVerifyEmail, d8 as userVerifyPhoneNumber, d9 as userVerifyRegistration, da as projectAcceptProjectInvite, db as projectListInvitesForProject, dc as projectCreateProjectInvite, dd as projectCreateProject, de as projectDeclineProjectInvite, df as projectRequestProjectAvatarUpload, dg as projectDeleteProjectAvatar, dh as projectGetProjectInvite, di as projectDeleteProjectInvite, dj as projectGetProjectMembership, dk as projectDeleteProjectMembership, dl as projectUpdateProjectMembership, dm as projectGetProject, dn as projectDeleteProject, dp as projectRequestServerAvatarUpload, dq as projectDeleteServerAvatar, dr as projectGetProjectTokenInvite, ds as projectGetSelfMembershipForProject, dt as projectGetServer, du as projectLeaveProject, dv as projectListMembershipsForProject, dw as projectListProjectInvites, dx as projectListProjectMemberships, dy as projectListProjects, dz as projectListServers, dA as projectResendProjectInviteMail, dB as projectUpdateProjectDescription, dC as projectUpdateServerDescription, dD as projectFileSystemGetDirectories, dE as projectFileSystemGetDiskUsage, dF as projectFileSystemGetFileContent, dG as projectFileSystemGetJwt, dH as projectFileSystemListFiles, dI as relocationCreateLegacyTariffChange, dJ as relocationCreateRelocation, dK as sftpUserListSftpUsers, dL as sftpUserCreateSftpUser, dM as sftpUserGetSftpUser, dN as sftpUserDeleteSftpUser, dO as sftpUserUpdateSftpUser, dP as sshUserListSshUsers, dQ as sshUserCreateSshUser, dR as sshUserGetSshUser, dS as sshUserDeleteSshUser, dT as sshUserUpdateSshUser } from './shared/api-client.f3e4ffbe.mjs';
|
|
4
4
|
import { isBrowser } from 'browser-or-node';
|
|
5
5
|
|
|
6
6
|
var __defProp$1 = Object.defineProperty;
|
|
@@ -667,6 +667,10 @@ class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
667
667
|
ingressDeleteIngress: this.requestFunctionFactory(
|
|
668
668
|
ingressDeleteIngress
|
|
669
669
|
),
|
|
670
|
+
/** Verifiy the ownership of an Ingress. */
|
|
671
|
+
ingressIngressVerifyOwnership: this.requestFunctionFactory(
|
|
672
|
+
ingressIngressVerifyOwnership
|
|
673
|
+
),
|
|
670
674
|
/** Update the paths of an Ingress. */
|
|
671
675
|
ingressUpdateIngressPaths: this.requestFunctionFactory(
|
|
672
676
|
ingressUpdateIngressPaths
|
|
@@ -809,6 +813,10 @@ class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
809
813
|
),
|
|
810
814
|
/** Authenticate yourself to get an access token. */
|
|
811
815
|
authenticate: this.requestFunctionFactory(userAuthenticate),
|
|
816
|
+
/** Authenticate an user with an access token retrieval key. */
|
|
817
|
+
authenticateWithAccessTokenRetrievalKey: this.requestFunctionFactory(
|
|
818
|
+
userAuthenticateWithAccessTokenRetrievalKey
|
|
819
|
+
),
|
|
812
820
|
/** Get your verified Email-Address. */
|
|
813
821
|
getOwnEmail: this.requestFunctionFactory(userGetOwnEmail),
|
|
814
822
|
/** Change your Email-Address. */
|
|
@@ -831,6 +839,10 @@ class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
831
839
|
confirmPasswordReset: this.requestFunctionFactory(
|
|
832
840
|
userConfirmPasswordReset
|
|
833
841
|
),
|
|
842
|
+
/** Create an access token retrieval key to acquire an access token for your user. */
|
|
843
|
+
createAccessTokenRetrievalKey: this.requestFunctionFactory(
|
|
844
|
+
userCreateAccessTokenRetrievalKey
|
|
845
|
+
),
|
|
834
846
|
/** List all of your ApiTokens. */
|
|
835
847
|
listApiTokens: this.requestFunctionFactory(userListApiTokens),
|
|
836
848
|
/** Store a new ApiToken. */
|
|
@@ -903,6 +915,14 @@ class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
903
915
|
),
|
|
904
916
|
/** Terminate session and invalidate access token. */
|
|
905
917
|
logout: this.requestFunctionFactory(userLogout),
|
|
918
|
+
/** Obtain authorization from the resource owner. */
|
|
919
|
+
oauthGetAuthorization: this.requestFunctionFactory(
|
|
920
|
+
userOauthGetAuthorization
|
|
921
|
+
),
|
|
922
|
+
/** Retrieve Access Token from Authorization Code. */
|
|
923
|
+
oauthRetrieveAccessToken: this.requestFunctionFactory(
|
|
924
|
+
userOauthRetrieveAccessToken
|
|
925
|
+
),
|
|
906
926
|
/** Register with email and password. */
|
|
907
927
|
register: this.requestFunctionFactory(userRegister),
|
|
908
928
|
/** Request a new avatar image upload. */
|
|
@@ -928,22 +948,6 @@ class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
928
948
|
/** Verify your registration. */
|
|
929
949
|
verifyRegistration: this.requestFunctionFactory(
|
|
930
950
|
userVerifyRegistration
|
|
931
|
-
),
|
|
932
|
-
/** Authenticate an user with an access token retrieval key. */
|
|
933
|
-
authenticateWithAccessTokenRetrievalKey: this.requestFunctionFactory(
|
|
934
|
-
userAuthenticateWithAccessTokenRetrievalKey
|
|
935
|
-
),
|
|
936
|
-
/** Create an access token retrieval key to acquire an access token for your user. */
|
|
937
|
-
createAccessTokenRetrievalKey: this.requestFunctionFactory(
|
|
938
|
-
userCreateAccessTokenRetrievalKey
|
|
939
|
-
),
|
|
940
|
-
/** Obtain authorization from the resource owner. */
|
|
941
|
-
oauthGetAuthorization: this.requestFunctionFactory(
|
|
942
|
-
userOauthGetAuthorization
|
|
943
|
-
),
|
|
944
|
-
/** Retrieve Access Token from Authorization Code. */
|
|
945
|
-
oauthRetrieveAccessToken: this.requestFunctionFactory(
|
|
946
|
-
userOauthRetrieveAccessToken
|
|
947
951
|
)
|
|
948
952
|
});
|
|
949
953
|
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
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.
|
|
2
|
+
import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.3900eade.mjs';
|
|
3
3
|
import '@mittwald/api-client-commons';
|
|
4
4
|
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
5
5
|
|
|
@@ -716,6 +716,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
716
716
|
nextExecutionTime?: string | undefined;
|
|
717
717
|
projectId?: string | undefined;
|
|
718
718
|
shortId: string;
|
|
719
|
+
timeout: number;
|
|
719
720
|
updatedAt: string;
|
|
720
721
|
}>;
|
|
721
722
|
/** Get a CronjobExecution. */
|
|
@@ -737,7 +738,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
737
738
|
id: string;
|
|
738
739
|
logPath?: string | undefined;
|
|
739
740
|
start?: string | undefined;
|
|
740
|
-
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
|
|
741
|
+
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser" | "TimedOut";
|
|
741
742
|
successful: boolean;
|
|
742
743
|
triggeredBy?: {
|
|
743
744
|
id?: string | undefined;
|
|
@@ -1195,6 +1196,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1195
1196
|
};
|
|
1196
1197
|
isDefault: boolean;
|
|
1197
1198
|
isEnabled: boolean;
|
|
1199
|
+
ownership: MittwaldAPIV2.Components.Schemas.IngressOwnership;
|
|
1198
1200
|
paths: MittwaldAPIV2.Components.Schemas.IngressPath[];
|
|
1199
1201
|
projectId: string;
|
|
1200
1202
|
tls: MittwaldAPIV2.Components.Schemas.IngressTlsAcme | MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
@@ -1622,20 +1624,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1622
1624
|
"x-access-token"?: string | undefined;
|
|
1623
1625
|
} | undefined;
|
|
1624
1626
|
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
|
|
1625
|
-
/** Request a support code. */
|
|
1626
|
-
supportCodeRequest: (conf?: {
|
|
1627
|
-
headers?: {
|
|
1628
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1629
|
-
"x-access-token"?: string | undefined;
|
|
1630
|
-
} | undefined;
|
|
1631
|
-
queryParameters?: {
|
|
1632
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1633
|
-
forceRecreate?: boolean | undefined;
|
|
1634
|
-
} | undefined;
|
|
1635
|
-
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1636
|
-
expiresAt?: string | undefined;
|
|
1637
|
-
supportCode?: string | undefined;
|
|
1638
|
-
}>;
|
|
1639
1627
|
/** Obtain authorization from the resource owner. */
|
|
1640
1628
|
oauthGetAuthorization: (conf: {
|
|
1641
1629
|
queryParameters: {
|
|
@@ -1651,6 +1639,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1651
1639
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1652
1640
|
} | undefined;
|
|
1653
1641
|
}) => _mittwald_react_use_promise.AsyncResource<never>;
|
|
1642
|
+
/** Request a support code. */
|
|
1643
|
+
supportCodeRequest: (conf?: {
|
|
1644
|
+
headers?: {
|
|
1645
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1646
|
+
"x-access-token"?: string | undefined;
|
|
1647
|
+
} | undefined;
|
|
1648
|
+
queryParameters?: {
|
|
1649
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1650
|
+
forceRecreate?: boolean | undefined;
|
|
1651
|
+
} | undefined;
|
|
1652
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1653
|
+
expiresAt?: string | undefined;
|
|
1654
|
+
supportCode?: string | undefined;
|
|
1655
|
+
}>;
|
|
1654
1656
|
};
|
|
1655
1657
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1656
1658
|
/** List Invites belonging to a Project. */
|
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.
|
|
2
|
+
import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.3900eade.js';
|
|
3
3
|
import '@mittwald/api-client-commons';
|
|
4
4
|
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
5
5
|
|
|
@@ -716,6 +716,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
716
716
|
nextExecutionTime?: string | undefined;
|
|
717
717
|
projectId?: string | undefined;
|
|
718
718
|
shortId: string;
|
|
719
|
+
timeout: number;
|
|
719
720
|
updatedAt: string;
|
|
720
721
|
}>;
|
|
721
722
|
/** Get a CronjobExecution. */
|
|
@@ -737,7 +738,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
737
738
|
id: string;
|
|
738
739
|
logPath?: string | undefined;
|
|
739
740
|
start?: string | undefined;
|
|
740
|
-
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
|
|
741
|
+
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser" | "TimedOut";
|
|
741
742
|
successful: boolean;
|
|
742
743
|
triggeredBy?: {
|
|
743
744
|
id?: string | undefined;
|
|
@@ -1195,6 +1196,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1195
1196
|
};
|
|
1196
1197
|
isDefault: boolean;
|
|
1197
1198
|
isEnabled: boolean;
|
|
1199
|
+
ownership: MittwaldAPIV2.Components.Schemas.IngressOwnership;
|
|
1198
1200
|
paths: MittwaldAPIV2.Components.Schemas.IngressPath[];
|
|
1199
1201
|
projectId: string;
|
|
1200
1202
|
tls: MittwaldAPIV2.Components.Schemas.IngressTlsAcme | MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
@@ -1622,20 +1624,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1622
1624
|
"x-access-token"?: string | undefined;
|
|
1623
1625
|
} | undefined;
|
|
1624
1626
|
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
|
|
1625
|
-
/** Request a support code. */
|
|
1626
|
-
supportCodeRequest: (conf?: {
|
|
1627
|
-
headers?: {
|
|
1628
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1629
|
-
"x-access-token"?: string | undefined;
|
|
1630
|
-
} | undefined;
|
|
1631
|
-
queryParameters?: {
|
|
1632
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1633
|
-
forceRecreate?: boolean | undefined;
|
|
1634
|
-
} | undefined;
|
|
1635
|
-
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1636
|
-
expiresAt?: string | undefined;
|
|
1637
|
-
supportCode?: string | undefined;
|
|
1638
|
-
}>;
|
|
1639
1627
|
/** Obtain authorization from the resource owner. */
|
|
1640
1628
|
oauthGetAuthorization: (conf: {
|
|
1641
1629
|
queryParameters: {
|
|
@@ -1651,6 +1639,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1651
1639
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1652
1640
|
} | undefined;
|
|
1653
1641
|
}) => _mittwald_react_use_promise.AsyncResource<never>;
|
|
1642
|
+
/** Request a support code. */
|
|
1643
|
+
supportCodeRequest: (conf?: {
|
|
1644
|
+
headers?: {
|
|
1645
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1646
|
+
"x-access-token"?: string | undefined;
|
|
1647
|
+
} | undefined;
|
|
1648
|
+
queryParameters?: {
|
|
1649
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1650
|
+
forceRecreate?: boolean | undefined;
|
|
1651
|
+
} | undefined;
|
|
1652
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1653
|
+
expiresAt?: string | undefined;
|
|
1654
|
+
supportCode?: string | undefined;
|
|
1655
|
+
}>;
|
|
1654
1656
|
};
|
|
1655
1657
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1656
1658
|
/** List Invites belonging to a Project. */
|
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 appGetMissingDependenciesForAppinstallation, h as appGetSystemsoftware, i as appGetSystemsoftwareversion, k as appListAppinstallations, m as appListApps, n as appListAppversions, o as appListSystemsoftwares, p as appListSystemsoftwareversions, q as appListUpdateCandidatesForAppversion, s as appRetrieveStatus, v as articleGetArticle, w as articleListArticles, z as backupListProjectBackupSchedules, B as backupListProjectBackups, D as backupGetProjectBackupSchedule, G as backupGetProjectBackup, O as contractGetBaseItemOfContract, P as contractGetDetailOfContractByDomain, Q as contractGetDetailOfContractByProject, R as contractGetDetailOfContractByServer, S as contractGetDetailOfContractItem, T as contractGetDetailOfContract, U as contractGetNextTerminationDateForItem, V as contractListContracts, W as invoiceDetailOfInvoice, X as invoiceGetDetailOfInvoiceSettings, Z as invoiceGetFileAccessToken, _ as invoiceListCustomerInvoices, a1 as orderGetOrder, a2 as orderListCustomerOrders, a3 as orderListProjectOrders, a6 as conversationListConversations, a8 as conversationListMessagesByConversation, aa as conversationGetCategory, ab as conversationGetConversationMembers, ac as conversationGetConversation, ae as conversationGetFileAccessToken, af as conversationListCategories, ak as cronjobListCronjobs, am as cronjobListExecutions, ao as cronjobGetCronjob, ar as cronjobGetExecution, au as customerListOfCustomerCategories, ax as customerListCustomers, aA as customerGetCustomerCategory, aD as customerGetCustomerInvite, aF as customerGetCustomerMembership, aI as customerGetCustomer, aL as customerGetCustomerTokenInvite, aM as customerIsCustomerLegallyCompetent, aO as customerListCustomerInvites, aP as customerListCustomerMemberships, aQ as customerListInvitesForCustomer, aR as customerListMembershipsForCustomer, aV as databaseListMysqlDatabases, aX as databaseListMysqlUsers, aZ as databaseListRedisDatabases, a$ as databaseGetMysqlDatabase, b1 as databaseGetMysqlUser, b4 as databaseGetRedisDatabase, b8 as databaseGetMysqlUserPhpMyAdminUrl, b9 as databaseListMysqlCharsets, ba as databaseListMysqlVersions, bb as databaseListRedisVersions, bp as dnsGetDnsZone, br as dnsListDnsZones, bw as domainListDomains, bz as domainGetDomain, bB as domainGetDomainOwnership, bC as domainGetLatestScreenshot, bD as domainListDomainOwnerships, bE as domainListTldContactSchemas, bF as domainListTlds, bL as ingressListIngresses, bN as ingressGetIngress,
|
|
2
|
+
import { b as appGetApp, c as appGetAppinstallation, f as appGetAppversion, g as appGetMissingDependenciesForAppinstallation, h as appGetSystemsoftware, i as appGetSystemsoftwareversion, k as appListAppinstallations, m as appListApps, n as appListAppversions, o as appListSystemsoftwares, p as appListSystemsoftwareversions, q as appListUpdateCandidatesForAppversion, s as appRetrieveStatus, v as articleGetArticle, w as articleListArticles, z as backupListProjectBackupSchedules, B as backupListProjectBackups, D as backupGetProjectBackupSchedule, G as backupGetProjectBackup, O as contractGetBaseItemOfContract, P as contractGetDetailOfContractByDomain, Q as contractGetDetailOfContractByProject, R as contractGetDetailOfContractByServer, S as contractGetDetailOfContractItem, T as contractGetDetailOfContract, U as contractGetNextTerminationDateForItem, V as contractListContracts, W as invoiceDetailOfInvoice, X as invoiceGetDetailOfInvoiceSettings, Z as invoiceGetFileAccessToken, _ as invoiceListCustomerInvoices, a1 as orderGetOrder, a2 as orderListCustomerOrders, a3 as orderListProjectOrders, a6 as conversationListConversations, a8 as conversationListMessagesByConversation, aa as conversationGetCategory, ab as conversationGetConversationMembers, ac as conversationGetConversation, ae as conversationGetFileAccessToken, af as conversationListCategories, ak as cronjobListCronjobs, am as cronjobListExecutions, ao as cronjobGetCronjob, ar as cronjobGetExecution, au as customerListOfCustomerCategories, ax as customerListCustomers, aA as customerGetCustomerCategory, aD as customerGetCustomerInvite, aF as customerGetCustomerMembership, aI as customerGetCustomer, aL as customerGetCustomerTokenInvite, aM as customerIsCustomerLegallyCompetent, aO as customerListCustomerInvites, aP as customerListCustomerMemberships, aQ as customerListInvitesForCustomer, aR as customerListMembershipsForCustomer, aV as databaseListMysqlDatabases, aX as databaseListMysqlUsers, aZ as databaseListRedisDatabases, a$ as databaseGetMysqlDatabase, b1 as databaseGetMysqlUser, b4 as databaseGetRedisDatabase, b8 as databaseGetMysqlUserPhpMyAdminUrl, b9 as databaseListMysqlCharsets, ba as databaseListMysqlVersions, bb as databaseListRedisVersions, bp as dnsGetDnsZone, br as dnsListDnsZones, bw as domainListDomains, bz as domainGetDomain, bB as domainGetDomainOwnership, bC as domainGetLatestScreenshot, bD as domainListDomainOwnerships, bE as domainListTldContactSchemas, bF as domainListTlds, bL as ingressListIngresses, bN as ingressGetIngress, bU as fileGetFileMeta, bV as fileGetFileUploadTokenRules, bW as fileGetFileUploadTypeRules, bX as fileGetFile, bY as mailListDeliveryBoxes, b_ as mailListMailAddresses, c0 as mailGetDeliveryBox, c2 as mailGetMailAddress, c4 as mailListProjectMailSettings, bi as newsletterGetInfo, bk as notificationsCountUnreadNotifications, bl as notificationsListNotifications, cf as pageinsightsGetPerformanceData, cg as pageinsightsGetStraceData, ch as pageinsightsListPerformanceDataForProject, cj as passwordValidationGetPasswordPolicy, cp as userGetOwnEmail, ct as userGetMfaStatus, cz as userListApiTokens, cC as userListSshKeys, cE as userGetApiToken, cH as userGetSshKey, cL as userGetOwnAccount, cN as userGetPasswordUpdatedAt, cO as userGetPersonalizedSettings, cQ as userGetPollStatus, cS as userGetSession, cU as userGetUser, cY as userListFeedback, cZ as userListSessions, d0 as userOauthGetAuthorization, d6 as userSupportCodeRequest, db as projectListInvitesForProject, dh as projectGetProjectInvite, dj as projectGetProjectMembership, dm as projectGetProject, dr as projectGetProjectTokenInvite, ds as projectGetSelfMembershipForProject, dt as projectGetServer, dv as projectListMembershipsForProject, dw as projectListProjectInvites, dx as projectListProjectMemberships, dy as projectListProjects, dz as projectListServers, dD as projectFileSystemGetDirectories, dE as projectFileSystemGetDiskUsage, dF as projectFileSystemGetFileContent, dG as projectFileSystemGetJwt, dH as projectFileSystemListFiles, dK as sftpUserListSftpUsers, dM as sftpUserGetSftpUser, dP as sshUserListSshUsers, dR as sshUserGetSshUser } from './shared/api-client.f3e4ffbe.mjs';
|
|
3
3
|
import '@mittwald/react-use-promise';
|
|
4
4
|
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -575,15 +575,15 @@ const buildUserApi = (baseClient) => ({
|
|
|
575
575
|
userListSessions,
|
|
576
576
|
baseClient.user.listSessions
|
|
577
577
|
).getApiResource,
|
|
578
|
-
/** Request a support code. */
|
|
579
|
-
supportCodeRequest: new ApiCallAsyncResourceFactory(
|
|
580
|
-
userSupportCodeRequest,
|
|
581
|
-
baseClient.user.supportCodeRequest
|
|
582
|
-
).getApiResource,
|
|
583
578
|
/** Obtain authorization from the resource owner. */
|
|
584
579
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(
|
|
585
580
|
userOauthGetAuthorization,
|
|
586
581
|
baseClient.user.oauthGetAuthorization
|
|
582
|
+
).getApiResource,
|
|
583
|
+
/** Request a support code. */
|
|
584
|
+
supportCodeRequest: new ApiCallAsyncResourceFactory(
|
|
585
|
+
userSupportCodeRequest,
|
|
586
|
+
baseClient.user.supportCodeRequest
|
|
587
587
|
).getApiResource
|
|
588
588
|
});
|
|
589
589
|
const buildProjectApi = (baseClient) => ({
|