@mittwald/api-client 2.0.14 → 2.0.16
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/cjs/generated/v2/client.d.ts +12 -39
- package/dist/cjs/generated/v2/client.js +0 -2
- package/dist/cjs/generated/v2/descriptors.d.ts +0 -2
- package/dist/cjs/generated/v2/descriptors.js +1 -7
- package/dist/cjs/generated/v2/types.d.ts +11 -45
- package/dist/esm/generated/v2/client.d.ts +12 -39
- package/dist/esm/generated/v2/client.js +0 -2
- package/dist/esm/generated/v2/descriptors.d.ts +0 -2
- package/dist/esm/generated/v2/descriptors.js +0 -6
- package/dist/esm/generated/v2/types.d.ts +11 -45
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -2393,7 +2393,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2393
2393
|
}, import("@mittwald/api-client-commons").Response<{
|
|
2394
2394
|
categoryId: string;
|
|
2395
2395
|
name: string;
|
|
2396
|
-
referenceType: ("
|
|
2396
|
+
referenceType: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategoryReferenceType;
|
|
2397
2397
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2398
2398
|
[x: string]: unknown;
|
|
2399
2399
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -2945,7 +2945,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2945
2945
|
}>;
|
|
2946
2946
|
}, import("@mittwald/api-client-commons").Response<{
|
|
2947
2947
|
abortedBy?: {
|
|
2948
|
-
id?: string | undefined;
|
|
2948
|
+
id?: string | undefined; /** Enable a MySQLUser. */
|
|
2949
2949
|
} | undefined;
|
|
2950
2950
|
durationInMilliseconds: number;
|
|
2951
2951
|
end?: string | undefined;
|
|
@@ -3544,7 +3544,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3544
3544
|
}>;
|
|
3545
3545
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3546
3546
|
activeSuspension?: {
|
|
3547
|
-
createdAt: string;
|
|
3547
|
+
createdAt: string;
|
|
3548
3548
|
} | undefined;
|
|
3549
3549
|
avatarRefId?: string | undefined;
|
|
3550
3550
|
categoryId?: string | undefined;
|
|
@@ -6434,7 +6434,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6434
6434
|
address: string;
|
|
6435
6435
|
isCatchAll: boolean;
|
|
6436
6436
|
mailbox: {
|
|
6437
|
-
enableSpamProtection: boolean;
|
|
6437
|
+
enableSpamProtection: boolean; /** Reset RecoveryCodes for MFA. */
|
|
6438
6438
|
password: string;
|
|
6439
6439
|
quotaInBytes: number;
|
|
6440
6440
|
};
|
|
@@ -6511,7 +6511,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6511
6511
|
current: {
|
|
6512
6512
|
updatedAt: string;
|
|
6513
6513
|
value: number;
|
|
6514
|
-
};
|
|
6514
|
+
};
|
|
6515
6515
|
limit: number;
|
|
6516
6516
|
};
|
|
6517
6517
|
} | undefined;
|
|
@@ -9054,10 +9054,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9054
9054
|
/** Submit your user feedback. */
|
|
9055
9055
|
createFeedback: (request: {
|
|
9056
9056
|
data: {
|
|
9057
|
-
origin: string;
|
|
9058
9057
|
subject: string;
|
|
9059
|
-
vote: number;
|
|
9060
9058
|
message?: string | undefined;
|
|
9059
|
+
origin?: string | undefined;
|
|
9060
|
+
type?: "feedback" | "bug" | undefined;
|
|
9061
|
+
vote?: number | undefined;
|
|
9061
9062
|
};
|
|
9062
9063
|
headers?: {
|
|
9063
9064
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -9066,9 +9067,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9066
9067
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9067
9068
|
data: {
|
|
9068
9069
|
message?: string | undefined;
|
|
9069
|
-
origin
|
|
9070
|
+
origin?: string | undefined;
|
|
9070
9071
|
subject: string;
|
|
9071
|
-
|
|
9072
|
+
type?: "feedback" | "bug" | undefined;
|
|
9073
|
+
vote?: number | undefined;
|
|
9072
9074
|
};
|
|
9073
9075
|
} & {
|
|
9074
9076
|
headers?: Partial<{
|
|
@@ -9085,36 +9087,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9085
9087
|
}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9086
9088
|
[x: string]: unknown;
|
|
9087
9089
|
}, 404, "application/json">>>;
|
|
9088
|
-
/** Create a new issue. */
|
|
9089
|
-
createIssue: (request: {
|
|
9090
|
-
data: {
|
|
9091
|
-
message: string;
|
|
9092
|
-
type: "feedback" | "bug";
|
|
9093
|
-
origin?: string | undefined;
|
|
9094
|
-
subject?: string | undefined;
|
|
9095
|
-
};
|
|
9096
|
-
headers?: {
|
|
9097
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9098
|
-
"x-access-token"?: string | undefined;
|
|
9099
|
-
} | undefined;
|
|
9100
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9101
|
-
data: {
|
|
9102
|
-
message: string;
|
|
9103
|
-
origin?: string | undefined;
|
|
9104
|
-
subject?: string | undefined;
|
|
9105
|
-
type: "feedback" | "bug";
|
|
9106
|
-
};
|
|
9107
|
-
} & {
|
|
9108
|
-
headers?: Partial<{
|
|
9109
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9110
|
-
}> | undefined;
|
|
9111
|
-
} & {
|
|
9112
|
-
headers: {
|
|
9113
|
-
"x-access-token"?: string | undefined;
|
|
9114
|
-
} & Partial<{
|
|
9115
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9116
|
-
}>;
|
|
9117
|
-
}, import("@mittwald/api-client-commons").Response<{}, 201, "empty">>>;
|
|
9118
9090
|
/** Get your stored ssh-keys. */
|
|
9119
9091
|
listSshKeys: (request?: {
|
|
9120
9092
|
headers?: {
|
|
@@ -9598,6 +9570,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9598
9570
|
email?: string | undefined;
|
|
9599
9571
|
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
9600
9572
|
phoneNumber?: string | undefined;
|
|
9573
|
+
registeredAt?: string | undefined;
|
|
9601
9574
|
userId: string;
|
|
9602
9575
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9603
9576
|
[x: string]: unknown;
|
|
@@ -572,8 +572,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
572
572
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
573
573
|
/** Submit your user feedback. */
|
|
574
574
|
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
|
|
575
|
-
/** Create a new issue. */
|
|
576
|
-
createIssue: this.requestFunctionFactory(descriptors.userCreateIssue),
|
|
577
575
|
/** Get your stored ssh-keys. */
|
|
578
576
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
579
577
|
/** Store a new ssh-key. */
|
|
@@ -531,8 +531,6 @@ export declare const userListApiTokens: OpenAPIOperation<RequestType<Simplify<nu
|
|
|
531
531
|
export declare const userCreateApiToken: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
532
532
|
/** Submit your user feedback. */
|
|
533
533
|
export declare const userCreateFeedback: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
534
|
-
/** Create a new issue. */
|
|
535
|
-
export declare const userCreateIssue: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
536
534
|
/** Get your stored ssh-keys. */
|
|
537
535
|
export declare const userListSshKeys: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
538
536
|
/** Store a new ssh-key. */
|
|
@@ -5,7 +5,7 @@ exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = expor
|
|
|
5
5
|
exports.fileCreateFile = exports.domainResendDomainEmail = exports.domainListToplevelDomains = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetToplevelDomain = exports.domainVerifyDomainOwnership = exports.domainGetSpecificDomainOwnership = exports.domainGetScreenshotForDomain = exports.domainGetHandleFields = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainDeclareProcessChangeHandles = exports.domainDeclareProcessChangeAuthcode = exports.domainDeclareNameservers = exports.domainCreateAuthcode2ForDomain = exports.domainCreateAuthcodeForDomain = exports.domainCheckDomainAvailability = exports.domainChangeProjectOfDomain = exports.domainChangeOwnercOfDomain = exports.domainAbortDeclareProcess = exports.dnsZonesForProject = exports.dnsZoneGetSpecific = exports.dnsRecordTxtSet = exports.dnsRecordMxSetManaged = exports.dnsRecordMxSetCustom = exports.dnsRecordCnameSet = exports.dnsRecordAsetManagedByIngress = exports.dnsRecordAsetCustom = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = void 0;
|
|
6
6
|
exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterSubscribeUser = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailProjectsettingUpdateWhitelist = exports.mailProjectsettingUpdateBlacklist = exports.mailProjectsettingGetSpecific = exports.mailMailaddressUpdateSpamprotection = exports.mailMailaddressUpdateQuota = exports.mailMailaddressUpdatePassword = exports.mailMailaddressUpdateForwardaddresses = exports.mailMailaddressUpdateCatchall = exports.mailMailaddressUpdateAutoresponder = exports.mailMailaddressUpdateAddress = exports.mailMailaddressDelete = exports.mailMailaddressGetSpecific = exports.mailMailaddressCreate = exports.mailMailaddressList = exports.mailDeliveryboxUpdatePassword = exports.mailDeliveryboxUpdateDescription = exports.mailDeliveryboxDelete = exports.mailDeliveryboxGetSpecific = exports.mailDeliveryboxCreate = exports.mailDeliveryboxList = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressTls = exports.ingressPaths = exports.ingressListForProject = exports.ingressListAccessible = exports.ingressDelete = exports.ingressGetSpecific = exports.ingressCreate = exports.fileGetFile = exports.fileGetFileTypeRules = exports.fileGetFileTokenRules = exports.fileGetFileMeta = void 0;
|
|
7
7
|
exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateLegacyTariffChange = exports.redirectusCreateRelocation = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = void 0;
|
|
8
|
-
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.
|
|
8
|
+
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = void 0;
|
|
9
9
|
/** execute a runtime concerning action on a specific `AppInstallation` */
|
|
10
10
|
exports.appExecuteAction = {
|
|
11
11
|
path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
|
|
@@ -1590,12 +1590,6 @@ exports.userCreateFeedback = {
|
|
|
1590
1590
|
method: "POST",
|
|
1591
1591
|
operationId: "user-create-feedback",
|
|
1592
1592
|
};
|
|
1593
|
-
/** Create a new issue. */
|
|
1594
|
-
exports.userCreateIssue = {
|
|
1595
|
-
path: "/v2/users/self/issues",
|
|
1596
|
-
method: "POST",
|
|
1597
|
-
operationId: "user-create-issue",
|
|
1598
|
-
};
|
|
1599
1593
|
/** Get your stored ssh-keys. */
|
|
1600
1594
|
exports.userListSshKeys = {
|
|
1601
1595
|
path: "/v2/users/self/ssh-keys",
|
|
@@ -409,10 +409,11 @@ export declare module MittwaldAPIV2 {
|
|
|
409
409
|
domain: string;
|
|
410
410
|
id: string;
|
|
411
411
|
}
|
|
412
|
+
type ConversationCategoryReferenceType = ("unspecified" | "server" | "project" | "organisation")[];
|
|
412
413
|
interface ConversationCategory {
|
|
413
414
|
categoryId: string;
|
|
414
415
|
name: string;
|
|
415
|
-
referenceType:
|
|
416
|
+
referenceType: MittwaldAPIV2.Components.Schemas.ConversationCategoryReferenceType;
|
|
416
417
|
}
|
|
417
418
|
interface ConversationConversation {
|
|
418
419
|
category?: MittwaldAPIV2.Components.Schemas.ConversationCategory;
|
|
@@ -1655,6 +1656,7 @@ export declare module MittwaldAPIV2 {
|
|
|
1655
1656
|
email?: string;
|
|
1656
1657
|
person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1657
1658
|
phoneNumber?: string;
|
|
1659
|
+
registeredAt?: string;
|
|
1658
1660
|
userId: string;
|
|
1659
1661
|
}
|
|
1660
1662
|
interface SignupSshKey {
|
|
@@ -6585,6 +6587,7 @@ export declare module MittwaldAPIV2 {
|
|
|
6585
6587
|
namespace V2NewsletterSubscriptions { }
|
|
6586
6588
|
namespace V2SignupEmail { }
|
|
6587
6589
|
namespace V2SignupPasswordResetConfirm { }
|
|
6590
|
+
namespace V2UsersSelfIssues { }
|
|
6588
6591
|
namespace V2SignupTokenApiApiTokenId { }
|
|
6589
6592
|
namespace V2SignupSshSshKeyId { }
|
|
6590
6593
|
namespace V2SignupMfa { }
|
|
@@ -12052,15 +12055,19 @@ export declare module MittwaldAPIV2 {
|
|
|
12052
12055
|
/**
|
|
12053
12056
|
* Origin of the feedback.
|
|
12054
12057
|
*/
|
|
12055
|
-
origin
|
|
12058
|
+
origin?: string;
|
|
12056
12059
|
/**
|
|
12057
12060
|
* Descriptive subject.
|
|
12058
12061
|
*/
|
|
12059
12062
|
subject: string;
|
|
12060
12063
|
/**
|
|
12061
|
-
*
|
|
12064
|
+
* Type of feedback.
|
|
12062
12065
|
*/
|
|
12063
|
-
|
|
12066
|
+
type?: "feedback" | "bug";
|
|
12067
|
+
/**
|
|
12068
|
+
* Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
|
|
12069
|
+
*/
|
|
12070
|
+
vote?: number;
|
|
12064
12071
|
}
|
|
12065
12072
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12066
12073
|
type Query = {};
|
|
@@ -12096,47 +12103,6 @@ export declare module MittwaldAPIV2 {
|
|
|
12096
12103
|
}
|
|
12097
12104
|
}
|
|
12098
12105
|
}
|
|
12099
|
-
namespace V2UsersSelfIssues {
|
|
12100
|
-
namespace Post {
|
|
12101
|
-
namespace Parameters {
|
|
12102
|
-
type Path = {};
|
|
12103
|
-
interface RequestBody {
|
|
12104
|
-
/**
|
|
12105
|
-
* Detailed report of the issue.
|
|
12106
|
-
*/
|
|
12107
|
-
message: string;
|
|
12108
|
-
/**
|
|
12109
|
-
* Origin of the issue.
|
|
12110
|
-
*/
|
|
12111
|
-
origin?: string;
|
|
12112
|
-
/**
|
|
12113
|
-
* Descriptive subject of the report.
|
|
12114
|
-
*/
|
|
12115
|
-
subject?: string;
|
|
12116
|
-
/**
|
|
12117
|
-
* Type of feedback.
|
|
12118
|
-
*/
|
|
12119
|
-
type: "feedback" | "bug";
|
|
12120
|
-
}
|
|
12121
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12122
|
-
type Query = {};
|
|
12123
|
-
}
|
|
12124
|
-
namespace Responses {
|
|
12125
|
-
namespace $201 {
|
|
12126
|
-
namespace Content {
|
|
12127
|
-
type Empty = unknown;
|
|
12128
|
-
}
|
|
12129
|
-
}
|
|
12130
|
-
namespace Default {
|
|
12131
|
-
namespace Content {
|
|
12132
|
-
interface ApplicationJson {
|
|
12133
|
-
[k: string]: unknown;
|
|
12134
|
-
}
|
|
12135
|
-
}
|
|
12136
|
-
}
|
|
12137
|
-
}
|
|
12138
|
-
}
|
|
12139
|
-
}
|
|
12140
12106
|
namespace V2SignupSsh { }
|
|
12141
12107
|
namespace V2UsersSelfSshKeys {
|
|
12142
12108
|
namespace Get {
|
|
@@ -2393,7 +2393,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2393
2393
|
}, import("@mittwald/api-client-commons").Response<{
|
|
2394
2394
|
categoryId: string;
|
|
2395
2395
|
name: string;
|
|
2396
|
-
referenceType: ("
|
|
2396
|
+
referenceType: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategoryReferenceType;
|
|
2397
2397
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2398
2398
|
[x: string]: unknown;
|
|
2399
2399
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -2945,7 +2945,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2945
2945
|
}>;
|
|
2946
2946
|
}, import("@mittwald/api-client-commons").Response<{
|
|
2947
2947
|
abortedBy?: {
|
|
2948
|
-
id?: string | undefined;
|
|
2948
|
+
id?: string | undefined; /** Enable a MySQLUser. */
|
|
2949
2949
|
} | undefined;
|
|
2950
2950
|
durationInMilliseconds: number;
|
|
2951
2951
|
end?: string | undefined;
|
|
@@ -3544,7 +3544,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
3544
3544
|
}>;
|
|
3545
3545
|
}, import("@mittwald/api-client-commons").Response<{
|
|
3546
3546
|
activeSuspension?: {
|
|
3547
|
-
createdAt: string;
|
|
3547
|
+
createdAt: string;
|
|
3548
3548
|
} | undefined;
|
|
3549
3549
|
avatarRefId?: string | undefined;
|
|
3550
3550
|
categoryId?: string | undefined;
|
|
@@ -6434,7 +6434,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6434
6434
|
address: string;
|
|
6435
6435
|
isCatchAll: boolean;
|
|
6436
6436
|
mailbox: {
|
|
6437
|
-
enableSpamProtection: boolean;
|
|
6437
|
+
enableSpamProtection: boolean; /** Reset RecoveryCodes for MFA. */
|
|
6438
6438
|
password: string;
|
|
6439
6439
|
quotaInBytes: number;
|
|
6440
6440
|
};
|
|
@@ -6511,7 +6511,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6511
6511
|
current: {
|
|
6512
6512
|
updatedAt: string;
|
|
6513
6513
|
value: number;
|
|
6514
|
-
};
|
|
6514
|
+
};
|
|
6515
6515
|
limit: number;
|
|
6516
6516
|
};
|
|
6517
6517
|
} | undefined;
|
|
@@ -9054,10 +9054,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9054
9054
|
/** Submit your user feedback. */
|
|
9055
9055
|
createFeedback: (request: {
|
|
9056
9056
|
data: {
|
|
9057
|
-
origin: string;
|
|
9058
9057
|
subject: string;
|
|
9059
|
-
vote: number;
|
|
9060
9058
|
message?: string | undefined;
|
|
9059
|
+
origin?: string | undefined;
|
|
9060
|
+
type?: "feedback" | "bug" | undefined;
|
|
9061
|
+
vote?: number | undefined;
|
|
9061
9062
|
};
|
|
9062
9063
|
headers?: {
|
|
9063
9064
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -9066,9 +9067,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9066
9067
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9067
9068
|
data: {
|
|
9068
9069
|
message?: string | undefined;
|
|
9069
|
-
origin
|
|
9070
|
+
origin?: string | undefined;
|
|
9070
9071
|
subject: string;
|
|
9071
|
-
|
|
9072
|
+
type?: "feedback" | "bug" | undefined;
|
|
9073
|
+
vote?: number | undefined;
|
|
9072
9074
|
};
|
|
9073
9075
|
} & {
|
|
9074
9076
|
headers?: Partial<{
|
|
@@ -9085,36 +9087,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9085
9087
|
}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9086
9088
|
[x: string]: unknown;
|
|
9087
9089
|
}, 404, "application/json">>>;
|
|
9088
|
-
/** Create a new issue. */
|
|
9089
|
-
createIssue: (request: {
|
|
9090
|
-
data: {
|
|
9091
|
-
message: string;
|
|
9092
|
-
type: "feedback" | "bug";
|
|
9093
|
-
origin?: string | undefined;
|
|
9094
|
-
subject?: string | undefined;
|
|
9095
|
-
};
|
|
9096
|
-
headers?: {
|
|
9097
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9098
|
-
"x-access-token"?: string | undefined;
|
|
9099
|
-
} | undefined;
|
|
9100
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9101
|
-
data: {
|
|
9102
|
-
message: string;
|
|
9103
|
-
origin?: string | undefined;
|
|
9104
|
-
subject?: string | undefined;
|
|
9105
|
-
type: "feedback" | "bug";
|
|
9106
|
-
};
|
|
9107
|
-
} & {
|
|
9108
|
-
headers?: Partial<{
|
|
9109
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9110
|
-
}> | undefined;
|
|
9111
|
-
} & {
|
|
9112
|
-
headers: {
|
|
9113
|
-
"x-access-token"?: string | undefined;
|
|
9114
|
-
} & Partial<{
|
|
9115
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9116
|
-
}>;
|
|
9117
|
-
}, import("@mittwald/api-client-commons").Response<{}, 201, "empty">>>;
|
|
9118
9090
|
/** Get your stored ssh-keys. */
|
|
9119
9091
|
listSshKeys: (request?: {
|
|
9120
9092
|
headers?: {
|
|
@@ -9598,6 +9570,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9598
9570
|
email?: string | undefined;
|
|
9599
9571
|
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
9600
9572
|
phoneNumber?: string | undefined;
|
|
9573
|
+
registeredAt?: string | undefined;
|
|
9601
9574
|
userId: string;
|
|
9602
9575
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9603
9576
|
[x: string]: unknown;
|
|
@@ -567,8 +567,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
567
567
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
568
568
|
/** Submit your user feedback. */
|
|
569
569
|
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
|
|
570
|
-
/** Create a new issue. */
|
|
571
|
-
createIssue: this.requestFunctionFactory(descriptors.userCreateIssue),
|
|
572
570
|
/** Get your stored ssh-keys. */
|
|
573
571
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
574
572
|
/** Store a new ssh-key. */
|
|
@@ -531,8 +531,6 @@ export declare const userListApiTokens: OpenAPIOperation<RequestType<Simplify<nu
|
|
|
531
531
|
export declare const userCreateApiToken: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokens.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
532
532
|
/** Submit your user feedback. */
|
|
533
533
|
export declare const userCreateFeedback: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfFeedback.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
534
|
-
/** Create a new issue. */
|
|
535
|
-
export declare const userCreateIssue: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfIssues.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
536
534
|
/** Get your stored ssh-keys. */
|
|
537
535
|
export declare const userListSshKeys: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
538
536
|
/** Store a new ssh-key. */
|
|
@@ -1582,12 +1582,6 @@ export const userCreateFeedback = {
|
|
|
1582
1582
|
method: "POST",
|
|
1583
1583
|
operationId: "user-create-feedback",
|
|
1584
1584
|
};
|
|
1585
|
-
/** Create a new issue. */
|
|
1586
|
-
export const userCreateIssue = {
|
|
1587
|
-
path: "/v2/users/self/issues",
|
|
1588
|
-
method: "POST",
|
|
1589
|
-
operationId: "user-create-issue",
|
|
1590
|
-
};
|
|
1591
1585
|
/** Get your stored ssh-keys. */
|
|
1592
1586
|
export const userListSshKeys = {
|
|
1593
1587
|
path: "/v2/users/self/ssh-keys",
|
|
@@ -409,10 +409,11 @@ export declare module MittwaldAPIV2 {
|
|
|
409
409
|
domain: string;
|
|
410
410
|
id: string;
|
|
411
411
|
}
|
|
412
|
+
type ConversationCategoryReferenceType = ("unspecified" | "server" | "project" | "organisation")[];
|
|
412
413
|
interface ConversationCategory {
|
|
413
414
|
categoryId: string;
|
|
414
415
|
name: string;
|
|
415
|
-
referenceType:
|
|
416
|
+
referenceType: MittwaldAPIV2.Components.Schemas.ConversationCategoryReferenceType;
|
|
416
417
|
}
|
|
417
418
|
interface ConversationConversation {
|
|
418
419
|
category?: MittwaldAPIV2.Components.Schemas.ConversationCategory;
|
|
@@ -1655,6 +1656,7 @@ export declare module MittwaldAPIV2 {
|
|
|
1655
1656
|
email?: string;
|
|
1656
1657
|
person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1657
1658
|
phoneNumber?: string;
|
|
1659
|
+
registeredAt?: string;
|
|
1658
1660
|
userId: string;
|
|
1659
1661
|
}
|
|
1660
1662
|
interface SignupSshKey {
|
|
@@ -6585,6 +6587,7 @@ export declare module MittwaldAPIV2 {
|
|
|
6585
6587
|
namespace V2NewsletterSubscriptions { }
|
|
6586
6588
|
namespace V2SignupEmail { }
|
|
6587
6589
|
namespace V2SignupPasswordResetConfirm { }
|
|
6590
|
+
namespace V2UsersSelfIssues { }
|
|
6588
6591
|
namespace V2SignupTokenApiApiTokenId { }
|
|
6589
6592
|
namespace V2SignupSshSshKeyId { }
|
|
6590
6593
|
namespace V2SignupMfa { }
|
|
@@ -12052,15 +12055,19 @@ export declare module MittwaldAPIV2 {
|
|
|
12052
12055
|
/**
|
|
12053
12056
|
* Origin of the feedback.
|
|
12054
12057
|
*/
|
|
12055
|
-
origin
|
|
12058
|
+
origin?: string;
|
|
12056
12059
|
/**
|
|
12057
12060
|
* Descriptive subject.
|
|
12058
12061
|
*/
|
|
12059
12062
|
subject: string;
|
|
12060
12063
|
/**
|
|
12061
|
-
*
|
|
12064
|
+
* Type of feedback.
|
|
12062
12065
|
*/
|
|
12063
|
-
|
|
12066
|
+
type?: "feedback" | "bug";
|
|
12067
|
+
/**
|
|
12068
|
+
* Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
|
|
12069
|
+
*/
|
|
12070
|
+
vote?: number;
|
|
12064
12071
|
}
|
|
12065
12072
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12066
12073
|
type Query = {};
|
|
@@ -12096,47 +12103,6 @@ export declare module MittwaldAPIV2 {
|
|
|
12096
12103
|
}
|
|
12097
12104
|
}
|
|
12098
12105
|
}
|
|
12099
|
-
namespace V2UsersSelfIssues {
|
|
12100
|
-
namespace Post {
|
|
12101
|
-
namespace Parameters {
|
|
12102
|
-
type Path = {};
|
|
12103
|
-
interface RequestBody {
|
|
12104
|
-
/**
|
|
12105
|
-
* Detailed report of the issue.
|
|
12106
|
-
*/
|
|
12107
|
-
message: string;
|
|
12108
|
-
/**
|
|
12109
|
-
* Origin of the issue.
|
|
12110
|
-
*/
|
|
12111
|
-
origin?: string;
|
|
12112
|
-
/**
|
|
12113
|
-
* Descriptive subject of the report.
|
|
12114
|
-
*/
|
|
12115
|
-
subject?: string;
|
|
12116
|
-
/**
|
|
12117
|
-
* Type of feedback.
|
|
12118
|
-
*/
|
|
12119
|
-
type: "feedback" | "bug";
|
|
12120
|
-
}
|
|
12121
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12122
|
-
type Query = {};
|
|
12123
|
-
}
|
|
12124
|
-
namespace Responses {
|
|
12125
|
-
namespace $201 {
|
|
12126
|
-
namespace Content {
|
|
12127
|
-
type Empty = unknown;
|
|
12128
|
-
}
|
|
12129
|
-
}
|
|
12130
|
-
namespace Default {
|
|
12131
|
-
namespace Content {
|
|
12132
|
-
interface ApplicationJson {
|
|
12133
|
-
[k: string]: unknown;
|
|
12134
|
-
}
|
|
12135
|
-
}
|
|
12136
|
-
}
|
|
12137
|
-
}
|
|
12138
|
-
}
|
|
12139
|
-
}
|
|
12140
12106
|
namespace V2SignupSsh { }
|
|
12141
12107
|
namespace V2UsersSelfSshKeys {
|
|
12142
12108
|
namespace Get {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '2.0.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '2.0.16';
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '2.0.
|
|
1
|
+
export const MittwaldAPIClientVersion = '2.0.16';
|