@mittwald/api-client
Advanced tools
Comparing version 1.0.3 to 1.0.4
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -30,3 +7,3 @@ exports.MittwaldAPIV2Client = void 0; | ||
/* This file is auto-generated with acg (@mittwald/api-code-generator) */ | ||
const descriptors = __importStar(require("./descriptors.js")); | ||
const descriptors = require("./descriptors.js"); | ||
const api_client_commons_1 = require("@mittwald/api-client-commons"); | ||
@@ -139,8 +116,2 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase { | ||
listContracts: this.requestFunctionFactory(descriptors.contractListContracts), | ||
/** Return the Contract for the given Domain. */ | ||
deprecatedContractGetDetailOfContractByDomain: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByDomain), | ||
/** Return the Contract for the given Project. */ | ||
deprecatedContractGetDetailOfContractByProject: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByProject), | ||
/** Return the Contract for the given Server. */ | ||
deprecatedContractGetDetailOfContractByServer: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByServer), | ||
/** Get details of an Invoice. */ | ||
@@ -222,6 +193,2 @@ invoiceDetailOfInvoice: this.requestFunctionFactory(descriptors.invoiceDetailOfInvoice), | ||
/** Get all customer categories. */ | ||
listOfCustomerCategoriesDeprecated: this.requestFunctionFactory(descriptors.customerListOfCustomerCategoriesDeprecated), | ||
/** Create a new customer category. */ | ||
createCategoryDeprecated: this.requestFunctionFactory(descriptors.customerCreateCategoryDeprecated), | ||
/** Get all customer categories. */ | ||
listOfCustomerCategories: this.requestFunctionFactory(descriptors.customerListOfCustomerCategories), | ||
@@ -239,8 +206,2 @@ /** Create a new customer category. */ | ||
/** Get a customer category. */ | ||
detailOfCustomerCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDetailOfCustomerCategoryDeprecated), | ||
/** Update a customer category. */ | ||
updateCategoryDeprecated: this.requestFunctionFactory(descriptors.customerUpdateCategoryDeprecated), | ||
/** Delete a customer category. */ | ||
deleteCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDeleteCategoryDeprecated), | ||
/** Get a customer category. */ | ||
getCustomerCategory: this.requestFunctionFactory(descriptors.customerGetCustomerCategory), | ||
@@ -337,152 +298,2 @@ /** Update a customer category. */ | ||
}; | ||
/** The notification API allows you to manage your notifications. */ | ||
this.notification = { | ||
/** getting the subscription status of the subscription */ | ||
deprecatedNewsletterGetInfo: this.requestFunctionFactory(descriptors.deprecatedNewsletterGetInfo), | ||
/** Unsubscribe a user from the mStudio newsletter. */ | ||
deprecatedNewsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterUnsubscribeUser), | ||
/** subscribe a user to the mStudio newsletter */ | ||
deprecatedNewsletterSubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterSubscribeUser), | ||
/** Getting the subscription status of the subscription. */ | ||
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo), | ||
/** Unsubscribe a user from the mStudio newsletter. */ | ||
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser), | ||
/** Subscribe a user to the mStudio newsletter. */ | ||
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser), | ||
/** Get the counts for unread notifications of the user. */ | ||
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications), | ||
/** List all unread notifications */ | ||
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications), | ||
/** Mark all notifications as read. */ | ||
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications), | ||
/** Mark notification as read. */ | ||
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification), | ||
}; | ||
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */ | ||
this.user = { | ||
/** Request a new avatar upload */ | ||
deprecatedUserServiceAvatarRequestUpload: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRequestUpload), | ||
/** Remove Avatar */ | ||
deprecatedUserServiceAvatarRemove: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRemove), | ||
/** Returns your submitted feedback */ | ||
deprecatedUserServiceFeedbackList: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackList), | ||
/** Submit user feedback */ | ||
deprecatedUserServiceFeedbackCreate: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackCreate), | ||
/** create a new issue */ | ||
deprecatedUserServiceIssueNew: this.requestFunctionFactory(descriptors.deprecatedUserServiceIssueNew), | ||
/** Get profile information for the specified user if the user is related to the executing user */ | ||
deprecatedUserServiceUserGet: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGet), | ||
/** Change your personal information */ | ||
deprecatedUserServicePersonalInformationUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalInformationUpdate), | ||
/** Get personalized settings for the user executing the request */ | ||
deprecatedUserServicePersonalizedSettingsGet: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsGet), | ||
/** update personalized settings */ | ||
deprecatedUserServicePersonalizedSettingsUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsUpdate), | ||
/** Add phone number and init verification process */ | ||
deprecatedUserServicePhoneNumberAdd: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberAdd), | ||
/** remove your PhoneNumber */ | ||
deprecatedUserServicePhoneNumberRemove: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberRemove), | ||
/** Verify phone number */ | ||
deprecatedUserServicePhoneNumberVerify: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberVerify), | ||
/** Get profile information for the executing user */ | ||
deprecatedUserServiceUserGetOwn: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGetOwn), | ||
/** Add phone number and start verification process. */ | ||
addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber), | ||
/** Remove phone number. */ | ||
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber), | ||
/** Authenticate yourself to get an access token. */ | ||
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate), | ||
/** Validate your second factor. */ | ||
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa), | ||
/** Get your primary verified Email-Address */ | ||
getEmail: this.requestFunctionFactory(descriptors.userGetEmail), | ||
/** Change your Email-Address */ | ||
changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail), | ||
/** The timestamp of your latest password change */ | ||
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt), | ||
/** Change your password */ | ||
changePassword: this.requestFunctionFactory(descriptors.userChangePassword), | ||
/** Get your profile information */ | ||
getOwnProfile: this.requestFunctionFactory(descriptors.userGetOwnProfile), | ||
/** Change your profile information */ | ||
changeProfile: this.requestFunctionFactory(descriptors.userChangeProfile), | ||
/** Delete your profile and all your personal data */ | ||
deleteProfile: this.requestFunctionFactory(descriptors.userDeleteProfile), | ||
/** Check a token for validity */ | ||
checkToken: this.requestFunctionFactory(descriptors.userCheckToken), | ||
/** Confirm Multi Factor Authentication */ | ||
confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa), | ||
/** Confirm password reset */ | ||
confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset), | ||
/** List all ApiTokens of the user */ | ||
listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens), | ||
/** Store a new ApiToken */ | ||
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken), | ||
/** Submit your user feedback. */ | ||
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback), | ||
/** Create a new issue. */ | ||
createIssue: this.requestFunctionFactory(descriptors.userCreateIssue), | ||
/** Get your stored ssh keys */ | ||
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys), | ||
/** Store a new SSH key */ | ||
createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey), | ||
/** Get a specific ApiToken */ | ||
getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken), | ||
/** Update an existing `ApiToken` */ | ||
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken), | ||
/** Deletes an ApiToken */ | ||
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken), | ||
/** Get a specific stored SshKey */ | ||
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey), | ||
/** Edit a stored SshKey */ | ||
editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey), | ||
/** Remove a SSH-key */ | ||
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey), | ||
/** Get your current multi factor auth status */ | ||
getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus), | ||
/** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */ | ||
initMfa: this.requestFunctionFactory(descriptors.userInitMfa), | ||
/** Disable Multi Factor Authentication. */ | ||
disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa), | ||
/** Get personalized settings. */ | ||
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings), | ||
/** Update personalized GUI settings. */ | ||
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings), | ||
/** Get a specific Session */ | ||
getSession: this.requestFunctionFactory(descriptors.userGetSession), | ||
/** Terminate a specific Session */ | ||
terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession), | ||
/** Get profile information for a user. */ | ||
getUser: this.requestFunctionFactory(descriptors.userGetUser), | ||
/** Change personal information. */ | ||
updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation), | ||
/** Initialize password reset process */ | ||
initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset), | ||
/** Submitted feedback of the given user. */ | ||
listFeedback: this.requestFunctionFactory(descriptors.userListFeedback), | ||
/** List all active sessions */ | ||
listSessions: this.requestFunctionFactory(descriptors.userListSessions), | ||
/** Terminate all sessions, except the current Session */ | ||
terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions), | ||
/** Terminate session and invalidate access token */ | ||
logout: this.requestFunctionFactory(descriptors.userLogout), | ||
/** Register with email and password. */ | ||
register: this.requestFunctionFactory(descriptors.userRegister), | ||
/** Request a new avatar image upload. */ | ||
requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload), | ||
/** Remove Avatar. */ | ||
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar), | ||
/** Resend the Email-Address verification email */ | ||
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail), | ||
/** Reset RecoveryCodes for MFA */ | ||
resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes), | ||
/** Request a support code */ | ||
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest), | ||
/** Verify an added Email-Address */ | ||
verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail), | ||
/** Verify phone number. */ | ||
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber), | ||
/** Verify your registration */ | ||
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration), | ||
}; | ||
/** The domain API allows you to manage your domains, DNS records and ingress resources. */ | ||
@@ -615,2 +426,19 @@ this.domain = { | ||
}; | ||
/** The notification API allows you to manage your notifications. */ | ||
this.notification = { | ||
/** Getting the subscription status of the subscription. */ | ||
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo), | ||
/** Unsubscribe a user from the mStudio newsletter. */ | ||
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser), | ||
/** Subscribe a user to the mStudio newsletter. */ | ||
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser), | ||
/** Get the counts for unread notifications of the user. */ | ||
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications), | ||
/** List all unread notifications */ | ||
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications), | ||
/** Mark all notifications as read. */ | ||
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications), | ||
/** Mark notification as read. */ | ||
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification), | ||
}; | ||
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */ | ||
@@ -711,2 +539,103 @@ this.project = { | ||
}; | ||
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */ | ||
this.user = { | ||
/** Add phone number and start verification process. */ | ||
addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber), | ||
/** Remove phone number. */ | ||
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber), | ||
/** Authenticate yourself to get an access token. */ | ||
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate), | ||
/** Validate your second factor. */ | ||
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa), | ||
/** Get your primary verified Email-Address */ | ||
getEmail: this.requestFunctionFactory(descriptors.userGetEmail), | ||
/** Change your Email-Address */ | ||
changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail), | ||
/** The timestamp of your latest password change */ | ||
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt), | ||
/** Change your password */ | ||
changePassword: this.requestFunctionFactory(descriptors.userChangePassword), | ||
/** Get your profile information */ | ||
getOwnProfile: this.requestFunctionFactory(descriptors.userGetOwnProfile), | ||
/** Change your profile information */ | ||
changeProfile: this.requestFunctionFactory(descriptors.userChangeProfile), | ||
/** Delete your profile and all your personal data */ | ||
deleteProfile: this.requestFunctionFactory(descriptors.userDeleteProfile), | ||
/** Check a token for validity */ | ||
checkToken: this.requestFunctionFactory(descriptors.userCheckToken), | ||
/** Confirm Multi Factor Authentication */ | ||
confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa), | ||
/** Confirm password reset */ | ||
confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset), | ||
/** List all ApiTokens of the user */ | ||
listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens), | ||
/** Store a new ApiToken */ | ||
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken), | ||
/** Submit your user feedback. */ | ||
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback), | ||
/** Create a new issue. */ | ||
createIssue: this.requestFunctionFactory(descriptors.userCreateIssue), | ||
/** Get your stored ssh keys */ | ||
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys), | ||
/** Store a new SSH key */ | ||
createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey), | ||
/** Get a specific ApiToken */ | ||
getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken), | ||
/** Update an existing `ApiToken` */ | ||
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken), | ||
/** Deletes an ApiToken */ | ||
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken), | ||
/** Get a specific stored SshKey */ | ||
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey), | ||
/** Edit a stored SshKey */ | ||
editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey), | ||
/** Remove a SSH-key */ | ||
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey), | ||
/** Get your current multi factor auth status */ | ||
getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus), | ||
/** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */ | ||
initMfa: this.requestFunctionFactory(descriptors.userInitMfa), | ||
/** Disable Multi Factor Authentication. */ | ||
disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa), | ||
/** Get personalized settings. */ | ||
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings), | ||
/** Update personalized GUI settings. */ | ||
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings), | ||
/** Get a specific Session */ | ||
getSession: this.requestFunctionFactory(descriptors.userGetSession), | ||
/** Terminate a specific Session */ | ||
terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession), | ||
/** Get profile information for a user. */ | ||
getUser: this.requestFunctionFactory(descriptors.userGetUser), | ||
/** Change personal information. */ | ||
updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation), | ||
/** Initialize password reset process */ | ||
initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset), | ||
/** Submitted feedback of the given user. */ | ||
listFeedback: this.requestFunctionFactory(descriptors.userListFeedback), | ||
/** List all active sessions */ | ||
listSessions: this.requestFunctionFactory(descriptors.userListSessions), | ||
/** Terminate all sessions, except the current Session */ | ||
terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions), | ||
/** Terminate session and invalidate access token */ | ||
logout: this.requestFunctionFactory(descriptors.userLogout), | ||
/** Register with email and password. */ | ||
register: this.requestFunctionFactory(descriptors.userRegister), | ||
/** Request a new avatar image upload. */ | ||
requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload), | ||
/** Remove Avatar. */ | ||
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar), | ||
/** Resend the Email-Address verification email */ | ||
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail), | ||
/** Reset RecoveryCodes for MFA */ | ||
resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes), | ||
/** Request a support code */ | ||
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest), | ||
/** Verify an added Email-Address */ | ||
verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail), | ||
/** Verify phone number. */ | ||
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber), | ||
/** Verify your registration */ | ||
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration), | ||
}; | ||
} | ||
@@ -713,0 +642,0 @@ } |
@@ -11,9 +11,6 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MittwaldAPIClient = void 0; | ||
const api_client_commons_1 = require("@mittwald/api-client-commons"); | ||
const client_js_1 = __importDefault(require("./generated/v2/client.js")); | ||
const client_js_1 = require("./generated/v2/client.js"); | ||
class MittwaldAPIClient extends client_js_1.default { | ||
@@ -20,0 +17,0 @@ constructor(apiToken) { |
@@ -110,8 +110,2 @@ /* eslint-disable */ | ||
listContracts: this.requestFunctionFactory(descriptors.contractListContracts), | ||
/** Return the Contract for the given Domain. */ | ||
deprecatedContractGetDetailOfContractByDomain: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByDomain), | ||
/** Return the Contract for the given Project. */ | ||
deprecatedContractGetDetailOfContractByProject: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByProject), | ||
/** Return the Contract for the given Server. */ | ||
deprecatedContractGetDetailOfContractByServer: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByServer), | ||
/** Get details of an Invoice. */ | ||
@@ -193,6 +187,2 @@ invoiceDetailOfInvoice: this.requestFunctionFactory(descriptors.invoiceDetailOfInvoice), | ||
/** Get all customer categories. */ | ||
listOfCustomerCategoriesDeprecated: this.requestFunctionFactory(descriptors.customerListOfCustomerCategoriesDeprecated), | ||
/** Create a new customer category. */ | ||
createCategoryDeprecated: this.requestFunctionFactory(descriptors.customerCreateCategoryDeprecated), | ||
/** Get all customer categories. */ | ||
listOfCustomerCategories: this.requestFunctionFactory(descriptors.customerListOfCustomerCategories), | ||
@@ -210,8 +200,2 @@ /** Create a new customer category. */ | ||
/** Get a customer category. */ | ||
detailOfCustomerCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDetailOfCustomerCategoryDeprecated), | ||
/** Update a customer category. */ | ||
updateCategoryDeprecated: this.requestFunctionFactory(descriptors.customerUpdateCategoryDeprecated), | ||
/** Delete a customer category. */ | ||
deleteCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDeleteCategoryDeprecated), | ||
/** Get a customer category. */ | ||
getCustomerCategory: this.requestFunctionFactory(descriptors.customerGetCustomerCategory), | ||
@@ -308,152 +292,2 @@ /** Update a customer category. */ | ||
}; | ||
/** The notification API allows you to manage your notifications. */ | ||
notification = { | ||
/** getting the subscription status of the subscription */ | ||
deprecatedNewsletterGetInfo: this.requestFunctionFactory(descriptors.deprecatedNewsletterGetInfo), | ||
/** Unsubscribe a user from the mStudio newsletter. */ | ||
deprecatedNewsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterUnsubscribeUser), | ||
/** subscribe a user to the mStudio newsletter */ | ||
deprecatedNewsletterSubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterSubscribeUser), | ||
/** Getting the subscription status of the subscription. */ | ||
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo), | ||
/** Unsubscribe a user from the mStudio newsletter. */ | ||
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser), | ||
/** Subscribe a user to the mStudio newsletter. */ | ||
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser), | ||
/** Get the counts for unread notifications of the user. */ | ||
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications), | ||
/** List all unread notifications */ | ||
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications), | ||
/** Mark all notifications as read. */ | ||
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications), | ||
/** Mark notification as read. */ | ||
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification), | ||
}; | ||
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */ | ||
user = { | ||
/** Request a new avatar upload */ | ||
deprecatedUserServiceAvatarRequestUpload: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRequestUpload), | ||
/** Remove Avatar */ | ||
deprecatedUserServiceAvatarRemove: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRemove), | ||
/** Returns your submitted feedback */ | ||
deprecatedUserServiceFeedbackList: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackList), | ||
/** Submit user feedback */ | ||
deprecatedUserServiceFeedbackCreate: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackCreate), | ||
/** create a new issue */ | ||
deprecatedUserServiceIssueNew: this.requestFunctionFactory(descriptors.deprecatedUserServiceIssueNew), | ||
/** Get profile information for the specified user if the user is related to the executing user */ | ||
deprecatedUserServiceUserGet: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGet), | ||
/** Change your personal information */ | ||
deprecatedUserServicePersonalInformationUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalInformationUpdate), | ||
/** Get personalized settings for the user executing the request */ | ||
deprecatedUserServicePersonalizedSettingsGet: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsGet), | ||
/** update personalized settings */ | ||
deprecatedUserServicePersonalizedSettingsUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsUpdate), | ||
/** Add phone number and init verification process */ | ||
deprecatedUserServicePhoneNumberAdd: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberAdd), | ||
/** remove your PhoneNumber */ | ||
deprecatedUserServicePhoneNumberRemove: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberRemove), | ||
/** Verify phone number */ | ||
deprecatedUserServicePhoneNumberVerify: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberVerify), | ||
/** Get profile information for the executing user */ | ||
deprecatedUserServiceUserGetOwn: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGetOwn), | ||
/** Add phone number and start verification process. */ | ||
addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber), | ||
/** Remove phone number. */ | ||
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber), | ||
/** Authenticate yourself to get an access token. */ | ||
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate), | ||
/** Validate your second factor. */ | ||
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa), | ||
/** Get your primary verified Email-Address */ | ||
getEmail: this.requestFunctionFactory(descriptors.userGetEmail), | ||
/** Change your Email-Address */ | ||
changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail), | ||
/** The timestamp of your latest password change */ | ||
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt), | ||
/** Change your password */ | ||
changePassword: this.requestFunctionFactory(descriptors.userChangePassword), | ||
/** Get your profile information */ | ||
getOwnProfile: this.requestFunctionFactory(descriptors.userGetOwnProfile), | ||
/** Change your profile information */ | ||
changeProfile: this.requestFunctionFactory(descriptors.userChangeProfile), | ||
/** Delete your profile and all your personal data */ | ||
deleteProfile: this.requestFunctionFactory(descriptors.userDeleteProfile), | ||
/** Check a token for validity */ | ||
checkToken: this.requestFunctionFactory(descriptors.userCheckToken), | ||
/** Confirm Multi Factor Authentication */ | ||
confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa), | ||
/** Confirm password reset */ | ||
confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset), | ||
/** List all ApiTokens of the user */ | ||
listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens), | ||
/** Store a new ApiToken */ | ||
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken), | ||
/** Submit your user feedback. */ | ||
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback), | ||
/** Create a new issue. */ | ||
createIssue: this.requestFunctionFactory(descriptors.userCreateIssue), | ||
/** Get your stored ssh keys */ | ||
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys), | ||
/** Store a new SSH key */ | ||
createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey), | ||
/** Get a specific ApiToken */ | ||
getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken), | ||
/** Update an existing `ApiToken` */ | ||
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken), | ||
/** Deletes an ApiToken */ | ||
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken), | ||
/** Get a specific stored SshKey */ | ||
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey), | ||
/** Edit a stored SshKey */ | ||
editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey), | ||
/** Remove a SSH-key */ | ||
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey), | ||
/** Get your current multi factor auth status */ | ||
getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus), | ||
/** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */ | ||
initMfa: this.requestFunctionFactory(descriptors.userInitMfa), | ||
/** Disable Multi Factor Authentication. */ | ||
disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa), | ||
/** Get personalized settings. */ | ||
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings), | ||
/** Update personalized GUI settings. */ | ||
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings), | ||
/** Get a specific Session */ | ||
getSession: this.requestFunctionFactory(descriptors.userGetSession), | ||
/** Terminate a specific Session */ | ||
terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession), | ||
/** Get profile information for a user. */ | ||
getUser: this.requestFunctionFactory(descriptors.userGetUser), | ||
/** Change personal information. */ | ||
updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation), | ||
/** Initialize password reset process */ | ||
initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset), | ||
/** Submitted feedback of the given user. */ | ||
listFeedback: this.requestFunctionFactory(descriptors.userListFeedback), | ||
/** List all active sessions */ | ||
listSessions: this.requestFunctionFactory(descriptors.userListSessions), | ||
/** Terminate all sessions, except the current Session */ | ||
terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions), | ||
/** Terminate session and invalidate access token */ | ||
logout: this.requestFunctionFactory(descriptors.userLogout), | ||
/** Register with email and password. */ | ||
register: this.requestFunctionFactory(descriptors.userRegister), | ||
/** Request a new avatar image upload. */ | ||
requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload), | ||
/** Remove Avatar. */ | ||
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar), | ||
/** Resend the Email-Address verification email */ | ||
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail), | ||
/** Reset RecoveryCodes for MFA */ | ||
resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes), | ||
/** Request a support code */ | ||
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest), | ||
/** Verify an added Email-Address */ | ||
verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail), | ||
/** Verify phone number. */ | ||
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber), | ||
/** Verify your registration */ | ||
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration), | ||
}; | ||
/** The domain API allows you to manage your domains, DNS records and ingress resources. */ | ||
@@ -586,2 +420,19 @@ domain = { | ||
}; | ||
/** The notification API allows you to manage your notifications. */ | ||
notification = { | ||
/** Getting the subscription status of the subscription. */ | ||
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo), | ||
/** Unsubscribe a user from the mStudio newsletter. */ | ||
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser), | ||
/** Subscribe a user to the mStudio newsletter. */ | ||
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser), | ||
/** Get the counts for unread notifications of the user. */ | ||
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications), | ||
/** List all unread notifications */ | ||
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications), | ||
/** Mark all notifications as read. */ | ||
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications), | ||
/** Mark notification as read. */ | ||
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification), | ||
}; | ||
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */ | ||
@@ -682,3 +533,104 @@ project = { | ||
}; | ||
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */ | ||
user = { | ||
/** Add phone number and start verification process. */ | ||
addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber), | ||
/** Remove phone number. */ | ||
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber), | ||
/** Authenticate yourself to get an access token. */ | ||
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate), | ||
/** Validate your second factor. */ | ||
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa), | ||
/** Get your primary verified Email-Address */ | ||
getEmail: this.requestFunctionFactory(descriptors.userGetEmail), | ||
/** Change your Email-Address */ | ||
changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail), | ||
/** The timestamp of your latest password change */ | ||
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt), | ||
/** Change your password */ | ||
changePassword: this.requestFunctionFactory(descriptors.userChangePassword), | ||
/** Get your profile information */ | ||
getOwnProfile: this.requestFunctionFactory(descriptors.userGetOwnProfile), | ||
/** Change your profile information */ | ||
changeProfile: this.requestFunctionFactory(descriptors.userChangeProfile), | ||
/** Delete your profile and all your personal data */ | ||
deleteProfile: this.requestFunctionFactory(descriptors.userDeleteProfile), | ||
/** Check a token for validity */ | ||
checkToken: this.requestFunctionFactory(descriptors.userCheckToken), | ||
/** Confirm Multi Factor Authentication */ | ||
confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa), | ||
/** Confirm password reset */ | ||
confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset), | ||
/** List all ApiTokens of the user */ | ||
listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens), | ||
/** Store a new ApiToken */ | ||
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken), | ||
/** Submit your user feedback. */ | ||
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback), | ||
/** Create a new issue. */ | ||
createIssue: this.requestFunctionFactory(descriptors.userCreateIssue), | ||
/** Get your stored ssh keys */ | ||
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys), | ||
/** Store a new SSH key */ | ||
createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey), | ||
/** Get a specific ApiToken */ | ||
getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken), | ||
/** Update an existing `ApiToken` */ | ||
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken), | ||
/** Deletes an ApiToken */ | ||
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken), | ||
/** Get a specific stored SshKey */ | ||
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey), | ||
/** Edit a stored SshKey */ | ||
editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey), | ||
/** Remove a SSH-key */ | ||
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey), | ||
/** Get your current multi factor auth status */ | ||
getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus), | ||
/** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */ | ||
initMfa: this.requestFunctionFactory(descriptors.userInitMfa), | ||
/** Disable Multi Factor Authentication. */ | ||
disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa), | ||
/** Get personalized settings. */ | ||
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings), | ||
/** Update personalized GUI settings. */ | ||
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings), | ||
/** Get a specific Session */ | ||
getSession: this.requestFunctionFactory(descriptors.userGetSession), | ||
/** Terminate a specific Session */ | ||
terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession), | ||
/** Get profile information for a user. */ | ||
getUser: this.requestFunctionFactory(descriptors.userGetUser), | ||
/** Change personal information. */ | ||
updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation), | ||
/** Initialize password reset process */ | ||
initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset), | ||
/** Submitted feedback of the given user. */ | ||
listFeedback: this.requestFunctionFactory(descriptors.userListFeedback), | ||
/** List all active sessions */ | ||
listSessions: this.requestFunctionFactory(descriptors.userListSessions), | ||
/** Terminate all sessions, except the current Session */ | ||
terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions), | ||
/** Terminate session and invalidate access token */ | ||
logout: this.requestFunctionFactory(descriptors.userLogout), | ||
/** Register with email and password. */ | ||
register: this.requestFunctionFactory(descriptors.userRegister), | ||
/** Request a new avatar image upload. */ | ||
requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload), | ||
/** Remove Avatar. */ | ||
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar), | ||
/** Resend the Email-Address verification email */ | ||
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail), | ||
/** Reset RecoveryCodes for MFA */ | ||
resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes), | ||
/** Request a support code */ | ||
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest), | ||
/** Verify an added Email-Address */ | ||
verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail), | ||
/** Verify phone number. */ | ||
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber), | ||
/** Verify your registration */ | ||
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration), | ||
}; | ||
} | ||
export default MittwaldAPIV2Client; |
@@ -410,14 +410,2 @@ /** execute a runtime concerning action on a specific `AppInstallation` */ | ||
/** Get all customer categories. */ | ||
export const customerListOfCustomerCategoriesDeprecated = { | ||
path: "/v2/customercategories", | ||
method: "GET", | ||
operationId: "customer-list-of-customer-categories-deprecated", | ||
}; | ||
/** Create a new customer category. */ | ||
export const customerCreateCategoryDeprecated = { | ||
path: "/v2/customercategories", | ||
method: "POST", | ||
operationId: "customer-create-category-deprecated", | ||
}; | ||
/** Get all customer categories. */ | ||
export const customerListOfCustomerCategories = { | ||
@@ -459,20 +447,2 @@ path: "/v2/customer-categories", | ||
/** Get a customer category. */ | ||
export const customerDetailOfCustomerCategoryDeprecated = { | ||
path: "/v2/customercategories/{categoryId}", | ||
method: "GET", | ||
operationId: "customer-detail-of-customer-category-deprecated", | ||
}; | ||
/** Update a customer category. */ | ||
export const customerUpdateCategoryDeprecated = { | ||
path: "/v2/customercategories/{categoryId}", | ||
method: "PUT", | ||
operationId: "customer-update-category-deprecated", | ||
}; | ||
/** Delete a customer category. */ | ||
export const customerDeleteCategoryDeprecated = { | ||
path: "/v2/customercategories/{categoryId}", | ||
method: "DELETE", | ||
operationId: "customer-delete-category-deprecated", | ||
}; | ||
/** Get a customer category. */ | ||
export const customerGetCustomerCategory = { | ||
@@ -741,116 +711,2 @@ path: "/v2/customer-categories/{categoryId}", | ||
}; | ||
/** Return the Contract for the given Domain. */ | ||
export const deprecatedContractGetDetailOfContractByDomain = { | ||
path: "/v2/domains/{domainId}/contracts", | ||
method: "GET", | ||
operationId: "deprecated-contract-get-detail-of-contract-by-domain", | ||
}; | ||
/** Return the Contract for the given Project. */ | ||
export const deprecatedContractGetDetailOfContractByProject = { | ||
path: "/v2/projects/{projectId}/contracts", | ||
method: "GET", | ||
operationId: "deprecated-contract-get-detail-of-contract-by-project", | ||
}; | ||
/** Return the Contract for the given Server. */ | ||
export const deprecatedContractGetDetailOfContractByServer = { | ||
path: "/v2/servers/{serverId}/contracts", | ||
method: "GET", | ||
operationId: "deprecated-contract-get-detail-of-contract-by-server", | ||
}; | ||
/** getting the subscription status of the subscription */ | ||
export const deprecatedNewsletterGetInfo = { | ||
path: "/v2/newsletter/subscriptions/{email}", | ||
method: "GET", | ||
operationId: "deprecated-newsletter-get-info", | ||
}; | ||
/** Unsubscribe a user from the mStudio newsletter. */ | ||
export const deprecatedNewsletterUnsubscribeUser = { | ||
path: "/v2/newsletter/subscriptions/{email}", | ||
method: "DELETE", | ||
operationId: "deprecated-newsletter-unsubscribe-user", | ||
}; | ||
/** subscribe a user to the mStudio newsletter */ | ||
export const deprecatedNewsletterSubscribeUser = { | ||
path: "/v2/newsletter/subscriptions", | ||
method: "POST", | ||
operationId: "deprecated-newsletter-subscribe-user", | ||
}; | ||
/** Request a new avatar upload */ | ||
export const deprecatedUserServiceAvatarRequestUpload = { | ||
path: "/v2/user/{userId}/avatar", | ||
method: "POST", | ||
operationId: "deprecated-user-service-avatar-request-upload", | ||
}; | ||
/** Remove Avatar */ | ||
export const deprecatedUserServiceAvatarRemove = { | ||
path: "/v2/user/{userId}/avatar", | ||
method: "DELETE", | ||
operationId: "deprecated-user-service-avatar-remove", | ||
}; | ||
/** Returns your submitted feedback */ | ||
export const deprecatedUserServiceFeedbackList = { | ||
path: "/v2/user/feedback", | ||
method: "GET", | ||
operationId: "deprecated-user-service-feedback-list", | ||
}; | ||
/** Submit user feedback */ | ||
export const deprecatedUserServiceFeedbackCreate = { | ||
path: "/v2/user/feedback", | ||
method: "POST", | ||
operationId: "deprecated-user-service-feedback-create", | ||
}; | ||
/** create a new issue */ | ||
export const deprecatedUserServiceIssueNew = { | ||
path: "/v2/user/issues", | ||
method: "POST", | ||
operationId: "deprecated-user-service-issue-new", | ||
}; | ||
/** Get profile information for the specified user if the user is related to the executing user */ | ||
export const deprecatedUserServiceUserGet = { | ||
path: "/v2/user/{userId}", | ||
method: "GET", | ||
operationId: "deprecated-user-service-user-get", | ||
}; | ||
/** Change your personal information */ | ||
export const deprecatedUserServicePersonalInformationUpdate = { | ||
path: "/v2/user/{userId}", | ||
method: "PUT", | ||
operationId: "deprecated-user-service-personal-information-update", | ||
}; | ||
/** Get personalized settings for the user executing the request */ | ||
export const deprecatedUserServicePersonalizedSettingsGet = { | ||
path: "/v2/user/settings", | ||
method: "GET", | ||
operationId: "deprecated-user-service-personalized-settings-get", | ||
}; | ||
/** update personalized settings */ | ||
export const deprecatedUserServicePersonalizedSettingsUpdate = { | ||
path: "/v2/user/settings", | ||
method: "PUT", | ||
operationId: "deprecated-user-service-personalized-settings-update", | ||
}; | ||
/** Add phone number and init verification process */ | ||
export const deprecatedUserServicePhoneNumberAdd = { | ||
path: "/v2/user/{userId}/phone", | ||
method: "POST", | ||
operationId: "deprecated-user-service-phone-number-add", | ||
}; | ||
/** remove your PhoneNumber */ | ||
export const deprecatedUserServicePhoneNumberRemove = { | ||
path: "/v2/user/{userId}/phone", | ||
method: "DELETE", | ||
operationId: "deprecated-user-service-phone-number-remove", | ||
}; | ||
/** Verify phone number */ | ||
export const deprecatedUserServicePhoneNumberVerify = { | ||
path: "/v2/user/{userId}/phone/verify", | ||
method: "POST", | ||
operationId: "deprecated-user-service-phone-number-verify", | ||
}; | ||
/** Get profile information for the executing user */ | ||
export const deprecatedUserServiceUserGetOwn = { | ||
path: "/v2/user", | ||
method: "GET", | ||
operationId: "deprecated-user-service-user-get-own", | ||
}; | ||
/** updates a-records for a specific zone */ | ||
@@ -857,0 +713,0 @@ export const dnsRecordAsetCustom = { |
{ | ||
"name": "@mittwald/api-client", | ||
"version": "1.0.4", | ||
"description": "Auto-generated client for the mittwald API", | ||
"version": "1.0.3", | ||
"license": "MIT", | ||
@@ -18,8 +18,7 @@ "repository": "github:mittwald/api-client-js", | ||
"./v2": { | ||
"import": "./dist/v2.js", | ||
"default": "./dist-cjs/v2.js" | ||
"types": "./dist/v2.d.ts", | ||
"default": "./dist/v2.js" | ||
} | ||
}, | ||
"scripts": { | ||
"copy:dts": "yarn run -T copyfiles -u 1 src/**/*.d.ts dist", | ||
"generate:client": "yarn generate:client:v2 && yarn post:generate", | ||
@@ -29,3 +28,3 @@ "generate:client-dev": "yarn generate:client-dev:v2 && yarn post:generate", | ||
"generate:client:v2": "curl --silent https://api.mittwald.de/openapi | ./transform-openapi.sh | yarn acg generate --name MittwaldAPIV2 - src/generated/v2 --optionalHeader x-access-token", | ||
"post:generate": "yarn run -T compile && yarn run -T compile:cjs && yarn copy:dts" | ||
"post:generate": "yarn run -T compile && yarn run -T compile:cjs" | ||
}, | ||
@@ -47,4 +46,3 @@ "files": [ | ||
"@mittwald/api-code-generator": "^1.0.0" | ||
}, | ||
"types": "./dist/index.d.ts" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2368960
22
48721