@mittwald/api-client 3.1.35 → 3.1.37
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 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.mjs +21 -17
- package/dist/react.d.mts +24 -18
- package/dist/react.d.ts +24 -18
- package/dist/react.mjs +6 -6
- package/dist/shared/{api-client.7029499e.d.mts → api-client.61e4cd90.d.mts} +2313 -2201
- package/dist/shared/{api-client.7029499e.d.ts → api-client.61e4cd90.d.ts} +2313 -2201
- 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 +12 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +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.
|
|
4
|
-
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
2
|
+
import { M as MittwaldAPIV2Client } from './shared/api-client.61e4cd90.mjs';
|
|
3
|
+
export { a as MittwaldAPIV2 } from './shared/api-client.61e4cd90.mjs';
|
|
5
4
|
|
|
6
5
|
declare class MittwaldAPIClient extends MittwaldAPIV2Client {
|
|
7
6
|
private readonly apiToken;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +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.
|
|
4
|
-
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
2
|
+
import { M as MittwaldAPIV2Client } from './shared/api-client.61e4cd90.js';
|
|
3
|
+
export { a as MittwaldAPIV2 } from './shared/api-client.61e4cd90.js';
|
|
5
4
|
|
|
6
5
|
declare class MittwaldAPIClient extends MittwaldAPIV2Client {
|
|
7
6
|
private readonly apiToken;
|
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,7 +1,6 @@
|
|
|
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.61e4cd90.mjs';
|
|
3
3
|
import '@mittwald/api-client-commons';
|
|
4
|
-
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
5
4
|
|
|
6
5
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
7
6
|
/** Get a specific `App`. */
|
|
@@ -716,6 +715,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
716
715
|
nextExecutionTime?: string | undefined;
|
|
717
716
|
projectId?: string | undefined;
|
|
718
717
|
shortId: string;
|
|
718
|
+
timeout: number;
|
|
719
719
|
updatedAt: string;
|
|
720
720
|
}>;
|
|
721
721
|
/** Get a CronjobExecution. */
|
|
@@ -737,7 +737,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
737
737
|
id: string;
|
|
738
738
|
logPath?: string | undefined;
|
|
739
739
|
start?: string | undefined;
|
|
740
|
-
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
|
|
740
|
+
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser" | "TimedOut";
|
|
741
741
|
successful: boolean;
|
|
742
742
|
triggeredBy?: {
|
|
743
743
|
id?: string | undefined;
|
|
@@ -1195,6 +1195,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1195
1195
|
};
|
|
1196
1196
|
isDefault: boolean;
|
|
1197
1197
|
isEnabled: boolean;
|
|
1198
|
+
ownership: MittwaldAPIV2.Components.Schemas.IngressOwnership;
|
|
1198
1199
|
paths: MittwaldAPIV2.Components.Schemas.IngressPath[];
|
|
1199
1200
|
projectId: string;
|
|
1200
1201
|
tls: MittwaldAPIV2.Components.Schemas.IngressTlsAcme | MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
@@ -1622,20 +1623,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1622
1623
|
"x-access-token"?: string | undefined;
|
|
1623
1624
|
} | undefined;
|
|
1624
1625
|
} | 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
1626
|
/** Obtain authorization from the resource owner. */
|
|
1640
1627
|
oauthGetAuthorization: (conf: {
|
|
1641
1628
|
queryParameters: {
|
|
@@ -1651,6 +1638,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1651
1638
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1652
1639
|
} | undefined;
|
|
1653
1640
|
}) => _mittwald_react_use_promise.AsyncResource<never>;
|
|
1641
|
+
/** Request a support code. */
|
|
1642
|
+
supportCodeRequest: (conf?: {
|
|
1643
|
+
headers?: {
|
|
1644
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1645
|
+
"x-access-token"?: string | undefined;
|
|
1646
|
+
} | undefined;
|
|
1647
|
+
queryParameters?: {
|
|
1648
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1649
|
+
forceRecreate?: boolean | undefined;
|
|
1650
|
+
} | undefined;
|
|
1651
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1652
|
+
expiresAt?: string | undefined;
|
|
1653
|
+
supportCode?: string | undefined;
|
|
1654
|
+
}>;
|
|
1654
1655
|
};
|
|
1655
1656
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1656
1657
|
/** List Invites belonging to a Project. */
|
|
@@ -1717,6 +1718,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1717
1718
|
[k: string]: string;
|
|
1718
1719
|
};
|
|
1719
1720
|
disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
|
|
1721
|
+
disabledAt?: string | undefined;
|
|
1720
1722
|
enabled: boolean;
|
|
1721
1723
|
id: string;
|
|
1722
1724
|
imageRefId?: string | undefined;
|
|
@@ -1729,6 +1731,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1729
1731
|
spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
|
|
1730
1732
|
statisticsBaseDomain?: string | undefined;
|
|
1731
1733
|
status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
|
|
1734
|
+
statusSetAt: string;
|
|
1732
1735
|
}>;
|
|
1733
1736
|
/** Get a ProjectInvite by token. */
|
|
1734
1737
|
getProjectTokenInvite: (conf: {
|
|
@@ -1780,9 +1783,10 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1780
1783
|
imageRefId?: string | undefined;
|
|
1781
1784
|
isReady: boolean;
|
|
1782
1785
|
machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
|
|
1783
|
-
readiness: MittwaldAPIV2.Components.Schemas.
|
|
1786
|
+
readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
|
|
1784
1787
|
shortId: string;
|
|
1785
1788
|
statisticsBaseDomain?: string | undefined;
|
|
1789
|
+
status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
|
|
1786
1790
|
storage: string;
|
|
1787
1791
|
}>;
|
|
1788
1792
|
/** List Memberships belonging to a Project. */
|
|
@@ -1841,6 +1845,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1841
1845
|
};
|
|
1842
1846
|
description: string;
|
|
1843
1847
|
disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
|
|
1848
|
+
disabledAt?: string | undefined;
|
|
1844
1849
|
enabled: boolean;
|
|
1845
1850
|
id: string;
|
|
1846
1851
|
imageRefId?: string | undefined;
|
|
@@ -1850,6 +1855,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1850
1855
|
serverId?: string | undefined;
|
|
1851
1856
|
shortId: string;
|
|
1852
1857
|
status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
|
|
1858
|
+
statusSetAt: string;
|
|
1853
1859
|
}[]>;
|
|
1854
1860
|
/** List Servers belonging to the executing user. */
|
|
1855
1861
|
listServers: (conf?: {
|
package/dist/react.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
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.61e4cd90.js';
|
|
3
3
|
import '@mittwald/api-client-commons';
|
|
4
|
-
import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
|
|
5
4
|
|
|
6
5
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
7
6
|
/** Get a specific `App`. */
|
|
@@ -716,6 +715,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
716
715
|
nextExecutionTime?: string | undefined;
|
|
717
716
|
projectId?: string | undefined;
|
|
718
717
|
shortId: string;
|
|
718
|
+
timeout: number;
|
|
719
719
|
updatedAt: string;
|
|
720
720
|
}>;
|
|
721
721
|
/** Get a CronjobExecution. */
|
|
@@ -737,7 +737,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
737
737
|
id: string;
|
|
738
738
|
logPath?: string | undefined;
|
|
739
739
|
start?: string | undefined;
|
|
740
|
-
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser";
|
|
740
|
+
status: "Pending" | "Failed" | "Complete" | "AbortedBySystem" | "Running" | "AbortedByUser" | "TimedOut";
|
|
741
741
|
successful: boolean;
|
|
742
742
|
triggeredBy?: {
|
|
743
743
|
id?: string | undefined;
|
|
@@ -1195,6 +1195,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1195
1195
|
};
|
|
1196
1196
|
isDefault: boolean;
|
|
1197
1197
|
isEnabled: boolean;
|
|
1198
|
+
ownership: MittwaldAPIV2.Components.Schemas.IngressOwnership;
|
|
1198
1199
|
paths: MittwaldAPIV2.Components.Schemas.IngressPath[];
|
|
1199
1200
|
projectId: string;
|
|
1200
1201
|
tls: MittwaldAPIV2.Components.Schemas.IngressTlsAcme | MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
@@ -1622,20 +1623,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1622
1623
|
"x-access-token"?: string | undefined;
|
|
1623
1624
|
} | undefined;
|
|
1624
1625
|
} | 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
1626
|
/** Obtain authorization from the resource owner. */
|
|
1640
1627
|
oauthGetAuthorization: (conf: {
|
|
1641
1628
|
queryParameters: {
|
|
@@ -1651,6 +1638,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1651
1638
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1652
1639
|
} | undefined;
|
|
1653
1640
|
}) => _mittwald_react_use_promise.AsyncResource<never>;
|
|
1641
|
+
/** Request a support code. */
|
|
1642
|
+
supportCodeRequest: (conf?: {
|
|
1643
|
+
headers?: {
|
|
1644
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1645
|
+
"x-access-token"?: string | undefined;
|
|
1646
|
+
} | undefined;
|
|
1647
|
+
queryParameters?: {
|
|
1648
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1649
|
+
forceRecreate?: boolean | undefined;
|
|
1650
|
+
} | undefined;
|
|
1651
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1652
|
+
expiresAt?: string | undefined;
|
|
1653
|
+
supportCode?: string | undefined;
|
|
1654
|
+
}>;
|
|
1654
1655
|
};
|
|
1655
1656
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1656
1657
|
/** List Invites belonging to a Project. */
|
|
@@ -1717,6 +1718,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1717
1718
|
[k: string]: string;
|
|
1718
1719
|
};
|
|
1719
1720
|
disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
|
|
1721
|
+
disabledAt?: string | undefined;
|
|
1720
1722
|
enabled: boolean;
|
|
1721
1723
|
id: string;
|
|
1722
1724
|
imageRefId?: string | undefined;
|
|
@@ -1729,6 +1731,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1729
1731
|
spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
|
|
1730
1732
|
statisticsBaseDomain?: string | undefined;
|
|
1731
1733
|
status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
|
|
1734
|
+
statusSetAt: string;
|
|
1732
1735
|
}>;
|
|
1733
1736
|
/** Get a ProjectInvite by token. */
|
|
1734
1737
|
getProjectTokenInvite: (conf: {
|
|
@@ -1780,9 +1783,10 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1780
1783
|
imageRefId?: string | undefined;
|
|
1781
1784
|
isReady: boolean;
|
|
1782
1785
|
machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
|
|
1783
|
-
readiness: MittwaldAPIV2.Components.Schemas.
|
|
1786
|
+
readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
|
|
1784
1787
|
shortId: string;
|
|
1785
1788
|
statisticsBaseDomain?: string | undefined;
|
|
1789
|
+
status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
|
|
1786
1790
|
storage: string;
|
|
1787
1791
|
}>;
|
|
1788
1792
|
/** List Memberships belonging to a Project. */
|
|
@@ -1841,6 +1845,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1841
1845
|
};
|
|
1842
1846
|
description: string;
|
|
1843
1847
|
disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
|
|
1848
|
+
disabledAt?: string | undefined;
|
|
1844
1849
|
enabled: boolean;
|
|
1845
1850
|
id: string;
|
|
1846
1851
|
imageRefId?: string | undefined;
|
|
@@ -1850,6 +1855,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1850
1855
|
serverId?: string | undefined;
|
|
1851
1856
|
shortId: string;
|
|
1852
1857
|
status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
|
|
1858
|
+
statusSetAt: string;
|
|
1853
1859
|
}[]>;
|
|
1854
1860
|
/** List Servers belonging to the executing user. */
|
|
1855
1861
|
listServers: (conf?: {
|
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) => ({
|