@mittwald/api-client 3.1.32 → 3.1.34
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 +17 -5
- package/dist/react.d.mts +17 -3
- package/dist/react.d.ts +17 -3
- package/dist/react.mjs +6 -1
- package/dist/shared/{api-client.ce530b79.d.mts → api-client.7029499e.d.mts} +320 -99
- package/dist/shared/{api-client.ce530b79.d.ts → api-client.7029499e.d.ts} +320 -99
- package/dist/shared/{api-client.5e0316fc.mjs → api-client.9217932c.mjs} +23 -8
- 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.7029499e.mjs';
|
|
3
|
+
export { a as MittwaldAPIV2 } from './shared/api-client.7029499e.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.7029499e.js';
|
|
3
|
+
export { a as MittwaldAPIV2 } from './shared/api-client.7029499e.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
|
|
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 ingressUpdateIngressPaths, bQ as ingressRequestIngressAcmeCertificateIssuance, bR as ingressUpdateIngressTls, bS as fileCreateFile, bT as fileGetFileMeta, bU as fileGetFileUploadTokenRules, bV as fileGetFileUploadTypeRules, bW as fileGetFile, bX as mailListDeliveryBoxes, bY as mailCreateDeliverybox, bZ as mailListMailAddresses, b_ as mailCreateMailAddress, b$ as mailGetDeliveryBox, c0 as mailDeleteDeliveryBox, c1 as mailGetMailAddress, c2 as mailDeleteMailAddress, c3 as mailListProjectMailSettings, c4 as mailUpdateDeliveryBoxDescription, c5 as mailUpdateDeliveryBoxPassword, c6 as mailUpdateMailAddressAddress, c7 as mailUpdateMailAddressAutoresponder, c8 as mailUpdateMailAddressCatchAll, c9 as mailUpdateMailAddressForwardAddresses, ca as mailUpdateMailAddressPassword, cb as mailUpdateMailAddressQuota, cc as mailUpdateMailAddressSpamProtection, cd as mailUpdateProjectMailSetting, ce as pageinsightsGetPerformanceData, cf as pageinsightsGetStraceData, cg as pageinsightsListPerformanceDataForProject, ch as pageinsightsScheduleStrace, ci as passwordValidationGetPasswordPolicy, cj as userAddPhoneNumber, ck as userRemovePhoneNumber, cl as userAuthenticateMfa, cm as userAuthenticate, cn as userGetOwnEmail, co as userChangeEmail, cp as userChangePassword, cq as userCheckToken, cr as userGetMfaStatus, cs as userResetRecoverycodes, ct as userConfirmMfa, cu as userDisableMfa, cv as userConfirmPasswordReset, cw as userListApiTokens, cx as userCreateApiToken, cy as userCreateFeedback, cz as userListSshKeys, cA as userCreateSshKey, cB as userGetApiToken, cC as userEditApiToken, cD as userDeleteApiToken, cE as userGetSshKey, cF as userEditSshKey, cG as userDeleteSshKey, cH as userDeleteUser, cI as userGetOwnAccount, cJ as userUpdateAccount, cK as userGetPasswordUpdatedAt, cL as userGetPersonalizedSettings, cM as userUpdatePersonalizedSettings, cN as userGetPollStatus, cO as userPostPollStatus, cP as userGetSession, cQ as userTerminateSession, cR as userGetUser, cS as userUpdatePersonalInformation, cT as userInitMfa, cU as userInitPasswordReset, cV as userListFeedback, cW as userListSessions, cX as userTerminateAllSessions, cY as userLogout, cZ as userRegister, c_ as userRequestAvatarUpload, c$ as userRemoveAvatar, d0 as userResendVerificationEmail, d1 as userSupportCodeRequest, d2 as userVerifyEmail, d3 as userVerifyPhoneNumber, d4 as userVerifyRegistration, d5 as userAuthenticateWithAccessTokenRetrievalKey, d6 as userCreateAccessTokenRetrievalKey, d7 as userOauthGetAuthorization, d8 as userOauthRetrieveAccessToken, d9 as projectAcceptProjectInvite, da as projectListInvitesForProject, db as projectCreateProjectInvite, dc as projectCreateProject, dd as projectDeclineProjectInvite, de as projectRequestProjectAvatarUpload, df as projectDeleteProjectAvatar, dg as projectGetProjectInvite, dh as projectDeleteProjectInvite, di as projectGetProjectMembership, dj as projectDeleteProjectMembership, dk as projectUpdateProjectMembership, dl as projectGetProject, dm as projectDeleteProject, dn as projectRequestServerAvatarUpload, dp as projectDeleteServerAvatar, dq as projectGetProjectTokenInvite, dr as projectGetSelfMembershipForProject, ds as projectGetServer, dt as projectLeaveProject, du as projectListMembershipsForProject, dv as projectListProjectInvites, dw as projectListProjectMemberships, dx as projectListProjects, dy as projectListServers, dz as projectResendProjectInviteMail, dA as projectUpdateProjectDescription, dB as projectUpdateServerDescription, dC as projectFileSystemGetDirectories, dD as projectFileSystemGetDiskUsage, dE as projectFileSystemGetFileContent, dF as projectFileSystemGetJwt, dG as projectFileSystemListFiles, dH as relocationCreateLegacyTariffChange, dI as relocationCreateRelocation, dJ as sftpUserListSftpUsers, dK as sftpUserCreateSftpUser, dL as sftpUserGetSftpUser, dM as sftpUserDeleteSftpUser, dN as sftpUserUpdateSftpUser, dO as sshUserListSshUsers, dP as sshUserCreateSshUser, dQ as sshUserGetSshUser, dR as sshUserDeleteSshUser, dS as sshUserUpdateSshUser } from './shared/api-client.9217932c.mjs';
|
|
4
4
|
import { isBrowser } from 'browser-or-node';
|
|
5
5
|
|
|
6
6
|
var __defProp$1 = Object.defineProperty;
|
|
@@ -601,10 +601,6 @@ class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
601
601
|
),
|
|
602
602
|
/** List Domains */
|
|
603
603
|
listDomains: this.requestFunctionFactory(domainListDomains),
|
|
604
|
-
/** Create an auth code 2. */
|
|
605
|
-
createDomainAuthCode2: this.requestFunctionFactory(
|
|
606
|
-
domainCreateDomainAuthCode2
|
|
607
|
-
),
|
|
608
604
|
/** Create an auth code for a Domains transfer-out process. */
|
|
609
605
|
createDomainAuthCode: this.requestFunctionFactory(
|
|
610
606
|
domainCreateDomainAuthCode
|
|
@@ -932,6 +928,22 @@ class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
932
928
|
/** Verify your registration. */
|
|
933
929
|
verifyRegistration: this.requestFunctionFactory(
|
|
934
930
|
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
|
|
935
947
|
)
|
|
936
948
|
});
|
|
937
949
|
/** 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.7029499e.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
|
|
|
@@ -1559,12 +1559,11 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1559
1559
|
}>;
|
|
1560
1560
|
/** Get poll settings for the specified user. */
|
|
1561
1561
|
getPollStatus: (conf: {
|
|
1562
|
-
|
|
1562
|
+
userId: string;
|
|
1563
1563
|
headers?: {
|
|
1564
1564
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1565
1565
|
} | undefined;
|
|
1566
1566
|
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1567
|
-
id: string;
|
|
1568
1567
|
completedAt?: string | undefined;
|
|
1569
1568
|
dontShowUntil?: string | undefined;
|
|
1570
1569
|
ignoredAt?: string | undefined;
|
|
@@ -1637,6 +1636,21 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1637
1636
|
expiresAt?: string | undefined;
|
|
1638
1637
|
supportCode?: string | undefined;
|
|
1639
1638
|
}>;
|
|
1639
|
+
/** Obtain authorization from the resource owner. */
|
|
1640
|
+
oauthGetAuthorization: (conf: {
|
|
1641
|
+
queryParameters: {
|
|
1642
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1643
|
+
grant_consent?: boolean | undefined;
|
|
1644
|
+
redirect_uri?: string | undefined;
|
|
1645
|
+
scope?: string | undefined;
|
|
1646
|
+
state?: string | undefined;
|
|
1647
|
+
code_challenge?: string | undefined;
|
|
1648
|
+
code_challenge_method?: "S256" | undefined;
|
|
1649
|
+
};
|
|
1650
|
+
headers?: {
|
|
1651
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
}) => _mittwald_react_use_promise.AsyncResource<never>;
|
|
1640
1654
|
};
|
|
1641
1655
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1642
1656
|
/** 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.7029499e.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
|
|
|
@@ -1559,12 +1559,11 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1559
1559
|
}>;
|
|
1560
1560
|
/** Get poll settings for the specified user. */
|
|
1561
1561
|
getPollStatus: (conf: {
|
|
1562
|
-
|
|
1562
|
+
userId: string;
|
|
1563
1563
|
headers?: {
|
|
1564
1564
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1565
1565
|
} | undefined;
|
|
1566
1566
|
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1567
|
-
id: string;
|
|
1568
1567
|
completedAt?: string | undefined;
|
|
1569
1568
|
dontShowUntil?: string | undefined;
|
|
1570
1569
|
ignoredAt?: string | undefined;
|
|
@@ -1637,6 +1636,21 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1637
1636
|
expiresAt?: string | undefined;
|
|
1638
1637
|
supportCode?: string | undefined;
|
|
1639
1638
|
}>;
|
|
1639
|
+
/** Obtain authorization from the resource owner. */
|
|
1640
|
+
oauthGetAuthorization: (conf: {
|
|
1641
|
+
queryParameters: {
|
|
1642
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1643
|
+
grant_consent?: boolean | undefined;
|
|
1644
|
+
redirect_uri?: string | undefined;
|
|
1645
|
+
scope?: string | undefined;
|
|
1646
|
+
state?: string | undefined;
|
|
1647
|
+
code_challenge?: string | undefined;
|
|
1648
|
+
code_challenge_method?: "S256" | undefined;
|
|
1649
|
+
};
|
|
1650
|
+
headers?: {
|
|
1651
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
}) => _mittwald_react_use_promise.AsyncResource<never>;
|
|
1640
1654
|
};
|
|
1641
1655
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1642
1656
|
/** 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,
|
|
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, bT as fileGetFileMeta, bU as fileGetFileUploadTokenRules, bV as fileGetFileUploadTypeRules, bW as fileGetFile, bX as mailListDeliveryBoxes, bZ as mailListMailAddresses, b$ as mailGetDeliveryBox, c1 as mailGetMailAddress, c3 as mailListProjectMailSettings, bi as newsletterGetInfo, bk as notificationsCountUnreadNotifications, bl as notificationsListNotifications, ce as pageinsightsGetPerformanceData, cf as pageinsightsGetStraceData, cg as pageinsightsListPerformanceDataForProject, ci as passwordValidationGetPasswordPolicy, cn as userGetOwnEmail, cr as userGetMfaStatus, cw as userListApiTokens, cz as userListSshKeys, cB as userGetApiToken, cE as userGetSshKey, cI as userGetOwnAccount, cK as userGetPasswordUpdatedAt, cL as userGetPersonalizedSettings, cN as userGetPollStatus, cP as userGetSession, cR as userGetUser, cV as userListFeedback, cW as userListSessions, d1 as userSupportCodeRequest, d7 as userOauthGetAuthorization, da as projectListInvitesForProject, dg as projectGetProjectInvite, di as projectGetProjectMembership, dl as projectGetProject, dq as projectGetProjectTokenInvite, dr as projectGetSelfMembershipForProject, ds as projectGetServer, du as projectListMembershipsForProject, dv as projectListProjectInvites, dw as projectListProjectMemberships, dx as projectListProjects, dy as projectListServers, dC as projectFileSystemGetDirectories, dD as projectFileSystemGetDiskUsage, dE as projectFileSystemGetFileContent, dF as projectFileSystemGetJwt, dG as projectFileSystemListFiles, dJ as sftpUserListSftpUsers, dL as sftpUserGetSftpUser, dO as sshUserListSshUsers, dQ as sshUserGetSshUser } from './shared/api-client.9217932c.mjs';
|
|
3
3
|
import '@mittwald/react-use-promise';
|
|
4
4
|
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -579,6 +579,11 @@ const buildUserApi = (baseClient) => ({
|
|
|
579
579
|
supportCodeRequest: new ApiCallAsyncResourceFactory(
|
|
580
580
|
userSupportCodeRequest,
|
|
581
581
|
baseClient.user.supportCodeRequest
|
|
582
|
+
).getApiResource,
|
|
583
|
+
/** Obtain authorization from the resource owner. */
|
|
584
|
+
oauthGetAuthorization: new ApiCallAsyncResourceFactory(
|
|
585
|
+
userOauthGetAuthorization,
|
|
586
|
+
baseClient.user.oauthGetAuthorization
|
|
582
587
|
).getApiResource
|
|
583
588
|
});
|
|
584
589
|
const buildProjectApi = (baseClient) => ({
|