@mittwald/api-client 2.0.15 → 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 +8 -36
- 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 +9 -44
- package/dist/esm/generated/v2/client.d.ts +8 -36
- 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 +9 -44
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -6504,7 +6504,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6504
6504
|
spamProtection: {
|
|
6505
6505
|
active: boolean;
|
|
6506
6506
|
autoDeleteSpam: boolean;
|
|
6507
|
-
/** Store a new ssh-key. */
|
|
6508
6507
|
folder: "spam" | "inbox";
|
|
6509
6508
|
relocationMinSpamScore: number;
|
|
6510
6509
|
};
|
|
@@ -6512,7 +6511,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6512
6511
|
current: {
|
|
6513
6512
|
updatedAt: string;
|
|
6514
6513
|
value: number;
|
|
6515
|
-
};
|
|
6514
|
+
};
|
|
6516
6515
|
limit: number;
|
|
6517
6516
|
};
|
|
6518
6517
|
} | undefined;
|
|
@@ -9055,10 +9054,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9055
9054
|
/** Submit your user feedback. */
|
|
9056
9055
|
createFeedback: (request: {
|
|
9057
9056
|
data: {
|
|
9058
|
-
origin: string;
|
|
9059
9057
|
subject: string;
|
|
9060
|
-
vote: number;
|
|
9061
9058
|
message?: string | undefined;
|
|
9059
|
+
origin?: string | undefined;
|
|
9060
|
+
type?: "feedback" | "bug" | undefined;
|
|
9061
|
+
vote?: number | undefined;
|
|
9062
9062
|
};
|
|
9063
9063
|
headers?: {
|
|
9064
9064
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -9067,9 +9067,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9067
9067
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9068
9068
|
data: {
|
|
9069
9069
|
message?: string | undefined;
|
|
9070
|
-
origin
|
|
9070
|
+
origin?: string | undefined;
|
|
9071
9071
|
subject: string;
|
|
9072
|
-
|
|
9072
|
+
type?: "feedback" | "bug" | undefined;
|
|
9073
|
+
vote?: number | undefined;
|
|
9073
9074
|
};
|
|
9074
9075
|
} & {
|
|
9075
9076
|
headers?: Partial<{
|
|
@@ -9086,36 +9087,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9086
9087
|
}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9087
9088
|
[x: string]: unknown;
|
|
9088
9089
|
}, 404, "application/json">>>;
|
|
9089
|
-
/** Create a new issue. */
|
|
9090
|
-
createIssue: (request: {
|
|
9091
|
-
data: {
|
|
9092
|
-
message: string;
|
|
9093
|
-
type: "feedback" | "bug";
|
|
9094
|
-
origin?: string | undefined;
|
|
9095
|
-
subject?: string | undefined;
|
|
9096
|
-
};
|
|
9097
|
-
headers?: {
|
|
9098
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9099
|
-
"x-access-token"?: string | undefined;
|
|
9100
|
-
} | undefined;
|
|
9101
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9102
|
-
data: {
|
|
9103
|
-
message: string;
|
|
9104
|
-
origin?: string | undefined;
|
|
9105
|
-
subject?: string | undefined;
|
|
9106
|
-
type: "feedback" | "bug";
|
|
9107
|
-
};
|
|
9108
|
-
} & {
|
|
9109
|
-
headers?: Partial<{
|
|
9110
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9111
|
-
}> | undefined;
|
|
9112
|
-
} & {
|
|
9113
|
-
headers: {
|
|
9114
|
-
"x-access-token"?: string | undefined;
|
|
9115
|
-
} & Partial<{
|
|
9116
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9117
|
-
}>;
|
|
9118
|
-
}, import("@mittwald/api-client-commons").Response<{}, 201, "empty">>>;
|
|
9119
9090
|
/** Get your stored ssh-keys. */
|
|
9120
9091
|
listSshKeys: (request?: {
|
|
9121
9092
|
headers?: {
|
|
@@ -9599,6 +9570,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9599
9570
|
email?: string | undefined;
|
|
9600
9571
|
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
9601
9572
|
phoneNumber?: string | undefined;
|
|
9573
|
+
registeredAt?: string | undefined;
|
|
9602
9574
|
userId: string;
|
|
9603
9575
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9604
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",
|
|
@@ -1656,6 +1656,7 @@ export declare module MittwaldAPIV2 {
|
|
|
1656
1656
|
email?: string;
|
|
1657
1657
|
person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1658
1658
|
phoneNumber?: string;
|
|
1659
|
+
registeredAt?: string;
|
|
1659
1660
|
userId: string;
|
|
1660
1661
|
}
|
|
1661
1662
|
interface SignupSshKey {
|
|
@@ -6586,6 +6587,7 @@ export declare module MittwaldAPIV2 {
|
|
|
6586
6587
|
namespace V2NewsletterSubscriptions { }
|
|
6587
6588
|
namespace V2SignupEmail { }
|
|
6588
6589
|
namespace V2SignupPasswordResetConfirm { }
|
|
6590
|
+
namespace V2UsersSelfIssues { }
|
|
6589
6591
|
namespace V2SignupTokenApiApiTokenId { }
|
|
6590
6592
|
namespace V2SignupSshSshKeyId { }
|
|
6591
6593
|
namespace V2SignupMfa { }
|
|
@@ -12053,15 +12055,19 @@ export declare module MittwaldAPIV2 {
|
|
|
12053
12055
|
/**
|
|
12054
12056
|
* Origin of the feedback.
|
|
12055
12057
|
*/
|
|
12056
|
-
origin
|
|
12058
|
+
origin?: string;
|
|
12057
12059
|
/**
|
|
12058
12060
|
* Descriptive subject.
|
|
12059
12061
|
*/
|
|
12060
12062
|
subject: string;
|
|
12061
12063
|
/**
|
|
12062
|
-
*
|
|
12064
|
+
* Type of feedback.
|
|
12063
12065
|
*/
|
|
12064
|
-
|
|
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;
|
|
12065
12071
|
}
|
|
12066
12072
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12067
12073
|
type Query = {};
|
|
@@ -12097,47 +12103,6 @@ export declare module MittwaldAPIV2 {
|
|
|
12097
12103
|
}
|
|
12098
12104
|
}
|
|
12099
12105
|
}
|
|
12100
|
-
namespace V2UsersSelfIssues {
|
|
12101
|
-
namespace Post {
|
|
12102
|
-
namespace Parameters {
|
|
12103
|
-
type Path = {};
|
|
12104
|
-
interface RequestBody {
|
|
12105
|
-
/**
|
|
12106
|
-
* Detailed report of the issue.
|
|
12107
|
-
*/
|
|
12108
|
-
message: string;
|
|
12109
|
-
/**
|
|
12110
|
-
* Origin of the issue.
|
|
12111
|
-
*/
|
|
12112
|
-
origin?: string;
|
|
12113
|
-
/**
|
|
12114
|
-
* Descriptive subject of the report.
|
|
12115
|
-
*/
|
|
12116
|
-
subject?: string;
|
|
12117
|
-
/**
|
|
12118
|
-
* Type of feedback.
|
|
12119
|
-
*/
|
|
12120
|
-
type: "feedback" | "bug";
|
|
12121
|
-
}
|
|
12122
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12123
|
-
type Query = {};
|
|
12124
|
-
}
|
|
12125
|
-
namespace Responses {
|
|
12126
|
-
namespace $201 {
|
|
12127
|
-
namespace Content {
|
|
12128
|
-
type Empty = unknown;
|
|
12129
|
-
}
|
|
12130
|
-
}
|
|
12131
|
-
namespace Default {
|
|
12132
|
-
namespace Content {
|
|
12133
|
-
interface ApplicationJson {
|
|
12134
|
-
[k: string]: unknown;
|
|
12135
|
-
}
|
|
12136
|
-
}
|
|
12137
|
-
}
|
|
12138
|
-
}
|
|
12139
|
-
}
|
|
12140
|
-
}
|
|
12141
12106
|
namespace V2SignupSsh { }
|
|
12142
12107
|
namespace V2UsersSelfSshKeys {
|
|
12143
12108
|
namespace Get {
|
|
@@ -6504,7 +6504,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6504
6504
|
spamProtection: {
|
|
6505
6505
|
active: boolean;
|
|
6506
6506
|
autoDeleteSpam: boolean;
|
|
6507
|
-
/** Store a new ssh-key. */
|
|
6508
6507
|
folder: "spam" | "inbox";
|
|
6509
6508
|
relocationMinSpamScore: number;
|
|
6510
6509
|
};
|
|
@@ -6512,7 +6511,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6512
6511
|
current: {
|
|
6513
6512
|
updatedAt: string;
|
|
6514
6513
|
value: number;
|
|
6515
|
-
};
|
|
6514
|
+
};
|
|
6516
6515
|
limit: number;
|
|
6517
6516
|
};
|
|
6518
6517
|
} | undefined;
|
|
@@ -9055,10 +9054,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9055
9054
|
/** Submit your user feedback. */
|
|
9056
9055
|
createFeedback: (request: {
|
|
9057
9056
|
data: {
|
|
9058
|
-
origin: string;
|
|
9059
9057
|
subject: string;
|
|
9060
|
-
vote: number;
|
|
9061
9058
|
message?: string | undefined;
|
|
9059
|
+
origin?: string | undefined;
|
|
9060
|
+
type?: "feedback" | "bug" | undefined;
|
|
9061
|
+
vote?: number | undefined;
|
|
9062
9062
|
};
|
|
9063
9063
|
headers?: {
|
|
9064
9064
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -9067,9 +9067,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9067
9067
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9068
9068
|
data: {
|
|
9069
9069
|
message?: string | undefined;
|
|
9070
|
-
origin
|
|
9070
|
+
origin?: string | undefined;
|
|
9071
9071
|
subject: string;
|
|
9072
|
-
|
|
9072
|
+
type?: "feedback" | "bug" | undefined;
|
|
9073
|
+
vote?: number | undefined;
|
|
9073
9074
|
};
|
|
9074
9075
|
} & {
|
|
9075
9076
|
headers?: Partial<{
|
|
@@ -9086,36 +9087,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9086
9087
|
}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9087
9088
|
[x: string]: unknown;
|
|
9088
9089
|
}, 404, "application/json">>>;
|
|
9089
|
-
/** Create a new issue. */
|
|
9090
|
-
createIssue: (request: {
|
|
9091
|
-
data: {
|
|
9092
|
-
message: string;
|
|
9093
|
-
type: "feedback" | "bug";
|
|
9094
|
-
origin?: string | undefined;
|
|
9095
|
-
subject?: string | undefined;
|
|
9096
|
-
};
|
|
9097
|
-
headers?: {
|
|
9098
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9099
|
-
"x-access-token"?: string | undefined;
|
|
9100
|
-
} | undefined;
|
|
9101
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9102
|
-
data: {
|
|
9103
|
-
message: string;
|
|
9104
|
-
origin?: string | undefined;
|
|
9105
|
-
subject?: string | undefined;
|
|
9106
|
-
type: "feedback" | "bug";
|
|
9107
|
-
};
|
|
9108
|
-
} & {
|
|
9109
|
-
headers?: Partial<{
|
|
9110
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9111
|
-
}> | undefined;
|
|
9112
|
-
} & {
|
|
9113
|
-
headers: {
|
|
9114
|
-
"x-access-token"?: string | undefined;
|
|
9115
|
-
} & Partial<{
|
|
9116
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9117
|
-
}>;
|
|
9118
|
-
}, import("@mittwald/api-client-commons").Response<{}, 201, "empty">>>;
|
|
9119
9090
|
/** Get your stored ssh-keys. */
|
|
9120
9091
|
listSshKeys: (request?: {
|
|
9121
9092
|
headers?: {
|
|
@@ -9599,6 +9570,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9599
9570
|
email?: string | undefined;
|
|
9600
9571
|
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
9601
9572
|
phoneNumber?: string | undefined;
|
|
9573
|
+
registeredAt?: string | undefined;
|
|
9602
9574
|
userId: string;
|
|
9603
9575
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9604
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",
|
|
@@ -1656,6 +1656,7 @@ export declare module MittwaldAPIV2 {
|
|
|
1656
1656
|
email?: string;
|
|
1657
1657
|
person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1658
1658
|
phoneNumber?: string;
|
|
1659
|
+
registeredAt?: string;
|
|
1659
1660
|
userId: string;
|
|
1660
1661
|
}
|
|
1661
1662
|
interface SignupSshKey {
|
|
@@ -6586,6 +6587,7 @@ export declare module MittwaldAPIV2 {
|
|
|
6586
6587
|
namespace V2NewsletterSubscriptions { }
|
|
6587
6588
|
namespace V2SignupEmail { }
|
|
6588
6589
|
namespace V2SignupPasswordResetConfirm { }
|
|
6590
|
+
namespace V2UsersSelfIssues { }
|
|
6589
6591
|
namespace V2SignupTokenApiApiTokenId { }
|
|
6590
6592
|
namespace V2SignupSshSshKeyId { }
|
|
6591
6593
|
namespace V2SignupMfa { }
|
|
@@ -12053,15 +12055,19 @@ export declare module MittwaldAPIV2 {
|
|
|
12053
12055
|
/**
|
|
12054
12056
|
* Origin of the feedback.
|
|
12055
12057
|
*/
|
|
12056
|
-
origin
|
|
12058
|
+
origin?: string;
|
|
12057
12059
|
/**
|
|
12058
12060
|
* Descriptive subject.
|
|
12059
12061
|
*/
|
|
12060
12062
|
subject: string;
|
|
12061
12063
|
/**
|
|
12062
|
-
*
|
|
12064
|
+
* Type of feedback.
|
|
12063
12065
|
*/
|
|
12064
|
-
|
|
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;
|
|
12065
12071
|
}
|
|
12066
12072
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12067
12073
|
type Query = {};
|
|
@@ -12097,47 +12103,6 @@ export declare module MittwaldAPIV2 {
|
|
|
12097
12103
|
}
|
|
12098
12104
|
}
|
|
12099
12105
|
}
|
|
12100
|
-
namespace V2UsersSelfIssues {
|
|
12101
|
-
namespace Post {
|
|
12102
|
-
namespace Parameters {
|
|
12103
|
-
type Path = {};
|
|
12104
|
-
interface RequestBody {
|
|
12105
|
-
/**
|
|
12106
|
-
* Detailed report of the issue.
|
|
12107
|
-
*/
|
|
12108
|
-
message: string;
|
|
12109
|
-
/**
|
|
12110
|
-
* Origin of the issue.
|
|
12111
|
-
*/
|
|
12112
|
-
origin?: string;
|
|
12113
|
-
/**
|
|
12114
|
-
* Descriptive subject of the report.
|
|
12115
|
-
*/
|
|
12116
|
-
subject?: string;
|
|
12117
|
-
/**
|
|
12118
|
-
* Type of feedback.
|
|
12119
|
-
*/
|
|
12120
|
-
type: "feedback" | "bug";
|
|
12121
|
-
}
|
|
12122
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12123
|
-
type Query = {};
|
|
12124
|
-
}
|
|
12125
|
-
namespace Responses {
|
|
12126
|
-
namespace $201 {
|
|
12127
|
-
namespace Content {
|
|
12128
|
-
type Empty = unknown;
|
|
12129
|
-
}
|
|
12130
|
-
}
|
|
12131
|
-
namespace Default {
|
|
12132
|
-
namespace Content {
|
|
12133
|
-
interface ApplicationJson {
|
|
12134
|
-
[k: string]: unknown;
|
|
12135
|
-
}
|
|
12136
|
-
}
|
|
12137
|
-
}
|
|
12138
|
-
}
|
|
12139
|
-
}
|
|
12140
|
-
}
|
|
12141
12106
|
namespace V2SignupSsh { }
|
|
12142
12107
|
namespace V2UsersSelfSshKeys {
|
|
12143
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';
|